One Shot Rising with Input
(OSRI)
OSRI(OSRI_tag);
Input Parameter
Data Type
EnableIn
BOOL
InputBit
BOOL
Output Parameter
Data Type
EnableOut
BOOL
OutputBit
BOOL
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
Operands:
Structured Text
Operand
OSRI tag
Function Block
Operand
OSRI tag
FBD_ONESHOT Structure
Description
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.
Input bit. This is equivalent to rung condition for the relay ladder OSR instruction.
Default is cleared.
Description
The instruction produced a valid result.
Output bit.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI)
Type
FBD_ONESHOT
Type
FBD_ONESHOT
page
105.
Format
Description
Structure
OSRI structure
Format
Description
Structure
OSRI structure
Chapter 2
109