FX Series Positioning Controllers
Program format 5
5-28
5.6.6
cod 28 (DRVZ): Machine zero return
c
DRVZ
When this instruction is executed, a machine zero return operation is performed. (For
details of the machine zero return operation, refer to Section 8.2.6.)
When a machine zero return operation is completed, the special auxiliary relays M9057 (X
axis) and M9089 (Y axis) are turned ON (Only M9057 is available in the FX
2N
-10GM.).
When a machine zero return operation is performed once in the MANU or AUTO mode,
these special auxiliary relays remain turned ON (They are turned OFF when the power is
turned OFF.).
Program example
The following program uses the special Ms, described on the left, and a jump command to skip
the zero return operation when the machine is restarted.
In simultaneous 2-axis operation in the FX
2N
-20GM, this instruction returns both the X and Y
axes to the zero point simultaneously. To return only one axis to the zero point, refer to the fol-
lowing program example.
M9008: Prohibits the machine zero return operation of the X axis.
(These settings are valid in the FX
2N
-20GM Ver. 3 or later manufactured in May, 1995 or later.)
M9024: Prohibits the machine zero return operation of the Y axis.
Program example
(Only X axis is returned to the zero point first, then the Y axis is returned to the zero point.)
O0, N0 (simultaneous 2-axis program)
SET
M9024 ; Prohibits zero return operation of Y axis.
cod 28 (DRVZ) ; Returns X axis only to zero point. (M9008 = OFF, M9024 = ON)
RST
M9024 ; Allows zero return operation of Y axis.
SET
M9008 ; Prohibits zero return operation of X axis.
cod 28 (DRVZ) ; Returns Y axis only to zero point. (M9008 = ON, M9024 = OFF)
RST
M9008 ; Allows zero return operation of X axis.
When both M9008 and M9024 are turned ON, no operation is performed even if cod 28 is executed.
The zero return completion flags (M9057, M9089) are not turned ON when zero return is prohibited
for the corresponding axis.
cod 28
DRVZ
Applicable modeols
Series name
Remarks
Basic
format
FX
2N
-10GM
cod 28
DRVZ
FX
2N
-10GM
FX
2N
-20GM
Servo end check
Instruction group
Remarks
Machine zero return
DRIVE TO
ZERO
Yes
B
cod 28
DRVZ
FX
2N
-20GM
➀
➀
Ox00
LD M9057;
FNC 00 (CJ) P0;
cod 28 (DRVZ);
P0;
Once a zero return operation has been completed, program execu-
tion jumps.
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 ...