Dołożony BLTouch (działa)
teraz ustawienia czujnika:
Kod: Zaznacz cały
/**
Filament Runout Sensors
Mechanical or opto endstops are used to check for the presence of filament.
RAMPS-based boards use SERVO3_PIN for the first runout sensor.
For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
By default the firmware assumes HIGH=FILAMENT PRESENT.
*/
#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.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to execute on filament runout.
// (After 'M412 H' Marlin will ask the host to handle the process.)
#define FILAMENT_RUNOUT_SCRIPT "M600"
// After a runout is detected, continue printing this length of filament
// before executing the runout script. Useful for a sensor at the end of
// a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
//#define FILAMENT_RUNOUT_DISTANCE_MM 25
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
// Enable this option to use an encoder disc that toggles the runout pin
// as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM
// large enough to avoid false positives.)
//#define FILAMENT_MOTION_SENSOR
#endif
#endif
sprawdziłem elektryczne działanie,oraz widoczność przez płytę czujnika odblokowując "#define USE_ZMAX_PLUG" (tam fizycznie jest podłączony czujnik), M119 daje pozytywny rezultat, czujnik działa, dodałem wiec dodatkowo w pins.trigorilla.h wpis: "#define FIL_RUNOUT_PIN 19"
i teraz wedle M119 wszystko działa ok ( -> filament: TRIGGERED) dla obecności filamentu i open dla braku ...tylko że skończenie się filamentu w czasie druku nic nie powoduje, drukarka nie zauważa problemu.
Coś, ktoś???