Ladder diagram:
Example
X0
M0
Timing Diagram:
X0
Time for one scan cycle
M0
Y0
Mnemonic
Program End
END
Operand
It needs to add the END command at the end of ladder diagram program or
command program. PLC will scan from address o to END command, after the
execution it will return to address 0 and scan again.
Mnemonic
No action
NOP
Operand
NOP command does no operation in the program; the result of executing this
command will remain the logic operation. Use NOP command if user wants to delete
certain command without changing the length of the program.
Ladder diagram:
Example
NOP command will be simplified and not
displayed when the ladder diagram is
displayed.
X0
Mnemonic
Inverse operation result
INV
Operand
The operation result (before executing INV command) will be saved inversely into
cumulative register.
Ladder diagram:
Example
X0
M0
PLS
Y0
SET
Y1
NOP
Y1
16-47
Chapter 16 PLC Function |C2000 Series
Command code:
LD
X0
PLF
M0
LD
M0
SET
Y0
Function
None
Function
None
Command code:
LD
X0
NOP
OUT
Y1
Function
None
Command code:
LD
X0
INV
OUT
Y1
Operation:
Load contact A of X0
M0 falling-edge output
Load contact A of M0
Y0 latched (ON)
Operation:
Load contact B of X0
No function
Drive Y1 coil
Operation:
Load contact A of X0
Operation result
inversed
Drive Y1 coil