Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Connecting and configuring filament-out sensors

Tony

You can arrange for a simple switch to trigger user-defined actions:
-The first step is to connect the switch to an unused endstop connector on the Duet WiFi. Note that the Duet uses a separate connector for Z probes, and it has five endstop connectors (X, Y, Z, E0, and E1).
+The first step is to connect the switch to an unused endstop connector on the Duet 2. Note that the Duet uses a separate connector for Z probes, and it has five endstop connectors (X, Y, Z, E0, and E1).
To make the firmware run a script when the filament runs out, use [[Gcode#Section_M581_Configure_external_trigger|M581]] to associate the endstop you chose with a "trigger". Trigger 0 is an emergency stop (probably not what you want), trigger 1 pauses the print (running pause.g), and otherwise trigger ''n'' runs the file trigger''n''.g., which you can write yourself.

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes