Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###Chiron Config###
- ###STEPPERS###
- [stepper_x]
- step_pin: PF0
- dir_pin: !PF1
- enable_pin: !PD7
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^!PE5
- position_endstop: 0
- #position_min: -10
- position_max: 410
- homing_speed: 60
- [stepper_y]
- step_pin: PF6
- dir_pin: !PF7
- enable_pin: !PF2
- microsteps: 16
- rotation_distance: 32
- endstop_pin: ^!PL7
- position_endstop: 0
- position_max: 410
- homing_speed: 60.0
- [stepper_z]
- step_pin: PC1
- dir_pin: !PC3
- enable_pin: !PC7
- microsteps: 16
- rotation_distance: 8
- endstop_pin: ^PL6
- position_endstop: -4.3
- position_min: -5.3
- position_max: 450
- homing_speed: 20.0
- [stepper_z1]
- step_pin: PL3
- dir_pin: !PL1
- enable_pin: !PK0
- microsteps: 16
- rotation_distance: 8
- endstop_pin: ^PD3
- [safe_z_home]
- home_xy_position: 0,0
- speed: 50
- z_hop: 35
- z_hop_speed: 10
- [z_tilt]
- z_positions:
- 100, 120
- 380, 360
- points:
- 100, 180
- 350, 300
- speed: 50
- horizontal_move_z: 10
- retries: 3
- retry_tolerance: 0.05
- [printer]
- kinematics: cartesian
- max_velocity: 400
- max_accel: 3000
- max_accel_to_decel: 2000
- max_z_velocity: 60
- max_z_accel: 100
- square_corner_velocity: 5.0
- [mcu]
- serial: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
- baud: 250000
- [virtual_sdcard]
- path: ~/gcode_files
- [input_shaper] #These are my values for an unmodified Chiron frame.
- shaper_freq_x: 50 # frequency for the X mark of the test model
- shaper_freq_y: 35 # frequency for the Y mark of the test model
- ###EXTRUDER###
- [extruder]
- step_pin: PA4
- dir_pin: !PA6
- enable_pin: !PA2
- microsteps: 16
- rotation_distance: 3.4334
- full_steps_per_rotation: 200
- nozzle_diameter: 0.800
- filament_diameter: 1.750
- heater_pin: PB4 #PH5
- sensor_type: ATC Semitec 104GT-2
- sensor_pin: PK5
- #control: pid
- #pid_Kp: 16.61
- #pid_Ki: 1.21
- #pid_Kd: 56.88
- min_temp: 0
- max_temp: 245
- pwm_cycle_time: 0.02
- #pressure_advance=0.94 ###This is my value for a stock length bowden and stock extruder/hotend. YMMV
- max_extrude_only_distance: 200
- ###ONLY FANS###
- [heater_fan my_nozzle_fan]
- pin: PL5
- heater_temp: 45.0
- fan_speed: 1.0
- [fan]
- pin: PH6
- max_power: 0.5
- kick_start_time: 0.2
- [heater_fan stepstick_fan]
- pin: PH4
- ###BED###
- [heater_bed]
- heater_pin: PL4
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PK6
- #control: pid
- #pid_Kp: 97.1
- #pid_Ki: 1.41
- #pid_Kd: 1675.1
- min_temp: 0
- max_temp: 110
- ###BED MESH LEVELING####
- [probe]
- pin: PE4
- x_offset: 0.0
- y_offset: 0.0
- z_offset: 23.2 ###You must do a probe_calibrate prior to bed mesh leveling to generate a new z_offset.
- speed: 5.0
- samples: 3
- sample_retract_dist: 2.0
- samples_result: average
- samples_tolerance: 0.100
- samples_tolerance_retries: 0
- [screws_tilt_adjust]
- screw1: 30,30
- screw1_name: front left screw
- screw2: 400,30
- screw2_name: front right screw
- screw3: 400,400
- screw3_name: rear right screw
- screw4: 30,400
- screw4_name: rear left screw
- horizontal_move_z: 40.
- speed: 50.
- screw_thread: CW-M3
- [bed_mesh]
- speed: 80
- horizontal_move_z: 40
- mesh_min: 20,20
- mesh_max: 380, 380
- probe_count: 6,6
- ###MISC###
- [display_status]
- [pause_resume]
- ###MACROS###
- [gcode_macro G29]
- description: Run Bed Mesh Leveling
- gcode:
- {% set t = params.T|default(0)|float %}
- {% if printer.idle_timeout.state == "Printing" %}
- {action_respond_info("This command cannot be used while printing")}
- {% elif printer.toolhead.homed_axes != "xyz" %}
- {action_respond_info("Please home XYZ first")}
- {% else %}
- SAVE_GCODE_STATE NAME=G29_state
- G90
- G1 Z20 F1000
- {% if t > 30.0 %}
- M190 S{t}
- {% endif %}
- BED_MESH_CALIBRATE
- {% if 'S' in params %}
- M140 S{params.S}
- {% endif %}
- G90
- G1 Z20 F1000
- G1 X-5 Y0 F6000
- RESTORE_GCODE_STATE NAME=G29_state MOVE=0
- {% endif %}
- [gcode_macro CANCEL_PRINT]
- description: Cancel the actual running print
- rename_existing: CANCEL_PRINT_BASE
- gcode:
- G1 Z10 F1000
- TURN_OFF_HEATERS
- CLEAR_PAUSE
- SDCARD_RESET_FILE
- BASE_CANCEL_PRINT
- [gcode_macro RESUME]
- description: Resume the actual running print
- rename_existing: RESUME_BASE
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- #### get VELOCITY parameter if specified ####
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- ##### end of definitions #####
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [gcode_macro PAUSE]
- description: Pause the actual running print
- rename_existing: PAUSE_BASE
- # change this if you need more or less extrusion
- variable_extrude: 1.0
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- ##### set park positon for x and y #####
- # default is your max posion from your printer.cfg
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- ##### calculate save lift position #####
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- ##### end of definitions #####
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 24.102
- #*# pid_ki = 0.940
- #*# pid_kd = 154.555
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 64.508
- #*# pid_ki = 1.686
- #*# pid_kd = 616.855
Add Comment
Please, Sign In to add comment