RobotStudio event

How to prevent someone add "VELSET" in my program

hi experts !
i wanna control my program and i don't want to let anyone add velset into it.
so what can i do , config the task or add trap routine
plz tell me and thanks so much

Comments

  • Hi Zin96, 

    Unfortunately I don't think there is any way to do this programmatically. 
    There is no value you can tie to an interrupt and no way to configure the task. 

    The only thing you can do is set up UAS on the controller so that the default user can't edit RAPID code and you have to login as a different user to edit RAPID code. 

    Good Luck, 

    Harry
  • Hi Zin96, 

    Unfortunately I don't think there is any way to do this programmatically. 
    There is no value you can tie to an interrupt and no way to configure the task. 

    The only thing you can do is set up UAS on the controller so that the default user can't edit RAPID code and you have to login as a different user to edit RAPID code. 

    Good Luck, 

    Harry
    thanks, i have tried some ways but it doesn't work...
    tell me if u discover any way to deal with it.
  • Hi Zin96, 

    UAS should definitely work if you remove access to edit RAPID code for the default operator or whatever they log in as. Do they still need to edit the program for any other reason? 
    Regards,

    Harry
  • If you have multitasking, create a new semi-static task with only this

    PROC main()
       WHILE true DO
           VelSet 100,100;
           WaitTime 1;
       ENDWHILE
    ENDPROC


  • I do believe that you would want the second number to be more like 5000.
    Lee Justice