Homing Alarm 11 Not Asserted Following E-Stop#858
Conversation
|
It appears that recent changes to the core have fixed this and I can now see the correct alarm state in ioSender. Ideally, any change in alarm code would also result in an update sent to a connected i2c display / keypad. Currently the state of the I wonder if you would be open to modifying this behaviour, or perhaps this would be best addressed with a small change to the keypad plugin method for updating the struct? |
|
I think the easiest option for now is to modify the keypad plugin since the substate is determined from data that is changed both inside and outside of the state machine, and even in interrupt context(s). If the current state is one that can have substates then just query the substate in |
|
Apologies for the poor commit message. It seems I used my master branch to open this previous PR and then mistakenly pushed the changes here when testing the code you shared for PR #920. In either case, the changes you shared worked perfectly and were ready for merge, so many thanks for your help. I will close #920 as complete. |
I encountered an issue when homing required is enabled. It seems that Alarm 11 is never asserted following an e-stop with loss of position, but the machine remains in an Alarm state until the homing cycle is run. There is a message reported that homing is required, however these messages are not always visible (i.e., if I am operating the machine from a pendant / controller that only reports Alarm codes).
I'm thinking instead perhaps it would be better to mirror the handling case where homing is required but only some axes are homed.
core/system.c
Lines 466 to 477 in e272f77