Delta DVP-ES2 User Manual
Page 175
3 . I n s t r u c t i o n S e t
3 - 5 9
Program example 3:
Users can adopt CJ instruction to skip a specified FOR ~ NEXT loop. When X1 = ON, CJ
instruction executes to skip the most inner FOR ~ NEXT loop.
X0
TMR
T0
K10
P0
FOR
K4X100
X0
INC
D0
K2
X0
D1
K3
X0
D2
K4
X0
WDT
D3
X1
CJ
P0
FOR
K5
X0
X0
INC
D4
NEXT
NEXT
NEXT
NEXT
NEXT
END
FOR
INC
FOR
INC
FOR
INC