Mitsubishi FX2N-10GM Hardware / Programming Manual page 230

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents