chainsol

Railcore Klipper Config

Aug 9th, 2018
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. # This file serves as documentation for config parameters of corexy
  2. # style printers. One may copy and edit this file to configure a new
  3. # corexy printer. Only parameters unique to corexy printers are
  4. # described here - see the "example.cfg" file for description of
  5. # common config parameters.
  6.  
  7. # DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
  8. # FIRST. Incorrectly configured parameters may cause damage.
  9.  
  10. # The stepper_x section is used to describe the X axis as well as the
  11. # stepper controlling the X+Y movement.
  12. [stepper_x]
  13. step_pin: ar54
  14. dir_pin: !ar55
  15. enable_pin: !ar38
  16. step_distance: 0.004962
  17. endstop_pin: ^!ar3
  18. position_endstop: -2.00
  19. position_min: -2.00
  20. position_max: 294
  21. homing_speed: 90
  22.  
  23. [tmc2130 stepper_x]
  24. cs_pin: ar53
  25. microsteps: 16
  26. interpolate: True
  27. run_current: .900
  28. stealthchop_threshold: 0
  29. #diag1_pin:
  30.  
  31. [stepper_y]
  32. step_pin: ar60
  33. dir_pin: ar61
  34. enable_pin: !ar56
  35. step_distance: 0.004962
  36. endstop_pin: ^!ar14
  37. position_endstop: 0
  38. position_max: 300
  39. homing_speed: 90
  40.  
  41. [tmc2130 stepper_y]
  42. cs_pin: ar49
  43. microsteps: 16
  44. interpolate: True
  45. run_current: .900
  46. stealthchop_threshold: 0
  47. #diag1_pin:
  48.  
  49. [stepper_z]
  50. # Y pins
  51. step_pin: z:ar60
  52. dir_pin: !z:ar61
  53. enable_pin: !z:ar56
  54. step_distance: 0.002500
  55. endstop_pin: probe:z_virtual_endstop
  56. position_endstop: 1.300
  57. position_max: 300
  58. position_min: -0.35
  59. homing_speed: 10
  60.  
  61. [tmc2130 stepper_z]
  62. cs_pin: z:ar53
  63. microsteps: 2
  64. interpolate: True
  65. run_current: .650
  66. stealthchop_threshold: 0
  67. #diag1_pin:
  68.  
  69. [stepper_z1]
  70. # X pins
  71. step_pin: z:ar54
  72. dir_pin: !z:ar55
  73. enable_pin: !z:ar38
  74. step_distance: 0.002500
  75.  
  76. [tmc2130 stepper_z1]
  77. cs_pin: z:ar49
  78. microsteps: 2
  79. interpolate: True
  80. run_current: .650
  81. stealthchop_threshold: 0
  82. #diag1_pin:
  83.  
  84. [stepper_z2]
  85. # Z pins
  86. step_pin: z:ar46
  87. dir_pin: !z:ar48
  88. enable_pin: !z:ar62
  89. step_distance: 0.002500
  90.  
  91. [tmc2130 stepper_z2]
  92. cs_pin: z:ar42
  93. microsteps: 2
  94. interpolate: True
  95. run_current: .650
  96. stealthchop_threshold: 0
  97. #diag1_pin:
  98.  
  99. [extruder]
  100. step_pin: ar46
  101. dir_pin: !ar48
  102. enable_pin: !ar62
  103. step_distance: 0.001194
  104. nozzle_diameter: 0.400
  105. pressure_advance: 0.05
  106. filament_diameter: 1.750
  107. heater_pin: ar10
  108. sensor_type: ATC Semitec 104GT-2
  109. sensor_pin: analog13
  110. control: pid
  111. pid_Kp=16.459
  112. pid_Ki=1.291
  113. pid_Kd=52.465
  114. min_temp: 0
  115. max_temp: 300
  116.  
  117. [tmc2130 extruder]
  118. cs_pin: ar42
  119. microsteps: 16
  120. interpolate: True
  121. run_current: .650
  122. stealthchop_threshold: 0
  123. #diag1_pin:
  124.  
  125. [heater_bed]
  126. heater_pin: ar8
  127. sensor_type: EPCOS 100K B57560G104F
  128. #sensor_type: NTC 100K beta 3950
  129. sensor_pin: analog14
  130. control: pid
  131. pid_Kp=47.076
  132. pid_Ki=0.659
  133. pid_Kd=840.308
  134. min_temp: 0
  135. max_temp: 130
  136.  
  137. [servo bltouch]
  138. pin: z:ar11
  139. maximum_servo_angle: 180
  140. minimum_pulse_width: 0.0006
  141. maximum_pulse_width: 0.0024
  142.  
  143. [probe]
  144. pin: z:ar19
  145. z_offset: 1.300
  146. activate_gcode:
  147. SET_SERVO SERVO=bltouch ANGLE=160
  148. SET_SERVO SERVO=bltouch ANGLE=90
  149. G4 P200
  150. SET_SERVO SERVO=bltouch ANGLE=10
  151. SET_SERVO SERVO=bltouch ANGLE=60
  152. G4 P200
  153. deactivate_gcode:
  154. SET_SERVO SERVO=bltouch ANGLE=90
  155.  
  156. # If the BLTouch is used to home the Z axis, then define a
  157. # homing_override section, use probe:z_virtual_endstop as the
  158. # endstop_pin in the stepper_z section, and set the endstop_position
  159. # in the stepper_z section to match the probe's z_offset.
  160. [homing_override]
  161. axes: z
  162. set_position_z: 5
  163. gcode:
  164. G90
  165. G1 Z7 F600
  166. G28 X0 Y0
  167. G1 X150 Y150 F9000
  168. SET_SERVO SERVO=bltouch ANGLE=160
  169. SET_SERVO SERVO=bltouch ANGLE=90
  170. G28 Z0
  171. G1 Z5 F600
  172. G28 X0 Y0
  173.  
  174. [z_tilt]
  175. speed: 150
  176. z_positions:
  177. -46.17,0
  178. -46.17,235
  179. 352.43,103
  180.  
  181. points:
  182. 275,250
  183. 275,108
  184. 275,0
  185. 150,0
  186. 150,108
  187. 150,250
  188. 20,250
  189. 20,108
  190. 20,0
  191.  
  192.  
  193. [fan]
  194. pin: ar9
  195.  
  196. [mcu z]
  197. serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0
  198. pin_map: arduino
  199.  
  200. [mcu]
  201. serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
  202. pin_map: arduino
  203.  
  204. [virtual_sdcard]
  205. path: ~/.octoprint/uploads/
  206.  
  207. [printer]
  208. kinematics: corexy
  209. max_velocity: 500
  210. max_accel: 3000
  211. #junction_deviation: 0.005
  212. max_z_velocity: 15
  213. max_z_accel: 20
Advertisement
Add Comment
Please, Sign In to add comment