Skip to main content

Invert Result

Connection Requirements

Supported PLC Series

XPnA/1RXPnBXPnEXPnFCP3A/B/P/U
CP4A~D/U
CPnECPnFBPPLC-S

Supported Data Registers

MXYKLFTCSZRQD@DConstant
---------------

Supported Flags

FlagBitSupport
ErrorF11.0-
ZeroF11.1-
CarryF11.2-

Number of Steps

Steps
1

Operands

OperandDescription
SThis is the BOOL data register.
This is the bit number to toggle the contact ON/OFF.

When the bit is 0, the contact is OFF.
When the bit is 1, the contact is ON.

Notice

Contact Orientation

The INV operator behaves as follows:

  • The INV operator performs a reverse operation with the operation result to that point.
    • It uses the resulting value as a new operation result.
  • Contact A reverses to Contact B an Contact B reverses to Contact A.
  • Series connection (OR) reverses to parallel connection (AND) and parallel connection (AND) reverses to series connection (OR).
  • The INV operator shouldn't be used with LD and OR contact orientations.
  • When using a ladder block, the operation result is inverted within the range of the ladder block.
    • To operate using the INV operator with the ANB block series connection, pay attention to the range of inversion.

Timing

Examples