Runout sensor without SD Card
It appears you have to have "SD Support or Printjob Timer"
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT or PRINTJOB_TIMER_AUTOSTART."
So your line should look like this
if ( print_job_timer.isRunning() && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING)) // otherwise you get locked in a endless loop
And since you have 2 extruders you need two filament run-out sensors.
Filament run-out sensors can be tied to the same pin, if they are both normally open contacts on a switch or both open collector.
// Z-Axis Must be the same
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to same logic as "Z_MIN_ENDSTOP_INVERTING".
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
/**
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
* (e.g., an inductive probe or a nozzle-based probe-switch.)
*/
#define FIX_MOUNTED_PROBE
It appears you have to have "SD Support or Printjob Timer"
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT or PRINTJOB_TIMER_AUTOSTART."
So your line should look like this
if ( print_job_timer.isRunning() && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING)) // otherwise you get locked in a endless loop
And since you have 2 extruders you need two filament run-out sensors.
Filament run-out sensors can be tied to the same pin, if they are both normally open contacts on a switch or both open collector.
// Z-Axis Must be the same
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to same logic as "Z_MIN_ENDSTOP_INVERTING".
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
/**
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
* (e.g., an inductive probe or a nozzle-based probe-switch.)
*/
#define FIX_MOUNTED_PROBE