4.13.11 G10.37/G11.37: Save and Set Tool Length Compensation and Tool Length Wear Values


  • Set Macro to tool length compensation and tool length wear

Format: G10.37 Pp (Macro) Qq (Macro)


Assume that the value of the Macro variable in group p is n. This instruction:

1.

Set the value of the Macro variable q group to the tool length compensation value of the nth tool number in the tool compensation table.

2.

Set the value of the macro variable q+1 group to the tool length wear value of the nth tool number in the tool compensation table.


Note: Tool length wear value |32.767|。


  • Remove tool length compensation and tool length wear to Macro

Format: G11.37 Pp (Macro) Qq (Macro)


Assume that the value of the Macro variable in group p is n. This instruction:

1.

Take out the tool length correction value of the nth group tool number in the tool compensation table and place it into the Macro variable q group.

2.

Take the tool length wear value of the nth tool number in the tool compensation table and put it into the macro variable q+1 group.