[include kiauh_macros.cfg] # This file serves as documentation for config parameters of delta # style printers. One may copy and edit this file to configure a new # delta printer. Only parameters unique to delta printers are # described here - see the "example.cfg" file for description of # common config parameters. # The stepper_a section describes the stepper controlling the front # left tower (at 210 degrees). This section also controls the homing # parameters (homing_speed, homing_retract_dist) for all towers. [stepper_a] step_pin: PA15 dir_pin: !PA14 enable_pin: PD1 rotation_distance: 5 microsteps: 16 endstop_pin: PC2 homing_speed: 100 homing_retract_dist: 10 #position_endstop: 562 # Distance (in mm) between the nozzle and the bed when the nozzle is # in the center of the build area and the endstop triggers. This # parameter must be provided for stepper_a; for stepper_b and # stepper_c this parameter defaults to the value specified for # stepper_a. #arm_length: 455 # Length (in mm) of the diagonal rod that connects this tower to the # print head. This parameter must be provided for stepper_a; for # stepper_b and stepper_c this parameter defaults to the value # specified for stepper_a. #angle: 210 #angle: # This option specifies the angle (in degrees) that the tower is # at. The default is 210 for stepper_a, 330 for stepper_b, and 90 # for stepper_c. # The stepper_b section describes the stepper controlling the front # right tower (at 330 degrees). [stepper_b] step_pin: PA12 dir_pin: !PA13 enable_pin: PB26 rotation_distance: 5 microsteps: 16 endstop_pin: PC4 #position_endstop: 562 #angle: 330 # The stepper_c section describes the stepper controlling the rear # tower (at 90 degrees). [stepper_c] step_pin: PB25 dir_pin: !PC28 enable_pin: PD5 rotation_distance: 5 microsteps: 16 endstop_pin: PC6 #position_endstop: 562 #angle: 90 [extruder] step_pin: PC12 dir_pin: !PB14 enable_pin: PC14 rotation_distance: 4.848 microsteps: 16 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PB27 sensor_type: ATC Semitec 104GT-2 sensor_pin: PA16 control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 min_temp: 0 max_temp: 250 [heater_bed] heater_pin: PC23 sensor_type: NTC 100K MGB18-104F39050L32 sensor_pin: PA6 control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 min_temp: 0 max_temp: 130 [fan] pin: PC21 [mcu] serial: /dev/serial/by-id/usb-Arduino__www.arduino.org__Arduino_Due_Prog._Port_855313033313516171A0-if00 baud: 250000 pin_map: arduino [printer] kinematics: delta # This option must be "delta" for linear delta printers. max_velocity: 1000 # Maximum velocity (in mm/s) of the toolhead relative to the # print. This parameter must be specified. max_accel: 2000 # Maximum acceleration (in mm/s^2) of the toolhead relative to the # print. This parameter must be specified. max_z_velocity: 500 #150 # For delta printers this limits the maximum velocity (in mm/s) of # moves with z axis movement. This setting can be used to reduce the # maximum speed of up/down moves (which require a higher step rate # than other moves on a delta printer). The default is to use # max_velocity for max_z_velocity. minimum_z_position: -5.0 # The minimum Z position that the user may command the head to move # to. The default is 0. #delta_radius: 224.5 # Radius (in mm) of the horizontal circle formed by the three linear # axis towers. This parameter may also be calculated as: # delta_radius = smooth_rod_offset - effector_offset - carriage_offset # This parameter must be provided. # The delta_calibrate section enables a DELTA_CALIBRATE extended # g-code command that can calibrate the tower endstop positions and # angles. [delta_calibrate] radius: 180 # Radius (in mm) of the area that may be probed. This is typically # the size of the printer bed. This parameter must be provided. speed: 100 # The speed (in mm/s) of non-probing moves during the # calibration. The default is 50. horizontal_move_z: 5 # The height (in mm) that the head should be commanded to move to # just prior to starting a probe operation. The default is 5. #manual_probe: # If true, then DELTA_CALIBRATE will perform manual probing. If # false, then a PROBE command will be run at each probe # point. Manual probing is accomplished by manually jogging the Z # position of the print head at each probe point and then issuing a # NEXT extended g-code command to record the position at that # point. The default is false if a [probe] config section is present # and true otherwise. # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays #[display] #lcd_type: st7920 #cs_pin: ar42 #sclk_pin: ar44 #sid_pin: ar43 #encoder_pins: ^!ar50, ^!ar52 #click_pin: ^!ar48 #click_button_pin: ar48 #encoder_resolution: 1 #root: main1 # Z height probe. One may define this section to enable Z height # probing hardware. When this section is enabled, PROBE and # QUERY_PROBE extended g-code commands become available. The probe # section also creates a virtual probe:z_virtual_endstop pin. One may # set the stepper_z endstop_pin to this virtual pin on cartesian style # printers that use the probe in place of a z endstop. #[probe] #pin: ^!ar32 # Probe detection pin. This parameter must be provided. #z_offset: -0.45 # The distance (in mm) between the bed and the nozzle when the probe # triggers. This parameter must be provided. #speed: 50.0 # Speed (in mm/s) of the Z axis when probing. The default is 5mm/s. #activate_gcode: # A list of G-Code commands (one per line) to execute prior to each # probe attempt. This may be useful if the probe needs to be # activated in some way. The default is to not run any special # G-Code commands on activation. #deactivate_gcode: # A list of G-Code commands (one per line) to execute after each # probe attempt completes. The default is to not run any special # G-Code commands on deactivation. # Heater and temperature sensor verification. Heater verification is # automatically enabled for each heater that is configured on the # printer. Use verify_heater sections to change the default settings. [verify_heater extruder] heating_gain: 1 # The minimum temperature (in Celsius) that the heater must increase # by when approaching a new target temperature. The default is 2. check_gain_time: 30 # The amount of time (in seconds) that the heating_gain must be met # in before an error is raised. The default is 20 seconds for # extruders and 60 seconds for heater_bed. hysteresis: 5 # The difference between the target temperature and the current # temperature for the heater to be considered within range of the # target temperature. The default is 5. max_error: 150 # The maximum temperature difference a heater that falls outside the # target temperature range may accumulate before an error is # raised. For example, if the target temperature is 200, the # hysteresis is 5, the max_error is 120, and the temperature is # reported at 185 degrees for 12 seconds then an error would be # raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The # default is 120. # A virtual sdcard may be useful if the host machine is not fast # enough to run OctoPrint well. It allows the Klipper host software to # directly print gcode files stored in a directory on the host using # standard sdcard G-Code commands (eg, M24). #[virtual_sdcard] #path: ~/.octoprint/uploads/ # The path of the local directory on the host machine to look for # g-code files. This is a read-only directory (sdcard file writes # are not supported). One may point this to OctoPrint's upload # directory (generally ~/.octoprint/uploads/ ). This parameter must # be provided. # Panel buttons #[buttons] #pins = ^!ar50, ^!ar52, ^!ar48 # Menu manager #[menu] #root: main1 #rows: 4 ##cols: 20 #cols: 16 [virtual_sdcard] path: ~/gcode_files [display_status] [pause_resume] [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 %} [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 CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [printer] #*# delta_radius = 223.922611 #*# #*# [stepper_a] #*# angle = 210.259776 #*# arm_length = 455.000000 #*# position_endstop = 561.563101 #*# #*# [stepper_b] #*# angle = 330.077993 #*# arm_length = 455.000000 #*# position_endstop = 561.985720 #*# #*# [stepper_c] #*# angle = 90.000000 #*# arm_length = 455.000000 #*# position_endstop = 561.621509 #*# #*# [delta_calibrate] #*# height0 = 0.0 #*# height0_pos = 359488.000,359488.000,359488.000 #*# height1 = 0.0 #*# height1_pos = 421913.000,421913.000,323657.000 #*# height2 = 0.0 #*# height2_pos = 351621.000,459308.000,351621.000 #*# height3 = 0.0 #*# height3_pos = 325191.000,411537.000,411537.000 #*# height4 = 0.0 #*# height4_pos = 349772.000,349772.000,427219.000 #*# height5 = 0.0 #*# height5_pos = 402486.000,327391.000,402486.000 #*# height6 = 0.0 #*# height6_pos = 442153.000,350474.000,350474.000