Advertisement
robathome

David merchant config - 9 Nov 2019

Nov 9th, 2019
1,104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.32 KB | None | 0 0
  1. # This file contains common pin mappings for the BigTreeTech SKR PRO.
  2. # To use this config, the firmware should be compiled for the
  3. # STM32F407 with a "32KiB bootloader".
  4.  
  5. # The "make flash" command does not work on the SKR PRO. Instead,
  6. # after running "make", copy the generated "out/klipper.bin" file to a
  7. # file named "firmware.bin" on an SD card and then restart the SKR PRO
  8. # with that SD card.
  9.  
  10. # See the example.cfg file for a description of available parameters.
  11.  
  12. [stepper_x]
  13. step_pin: PE9
  14. dir_pin: PF1
  15. enable_pin: !PF2
  16. step_distance: .0025
  17. endstop_pin: PB10
  18. position_endstop: 0
  19. position_max: 500
  20. homing_speed: 50
  21.  
  22. [stepper_y]
  23. step_pin: PE11
  24. dir_pin: PE8
  25. enable_pin: !PD7
  26. step_distance: .0025
  27. endstop_pin: PE12
  28. position_endstop: 0
  29. position_max: 500
  30. homing_speed: 50
  31.  
  32. [stepper_z]
  33. step_pin: PE13
  34. dir_pin: PC2
  35. enable_pin: !PC0
  36. step_distance: .0125
  37. #endstop_pin: PG8
  38. endstop_pin: probe:z_virtual_endstop
  39. position_endstop: 0.5
  40. position_max: 500
  41.  
  42. [stepper_z1]
  43. step_pin: PD15
  44. dir_pin: PE7
  45. enable_pin: !PA3
  46. step_distance: .0125
  47. #endstop_pin: PG8
  48. #position_endstop: 0.5
  49. #position_max: 500
  50.  
  51. [extruder]
  52. step_pin: PE14
  53. dir_pin: PA0
  54. enable_pin: !PC3
  55. step_distance: .002
  56. nozzle_diameter: 0.400
  57. filament_diameter: 1.750
  58. heater_pin: PB1 # Heat0
  59. sensor_pin: PF3 # T0 Header
  60. sensor_type: EPCOS 100K B57560G104F
  61. control: pid
  62. pid_Kp: 22.2
  63. pid_Ki: 1.08
  64. pid_Kd: 114
  65. min_temp: 0
  66. max_temp: 250
  67.  
  68. #pressure_advance: 0.7
  69. # The amount of raw filament to push into the extruder during
  70. # extruder acceleration. An equal amount of filament is retracted
  71. # during deceleration. It is measured in millimeters per
  72. # millimeter/second. The default is 0, which disables pressure
  73. # advance.
  74. #pressure_advance_lookahead_time: 0.010
  75. # A time (in seconds) to "look ahead" at future extrusion moves when
  76. # calculating pressure advance. This is used to reduce the
  77. # application of pressure advance during cornering moves that would
  78. # otherwise cause retraction followed immediately by pressure
  79. # buildup. This setting only applies if pressure_advance is
  80. # non-zero. The default is 0.010 (10 milliseconds).
  81.  
  82. #[extruder2]
  83. #step_pin: PD13
  84. #dir_pin: PG9
  85. #enable_pin: !PF0
  86. #heater_pin: PB0 # Heat2
  87. #sensor_pin: PF5 # T2
  88. #...
  89.  
  90. [heater_bed]
  91. heater_pin: PC9
  92. #heater_pin: PD12
  93. sensor_pin: PF6 # T3
  94. sensor_type: NTC 100K beta 3950
  95. #pid_Kp: 57.027
  96. #pid_Ki: 0.778
  97. #pid_Kd: 948.182
  98. min_temp: 0
  99. max_temp: 60 # 130
  100.  
  101. [fan]
  102. pin: PC8
  103.  
  104. [heater_fan fan1]
  105. pin: PE5
  106.  
  107. #[heater_fan fan2]
  108. #pin: PE6
  109.  
  110. [mcu]
  111. #serial: /dev/serial/by-id/usb-STMicroelectronics_STM32F407ZG_CDC_in_FS_Mode_20863180324D-if00
  112. serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  113.  
  114. [printer]
  115. kinematics: cartesian
  116. max_velocity: 300
  117. max_accel: 3000
  118. max_z_velocity: 5
  119. max_z_accel: 100
  120.  
  121.  
  122. ########################################
  123. # TMC2209(8) configuration
  124. ########################################
  125.  
  126. [tmc2208 stepper_x]
  127. uart_pin: PC13
  128. #PC13 is the Rx pin and comms are bidirectional on this one pin
  129. #tx_pin: PE4 - but not used, for some reason
  130. microsteps: 16
  131. interpolate: True
  132. run_current: 0.800
  133. hold_current: 0.500
  134. sense_resistor: 0.110
  135. stealthchop_threshold: 250
  136. #UART address: could be 0-3 not needed as each chip has own pin
  137. #driver_IHOLDDELAY: 8
  138. #driver_TPOWERDOWN: 20
  139. #driver_TBL: 2
  140. #driver_TOFF: 3
  141. #driver_HEND: 0
  142. #driver_HSTRT: 5
  143. #driver_PWM_AUTOGRAD: True
  144. #driver_PWM_AUTOSCALE: True
  145. #driver_PWM_LIM: 12
  146. #driver_PWM_REG: 8
  147. #driver_PWM_FREQ: 1
  148. #driver_PWM_GRAD: 14
  149. #driver_PWM_OFS: 36
  150. #driver_PWM_SGTHRS: 0
  151. #diag_pin: ?? enables sensorless homing
  152.  
  153.  
  154. [tmc2208 stepper_y]
  155. uart_pin: PE3
  156. #tx_pin: PE2 <---- not used
  157. microsteps: 16
  158. interpolate: True
  159. run_current: 0.800
  160. hold_current: 0.500
  161. sense_resistor: 0.110
  162. stealthchop_threshold: 250
  163. #driver_IHOLDDELAY: 8
  164. #driver_TPOWERDOWN: 20
  165. #driver_TBL: 2
  166. #driver_TOFF: 3
  167. #driver_HEND: 0
  168. #driver_HSTRT: 5
  169. #driver_PWM_AUTOGRAD: True
  170. #driver_PWM_AUTOSCALE: True
  171. #driver_PWM_LIM: 12
  172. #driver_PWM_REG: 8
  173. #driver_PWM_FREQ: 1
  174. #driver_PWM_GRAD: 14
  175. #driver_PWM_OFS: 36
  176. #driver_PWM_SGTHRS: 0
  177. #diag_pin: ?? enables sensorless homing
  178.  
  179.  
  180. [tmc2208 stepper_z]
  181. uart_pin: PE1
  182. microsteps: 16
  183. interpolate: True
  184. run_current: 0.650
  185. hold_current: 0.450
  186. sense_resistor: 0.110
  187. stealthchop_threshold: 30
  188. #UART address: could be 0-3 not needed as each chip has own pin
  189. #driver_IHOLDDELAY: 8
  190. #driver_TPOWERDOWN: 20
  191. #driver_TBL: 2
  192. #driver_TOFF: 3
  193. #driver_HEND: 0
  194. #driver_HSTRT: 5
  195. #driver_PWM_AUTOGRAD: True
  196. #driver_PWM_AUTOSCALE: True
  197. #driver_PWM_LIM: 12
  198. #driver_PWM_REG: 8
  199. #driver_PWM_FREQ: 1
  200. #driver_PWM_GRAD: 14
  201. #driver_PWM_OFS: 36
  202. #driver_PWM_SGTHRS: 0
  203. #diag_pin: ?? NEED sensorless homing here!
  204.  
  205.  
  206. [tmc2208 stepper_z1]
  207. uart_pin: PD1
  208. microsteps: 16
  209. interpolate: True
  210. run_current: 0.650
  211. hold_current: 0.450
  212. sense_resistor: 0.110
  213. stealthchop_threshold: 30
  214. #UART address: could be 0-3 not needed as each chip has own pin
  215. #driver_IHOLDDELAY: 8
  216. #driver_TPOWERDOWN: 20
  217. #driver_TBL: 2
  218. #driver_TOFF: 3
  219. #driver_HEND: 0
  220. #driver_HSTRT: 5
  221. #driver_PWM_AUTOGRAD: True
  222. #driver_PWM_AUTOSCALE: True
  223. #driver_PWM_LIM: 12
  224. #driver_PWM_REG: 8
  225. #driver_PWM_FREQ: 1
  226. #driver_PWM_GRAD: 14
  227. #driver_PWM_OFS: 36
  228. #driver_PWM_SGTHRS: 0
  229. #diag_pin: ?? NEED sensorless homing here!
  230.  
  231.  
  232. [tmc2208 extruder]
  233. uart_pin: PD4
  234. microsteps: 16
  235. interpolate: True
  236. run_current: 0.800
  237. hold_current: 0.500
  238. sense_resistor: 0.110
  239. stealthchop_threshold: 5
  240.  
  241.  
  242. #[tmc2209 extruder1]
  243. #uart_pin: PD1
  244. #microsteps: 16
  245. #run_current: 0.800
  246. #hold_current: 0.500
  247. #stealthchop_threshold: 5
  248.  
  249. #[tmc2209 extruder2]
  250. #uart_pin: PD6
  251. #microsteps: 16
  252. #run_current: 0.800
  253. #hold_current: 0.500
  254. #stealthchop_threshold: 5
  255.  
  256.  
  257. ########################################
  258.  
  259. [board_pins]
  260. aliases:
  261. # EXP1 header
  262. EXP1_1=PG4, EXP1_3=PD11, EXP1_5=PG2, EXP1_7=PG6, EXP1_9=<GND>,
  263. EXP1_2=PA8, EXP1_4=PD10, EXP1_6=PG3, EXP1_8=PG7, EXP1_10=<5V>,
  264. # EXP2 header
  265. EXP2_1=PB14, EXP2_3=PG10, EXP2_5=PF11, EXP2_7=PF12, EXP2_9=<GND>,
  266. EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=PF13
  267. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi2"
  268.  
  269. # See the sample-lcd.cfg file for definitions of common LCD displays.
  270.  
  271.  
  272. # This file serves as documentation for config parameters of
  273. # additional devices that may be configured on a printer. The snippets
  274. # in this file may be copied into the main printer.cfg file. See the
  275. # "example.cfg" file for description of common config parameters.
  276. #
  277. # Note, where an extra config section creates additional pins, the
  278. # section defining the pins must be listed in the config file before
  279. # any sections using those pins.
  280.  
  281.  
  282. ######################################################################
  283. # Bed leveling support
  284. ######################################################################
  285.  
  286. # Mesh Bed Leveling. One may define a [bed_mesh] config section
  287. # to enable move transformations that offset the z axis based
  288. # on a mesh generated from probed points. Note that bed_mesh
  289. # and bed_tilt are incompatible, both cannot be defined. When
  290. # using a probe to home the z-axis, it is recommended to define
  291. # a [homing_override] section in printer.cfg to home toward the
  292. # center of the print area.
  293. #
  294. # Visual Examples:
  295. # rectangular bed, probe_count = 3,3:
  296. # x---x---x (max_point)
  297. # |
  298. # x---x---x
  299. # |
  300. # (min_point) x---x---x
  301. #
  302. # round bed, round_probe_count = 5, bed_radius = r:
  303. # x (0,r) end
  304. # /
  305. # x---x---x
  306. # \
  307. # (-r,0) x---x---x---x---x (r,0)
  308. # \
  309. # x---x---x
  310. # /
  311. # x (0,-r) start
  312. #
  313. [bed_mesh]
  314. speed: 200
  315. # The speed (in mm/s) of non-probing moves during the
  316. # calibration. The default is 50.
  317. #horizontal_move_z: 5
  318. # The height (in mm) that the head should be commanded to move to
  319. # just prior to starting a probe operation. The default is 5.
  320. #bed_radius:
  321. # Defines the radius to probe for round beds. Note that the radius
  322. # is relative to the nozzle's origin, if using a probe be sure to
  323. # account for its offset. This parameter must be provided for round
  324. # beds and omitted for rectangular beds.
  325. min_point: 50,30
  326. # Defines the minimum x,y position to probe when for rectangular
  327. # beds. Note that this refers to the nozzle position, take care that
  328. # you do not define a point that will move the probe off of the bed.
  329. # This parameter must be provided for rectangular beds.
  330. max_point: 450,450
  331. # Defines the maximum x,y position to probe when for rectangular
  332. # beds. Follow the same precautions as listed in min_point. Also note
  333. # that this does not necessarily define the last point probed, only
  334. # the maximum coordinate. This parameter must be provided.
  335. probe_count: 9,9
  336. # For rectangular beds, this is a comma separate pair of integer
  337. # values (X,Y) defining the number of points to probe along each axis.
  338. # A single value is also valid, in which case that value will be applied
  339. # to both axes. Default is 3,3.
  340. #round_probe_count: 5
  341. # For round beds, this is integer value defines the maximum number of
  342. # points to probe along each axis. This value must be an odd number.
  343. # Default is 5.
  344. fade_start: 1.0
  345. # The gcode z position in which to start phasing out z-adjustment
  346. # when fade is enabled. Default is 1.0.
  347. fade_end: 10.0
  348. # The gcode z position in which phasing out completes. When set
  349. # to a value below fade_start, fade is disabled. It should be
  350. # noted that fade may add unwanted scaling along the z-axis of a
  351. # print. If a user wishes to enable fade, a value of 10.0 is
  352. # recommended. Default is 0.0, which disables fade.
  353. #fade_target:
  354. # The z position in which fade should converge. When this value is set
  355. # to a non-zero value it must be within the range of z-values in the mesh.
  356. # Users that wish to converge to the z homing position should set this to 0.
  357. # Default is the average z value of the mesh.
  358. split_delta_z: .025
  359. # The amount of Z difference (in mm) along a move that will
  360. # trigger a split. Default is .025.
  361. move_check_distance: 5.0
  362. # The distance (in mm) along a move to check for split_delta_z.
  363. # This is also the minimum length that a move can be split. Default
  364. # is 5.0.
  365. mesh_pps: 2,2
  366. # A comma separated pair of integers (X,Y) defining the number of
  367. # points per segment to interpolate in the mesh along each axis. A
  368. # "segment" can be defined as the space between each probed
  369. # point. The user may enter a single value which will be applied
  370. # to both axes. Default is 2,2.
  371. algorithm: lagrange
  372. # The interpolation algorithm to use. May be either "lagrange"
  373. # or "bicubic". This option will not affect 3x3 grids, which
  374. # are forced to use lagrange sampling. Default is lagrange.
  375. #bicubic_tension: .2
  376. # When using the bicubic algorithm the tension parameter above
  377. # may be applied to change the amount of slope interpolated.
  378. # Larger numbers will increase the amount of slope, which
  379. # results in more curvature in the mesh. Default is .2.
  380. #relative_reference_index:
  381. # A point index in the mesh to reference all z values to. Enabling
  382. # this parameter produces a mesh relative to the probed z position
  383. # at the provided index.
  384.  
  385. # Bed tilt compensation. One may define a [bed_tilt] config section to
  386. # enable move transformations that account for a tilted bed.
  387. #[bed_tilt]
  388. #x_adjust: 0
  389. # The amount to add to each move's Z height for each mm on the X
  390. # axis. The default is 0.
  391. #y_adjust: 0
  392. # The amount to add to each move's Z height for each mm on the Y
  393. # axis. The default is 0.
  394. #z_adjust: 0
  395. # The amount to add to the Z height when the nozzle is nominally at
  396. # 0,0. The default is 0.
  397. # The remaining parameters control a BED_TILT_CALIBRATE extended
  398. # g-code command that may be used to calibrate appropriate x and y
  399. # adjustment parameters.
  400. #points:
  401. # A list of X,Y coordinates (one per line; subsequent lines
  402. # indented) that should be probed during a BED_TILT_CALIBRATE
  403. # command. Specify coordinates of the nozzle and be sure the probe
  404. # is above the bed at the given nozzle coordinates. The default is
  405. # to not enable the command.
  406. #speed: 50
  407. # The speed (in mm/s) of non-probing moves during the calibration.
  408. # The default is 50.
  409. #horizontal_move_z: 5
  410. # The height (in mm) that the head should be commanded to move to
  411. # just prior to starting a probe operation. The default is 5.
  412.  
  413. # Tool to help adjust bed leveling screws. One may define a
  414. # [bed_screws] config section to enable a BED_SCREWS_ADJUST g-code
  415. # command.
  416. #[bed_screws]
  417. #screw1: 100,100
  418. # The X,Y coordinate of the first bed leveling screw. This is a
  419. # position to command the nozzle to that is directly above the bed
  420. # screw (or as close as possible while still being above the bed).
  421. # This parameter must be provided.
  422. #screw1_name: front screw
  423. # An arbitrary name for the given screw. This name is displayed when
  424. # the helper script runs. The default is to use a name based upon
  425. # the screw XY location.
  426. #screw1_fine_adjust:
  427. # An X,Y coordinate to command the nozzle to so that one can fine
  428. # tune the bed leveling screw. The default is to not perform fine
  429. # adjustments on the bed screw.
  430. #screw2:
  431. #screw2_name:
  432. #screw2_fine_adjust:
  433. #...
  434. # Additional bed leveling screws. At least three screws must be
  435. # defined.
  436. #horizontal_move_z: 5
  437. # The height (in mm) that the head should be commanded to move to
  438. # when moving from one screw location to the next. The default is 5.
  439. #probe_height: 0
  440. # The height of the probe (in mm) after adjusting for the thermal
  441. # expansion of bed and nozzle. The default is zero.
  442. #speed: 50
  443. # The speed (in mm/s) of non-probing moves during the calibration.
  444. # The default is 50.
  445. #probe_speed: 5
  446. # The speed (in mm/s) when moving from a horizontal_move_z position
  447. # to a probe_height position. The default is 5.
  448.  
  449. # Tool to help adjust bed screws tilt using Z probe. One may define a
  450. # [screws_tilt_adjust] config section to enable a SCREWS_TILT_CALCULATE
  451. # g-code command.
  452. #[screws_tilt_adjust]
  453. #screw1: 100,100
  454. # The X,Y coordinate of the first bed leveling screw. This is a
  455. # position to command the nozzle to that is directly above the bed
  456. # screw (or as close as possible while still being above the bed).
  457. # This is the base screw used in calculations.
  458. # This parameter must be provided.
  459. #screw1_name: front screw
  460. # An arbitrary name for the given screw. This name is displayed when
  461. # the helper script runs. The default is to use a name based upon
  462. # the screw XY location.
  463. #screw2:
  464. #screw2_name:
  465. #...
  466. # Additional bed leveling screws. At least two screws must be
  467. # defined.
  468. #speed: 50
  469. # The speed (in mm/s) of non-probing moves during the calibration.
  470. # The default is 50.
  471. #horizontal_move_z: 5
  472. # The height (in mm) that the head should be commanded to move to
  473. # just prior to starting a probe operation. The default is 5.
  474. #screw_thread: CW-M3
  475. # The type of screw used for bed level, M3, M4 or M5 and the
  476. # direction of the knob used to level the bed, clockwise decrease
  477. # counter-clockwise decrease.
  478. # Accepted values: CW-M3, CCW-M3, CW-M4, CCW-M4, CW-M5, CCW-M5.
  479. # Default value is CW-M3, most printers use an M3 screw and
  480. # turning the knob clockwise decrease distance.
  481.  
  482. # Multiple Z stepper tilt adjustment. This feature enables independent
  483. # adjustment of multiple z steppers (see stepper_z1 section below) to
  484. # adjust for tilt. If this section is present then a Z_TILT_ADJUST
  485. # extended G-Code command becomes available.
  486. [z_tilt]
  487. z_positions:
  488. -24.28,250
  489. 524.28, 250
  490. # A list of X,Y coordinates (one per line; subsequent lines
  491. # indented) describing the location of each bed "pivot point". The
  492. # "pivot point" is the point where the bed attaches to the given Z
  493. # stepper. It is described using nozzle coordinates (the XY position
  494. # of the nozzle if it could move directly above the point). The
  495. # first entry corresponds to stepper_z, the second to stepper_z1,
  496. # the third to stepper_z2, etc. This parameter must be provided.
  497. points:
  498. 50,250
  499. 450, 250
  500. # A list of X,Y coordinates (one per line; subsequent lines
  501. # indented) that should be probed during a Z_TILT_ADJUST command.
  502. # Specify coordinates of the nozzle and be sure the probe is above
  503. # the bed at the given nozzle coordinates. This parameter must be
  504. # provided.
  505. #speed: 50
  506. # The speed (in mm/s) of non-probing moves during the calibration.
  507. # The default is 50.
  508. #horizontal_move_z: 5
  509. # The height (in mm) that the head should be commanded to move to
  510. # just prior to starting a probe operation. The default is 5.
  511. retries: 3
  512. # Number of times to retry if the probed points aren't within tolerance
  513. #retry_tolerance: 0.002
  514. # if retries are enabled then retry if largest and smallest probed points
  515. # differ more than retry_tolerance.
  516. # Note the smallest unit of change here would be a single step. However if you
  517. # are probing more points than steppers then you will likely have a fixed
  518. # minimum value for the range of probed points which you can learn by observing
  519. # command output.
  520.  
  521. # Moving gantry leveling using 4 independently controlled Z motors.
  522. # Corrects hyperbolic parabola effects (potato chip) on moving gantry
  523. # which is more flexible.
  524. # WARNING: Using this on a moving bed may lead to undesirable results.
  525. # If this section is present then a QUAD_GANTRY_LEVEL extended G-Code
  526. # command becomes available. This routine assumes the following Z motor
  527. # configuration:
  528. # ----------------
  529. # |Z1 Z2|
  530. # | --------- |
  531. # | | | |
  532. # | | | |
  533. # | x-------- |
  534. # |Z Z3|
  535. # ----------------
  536. # Where x is the (0,0) point on the bed
  537. #[quad_gantry_level]
  538. #gantry_corners:
  539. # A newline separated list of X,Y coordinates describing the
  540. # two opposing corners of the gantry. The first entry corresponds to
  541. # Z, the second to Z2.
  542. # This parameter must be provided.
  543. #points:
  544. # A newline separated list of four X,Y points that should be probed
  545. # during a QUAD_GANTRY_LEVEL command.
  546. # Order of the locations is important, and should correspond to Z,Z1
  547. # Z2, and Z3 location in order.
  548. # This parameter must be provided.
  549. # For maximum accuracy, ensure your probe offsets are configured.
  550. #speed: 50
  551. # The speed (in mm/s) of non-probing moves during the calibration.
  552. # The default is 50.
  553. #horizontal_move_z: 5
  554. # The height (in mm) that the head should be commanded to move to
  555. # just prior to starting a probe operation. The default is 5
  556. #max_adjust: 4
  557. # Safety limit if an ajustment greater than this value is requested
  558. # quad_gantry_level will abort.
  559. #retries: 0
  560. # number of times to retry if the probed points aren't within tolerance
  561. #retry_tolerance: 0
  562. # if retries are enabled then retry if largest and smallest probed points
  563. # differ more than retry_tolerance
  564.  
  565. # Printer Skew Correction. It is possible to use software to correct
  566. # printer skew across 3 planes, xy, xz, yz. This is done by printing
  567. # a calibration model along a plane and measuring three lengths. Due
  568. # to the nature of skew correction these lengths are set via gcode. See
  569. # skew_correction.md and G-Codes.md in the docs directory for details.
  570. #
  571. #[skew_correction]
  572.  
  573.  
  574. ######################################################################
  575. # Customized homing
  576. ######################################################################
  577.  
  578. # Safe Z homing. One may use this mechanism to home the Z axis at a
  579. # specific XY coordinate. This is useful if the toolhead, for example
  580. # has to move to the center of the bed before Z can be homed.
  581. #[safe_z_home]
  582. #home_xy_position: 250,250
  583. # A X,Y coordinate (e.g. 100,100) where the Z homing should be
  584. # performed. This parameter must be provided.
  585. #speed: 50.0
  586. # Speed at which the toolhead is moved to the safe Z home coordinate.
  587. # The default is 50 mm/s
  588. #z_hop: 5.0
  589. # Lift the Z axis prior to homing. This is applied to any homing command,
  590. # even if it doesn't home the Z axis. If the Z axis is already homed and
  591. # the zhop would exceed the printer limits, the zhop is ignored. If a lift
  592. # has already been performed or the Z axis is known to be equally or higher
  593. # than this distance, the zhop is ignored. After homing Z completed, the
  594. # printhead is lifted to zhop, respecting the probe's z_offset.
  595. # The default is 0.0mm.
  596. #z_hop_speed: 20.0
  597. # Speed at which the Z axis is lifted prior to homing. The default is 20mm/s.
  598. #move_to_previous: False
  599. # When set to True, xy are reset to their previous positions after z homing.
  600. # The default is False.
  601.  
  602.  
  603. # Homing override. One may use this mechanism to run a series of
  604. # g-code commands in place of a G28 found in the normal g-code input.
  605. # This may be useful on printers that require a specific procedure to
  606. # home the machine.
  607.  
  608. [homing_override]
  609. set_position_z: 0.0
  610. axes = z
  611. gcode:
  612. G90 ; use absolute poitioning mode
  613. G1 Z10 ; Move z up 10 mm
  614. G28 X Y
  615. G1 X250 Y250 F6000 ; Change the x and Y coords to the print bed center
  616. G28 Z
  617.  
  618. # A list of G-Code commands to execute in place of G28 commands
  619. # found in the normal g-code input. See docs/Command_Templates.md
  620. # for G-Code format. If a G28 is contained in this list of commands
  621. # then it will invoke the normal homing procedure for the printer.
  622. # The commands listed here must home all axes. This parameter must
  623. # be provided.
  624. #axes: xyz
  625. # The axes to override. For example, if this is set to "z" then the
  626. # override script will only be run when the z axis is homed (eg, via
  627. # a "G28" or "G28 Z0" command). Note, the override script should
  628. # still home all axes. The default is "xyz" which causes the
  629. # override script to be run in place of all G28 commands.
  630. #set_position_x:
  631. #set_position_y:
  632. #set_position_z:
  633. # If specified, the printer will assume the axis is at the specified
  634. # position prior to running the above g-code commands. Setting this
  635. # disables homing checks for that axis. This may be useful if the
  636. # head must move prior to invoking the normal G28 mechanism for an
  637. # axis. The default is to not force a position for an axis.
  638.  
  639. # Stepper phase adjusted endstops. To use this feature, define a
  640. # config section with an "endstop_phase" prefix followed by the name
  641. # of the corresponding stepper config section (for example,
  642. # "[endstop_phase stepper_z]"). This feature can improve the accuracy
  643. # of endstop switches. Add a bare "[endstop_phase]" declaration to
  644. # enable the ENDSTOP_PHASE_CALIBRATE command.
  645. #[endstop_phase stepper_z]
  646. #phases:
  647. # This specifies the number of phases of the given stepper motor
  648. # driver (which is the number of micro-steps multiplied by four).
  649. # This setting is automatically determined if one uses a TMC driver
  650. # with run-time configuration. Otherwise, this parameter must be
  651. # provided.
  652. #endstop_accuracy: 0.200
  653. # Sets the expected accuracy (in mm) of the endstop. This represents
  654. # the maximum error distance the endstop may trigger (eg, if an
  655. # endstop may occasionally trigger 100um early or up to 100um late
  656. # then set this to 0.200 for 200um). The default is
  657. # phases*step_distance.
  658. #endstop_phase:
  659. # This specifies the phase of the stepper motor driver to expect
  660. # when hitting the endstop. Only set this value if one is sure the
  661. # stepper motor driver is reset every time the mcu is reset. If this
  662. # is not set, then the stepper phase will be detected on the first
  663. # home and that phase will be used on all subsequent homes.
  664. #endstop_align_zero: False
  665. # If true then the position_endstop of the axis will effectively be
  666. # modified so that the zero position for the axis occurs at a full
  667. # step on the stepper motor. (If used on the Z axis and the print
  668. # layer height is a multiple of a full step distance then every
  669. # layer will occur on a full step.) The default is False.
  670.  
  671.  
  672. ######################################################################
  673. # G-Code macros and events
  674. ######################################################################
  675.  
  676. # G-Code macros (one may define any number of sections with a
  677. # "gcode_macro" prefix).
  678. [gcode_macro START_PRINT]
  679. gcode =
  680. M117 Calibrating
  681. G28
  682. Z_TILT_ADJUST
  683. BED_MESH_PROFILE LOAD=COLD
  684. G1 X0 Y0 Z5 F3000
  685. G92 E0
  686. M117 Extruder Purge
  687. G1 E15 F400.0
  688. G1 Z0.2 F3000.0
  689. G92 E0
  690. G1 E1 F300.0
  691. G1 X8.0 F2000
  692. G1 Y60.0 E4.0 F1000.0
  693. G1 Y100.0 E8.5 F1000.0
  694. G92 E0
  695. M117 Printing
  696.  
  697. [gcode_macro END_PRINT]
  698. gcode =
  699. TURN_OFF_HEATERS
  700. M107
  701. BED_MESH_CLEAR
  702. G92 E0
  703. G91
  704. G1 Z1 F3000
  705. G90
  706. G1 X150 Y280.0 F3000
  707. G91
  708. G1 E5.0 F400
  709. G1 E-15 F400
  710. M84
  711. M117 Finished Print
  712.  
  713. [gcode_macro CANCEL_PRINT]
  714. gcode =
  715. G91
  716. G1 E-2 F400
  717. G0 Z15
  718. G90
  719. G1 X150 Y280 F5000
  720. TURN_OFF_HEATERS
  721. M107
  722. M84
  723.  
  724. [gcode_macro PAUSE_PRINT]
  725. gcode =
  726. G91
  727. G1 E-2 F400
  728. G0 Z15
  729. G90
  730. G1 X150 Y80 F5000.0
  731.  
  732. [gcode_macro M600]
  733. default_parameter_x = 50
  734. default_parameter_y = 0
  735. default_parameter_z = 10
  736. gcode =
  737. PAUSE
  738. G91
  739. G1 E-.8 F2700
  740. G1 Z{Z}
  741. G90
  742. G1 X{X} Y{Y} F3000
  743. G91
  744. G1 E-70 F1000
  745. G90
  746.  
  747. # A list of G-Code commands to execute in place of "my_cmd". See
  748. # docs/Command_Templates.md for G-Code format. This parameter must
  749. # be provided.
  750. #default_parameter_<parameter>:
  751. # One may define any number of options with a "default_parameter_"
  752. # prefix. Use this to define default values for g-code parameters.
  753. # For example, if one were to define the macro MY_DELAY with gcode
  754. # "G4 P{DELAY}" along with "default_parameter_DELAY = 50" then the
  755. # command "MY_DELAY" would evaluate to "G4 P50". The default is to
  756. # require that all parameters used in the gcode script be present in
  757. # the command invoking the macro.
  758. #variable_<name>:
  759. # One may specify any number of options with a "variable_" prefix.
  760. # The given variable name will be assigned the given value (parsed
  761. # as a Python literal) and will be available during macro expansion.
  762. # For example, a config with "variable_fan_speed = 75" might have
  763. # gcode commands containing "M106 S{ fan_speed * 255 }". Variables
  764. # can be changed at run-time using the SET_GCODE_VARIABLE command.
  765.  
  766. # Execute a gcode on a set delay.
  767. #[delayed_gcode my_delayed_gcode]
  768. #initial_duration: 0.
  769. # The duration of the initial delay (in seconds). If set to a non-zero
  770. # value the delayed_gcode will execute the specified number of seconds
  771. # after the printer enters the "ready" state. This can be useful for
  772. # initialization procedures or a repeating delayed_gcode. If set to 0
  773. # the delayed_gcode will not execute on startup. Default is 0.
  774. #gcode:
  775. # A list of G-Code commands to execute when the delay duration has
  776. # elapsed. G-Code templates are supported. This parameter must be
  777. # provided.
  778.  
  779. # Idle timeout. An idle timeout is automatically enabled - add an
  780. # explicit idle_timeout config section to change the default settings.
  781. #[idle_timeout]
  782. #gcode:
  783. # A list of G-Code commands to execute on an idle timeout. See
  784. # docs/Command_Templates.md for G-Code format. The default is to run
  785. # "TURN_OFF_HEATERS" and "M84".
  786. #timeout: 600
  787. # Idle time (in seconds) to wait before running the above G-Code
  788. # commands. The default is 600 seconds.
  789.  
  790.  
  791. ######################################################################
  792. # Optional G-Code features
  793. ######################################################################
  794.  
  795. # A virtual sdcard may be useful if the host machine is not fast
  796. # enough to run OctoPrint well. It allows the Klipper host software to
  797. # directly print gcode files stored in a directory on the host using
  798. # standard sdcard G-Code commands (eg, M24).
  799. [virtual_sdcard]
  800. path: ~/.octoprint/uploads/
  801. # The path of the local directory on the host machine to look for
  802. # g-code files. This is a read-only directory (sdcard file writes
  803. # are not supported). One may point this to OctoPrint's upload
  804. # directory (generally ~/.octoprint/uploads/ ). This parameter must
  805. # be provided.
  806.  
  807. # Support manually moving stepper motors for diagnostic purposes.
  808. # Note, using this feature may place the printer in an invalid state -
  809. # see docs/G-Codes.md for important details.
  810. #[force_move]
  811. #enable_force_move: False
  812. # Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
  813. # extended G-Code commands. The default is false.
  814.  
  815. # Pause/Resume functionality with support of position capture and restore
  816. #[pause_resume]
  817. #recover_velocity: 50.
  818. # When capture/restore is enabled, the speed at which to return to
  819. # the captured position (in mm/s). Default is 50.0 mm/s.
  820.  
  821. # Firmware filament retraction. This enables G10 (retract) and G11
  822. # (unretract) GCODE commands issued by many slicers. The parameters
  823. # below provide startup defaults, although the values can be adjusted
  824. # via the SET_RETRACTION command, allowing per-filament settings and
  825. # runtime tuning.
  826. [firmware_retraction]
  827. retract_length: 6
  828. # The length of filament (in mm) to retract when G10 is activated, and to
  829. # unretract when G11 is activated (but see unretract_extra_length below).
  830. # The default is 0 mm.
  831. #retract_speed: 20
  832. # The speed of retraction, in mm/s. The default is 20 mm/s.
  833. #unretract_extra_length: 0
  834. # The length (in mm) of *additional* filament to add when unretracting.
  835. #unretract_speed: 10
  836. # The speed of unretraction, in mm/s. The default is 10 mm/s.
  837.  
  838. # enables arc (G2/G3) commands. Only IJ version is supported
  839. # example: "G2 X125 Y32 Z10 E5 I10.5 J10.5"
  840. #[gcode_arcs]
  841. #resolution: 1.0
  842. # An arc will be split into segments. Each segment's length will equal
  843. # the resolution in mm set above. Lower values will produce a finer arc,
  844. # but also more work for your machine. Arcs smaller than the configured
  845. # value will become straight lines.
  846.  
  847. # Enable the "M118" and "RESPOND" extended commands.
  848. [respond]
  849. # default_type: echo
  850. # Sets the default prefix of the "M118" and "RESPOND" output to one of
  851. # the following:
  852. # echo: "echo: " (This is the default)
  853. # command: "// "
  854. # error: "!! "
  855. # default_prefix: echo:
  856. # Directly sets the default prefix. If present, this value will override
  857. # the "default_type".
  858.  
  859.  
  860. ######################################################################
  861. # Config file helpers
  862. ######################################################################
  863.  
  864. # Board pin aliases. One may define aliases for the pins on a
  865. # micro-controller. (If a micro-controller name is omitted in the
  866. # board_pins config section name then it defaults to "mcu".)
  867. #[board_pins mcu]
  868. #aliases:
  869. # A comma separated list of "name=value" aliases to create for the
  870. # given micro-controller. For example, "EXP1_1=PE6" would create an
  871. # "EXP1_1" alias for the "PE6" pin. However, if "value" is enclosed
  872. # in "<>" then "name" is created as a reserved pin (for example,
  873. # "EXP1_9=<GND>" would reserve "EXP1_9"). This parameter must be
  874. # provided.
  875.  
  876. # Include file support. One may include additional config file from
  877. # the main printer config file. Wildcards may also be used (eg,
  878. # "configs/*.cfg").
  879. #[include my_other_config.cfg]
  880.  
  881.  
  882. ######################################################################
  883. # Bed probing hardware
  884. ######################################################################
  885.  
  886. # Z height probe. One may define this section to enable Z height
  887. # probing hardware. When this section is enabled, PROBE and
  888. # QUERY_PROBE extended g-code commands become available. The probe
  889. # section also creates a virtual "probe:z_virtual_endstop" pin. One
  890. # may set the stepper_z endstop_pin to this virtual pin on cartesian
  891. # style printers that use the probe in place of a z endstop. If using
  892. # "probe:z_virtual_endstop" then do not define a position_endstop in
  893. # the stepper_z config section.
  894. #[probe]
  895. #pin: ar15
  896. # Probe detection pin. This parameter must be provided.
  897. #x_offset: 0.0
  898. # The distance (in mm) between the probe and the nozzle along the
  899. # x-axis. The default is 0.
  900. #y_offset: 0.0
  901. # The distance (in mm) between the probe and the nozzle along the
  902. # y-axis. The default is 0.
  903. #z_offset:
  904. # The distance (in mm) between the bed and the nozzle when the probe
  905. # triggers. This parameter must be provided.
  906. #speed: 5.0
  907. # Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.
  908. #samples: 1
  909. # The number of times to probe each point. The probed z-values will
  910. # be averaged. The default is to probe 1 time.
  911. #sample_retract_dist: 2.0
  912. # The distance (in mm) to lift the toolhead between each sample (if
  913. # sampling more than once). The default is 2mm.
  914. #samples_result: average
  915. # The calculation method when sampling more than once - either
  916. # "median" or "average". The default is average.
  917. #samples_tolerance: 0.100
  918. # The maximum Z distance (in mm) that a sample may differ from other
  919. # samples. If this tolerance is exceeded then either an error is
  920. # reported or the attempt is restarted (see
  921. # samples_tolerance_retries). The default is 0.100mm.
  922. #samples_tolerance_retries: 0
  923. # The number of times to retry if a sample is found that exceeds
  924. # samples_tolerance. On a retry, all current samples are discarded
  925. # and the probe attempt is restarted. If a valid set of samples are
  926. # not obtained in the given number of retries then an error is
  927. # reported. The default is zero which causes an error to be reported
  928. # on the first sample that exceeds samples_tolerance.
  929. #activate_gcode:
  930. # A list of G-Code commands to execute prior to each probe attempt.
  931. # See docs/Command_Templates.md for G-Code format. This may be
  932. # useful if the probe needs to be activated in some way. Do not
  933. # issue any commands here that move the toolhead (eg, G1). The
  934. # default is to not run any special G-Code commands on activation.
  935. #deactivate_gcode:
  936. # A list of G-Code commands to execute after each probe attempt
  937. # completes. See docs/Command_Templates.md for G-Code format. Do not
  938. # issue any commands here that move the toolhead. The default is to
  939. # not run any special G-Code commands on deactivation.
  940.  
  941. # BLTouch probe. One may define this section (instead of a probe
  942. # section) to enable a BLTouch probe. (Note! This bltouch module may
  943. # not work correctly with some BLTouch "clones"!) A virtual
  944. # "probe:z_virtual_endstop" pin is also created (see the "probe"
  945. # section above for the details).
  946. [bltouch]
  947. sensor_pin: PA2
  948. # Pin connected to the BLTouch sensor pin. This parameter must be
  949. # provided.
  950. control_pin: PA1
  951. # Pin connected to the BLTouch control pin. This parameter must be
  952. # provided.
  953. pin_move_time: 0.400
  954. # The amount of time (in seconds) to wait for the BLTouch pin to
  955. # move up or down. The default is 0.675 seconds.
  956. pin_up_reports_not_triggered: True
  957. # Set if the BLTouch consistently reports the probe in a "not
  958. # triggered" state after a successful "pin_up" command. This should
  959. # be True for a genuine BLTouch; some BLTouch clones may require
  960. # False. The default is True.
  961. pin_up_touch_mode_reports_triggered: False
  962. # Set if the BLTouch consistently reports a "triggered" state after
  963. # the commands "pin_up" followed by "touch_mode". This should be
  964. # True for a genuine BLTouch v2 and earlier; the BLTouch v3 and some
  965. # BLTouch clones require False. The default is True.
  966. x_offset: -46
  967. y_offset: -9
  968. z_offset: 4.5
  969. speed: 10
  970. samples: 3
  971. #sample_retract_dist:
  972. #samples_result:
  973. #samples_tolerance:
  974. #samples_tolerance_retries:
  975. # See the "probe" section for information on these parameters.
  976.  
  977.  
  978. ######################################################################
  979. # Additional micro-controllers
  980. ######################################################################
  981.  
  982. # Additional micro-controllers (one may define any number of sections
  983. # with an "mcu" prefix). Additional micro-controllers introduce
  984. # additional pins that may be configured as heaters, steppers, fans,
  985. # etc.. For example, if an "[mcu extra_mcu]" section is introduced,
  986. # then pins such as "extra_mcu:ar9" may then be used elsewhere in the
  987. # config (where "ar9" is a hardware pin name or alias name on the
  988. # given mcu).
  989. #[mcu my_extra_mcu]
  990. # See the "mcu" section in example.cfg for configuration parameters.
  991.  
  992.  
  993. ######################################################################
  994. # Additional stepper motors and extruders
  995. ######################################################################
  996.  
  997. # Multi-stepper axes. On a cartesian style printer, the stepper
  998. # controlling a given axis may have additional config blocks defining
  999. # steppers that should be stepped in concert with the primary
  1000. # stepper. One may define any number of sections with a numeric suffix
  1001. # starting at 1 (for example, "stepper_z1", "stepper_z2", etc.).
  1002. #[stepper_z1]
  1003. #step_pin: ar36
  1004. #dir_pin: ar34
  1005. #enable_pin: !ar30
  1006. #step_distance: .005
  1007. # See the example.cfg for the definition of the above parameters.
  1008. #endstop_pin: ^ar19
  1009. # If an endstop_pin is defined for the additional stepper then the
  1010. # stepper will home until the endstop is triggered. Otherwise, the
  1011. # stepper will home until the endstop on the primary stepper for the
  1012. # axis is triggered.
  1013.  
  1014. # In a multi-extruder printer add an additional extruder section for
  1015. # each additional extruder. The additional extruder sections should be
  1016. # named "extruder1", "extruder2", "extruder3", and so on. See the
  1017. # "extruder" section in example.cfg for a description of available
  1018. # parameters.
  1019. #[extruder1]
  1020. #step_pin: ar36
  1021. #dir_pin: ar34
  1022. #...
  1023. #shared_heater:
  1024. # If this extruder uses the same heater already defined for another
  1025. # extruder then place the name of that extruder here. For example,
  1026. # should extruder3 and extruder4 share a heater then the extruder3
  1027. # config section should define the heater and the extruder4 section
  1028. # should specify "shared_heater: extruder3". The default is to not
  1029. # reuse an existing heater.
  1030. #deactivate_gcode:
  1031. # A list of G-Code commands to execute on a G-Code tool change
  1032. # command (eg, "T1") that deactivates this extruder and activates
  1033. # some other extruder. See docs/Command_Templates.md for G-Code
  1034. # format. It only makes sense to define this section on
  1035. # multi-extruder printers. The default is to not run any special
  1036. # G-Code commands on deactivation.
  1037. #activate_gcode:
  1038. # A list of G-Code commands to execute on a G-Code tool change
  1039. # command (eg, "T0") that activates this extruder. See
  1040. # docs/Command_Templates.md for G-Code format. It only makes sense
  1041. # to define this section on multi-extruder printers. The default is
  1042. # to not run any special G-Code commands on activation.
  1043.  
  1044. # Support for cartesian printers with dual carriages on a single
  1045. # axis. The active carriage is set via the SET_DUAL_CARRIAGE extended
  1046. # g-code command. The "SET_DUAL_CARRIAGE CARRIAGE=1" command will
  1047. # activate the carriage defined in this section (CARRIAGE=0 will
  1048. # return activation to the primary carriage). Dual carriage support is
  1049. # typically combined with extra extruders - use the SET_DUAL_CARRIAGE
  1050. # command in the activate_gcode / deactivate_gcode section of the
  1051. # appropriate extruder. Be sure to also use that mechanism to park the
  1052. # carriages during deactivation.
  1053. #[dual_carriage]
  1054. #axis:
  1055. # The axis this extra carriage is on (either x or y). This parameter
  1056. # must be provided.
  1057. #step_pin:
  1058. #dir_pin:
  1059. #enable_pin:
  1060. #step_distance:
  1061. #endstop_pin:
  1062. #position_endstop:
  1063. #position_min:
  1064. #position_max:
  1065. # See the example.cfg for the definition of the above parameters.
  1066.  
  1067. # Manual steppers (one may define any number of sections with a
  1068. # "manual_stepper" prefix). These are steppers that are controlled by
  1069. # the MANUAL_STEPPER g-code command. For example: "MANUAL_STEPPER
  1070. # STEPPER=my_stepper MOVE=10 SPEED=5". See the docs/G-Codes.md file
  1071. # for a description of the MANUAL_STEPPER command. The steppers are
  1072. # not connected to the normal printer kinematics.
  1073. #[manual_stepper my_stepper]
  1074. #step_pin:
  1075. #dir_pin:
  1076. #enable_pin:
  1077. #step_distance:
  1078. # See the "[stepper_x]" section in example.cfg for a description of
  1079. # these parameters.
  1080. #velocity:
  1081. # Set the default velocity (in mm/s) for the stepper. This value
  1082. # will be used if a MANUAL_STEPPER command does not specify a SPEED
  1083. # parameter. The default is 5mm/s.
  1084. #accel:
  1085. # Set the default acceleration (in mm/s^2) for the stepper. An
  1086. # acceleration of zero will result in no acceleration. This value
  1087. # will be used if a MANUAL_STEPPER command does not specify an ACCEL
  1088. # parameter. The default is zero.
  1089. #endstop_pin:
  1090. # Endstop switch detection pin. If specified, then one may perform
  1091. # "homing moves" by adding a STOP_ON_ENDSTOP parameter to
  1092. # MANUAL_STEPPER movement commands.
  1093.  
  1094.  
  1095. ######################################################################
  1096. # Heaters and temperature sensors
  1097. ######################################################################
  1098.  
  1099. # Heater and temperature sensor verification. Heater verification is
  1100. # automatically enabled for each heater that is configured on the
  1101. # printer. Use verify_heater sections to change the default settings.
  1102. #[verify_heater heater_config_name]
  1103. [verify_heater extruder]
  1104. max_error: 500
  1105. # The maximum "cumulative temperature error" before raising an
  1106. # error. Smaller values result in stricter checking and larger
  1107. # values allow for more time before an error is reported.
  1108. # Specifically, the temperature is inspected once a second and if it
  1109. # is close to the target temperature then an internal "error
  1110. # counter" is reset; otherwise, if the temperature is below the
  1111. # target range then the counter is increased by the amount the
  1112. # reported temperature differs from that range. Should the counter
  1113. # exceed this "max_error" then an error is raised. The default is
  1114. # 120.
  1115. #check_gain_time:
  1116. # This controls heater verification during initial heating. Smaller
  1117. # values result in stricter checking and larger values allow for
  1118. # more time before an error is reported. Specifically, during
  1119. # initial heating, as long as the heater increases in temperature
  1120. # within this time frame (specified in seconds) then the internal
  1121. # "error counter" is reset. The default is 20 seconds for extruders
  1122. # and 60 seconds for heater_bed.
  1123. #hysteresis: 5
  1124. # The maximum temperature difference (in Celsius) to a target
  1125. # temperature that is considered in range of the target. This
  1126. # controls the max_error range check. It is rare to customize this
  1127. # value. The default is 5.
  1128. #heating_gain: 2
  1129. # The minimum temperature (in Celsius) that the heater must increase
  1130. # by during the check_gain_time check. It is rare to customize this
  1131. # value. The default is 2.
  1132.  
  1133. [verify_heater heater_bed]
  1134. max_error: 500
  1135. check_gain_time: 60
  1136. hysteresis: 5
  1137. heating_gain: 2
  1138.  
  1139. # Custom thermistors (one may define any number of sections with a
  1140. # "thermistor" prefix). A custom thermistor may be used in the
  1141. # sensor_type field of a heater config section. (For example, if one
  1142. # defines a "[thermistor my_thermistor]" section then one may use a
  1143. # "sensor_type: my_thermistor" when defining a heater.) Be sure to
  1144. # place the thermistor section in the config file above its first use
  1145. # in a heater section.
  1146. #[thermistor my_thermistor]
  1147. #temperature1:
  1148. #resistance1:
  1149. #temperature2:
  1150. #resistance2:
  1151. #temperature3:
  1152. #resistance3:
  1153. # Three resistance measurements (in Ohms) at the given temperatures
  1154. # (in Celsius). The three measurements will be used to calculate the
  1155. # Steinhart-Hart coefficients for the thermistor. These parameters
  1156. # must be provided when using Steinhart-Hart to define the
  1157. # thermistor.
  1158. #beta:
  1159. # Alternatively, one may define temperature1, resistance1, and beta
  1160. # to define the thermistor parameters. This parameter must be
  1161. # provided when using "beta" to define the thermistor.
  1162.  
  1163. # Custom ADC temperature sensors (one may define any number of
  1164. # sections with an "adc_temperature" prefix). This allows one to
  1165. # define a custom temperature sensor that measures a voltage on an
  1166. # Analog to Digital Converter (ADC) pin and uses linear interpolation
  1167. # between a set of configured temperature/voltage (or
  1168. # temperature/resistance) measurements to determine the
  1169. # temperature. The resulting sensor can be used as a sensor_type in a
  1170. # heater section. (For example, if one defines a "[adc_temperature
  1171. # my_sensor]" section then one may use a "sensor_type: my_sensor" when
  1172. # defining a heater.) Be sure to place the sensor section in the
  1173. # config file above its first use in a heater section.
  1174. #[adc_temperature my_sensor]
  1175. #temperature1:
  1176. #voltage1:
  1177. #temperature2:
  1178. #voltage2:
  1179. #...
  1180. # A set of temperatures (in Celsius) and voltages (in Volts) to use
  1181. # as reference when converting a temperature. A heater section using
  1182. # this sensor may also specify an adc_voltage parameter to define
  1183. # the ADC comparison voltage (see example.cfg for details). At least
  1184. # two measurements must be provided.
  1185. #temperature1:
  1186. #resistance1:
  1187. #temperature2:
  1188. #resistance2:
  1189. #...
  1190. # Alternatively one may specify a set of temperatures (in Celsius)
  1191. # and resistance (in Ohms) to use as reference when converting a
  1192. # temperature. A heater section using this sensor may also specify a
  1193. # pullup_resistor parameter (see example.cfg for details). At least
  1194. # two measurements must be provided.
  1195.  
  1196. # AD849x series thermocouple amplifier temperature sensors. The
  1197. # following parameters are available in heater sections that use one
  1198. # of these sensor types.
  1199. #[extruder]
  1200. # See the "extruder" section in example.cfg for a description of
  1201. # heater parameters. The parameters below describe sensor parameters.
  1202. #sensor_type:
  1203. # One of "AD8494", "AD8495", "AD8496", "AD8497"
  1204. #adc_voltage:
  1205. # The reference voltage for the ADC pin specified for
  1206. # sensor_pin. This parameter is required.
  1207. #sensor_pin:
  1208. # The ADC pin the AD849x device is connected to. This parameter is
  1209. # required.
  1210. #voltage_offset:
  1211. # The voltage applied to the REF pin on the AD849x device being
  1212. # used. The default is 0.
  1213.  
  1214. # MAXxxxxx serial peripheral interface (SPI) temperature based
  1215. # sensors. The following parameters are available in heater sections
  1216. # that use one of these sensor types.
  1217. #[extruder]
  1218. # See the "extruder" section in example.cfg for a description of
  1219. # heater parameters. The parameters below describe sensor parameters.
  1220. #sensor_type:
  1221. # One of "MAX6675", "MAX31855", "MAX31856", or "MAX31865".
  1222. #spi_speed: 4000000
  1223. # The SPI speed (in hz) to use when communicating with the chip.
  1224. # The default is 4000000.
  1225. #spi_bus:
  1226. #spi_software_sclk_pin:
  1227. #spi_software_mosi_pin:
  1228. #spi_software_miso_pin:
  1229. # These optional parameters allow one to customize the SPI settings
  1230. # used to communicate with the chip.
  1231. #sensor_pin:
  1232. # The chip select line for the sensor chip. This parameter must be
  1233. # provided.
  1234. #tc_type: K
  1235. #tc_use_50Hz_filter: False
  1236. #tc_averaging_count: 1
  1237. # The above parameters control the sensor parameters of MAX31856
  1238. # chips. The defaults for each parameter are next to the parameter
  1239. # name in the above list.
  1240. #rtd_nominal_r: 100
  1241. #rtd_reference_r: 430
  1242. #rtd_num_of_wires: 2
  1243. #rtd_use_50Hz_filter: False
  1244. # The above parameters control the sensor parameters of MAX31865
  1245. # chips. The defaults for each parameter are next to the parameter
  1246. # name in the above list.
  1247.  
  1248. # The heater_generic section is used to describe a custom/generic heater.
  1249. # These behave the same as typical heaters (extruders, heated beds) and
  1250. # can be configured as similarly.
  1251. # However, a gcode_id must be supplied which is used for temperature reporting.
  1252. # See notes on the SET_HEATER_TEMPERATURE command for setting the temperature.
  1253. #[heater_generic my_generic_heater]
  1254. #gcode_id: C
  1255. # A mandatory parameter that is required for reporting the temperature
  1256. # through the M105 command.
  1257. #heater_pin:
  1258. #max_power:
  1259. #sensor_type:
  1260. #sensor_pin:
  1261. #pullup_resistor:
  1262. #adc_voltage:
  1263. #smooth_time:
  1264. #control:
  1265. #pid_Kp:
  1266. #pid_Ki:
  1267. #pid_Kd:
  1268. #pid_integral_max:
  1269. #pwm_cycle_time:
  1270. #min_extrude_temp:
  1271. #min_temp:
  1272. #max_temp:
  1273. # See the heater section in example.cfg for the definition of the
  1274. # above parameters.
  1275.  
  1276. # Temperature sensors. One can define any number of temperature
  1277. # sensors. Their values are reported via the M105 command.
  1278. #[temperature_sensor my_sensor]
  1279. #sensor_type:
  1280. #sensor_pin:
  1281. #min_temp:
  1282. #max_temp:
  1283. # See the heater section in example.cfg for the definition of the
  1284. # above parameters.
  1285. #gcode_id:
  1286. # See the heater_generic section above for the definition of this
  1287. # parameter.
  1288.  
  1289.  
  1290. ######################################################################
  1291. # Additional fans
  1292. ######################################################################
  1293.  
  1294. # Heater cooling fans (one may define any number of sections with a
  1295. # "heater_fan" prefix). A "heater fan" is a fan that will be enabled
  1296. # whenever its associated heater is active. By default, a heater_fan
  1297. # has a shutdown_speed equal to max_power.
  1298. #[heater_fan my_nozzle_fan]
  1299. #pin:
  1300. #max_power:
  1301. #shutdown_speed:
  1302. #cycle_time:
  1303. #hardware_pwm:
  1304. #kick_start_time:
  1305. # See the "fan" section in example.cfg for a description of the
  1306. # above parameters.
  1307. #heater: extruder
  1308. # Name of the config section defining the heater that this fan is
  1309. # associated with. If a comma separated list of heater names is
  1310. # provided here, then the fan will be enabled when any of the given
  1311. # heaters are enabled. The default is "extruder".
  1312. #heater_temp: 50.0
  1313. # A temperature (in Celsius) that the heater must drop below before
  1314. # the fan is disabled. The default is 50 Celsius.
  1315. #fan_speed: 1.0
  1316. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  1317. # will be set to when its associated heater is enabled. The default
  1318. # is 1.0
  1319.  
  1320. # Controller cooling fan (one may define any number of sections with a
  1321. # "controller_fan" prefix). A "controller fan" is a fan that will be
  1322. # enabled whenever its associated heater or any configured stepper
  1323. # driver is active. The fan will stop, whenever an idle_timeout is
  1324. # reached to ensure no overheating will occur after deactivating a
  1325. # watched component.
  1326. #[controller_fan my_controller_fan]
  1327. #pin:
  1328. #max_power:
  1329. #shutdown_speed:
  1330. #cycle_time:
  1331. #hardware_pwm:
  1332. #kick_start_time:
  1333. # See the "fan" section in example.cfg for a description of the
  1334. # above parameters.
  1335. #idle_timeout:
  1336. # The ammount of time (in seconds) after a stepper driver or heater
  1337. # was active and the fan should be kept running. The default
  1338. # is 30 seconds.
  1339. #idle_speed:
  1340. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  1341. # will be set to when a heater or stepper driver was active and before
  1342. # the idle_timeout is reached. This must be greater or equal
  1343. # max_power. The default is max_power
  1344. #heater:
  1345. # Name of the config section defining the heater that this fan is
  1346. # associated with. If a comma separated list of heater names is
  1347. # provided here, then the fan will be enabled when any of the given
  1348. # heaters are enabled. The default is "extruder".
  1349.  
  1350. # Temperature-triggered cooling fans (one may define any number of
  1351. # sections with a "temperature_fan" prefix). A "temperature fan" is a
  1352. # fan that will be enabled whenever its associated sensor is above a
  1353. # set temperature. By default, a temperature_fan has a shutdown_speed
  1354. # equal to max_power.
  1355. #[temperature_fan my_temp_fan]
  1356. #pin:
  1357. #max_power:
  1358. #shutdown_speed:
  1359. #cycle_time:
  1360. #hardware_pwm:
  1361. #kick_start_time:
  1362. # See the "fan" section in example.cfg for a description of the
  1363. # above parameters.
  1364. #sensor_type: EPCOS 100K B57560G104F
  1365. #sensor_pin: analog13
  1366. # See the "heater" section for details about the sensor_type and
  1367. # sensor_pin parameters.
  1368. #min_temp: 0
  1369. #max_temp: 100
  1370. # The maximum range of valid temperatures (in Celsius) that the
  1371. # sensor must remain within. This controls a safety feature
  1372. # implemented in the micro-controller code - should the measured
  1373. # temperature ever fall outside this range then the micro-controller
  1374. # will go into a shutdown state. Set this range just wide enough so
  1375. # that reasonable temperatures do not result in an error. These
  1376. # parameters must be provided.
  1377. #target_temp: 40.0
  1378. # A temperature (in Celsius) that will be the target temperature.
  1379. # The default is 40 degrees.
  1380. #max_speed: 1.0
  1381. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  1382. # will be set to when the sensor temperature exceeds the set value.
  1383. # The default is 1.0.
  1384. #min_speed: 0.3
  1385. # The minimum fan speed (expressed as a value from 0.0 to 1.0) that
  1386. # the fan will be set to for PID temperature fans.
  1387. # The default is 0.3.
  1388. #control: watermark
  1389. # Control algorithm (either watermark or pid). This parameter must
  1390. # be provided.
  1391. #pid_Kp: 40
  1392. # Kp is the "proportional" constant for the pid. This parameter must
  1393. # be provided for PID temperature fans.
  1394. #pid_Ki: 0.2
  1395. # Ki is the "integral" constant for the pid. This parameter must be
  1396. # provided for PID temperature fans.
  1397. #pid_Kd: 0.1
  1398. # Kd is the "derivative" constant for the pid. This parameter must
  1399. # be provided for PID temperature fans.
  1400. #pid_deriv_time: 2.0
  1401. # A time value (in seconds) over which the derivative in the pid
  1402. # will be smoothed to reduce the impact of measurement noise. The
  1403. # default is 2 seconds.
  1404. #pid_integral_max:
  1405. # The maximum "windup" the integral term may accumulate. The default
  1406. # is to use the same value as max_power.
  1407. #gcode_id:
  1408. # If set, the temperature will be reported in M105 queries using the
  1409. # given id. The default is to not report the temperature via M105.
  1410.  
  1411.  
  1412. ######################################################################
  1413. # Additional servos, LEDs, buttons, and other pins
  1414. ######################################################################
  1415.  
  1416. # Servos (one may define any number of sections with a "servo"
  1417. # prefix). The servos may be controlled using the SET_SERVO g-code
  1418. # command. For example: SET_SERVO SERVO=my_servo ANGLE=180
  1419. #[servo my_servo]
  1420. #pin: ar7
  1421. # PWM output pin controlling the servo. This parameter must be
  1422. # provided.
  1423. #maximum_servo_angle: 180
  1424. # The maximum angle (in degrees) that this servo can be set to. The
  1425. # default is 180 degrees.
  1426. #minimum_pulse_width: 0.001
  1427. # The minimum pulse width time (in seconds). This should correspond
  1428. # with an angle of 0 degrees. The default is 0.001 seconds.
  1429. #maximum_pulse_width: 0.002
  1430. # The maximum pulse width time (in seconds). This should correspond
  1431. # with an angle of maximum_servo_angle. The default is 0.002
  1432. # seconds.
  1433. #initial_angle: 70
  1434. # Initial angle to set the servo to when the mcu resets. Must be between
  1435. # 0 and maximum_servo_angle This parameter is optional. If both
  1436. # initial_angle and initial_pulse_width are set initial_angle will be used.
  1437. #initial_pulse_width: 0.0015
  1438. # Initial pulse width time (in seconds) to set the servo to when
  1439. # the mcu resets. Must be between minimum_pulse_width and maximum_pulse_width.
  1440. # This parameter is optional. If both initial_angle and initial_pulse_width
  1441. # are set initial_angle will be used
  1442. #enable: True
  1443. # Enable or disable servo. It can be enabled or disabled later using
  1444. # SET_SERVO SERVO=my_servo ENABLE=<0|1> g-command. The default is True (=enabled)
  1445.  
  1446. # Neopixel (aka WS2812) LED support (one may define any number of
  1447. # sections with a "neopixel" prefix). One may set the LED color via
  1448. # "SET_LED LED=my_neopixel RED=0.1 GREEN=0.1 BLUE=0.1" type extended
  1449. # g-code commands.
  1450. #[neopixel my_neopixel]
  1451. #pin:
  1452. # The pin connected to the neopixel. This parameter must be
  1453. # provided.
  1454. #chain_count:
  1455. # The number of Neopixel chips that are "daisy chained" to the
  1456. # provided pin. The default is 1 (which indices only a single
  1457. # Neopixel is connected to the pin).
  1458. #color_order_GRB: True
  1459. # Set the pixel order to green, red, blue. If using the WS2811 chip
  1460. # (in 800Khz mode) then set this to False. The default is True.
  1461. #initial_RED: 0.0
  1462. #initial_GREEN: 0.0
  1463. #initial_BLUE: 0.0
  1464. # Sets the initial LED color of the Neopixel. Each value should be
  1465. # between 0.0 and 1.0. The default for each color is 0.
  1466.  
  1467. # Dotstar (aka APA102) LED support (one may define any number of
  1468. # sections with a "dotstar" prefix). One may set the LED color via
  1469. # "SET_LED LED=my_dotstar RED=0.1 GREEN=0.1 BLUE=0.1" type extended
  1470. # g-code commands.
  1471. #[dotstar my_dotstar]
  1472. #data_pin:
  1473. # The pin connected to the data line of the dotstar. This parameter
  1474. # must be provided.
  1475. #clock_pin:
  1476. # The pin connected to the clock line of the dotstar. This parameter
  1477. # must be provided.
  1478. #chain_count:
  1479. #initial_RED: 0.0
  1480. #initial_GREEN: 0.0
  1481. #initial_BLUE: 0.0
  1482. # See the "neopixel" section for information on these parameters.
  1483.  
  1484. # Execute gcode when a button is pressed or released (or when a pin changes
  1485. # state). You can check the state of the button my using
  1486. # QUERY_BUTTON button=my_gcode_button
  1487. #[gcode_button my_gcode_button]
  1488. #pin:
  1489. # The pin on which the button is connected. This parameter must be
  1490. # provided.
  1491. #press_gcode:
  1492. # A list of G-Code commands to execute when the button is pressed.
  1493. # G-Code templates are supported.
  1494. #release_gcode:
  1495. # A list of G-Code commands to execute when the button is released.
  1496. # G-Code templates are supported.
  1497.  
  1498. # Run-time configurable output pins (one may define any number of
  1499. # sections with an "output_pin" prefix). Pins configured here will be
  1500. # setup as output pins and one may modify them at run-time using
  1501. # "SET_PIN PIN=my_pin VALUE=.1" type extended g-code commands.
  1502. #[output_pin my_pin]
  1503. #pin:
  1504. # The pin to configure as an output. This parameter must be
  1505. # provided.
  1506. #pwm: False
  1507. # Set if the output pin should be capable of pulse-width-modulation.
  1508. # If this is true, the value fields should be between 0 and 1; if it
  1509. # is false the value fields should be either 0 or 1. The default is
  1510. # False.
  1511. #static_value:
  1512. # If this is set, then the pin is assigned to this value at startup
  1513. # and the pin can not be changed during runtime. A static pin uses
  1514. # slightly less ram in the micro-controller. The default is to use
  1515. # runtime configuration of pins.
  1516. #value:
  1517. # The value to initially set the pin to during MCU configuration.
  1518. # The default is 0 (for low voltage).
  1519. #shutdown_value:
  1520. # The value to set the pin to on an MCU shutdown event. The default
  1521. # is 0 (for low voltage).
  1522. #cycle_time: 0.100
  1523. # The amount of time (in seconds) per PWM cycle. It is recommended
  1524. # this be 10 milliseconds or greater when using software based
  1525. # PWM. The default is 0.100 seconds for pwm pins.
  1526. #hardware_pwm: False
  1527. # Enable this to use hardware PWM instead of software PWM. When
  1528. # using hardware PWM the actual cycle time is constrained by the
  1529. # implementation and may be significantly different than the
  1530. # requested cycle_time. The default is False.
  1531. #scale:
  1532. # This parameter can be used to alter how the 'value' and
  1533. # 'shutdown_value' parameters are interpreted for pwm pins. If
  1534. # provided, then the 'value' parameter should be between 0.0 and
  1535. # 'scale'. This may be useful when configuring a PWM pin that
  1536. # controls a stepper voltage reference. The 'scale' can be set to
  1537. # the equivalent stepper amperage if the PWM were fully enabled, and
  1538. # then the 'value' parameter can be specified using the desired
  1539. # amperage for the stepper. The default is to not scale the 'value'
  1540. # parameter.
  1541.  
  1542. # Statically configured digital output pins (one may define any number
  1543. # of sections with a "static_digital_output" prefix). Pins configured
  1544. # here will be setup as a GPIO output during MCU configuration. They
  1545. # can not be changed at run-time.
  1546. #[static_digital_output my_output_pins]
  1547. #pins:
  1548. # A comma separated list of pins to be set as GPIO output pins. The
  1549. # pin will be set to a high level unless the pin name is prefaced
  1550. # with "!". This parameter must be provided.
  1551.  
  1552. # Multiple pin outputs (one may define any number of sections with a
  1553. # "multi_pin" prefix). A multi_pin output creates an internal pin
  1554. # alias that can modify multiple output pins each time the alias pin
  1555. # is set. For example, one could define a "[multi_pin my_fan]" object
  1556. # containing two pins and then set "pin=multi_pin:my_fan" in the
  1557. # "[fan]" section - on each fan change both output pins would be
  1558. # updated. These aliases may not be used with stepper motor pins.
  1559. #[multi_pin my_multi_pin]
  1560. #pins:
  1561. # A comma separated list of pins associated with this alias. This
  1562. # parameter must be provided.
  1563.  
  1564.  
  1565. ######################################################################
  1566. # TMC stepper driver configuration
  1567. ######################################################################
  1568.  
  1569. # Configure a TMC2130 stepper motor driver via SPI bus. To use this
  1570. # feature, define a config section with a "tmc2130" prefix followed by
  1571. # the name of the corresponding stepper config section (for example,
  1572. # "[tmc2130 stepper_x]"). This also creates a
  1573. # "tmc2130_stepper_x:virtual_enable" virtual pin which may be used as
  1574. # the stepper's enable_pin (for enabling the driver via an SPI
  1575. # message).
  1576. #[tmc2130 stepper_x]
  1577. #cs_pin:
  1578. # The pin corresponding to the TMC2130 chip select line. This pin
  1579. # will be set to low at the start of SPI messages and raised to high
  1580. # after the message completes. This parameter must be provided.
  1581. #spi_bus:
  1582. #spi_speed:
  1583. #spi_software_sclk_pin:
  1584. #spi_software_mosi_pin:
  1585. #spi_software_miso_pin:
  1586. # These optional parameters allow one to customize the SPI settings
  1587. # used to communicate with the chip.
  1588. #microsteps:
  1589. # The number of microsteps to configure the driver to use. Valid
  1590. # values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must
  1591. # be provided.
  1592. #interpolate: True
  1593. # If true, enable step interpolation (the driver will internally
  1594. # step at a rate of 256 micro-steps). The default is True.
  1595. #run_current:
  1596. # The amount of current (in amps) to configure the driver to use
  1597. # during stepper movement. This parameter must be provided.
  1598. #hold_current:
  1599. # The amount of current (in amps) to configure the driver to use
  1600. # when the stepper is not moving. The default is to use the same
  1601. # value as run_current.
  1602. #sense_resistor: 0.110
  1603. # The resistance (in ohms) of the motor sense resistor. The default
  1604. # is 0.110 ohms.
  1605. #stealthchop_threshold: 0
  1606. # The velocity (in mm/s) to set the "stealthChop" threshold to. When
  1607. # set, "stealthChop" mode will be enabled if the stepper motor
  1608. # velocity is below this value. The default is 0, which disables
  1609. # "stealthChop" mode.
  1610. #driver_IHOLDDELAY: 8
  1611. #driver_TPOWERDOWN: 0
  1612. #driver_TBL: 1
  1613. #driver_TOFF: 4
  1614. #driver_HEND: 7
  1615. #driver_HSTRT: 0
  1616. #driver_PWM_AUTOSCALE: True
  1617. #driver_PWM_FREQ: 1
  1618. #driver_PWM_GRAD: 4
  1619. #driver_PWM_AMPL: 128
  1620. #driver_SGT: 0
  1621. # Set the given register during the configuration of the TMC2130
  1622. # chip. This may be used to set custom motor parameters. The
  1623. # defaults for each parameter are next to the parameter name in the
  1624. # above list.
  1625. #diag1_pin:
  1626. # The micro-controller pin attached to the DIAG1 line of the TMC2130
  1627. # chip. Setting this creates a "tmc2130_stepper_x:virtual_endstop"
  1628. # virtual pin which may be used as the stepper's endstop_pin. Doing
  1629. # this enables "sensorless homing". (Be sure to also set driver_SGT
  1630. # to an appropriate sensitivity value.) The default is to not enable
  1631. # sensorless homing. See docs/Sensorless_Homing.md for details on how
  1632. # to configure this.
  1633.  
  1634. # Configure a TMC2208 (or TMC2224) stepper motor driver via single
  1635. # wire UART. To use this feature, define a config section with a
  1636. # "tmc2208" prefix followed by the name of the corresponding stepper
  1637. # config section (for example, "[tmc2208 stepper_x]"). This also
  1638. # creates a "tmc2208_stepper_x:virtual_enable" virtual pin which may
  1639. # be used as the stepper's enable_pin (for enabling the driver via a
  1640. # UART message).
  1641. #[tmc2208 stepper_x]
  1642. #uart_pin:
  1643. # The pin connected to the TMC2208 PDN_UART line. This parameter
  1644. # must be provided.
  1645. #tx_pin:
  1646. # If using separate receive and transmit lines to communicate with
  1647. # the driver then set uart_pin to the receive pin and tx_pin to the
  1648. # transmit pin. The default is to use uart_pin for both reading and
  1649. # writing.
  1650. #select_pins:
  1651. # A comma separated list of pins to set prior to accessing the
  1652. # tmc2208 UART. This may be useful for configuring an analog mux for
  1653. # UART communication. The default is to not configure any pins.
  1654. #microsteps:
  1655. # The number of microsteps to configure the driver to use. Valid
  1656. # values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must
  1657. # be provided.
  1658. #interpolate: True
  1659. # If true, enable step interpolation (the driver will internally
  1660. # step at a rate of 256 micro-steps). The default is True.
  1661. #run_current:
  1662. # The amount of current (in amps) to configure the driver to use
  1663. # during stepper movement. This parameter must be provided.
  1664. #hold_current:
  1665. # The amount of current (in amps) to configure the driver to use
  1666. # when the stepper is not moving. The default is to use the same
  1667. # value as run_current.
  1668. #sense_resistor: 0.110
  1669. # The resistance (in ohms) of the motor sense resistor. The default
  1670. # is 0.110 ohms.
  1671. #stealthchop_threshold: 0
  1672. # The velocity (in mm/s) to set the "stealthChop" threshold to. When
  1673. # set, "stealthChop" mode will be enabled if the stepper motor
  1674. # velocity is below this value. The default is 0, which disables
  1675. # "stealthChop" mode.
  1676. #driver_IHOLDDELAY: 8
  1677. #driver_TPOWERDOWN: 20
  1678. #driver_TBL: 2
  1679. #driver_TOFF: 3
  1680. #driver_HEND: 0
  1681. #driver_HSTRT: 5
  1682. #driver_PWM_AUTOGRAD: True
  1683. #driver_PWM_AUTOSCALE: True
  1684. #driver_PWM_LIM: 12
  1685. #driver_PWM_REG: 8
  1686. #driver_PWM_FREQ: 1
  1687. #driver_PWM_GRAD: 14
  1688. #driver_PWM_OFS: 36
  1689. # Set the given register during the configuration of the TMC2208
  1690. # chip. This may be used to set custom motor parameters. The
  1691. # defaults for each parameter are next to the parameter name in the
  1692. # above list.
  1693.  
  1694. # Configure a TMC2209 stepper motor driver via single wire UART. To
  1695. # use this feature, define a config section with a "tmc2209" prefix
  1696. # followed by the name of the corresponding stepper config section
  1697. # (for example, "[tmc2209 stepper_x]"). This also creates a
  1698. # "tmc2209_stepper_x:virtual_enable" virtual pin which may be used as
  1699. # the stepper's enable_pin (for enabling the driver via a UART
  1700. # message).
  1701. #[tmc2209 stepper_x]
  1702. #uart_pin:
  1703. #tx_pin:
  1704. #select_pins:
  1705. #microsteps:
  1706. #interpolate: True
  1707. #run_current:
  1708. #hold_current:
  1709. #sense_resistor: 0.110
  1710. #stealthchop_threshold: 0
  1711. # See the tmc2208 section above for the definition of these
  1712. # parameters.
  1713. #uart_address:
  1714. # The address of the TMC2209 chip for UART messages (an integer
  1715. # between 0 and 3). This is typically used when multiple TMC2209
  1716. # chips are connected to the same UART pin. The default is zero.
  1717. #driver_IHOLDDELAY: 8
  1718. #driver_TPOWERDOWN: 20
  1719. #driver_TBL: 2
  1720. #driver_TOFF: 3
  1721. #driver_HEND: 0
  1722. #driver_HSTRT: 5
  1723. #driver_PWM_AUTOGRAD: True
  1724. #driver_PWM_AUTOSCALE: True
  1725. #driver_PWM_LIM: 12
  1726. #driver_PWM_REG: 8
  1727. #driver_PWM_FREQ: 1
  1728. #driver_PWM_GRAD: 14
  1729. #driver_PWM_OFS: 36
  1730. #driver_SGTHRS: 0
  1731. # Set the given register during the configuration of the TMC2209
  1732. # chip. This may be used to set custom motor parameters. The
  1733. # defaults for each parameter are next to the parameter name in the
  1734. # above list.
  1735. #diag_pin:
  1736. # The micro-controller pin attached to the DIAG line of the TMC2209
  1737. # chip. Setting this creates a "tmc2209_stepper_x:virtual_endstop"
  1738. # virtual pin which may be used as the stepper's endstop_pin. Doing
  1739. # this enables "sensorless homing". (Be sure to also set
  1740. # driver_SGTHRS to an appropriate sensitivity value.) The default is
  1741. # to not enable sensorless homing.
  1742.  
  1743. # Configure a TMC2660 stepper motor driver via SPI bus. To use this
  1744. # feature, define a config section with a tmc2660 prefix followed by
  1745. # the name of the corresponding stepper config section (for example,
  1746. # "[tmc2660 stepper_x]"). This also creates a
  1747. # "tmc2660_stepper_x:virtual_enable" virtual pin which may be used as
  1748. # the stepper's enable_pin (for enabling the driver via an SPI
  1749. # message).
  1750. #[tmc2660 stepper_x]
  1751. #cs_pin:
  1752. # The pin corresponding to the TMC2660 chip select line. This pin
  1753. # will be set to low at the start of SPI messages and set to high
  1754. # after the message transfer completes. This parameter must be provided.
  1755. #spi_bus:
  1756. # Select the SPI bus the TMC2660 stepper driver is connected to.
  1757. # This depends on the physical connections on your board, as well as
  1758. # the SPI implementation of your particular micro-controller. The
  1759. # default is to use the default micro-controller spi bus.
  1760. #spi_speed: 4000000
  1761. # SPI bus frequency used to communicate with the TMC2660 stepper
  1762. # driver. The default is 4000000.
  1763. #spi_software_sclk_pin:
  1764. #spi_software_mosi_pin:
  1765. #spi_software_miso_pin:
  1766. # These optional parameters allow one to customize the SPI settings
  1767. # used to communicate with the chip.
  1768. #microsteps:
  1769. # The number of microsteps to configure the driver to use. Valid
  1770. # values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must
  1771. # be provided.
  1772. #interpolate: True
  1773. # If true, enable step interpolation (the driver will internally
  1774. # step at a rate of 256 micro-steps). This only works if microsteps
  1775. # is set to 16. The default is True.
  1776. #run_current:
  1777. # The amount of current (in ampere) used by the driver during stepper
  1778. # movement. This parameter must be provided.
  1779. #sense_resistor:
  1780. # The resistance (in ohms) of the motor sense resistor. This parameter
  1781. # must be provided.
  1782. #idle_current_percent: 100
  1783. # The percentage of the run_current the stepper driver will be
  1784. # lowered to when the idle timeout expires (you need to set up the
  1785. # timeout using a [idle_timeout] config section). The current will
  1786. # be raised again once the stepper has to move again. Make sure to
  1787. # set this to a high enough value such that the steppers do not lose
  1788. # their position. There is also small delay until the current is
  1789. # raised again, so take this into account when commanding fast moves
  1790. # while the stepper is idling. The default is 100 (no reduction).
  1791. #driver_TBL: 2
  1792. #driver_RNDTF: 0
  1793. #driver_HDEC: 0
  1794. #driver_CHM: 0
  1795. #driver_HEND: 3
  1796. #driver_HSTRT: 3
  1797. #driver_TOFF: 4
  1798. #driver_SEIMIN: 0
  1799. #driver_SEDN: 0
  1800. #driver_SEMAX: 0
  1801. #driver_SEUP: 0
  1802. #driver_SEMIN: 0
  1803. #driver_SFILT: 1
  1804. #driver_SGT: 0
  1805. #driver_SLPH: 0
  1806. #driver_SLPL: 0
  1807. #driver_DISS2G: 0
  1808. #driver_TS2G: 3
  1809. # Set the given parameter during the configuration of the TMC2660
  1810. # chip. This may be used to set custom driver parameters. The
  1811. # defaults for each parameter are next to the parameter name in the
  1812. # list above. See the TMC2660 datasheet about what each parameter
  1813. # does and what the restrictions on parameter combinations are.
  1814. # Be especially aware of the CHOPCONF register, where setting CHM to
  1815. # either 0 or one will lead to layout changes (the first bit of HDEC)
  1816. # is interpreted as the MSB of HSTRT in this case).
  1817.  
  1818. # Configure a TMC5160 stepper motor driver via SPI bus. To use this
  1819. # feature, define a config section with a "tmc5160" prefix followed by
  1820. # the name of the corresponding stepper config section (for example,
  1821. # "[tmc5160 stepper_x]"). This also creates a
  1822. # "tmc5160_stepper_x:virtual_enable" virtual pin which may be used as
  1823. # the stepper's enable_pin (for enabling the driver via an SPI
  1824. # message).
  1825. #[tmc5160 stepper_x]
  1826. #cs_pin:
  1827. # The pin corresponding to the TMC5160 chip select line. This pin
  1828. # will be set to low at the start of SPI messages and raised to high
  1829. # after the message completes. This parameter must be provided.
  1830. #spi_bus:
  1831. #spi_speed:
  1832. #spi_software_sclk_pin:
  1833. #spi_software_mosi_pin:
  1834. #spi_software_miso_pin:
  1835. # These optional parameters allow one to customize the SPI settings
  1836. # used to communicate with the chip.
  1837. #microsteps:
  1838. # The number of microsteps to configure the driver to use. Valid
  1839. # values are 1, 2, 4, 8, 16, 32, 64, 128, 256. This parameter must
  1840. # be provided.
  1841. #interpolate: True
  1842. # If true, enable step interpolation (the driver will internally
  1843. # step at a rate of 256 micro-steps). The default is True.
  1844. #run_current:
  1845. # The amount of current (in amps) to configure the driver to use
  1846. # during stepper movement. This parameter must be provided.
  1847. #hold_current:
  1848. # The amount of current (in amps) to configure the driver to use
  1849. # when the stepper is not moving. The default is to use the same
  1850. # value as run_current.
  1851. #sense_resistor: 0.075
  1852. # The resistance (in ohms) of the motor sense resistor. The default
  1853. # is 0.075 ohms.
  1854. #stealthchop_threshold: 0
  1855. # The velocity (in mm/s) to set the "stealthChop" threshold to. When
  1856. # set, "stealthChop" mode will be enabled if the stepper motor
  1857. # velocity is below this value. The default is 0, which disables
  1858. # "stealthChop" mode. Try to reexperience this with tmc5160.
  1859. # Values can be much higher than other tmcs.
  1860. #driver_IHOLDDELAY: 6
  1861. #driver_TPOWERDOWN: 10
  1862. #driver_TBL: 2
  1863. #driver_TOFF: 3
  1864. #driver_HEND: 2
  1865. #driver_HSTRT: 5
  1866. #driver_FD3: 0
  1867. #driver_TPFD: 4
  1868. #driver_CHM: 0
  1869. #driver_VHIGHFS: 0
  1870. #driver_VHIGHCHM: 0
  1871. #driver_DISS2G: 0
  1872. #driver_DISS2VS: 0
  1873. #driver_PWM_AUTOSCALE: True
  1874. #driver_PWM_AUTOGRAD: True
  1875. #driver_PWM_FREQ: 1
  1876. #driver_FREEWHEEL: 0
  1877. #driver_PWM_GRAD: 0
  1878. #driver_PWM_OFS: 30
  1879. #driver_PWM_REG: 4
  1880. #driver_PWM_LIM: 12
  1881. #driver_SGT: 0
  1882. #driver_SEMIN: 0
  1883. #driver_SEUP: 0
  1884. #driver_SEMAX: 0
  1885. #driver_SEDN: 0
  1886. #driver_SEIMIN: 0
  1887. #driver_SFILT: 0
  1888. # Set the given register during the configuration of the TMC5160
  1889. # chip. This may be used to set custom motor parameters. The
  1890. # defaults for each parameter are next to the parameter name in the
  1891. # above list.
  1892. #diag1_pin:
  1893. # The micro-controller pin attached to the DIAG1 line of the TMC5160
  1894. # chip. Setting this creates a "tmc5160_stepper_x:virtual_endstop"
  1895. # virtual pin which may be used as the stepper's endstop_pin. Doing
  1896. # this enables "sensorless homing". (Be sure to also set driver_SGT
  1897. # to an appropriate sensitivity value.) The default is to not enable
  1898. # sensorless homing. See docs/Sensorless_Homing.md for details on how
  1899. # to configure this.
  1900.  
  1901.  
  1902. ######################################################################
  1903. # Run-time stepper motor current configuration
  1904. ######################################################################
  1905.  
  1906. # Statically configured AD5206 digipots connected via SPI bus (one may
  1907. # define any number of sections with an "ad5206" prefix).
  1908. #[ad5206 my_digipot]
  1909. #enable_pin:
  1910. # The pin corresponding to the AD5206 chip select line. This pin
  1911. # will be set to low at the start of SPI messages and raised to high
  1912. # after the message completes. This parameter must be provided.
  1913. #spi_bus:
  1914. #spi_speed:
  1915. #spi_software_sclk_pin:
  1916. #spi_software_mosi_pin:
  1917. #spi_software_miso_pin:
  1918. # These optional parameters allow one to customize the SPI settings
  1919. # used to communicate with the chip.
  1920. #channel_1:
  1921. #channel_2:
  1922. #channel_3:
  1923. #channel_4:
  1924. #channel_5:
  1925. #channel_6:
  1926. # The value to statically set the given AD5206 channel to. This is
  1927. # typically set to a number between 0.0 and 1.0 with 1.0 being the
  1928. # highest resistance and 0.0 being the lowest resistance. However,
  1929. # the range may be changed with the 'scale' parameter (see below).
  1930. # If a channel is not specified then it is left unconfigured.
  1931. #scale:
  1932. # This parameter can be used to alter how the 'channel_x' parameters
  1933. # are interpreted. If provided, then the 'channel_x' parameters
  1934. # should be between 0.0 and 'scale'. This may be useful when the
  1935. # AD5206 is used to set stepper voltage references. The 'scale' can
  1936. # be set to the equivalent stepper amperage if the AD5206 were at
  1937. # its highest resistance, and then the 'channel_x' parameters can be
  1938. # specified using the desired amperage value for the stepper. The
  1939. # default is to not scale the 'channel_x' parameters.
  1940.  
  1941. # Statically configured MCP4451 digipot connected via I2C bus (one may
  1942. # define any number of sections with an "mcp4451" prefix).
  1943. #[mcp4451 my_digipot]
  1944. #i2c_mcu: mcu
  1945. # The name of the micro-controller that the MCP4451 chip is
  1946. # connected to. The default is "mcu".
  1947. #i2c_address:
  1948. # The i2c address that the chip is using on the i2c bus. This
  1949. # parameter must be provided.
  1950. #wiper_0:
  1951. #wiper_1:
  1952. #wiper_2:
  1953. #wiper_3:
  1954. # The value to statically set the given MCP4451 "wiper" to. This is
  1955. # typically set to a number between 0.0 and 1.0 with 1.0 being the
  1956. # highest resistance and 0.0 being the lowest resistance. However,
  1957. # the range may be changed with the 'scale' parameter (see
  1958. # below). If a wiper is not specified then it is left unconfigured.
  1959. #scale:
  1960. # This parameter can be used to alter how the 'wiper_x' parameters
  1961. # are interpreted. If provided, then the 'wiper_x' parameters should
  1962. # be between 0.0 and 'scale'. This may be useful when the MCP4451 is
  1963. # used to set stepper voltage references. The 'scale' can be set to
  1964. # the equivalent stepper amperage if the MCP4451 were at its highest
  1965. # resistance, and then the 'wiper_x' parameters can be specified
  1966. # using the desired amperage value for the stepper. The default is
  1967. # to not scale the 'wiper_x' parameters.
  1968.  
  1969. # Statically configured MCP4728 digital-to-analog converter connected
  1970. # via I2C bus (one may define any number of sections with an "mcp4728"
  1971. # prefix).
  1972. #[mcp4728 my_dac]
  1973. #i2c_mcu: mcu
  1974. # The name of the micro-controller that the MCP4451 chip is
  1975. # connected to. The default is "mcu".
  1976. #i2c_address: 96
  1977. # The i2c address that the chip is using on the i2c bus. The default
  1978. # is 96.
  1979. #channel_a:
  1980. #channel_b:
  1981. #channel_c:
  1982. #channel_d:
  1983. # The value to statically set the given MCP4728 channel to. This is
  1984. # typically set to a number between 0.0 and 1.0 with 1.0 being the
  1985. # highest voltage (2.048V) and 0.0 being the lowest voltage. However,
  1986. # the range may be changed with the 'scale' parameter (see
  1987. # below). If a channel is not specified then it is left
  1988. # unconfigured.
  1989. #scale:
  1990. # This parameter can be used to alter how the 'channel_x' parameters
  1991. # are interpreted. If provided, then the 'channel_x' parameters
  1992. # should be between 0.0 and 'scale'. This may be useful when the
  1993. # MCP4728 is used to set stepper voltage references. The 'scale' can
  1994. # be set to the equivalent stepper amperage if the MCP4728 were at
  1995. # its highest voltage (2.048V), and then the 'channel_x' parameters
  1996. # can be specified using the desired amperage value for the
  1997. # stepper. The default is to not scale the 'channel_x' parameters.
  1998.  
  1999. # Statically configured MCP4018 digipot connected via two gpio "bit
  2000. # banging" pins (one may define any number of sections with an
  2001. # "mcp4018" prefix).
  2002. #[mcp4018 my_digipot]
  2003. #scl_pin:
  2004. # The SCL "clock" pin. This parameter must be provided.
  2005. #sda_pin:
  2006. # The SDA "data" pin. This parameter must be provided.
  2007. #wiper:
  2008. # The value to statically set the given MCP4018 "wiper" to. This is
  2009. # typically set to a number between 0.0 and 1.0 with 1.0 being the
  2010. # highest resistance and 0.0 being the lowest resistance. However,
  2011. # the range may be changed with the 'scale' parameter (see
  2012. # below). This parameter must be provided.
  2013. #scale:
  2014. # This parameter can be used to alter how the 'wiper' parameter is
  2015. # interpreted. If provided, then the 'wiper' parameter should be
  2016. # between 0.0 and 'scale'. This may be useful when the MCP4018 is
  2017. # used to set stepper voltage references. The 'scale' can be set to
  2018. # the equivalent stepper amperage if the MCP4018 is at its highest
  2019. # resistance, and then the 'wiper' parameter can be specified using
  2020. # the desired amperage value for the stepper. The default is to not
  2021. # scale the 'wiper' parameter.
  2022.  
  2023. ########################################
  2024.  
  2025. #[board_pins]
  2026. #aliases:
  2027. # EXP1 header
  2028. # EXP1_1=PG4, EXP1_3=PD11, EXP1_5=PG2, EXP1_7=PG6, EXP1_9=<GND>,
  2029. # EXP1_2=PA8, EXP1_4=PD10, EXP1_6=PG3, EXP1_8=PG7, EXP1_10=<5V>,
  2030. # EXP2 header
  2031. # EXP2_1=PB14, EXP2_3=PG10, EXP2_5=PF11, EXP2_7=PF12, EXP2_9=<GND>,
  2032. # EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=PF13
  2033. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi2"
  2034.  
  2035. # See the sample-lcd.cfg file for definitions of common LCD displays.
  2036.  
  2037.  
  2038. # This file serves as documentation for config parameters of
  2039. # additional devices that may be configured on a printer. The snippets
  2040. # in this file may be copied into the main printer.cfg file. See the
  2041. # "example.cfg" file for description of common config parameters.
  2042. #
  2043. # Note, where an extra config section creates additional pins, the
  2044. # section defining the pins must be listed in the config file before
  2045. # any sections using those pins.
  2046.  
  2047.  
  2048.  
  2049.  
  2050. ######################################################################
  2051. # Display support
  2052. ######################################################################
  2053.  
  2054. # Support for a display attached to the micro-controller.
  2055.  
  2056. ######################################################################
  2057. # 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
  2058. ######################################################################
  2059.  
  2060. [display]
  2061. lcd_type: st7920
  2062. cs_pin: EXP1_4
  2063. sclk_pin: EXP1_5
  2064. sid_pin: EXP1_3
  2065. encoder_pins: ^EXP2_3, ^EXP2_5
  2066. click_pin: ^!EXP1_2
  2067.  
  2068. [output_pin beeper]
  2069. pin: EXP1_1
  2070.  
  2071.  
  2072. # The type of LCD chip in use. This may be "hd44780" (which is used
  2073. # in "RepRapDiscount 2004 Smart Controller" type displays), "st7920"
  2074. # (which is used in "RepRapDiscount 12864 Full Graphic Smart
  2075. # Controller" type displays), "uc1701" (which is used in "MKS Mini
  2076. # 12864" type displays), or "ssd1306". This parameter must be
  2077. # provided.
  2078. #rs_pin:
  2079. #e_pin:
  2080. #d4_pin:
  2081. #d5_pin:
  2082. #d6_pin:
  2083. #d7_pin:
  2084. # The pins connected to an hd44780 type lcd. These parameters must
  2085. # be provided when using an hd44780 display.
  2086. #cs_pin:
  2087. #sclk_pin:
  2088. #sid_pin:
  2089. # The pins connected to an st7920 type lcd. These parameters must be
  2090. # provided when using an st7920 display.
  2091. #cs_pin:
  2092. #a0_pin:
  2093. # The pins connected to an uc1701 type lcd. These parameters must be
  2094. # provided when using an uc1701 display.
  2095. #rs_pin:
  2096. #cs_pin:
  2097. #a0_pin:
  2098. # The pins connected to an st7567 type lcd. These parameters must be
  2099. # provided when using an st7567 display.
  2100. #contrast:
  2101. # The contrast to set when using a uc1701/st7567 type displays. The value
  2102. # may range from 0 to 63. Default is 40 for uc1701 and 60 for st7567.
  2103. #cs_pin:
  2104. #dc_pin:
  2105. #spi_bus:
  2106. #spi_speed:
  2107. #spi_software_sclk_pin:
  2108. #spi_software_mosi_pin:
  2109. #spi_software_miso_pin:
  2110. # The pins connected to an ssd1306 type lcd when in "4-wire" spi
  2111. # mode. The parameters that start with "spi_" are optional and they
  2112. # control the spi settings used to communicate with the chip. The
  2113. # default is to use i2c mode for ssd1306 displays.
  2114. #reset_pin:
  2115. # A reset pin may be specified on ssd1306 displays. If it is not
  2116. # specified then the hardware must have a pull-up on the
  2117. # corresponding lcd line.
  2118. #menu_root:
  2119. # Entry point for menu, root menu container name. If this parameter
  2120. # is not provided then default menu root is used. When provided
  2121. # menu entry is 'deck' type then it'll be initiated immediately at startup.
  2122. # Description of menu items is located in example-menu.cfg file.
  2123. #menu_timeout:
  2124. # Timeout for menu. Being inactive this amount of seconds will trigger
  2125. # menu exit or return to root menu when having autorun enabled.
  2126. # The default is 0 seconds (disabled)
  2127. #encoder_pins:
  2128. # The pins connected to encoder. 2 pins must be provided when
  2129. # using encoder. This parameter must be provided when using menu.
  2130. #click_pin:
  2131. # The pin connected to 'enter' button or encoder 'click'. This parameter
  2132. # must be provided when using menu. The presence of an 'analog_range_click_pin'
  2133. # config parameter turns this parameter from digital to analog.
  2134. #back_pin:
  2135. # The pin connected to 'back' button. This parameter is optional, menu
  2136. # can be used without it. The presence of an 'analog_range_back_pin'
  2137. # config parameter turns this parameter from digital to analog.
  2138. #up_pin:
  2139. # The pin connected to 'up' button. This parameter must be provided
  2140. # when using menu without encoder. The presence of an 'analog_range_up_pin'
  2141. # config parameter turns this parameter from digital to analog.
  2142. #down_pin:
  2143. # The pin connected to 'down' button. This parameter must be provided
  2144. # when using menu without encoder. The presence of an 'analog_range_down_pin'
  2145. # config parameter turns this parameter from digital to analog.
  2146. #kill_pin:
  2147. # The pin connected to 'kill' button. This button will call emergency stop.
  2148. # The presence of an 'analog_range_kill_pin' config parameter turns this
  2149. # parameter from digital to analog.
  2150. #analog_pullup_resistor: 4700
  2151. # The resistance (in ohms) of the pullup attached to the analog button.
  2152. # The default is 4700 ohms.
  2153. #analog_pin_debug:
  2154. # When enabled it will output analog (ADC) button readings to the log.
  2155. # It's useful for finding analog button resistance range values.
  2156. # The default is False (disabled)
  2157. #analog_range_click_pin:
  2158. # The resistance range for a 'enter' button. Range minimum and maximum
  2159. # comma-separated values must be provided when using analog button.
  2160. #analog_range_back_pin:
  2161. # The resistance range for a 'back' button. Range minimum and maximum
  2162. # comma-separated values must be provided when using analog button.
  2163. #analog_range_up_pin:
  2164. # The resistance range for a 'up' button. Range minimum and maximum
  2165. # comma-separated values must be provided when using analog button.
  2166. #analog_range_down_pin:
  2167. # The resistance range for a 'down' button. Range minimum and maximum
  2168. # comma-separated values must be provided when using analog button.
  2169. #analog_range_kill_pin:
  2170. # The resistance range for a 'kill' button. Range minimum and maximum
  2171. # comma-separated values must be provided when using analog button.
  2172.  
  2173.  
  2174. ######################################################################
  2175. # Filament sensors
  2176. ######################################################################
  2177.  
  2178. # Filament Switch Sensor. Support for filament insert and runout detection
  2179. # using a switch sensor, such as an endstop switch.
  2180. [filament_switch_sensor my_sensor]
  2181. pause_on_runout: True
  2182. # When set to True, a PAUSE will execute immediately after a runout
  2183. # is detected. Note that if pause_on_runout is False and the
  2184. # runout_gcode is omitted then runout detection is disabled. Default
  2185. # is True.
  2186. #runout_gcode:
  2187. # A list of G-Code commands to execute after a filament runout is
  2188. # detected. See docs/Command_Templates.md for G-Code format. If
  2189. # pause_on_runout is set to True this G-Code will run after the
  2190. # PAUSE is complete. The default is not to run any G-Code commands.
  2191. #insert_gcode:
  2192. # A list of G-Code commands to execute after a filament insert is
  2193. # detected. See docs/Command_Templates.md for G-Code format. The
  2194. # default is not to run any G-Code commands, which disables insert
  2195. # detection.
  2196. #event_delay: 3.0
  2197. # The minimum amount of time in seconds to delay between events.
  2198. # Events triggered during this time period will be silently
  2199. # ignored. The default is 3 seconds.
  2200. #pause_delay: 0.5
  2201. # The amount of time to delay, in seconds, between the pause command
  2202. # dispatch and execution of the runout_gcode. It may be useful to
  2203. # increase this delay if Octoprint exhibits strange pause behavior.
  2204. # Default is 0.5 seconds.
  2205. switch_pin: PE15
  2206. # The pin on which the switch is connected. This parameter must be
  2207. # provided.
  2208.  
  2209. # TSLl401CL Based Filament Width Sensor
  2210. #[tsl1401cl_filament_width_sensor]
  2211. #pin: analog5
  2212. #default_nominal_filament_diameter: 1.75 # (mm)
  2213. # Maximum allowed filament diameter difference as mm
  2214. #max_difference: 0.2
  2215. # The distance from sensor to the melting chamber as mm
  2216. #measurement_delay: 100
  2217.  
  2218.  
  2219. ######################################################################
  2220. # Board specific hardware support
  2221. ######################################################################
  2222.  
  2223. # Configure an SX1509 I2C to GPIO expander. Due to the delay incurred
  2224. # by I2C communication you should NOT use SX1509 pins as stepper enable,
  2225. # step or dir pins or any other pin that requires fast bit-banging. They
  2226. # are best used as static or gcode controlled digital outputs or hardware-pwm
  2227. # pins for e.g. fans. One may define any number of sections with an "sx1509"
  2228. # prefix. Each expander provides a set of 16 pins (sx1509_my_sx1509:PIN_0 to
  2229. # sx1509_my_sx1509:PIN_15) which can be used in the printer configuration.
  2230. #[sx1509 my_sx1509]
  2231. #i2c_mcu: mcu
  2232. # The name of the micro-controller that the SX1509 chip is connected
  2233. # to. The default is "mcu".
  2234. #i2c_address:
  2235. # I2C address used by this expander. Depending on the hardware jumpers
  2236. # this is one out of the following addresses: 62 63 112 113. This
  2237. # parameter must be provided.
  2238. #i2c_bus:
  2239. # If the I2C implementation of your microcontroller supports
  2240. # multiple I2C busses, you may specify the bus name here. The
  2241. # default is to use the default micro-controller i2c bus.
  2242.  
  2243. # SAMD SERCOM configuration to specify which pins to use on a given SERCOM.
  2244. # One may define one section with the "samd_sercom" prefix per
  2245. # SERCOM available. Each SERCOM must be configured prior to using it as
  2246. # SPI or I2C peripheral. Place this config section above any other section
  2247. # that makes use of SPI or I2C buses.
  2248. #[samd_sercom sercom0]
  2249. #tx_pin:
  2250. # MOSI pin for SPI communication, or SDA (data) pin for I2C
  2251. # communication. The pin must have a valid pinmux configuration
  2252. # for the given SERCOM peripheral. This parameter must be provided.
  2253. #rx_pin:
  2254. # MISO pin for SPI communication. This pin is not used for I2C
  2255. # communication (I2C uses tx_pin for both sending and receiving).
  2256. # The pin must have a valid pinmux configuration for the given
  2257. # SERCOM peripheral. This parameter is optional.
  2258. #clk_pin:
  2259. # CLK pin for SPI communication, or SCL (clock) pin for I2C
  2260. # communication. The pin must have a valid pinmux configuration
  2261. # for the given SERCOM peripheral. This parameter must be provided.
  2262.  
  2263. # Replicape support - see the generic-replicape.cfg file for further
  2264. # details.
  2265. #[replicape]
  2266.  
  2267. #*# <---------------------- SAVE_CONFIG ---------------------->
  2268. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  2269. #*#
  2270. #*# [extruder]
  2271. #*# control = pid
  2272. #*# pid_kp = 26.895
  2273. #*# pid_ki = 1.061
  2274. #*# pid_kd = 170.448
  2275. #*#
  2276. #*# [heater_bed]
  2277. #*# control = pid
  2278. #*# pid_kp = 54.304
  2279. #*# pid_ki = 1.114
  2280. #*# pid_kd = 661.835
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement