I can't activate the "Jam" detection (works fine with firmware V1).
I'm using an MKS RUMBA board.
I tested several pins including end stops
I tested the M602 P0 command
I tested JAM_METHOD 1 and 2
In any case, no warning. I can print without filament.
What have I forgotten?
Configuration_io.h:
IO_INPUT(IOJam1, PD14)
IO_INPUT(IOJam2, PD15)
STEPPER_SIMPLE(E1MotorBase, IOE1Step, IOE1Dir, IOE1Enable, endstopNone, endstopNone)
STEPPER_SIMPLE(E2MotorBase, IOE2Step, IOE2Dir, IOE2Enable, endstopNone, endstopNone)
STEPPER_OBSERVEABLE(E1Motor, E1MotorBase)
STEPPER_OBSERVEABLE(E2Motor, E2MotorBase)
TOOL_EXTRUDER(ToolExtruder1, 0, 0, 0, HeaterExtruder1, E1Motor, 1.75, 221.0, 20, 30, 1000, 40, "", "", &Fan1PWM)
TOOL_EXTRUDER(ToolExtruder2, 12, 0, 0, HeaterExtruder2, E2Motor, 1.75, 221.0, 20, 30, 1000, 40, "G1 A30", "G28 A", &Fan1PWM)
JAM_DETECTOR_HW(JamExtruder1, E1Motor, IOJam1, ToolExtruder1, 204, 10, 200)
JAM_DETECTOR_HW(JamExtruder2, E2Motor, IOJam2, ToolExtruder2, 204, 10, 200)
Configuration.h:
#define JAM_METHOD 1
#define JAM_STEPS 408
#define JAM_SLOWDOWN_STEPS 600
#define JAM_SLOWDOWN_TO 75
#define JAM_ERROR_STEPS 1000
#define JAM_MIN_STEPS 10
#define JAM_ACTION 1
Thanks for your help