4.13.12 G10.38/G11.38: Save and Set Tool Radius Compensation and Tool Radius Wear Values


  • Set Macro to tool radius compensation and tool wear

Format: G10.38 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 group q to the tool radius compensation value of the tool number group n in the tool compensation table.

2.

Set the value of the macro variable q+1 group to the tool radius compensation value of group n in the tool compensation table.


Note: Tool wear value |32.767|。


  • Remove tool radius compensation and tool radius wear to Macro

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


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

1.

Take the tool radius compensation value of the tool group n in the tool compensation table and put it into the Macro variable group q.

2.

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