File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,7 @@ int Task::emcAuxEstopOn()//EMC_AUX_ESTOP_ON_TYPE
375375{
376376 /* assert an ESTOP to the outside world (thru HAL) */
377377 iocontrol_data.user_enable_out = 0 ; // disable on ESTOP_ON
378+ iocontrol_data.user_request_enable = 0 ;
378379 hal_init_pins (); // resets all HAL pins to safe valuea
379380 return 0 ;
380381}
@@ -648,6 +649,10 @@ void Task::run(){ // called periodically from emctaskmain.cc
648649 tool_status = read_tool_inputs ();
649650 if (iocontrol_data.emc_enable_in == 0 ) // check for estop from HW
650651 emcioStatus.aux .estop = 1 ;
651- else
652+ else {
652653 emcioStatus.aux .estop = 0 ;
654+ if (iocontrol_data.user_request_enable == 1 ) {
655+ iocontrol_data.user_request_enable = 0 ;
656+ }
657+ }
653658}
You can’t perform that action at this time.
0 commit comments