emergencyStop()

Emergency stop: immediately send M112 to the printer, halting all motion and heating at the firmware level. Unlike stopPrint() (which only clears the queued commands), this halts a print already in progress — but afterward the firmware needs a reset/reconnect before it will accept new commands.

Syntax

fab.emergencyStop()