Hi all.
I want to control the speed ratio set by VelSet. For example, somebody adds a VelSet command somewhere in my program and that makes my robot move a little more slowly. . I want to detect that by continuously checking system variable C_MOTSET.vel.oride then change speed ratio back to 100%.
--I create a background task, but I can't read C_MOTSET.vel.oride of T_ROB1 from background task.
-- I setup a trap that is connected to the change of C_MOTSET.vel.oride but C_MOTSET.vel.oride is not a PERS so I get "Parameter error".
Please give me some advices.
Thank you.