01-09-2023, 11:20 AM
Automatically linking to your Tool 2 requires a line like this one:
Note the dollar sign was missing on the SRC file you provided. With the correct syntax you should see a summary stating what tool is being used.
On the other hand, I noticed RoboDK won't link to your numbered tools or frames for KUKA SRC files. We'll improve RoboDK to support importing numbered tools and frames that exist on the station. For the time being it requires the workaround provided by Sergei by manually adding the Tool change instruction.
The instruction call SetTool allows integrating a tool change routine. Not all controllers quire working with Tool IDs but but most robot machining programs require using IDs. This can also be customized in the post processor.
Code:
$TOOL=TOOL_DATA[2]
Note the dollar sign was missing on the SRC file you provided. With the correct syntax you should see a summary stating what tool is being used.
On the other hand, I noticed RoboDK won't link to your numbered tools or frames for KUKA SRC files. We'll improve RoboDK to support importing numbered tools and frames that exist on the station. For the time being it requires the workaround provided by Sergei by manually adding the Tool change instruction.
The instruction call SetTool allows integrating a tool change routine. Not all controllers quire working with Tool IDs but but most robot machining programs require using IDs. This can also be customized in the post processor.