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