prn_extruder_R.cfg 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. # E1_CS PD3 DRIVE7
  2. # E1_DIR PA14 DRIVE7
  3. # E1_STEP PE6 DRIVE7
  4. # E1_ENABLE PE0 DRIVE7
  5. # E1_DIAG7 PG15
  6. [extruder1] # Extruder 1
  7. step_pin: PE6 #
  8. dir_pin: !PA14 #
  9. enable_pin: !PE0 #
  10. microsteps: 256
  11. rotation_distance: 7.8 # 7.41 * Pi * 17 / 50 = 7,9149285314541250849827837398344 (5,5 ÷ 0,7 = 7,8571428571428571428571428571429)
  12. #full_steps_per_rotation:
  13. #gear_ratio:
  14. # The gear ratio if the stepper motor is connected to the axis via a
  15. # gearbox. For example, one may specify "5:1" if a 5 to 1 gearbox is
  16. # in use. If the axis has multiple gearboxes one may specify a comma
  17. # separated list of gear ratios (for example, "57:11, 2:1"). If a
  18. # gear_ratio is specified then rotation_distance specifies the
  19. # distance the axis travels for one full rotation of the final gear.
  20. # The default is to not use a gear ratio.
  21. nozzle_diameter: 0.400
  22. filament_diameter: 1.750
  23. #max_extrude_cross_section:
  24. # Maximum area (in mm^2) of an extrusion cross section (eg,
  25. # extrusion width multiplied by layer height). This setting prevents
  26. # excessive amounts of extrusion during relatively small XY moves.
  27. # If a move requests an extrusion rate that would exceed this value
  28. # it will cause an error to be returned. The default is: 4.0 *
  29. # nozzle_diameter^2
  30. instantaneous_corner_velocity: 1.000
  31. max_extrude_only_distance: 50.0
  32. max_extrude_only_velocity: 50
  33. max_extrude_only_accel: 3000
  34. pressure_advance: 0.09
  35. #pressure_advance_smooth_time: 0.04
  36. heater_pin: PA3 # HE1
  37. #max_power: 1.0
  38. sensor_type: NTC 100K MGB18-104F39050L32
  39. sensor_pin: PF5 # T1
  40. pullup_resistor: 4700
  41. smooth_time: 1.0 # сглаживание температуры
  42. control: pid
  43. pid_kp: 15.572 # ?
  44. pid_ki: 0.446 # ?
  45. pid_kd: 136.064 # ?
  46. #max_delta: 2.0# On 'watermark' controlled heaters this is the number of degrees in
  47. # Celsius above the target temperature before disabling the heater
  48. # as well as the number of degrees below the target before
  49. # re-enabling the heater. The default is 2 degrees Celsius.
  50. #pwm_cycle_time: 0.100
  51. # Time in seconds for each software PWM cycle of the heater. It is
  52. # not recommended to set this unless there is an electrical
  53. # requirement to switch the heater faster than 10 times a second.
  54. # The default is 0.100 seconds.
  55. min_extrude_temp: 170
  56. min_temp: -100
  57. max_temp: 280 # ?
  58. [tmc2130 extruder1]
  59. cs_pin: PD3
  60. #spi_speed: 100000
  61. spi_bus: spi1
  62. #spi_software_sclk_pin: PA5
  63. #spi_software_mosi_pin: PA7
  64. #spi_software_miso_pin: PA6
  65. # See the "common SPI settings" section for a description of the
  66. # above parameters.
  67. #chain_position:
  68. #chain_length:
  69. # These parameters configure an SPI daisy chain. The two parameters
  70. # define the stepper position in the chain and the total chain length.
  71. # Position 1 corresponds to the stepper that connects to the MOSI signal.
  72. # The default is to not use an SPI daisy chain.
  73. interpolate: False
  74. # If true, enable step interpolation (the driver will internally
  75. # step at a rate of 256 micro-steps). This interpolation does
  76. # introduce a small systemic positional deviation - see
  77. # TMC_Drivers.md for details. The default is True.
  78. run_current: 0.75 # 0.8 # Imax / squart(2) * 80%; Imax = Irms / squart(2)
  79. # The amount of current (in amps RMS) to configure the driver to use
  80. # during stepper movement. This parameter must be provided.
  81. #hold_current: 0.4 # ~~ run_current/2
  82. # The amount of current (in amps RMS) to configure the driver to use
  83. # when the stepper is not moving. Setting a hold_current is not
  84. # recommended (see TMC_Drivers.md for details). The default is to
  85. # not reduce the current.
  86. sense_resistor: 0.110
  87. # The resistance (in ohms) of the motor sense resistor. The default
  88. # is 0.110 ohms.
  89. stealthchop_threshold: 999999
  90. # The velocity (in mm/s) to set the "stealthChop" threshold to. When
  91. # set, "stealthChop" mode will be enabled if the stepper motor
  92. # velocity is below this value. The default is 0, which disables
  93. # "stealthChop" mode.
  94. #driver_MSLUT0: 2863314260
  95. #driver_MSLUT1: 1251300522
  96. #driver_MSLUT2: 608774441
  97. #driver_MSLUT3: 269500962
  98. #driver_MSLUT4: 4227858431
  99. #driver_MSLUT5: 3048961917
  100. #driver_MSLUT6: 1227445590
  101. #driver_MSLUT7: 4211234
  102. #driver_W0: 2
  103. #driver_W1: 1
  104. #driver_W2: 1
  105. #driver_W3: 1
  106. #driver_X1: 128
  107. #driver_X2: 255
  108. #driver_X3: 255
  109. #driver_START_SIN: 0
  110. #driver_START_SIN90: 247
  111. # These fields control the Microstep Table registers directly. The optimal
  112. # wave table is specific to each motor and might vary with current. An
  113. # optimal configuration will have minimal print artifacts caused by
  114. # non-linear stepper movement. The values specified above are the default
  115. # values used by the driver. The value must be specified as a decimal integer
  116. # (hex form is not supported). In order to compute the wave table fields,
  117. # see the tmc2130 "Calculation Sheet" from the Trinamic website.
  118. #driver_IHOLDDELAY: 8
  119. #driver_TPOWERDOWN: 0
  120. #driver_TBL: 1
  121. #driver_TOFF: 4
  122. #driver_HEND: 7
  123. #driver_HSTRT: 0
  124. driver_PWM_AUTOSCALE: True
  125. #driver_PWM_FREQ: 1
  126. #driver_PWM_GRAD: 4
  127. #driver_PWM_AMPL: 128
  128. #driver_SGT: 0
  129. # Set the given register during the configuration of the TMC2130
  130. # chip. This may be used to set custom motor parameters. The
  131. # defaults for each parameter are next to the parameter name in the
  132. # above list.
  133. #diag0_pin:
  134. #diag1_pin: PG15
  135. # The micro-controller pin attached to one of the DIAG lines of the
  136. # TMC2130 chip. Only a single diag pin should be specified. The pin
  137. # is "active low" and is thus normally prefaced with "^!". Setting
  138. # this creates a "tmc2130_stepper_x:virtual_endstop" virtual pin
  139. # which may be used as the stepper's endstop_pin. Doing this enables
  140. # "sensorless homing". (Be sure to also set driver_SGT to an
  141. # appropriate sensitivity value.) The default is to not enable
  142. # sensorless homing.
  143. [verify_heater extruder1]
  144. #max_error: 120
  145. # The maximum "cumulative temperature error" before raising an
  146. # error. Smaller values result in stricter checking and larger
  147. # values allow for more time before an error is reported.
  148. # Specifically, the temperature is inspected once a second and if it
  149. # is close to the target temperature then an internal "error
  150. # counter" is reset; otherwise, if the temperature is below the
  151. # target range then the counter is increased by the amount the
  152. # reported temperature differs from that range. Should the counter
  153. # exceed this "max_error" then an error is raised. The default is
  154. # 120.
  155. #check_gain_time:
  156. # This controls heater verification during initial heating. Smaller
  157. # values result in stricter checking and larger values allow for
  158. # more time before an error is reported. Specifically, during
  159. # initial heating, as long as the heater increases in temperature
  160. # within this time frame (specified in seconds) then the internal
  161. # "error counter" is reset. The default is 20 seconds for extruders
  162. # and 60 seconds for heater_bed.
  163. #hysteresis: 5
  164. # The maximum temperature difference (in Celsius) to a target
  165. # temperature that is considered in range of the target. This
  166. # controls the max_error range check. It is rare to customize this
  167. # value. The default is 5.
  168. #heating_gain: 2
  169. # The minimum temperature (in Celsius) that the heater must increase
  170. # by during the check_gain_time check. It is rare to customize this
  171. # value. The default is 2.