Is CentroidAPI.CNCPipe.Job.CancelExecution the best way to simulate hitting the E-Stop or is there a better way. I'd want it to do the equivalent to a reset too, but don't see that in the API.
As ever thanks for your comments and remarks.
Trigger an E-Stop
Moderator: cnckeith
-
- Posts: 33
- Joined: Fri Nov 22, 2024 4:25 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: B4107B77A373-0905248481
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Trigger an E-Stop
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 39
- Joined: Thu Feb 10, 2022 5:55 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Trigger an E-Stop
Job.CancelExecution cancels the currently running job only. It effectively does the same operations as cycle cancel would.
There is no way to perform an E-Stop programmatically.
To perform a Reset programmatically, you can use
Code: Select all
CNCPipe pipe = new CNCPipe();
pipe.plc.SetSkinEventState(56, 1); //Sets reset
//Additional logic
pipe.plc.SetSkinEventState(56, 0); //Clears reset
Please note that the plc requires 20-30 ms to register the skin event change.
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)