
Appendix D Use of Application Instructions|DOP-EXIO Series
D-12
Revision March, 2008, Doc. Name: 2007PDD23000014
FOR K3
FOR K4
NEXT
NEXT
B
Program Example 2:
When X7 = Off, DOP-EXIO series will execute the program between FOR ~ NEXT. When X7 = On, CJ
instruction jumps to P6 and avoids executing the programs between FOR ~ NEXT.
X7
M0
M0
P6
MOV
FOR
MOV
D0
D0
K3
K0
Y10
INC
MEXT
X10
D0
D1
CJ
P6
Program Example 3:
When the programs between FOR ~ NEXT are not to be executed, the user can adopt CJ instruction
for a jumping. When the most inner FOR ~ NEXT loop is in the status of X1 = On, CJ instruction
executes jumping to P0 and skips the execution on P0.
Comentarios a estos manuales