We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4eaf89c + 7fcb29c commit 7899abeCopy full SHA for 7899abe
1 file changed
src/emc/task/taskclass.cc
@@ -375,6 +375,7 @@ int Task::emcAuxEstopOn()//EMC_AUX_ESTOP_ON_TYPE
375
{
376
/* assert an ESTOP to the outside world (thru HAL) */
377
iocontrol_data.user_enable_out = 0; //disable on ESTOP_ON
378
+ iocontrol_data.user_request_enable = 0;
379
hal_init_pins(); //resets all HAL pins to safe valuea
380
return 0;
381
}
@@ -648,6 +649,10 @@ void Task::run(){ // called periodically from emctaskmain.cc
648
649
tool_status = read_tool_inputs();
650
if (iocontrol_data.emc_enable_in == 0) //check for estop from HW
651
emcioStatus.aux.estop = 1;
- else
652
+ else {
653
emcioStatus.aux.estop = 0;
654
+ if (iocontrol_data.user_request_enable == 1) {
655
656
+ }
657
658
0 commit comments