RobotStudio event

Global PERS Tool Data

Options
Hi, 

we have a S4C+ controller with  an IR6400 robot, we actually use around 20 different programs modules with different routines but they all contain the same PERS tool data. My understanding is that at the moment the tool data for the tool we use is loaded when the program is loaded.

The problem with this setup is that if we change the tool, I need to change all the 20  program files by updating the tool data with the new parameters.
Is there a way I can save the tool data in a global file and delete it from the program file?
maybe in a system file like the tool0 ?

Thanks

Comments

  • xerim
    Options
    Try storing your tooldata in a system module instead, like this:

    MODULE mymodule (SYSMODULE)

    TASK PERS tooldata myTool:=[TRUE,[[100,200,300],[0,0,0,1]],[100,[200,300,400],[1,0,0,0],10,20,30]];

    ENDMODULE
  • Ok, thanks. 
    I had a look at the backup and it seems there is already a system module  under:
    BAKxxx>RAPID>TASKxx>SYSMOD> "user"

    you think is is just a case of adding the tool data on it?



  • xerim
    Options
    Yes, use the USER system module
  • lemster68
    Options
    And make sure that you save it into the HOME directory after adding your tooldata to it.
    Lee Justice
  • Thanks !