diff options
author | Montbel <48642127+Montbel@users.noreply.github.com> | 2019-03-19 08:24:03 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-03-22 13:02:01 -0400 |
commit | 5bcf9f02cf5c307eb4a323dcf4c21b1ac9d22d67 (patch) | |
tree | b9defefa20d7a7019c50d94c74a334980ee6d4bf /config/printer-anycubic-4max-2018.cfg | |
parent | 541c2990c6024250a896d533ce9665271736fe61 (diff) | |
download | kutter-5bcf9f02cf5c307eb4a323dcf4c21b1ac9d22d67.tar.gz kutter-5bcf9f02cf5c307eb4a323dcf4c21b1ac9d22d67.tar.xz kutter-5bcf9f02cf5c307eb4a323dcf4c21b1ac9d22d67.zip |
config: Added Anycubic 4Max printer config file
Signed-off-by: Christian Toulon christian@bouncy-studio.com
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/printer-anycubic-4max-2018.cfg')
-rw-r--r-- | config/printer-anycubic-4max-2018.cfg | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/config/printer-anycubic-4max-2018.cfg b/config/printer-anycubic-4max-2018.cfg new file mode 100644 index 00000000..96f25aed --- /dev/null +++ b/config/printer-anycubic-4max-2018.cfg @@ -0,0 +1,127 @@ +# Klipper firmware config file for Anycubic 4Max. To use this config, +# the firmware should be compiled for the AVR atmega2560. + +# See the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: ar54 +dir_pin: ar55 +enable_pin: !ar38 +step_distance: .0125 +endstop_pin: ^!ar3 +position_min: -2 +position_endstop: -2 +position_max: 205 +homing_speed: 60.0 + +[stepper_y] +step_pin: ar60 +dir_pin: ar61 +enable_pin: !ar56 +step_distance: .0125 +endstop_pin: ^!ar14 +position_endstop: 0 +position_max: 215 +homing_speed: 60.0 + +[stepper_z] +step_pin: ar46 +dir_pin: ar48 +enable_pin: !ar62 +step_distance: .0025 +endstop_pin: ^!ar18 +position_endstop: 0.5 +position_max: 305 +homing_speed: 8.0 + +[extruder] +step_pin: ar26 +dir_pin: ar28 +enable_pin: !ar24 +step_distance: 0.010354 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +max_extrude_only_distance: 2000 +heater_pin: ar10 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: analog13 +control: pid +pid_kp: 27.725 +pid_ki: 1.224 +pid_kd: 156.991 +min_temp: 0 +max_temp: 300 + +[heater_bed] +heater_pin: ar8 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: analog14 +control: pid +pid_kp: 73.735 +pid_ki: 1.437 +pid_kd: 945.653 +min_temp: 0 +max_temp: 110 + +[fan] +pin: ar9 +kick_start_time: 1.0 + +[mcu] +serial: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 +pin_map: arduino + +[printer] +kinematics: cartesian +max_velocity: 1200 +max_accel: 1500 +max_z_velocity: 40 +max_z_accel: 60 + +[heater_fan extruder_fan] +pin: ar44 + +[heater_fan stepstick_fan] +pin: ar7 +kick_start_time: 1.0 + +[display] +lcd_type: st7920 +cs_pin: ar16 +sclk_pin: ar23 +sid_pin: ar17 +encoder_pins: ^ar31, ^ar33 +click_pin: ^!ar35 +kill_pin: ^!ar41 + +[filament_switch_sensor e0_sensor] +switch_pin: ar19 + +[gcode_macro START_PRINT] +gcode: + M117 Starting... + G90 ; absolute positioning + M107 ; start with the fan off + G28 ; Home + G0 X5 Y5 F4500 ; Go to front + G0 Z0.3 ; Drop to bed + G92 E0 ; zero the extruded length + G1 Y40 E15 F500 ; Extrude 15mm of filament in a 4cm line + G92 E0 ; zero the extruded length + G1 Y80 F4000 ; Quickly wipe away from the filament line + G1 Z1 ; Raise and begin printing. + M117 Printing... + +[gcode_macro END_PRINT] +gcode: + M117 End printing. + G91 ; relative positioning + G1 E-1 F300 ;retract the filament a bit before lifting the nozzle to release some of the pressure + G1 Z+5 E-2 F1000 ;move Z up a bit and extract a bit more + G90 ; absolute positioning + G1 X0 F2000 ; move X to min endstops so the head is out of the way + G1 Y200 F2000 ; Move Y to the back + m104 S0 ; turn hotend heating off + M140 S0 ; turn bed heating off + M107 ; turn fan off + M84 ; steppers off |