/
Invert Result of Operation
Invert Result of Operation
Invert the Result of the Operation: INV (Inverse)
Instruction | Device address | No. of Steps | Flag | ||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | ||
INV | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | - | - | - |
Function:
If you use the INV instruction, Contact "A" circuit is inverted to Contact "B" circuit and Contact "B" circuit is inverted to Contact "A" circuit for the circuit on the left of the INV instruction.
Likewise, series connection circuit is inverted to parallel connection circuit while parallel connection circuit is inverted to series connection circuit.
Example)
Program A and B are examples that output the same result.
Program A
Program B
, multiple selections available,
Related content
SWAP
SWAP
More like this
Instruction List - Type
Instruction List - Type
More like this
INC (BINARY)
INC (BINARY)
More like this
Flip-Flop : FF
Flip-Flop : FF
More like this
Series and Parallel Connection of Blocks
Series and Parallel Connection of Blocks
More like this
Bit Device, Timer, Counter Output
Bit Device, Timer, Counter Output
More like this