Tool Length Touch Probe
Posted: Sun May 20, 2018 12:16 pm
Hi
I am putting a conductive block on the work piece. Using a touch probe I can stop the axis when the tool touches. Next I need to update the tool length on the tool table setting.The idea is to
1) Determine the selected tool on the screen
2) Set the selected tool length in the table to 0
3) Read the DRO setting
4) Update the tool length in the table
Can the following work?
- I cannot find a command to determine which tool has been selected on the screen. Please assist.
- I can set the tool length using SetToolLength(int index, double Length)
- I can get the DRO reading with
GetDROs(double *DROx, double *DROy, double *DROz, double *DROa, double *DROb, double *DROc). I assume this is not in machine coordinates?
- I can set the tool length in the table using SetToolLength(int index, double Length). The length is DRO-blockthickness. This assumes the Z axis was set to 0 on the workpiece with the selected fixture offset.
Regards
I am putting a conductive block on the work piece. Using a touch probe I can stop the axis when the tool touches. Next I need to update the tool length on the tool table setting.The idea is to
1) Determine the selected tool on the screen
2) Set the selected tool length in the table to 0
3) Read the DRO setting
4) Update the tool length in the table
Can the following work?
- I cannot find a command to determine which tool has been selected on the screen. Please assist.
- I can set the tool length using SetToolLength(int index, double Length)
- I can get the DRO reading with
GetDROs(double *DROx, double *DROy, double *DROz, double *DROa, double *DROb, double *DROc). I assume this is not in machine coordinates?
- I can set the tool length in the table using SetToolLength(int index, double Length). The length is DRO-blockthickness. This assumes the Z axis was set to 0 on the workpiece with the selected fixture offset.
Regards