FX Series Positioning Controllers
Program Examples 9
9-11
9.3.5
Interrupt stop (FX
2N
-10GM, FX
2N
-20GM)
1) Outline of positioning
When the interrupt input X3 (X6 in the FX
2N
-20GM) turns on, 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. After
that, the machine moves to the target position.
d
When the interrupt input X3 turns on during operation, the machine decelerates and
stops, then proceeds to the next step while ignoring the remaining distance.
e
After the output Y0 turns on and off, the machine returns to the address "0".
3)Operation chart
4)Program (FX
2N
-10GM)
* In the FX
2N
-20GM, change this portion to "O0, N0".
5) Parameter
Set the positioning parameter No. 16 (mechanical zero point address) to "0". For other
parameters, refer to Paragraph 9.2.4.
Caution
If this program is executed in the FX
2N
-20GM, the Y axis (which is not controlled in this pro-
gram) cannot be controlled because instructions for simultaneous 2-axis operation are actually
used.
Mechanical
zero point
Speed
Distance
Target address
(1,000)
X3 ON
Line No.
Instruction
Description
Ox0, N0 *
LD M9057;
N1
FNC00(CJ) P126;
Jumps to P126 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).
N3
P126;
N4
cod31(INT) x1000 f1200;Sets the target address to "1000".
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
cod00(DRV) x0 f1200;
Returns the machine to the zero point.
N10
m02(END);
Содержание FX2N-10GM
Страница 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Страница 4: ...FX Series Positioning Controllers ii ...
Страница 6: ...FX Series Positioning Controllers iv ...
Страница 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Страница 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Страница 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Страница 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...