Morning everyone.
I'm using a SLC 5/05 processor for a program I am trying to build. I've posted a couple of rungs here. The code does what it is supposed to do:
1. Move in "0" when the Start Command N10:30/14 is not issued.
2. When N10:30/14 is issued, and we are in Manual N10:30/3 is not set then we move in the value from N24:40. In this case 10.
However my question is, when the Start Command (N10:30/14) AND Auto/Manual Bit are not set (N10:30/3) why does it move in "0" and not the value in n24:40 into N10:68?
I guess my question is, both rungs are "true" and it is moving in "0", it is clearing the register N10:68 and not moving in the 10?
Is there a specific order of operations, or is it easier to move in a constant, or something takes precedence?
I would appreciate any help!
I'm using a SLC 5/05 processor for a program I am trying to build. I've posted a couple of rungs here. The code does what it is supposed to do:
1. Move in "0" when the Start Command N10:30/14 is not issued.
2. When N10:30/14 is issued, and we are in Manual N10:30/3 is not set then we move in the value from N24:40. In this case 10.
However my question is, when the Start Command (N10:30/14) AND Auto/Manual Bit are not set (N10:30/3) why does it move in "0" and not the value in n24:40 into N10:68?
I guess my question is, both rungs are "true" and it is moving in "0", it is clearing the register N10:68 and not moving in the 10?
Is there a specific order of operations, or is it easier to move in a constant, or something takes precedence?
I would appreciate any help!
Last edited: