Question about ReadMotor
I am attempting to utilize the ReadMotor function to determine initial motion during my homing routine. However, the value I receive from the ReadMotor command doesn't seem to line up with the actual motor angle in degrees OR radians.
Attempting to read value of Axis1 on a single robot system with no external axes...
[code]MotorAngle_1 := ReadMotor(1);
MotorAngle_1 value is returning as -155.803, but the Axis 1 position is 90.0 degrees.
Can anyone tell me what I'm doing wrong
Attempting to read value of Axis1 on a single robot system with no external axes...
[code]MotorAngle_1 := ReadMotor(1);
MotorAngle_1 value is returning as -155.803, but the Axis 1 position is 90.0 degrees.
Can anyone tell me what I'm doing wrong
0
Comments
-
Hello
Use CJointT instead as below.
PERS jointtarget joints; PERS num joint3;
joints:=CJointT(); joint3:=joints.robax.rax_3;
/Pavel2 -
Pavel Riabichev said:Hello
Use CJointT instead as below.PERS jointtarget joints;PERS num joint3;joints:=CJointT();joint3:=joints.robax.rax_3;
/Pavel1 -
Pavel Riabichev, that worked perfectly! Thank you.
1
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
- 314 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 794 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings