Guest User

printer.cfg

a guest
Mar 23rd, 2023
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. # This is a Klipper configuration for TronXY X5SA Pro CoreXY Printer
  2. # 330x330x400 size with CXY-V6 motherboard, Tronxy blue self-levelling plate sensor
  3. # and stock Titan Extruder Clone.
  4.  
  5. ###########################################################
  6. # CAUTION: The Touchscreen cannot be used with Klipper!!! #
  7. # You will lose all the display functionalities!!! #
  8. ###########################################################
  9.  
  10. # === FLASHING WITH STOCK BOOTLOADER ===
  11. # You should make firmware for STM32F103 with bootloader offset
  12. # at 0x8008800 (Chitu v6 Bootloader) and serial (on USART1 PA10/PA9)
  13. # communication.
  14.  
  15. # Use "./scripts/update_chitu.py ./out/klipper.bin ./out/update.cbd"
  16. # after make to generate update.cbd. Put "update.cbd" file onto SD card,
  17. # and reboot the printer.
  18. # It will be automatically installed after you hear 2 beeps,
  19. # and you will be able to update it this way.
  20.  
  21. # See docs/Config_Reference.md for a description of parameters.
  22.  
  23. [mcu]
  24. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  25. restart_method: command
  26.  
  27. [printer]
  28. kinematics: corexy
  29. max_velocity: 300
  30. max_accel: 3000
  31. max_z_velocity: 25
  32. max_z_accel: 30
  33.  
  34. [stepper_x]
  35. step_pin: PE5
  36. dir_pin: !PE6
  37. enable_pin: !PC13
  38. microsteps: 32
  39. rotation_distance: 40
  40. endstop_pin: !PG10
  41. position_endstop: -1
  42. position_min: -1
  43. position_max: 350 # for bed mesh
  44. homing_speed: 50
  45. homing_retract_dist: 10
  46. second_homing_speed: 10.0
  47.  
  48. [stepper_y]
  49. step_pin: PE2
  50. dir_pin: !PE3
  51. enable_pin: !PE4
  52. microsteps: 32
  53. rotation_distance: 40
  54. endstop_pin: !PA12
  55. position_endstop: 0
  56. position_max: 330
  57. homing_retract_dist: 10
  58. homing_speed: 50.0
  59. second_homing_speed: 10.0
  60.  
  61. [stepper_z]
  62. step_pin: PB9
  63. dir_pin: PE0
  64. enable_pin: !PE1
  65. microsteps: 32
  66. rotation_distance: 8
  67. endstop_pin: probe:z_virtual_endstop
  68. position_max: 400
  69. position_min: -2
  70.  
  71. [extruder]
  72. step_pin: PB4
  73. dir_pin: !PB5
  74. enable_pin: !PB8
  75. microsteps: 32
  76. rotation_distance: 22.478 # Titan Extruder Clone Rotation Distance
  77. gear_ratio: 66:22 # Titan Extruder Clone Gear Ratio
  78. nozzle_diameter: 0.400
  79. filament_diameter: 1.750
  80. heater_pin: PG12
  81. sensor_type: Generic 3950
  82. sensor_pin: PA1
  83. control: pid
  84. pid_Kp: 18.831
  85. pid_Ki: 0.821
  86. pid_Kd: 108.044
  87. min_temp: 0
  88. max_temp: 260
  89. max_extrude_only_distance: 350
  90.  
  91. [heater_bed]
  92. heater_pin: PG11
  93. sensor_type: Generci 3950
  94. sensor_pin: PA0
  95. min_temp: 0
  96. max_temp: 130
  97. control: pid
  98. pid_Kp: 73.932
  99. pid_Ki: 1.521
  100. pid_Kd: 898.279
  101.  
  102. [heater_fan hotend_fan]
  103. pin: PG14
  104.  
  105. [fan]
  106. pin: PG13
  107.  
  108. [controller_fan drivers_fan]
  109. pin: PD6
  110.  
  111. [filament_switch_sensor filament_sensor]
  112. pause_on_runout: True
  113. runout_gcode:
  114. M25
  115. switch_pin: !PA15
  116.  
  117. [output_pin beeper]
  118. pin: PB0
  119.  
  120. [safe_z_home]
  121. home_xy_position: 165, 165
  122. speed: 50
  123. z_hop: 10
  124. z_hop_speed: 5
  125.  
  126. [bed_screws]
  127. screw1: 5, 5
  128. screw2: 165, 5
  129. screw3: 325, 5
  130. screw4: 5, 325
  131. screw5: 165, 325
  132. screw6: 325, 325
  133.  
  134. [bed_mesh]
  135. speed: 120
  136. probe_count: 5, 5
  137. horizontal_move_z: 5
  138. algorithm: lagrange
  139. mesh_min : 20, 20
  140. mesh_max : 310, 310
  141. mesh_pps: 0
  142.  
  143. [probe]
  144. x_offset: -35
  145. y_offset: 0
  146. pin: !PG9
  147. speed: 30
  148. z_offset: 1
  149.  
Advertisement
Add Comment
Please, Sign In to add comment