PaulKraemer
Member
- Join Date
- Jan 2005
- Posts
- 24
Hi,
I am using an AB PLC5.
I have a rung with three branches on the right, so that it has three connections to the right (output) rail. The logic in each branch is as follows...
Top branch: If XIC B3:0/1 then latch B3:0/0
Middle branch: If XIO B3:0/1 then unlatch B3:0/0
Bottom branch: no matter what, unlatch B3:0/1
So, when this rung is processed, if B3:0/1 is set, I want B3:0/0 to be latched. If B3:0/1 is not set, I want B3:0/0 to be unlatched. No matter what happens, I want B3:0/1 to be unlatched before moving on to the next rung. I was just wondering if this is legal. It seems kind of weird that I use B3:0/1 both as an XIC and an XIO condition on the left, while using the same bit in an unlatch output command on the right.
For my logic to work, I have to be sure that the XIC and XIO conditions are evaluated before the unlatch output command is executed. Can anyone tell me if this will work?
Thanks,
Paul
I am using an AB PLC5.
I have a rung with three branches on the right, so that it has three connections to the right (output) rail. The logic in each branch is as follows...
Top branch: If XIC B3:0/1 then latch B3:0/0
Middle branch: If XIO B3:0/1 then unlatch B3:0/0
Bottom branch: no matter what, unlatch B3:0/1
So, when this rung is processed, if B3:0/1 is set, I want B3:0/0 to be latched. If B3:0/1 is not set, I want B3:0/0 to be unlatched. No matter what happens, I want B3:0/1 to be unlatched before moving on to the next rung. I was just wondering if this is legal. It seems kind of weird that I use B3:0/1 both as an XIC and an XIO condition on the left, while using the same bit in an unlatch output command on the right.
For my logic to work, I have to be sure that the XIC and XIO conditions are evaluated before the unlatch output command is executed. Can anyone tell me if this will work?
Thanks,
Paul