110 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 2 Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI)
Description: When InputBit is set and InputBit
n-1
is cleared, the OSRI instruction sets
OutputBit. When InputBit
n-1
is set or when InputBit is cleared, the OSRI
instruction clears OutputBit.
Arithmetic Status Flags: Not affected
Fault Conditions: None
Execution:
InputBit
OutputBit
Instruction is
executed
Instruction resets during
next scan execution
InputBit
n-1
Condition Function Block Action Structured Text Action
Prescan No action taken. No action taken.
Instruction first scan InputBit
n-1
is set. InputBit
n-1
is set.
Instruction first run InputBit
n-1
is set. InputBit
n-1
is set.
EnableIn is cleared EnableOut is cleared, the instruction does nothing, and the
outputs are not updated.
N/A
EnableIn is set On a cleared to set transition of InputBit, the instruction
sets InputBit
n-1
.
The instruction executes.
EnableOut is set.
On a cleared to set transition of InputBit, the instruction
sets InputBit
n-1
.
EnableIn is always set.
The instruction executes.
Postscan No action taken. No action taken.