Chapter 16 PLC Function ApplicationsC2000-HS
16-50
Command Function
NOP
No action
Operand N/A
The command NOP does not perform any operation in the program. Because
execution of this command will retain the original logical operation results, it can be
used in the following situation: the NOP command can be used instead of a command
that is deleted without changing the program length.
Ladder diagram:
Command code: Description:
LD X0 Load Contact b of X0
NOP
No action
OUT Y1 Drive Y1 coil
Command Function
INV
Inverse of operation results
Operand N/A
Saves the result of the logic inversion operation prior to the INV command in the
cumulative register.
Ladder diagram:
X0
Y1
Command code: Description:
LD X0 Load Contact a of X0
INV
Inverse of operation
results
OUT Y1 Drive Y1 coil
Command Function
P
Index
Operand P0–P255
Pointer P is used to subprogram call command API 01 CALL. User does not require
starting from zero, but the number cannot be used repeatedly, otherwise an
unpredictable error will occur.
Ladder diagram:
X0
Y1
CALL
P10
X1
P10
Command code: Description:
LD X0 Load Contact a of X0
CALL P10 Call command CALL to
P10
:
P10
Pointer P10
LD X1 Load Contact a of X1
OUT Y1 Drive Y1 coil