Studio 5000 Latch Coil does signal pass thru

stayclashy80

Member
Join Date
Jul 2020
Location
raleigh
Posts
76
So I'm having issues with a certain rung and one of my coworkers mentioned it may not allow the signal past the latch coil. For example in the picture if the bottom branch with the latch coil is true will it also turn on the end coil called cfg_VFD.PCmd_Stop?

screenshot latch coil.png
 
ok so thats how i thought it worked, we cant figure out why the coil is not turning on when the bottom branch is all true. i should have attached this screen shot first. my thought was something is overwriting the coil or one of the bits is changing state so quickly we just cant see the graphical representation of the coil turning on. I was thinking of running a trend to catch and data that's happening too quickly to see on the graphical representation. Any ideas?

w.png
 
my thought was something is overwriting the coil or one of the bits is changing state so quickly we just cant see the graphical representation of the coil turning on.
These are indeed the things you should start by checking for -- what you see is not necessarily the state of the bits at the time that specific rung ran. Run a cross-reference on your OTE bit -- is it used in any other destructive (ie output) instructions? If nothing else is setting it then one of the XIC/XIO instructions must not be true at the time the rung is scanned; if you can't figure out from looking at the logic why one might be off then you can add troubleshooting bits immediately prior to the rung to check nd see which one is preventing the OTE from coming on.
 
If you haven't already, do a cross reference on you Cfg_VFD.PCmd_Stop tag to make sure you don't have a redundant coil somewhere.
 
dang ok, yeah I've done all my normal research for anything overwriting but still getting stumped. i guess i need to setup a trap or a trend to try and figure it out. First I wanted to make sure the signal does pass thru the latch coil to turn on the end coil. thanks everyone as always for your help
 
the top branch does turn the coil on so i think it has to be something with the bottom branch bits messing it up


As mentioned earlier the bottom branch its might not all be TRUE during the scan of that rung, but coming on later and then showing as TRUE in Studio5K


After the latch add OTE TestBit1, then add a rung before this rung of OTU TestBit1 to tun it off every scan before this rung (hopefully) turns it on.


If it (TestBit1) doesn't come on then the branch isn't true, if it does show on then something else is shutting off the output.


As another test after the output add OTE TestBit2 with another OTU on the previous rung.
 
...in the picture if the bottom branch with the latch coil is true will it also turn on the end coil called cfg_VFD.PCmd_Stop?

So to get back to the original question...Yes it would turn on. Here is an example of how this logic would flow. I should have put the right-most AND higher to show it affects both the top and bottom steps in the branch.

OG

Ladder.png
 
So to get back to the original question...Yes it would turn on. Here is an example of how this logic would flow. I should have put the right-most AND higher to show it affects both the top and bottom steps in the branch.

OG


How does that rightmost AND work?? Wouldn't that not turn on the coil?
 
I suppose it depends how RW treat a coil i.e. does it have an effective out connection or does it treat it as a cold side connection i.e. common.
This one does as expected.

Code.png
 
How does that rightmost AND work?? Wouldn't that not turn on the coil?


The right BND (BranchEnd) would logically be an OR



[Top Branch] OR [Bottom Branch] OTE


In RSLogix5 & RSL500 if the top branch was TRUE it would NOT scan the next branch - just bypass the NXB and jump to the BND, but in 5K it does scan all instructions even if the lower branches are redundant because it already had a true branch.


EDIT:
Parky,


RW scans exactly as your example, so something else is going on after this rung is scanned.
 

Similar Topics

Hi guys, I have a question regarding studio 5000 with processor 1769-L33ER V33.011 and Factorytalk View SE V12. I have an home-made pop-up...
Replies
3
Views
1,568
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
237
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
119
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
123
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
74
Back
Top Bottom