AB instruction help-word issue ???

Terry B

Member
Join Date
Sep 2011
Location
Willisburg Ky
Posts
16
We have a 5/03 processor and 4 micro-300 linked together. At station-2 there is a screw gun that puts screws in. If for some reason one fails to torque it will latch in a bit in--word B20:2
Pallet at station 2
B20:2/1-screw 1 failed to torque
B20:2/2-screw 2 failed to torque
When the pallet is transferred to station 3 the data is also transferred--to word B30:2-I can't find any type of move of copy function

Pallet at station 3
B30:2/1-screw 1 failed to torque
B30:2/2-screw 2 failed to torque

Just trying to figure this thing out. I searched for B20:2---couldn't find anything linking it to B30:2.
Thanks Terry
 
Hi, if B20:2 is not x-referencing to B30:2 in your SLC program, is it possible the Paneview 300 micros are doing it in their PanelBuilder apps? PV at station 2 reads in word B20:2 and then when something shifts the pallet to 3, word B20:2 is written from PV 2 back into B30:2 to make it available for PV 3 to read in? Just my initial thougths.

G.
 
Ladder 9 rung 1.

B20:0 to B30:0
B20:1 to B30:1
B20:2 to B30:2
...
...
B20:9 to B30:9

See picture

Lad9_Rung1.png
 
Last edited:
Sometimes addresses used together in a COP instruction don't show up in a search. I usually do right click "Find All" on the address in the Data File. If you don't get it with this, I do cross reference and look for it in the list.

As your "figuring this thing out", it's still no harm to remember that data may potentially be written to and read from HMI, other PLCs, SCADA etc. So sometimes the program you are looking at may be only a part of the bigger picture.

G.
 
Hello Micky & all that has posted
I saw that.
LAD 33--STA3 CYC rung 18.

Where is my data coming from that goes into B30:2? Tracked screw faults from station 2 in station 3???

Thanks for the help
Terry o_O
 
The COP instruction copies 10 words, B20:0 thru B20:9, into B30:0 thru B30:9. In RSLogix500, highlight the COP instruction and hit "F1" to get help on how the instruction works.

eta: This means that B30:2 comes from B20:2. Do you know how it gets into B20:2?
 
Last edited:
? He's latching bits on when there is a fault, and doing a compare on the entire word (actually 3 words B20:0 thru 2). If all the words are not 0, then at least from a quick lookover, it wont allow the unit to move to station 3.

Mickey actually answered the original question. 10 words, B20:0 thru B20:9 are being copied to B30:0 with a length of 10. By doing a find all on your original word of B30:2, you see a compare instruction of B20:0, :1, and :2 which should be your biggest hint to look back on B20:0.
 

Similar Topics

Hi all- I had a question about adding in a word with a value of 15 (1111 binary). Can I just define it in my AOI somehow? Or does it have to be...
Replies
1
Views
3,186
Hi guys, beginner here. I need to be able to stop an incremental MAM instruction in Studio 5000 and then start it back. But the catch is I...
Replies
8
Views
302
I have a DCS instruction, that is set up for an E-STOP. I have the restart type and cold start type both set as automatic. I can test the e-stop...
Replies
2
Views
389
Hi everybody, I'm working on a 5069-L306ERM CPU with 1732E-OB8M8 output module. I'm trying to produce cam signals with MAOC command. I have a 842E...
Replies
2
Views
1,241
Hi all I am trying to set up a lhttp instruction to connect to an api https (with our IT) this will send data back to the plc? I have an api https...
Replies
9
Views
1,786
Back
Top Bottom