Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 111
Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI) Chapter 2
Example: When limit_switch1 goes from cleared to set, the OSRI instruction sets
OutputBit for one scan.
Structured Text
OSRI_01.InputBit := limit_switch1;
OSRI(OSRI_01);
State := OSRI_01.OutputBit;
Function Block