Actual torque of motors
Mech
✭
Hi,
Have a 5.15 Robot and Having a problem getting motor Torque on Axis 5 with TestSignal
Basically polishing and want to know when polishing wheel hits part on robot.
Have a 5.15 Robot and Having a problem getting motor Torque on Axis 5 with TestSignal
Basically polishing and want to know when polishing wheel hits part on robot.
VAR num motor_torque2;
VAR num motor_torque3;
TestSignReset;
TestSignDefine 2, 4002, ROB_1, 5,0;
motor_torque3 := TestSignRead(2);
Above is my code, but it is not working, says Execution Error 40799 - Trying to Use Channel with No Defined Signal.
Same error when I try "Speed" or 4001 for Signal ID
Any Ideas?
Thanks
Above is my code, but it is not working, says Execution Error 40799 - Trying to Use Channel with No Defined Signal.
Same error when I try "Speed" or 4001 for Signal ID
Any Ideas?
Thanks
0
Comments
-
Hi.
Don´t Know if this available on 5.15 but in another application I usenJointTorqueRob2{1}:=GetMotorTorque(\MecUnit:=ROB_2,1);where "nJointTorqueRob2{1}" is just a num array of 6.
Use it either in a PLC Task, or in an interrupt (iTimer)
Hope this helps0 -
I Mech said:Hi,
Have a 5.15 Robot and Having a problem getting motor Torque on Axis 5 with TestSignal
Basically polishing and want to know when polishing wheel hits part on robot.VAR num motor_torque2;VAR num motor_torque3;TestSignReset;TestSignDefine 2, 4002, ROB_1, 5,0;motor_torque3 := TestSignRead(2);
Above is my code, but it is not working, says Execution Error 40799 - Trying to Use Channel with No Defined Signal.
Same error when I try "Speed" or 4001 for Signal ID
Any Ideas?
Thanks0 -
As per the answer above use the RAPID function GetMotorTorque.
Below is the example from the RAPID manual:
VAR num motor_torque2; motor_torque2 := GetMotorTorque(2); The current motor torque of the second axis of the robot is stored in the variable motor_torque2.0 -
graemepaulin said:
As per the answer above use the RAPID function GetMotorTorque.
Below is the example from the RAPID manual:
VAR num motor_torque2; motor_torque2 := GetMotorTorque(2); The current motor torque of the second axis of the robot is stored in the variable motor_torque2.0 -
GetMotorToque is only available from RW6.0 and later.
You have to use TestSignRead and associated TestSignDefine for RW4 and RW5.
0 -
graemepaulin said:
GetMotorToque is only available from RW6.0 and later.
You have to use TestSignRead and associated TestSignDefine for RW4 and RW5.
0 -
It appears to be a be RobotWare Function.
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings