Perform Jogging by WebSockets
tlt
✭
Hello,
I try to do http://localhost/rw/motionsystem?action=jog and get following message:
Could you clarify what does Change count mismatch mean?
I try to do http://localhost/rw/motionsystem?action=jog and get following message:
<span class="code">-1073436652</span>
<span class="msg">rws_resource_motionsystem.cpp[405] Change count mismatch code:-1073436652 icode:-1073436652</span>
Robot error list:
Robot error list:
<li class="err-desc-li" title="-1073436652">
<span class="name">SYS_CTRL_E_HPJ_CHANGE_COUNT_MISMATCH</span>
<span class="code">-1073436652</span>
<span class="severity">Error</span>
<span class="description">Change count mismatch.</span>
Could you clarify what does Change count mismatch mean?
Tagged:
0
Best Answer
-
Check out this forum post:
https://forums.robotstudio.com/discussion/12180/how-to-get-started-with-robot-web-services-and-jog-a-robot-via-rest-api-requests#latest
"
https://developercenter.robotstudio.com/api/rwsApi/ms_motionsystem_get_page.html
"change_count = counter to keep count for every change in the motion system(domain)"
We need to find the correct change count which we need to send to the controller with the jog request.
So first we GET this resource: http://localhost/rw/motionsystem?resource=change-count
This will return a <span class="change-count">0</span> which is the value we use in the jog request.
"6
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings