NOP
Outline
No operation
Program example
0
Description
This instruction has no effect on the operation result to that point.
The same operation takes place without a NOP instruction.
The NOP instruction can be used to make the program easier to read when checking or correcting.
When you want to delete an instruction without changing addresses, write a NOP instruction (overwrite the
previous instruction).
When you want to move the addresses of one part of a program without changing the program, insert a NOP
instruction.
This is a convenient means of breaking a long program into several blocks.
Example:
To move the starting point of a program block from address 39
to address 40, insert a NOP instruction at address 39.
Address
Deleting a NOP instruction
To delete the NOP instruction after editing in the PROG. mode, use the programming tools.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
No operation
5
Ladder Diagram
Ladder Diagram
X0
X1
X2
・
NOP
36
ST X0
OR X1
・
OT Y10
・
39
ST X2
40
AN X3
OT R20
・
ST R2
・
DF
・
44
ST X3
Y10
Address
36
・
・
This moves the
39
starting point to
40
address 40.
41
・
・
・
45
Basic Instructions
Boolean
Address
Instruction
0
ST
X
1
AN
X
2
NOP
3
AN/
X
4
OT
Y
ST X0
OR X1
OT Y10
NOP
Insert a NOP
ST X2
instruction.
AN X3
OT R20
ST R2
DF
ST X3
0
1
2
10
2 − 35