PROGRAMMING
B–63664EN/02
6. REFERENCE POSITION
83
Tools are automatically moved to the reference position via an
intermediate position along a specified axis. Or, tools are automatically
moved from the reference position to a specified 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.
A (Start position for
reference position return)
B (Intermediate
position)
C (Destination of return from the
reference position)
R (Reference position)
Reference position return A→B→R
Return from the reference positionR→B→C
Fig.6.1 (b) Reference position return and return form the reference position
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 _ ;
P
I
G30 P2 _ ;
Reference position return
3rd reference position return
4th reference position return
2nd reference position return
P
I
: Command specifying the intermediate position
(Absolute/incremental command)
G30 P3 _ ;
G30 P4 _ ;
(P2 can
be omitted.)
P
I
P
I
P
I
G29 _ ;
P
I
: Command specifying the destination of return from reference
position (Absolute/incremental command)
P
I
G27 _ ;
P
I
: Command specifying the reference position
(Absolute/incremental command)
P
I
D Reference position
return and movement
from the reference
position
D Reference position
return check
Format
D Reference position
return
D Return from reference
position
D Reference position
return check