Guest User

Klipperlog

a guest
Sep 5th, 2021
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Starting Klippy...
  2. Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/printer.cfg', '-l', '/tmp/klippy.log']
  3. Git version: 'v0.9.1-758-gf11acd80'
  4. CPU: 4 core ARMv7 Processor rev 4 (v7l)
  5. Python: '2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]'
  6. Start printer at Tue Aug 31 07:49:54 2021 (1630392594.2 13.8)
  7. ===== Config file =====
  8. [gcode_macro START_PRINT]
  9. variable_t_bed = 60
  10. variable_t_extruder = 200
  11. gcode =
  12. G90
  13. SET_GCODE_OFFSET Z=0.0
  14. M140 S{T_BED}
  15. {% if printer.heater_bed.temperature < params.T_BED|float*0.85 %}
  16. M190 S{params.T_BED|float*0.85}
  17. {% endif %}
  18. M140 S{T_BED}
  19. M104 S170
  20. M190 S{T_BED}
  21. G28
  22. G29
  23. BED_MESH_PROFILE LOAD=default
  24. G1 X2 Y20 Z10 F6000
  25. M109 S{T_EXTRUDER}
  26. PURGE
  27.  
  28. [gcode_macro END_PRINT]
  29. gcode =
  30. G91
  31. G1 E-3 Z+10 F3000
  32. G90
  33. G1 X5 Y295 F2000
  34. M140 S0
  35. M104 S0
  36. M107
  37. M84
  38. BED_MESH_CLEAR
  39. M117 Bravo :)
  40.  
  41. [gcode_macro PURGE]
  42. gcode =
  43. G92 E0
  44. G1 Z2.0 F3000 ;Move Z Axis up
  45. G1 X2 Y30 Z0.28 F5000.0 ;Move to start position
  46. G1 X2 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line
  47. G1 X3 Y200.0 Z0.28 F5000.0 ;Move to side a little
  48. G1 X3 Y50 Z0.28 F1500.0 E30 ;Draw the second line
  49. G92 E0
  50. G1 Z2.0 F3000
  51.  
  52. [gcode_macro G29]
  53. gcode =
  54. G28
  55. BED_MESH_CALIBRATE
  56. G0 X0 Y0 Z10 F6000
  57. BED_MESH_PROFILE SAVE=default
  58.  
  59. [gcode_macro M125]
  60. gcode =
  61. SAVE_GCODE_STATE NAME=parking
  62. G91
  63. M117 Park toolhead ...
  64. G1 Z10 F600
  65. G90
  66. G1 X150 Y0 F4000
  67. M117
  68. RESTORE_GCODE_STATE NAME=parking
  69.  
  70. [gcode_macro LOW_TEMP_CHECK_T]
  71. default_parameter_t = 200
  72. gcode =
  73. {% if printer.extruder.target != 0 %}
  74. {% if printer.extruder.temperature < printer.extruder.target %}
  75. M118 Heating from {printer.extruder.temperature} to {printer.extruder.target}.
  76. M109 S{printer.extruder.target|float}
  77. {% endif %}
  78. {% else %}
  79. {% if printer.extruder.target < T %}
  80. M118 No setpoint, heating to {T}.
  81. M109 S{T}
  82. {% endif %}
  83. {% endif %}
  84.  
  85. [gcode_macro M701]
  86. gcode =
  87. SAVE_GCODE_STATE NAME=loading_filament
  88. M117 Loading Filament ...
  89. M83
  90. G92 E0.0
  91. LOW_TEMP_CHECK
  92. G1 E50 F200
  93. G1 E10 F200
  94. G92 E0.0
  95. M117
  96. RESTORE_GCODE_STATE NAME=loading_filament
  97.  
  98. [gcode_macro M702]
  99. gcode =
  100. SAVE_GCODE_STATE NAME=unloading_filament
  101. M125
  102. M117 Unloading Filament ...
  103. LOW_TEMP_CHECK
  104. G91
  105. G1 E10 F100
  106. G92 E0.0
  107. G1 E-120 F2400
  108. G92 E0.0
  109. M117
  110. RESTORE_GCODE_STATE NAME=unloading_filament
  111.  
  112. [gcode_macro M600]
  113. gcode =
  114. SAVE_GCODE_STATE NAME=filament_change
  115. PAUSE
  116. G91
  117. G1 E-1 F300
  118. M125
  119. SET_STEPPER_ENABLE STEPPER=extruder ENABLE=0
  120. M300 P500 S 1000
  121. M104 S0
  122.  
  123. [gcode_macro FILAMENT_RESUME]
  124. gcode =
  125. RESUME
  126. RESTORE_GCODE_STATE NAME=filament_change
  127.  
  128. [gcode_macro RESUME]
  129. rename_existing = BASE_RESUME
  130. gcode =
  131. {% if printer['filament_switch_sensor my_sensor'].filament_detected != True %}
  132. {action_respond_info("No filament present, abort resume")}
  133. {% else %}
  134. BASE_RESUME
  135. {% endif %}
  136.  
  137. [gcode_macro M108]
  138. gcode =
  139. TURN_OFF_HEATERS
  140.  
  141. [gcode_macro CANCEL_PRINTING]
  142. gcode =
  143. G91
  144. G0 Z10 F600
  145. G90
  146. G0 X0 Y290 F4000
  147. M104 S0
  148. M140 S0
  149. M106 S0
  150.  
  151. [menu __main]
  152. type = list
  153. name = Main
  154.  
  155. [menu __main __filrunout]
  156. type = list
  157. enable = {printer.pause_resume.is_paused}
  158. name = Fil. Runout
  159. index = 1
  160.  
  161. [menu __main __filrunout __hotend0_target]
  162. type = input
  163. enable = {'extruder' in printer}
  164. name = {"Ex0:%3.0f (%4.0f)" % (menu.input, printer.extruder.temperature)}
  165. input = {printer.extruder.target}
  166. input_min = 0
  167. input_max = {printer.configfile.config.extruder.max_temp}
  168. input_step = 1
  169. gcode = M104 T0 S{'%.0f' % menu.input}
  170.  
  171. [menu __main __filrunout __unloads]
  172. type = command
  173. name = Unload Filament
  174. gcode =
  175. SAVE_GCODE_STATE NAME=__filament__load
  176. M83
  177. G1 E-120 F480
  178. RESTORE_GCODE_STATE NAME=__filament__load
  179.  
  180. [menu __main __filrunout __loads]
  181. type = command
  182. name = Load Filament
  183. gcode =
  184. SAVE_GCODE_STATE NAME=__filament__load
  185. M83
  186. G1 E120 F480
  187. RESTORE_GCODE_STATE NAME=__filament__load
  188.  
  189. [menu __main __filrunout __resumeprint]
  190. type = command
  191. enable = {not printer.idle_timeout.state == "Printing"}
  192. name = Resume printing
  193. gcode =
  194. FILAMENT_RESUME
  195.  
  196. [menu __main __filrunout __cancelprint]
  197. type = command
  198. enable = True
  199. name = Cancel printing
  200. gcode =
  201. CANCEL_PRINT
  202.  
  203. [menu __main __tune]
  204. type = list
  205. enable = {printer.idle_timeout.state == "Printing"}
  206. name = Tune
  207. index = 2
  208.  
  209. [menu __main __tune __speed]
  210. type = input
  211. name = Speed: {'%3d' % (menu.input*100)}%
  212. input = {printer.gcode_move.speed_factor}
  213. input_min = 0
  214. input_max = 2
  215. input_step = 0.01
  216. realtime = True
  217. gcode =
  218. M220 S{'%d' % (menu.input*100)}
  219.  
  220. [menu __main __tune __flow]
  221. type = input
  222. name = Flow: {'%3d' % (menu.input*100)}%
  223. input = {printer.gcode_move.extrude_factor}
  224. input_min = 0
  225. input_max = 2
  226. input_step = 0.01
  227. realtime = True
  228. gcode =
  229. M221 S{'%d' % (menu.input*100)}
  230.  
  231. [menu __main __tune __offsetz]
  232. type = input
  233. name = Offset Z:{'%05.3f' % menu.input}
  234. input = {printer.gcode_move.homing_origin.z}
  235. input_min = -5
  236. input_max = 5
  237. input_step = 0.005
  238. realtime = True
  239. gcode =
  240. SET_GCODE_OFFSET Z={'%.3f' % menu.input} MOVE=1
  241.  
  242. [menu __main __octoprint]
  243. type = list
  244. name = OctoPrint
  245. index = 3
  246.  
  247. [menu __main __octoprint __pause]
  248. type = command
  249. enable = {printer.idle_timeout.state == "Printing"}
  250. name = Pause printing
  251. gcode =
  252. {action_respond_info('action:pause')}
  253.  
  254. [menu __main __octoprint __resume]
  255. type = command
  256. enable = {not printer.idle_timeout.state == "Printing"}
  257. name = Resume printing
  258. gcode =
  259. {action_respond_info('action:resume')}
  260.  
  261. [menu __main __octoprint __abort]
  262. type = command
  263. enable = {printer.idle_timeout.state == "Printing"}
  264. name = Abort printing
  265. gcode =
  266. {action_respond_info('action:cancel')}
  267.  
  268. [menu __main __sdcard]
  269. type = vsdlist
  270. enable = {('virtual_sdcard' in printer)}
  271. name = SD Card
  272.  
  273. [menu __main __sdcard __start]
  274. type = command
  275. enable = {('virtual_sdcard' in printer) and not printer.idle_timeout.state == "Printing"}
  276. name = Start printing
  277. gcode = M24
  278.  
  279. [menu __main __sdcard __resume]
  280. type = command
  281. enable = {('virtual_sdcard' in printer) and printer.idle_timeout.state == "Printing"}
  282. name = Resume printing
  283. gcode = M24
  284.  
  285. [menu __main __sdcard __pause]
  286. type = command
  287. enable = {('virtual_sdcard' in printer) and printer.idle_timeout.state == "Printing"}
  288. name = Pause printing
  289. gcode = M25
  290.  
  291. [menu __main __control]
  292. type = list
  293. name = Control
  294. index = 4
  295.  
  296. [menu __main __control __home]
  297. type = command
  298. enable = {not printer.idle_timeout.state == "Printing"}
  299. name = Home All
  300. gcode = G28
  301.  
  302. [menu __main __control __homez]
  303. type = command
  304. enable = {not printer.idle_timeout.state == "Printing"}
  305. name = Home Z
  306. gcode = G28 Z
  307.  
  308. [menu __main __control __homexy]
  309. type = command
  310. enable = {not printer.idle_timeout.state == "Printing"}
  311. name = Home X/Y
  312. gcode = G28 X Y
  313.  
  314. [menu __main __control __disable]
  315. type = command
  316. name = Steppers off
  317. gcode =
  318. M84
  319. M18
  320.  
  321. [menu __main __control __fanonoff]
  322. type = input
  323. enable = {'fan' in printer}
  324. name = Fan: {'ON ' if menu.input else 'OFF'}
  325. input = {printer.fan.speed}
  326. input_min = 0
  327. input_max = 1
  328. input_step = 1
  329. gcode =
  330. M106 S{255 if menu.input else 0}
  331.  
  332. [menu __main __control __fanspeed]
  333. type = input
  334. enable = {'fan' in printer}
  335. name = Fan speed: {'%3d' % (menu.input*100)}%
  336. input = {printer.fan.speed}
  337. input_min = 0
  338. input_max = 1
  339. input_step = 0.01
  340. gcode =
  341. M106 S{'%d' % (menu.input*255)}
  342.  
  343. [menu __main __control __caselightonoff]
  344. type = input
  345. enable = {'output_pin caselight' in printer}
  346. name = Lights: {'ON ' if menu.input else 'OFF'}
  347. input = {printer['output_pin caselight'].value}
  348. input_min = 0
  349. input_max = 1
  350. input_step = 1
  351. gcode =
  352. SET_PIN PIN=caselight VALUE={1 if menu.input else 0}
  353.  
  354. [menu __main __control __caselightpwm]
  355. type = input
  356. enable = {'output_pin caselight' in printer}
  357. name = Lights: {'%3d' % (menu.input*100)}%
  358. input = {printer['output_pin caselight'].value}
  359. input_min = 0.0
  360. input_max = 1.0
  361. input_step = 0.01
  362. gcode =
  363. SET_PIN PIN=caselight VALUE={menu.input}
  364.  
  365. [menu __main __control __move_10mm]
  366. type = list
  367. enable = {not printer.idle_timeout.state == "Printing"}
  368. name = Move 10mm
  369.  
  370. [menu __main __control __move_10mm __axis_x]
  371. type = input
  372. name = Move X:{'%05.1f' % menu.input}
  373. input = {printer.gcode_move.gcode_position.x}
  374. input_min = 0
  375. input_max = 200
  376. input_step = 10.0
  377. gcode =
  378. SAVE_GCODE_STATE NAME=__move__axis
  379. G90
  380. G1 X{menu.input}
  381. RESTORE_GCODE_STATE NAME=__move__axis
  382.  
  383. [menu __main __control __move_10mm __axis_y]
  384. type = input
  385. name = Move Y:{'%05.1f' % menu.input}
  386. input = {printer.gcode_move.gcode_position.y}
  387. input_min = 0
  388. input_max = 200
  389. input_step = 10.0
  390. gcode =
  391. SAVE_GCODE_STATE NAME=__move__axis
  392. G90
  393. G1 Y{menu.input}
  394. RESTORE_GCODE_STATE NAME=__move__axis
  395.  
  396. [menu __main __control __move_10mm __axis_z]
  397. type = input
  398. enable = {not printer.idle_timeout.state == "Printing"}
  399. name = Move Z:{'%05.1f' % menu.input}
  400. input = {printer.gcode_move.gcode_position.z}
  401. input_min = 0
  402. input_max = 200
  403. input_step = 10.0
  404. gcode =
  405. SAVE_GCODE_STATE NAME=__move__axis
  406. G90
  407. G1 Z{menu.input}
  408. RESTORE_GCODE_STATE NAME=__move__axis
  409.  
  410. [menu __main __control __move_10mm __axis_e]
  411. type = input
  412. enable = {not printer.idle_timeout.state == "Printing"}
  413. name = Move E:{'%+06.1f' % menu.input}
  414. input = 0
  415. input_min = -50
  416. input_max = 50
  417. input_step = 10.0
  418. gcode =
  419. SAVE_GCODE_STATE NAME=__move__axis
  420. M83
  421. G1 E{menu.input} F240
  422. RESTORE_GCODE_STATE NAME=__move__axis
  423.  
  424. [menu __main __control __move_1mm]
  425. type = list
  426. enable = {not printer.idle_timeout.state == "Printing"}
  427. name = Move 1mm
  428.  
  429. [menu __main __control __move_1mm __axis_x]
  430. type = input
  431. name = Move X:{'%05.1f' % menu.input}
  432. input = {printer.gcode_move.gcode_position.x}
  433. input_min = 0
  434. input_max = 200
  435. input_step = 1.0
  436. gcode =
  437. SAVE_GCODE_STATE NAME=__move__axis
  438. G90
  439. G1 X{menu.input}
  440. RESTORE_GCODE_STATE NAME=__move__axis
  441.  
  442. [menu __main __control __move_1mm __axis_y]
  443. type = input
  444. name = Move Y:{'%05.1f' % menu.input}
  445. input = {printer.gcode_move.gcode_position.y}
  446. input_min = 0
  447. input_max = 200
  448. input_step = 1.0
  449. gcode =
  450. SAVE_GCODE_STATE NAME=__move__axis
  451. G90
  452. G1 Y{menu.input}
  453. RESTORE_GCODE_STATE NAME=__move__axis
  454.  
  455. [menu __main __control __move_1mm __axis_z]
  456. type = input
  457. enable = {not printer.idle_timeout.state == "Printing"}
  458. name = Move Z:{'%05.1f' % menu.input}
  459. input = {printer.gcode_move.gcode_position.z}
  460. input_min = 0
  461. input_max = 200
  462. input_step = 1.0
  463. gcode =
  464. SAVE_GCODE_STATE NAME=__move__axis
  465. G90
  466. G1 Z{menu.input}
  467. RESTORE_GCODE_STATE NAME=__move__axis
  468.  
  469. [menu __main __control __move_1mm __axis_e]
  470. type = input
  471. enable = {not printer.idle_timeout.state == "Printing"}
  472. name = Move E:{'%+06.1f' % menu.input}
  473. input = 0
  474. input_min = -50
  475. input_max = 50
  476. input_step = 1.0
  477. gcode =
  478. SAVE_GCODE_STATE NAME=__move__axis
  479. M83
  480. G1 E{menu.input} F240
  481. RESTORE_GCODE_STATE NAME=__move__axis
  482.  
  483. [menu __main __control __move_01mm]
  484. type = list
  485. enable = {not printer.idle_timeout.state == "Printing"}
  486. name = Move 0.1mm
  487.  
  488. [menu __main __control __move_01mm __axis_x]
  489. type = input
  490. name = Move X:{'%05.1f' % menu.input}
  491. input = {printer.gcode_move.gcode_position.x}
  492. input_min = 0
  493. input_max = 200
  494. input_step = 0.1
  495. gcode =
  496. SAVE_GCODE_STATE NAME=__move__axis
  497. G90
  498. G1 X{menu.input}
  499. RESTORE_GCODE_STATE NAME=__move__axis
  500.  
  501. [menu __main __control __move_01mm __axis_y]
  502. type = input
  503. name = Move Y:{'%05.1f' % menu.input}
  504. input = {printer.gcode_move.gcode_position.y}
  505. input_min = 0
  506. input_max = 200
  507. input_step = 0.1
  508. gcode =
  509. SAVE_GCODE_STATE NAME=__move__axis
  510. G90
  511. G1 Y{menu.input}
  512. RESTORE_GCODE_STATE NAME=__move__axis
  513.  
  514. [menu __main __control __move_01mm __axis_z]
  515. type = input
  516. enable = {not printer.idle_timeout.state == "Printing"}
  517. name = Move Z:{'%05.1f' % menu.input}
  518. input = {printer.gcode_move.gcode_position.z}
  519. input_min = 0
  520. input_max = 200
  521. input_step = 0.1
  522. gcode =
  523. SAVE_GCODE_STATE NAME=__move__axis
  524. G90
  525. G1 Z{menu.input}
  526. RESTORE_GCODE_STATE NAME=__move__axis
  527.  
  528. [menu __main __control __move_01mm __axis_e]
  529. type = input
  530. enable = {not printer.idle_timeout.state == "Printing"}
  531. name = Move E:{'%+06.1f' % menu.input}
  532. input = 0
  533. input_min = -50
  534. input_max = 50
  535. input_step = 0.1
  536. gcode =
  537. SAVE_GCODE_STATE NAME=__move__axis
  538. M83
  539. G1 E{menu.input} F240
  540. RESTORE_GCODE_STATE NAME=__move__axis
  541.  
  542. [menu __main __temp]
  543. type = list
  544. name = Temperature
  545. index = 5
  546.  
  547. [menu __main __temp __hotend0_target]
  548. type = input
  549. enable = {'extruder' in printer}
  550. name = {"Ex0:%3.0f (%4.0f)" % (menu.input, printer.extruder.temperature)}
  551. input = {printer.extruder.target}
  552. input_min = 0
  553. input_max = {printer.configfile.config.extruder.max_temp}
  554. input_step = 1
  555. gcode = M104 T0 S{'%.0f' % menu.input}
  556.  
  557. [menu __main __temp __hotend1_target]
  558. type = input
  559. enable = {'extruder1' in printer}
  560. name = {"Ex1:%3.0f (%4.0f)" % (menu.input, printer.extruder1.temperature)}
  561. input = {printer.extruder1.target}
  562. input_min = 0
  563. input_max = {printer.configfile.config.extruder1.max_temp}
  564. input_step = 1
  565. gcode = M104 T1 S{'%.0f' % menu.input}
  566.  
  567. [menu __main __temp __hotbed_target]
  568. type = input
  569. enable = {'heater_bed' in printer}
  570. name = {"Bed:%3.0f (%4.0f)" % (menu.input, printer.heater_bed.temperature)}
  571. input = {printer.heater_bed.target}
  572. input_min = 0
  573. input_max = {printer.configfile.config.heater_bed.max_temp}
  574. input_step = 1
  575. gcode = M140 S{'%.0f' % menu.input}
  576.  
  577. [menu __main __temp __preheat_pla]
  578. type = list
  579. name = Preheat PLA
  580.  
  581. [menu __main __temp __preheat_pla __all]
  582. type = command
  583. enable = {('extruder' in printer) and ('heater_bed' in printer)}
  584. name = Preheat all
  585. gcode =
  586. M140 S60
  587. M104 S200
  588.  
  589. [menu __main __temp __preheat_pla __hotend]
  590. type = command
  591. enable = {'extruder' in printer}
  592. name = Preheat hotend
  593. gcode = M104 S200
  594.  
  595. [menu __main __temp __preheat_pla __hotbed]
  596. type = command
  597. enable = {'heater_bed' in printer}
  598. name = Preheat hotbed
  599. gcode = M140 S60
  600.  
  601. [menu __main __temp __preheat_abs]
  602. type = list
  603. name = Preheat ABS
  604.  
  605. [menu __main __temp __preheat_abs __all]
  606. type = command
  607. enable = {('extruder' in printer) and ('heater_bed' in printer)}
  608. name = Preheat all
  609. gcode =
  610. M140 S110
  611. M104 S245
  612.  
  613. [menu __main __temp __preheat_abs __hotend]
  614. type = command
  615. enable = {'extruder' in printer}
  616. name = Preheat hotend
  617. gcode = M104 S245
  618.  
  619. [menu __main __temp __preheat_abs __hotbed]
  620. type = command
  621. enable = {'heater_bed' in printer}
  622. name = Preheat hotbed
  623. gcode = M140 S110
  624.  
  625. [menu __main __temp __cooldown]
  626. type = list
  627. name = Cooldown
  628.  
  629. [menu __main __temp __cooldown __all]
  630. type = command
  631. enable = {('extruder' in printer) and ('heater_bed' in printer)}
  632. name = Cooldown all
  633. gcode =
  634. M104 S0
  635. M140 S0
  636.  
  637. [menu __main __temp __cooldown __hotend]
  638. type = command
  639. enable = {'extruder' in printer}
  640. name = Cooldown hotend
  641. gcode = M104 S0
  642.  
  643. [menu __main __temp __cooldown __hotbed]
  644. type = command
  645. enable = {'heater_bed' in printer}
  646. name = Cooldown hotbed
  647. gcode = M140 S0
  648.  
  649. [menu __main __filament]
  650. type = list
  651. name = Filament
  652. index = 6
  653.  
  654. [menu __main __filament __hotend0_target]
  655. type = input
  656. enable = {'extruder' in printer}
  657. name = {"Ex0:%3.0f (%4.0f)" % (menu.input, printer.extruder.temperature)}
  658. input = {printer.extruder.target}
  659. input_min = 0
  660. input_max = {printer.configfile.config.extruder.max_temp}
  661. input_step = 1
  662. gcode = M104 T0 S{'%.0f' % menu.input}
  663.  
  664. [menu __main __filament __loadf]
  665. type = command
  666. name = Load Fil. fast
  667. gcode =
  668. SAVE_GCODE_STATE NAME=__filament__load
  669. M83
  670. G1 E50 F960
  671. RESTORE_GCODE_STATE NAME=__filament__load
  672.  
  673. [menu __main __filament __loads]
  674. type = command
  675. name = Load Fil. slow
  676. gcode =
  677. SAVE_GCODE_STATE NAME=__filament__load
  678. M83
  679. G1 E50 F240
  680. RESTORE_GCODE_STATE NAME=__filament__load
  681.  
  682. [menu __main __filament __unloadf]
  683. type = command
  684. name = Unload Fil.fast
  685. gcode =
  686. SAVE_GCODE_STATE NAME=__filament__load
  687. M83
  688. G1 E-50 F960
  689. RESTORE_GCODE_STATE NAME=__filament__load
  690.  
  691. [menu __main __filament __unloads]
  692. type = command
  693. name = Unload Fil.slow
  694. gcode =
  695. SAVE_GCODE_STATE NAME=__filament__load
  696. M83
  697. G1 E-50 F240
  698. RESTORE_GCODE_STATE NAME=__filament__load
  699.  
  700. [menu __main __filament __feed]
  701. type = input
  702. name = Feed: {'%.1f' % menu.input}
  703. input = 5
  704. input_step = 0.1
  705. gcode =
  706. SAVE_GCODE_STATE NAME=__filament__load
  707. M83
  708. G1 E{'%.1f' % menu.input} F60
  709. RESTORE_GCODE_STATE NAME=__filament__load
  710.  
  711. [menu __main __setup]
  712. type = list
  713. enable = {not printer.idle_timeout.state == "Printing"}
  714. name = Setup
  715. index = 8
  716.  
  717. [menu __main __setup __save_config]
  718. type = command
  719. name = Save config
  720. gcode = SAVE_CONFIG
  721.  
  722. [menu __main __setup __restart]
  723. type = list
  724. name = Restart
  725.  
  726. [menu __main __setup __restart __host_restart]
  727. type = command
  728. enable = {not printer.idle_timeout.state == "Printing"}
  729. name = Restart host
  730. gcode = RESTART
  731.  
  732. [menu __main __setup __restart __firmware_restart]
  733. type = command
  734. enable = {not printer.idle_timeout.state == "Printing"}
  735. name = Restart FW
  736. gcode = FIRMWARE_RESTART
  737.  
  738. [menu __main __setup __tuning]
  739. type = list
  740. name = PID tuning
  741.  
  742. [menu __main __setup __tuning __hotend_pid_tuning]
  743. type = command
  744. enable = {(not printer.idle_timeout.state == "Printing") and ('extruder' in printer)}
  745. name = Tune Hotend PID
  746. gcode = PID_CALIBRATE HEATER=extruder TARGET=210 WRITE_FILE=1
  747.  
  748. [menu __main __setup __tuning __hotbed_pid_tuning]
  749. type = command
  750. enable = {(not printer.idle_timeout.state == "Printing") and ('heater_bed' in printer)}
  751. name = Tune Hotbed PID
  752. gcode = PID_CALIBRATE HEATER=heater_bed TARGET=60 WRITE_FILE=1
  753.  
  754. [menu __main __setup __calib]
  755. type = list
  756. name = Calibration
  757.  
  758. [menu __main __setup __calib __delta_calib_auto]
  759. type = command
  760. enable = {not printer.idle_timeout.state == "Printing"}
  761. name = Delta cal. auto
  762. gcode =
  763. G28
  764. DELTA_CALIBRATE
  765.  
  766. [menu __main __setup __calib __delta_calib_man]
  767. type = list
  768. enable = {not printer.idle_timeout.state == "Printing"}
  769. name = Delta cal. man
  770.  
  771. [menu __main __setup __calib __bedprobe]
  772. type = command
  773. enable = {not printer.idle_timeout.state == "Printing"}
  774. name = Bed probe
  775. gcode = PROBE
  776.  
  777. [menu __main __setup __calib __delta_calib_man __start]
  778. type = command
  779. name = Start probing
  780. gcode =
  781. G28
  782. DELTA_CALIBRATE METHOD=manual
  783.  
  784. [menu __main __setup __calib __delta_calib_man __move_z]
  785. type = input
  786. name = Move Z: {'%03.2f' % menu.input}
  787. input = {printer.gcode_move.gcode_position.z}
  788. input_step = 1
  789. realtime = True
  790. gcode =
  791. {%- if menu.event == 'change' -%}
  792. G1 Z{'%.2f' % menu.input}
  793. {%- elif menu.event == 'long_click' -%}
  794. G1 Z{'%.2f' % menu.input}
  795. SAVE_GCODE_STATE NAME=__move__axis
  796. G91
  797. G1 Z2
  798. G1 Z-2
  799. RESTORE_GCODE_STATE NAME=__move__axis
  800. {%- endif -%}
  801.  
  802. [menu __main __setup __calib __delta_calib_man __test_z]
  803. type = input
  804. name = Test Z: {['++','+','+.01','+.05','+.1','+.5','-.5','-.1','-.05','-.01','-','--'][menu.input|int]}
  805. input = 6
  806. input_min = 0
  807. input_max = 11
  808. input_step = 1
  809. gcode =
  810. {%- if menu.event == 'long_click' -%}
  811. TESTZ Z={['++','+','+.01','+.05','+.1','+.5','-.5','-.1','-.05','-.01','-','--'][menu.input|int]}
  812. {%- endif -%}
  813.  
  814. [menu __main __setup __calib __delta_calib_man __accept]
  815. type = command
  816. name = Accept
  817. gcode = ACCEPT
  818.  
  819. [menu __main __setup __calib __delta_calib_man __abort]
  820. type = command
  821. name = Abort
  822. gcode = ABORT
  823.  
  824. [menu __main __setup __dump]
  825. type = command
  826. name = Dump parameters
  827. gcode =
  828. {% for name1 in printer %}
  829. {% for name2 in printer[name1] %}
  830. { action_respond_info("printer['%s'].%s = %s"
  831. % (name1, name2, printer[name1][name2])) }
  832. {% else %}
  833. { action_respond_info("printer['%s'] = %s" % (name1, printer[name1])) }
  834. {% endfor %}
  835. {% endfor %}
  836.  
  837. [bltouch]
  838. control_pin = P2.0
  839. sensor_pin = ^P0.10
  840. pin_move_time = 0.680
  841. x_offset = 47
  842. y_offset = 0
  843. z_offset = 2.41
  844. speed = 70
  845. samples = 2
  846. probe_with_touch_mode = True
  847. stow_on_each_sample = False
  848.  
  849. [bed_screws]
  850. screw1 = 35,40
  851. screw1_name = Av_gauche
  852. screw2 = 35,270
  853. screw2_name = Ar_gauche
  854. screw3 = 275,270
  855. screw3_name = Ar_droit
  856. screw4 = 275,40
  857. screw4_name = Av_droit
  858.  
  859. [screws_tilt_adjust]
  860. screw1 = 0,40
  861. screw1_name = Av_gauche
  862. screw2 = 0,270
  863. screw2_name = Ar_gauche
  864. screw3 = 230,270
  865. screw3_name = Ar_droit
  866. screw4 = 230,40
  867. screw4_name = Av_droit
  868. horizontal_move_z = 10
  869. speed = 180
  870. screw_thread = CW-M4
  871.  
  872. [bed_mesh]
  873. speed = 180
  874. probe_count = 5,5
  875. mesh_min = 57,10
  876. mesh_max = 290,290
  877. horizontal_move_z = 5
  878. mesh_pps = 2,2
  879.  
  880. [respond]
  881. default_type = echo
  882.  
  883. [force_move]
  884. enable_force_move = True
  885.  
  886. [pause_resume]
  887.  
  888. [gcode_arcs]
  889. resolution = 1.0
  890.  
  891. [stepper_x]
  892. step_pin = P2.2
  893. dir_pin = !P2.6
  894. enable_pin = !P2.1
  895. microsteps = 16
  896. rotation_distance = 40
  897. endstop_pin = ^P1.29
  898. position_endstop = 0
  899. position_max = 310
  900. homing_speed = 50
  901.  
  902. [stepper_y]
  903. step_pin = P0.19
  904. dir_pin = !P0.20
  905. enable_pin = !P2.8
  906. microsteps = 16
  907. rotation_distance = 40
  908. endstop_pin = ^P1.28
  909. position_endstop = 0
  910. position_max = 310
  911. homing_speed = 50
  912.  
  913. [stepper_z]
  914. step_pin = P0.22
  915. dir_pin = P2.11
  916. enable_pin = !P0.21
  917. microsteps = 16
  918. rotation_distance = 8
  919. endstop_pin = probe:z_virtual_endstop
  920. position_max = 400
  921. position_min = -1.5
  922.  
  923. [extruder]
  924. step_pin = P2.13
  925. dir_pin = P0.11
  926. enable_pin = !P2.12
  927. microsteps = 16
  928. rotation_distance = 24.115
  929. gear_ratio = 3:1
  930. nozzle_diameter = 0.600
  931. filament_diameter = 1.750
  932. heater_pin = P2.7
  933. sensor_type = EPCOS 100K B57560G104F
  934. sensor_pin = P0.24
  935. min_temp = 0
  936. max_temp = 260
  937. max_extrude_cross_section = 50.0
  938. control = pid
  939. pid_kp = 23.744
  940. pid_ki = 1.181
  941. pid_kd = 119.315
  942.  
  943. [heater_bed]
  944. heater_pin = P2.5
  945. sensor_type = ATC Semitec 104GT-2
  946. sensor_pin = P0.25
  947. min_temp = 0
  948. max_temp = 130
  949. control = pid
  950. pid_kp = 72.371
  951. pid_ki = 1.436
  952. pid_kd = 911.875
  953.  
  954. [fan]
  955. pin = P2.3
  956.  
  957. [safe_z_home]
  958. home_xy_position = 0,40
  959. speed = 50
  960. z_hop = 10
  961. z_hop_speed = 5
  962.  
  963. [tmc2208 stepper_x]
  964. uart_pin = P1.10
  965. run_current = 0.800
  966. hold_current = 0.500
  967. stealthchop_threshold = 300
  968.  
  969. [tmc2208 stepper_y]
  970. uart_pin = P1.9
  971. run_current = 0.800
  972. hold_current = 0.500
  973. stealthchop_threshold = 300
  974.  
  975. [tmc2208 stepper_z]
  976. uart_pin = P1.8
  977. run_current = 0.650
  978. hold_current = 0.450
  979. stealthchop_threshold = 300
  980.  
  981. [tmc2208 extruder]
  982. uart_pin = P1.4
  983. run_current = 0.800
  984. hold_current = 0.500
  985. stealthchop_threshold = 300
  986.  
  987. [mcu]
  988. serial = /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00
  989.  
  990. [printer]
  991. kinematics = cartesian
  992. max_velocity = 500
  993. max_accel = 3000
  994. max_z_velocity = 20
  995. max_z_accel = 100
  996. square_corner_velocity = 5
  997.  
  998. [mcu rpi]
  999. serial = /tmp/klipper_host_mcu
  1000.  
  1001. [input_shaper]
  1002. shaper_freq_x = 33.2
  1003. shaper_freq_y = 23.0
  1004. shaper_type = mzv
  1005.  
  1006. [display]
  1007. lcd_type = st7920
  1008. cs_pin = EXP1_7
  1009. sclk_pin = EXP1_6
  1010. sid_pin = EXP1_8
  1011. encoder_pins = ^EXP1_5, ^EXP1_3
  1012. click_pin = ^!EXP1_2
  1013.  
  1014. [output_pin beeper]
  1015. pin = EXP1_1
  1016.  
  1017. [board_pins]
  1018. aliases =
  1019. EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  1020. EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  1021. EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  1022. EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  1023.  
  1024. [bed_mesh default]
  1025. version = 1
  1026. points =
  1027. -0.087500, -0.037500, 0.022500, -0.028750, -0.026250
  1028. -0.135000, -0.071250, -0.016250, -0.040000, -0.021250
  1029. -0.196250, -0.112500, -0.048750, -0.076250, -0.072500
  1030. -0.193750, -0.107500, -0.036250, -0.056250, -0.048750
  1031. -0.196250, -0.097500, -0.013750, -0.003750, 0.031250
  1032. tension = 0.2
  1033. min_x = 57.0
  1034. algo = lagrange
  1035. y_count = 5
  1036. mesh_y_pps = 2
  1037. min_y = 10.0
  1038. x_count = 5
  1039. max_y = 290.0
  1040. mesh_x_pps = 2
  1041. max_x = 290.0
  1042. =======================
  1043. Declaration of '__main' hides previous menuitem declaration
  1044. Declaration of '__main __tune' hides previous menuitem declaration
  1045. Declaration of '__main __tune __speed' hides previous menuitem declaration
  1046. Declaration of '__main __tune __flow' hides previous menuitem declaration
  1047. Declaration of '__main __tune __offsetz' hides previous menuitem declaration
  1048. Declaration of '__main __octoprint' hides previous menuitem declaration
  1049. Declaration of '__main __octoprint __pause' hides previous menuitem declaration
  1050. Declaration of '__main __octoprint __resume' hides previous menuitem declaration
  1051. Declaration of '__main __octoprint __abort' hides previous menuitem declaration
  1052. Declaration of '__main __sdcard' hides previous menuitem declaration
  1053. Declaration of '__main __sdcard __start' hides previous menuitem declaration
  1054. Declaration of '__main __sdcard __resume' hides previous menuitem declaration
  1055. Declaration of '__main __sdcard __pause' hides previous menuitem declaration
  1056. Declaration of '__main __control' hides previous menuitem declaration
  1057. Declaration of '__main __control __home' hides previous menuitem declaration
  1058. Declaration of '__main __control __homez' hides previous menuitem declaration
  1059. Declaration of '__main __control __homexy' hides previous menuitem declaration
  1060. Declaration of '__main __control __disable' hides previous menuitem declaration
  1061. Declaration of '__main __control __fanonoff' hides previous menuitem declaration
  1062. Declaration of '__main __control __fanspeed' hides previous menuitem declaration
  1063. Declaration of '__main __control __caselightonoff' hides previous menuitem declaration
  1064. Declaration of '__main __control __caselightpwm' hides previous menuitem declaration
  1065. Declaration of '__main __control __move_10mm' hides previous menuitem declaration
  1066. Declaration of '__main __control __move_10mm __axis_x' hides previous menuitem declaration
  1067. Declaration of '__main __control __move_10mm __axis_y' hides previous menuitem declaration
  1068. Declaration of '__main __control __move_10mm __axis_z' hides previous menuitem declaration
  1069. Declaration of '__main __control __move_10mm __axis_e' hides previous menuitem declaration
  1070. Declaration of '__main __control __move_1mm' hides previous menuitem declaration
  1071. Declaration of '__main __control __move_1mm __axis_x' hides previous menuitem declaration
  1072. Declaration of '__main __control __move_1mm __axis_y' hides previous menuitem declaration
  1073. Declaration of '__main __control __move_1mm __axis_z' hides previous menuitem declaration
  1074. Declaration of '__main __control __move_1mm __axis_e' hides previous menuitem declaration
  1075. Declaration of '__main __control __move_01mm' hides previous menuitem declaration
  1076. Declaration of '__main __control __move_01mm __axis_x' hides previous menuitem declaration
  1077. Declaration of '__main __control __move_01mm __axis_y' hides previous menuitem declaration
  1078. Declaration of '__main __control __move_01mm __axis_z' hides previous menuitem declaration
  1079. Declaration of '__main __control __move_01mm __axis_e' hides previous menuitem declaration
  1080. Declaration of '__main __temp' hides previous menuitem declaration
  1081. Declaration of '__main __temp __hotend0_target' hides previous menuitem declaration
  1082. Declaration of '__main __temp __hotend1_target' hides previous menuitem declaration
  1083. Declaration of '__main __temp __hotbed_target' hides previous menuitem declaration
  1084. Declaration of '__main __temp __preheat_pla' hides previous menuitem declaration
  1085. Declaration of '__main __temp __preheat_pla __all' hides previous menuitem declaration
  1086. Declaration of '__main __temp __preheat_pla __hotend' hides previous menuitem declaration
  1087. Declaration of '__main __temp __preheat_pla __hotbed' hides previous menuitem declaration
  1088. Declaration of '__main __temp __preheat_abs' hides previous menuitem declaration
  1089. Declaration of '__main __temp __preheat_abs __all' hides previous menuitem declaration
  1090. Declaration of '__main __temp __preheat_abs __hotend' hides previous menuitem declaration
  1091. Declaration of '__main __temp __preheat_abs __hotbed' hides previous menuitem declaration
  1092. Declaration of '__main __temp __cooldown' hides previous menuitem declaration
  1093. Declaration of '__main __temp __cooldown __all' hides previous menuitem declaration
  1094. Declaration of '__main __temp __cooldown __hotend' hides previous menuitem declaration
  1095. Declaration of '__main __temp __cooldown __hotbed' hides previous menuitem declaration
  1096. Declaration of '__main __filament' hides previous menuitem declaration
  1097. Declaration of '__main __filament __hotend0_target' hides previous menuitem declaration
  1098. Declaration of '__main __filament __loadf' hides previous menuitem declaration
  1099. Declaration of '__main __filament __loads' hides previous menuitem declaration
  1100. Declaration of '__main __filament __unloadf' hides previous menuitem declaration
  1101. Declaration of '__main __filament __unloads' hides previous menuitem declaration
  1102. Declaration of '__main __filament __feed' hides previous menuitem declaration
  1103. Declaration of '__main __setup' hides previous menuitem declaration
  1104. Declaration of '__main __setup __save_config' hides previous menuitem declaration
  1105. Declaration of '__main __setup __restart' hides previous menuitem declaration
  1106. Declaration of '__main __setup __restart __host_restart' hides previous menuitem declaration
  1107. Declaration of '__main __setup __restart __firmware_restart' hides previous menuitem declaration
  1108. Declaration of '__main __setup __tuning' hides previous menuitem declaration
  1109. Declaration of '__main __setup __tuning __hotend_pid_tuning' hides previous menuitem declaration
  1110. Declaration of '__main __setup __tuning __hotbed_pid_tuning' hides previous menuitem declaration
  1111. Declaration of '__main __setup __calib' hides previous menuitem declaration
  1112. Declaration of '__main __setup __calib __delta_calib_auto' hides previous menuitem declaration
  1113. Declaration of '__main __setup __calib __delta_calib_man' hides previous menuitem declaration
  1114. Declaration of '__main __setup __calib __bedprobe' hides previous menuitem declaration
  1115. Declaration of '__main __setup __calib __delta_calib_man __start' hides previous menuitem declaration
  1116. Declaration of '__main __setup __calib __delta_calib_man __move_z' hides previous menuitem declaration
  1117. Declaration of '__main __setup __calib __delta_calib_man __test_z' hides previous menuitem declaration
  1118. Declaration of '__main __setup __calib __delta_calib_man __accept' hides previous menuitem declaration
  1119. Declaration of '__main __setup __calib __delta_calib_man __abort' hides previous menuitem declaration
  1120. Declaration of '__main __setup __dump' hides previous menuitem declaration
  1121. Extruder max_extrude_ratio=20.787584
  1122. mcu 'mcu': Starting serial connect
  1123. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00'
  1124. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00'
  1125. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00'
  1126. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00'
  1127. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_lpc1769_11F0FF0EA99869AF2424425EC42000F5-if00'
  1128.  
RAW Paste Data