RobotStudio event

[PCSDK] Can we get a torque data using PCSDK?

Options

Hi, all

Now we are developing some functions using PCSDK and we are trying to find a torque value for each axis in realtime.

In RAPID, there is a function such as "GetMotorTorque". But I couldn't fine the functions for this in PCSDK.

How can I make this?

Best & Kind Regards,
spaik

Comments

  • Hello
    In your PC SDK app you should set a Digital Output on the controller whenever you want to see the torque, and in RAPID you should connect this Digital Output to interrupt/trap.
    In the trap routine you could set an Analog Output to the value of the current torque and then read the Analog Output in your PCSDK app.
    /Pavel