Studio 5000 One shots, handshake required?

I have some odd 'bugs' in one of our machines here and was wondering the following:

View attachment 40202

If 'a' is toggled and b allows 'c' to latch. Is there any instance where 'c' would not latch? This seems obvious but my troubleshooting this large program has lead me to this not always occurring for some reason. Is there limitations on how the rung is scanned?

Thanks,

E

I think your problem is the unlatch condition was true same time with your input 'a' goes high. Need to make sure that does not happen. You dont have to use oneshot. see my example below

Cycle_Complete.png
 
One thing I use as a test - with an online edit add a branch around the OTL and latch another "test" bit that is not addressed anywhere else in the program. If that test bit gets latched but the monitored bit doesn't that means the monitored bit is getting unlatched somewhere. If the test bit doesn't get latched then the line is either not true or not being scanned.

If a ladder is not being scanned when you are online the XIO's & XIC's do turn green if they are controlled elsewhere, or are inputs changing.
 
One thing I use as a test - with an online edit add a branch around the OTL and latch another "test" bit that is not addressed anywhere else in the program. If that test bit gets latched but the monitored bit doesn't that means the monitored bit is getting unlatched somewhere. If the test bit doesn't get latched then the line is either not true or not being scanned.

Or use the cross-reference on the "monitored bit" and sort the x-ref by "destructive" to see what else could be writing that bit.... much easier than online editing.


If a ladder is not being scanned when you are online the XIO's & XIC's do turn green if they are controlled elsewhere, or are inputs changing.

The programming software looks at the instruction type and the current value of the tag to determine highlighting, totally irrespective if they are, or not controlled elsewhere.
 

Similar Topics

Hi Everyone. Not posted on here for a long time, but I am hoping someone can help me. I am doing a differential pressure calculation in a L27ERM...
Replies
15
Views
267
Hi, how do I convert 2x Integer registers to a Real? The two integers are from Modbus registers that contain a floating point value, I need to...
Replies
2
Views
121
What is the best way to extract the hour and minute from the register that comes from Yaskawa VFD. In studio 5000 I have a register saved as INT...
Replies
3
Views
125
I have an Allen Bradley temperature switch that I am trying to use in studio 5000. I am getting the message "Unable to interpret the IODD file"...
Replies
0
Views
76
Hi all. I want to ask what may seem a stupid question, as I have a project to send live data to a Yeacode line printer which will print meterage...
Replies
10
Views
200
Back
Top Bottom