Question about ReadMotor
Options
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.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings