How to realize emergency stop, pause and recovery
09 Aug 2021 01:56 #217279
by yi2580
How to realize emergency stop, pause and recovery was created by yi2580
I'm trying to make a GUI myself, but I don't know how to emergency stop / pause / resume. I want to write and implement a button and function myself. How should I do it?
Thank you
Thank you
Please Log in or Create an account to join the conversation.
11 Aug 2021 00:25 #217448
by andypugh
Replied by andypugh on topic How to realize emergency stop, pause and recovery
Maybe copy how Axis does it?
Please Log in or Create an account to join the conversation.
11 Aug 2021 00:56 #217454
by cmorley
Replied by cmorley on topic How to realize emergency stop, pause and recovery
I would use gstat to signal the button based on linuxcnc state:
linuxcnc.org/docs/2.8/html/gui/GStat.html
and the python interface to change linuxcnc state.
linuxcnc.org/docs/2.8/html/config/python-interface.html
This is how qtvcp and gladevcp do it .
linuxcnc.org/docs/2.8/html/gui/GStat.html
and the python interface to change linuxcnc state.
linuxcnc.org/docs/2.8/html/config/python-interface.html
This is how qtvcp and gladevcp do it .
Please Log in or Create an account to join the conversation.
11 Aug 2021 08:26 #217486
by yi2580
Replied by yi2580 on topic How to realize emergency stop, pause and recovery
I may need such a function. If an IO signal is sent, I need to make a judgment and then make an emergency stop to stop each axis and Linux CNC
Thank you very much for your reply. I hope you can help me
Thank you very much for your reply. I hope you can help me
Please Log in or Create an account to join the conversation.
11 Aug 2021 08:28 #217487
by yi2580
Replied by yi2580 on topic How to realize emergency stop, pause and recovery
cmorley post=217454 userid=482我会使用 gstat 来根据 linuxcnc 状态发送按钮信号:
http ://linuxcnc.org/docs/2.8/html/gui/GStat.html
和 python 接口来改变 linuxcnc 状态。
linuxcnc.org/docs/2.8/html/config/python-interface.html
qtvcp 和gladevcp 就是这样做的。
I read the python interface function of Linux CNC, but I don't seem to find the emergency stop function. Thank you for your reply
Please Log in or Create an account to join the conversation.
Time to create page: 0.141 seconds