Advertisement
mentaluproar

Section 'tmc2130 stepper_a' is not a valid config section

May 21st, 2018
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. # This file serves as documentation for config parameters of delta
  2. # style printers. One may copy and edit this file to configure a new
  3. # delta printer. Only parameters unique to delta 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. # Z height probe. One may define this section to enable Z height
  11. # probing hardware. When this section is enabled, PROBE and
  12. # QUERY_PROBE extended g-code commands become available. The probe
  13. # section also creates a virtual probe:z_virtual_endstop pin. One may
  14. # set the stepper_z endstop_pin to this virtual pin on cartesian style
  15. # printers that use the probe in place of a z endstop.
  16. #[probe]
  17. #pin: ar18
  18. # Probe detection pin. This parameter must be provided.
  19. #speed: 10.0
  20. # Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.
  21. #z_position: 0
  22. # The Z position to command the head to move to during a PROBE
  23. # command. The default is 0.
  24.  
  25. # The stepper_a section describes the stepper controlling the front
  26. # left tower (at 210 degrees). This section also controls the homing
  27. # parameters (homing_speed, homing_retract_dist) for all towers.
  28. [stepper_a]
  29. step_pin: ar54
  30. dir_pin: !ar55
  31. enable_pin: !ar38
  32. step_distance: .0125
  33. endstop_pin: ^ar2
  34. homing_speed: 100
  35. position_endstop: 293.096845
  36. angle: 209.894175
  37. # Distance (in mm) between the nozzle and the bed when the nozzle is
  38. # in the center of the build area and the endstop triggers. This
  39. # parameter must be provided for stepper_a; for stepper_b and
  40. # stepper_c this parameter defaults to the value specified for
  41. # stepper_a.
  42. arm_length: 266.7
  43. # Length (in mm) of the diagonal rod that connects this tower to the
  44. # print head. This parameter must be provided for stepper_a; for
  45. # stepper_b and stepper_c this parameter defaults to the value
  46. # specified for stepper_a.
  47.  
  48. # The stepper_b section describes the stepper controlling the front
  49. # right tower (at 330 degrees).
  50.  
  51. [tmc2130 stepper_a]
  52. cs_pin: ar4
  53. # The pin corresponding to the TMC2130 chip select line. This pin
  54. # will be set to low at the start of SPI messages and raised to high
  55. # after the message completes. This parameter must be provided.
  56. microsteps: 16
  57. # The number of microsteps to configure the driver to use. Valid
  58. # values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must
  59. # be provided.
  60. interpolate: True
  61. # If true, enable TMC2130 step interpolation (the driver will
  62. # interally step at a rate of 256 micro-steps). The default is True.
  63. run_current: 0.8
  64. # The amount of current (in amps) to configure the driver to use
  65. # during stepper movement. This parameter must be provided.
  66. #hold_current:
  67. # The amount of current (in amps) to configure the driver to use
  68. # when the stepper is not moving. The default is to use the same
  69. # value as run_current.
  70. sense_resistor: 0.110
  71. # The resistance (in ohms) of the motor sense resistor. The default
  72. # is 0.110 ohms.
  73. stealthchop: true
  74. # Enable "stealthChop" mode. The default is False.
  75. #driver_IHOLDDELAY: 8
  76. #driver_TPOWERDOWN: 0
  77. #driver_BLANK_TIME_SELECT: 1
  78. #driver_TOFF: 1
  79. #driver_HEND: 7
  80. #driver_HSTRT: 0
  81. # Set the given register during the configuration of the TMC2130
  82. # chip. This may be used to set custom motor parameters. The
  83. # defaults for each parameter are next to the parameter name in the
  84. # above list.
  85.  
  86. [stepper_b]
  87. step_pin: ar60
  88. dir_pin: !ar61
  89. enable_pin: !ar56
  90. step_distance: .0125
  91. endstop_pin: ^ar15
  92. position_endstop: 295.092488
  93. angle: 330.070696
  94.  
  95. [tmc2130 stepper_b]
  96. cs_pin: ar5
  97. microsteps: 16
  98. interpolate: True
  99. run_current: 0.8
  100. sense_resistor: 0.110
  101. stealthchop: true
  102.  
  103.  
  104. # The stepper_c section describes the stepper controlling the rear
  105. # tower (at 90 degrees).
  106. [stepper_c]
  107. step_pin: ar46
  108. dir_pin: !ar48
  109. enable_pin: !ar62
  110. step_distance: .0125
  111. endstop_pin: ^ar19
  112. position_endstop: 294.01332
  113. angle: 90.000000
  114.  
  115. [tmc2130 stepper_c]
  116. cs_pin: ar6
  117. microsteps: 16
  118. interpolate: True
  119. run_current: 0.8
  120. sense_resistor: 0.110
  121. stealthchop: true
  122.  
  123. [extruder]
  124. step_pin: ar26
  125. dir_pin: ar28
  126. enable_pin: !ar24
  127. step_distance: 0.000323
  128. nozzle_diameter: 0.400
  129. filament_diameter: 1.750
  130. heater_pin: ar10
  131. sensor_type: ATC Semitec 104GT-2
  132. sensor_pin: analog13
  133. control: pid
  134. pid_Kp: 20.043
  135. pid_Ki: 1.095
  136. pid_Kd: 91.696
  137. min_temp: 0
  138. max_temp: 250
  139. # pressure_advance: 0.1
  140. # pressure_advance_lookahead_time: 0.010
  141. # do not use pressure advance until you read about it and tune for it
  142. # this is for 100mm/s or higher printer settings.
  143.  
  144. [tmc2130 extruder]
  145. cs_pin: ar11
  146. microsteps: 16
  147. interpolate: True
  148. run_current: 0.8
  149. sense_resistor: 0.110
  150. stealthchop: false
  151.  
  152.  
  153. [heater_fan extruder_fan]
  154. pin: ar44
  155.  
  156. [heater_bed]
  157. heater_pin: ar8
  158. sensor_type: EPCOS 100K B57560G104F
  159. sensor_pin: analog14
  160. control: pid
  161. # to add pid setting replace watermark term with PID and input settings below
  162. # check extruder setup for example
  163. pid_Kp: 68.394
  164. pid_Ki: 1.232
  165. pid_Kd: 948.961
  166.  
  167. min_temp: 0
  168. max_temp: 130
  169.  
  170. # Print cooling fan (omit section if fan not present).
  171. [fan]
  172. pin: ar9
  173.  
  174. # MCU fan
  175. [heater_fan mcu_fan]
  176. pin: ar7
  177. fan_speed: 1.0
  178. hardware_pwm: true
  179. heater_temp: 120
  180. heater: extruder
  181.  
  182. [mcu]
  183. # serial may need to be changed depending on initial setup
  184. serial: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
  185. pin_map: arduino
  186.  
  187. # Reprap "2004" display
  188. [display]
  189. lcd_type: hd44780
  190. rs_pin: ar16
  191. e_pin: ar17
  192. d4_pin: ar23
  193. d5_pin: ar25
  194. d6_pin: ar27
  195. d7_pin: ar29
  196.  
  197. [printer]
  198. kinematics: delta
  199. # This option must be "delta" for linear delta printers.
  200. max_velocity: 300
  201. # Maximum velocity (in mm/s) of the toolhead relative to the
  202. # print. This parameter must be specified.
  203. max_accel: 3000
  204. # Maximum acceleration (in mm/s^2) of the toolhead relative to the
  205. # print. This parameter must be specified.
  206. max_z_velocity: 200
  207. # For delta printers this limits the maximum velocity (in mm/s) of
  208. # moves with z axis movement. This setting can be used to reduce the
  209. # maximum speed of up/down moves (which require a higher step rate than
  210. # other moves on a delta printer). The default is to use max_velocity for
  211. # max_z_velocity.
  212. minimum_z_position: 0.0
  213. # The minimum Z position that the user may command the head to move
  214. # to. The default is 0.
  215. delta_radius: 132.241928
  216. # Radius (in mm) of the horizontal circle formed by the three linear
  217. # axis towers. This parameter may also be calculated as:
  218. # delta_radius = smooth_rod_offset - effector_offset - carriage_offset
  219. # This parameter must be provided.
  220.  
  221. # The delta_calibrate section enables a DELTA_CALIBRATE extended
  222. # g-code command that can calibrate the tower endstop positions and
  223. # angles.
  224.  
  225. [probe]
  226. pin: ^ar18
  227. # Probe detection pin. This parameter must be provided.
  228. z_offset: 19
  229. speed: 5.0
  230.  
  231. [delta_calibrate]
  232. radius: 115
  233. # Radius (in mm) of the area that may be probed. This is typically
  234. # the size of the printer bed. This parameter must be provided.
  235. speed: 50
  236.  
  237. # The speed (in mm/s) of non-probing moves during the
  238. # calibration. The default is 50.
  239. horizontal_move_z: 25
  240. # The height (in mm) that the head should be commanded to move to
  241. # just prior to starting a probe operation. The default is 5.
  242.  
  243. manual_probe: false
  244. # If true, then DELTA_CALIBRATE will perform manual probing. If
  245. # false, then a PROBE command will be run at each probe
  246. # point. Manual probing is accomplished by manually jogging the Z
  247. # position of the print head at each probe point and then issuing a
  248. # NEXT extended g-code command to record the position at that
  249. # point. The default is false if a [probe] config section is present
  250. # and true otherwise.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement