Open jethornton opened 5 months ago
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/extensions/emcmodule.cc#L419
Says " STATE_OFF: Same as STATE_ESTOP_RESET, this one is not used.\n"
So the Docs are wrong?
STATE_OFF
is never returned as state, since the state machine immediately jumps to STATE_ESTOP_RESET
. But you can issue a STATE_OFF
request to disable linuxcnc:
c.state(STATE_OFF)
to get into STATE_ESTOP_RESET
state.
So the docs are not correct stating that STATE_OFF is returned.
It seems so.
task_state
STATE_OFF is never returned, when you set the state(int) to STATE_OFF STATE_ESTOP_RESET is returned.
Axis is running and I use the estop and power buttons in axis to change states