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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 341 IRC5
- 68 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 839 RAPID Programming
- 18 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings