FX Series Positioning Controllers
Program Examples 9
9-20
9.4.4
Interrupt stop (FX
2N
-20GM)
1) Outline of positioning
When the interrupt input X6 turns on while the machine is performing linear interpolation
operation toward the target position, the machine decelerates and stops, then proceeds to
the next step while ignoring the remaining distance.
2) Operating procedure
c
The machine returns to the zero point by the start command only at the first time. The
machine performs linear interpolation operation toward the target position.
d
When the interrupt input X6 turns on during linear interpolation operation, the machine
decelerates and stops. Then, the machine ignores the remaining distance, and proceeds
to the next step.
e
After the output Y0 turns on and off, the machine returns to the address "0".
3) Operation chart
4) Program
5) Parameter
Set the positioning parameter No. 16 (mechanical zero point address) to "0" for both the X
and Y axes. For other parameters, refer to Paragraph 9.2.4.
Target address (1000, 800)
Zero point
X6 ON
Speed
y axis
x axis
Line No.
Instruction
Description
O0,
N0
LD M9057;
N1
FNC00(CJ) P254;
Jumps to P254 if the zero point return
completion flag M9057 is ON.
N2
cod28(DRVZ);
Returns the machine to the zero point
(mechanical zero point address = 0,0).
N3
P254;
N4
cod31(INT) x1000 y800 f1200; Sets the target address to "1,000, 800".
N5
SET Y0;
Turns on Y0.
N6
cod04(TMR) K150;
Sets the operation wait time to "1.5 sec".
N7
RST Y0;
Turns off Y0.
N8
cod04(TMR) K150;
Sets the OFF wait time to "1.5 sec".
N9
cod01(LIN) x0 y0 f1200;
Returns the machine to the zero point in a
linear route.
N10
m02(END);
Summary of Contents for FX2N-10GM
Page 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Page 4: ...FX Series Positioning Controllers ii ...
Page 6: ...FX Series Positioning Controllers iv ...
Page 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Page 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Page 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Page 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...