fbpx

Reply To: linear advance

#1467
phongshaderphongshader
Participant

dan wrote:


That filament out issue is likely that I need to invert the logic of the filament put sensor.


On my printer the filament sensor is set up to be open when there is filament and triggered when out. The Marlin firmware is set up:

Code:

#define FILAMENT_RUNOUT_SENSOR
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_INVERTING true // Set to true to invert the logic of the sensor.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.


Is this the correct logic for this setup?

#define FIL_RUNOUT_INVERTING false:

Send: M119

Recv: Reporting endstop status

Recv: x_min: open

Recv: y_min: open

Recv: z_min: TRIGGERED

Recv: z_max: TRIGGERED

Recv: filament: TRIGGERED

Recv: ok

OR

#define FIL_RUNOUT_INVERTING true:

Send: M119

Recv: Reporting endstop status

Recv: x_min: open

Recv: y_min: open

Recv: z_min: TRIGGERED

Recv: z_max: TRIGGERED

Recv: filament: open

Recv: ok

?

I’ve been getting this error as well after homing Z:

Your printer’s firmware reported an error. Due to that OctoPrint will disconnect. Reported error: !! STOP called because of BLTouch error – restart with M999

Facebook Instagram YouTube