aditjk

CJ2M i/O bus error

7 posts in this topic

Hi, my company got project using omron CJ2M but we got trouble when the output is over ch10 

here the PLC hardware setup  : 
1. PLC CJ2M

2. PSU PA202

2. Module Input ID211 (5 Pcs)
3. Module Output OD211 (2 Pcs)
4. Module Output OC211 (3 Pcs)

and because addtional input and output we Change modules :
1. ID211(1pcs) -> ID231 (1pcs)
2. OD211(1pcs) -> ID231 (1pcs)

after the setting and upload program , warning appear for the image its on attachment.

so if i want this system to run do i need to buy expansion rack or there is another solution ?

Best Regard

WhatsApp-Image-20160731 (1).jpeg

WhatsApp-Image-20160731.jpeg

Share this post


Link to post
Share on other sites

While Online with the PLC, go to IO Table and Unit Setup. Choose Options then Create. This will update the PLC with your new cards.

Share this post


Link to post
Share on other sites

How many total cards? I think I misunderstood.

You can only have 10 total on 1 rack. You'll need an expansion rack if you need to add more.

An alternative solution is to use higher density input and output cards. 32 or 64 points. This would require rewiring but it may be easier than getting an addition rack.

 

Share this post


Link to post
Share on other sites

Changing out cards you are already using can cause changes to the PLC's memory map, which will make your program addressing wrong.

Your program shows an input 1.05 and output 2.00 on the first rung.  If you replace the 16-point input card with a 32-point input card, that card will use channels 1 and 2, moving the output card to channel 3.  Major issue to fix your program from that one.

Best solution is to get IC101 module, II101 module, cable and another power supply and add new cards as an extension rack.

Share this post


Link to post
Share on other sites
3 hours ago, Crossbow said:

Changing out cards you are already using can cause changes to the PLC's memory map, which will make your program addressing wrong.

Your program shows an input 1.05 and output 2.00 on the first rung.  If you replace the 16-point input card with a 32-point input card, that card will use channels 1 and 2, moving the output card to channel 3.  Major issue to fix your program from that one.

Best solution is to get IC101 module, II101 module, cable and another power supply and add new cards as an extension rack.

Each of your existing IO use single word [Channel in OMRON].

With the fixed I/O mapping your current I/O should be as follows:- 

ID211 in Slot 1 Input addresses are 0.00-0.15

ID211 in Slot 2 Input addresses are 1.00-1.15

ID211 in Slot 3 Input addresses are 2.00-2.15

ID211 in Slot 4 Input addresses are 3.00-3.15

ID211 in Slot 5 Input addresses are 4.00-4.15

OD211 in Slot 6 Output addresses are 5.00-5.15

OD211 in Slot 7 Output addresses are 6.00-6.15

OC211 in Slot 8 Output addresses are 7.00-7.15

OC211 in Slot 9 Output addresses are 8.00-8.15

OC211 in Slot 10 Output addresses are 9.00-9.15

With your new arrangement the fixed I/O mapping should be as follows:- 

ID231 in Slot 1 Input addresses are 0.00-0.15 and 1.00-1.15

ID231 in Slot 2 Input addresses are 2.00-1.15 and 3.00-3.15

ID211 in Slot 3 Input addresses are 4.00-4.15

ID211 in Slot 4 Input addresses are 5.00-5.15

ID211 in Slot 5 Input addresses are 6.00-6.15

OD211 in Slot 6 Output addresses are 7.00-7.15

OD211 in Slot 7 Output addresses are 8.00-8.15

OC211 in Slot 8 Output addresses are 9.00-9.15

OC211 in Slot 9 Output addresses are 10.00-10.15

OC211 in Slot 10 Output addresses are 11.00-11.15

 

CX Programmer has a really neat Batch Replace feature that should easily allow you to readdress the I/O allocations for your new hardware configuration.

From "Edit" select "Change All". This will bring up a "Batch Replace in PLC" selection.

In your case you want to shift all IO from 4.00 thru 9.15 to 6.00-11.15.

Make sure you select the "Include Symbols (Comments)" and hit replace.

Depending on how you are wiring the existing I/O to the new ID 231 you can use the same method to quickly reconfigure the I/O map.

 

 

Batch Replace.JPG

Share this post


Link to post
Share on other sites

thank you for the answer.

i think ,i will repair the i/o table first before i buy a new rack for i/o expansion.

and for BITS and BYTES  ur suggestion really will help me .

will report back for the result.

Share this post


Link to post
Share on other sites

Watch it, because the cards are clearly not in that order.  Looking at your screen shots, 2.00 is an OUTPUT card.

Check carefully your current layout.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now