ndzied1
Lifetime Supporting Member
I had always thought that you weren't supposed to use the bit for an OSR instruction elswhere in a program.
Then I'm reading AB's manual for the HSCE2 (pub 1746-UM002A-US-P) and see the following construct on page 6-17:
In the RSLogix help for SLC instructions, it says that the bit value of for the OSR is where the previous state of the rung is retained. This is misleading at best.
Could it be that as long as the conditions preceeding the OSR are still true, the Bit will be a 1? Sort of like a middle of the rung output????
Then I'm reading AB's manual for the HSCE2 (pub 1746-UM002A-US-P) and see the following construct on page 6-17:
B3:0/0 B3:0/6 B3:0/4 B3:0/7 O:1/17
------] [-------] [---------]/[------[OSR]--------(L)------
B3:0/7 O:1/17
------] [-------] [--------- - - ->
In the RSLogix help for SLC instructions, it says that the bit value of for the OSR is where the previous state of the rung is retained. This is misleading at best.
Could it be that as long as the conditions preceeding the OSR are still true, the Bit will be a 1? Sort of like a middle of the rung output????