Added new feature for AutoParking Extruder (APE)
This commit is contained in:
parent
6772e33ef6
commit
4817b39d98
39 changed files with 734 additions and 22 deletions
|
|
@ -416,6 +416,34 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Parking Extruder requirements
|
||||
*/
|
||||
#if ENABLED(PARKING_EXTRUDER)
|
||||
#if ENABLED(DUAL_X_CARRIAGE)
|
||||
#error "PARKING_EXTRUDER and DUAL_X_CARRIAGE are incompatible."
|
||||
#elif ENABLED(SINGLENOZZLE)
|
||||
#error "PARKING_EXTRUDER and SINGLENOZZLE are incompatible."
|
||||
#elif ENABLED(EXT_SOLENOID)
|
||||
#error "PARKING_EXTRUDER and EXT_SOLENOID are incompatible. (Pins are used twice.)"
|
||||
#elif EXTRUDERS != 2
|
||||
#error "PARKING_EXTRUDER requires exactly 2 EXTRUDERS."
|
||||
#elif !PIN_EXISTS(SOL0) || !PIN_EXISTS(SOL1)
|
||||
#error "PARKING_EXTRUDER requires SOL0_PIN and SOL1_PIN."
|
||||
#elif !defined(PARKING_EXTRUDER_PARKING_X)
|
||||
#error "PARKING_EXTRUDER requires PARKING_EXTRUDER_PARKING_X."
|
||||
#elif !defined(PARKING_EXTRUDER_SECURITY_RAISE)
|
||||
#error "PARKING_EXTRUDER requires PARKING_EXTRUDER_SECURITY_RAISE."
|
||||
#elif PARKING_EXTRUDER_SECURITY_RAISE < 0
|
||||
#error "PARKING_EXTRUDER_SECURITY_RAISE must be 0 or higher."
|
||||
#elif !defined(PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE) || !WITHIN(PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE, LOW, HIGH)
|
||||
#error "PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE must be defined as HIGH or LOW."
|
||||
#elif !defined(PARKING_EXTRUDER_SOLENOIDS_DELAY) || !WITHIN(PARKING_EXTRUDER_SOLENOIDS_DELAY, 0, 2000)
|
||||
#error "PARKING_EXTRUDER_SOLENOIDS_DELAY must be between 0 and 2000 (ms)."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Limited number of servos
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue