Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Force stop the real robot using the driver and the API

#1
Dear RoboDK Support Team,
 
I am currently working on controlling a physical robot using the RoboDK API.
 
I am experiencing an issue with the Stop command functionality. When I send a Stop command while the robot is in motion, the robot does not stop its operation. I have attached the source code for your reference.
 
Additionally, I've noticed inconsistent behavior when trying to stop the robot through the GUI:
 
When the Connection Status is "Unknown status," the Stop button works properly, and the robot stops immediately.
However, when the Connection Status is "Working," pressing the Stop button does not stop the robot's operation.
Could you please advise on how to resolve these issues?
 
Environment details:
 
Robot: Yaskawa GP50
Robot Driver: MotomanHSE
Controller: YRC1000
RoboDK API: Python
I would greatly appreciate any guidance or solutions you can provide regarding this matter.
 
Thank you for your time and assistance.


Attached Files
.py   stop_immediately2.py (Size: 2.65 KB / Downloads: 56)
#2
The stop command is not supported with every robot controller when using the driver. When a movement is started you may need to wait to stop it using the API.

Another option is to force disconnect by killing the driver process. You can do so by calling Disconnect twice (it does the same effect as double clicking on disconnect, which kills the driver process).
#3
Thank you for reply.

If Force Stop can be achieved with 2 Disconnects, I think I'll handle it that way for now.

Is it possible to extend Yaskawa's driver ourselves to implement Stop functionality?
#4
Yes we can work together to improve the Yaskawa Motoman driver. It is better if you contact us through Help-Request support or by the contact form:
https://robodk.com/contact
  




Users browsing this thread:
2 Guest(s)