FX Series Positioning Controllers Program format 5
5-51
Continuous paths and repeat instructions (in the FX
2N
-20GM only)
If a cod 01, cod 02 or cod 03 instruction is used at the beginning and end of a program delimited
by RPT and RPE instructions, these cod instructions are processed as if they are continuing.
Using this function, a locus can be tranced repeatedly. When tracing a locus repeatedly, set
M9015 (continuous path mode) to OFF.
Program example
O15 Program No.
N100 cod28 (DRVZ)
N101 cod90 (ABS)
N102 cod00 (DRV)
N103 FNC08 (RPT)
N104 cod01 (LIN)
N105 cod03 (CCW)
N106 cod01 (LIN)
N107 cod03 (CCW)
N108 cod01 (LIN)
N109 cod03 (CCW)
N110 cod01 (LIN)
N111 cod03 (CCW)
N112 cod01 (LIN)
N113 FNC09 (RPE)
N114 m02 (END)
To point A
x 100
K 100
(x 100)
x 50
x -50
x -100
(x -100)
x -50
x 50
x 100
(x100)
y 50
y 100
(y100)
y 50
y -50
y -100
(y -100)
y -50
y 0
f 500
i -50
j -50
i 50
j 50
A
→
B
B
→
C
C
→
D
D
→
E
E
→
F
F
→
G
G
→
H
H
→
I
I
→
J
J
→
B
( ): The x and y specifications in parentheses can be omitted.
(x-50,y100)
E
F
(x-100,y50)
A
B (x100,y0)
D(x50,y100)
C (x100,y50)
(x-100,y-50)
G
H
(x-50,y-100)
I
(x50,y-100)
J (x100,y-50)