Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
About ReadMotor instruction execute time
I suffer a strange problem, when i use the ReadMotor instruction to read the position of a motor, it need take 8-15 ms. Can anyone explain why it takes so long? And why the execute time is changing? In addiation, i test the follow four instruction GetJointData CJointT CRobT GetMotorTorque , also find the execute time is change from 1-5 ms. Has anyone encountered a similar problem?
RAPID code:
ClkReset clock_state;
ClkStart clock_state;
!Cartesian Coordinates
motor_position:= ReadMotor(1);
ClkStop clock_state;
time:=ClkRead(clock_state);
TPWrite "time " \Num:=time;
Thank so much!
RAPID code:
ClkReset clock_state;
ClkStart clock_state;
!Cartesian Coordinates
motor_position:= ReadMotor(1);
ClkStop clock_state;
time:=ClkRead(clock_state);
TPWrite "time " \Num:=time;
Thank so much!
0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings