
[Description]
Alters the tool offset amount stored in the CNC.
Tool wear/geometry offset amounts and cutter radius/tool length offset
amounts, etc. can be written in.
This function is used for the preparation of machining or the tool
offset measurement by the application program, to write the result of
those processing into the CNC's memory. Also, this is used for
restoring the tool offset amounts which are already saved into the
application's memory, etc.
Specify the kind of offset amount to be written in "type".
Machining Center Series
type Kind of offset amount
-------+------------------------------------------------------
0 Cutter radius compensation/wear offset amount
1 Cutter radius compensation/geometry offset amount
2 Tool length compensation/wear offset amount
3 Tool length compensation/geometry offset amount
Specify "0" in case without distinctions of cutter radius/tool
length and wear/geometry.
Lathe Series
type Kind of offset amount
-------+------------------------------------------------------
0 X-axis wear offset amount
1 X-axis geometry offset amount
2 Z-axis wear offset amount
3 Z-axis geometry offset amount
4 Tool-nose radius wear offset amount
5 Tool-nose radius geometry offset amount
6 Virtual tool tip direction
7 Virtual tool tip direction
8 Y-axis wear offset amount
9 Y-axis geometry offset amount
If there is no tool geometry compensation option, specify a wear
compensation option.
Store the offset amount in "buf.data" with signed binary format.
(The negative value is represented as 2's complement.)
The unit of offset amount is as follows.
IS-B IS-C
-------------------------------+---------------+---------------
Linear axis (metric input) 0.001 [mm] 0.0001 [mm]
Linear axis (inch input) 0.0001 [inch] 0.00001 [inch]
Rotation axis 0.001 [deg] 0.0001 [deg]