Hi Rick,
It is possible to get or set special KUKA global variables using the RoboDK API and the driver. For example, to set the OV_PRO variable to 50 you should be able to do something like this:
I've never tested this but it should work. Make sure you use a recent version of RoboDK.
Another example to use this feature, you could also retrieve the list of tools using:
让us know if you need more help.
Albert
It is possible to get or set special KUKA global variables using the RoboDK API and the driver. For example, to set the OV_PRO variable to 50 you should be able to do something like this:
Code:
robot.setParam("Driver", "SET $OV_PRO=50")
I've never tested this but it should work. Make sure you use a recent version of RoboDK.
Another example to use this feature, you could also retrieve the list of tools using:
Code:
ToolList = robot.setParam("Driver", "GET $TOOL_DATA")
让us know if you need more help.
Albert