Another very basic question.
I have read ALL of Ron Beaufort's latch/unlatch comments and full blown explainations I could find on this board.
I thought I understood the concept until yesterday when I talked with another engineer at work.
Here is what I think I have read repeatedly on this board:
Rung has continuity so latch instruction is true. Set the address in memory of the latch instruction with a "1".
Rung does not have continuity so latch instruction is false make no change to the address of the latch instruction.
Rung has continuity so unlatch instruction is true. Clear the address in memory of the unlatch instruction IE: put a 0 there.
Rung does not have continuity so unlatch instruction is false, make no change to the address of the latch instruction.
Last instruction to write to the memory address wins.
Have I missed something? The conversation yesterday was "just because the latch and unlatch instruction for the same address in memory was highlighted in green in the running program does not necessarily indicate that there is a "1" in that location.
If the latch/unlatch pair show as true IE; highlighted in green in RSLogix I thiught this would indicate that a "1" was in this memory location.
Of course I believed the opposite would follow that if there was a "0" in the address that the latch/unlatch pair would not be highlighted.
Can anyone enlighten a newbie? Thanks
I have read ALL of Ron Beaufort's latch/unlatch comments and full blown explainations I could find on this board.
I thought I understood the concept until yesterday when I talked with another engineer at work.
Here is what I think I have read repeatedly on this board:
Rung has continuity so latch instruction is true. Set the address in memory of the latch instruction with a "1".
Rung does not have continuity so latch instruction is false make no change to the address of the latch instruction.
Rung has continuity so unlatch instruction is true. Clear the address in memory of the unlatch instruction IE: put a 0 there.
Rung does not have continuity so unlatch instruction is false, make no change to the address of the latch instruction.
Last instruction to write to the memory address wins.
Have I missed something? The conversation yesterday was "just because the latch and unlatch instruction for the same address in memory was highlighted in green in the running program does not necessarily indicate that there is a "1" in that location.
If the latch/unlatch pair show as true IE; highlighted in green in RSLogix I thiught this would indicate that a "1" was in this memory location.
Of course I believed the opposite would follow that if there was a "0" in the address that the latch/unlatch pair would not be highlighted.
Can anyone enlighten a newbie? Thanks