Tool data (wz[i].*)
The 'wz[i]’ structure defines the data of a tool with the number ‘i’.
Structure name | Index |
wz[i] | i = 0 to 200 (number of tool data records: 201, application-specific) |
![]() | The following relationship exists between the D function and the tool data index ‘i’. |
D function | Tool data index ‘i’. |
D 0 | 0 |
D 1 | 1 |
D 2 | 2 |
D 3 | 3 |
D 4 | 4 |
D 5 | 5 |
D 6 | 6 |
D 7 | 7 |
The tool data index 'i' therefore corresponds to the tool number programmed in the NC program using the T or D command.
Notice | |
Data of the tool with index ‘0’ is assigned the value ‘0’ after the ASCII file is interpreted. In this way, all tool axis offsets can be calculated from the path motions by programming ‘D0’ in the NC program. |