Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
945 stars 535 forks source link

Further restrict what gcodes can be run after M112 #992

Closed T3P3 closed 6 months ago

T3P3 commented 6 months ago

As at RRF 3.5.1 the spindle control commands can be run after the M112 command. These should be restricted until the board is reset.

Potentially restrict the commands that can be run after M112 to the following: M999 M122 M409

jesse-stojan commented 6 months ago

It is absolutely necessary that Emergency Stop not permit further motor controls until reset/unlocked, as it helps bring RRF into compliance with safety standards and codes that are currently in violation of IEC, NEC, ANSI, and OSHA codes.

dc42 commented 6 months ago

Implemented in 3.5-dev. Only the following commands can be run after M112: M105 M112 M115 M122 M408 M409 M999.