One Shot Falling (XIF)

XIF supports a Boolean operation between a connection line state and the falling edge of a Boolean variable.
XIF
XIF
The state of the connection line on the right of XIF is set to TRUE when the state of the connection line on the left is TRUE, and the state of the associated variable falls from TRUE to FALSE. The state is reset to FALSE in all other cases.
XIF example
XIF example
TIP: We recommend not using outputs or variables with an ONS or XIF. These contacts are for physical inputs in a ladder diagram. To detect the edge of a variable or an output, we recommend using the OSR or OSF function block, which is supported and works in any language at any location in your program.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal