Yaskawa YASNAC PC NC Programming Manual User Manual

Page 131

Advertising
background image

3 - 81

YASNAC PCNC Programming Manual

Chapter 3: Movement Control Commands

(c) Specifying the vector command that does not allow calculation of 3-D tool offset amount

The 3-D tool offset is executed based on the calculation that is performed using the 3-D
vector size in the denominator. Therefore, if the I, J, and K vector commands are “0”, 3-D
offset calculation becomes impossible. In this case, alarm 0184 “RADIUS OFS CAL
ERROR” occurs and the NC stops operating.

(d) Starting the 3-D tool offset in the 2-D tool offset mode

It is not allowed to switch the offset mode from the 2-D tool offset mode to the 3-D tool
offset mode.

If the command to call up the 3-D tool offset mode is specified while in the 2-D tool offset
mode, alarm 0189 “OFS ABNORMAL ERROR” occurs.

(e) Changing the offset direction in the 3-D tool offset mode

While in the 3-D tool offset mode, it is not allowed to change the offset direction (G4 ‡
G42, o rG42 ‡ G41). If such designation is made, alarm 0189 “OFS AB-NORMAL
ERROR” occurs. To change the offset direction, the 3-D tool offset mode must be can-
celed once and the new offset direction must be specified when the 3-D tool offset mode is
called up next. Note that it is allowed to change the tool offset direction by using the I, J,
K, and D commands.

(f) Changing the plane in the 3-D tool offset mode

If a plane selection G code (G 17, G 18, G19) is specified in the 3-D tool offset mode to
change the plane, alarm 0183 “SURFACE UNMATCH IN OFS MODE” occurs.

(4) Relationship between 3-D Tool Offset and Machine Operations

(a) Relationship with the G codes that use address I, J, and K

If the G code that allows I, J, and K codes to be specified in the same block is specified in
the 3-D tool offset mode, the I, J, and K codes specified in such a block are not regarded as
the vector value of the 3-D tool offset. Therefore, the I, J, and K commands specified with
the G codes indicated in Table 3.24 are processed as the information that is related with
the specified G code and the vector angle/component is not changed even if these com-
mands are executed. If a D command is specified with the G codes that allow the destina-
tion of D code, such D command is used to change the offset number instead of changing
the vector angle/component. The offset amount is changed immediately after the execu-
tion of the D command.

Advertising