Marlin 2.0 problem z czujnikiem filamentu

Oprogramowanie sterownika drukarki i do łączenia komputera z drukarką
Awatar użytkownika
offroad
Konto z ograniczeniami
Postów w temacie: 3
Posty: 105
Rejestracja: 06 paź 2018, 22:12
Lokalizacja: Wawa
x 11

Marlin 2.0 problem z czujnikiem filamentu

Post autor: offroad »

Magluje marlina 2.0, ogarnąłem większość, ale nie mogę poradzić sobie z czujnikiem filamentu.

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
Niestety to nic nie daje, czujnik jest stale otwarty (M119)( -> filament: open)
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ś???
Anycubic 4MAX
Voron łazi po głowie :)
Awatar użytkownika
FlameRunner
Zasłużony
Postów w temacie: 1
Posty: 6568
Rejestracja: 15 kwie 2016, 21:26
x 2056

Re: Marlin 2.0 problem z czujnikiem filamentu

Post autor: FlameRunner »

A masz włączone i skonfigurowane wszystko związane z M600?
Awatar użytkownika
offroad
Konto z ograniczeniami
Postów w temacie: 3
Posty: 105
Rejestracja: 06 paź 2018, 22:12
Lokalizacja: Wawa
x 11

Re: Marlin 2.0 problem z czujnikiem filamentu

Post autor: offroad »

Muszę to jeszcze sprawdzić, ale odpalenie ręczne M600 działa samodzielnie wysuwa filament i czeka na załadowanie nowego.
Anycubic 4MAX
Voron łazi po głowie :)
Awatar użytkownika
offroad
Konto z ograniczeniami
Postów w temacie: 3
Posty: 105
Rejestracja: 06 paź 2018, 22:12
Lokalizacja: Wawa
x 11

Re: Marlin 2.0 problem z czujnikiem filamentu

Post autor: offroad »

M600 działa ok, nikt? Nic?
Anycubic 4MAX
Voron łazi po głowie :)
ODPOWIEDZ

Wróć do „Firmware'y i hosty”