FX Series Positioning Controllers
Program Examples 9
9-8
4) Program
5) Parameter
Set the positioning parameter No. 16 (mechanical zero point address) to "-130". For other
parameters, refer to Paragraph 9.2.4.
Line No.
Instruction
Description
Ox0, N0
LD M9057;
N1
FNC00(CJ) P0;
Jumps to P0 if the zero point return completion flag
M9057 is ON.
N2
cod28(DRVZ);
Returns the machine to the zero point
(mechanical zero point address = -130).
N3
cod00(DRV) x0;
Moves the machine to the address "0".
N4
cod29(SETR);
Sets the electrical zero point.
N5
P0;
N6
SET Y0;
Turns on the move-down solenoid.
N7
P1;
Confirms that the machine has moved down.
N8
LD X0;
(Repeated until X0 turns on.)
N9
FNC01(CJN) P1;
N10
SET Y1;
Makes the machine clamp a workpiece.
N11
cod04(TIM) K150;
Sets the clamp wait time to "1.5 sec".
N12
RST Y0;
Turns off the move-down solenoid, and moves up the
machine.
N13
P2;
Confirms that the machine has moved up.
N14
LD X1;
(Repeated until X1 turns on.)
N15
FNC01(CJN) P2;
N16
cod00(DRV) x2000; Moves the machine to the address "2000".
N17
SET Y0;
Turns on the move-down solenoid.
N18
P3;
Confirms that the machine has moved down.
N19
LD X0;
(May be made into a subroutine because these lines
N20
FNC01(CJN) P3;
are equivalent to the lines N7 to N9 above.)
N21
RST Y1;
Makes the machine unclamp the workpiece.
N22
cod04(TIM) K150;
Sets the unclamp wait time to "1.5 sec".
N23
RST Y0;
Turns off the move-down solenoid, and moves up the
machine.
N24
P4;
Confirms that the machine has moved up.
N25
LD X1;
(May be made into a subroutine because these lines
N26
FNC01(CJN) P4;
are equivalent to the lines N13 to N15 above.)
N27
cod30(DRVR);
Returns the machine to the electrical zero point.
N28
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 ...