virtual-klipper-printer/example-configs/printer.cfg

307 lines
6.3 KiB
INI

# This file contains example pin mappings for testing with the
# "simulavr" program. To use this config, compile the firmware for an
# AVR atmega644p, enable "low-level configuration options", and enable
# "simulavr software emulation". Further details are in
# docs/Debugging.md.
# See docs/Config_Reference.md for a description of parameters.
# AVR atmega644p Pins:
# PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7
# PB0, PB1, PB2, PB3, PB4, PB5, PB6, PB7
# PC0, PC1, PC2, PC3, PC4, PC5, PC6, PC7
# PD0, PD1, PD2, PD3, PD4, PD5, PD6, PD7
############################################
### DO NOT CHANGE PIN ASSIGNMENTS !!! ###
############################################
[stepper_x]
step_pin: PD7
dir_pin: !PC5
enable_pin: !PD6
endstop_pin: ^PC2
[stepper_y]
step_pin: PC6
dir_pin: !PC7
enable_pin: !PD6
endstop_pin: ^PC3
[stepper_z]
step_pin: PB3
dir_pin: PB2
enable_pin: !PA5
endstop_pin: ^PC4
[extruder]
step_pin: PB1
dir_pin: !PB0
enable_pin: !PD6
heater_pin: PD5
sensor_pin: PA7
[extruder1]
step_pin: PD3
dir_pin: PD2
enable_pin: !PD6
heater_pin: PB7
sensor_pin: PA1
[heater_bed]
heater_pin: PD4
sensor_pin: PA6
############################################
### ADDITIONAL CONFIGURATIONS ###
############################################
[respond]
[pause_resume]
[display_status]
[mcu]
serial: /tmp/pseudoserial
restart_method: arduino
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[virtual_sdcard]
path: ~/gcode_files
[firmware_retraction]
retract_length: 0.5
retract_speed: 75
unretract_speed: 75
[stepper_x]
microsteps: 16
rotation_distance: 40
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_y]
microsteps: 16
rotation_distance: 40
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_z]
microsteps: 16
rotation_distance: 8
position_endstop: 0.0
position_max: 250
homing_retract_dist: 0
[extruder]
sensor_type: EPCOS 100K B57560G104F
control: watermark
microsteps: 16
rotation_distance: 33.683
nozzle_diameter: 0.400
filament_diameter: 1.750
min_temp: 0
max_temp: 250
min_extrude_temp: 50
max_extrude_only_distance: 100.0
pressure_advance: 0.1
pressure_advance_smooth_time: 0.01
[extruder1]
sensor_type: EPCOS 100K B57560G104F
control: watermark
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.500
filament_diameter: 1.75
min_temp: 0
max_temp: 250
min_extrude_temp: 50
max_extrude_only_distance: 100.0
pressure_advance: 0.2
pressure_advance_smooth_time: 0.02
[heater_bed]
sensor_type: EPCOS 100K B57560G104F
control: watermark
min_temp: 0
max_temp: 130
############################################
### MISCELLANEOUS ###
############################################
[fan]
pin: PB4
[heater_fan heater_fan]
pin: PB5
off_below: 0.0
shutdown_speed: 1.0
max_power: 1.0
[controller_fan controller_fan]
pin: PB6
off_below: 0.2
shutdown_speed: 1.0
max_power: 1.0
[filament_motion_sensor runout_sensor]
switch_pin: PC1
detection_length: 1.0
extruder: extruder
pause_on_runout: FALSE
runout_gcode:
M117 Runout sensor reports: Runout G-Code
insert_gcode:
M117 Runout sensor reports: Insert G-Code
[output_pin output_pin]
pin: PC0
pwm: false
shutdown_value: 0
value: 1
############################################
### BED MESH ###
############################################
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 10, 10
mesh_max: 225, 225
probe_count: 5, 5
############################################
### MACROS ###
############################################
[gcode_macro START_PRINT]
gcode:
M117 START_PRINT called with {rawparams}
G28
[gcode_macro END_PRINT]
gcode:
M117 END_PRINT called with {rawparams}
[gcode_macro CANCEL_PRINT]
rename_existing: CANCEL_PRINT_BASE
gcode:
M117 CANCEL_PRINT called with {rawparams}
CANCEL_PRINT_BASE
[gcode_macro PAUSE]
rename_existing: PAUSE_BASE
gcode:
M117 PAUSE called with {rawparams}
PAUSE_BASE
[gcode_macro RESUME]
rename_existing: RESUME_BASE
gcode:
M117 RESUME called with {rawparams}
RESUME_BASE
[gcode_macro M117]
rename_existing: M117.1
gcode:
M117.1 {rawparams}
{action_respond_info(rawparams)}
[gcode_macro M104]
rename_existing: M104.1
gcode:
M117 M104 called with {rawparams}
[gcode_macro M109]
rename_existing: M109.1
gcode:
M117 M109 called with {rawparams}
[gcode_macro M140]
rename_existing: M140.1
gcode:
M117 M140 called with {rawparams}
[gcode_macro M190]
rename_existing: M190.1
gcode:
M117 M190 called with {rawparams}
[gcode_macro T0]
gcode:
M117 Switching to T0 / extruder
ACTIVATE_EXTRUDER EXTRUDER=extruder
[gcode_macro T1]
gcode:
M117 Switching to T1 / extruder1
ACTIVATE_EXTRUDER EXTRUDER=extruder1
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.075000, 0.069792, 0.062708, 0.044167, 0.032917
#*# 0.045417, 0.043958, 0.066042, 0.053333, 0.038750
#*# 0.034375, 0.023333, 0.032917, 0.054167, 0.043542
#*# 0.076042, 0.056458, 0.066250, 0.045000, 0.057292
#*# 0.051875, 0.036875, 0.030000, 0.020625, 0.043125
#*# tension = 0.2
#*# min_x = 10
#*# algo = bicubic
#*# y_count = 5
#*# mesh_y_pps = 5
#*# min_y = 10.0
#*# x_count = 5
#*# max_y = 225
#*# mesh_x_pps = 5
#*# max_x = 225
#*#
#*# [bed_mesh mesh_profile_2]
#*# version = 1
#*# points =
#*# 0.025000, 0.029792, 0.022708, 0.024167, 0.022917
#*# 0.025417, 0.023958, 0.026042, 0.023333, 0.028750
#*# 0.024375, 0.023333, 0.022917, 0.024167, 0.023542
#*# 0.026042, 0.026458, 0.026250, 0.025000, 0.027292
#*# 0.021875, 0.026875, 0.020000, 0.020625, 0.023125
#*# tension = 0.2
#*# min_x = 10
#*# algo = bicubic
#*# y_count = 5
#*# mesh_y_pps = 5
#*# min_y = 10.0
#*# x_count = 5
#*# max_y = 225
#*# mesh_x_pps = 5
#*# max_x = 225
#*#
#*# [bed_mesh mesh_profile_3]
#*# version = 1
#*# points =
#*# 0.075000, 0.069792, 0.062708, 0.044167, -0.032917
#*# 0.045417, 0.043958, 0.066042, -0.053333, -0.038750
#*# 0.034375, 0.023333, -0.032917, -0.054167, -0.043542
#*# 0.076042, -0.056458, -0.066250, -0.045000, -0.057292
#*# -0.051875, -0.036875, -0.030000, -0.020625, -0.043125
#*# tension = 0.2
#*# min_x = 10
#*# algo = bicubic
#*# y_count = 5
#*# mesh_y_pps = 5
#*# min_y = 10.0
#*# x_count = 5
#*# max_y = 225
#*# mesh_x_pps = 5
#*# max_x = 225
#*#