FEND
- 133 -
Program example
Program when using CJ command
X1
Y22
P23
20
XB
12
X0
Y20
10
X14
Y31
17
CJ
P23
FEND 19
When XB turns ON, the program jumps to
the P23 label, and the step following
P23 is executed.
Execute when XB is OFF.
When XB turns OFF, the end of the
sequence program is indicated.
X13
Y30
15
Coding
No. of
steps
Com-
mand
Device
10 LD X0
11 OUT Y20
12 LD XB
13 CJ P23
15 LD X13
16 OUT Y30
17 LD X14
18 OUT Y31
19 FEND
20 P23
21 LD X1
22 OUT Y22
23