Chapter 16 PLC Function ApplicationsMH300
Operand N/A
The NOP command does not perform any operation in the program. Because
execution of this command retains the original logical operation results, you can use it
in the following situation: use
the NOP command instead of a command that is deleted
without changing the program length.
LD X0 Load Contact B of X0
NOP No action
OUT Y1 Drive Y1 coil
Inverse of operation results
Saves the result of the logic inversion operation prior to the INV command in the
cumulative register.
LD X0 Load Contact A of X0
INV
Inverse of operation
results
OUT Y1 Drive Y1 coil
Use pointer P as the target in a subprogram call (command API 01 CALL). Using P
does not require starting from zero, but the number cannot be used repeatedly;
otherwise, an unpredictable error occurs.
Ladder diagram:
LD X0 Load Contact A of X0
:
P10 Pointer P10
LD X1 Load Contact A of X1
OUT Y1 Drive Y1 coil