48 lines
1.1 KiB
INI
48 lines
1.1 KiB
INI
[include basic_extruder.cfg]
|
|
|
|
[extruder]
|
|
heater_pin: PD5
|
|
sensor_pin: PA7
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
control: watermark
|
|
nozzle_diameter: 0.400
|
|
filament_diameter: 1.750
|
|
min_temp: 0
|
|
max_temp: 250
|
|
min_extrude_temp: 50
|
|
max_extrude_only_distance: 50.0
|
|
|
|
[extruder_stepper stepper1]
|
|
extruder: extruder
|
|
step_pin: PB1
|
|
dir_pin: !PB0
|
|
enable_pin: !PD6
|
|
microsteps: 16
|
|
rotation_distance: 33.500
|
|
|
|
[extruder_stepper stepper2]
|
|
extruder: extruder
|
|
step_pin: PD3
|
|
dir_pin: PD2
|
|
enable_pin: !PD6
|
|
microsteps: 16
|
|
rotation_distance: 33.500
|
|
|
|
[gcode_macro T0]
|
|
variable_active: 1
|
|
gcode:
|
|
{ action_respond_info("Switching to T0") }
|
|
SET_GCODE_VARIABLE MACRO=T0 VARIABLE=active VALUE=1
|
|
SET_GCODE_VARIABLE MACRO=T1 VARIABLE=active VALUE=0
|
|
SYNC_EXTRUDER_MOTION EXTRUDER=stepper2 MOTION_QUEUE=
|
|
SYNC_EXTRUDER_MOTION EXTRUDER=stepper1 MOTION_QUEUE=extruder
|
|
|
|
[gcode_macro T1]
|
|
variable_active: 0
|
|
gcode:
|
|
{ action_respond_info("Switching to T1") }
|
|
SET_GCODE_VARIABLE MACRO=T0 VARIABLE=active VALUE=0
|
|
SET_GCODE_VARIABLE MACRO=T1 VARIABLE=active VALUE=1
|
|
SYNC_EXTRUDER_MOTION EXTRUDER=stepper1 MOTION_QUEUE=
|
|
SYNC_EXTRUDER_MOTION EXTRUDER=stepper2 MOTION_QUEUE=extruder
|