Advertisement
Guest User

voxelab aries WIP printer.cfg

a guest
Jun 29th, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. [stepper_x]
  2. step_pin: PB8
  3. dir_pin: PB7
  4. enable_pin: !PC13
  5. microsteps: 16
  6. rotation_distance: 34
  7. endstop_pin: !PC15
  8. position_endstop: 205.5
  9. position_max: 205.5
  10. homing_speed: 100
  11. second_homing_speed: 5
  12.  
  13. [stepper_y]
  14. step_pin: PB6
  15. dir_pin: PB5
  16. enable_pin: !PC13
  17. microsteps: 16
  18. rotation_distance: 34
  19. endstop_pin: !PA6
  20. position_max: 205.5
  21. position_endstop: 205.5
  22. homing_speed: 100
  23. second_homing_speed: 5
  24.  
  25. [stepper_z]
  26. step_pin: PB4
  27. dir_pin: PB3
  28. enable_pin: !PC13
  29. microsteps: 16
  30. rotation_distance: 8
  31. endstop_pin: !PA7
  32. position_endstop: 216.3
  33. position_max: 216.5
  34. homing_speed: 25
  35. second_homing_speed: 5
  36.  
  37. [extruder]
  38. step_pin: PC14
  39. dir_pin: PB9
  40. enable_pin: !PC13
  41. microsteps: 16
  42. rotation_distance: 32.5
  43. nozzle_diameter: 0.400
  44. filament_diameter: 1.75
  45. heater_pin: PA1
  46. sensor_type: EPCOS 100K B57560G104F
  47. sensor_pin: PA4
  48. control: pid
  49. pid_Kp: 29.460
  50. pid_Ki: 2.067
  51. pid_Kd: 104.952
  52. min_temp: 0
  53. max_temp: 250
  54. min_extrude_temp: 150
  55.  
  56. [heater_bed]
  57. heater_pin: PA2
  58. sensor_type: EPCOS 100K B57560G104F
  59. sensor_pin: PA5
  60. control: pid
  61. pid_Kp: 57.069
  62. pid_Ki: 1.469
  63. pid_Kd: 554.286
  64. min_temp: 0
  65. max_temp: 110
  66.  
  67. [fan]
  68. pin: PC2
  69.  
  70. [heater_fan heatbreak_cooling_fan]
  71. pin: PC3
  72. heater: extruder
  73. fan_speed: 0.75
  74.  
  75. [led extruder_led]
  76. white_pin: PC1
  77.  
  78. [filament_switch_sensor runout_sensor]
  79. pause_on_runout: True
  80. debounce_delay: 1
  81. switch_pin: PC0
  82.  
  83. [controller_fan mcu_fan1]
  84. # unused fan FAN1 pin is PA0
  85. pin: PA3
  86. max_power: 1
  87. stepper: stepper_x, stepper_y, stepper_z
  88. heater: heater_bed, extruder
  89.  
  90. [mcu]
  91. serial: /dev/ttyUSB0
  92. restart_method: command
  93.  
  94. [printer]
  95. kinematics: cartesian
  96. max_velocity: 1000
  97. max_accel: 7000
  98. max_z_velocity: 30
  99. max_z_accel: 100
  100.  
  101. [force_move]
  102. enable_force_move: true
  103.  
  104. [virtual_sdcard]
  105. path: ~/printer_data/gcodes
  106.  
  107. [display_status]
  108.  
  109. [gcode_macro CANCEL_PRINT]
  110. description: Cancel the actual running print
  111. rename_existing: CANCEL_PRINT_BASE
  112. gcode:
  113. TURN_OFF_HEATERS
  114. CANCEL_PRINT_BASE
  115.  
  116. [pause_resume]
  117.  
  118. [gcode_macro PAUSE]
  119. description: Pause the actual running print
  120. rename_existing: PAUSE_BASE
  121. # change this if you need more or less extrusion
  122. variable_extrude: 1.0
  123. gcode:
  124. ##### read E from pause macro #####
  125. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  126. ##### set park positon for x and y #####
  127. # default is your max posion from your printer.cfg
  128. {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
  129. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  130. ##### calculate save lift position #####
  131. {% set max_z = printer.toolhead.axis_maximum.z|float %}
  132. {% set act_z = printer.toolhead.position.z|float %}
  133. {% if act_z < (max_z - 2.0) %}
  134. {% set z_safe = 2.0 %}
  135. {% else %}
  136. {% set z_safe = max_z - act_z %}
  137. {% endif %}
  138. ##### end of definitions #####
  139. PAUSE_BASE
  140. G91
  141. {% if printer.extruder.can_extrude|lower == 'true' %}
  142. G1 E-{E} F2100
  143. {% else %}
  144. {action_respond_info("Extruder not hot enough")}
  145. {% endif %}
  146. {% if "xyz" in printer.toolhead.homed_axes %}
  147. G1 Z{z_safe} F900
  148. G90
  149. G1 X{x_park} Y{y_park} F6000
  150. {% else %}
  151. {action_respond_info("Printer not homed")}
  152. {% endif %}
  153.  
  154. [gcode_macro RESUME]
  155. description: Resume the actual running print
  156. rename_existing: RESUME_BASE
  157. gcode:
  158. ##### read E from pause macro #####
  159. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  160. #### get VELOCITY parameter if specified ####
  161. {% if 'VELOCITY' in params|upper %}
  162. {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
  163. {%else %}
  164. {% set get_params = "" %}
  165. {% endif %}
  166. ##### end of definitions #####
  167. {% if printer.extruder.can_extrude|lower == 'true' %}
  168. G91
  169. G1 E{E} F2100
  170. {% else %}
  171. {action_respond_info("Extruder not hot enough")}
  172. {% endif %}
  173. RESUME_BASE {get_params}
  174.  
  175. [gcode_macro CANCEL_PRINT]
  176. description: Cancel the actual running print
  177. rename_existing: CANCEL_PRINT_BASE
  178. gcode:
  179. TURN_OFF_HEATERS
  180. CANCEL_PRINT_BASE
  181.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement