Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 109
Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI) Chapter 2
One Shot Rising with Input
(OSRI)
The OSRI instruction sets the output bit for one execution cycle when the input
bit toggles from cleared to set.
This instruction is available in relay ladder as OSR, see page 105
.
Operands:
Structured Text
Function Block
FBD_ONESHOT Structure
Operand Type Format Description
OSRI tag FBD_ONESHOT Structure OSRI structure
Operand Type Format Description
OSRI tag FBD_ONESHOT Structure OSRI structure
Input Parameter Data Type Description
EnableIn BOOL Function Block
If cleared, the instruction does not execute and outputs are not updated.
If set, the instruction executes.
Default is set.
Structured Text
No effect. The instruction executes.
InputBit BOOL Input bit. This is equivalent to rung condition for the relay ladder OSR instruction.
Default is cleared.
Output Parameter Data Type Description
EnableOut BOOL The instruction produced a valid result.
OutputBit BOOL Output bit.