PROGRAMMING6. REFERENCE POSITION
B–63604EN/01
74
Tools are automatically moved to the reference position via an
intermediate position along a specified axis. When reference position
return is completed, the lamp for indicating the completion of return goes
on.
X
Z
Intermediate position
Reference position
Fig. 6.2 (b) Reference position return
The reference position return check (G27) is the function which checks
whether the tool has correctly returned to the reference position as
specified in the program. If the tool has correctly returned to the reference
position along a specified axis, the lamp for the axis goes on.
G28 _ ;
G30 P2 _ ;
Reference position return
3rd reference position return
4th reference position return
2nd reference position return
IP_ : Command specifying the intermediate position
(Absolute/incremental command)
G30 P3 _ ;
G30 P4 _ ;
(P2 can
be omitted.)
IP
IP
IP
IP
IPG27 _ ;
IP_ : Command specifying the reference position
(Absolute/incremental command)
D Reference position
return
D Reference position
return check
Format
D Reference position
return
D Reference position
return check