The leader in industrial automation and control solutions

Connection Requirements

Supported PLC Series

PLC-AESPLC-FBPLC-ES

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

Notice for MapleLogic INVERT instruction.

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

Timing for MapleLogic INVERT instruction.

Ladder Diagram Examples

LD Gate Invert Result Example

The INV operator inverts the result of the operation up to its point. It uses the new result as the execution condition. The result of this inversion will be the same as the OR Gate Inversion.

If the open contact, M14.0, is powered OFF, the INV operator inverts the result to ON.

If the open contact, M14.0, is powered OFF, the INV operator inverts the result to ON. The coil, Y56.8, is energized.

If the open contact, M14.0, is powered ON, the INV operator inverts the result to OFF.

If the open contact, M14.0, is powered ON, the INV operator inverts the result to OFF. The coil, Y56.8, is deenergized.

AND Gate Invert Result Example

The INV operator inverts the result of the operation up to its point. It uses the new result as the execution condition.

If the open contacts, M.68.3, M15.5, and M46.7, are powered OFF, the INV operator inverts the result to ON.

If the open contacts, M.68.3, M15.5, and M46.7, are powered OFF, the INV operator inverts the result to ON. The coil, Y18.9 is energized.

If the open contacts, M.68.3, M15.5, and M46.7, are powered ON, the INV operator inverts the result to OFF.

If the open contacts, M.68.3, M15.5, and M46.7, are powered ON, the INV operator inverts the result to OFF. The coil, Y18.9 is energized.

OR Gate Invert Result Example

The INV operator inverts the result of the operation up to its point. It uses the new result as the execution condition. The result of this inversion will be the same as the LD Gate Inversion.

If both open contacts, M70.8 and M51.0, are powered OFF, the INV operator inverts the result to ON.

If both open contacts, M70.8 and M51.0, are powered OFF, the INV operator inverts the result to ON. The coil, D105.4 is energized.

OR Gate Invert Result Example for MapleLogic INVERT instruction.
If the open contact, M70.8, is powered OFF or the open contact, M51.0, is powered ON, the INV operator inverts the result to OFF.

If the open contact, M70.8, is powered OFF or the open contact, M51.0, is powered ON, the INV operator inverts the result to OFF. The coil, D105.4 is energized.

If both open contacts, M70.8 and M51.0, are powered ON, the INV operator inverts the result to OFF.

If both open contacts, M70.8 and M51.0, are powered ON, the INV operator inverts the result to OFF. The coil, D105.4 is energized.