Dynamically setting $TOOL

Hi,

Does anyone know if it is possible to dynamically set tool data at the beginning of a program.
For example I’m doing reach analysis on a system but will be doing it with various tools so instead of having to go through each individual point and setting the tool data again I want to just be able to set it at the start of the Main for example.

Thanks,
N

Based on your use of $TOOL, I am assuming you are using KUKA Sim Pro 3.1. My understanding is $LOAD should be default and read-only, and to change the tool load data in robot program, you cannot use Define Tool statement. You either need to use API or UserKRL statement.