RobotStudio event

Reading the six joint angles of IRB 120 with a VC

Hi, 

I was trying to measure the IRB 120 angles in real time while moving.

As far as I know, I should use CJointT on a secondary multitask running in background but when I try to run I get the following errors:

   
By the way, I read that the instruction CJointT needs the robot should stand still (using instruction fine before start moving again), is it possible to have the actual joint angle values in real time while moving? 

Thanks in advance,

Nico_.

Answers

  • Try adding a name to your proc and maybe the syntax will be ok. 

    PROC Main()

    ENDPROC

    As far as I know the CJointT reads live values even when the robot is moving. 
    Systemintegrator - Web / C# / Rapid / Robotstudio

    If I helped, please press Vote Up  :smile:

    ☑️2024 - RobotStudio® User Group