Table 2.2.1.2 canceling tool length offset mode, Table 2.2.1.3 g28 command in the mirror image mode – Yaskawa YASNAC PC NC Programming Manual User Manual
Page 43

2 - 15
YASNAC PCNC Programming Manual
Chapter 2: Commands Calling Axis Movements
If G28 is specified in the tool position offset mode, positioning at the intermediate posi-
tioning point is made with the offset data valid. However, for the positioning at the refer-
ence point, the offset data are invalid and positioning is made at the absolute reference
point. Whether or not the tool length offset function is disregarded after the positioning at
the reference point can be determined by the setting for the parameters as indicated below.
Table 2.2.1.1
G28 Command in the Tool Position Offset Mode
(c) Tool length offset
It is possible to cancel the tool length offset mode by G28 by changing the setting for a param-
eter. If the setting is so made to cancel the tool length offset mode by the execution of G28, it
is valid only when a Z-axis command is specified with G28 in the same block. Although can-
cellation of the tool length offset mode is possible by G28, the tool length offset mode should
be canceled before the designation of G28.
Table 2.2.1.2
Canceling Tool Length Offset Mode
(d) Mirror image
If G28 is specified while the mirror image mode (M95) is called up, reference point return
is executed in the manner indicated in Table 2.2.1.3.
Table 2.2.1.3
G28 Command in the Mirror Image Mode
Parameter
pm4011
Operation
D 1 = 0
Pm4010
D6 = 0:
As programmed
D6 = 1:
Offset valid
D 1 = 1
Pm4010
D7 = 0:
As programmed
D7 = 1:
Offset valid
Parameter
pm4010 D7
Operation
0
Tool length offset mode is canceled when the NC is reset or at the
execution of the reference point return.
The H code is cleared to “0”.
In this case, the tool length offset G code is retained.
1
When the NC is reset or at the execution of the reference point
return, the tool length offset mode is not canceled.
Both the H code and the tool length offset G code are retained.
Parameter
pm4001 D7
Operation
D2 = 0
Mirror image is applied to the intermediate positioning point.
Movement to the reference point is not influenced by the mirror
image function.
D2 = 1
Alarm “0127” occurs.