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.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.
the top branch does turn the coil on so i think it has to be something with the bottom branch bits messing it up
...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
How does that rightmost AND work?? Wouldn't that not turn on the coil?