Guest User

Untitled

a guest
Dec 11th, 2016
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 52.57 KB | None | 0 0
  1. #######################################
  2. ###                                 ###
  3. ###         GENERAL INFO            ###
  4. ###                                 ###
  5. #######################################
  6.  
  7. # Config: work in progress
  8. # intended to fit 6-stepper board: cohesion3d remix (see www.cohesion3d.com)
  9. # Firmware is Smoothieware.
  10. # Provided config-file is for the cohesion3d remix and to use in the 3D-printer ‚weCUBE’.
  11. # More information at www.well-engineered.net
  12.  
  13. # there are advanced options to configure a pin:
  14. #   !   invert pin
  15. #   o   set pin to open drain
  16. #   ^   set pin to pull up
  17. #   v   set pin to pull down
  18. #   -   to set no pullup
  19. #   @   to set repeater mode
  20.  
  21. # EXAMPLE:
  22. # set_example_pin   1.23!^
  23. # will set the pin 1.23 to inverted pull up
  24.  
  25.  
  26. #######################################
  27. ###                                 ###
  28. ###         GENERAL MOTION          ###
  29. ###                                 ###
  30. #######################################
  31.  
  32.     #=================#
  33.     # MOTION-SETTINGS #
  34.     #=================#
  35.  
  36. arm_solution                corexy      # Sets the arm solution for this machine. The arm solution converts position in millimetres into actuator positions ( usually in steps ). On cartesian machines those are proportional to each other, but for example on a linear delta machine, some fancy math is required for the conversion. Possible values : cartesian, corexy, linear_delta, rotatable_cartesian, morgan
  37.  
  38. alpha_steps_per_mm          80          # Steps per millimetre for alpha stepper motor ( this is the X axis for a cartesian machine )
  39. beta_steps_per_mm           80          # Steps per millimetre for beta stepper motor ( this is the Y axis for a cartesian machine )
  40. gamma_steps_per_mm          800         # Steps per millimetre for gamma stepper motor ( this is the Z axis for a cartesian machine )
  41.  
  42. acceleration                    3000    # Acceleration in millimetres/second/second. Higher values make your machine faster and shakier, lower values make your machine slower and sturdier. This is generally proportional to the weight of the tool you are trying to move.
  43. z_acceleration                  2000    # Acceleration for Z only moves, same as acceleration but for movements of the Z axis. Do not set this value if you use a delta arm solution.
  44. acceleration_ticks_per_second   1000    # Number of times per second the speed is updated. Do not modify unless you know exactly what you are doing !
  45.  
  46. junction_deviation          0.3         # Similar to the old "max_jerk", in millimeters. Defines how much the machine slows down when decelerating proportional to the vector angle of change of direction. See here and here. Lower values mean being more careful, higher values means being faster and have more jerk
  47. z_junction_deviation        0           # Junction deviation for Z only moves, -1 uses junction_deviation, 0 disables junction_deviation on z moves. Do not set this value if you use a delta arm solution.
  48.  
  49.     #================#
  50.     # SPEED SETTINGS #
  51.     #================#
  52.  
  53. default_feed_rate           60000       # Default rate for G1/G2/G3 moves in millimetres/minute. This is overrided by the first F ( feedrate ) parameter after reset, and never used again.
  54. default_seek_rate           60000       # Default rate for G0 moves in millimetres/minute
  55.  
  56. x_axis_max_speed            60000       # Maximum allowable speed for the X axis, in millimetres/minute. Smoothie will never exceed that value for that axis.
  57. y_axis_max_speed            60000       # Maximum allowable speed for the Y axis, in millimetres/minute. Smoothie will never exceed that value for that axis.
  58. z_axis_max_speed            1800        # Maximum allowable speed for the Z axis, in millimetres/minute. Smoothie will never exceed that value for that axis.
  59.  
  60. alpha_max_rate              120000      # Maximum allowable speed for this actuator ( as opposed to axis, they are the same on a cartesian machine, but not on a delta machine for example ), in millimetres/minute.
  61. beta_max_rate               120000      # Maximum allowable speed for this actuator, in millimetres/minute.
  62. gamma_max_rate              1800        # Maximum allowable speed for this actuator, in millimetres/minute.
  63.  
  64.     #==================#
  65.     # SPECIAL SETTINGS #
  66.     #==================#
  67.  
  68. mm_per_arc_segment          0.5         # Arcs are cut into segments ( lines ), this is the length for those segments. Smaller values mean more resolution, higher values mean faster computation
  69. planner_queue_size          32          # Defines how many blocks ( line segments ) are stored in RAM for look-ahead acceleration calculation. Do not change this unless you know exactly what you are doing !
  70. minimum_planner_speed       20          # Sets the minimum planner speed in millimetres/sec. This is the lowest speed the planner will ever set a move to. Not generally useful.
  71. microseconds_per_step_pulse 1           # Duration of step pulses to the stepper motor drivers, in microseconds
  72. base_stepping_frequency     100000      # Base frequency for stepping, higher values gives smoother movement. Do not modify unless you know exactly what you are doing, 100khz is the only officially supported value.
  73.  
  74.     #================#
  75.     # DELTA SETTINGS #
  76.     #================#
  77.  
  78. mm_per_line_segment         5           # Lines can be cut into segments ( generally not useful with cartesian coordinates robots ), this sets the maximum length of any given segment. Segments longer than this will be cut into several segments.
  79. #delta_segments_per_second  1000        # Instead of cutting lines into segment based on a distance, cut them based on time : segments will be cut so that Smoothie executes -about- delta_segments_per_second segments each second. This is mostly useful when using linear_delta arm solutions.
  80. #arm_length                 100         # In the case of a linear_delta arm solution, this is the length of an arm from hinge to hinge
  81. #arm_radius                 124         # In the case of a linear_delta arm solution, this is the horizontal distance from hinge to hinge when the effector is centered
  82.  
  83.     #==============================#
  84.     # ROTATABLE CARTESIAN SETTINGS #
  85.     #==============================#
  86.  
  87. #alpha_angle                45          # In the case of a rotatable_cartesian arm solution, angle by which the plane is rotated
  88.  
  89.     #=================#
  90.     # MORGAN SETTINGS #
  91.     #=================#
  92.  
  93. #arm1_length                100         # In the case of a morgan arm solution, length of the first arm
  94. #arm2_length                100         # In the case of a morgan arm solution, length of the second arm
  95. #morgan_offset_x            10          # In the case of a morgan arm solution, X offset
  96. #morgan_offset_y            10          # In the case of a morgan arm solution, Y offset
  97. #axis_scaling_x             0.8         # In the case of a morgan arm solution, scaling in the X axis
  98. #axis_scaling_y             0.8         # In the case of a morgan arm solution, scaling in the Y axis
  99.  
  100.  
  101. #######################################
  102. ###                                 ###
  103. ###         STEPPER MOTORS          ###
  104. ###                                 ###
  105. #######################################
  106.  
  107.     #=================#
  108.     # Slot 1 - X-AXIS #
  109.     #=================#
  110.  
  111. alpha_step_pin      2.0     # Pin for alpha stepper step signal
  112. alpha_dir_pin       0.5 # Pin for alpha stepper direction
  113. alpha_en_pin        0.4     # Pin for alpha enable pin
  114. #alpha_current      1.0     # M1 stepper motor driver current, in Amperes.
  115.  
  116.  
  117.     #=================#
  118.     # Slot 2 - Y-AXIS #
  119.     #=================#
  120.  
  121. beta_step_pin       2.1     # Pin for beta stepper step signal
  122. beta_dir_pin        0.11    # Pin for beta stepper direction
  123. beta_en_pin         0.10    # Pin for beta enable
  124. #beta_current       1.0     # M2 stepper motor driver current, in Amperes.
  125.  
  126.     #=================#
  127.     # Slot 3 - Z-AXIS #
  128.     #=================#
  129.  
  130. gamma_step_pin      2.2     # Pin for gamma stepper step signal
  131. gamma_dir_pin       0.20!   # Pin for gamma stepper direction
  132. gamma_en_pin        0.19    # Pin for gamma enable
  133. #gamma_current      1.0     # M3 stepper motor driver current, in Amperes.
  134.  
  135.  
  136.     #================================#
  137.     # Slot 4 (A) - Extruder A - EXT0 #
  138.     #================================#
  139.  
  140. extruder.hotend_1.step_pin      2.3     # Pin for extruder stepper motor driver's step signal
  141. extruder.hotend_1.dir_pin       0.22!   # Pin for extruder stepper motor driver's direction signal
  142. extruder.hotend_1.en_pin        0.21    # Pin for extruder stepper motor driver's enable signal
  143.  
  144.     #================================#
  145.     # Slot 5 (B) - Extruder B - EXT1 #
  146.     #================================#
  147.  
  148. extruder.hotend_2.step_pin      2.8     # Pin for extruder stepper motor driver's step signal
  149. extruder.hotend_2.dir_pin       2.13!   # Pin for extruder stepper motor driver's direction signal
  150. extruder.hotend_2.en_pin        4.29    # Pin for extruder stepper motor driver's enable signal
  151.  
  152.     #================================#
  153.     # Slot 6 (C) - Extruder C - EXT2 #
  154.     #================================#
  155.  
  156. #extruder.hotend_3.step_pin     1.20    # Pin for extruder stepper motor driver's step signal
  157. #extruder.hotend_3.dir_pin      1.19!   # Pin for extruder stepper motor driver's direction signal
  158. #extruder.hotend_3.en_pin       1.21    # Pin for extruder stepper motor driver's enable signal
  159.  
  160.  
  161. ###################################
  162. ###                             ###
  163. ###         EXTRUDERS           ###
  164. ###                             ###
  165. ###################################
  166.  
  167.     #============#
  168.     # Extruder A #
  169.     #============#
  170.  
  171. extruder.hotend_1.enable                    true    # Whether to activate the extruder module at all. All configuration is ignored if false. Each time an extruder.module_name.enable line is encountered, an extruder module with the name «module_name» will be created.
  172.  
  173. extruder.hotend_1.steps_per_mm              145     # Steps/millimetre for the extruder stepper motor. This is the number of steps to move one millimetre of filament. Learn more
  174. extruder.hotend_1.filament_diameter         1.70    # Filament diameter, in millimetres, used for volumetric extrusion control.
  175. extruder.hotend_1.default_feed_rate         1200    # Default rate in millimetres/minute for moves where only the extruder moves. This is only used if you have never provided a feedrate via the F parameter. Once you specify a F parameter, it will be used as the Extruder feed rate until you reset the board.
  176. extruder.hotend_1.acceleration              500     # Acceleration for the extruder stepper motor, in millimetres/second/second
  177. extruder.hotend_1.max_speed                 100     # Maximum allowable speed for the extruder stepper motor, in millimetres/second
  178.  
  179. extruder.hotend_1.x_offset                  0       # Extruder offset from origin in millimetres for the X axis. This is useful when you have multiple extruders to specify the offset from each extruder to the first one.
  180. extruder.hotend_1.y_offset                  0       # Extruder offset from origin in millimetres for the Y axis.
  181. extruder.hotend_1.z_offset                  0       # Extruder offset from origin in millimetres for the Z axis.
  182.  
  183. extruder.hotend_1.retract_length            2       # Retract length in millimetres. Retract is a retractation of the filament called using the G10 G-code. It is recovered ( reverted ) using the G11 G-code. Learn more about retractation
  184. extruder.hotend_1.retract_feedrate          60      # Retract feed-rate ( filament speed ) in millimetres/second
  185. extruder.hotend_1.retract_recover_length    0       # Additional length when recovering ( if you retract by 1mm, you will be recovering by 1mm plus this value )
  186. extruder.hotend_1.retract_recover_feedrate  8       # Recovery feed-rate in millimetres/second (should be less than retract feedrate)
  187. extruder.hotend_1.retract_zlift_length      0       # Z-lift on retract in millimeters, set to 0 if you want to disable retraction Z-lift. Z-lift is a small increase in the Z axis position when retracting.
  188. extruder.hotend_1.retract_zlift_feedrate    1800    # Z-lift feed-rate in millimetres/minute ( Note : mm/min NOT mm/sec)
  189.  
  190.     #============#
  191.     # Extruder B #
  192.     #============#
  193.  
  194. extruder.hotend_2.enable                    true    # Whether to activate the extruder module at all. All configuration is ignored if false. Each time an extruder.module_name.enable line is encountered, an extruder module with the name «module_name» will be created.
  195.  
  196. extruder.hotend_2.steps_per_mm              145     # Steps/millimetre for the extruder stepper motor. This is the number of steps to move one millimetre of filament. Learn more
  197. #extruder.hotend_2.filament_diameter        1.70    # Filament diameter, in millimetres, used for volumetric extrusion control.
  198. extruder.hotend_2.default_feed_rate         1200    # Default rate in millimetres/minute for moves where only the extruder moves. This is only used if you have never provided a feedrate via the F parameter. Once you specify a F parameter, it will be used as the Extruder feed rate until you reset the board.
  199. extruder.hotend_2.acceleration              500     # Acceleration for the extruder stepper motor, in millimetres/second/second
  200. extruder.hotend_2.max_speed                 100     # Maximum allowable speed for the extruder stepper motor, in millimetres/second
  201.  
  202. extruder.hotend_2.x_offset                  0       # Extruder offset from origin in millimetres for the X axis. This is useful when you have multiple extruders to specify the offset from each extruder to the first one.
  203. extruder.hotend_2.y_offset                  0       # Extruder offset from origin in millimetres for the Y axis.
  204. extruder.hotend_2.z_offset                  0       # Extruder offset from origin in millimetres for the Z axis.
  205.  
  206. extruder.hotend_2.retract_length            2       # Retract length in millimetres. Retract is a retractation of the filament called using the G10 G-code. It is recovered ( reverted ) using the G11 G-code. Learn more about retractation
  207. extruder.hotend_2.retract_feedrate          60      # Retract feed-rate ( filament speed ) in millimetres/second
  208. extruder.hotend_2.retract_recover_length    0       # Additional length when recovering ( if you retract by 1mm, you will be recovering by 1mm plus this value )
  209. extruder.hotend_2.retract_recover_feedrate  8       # Recovery feed-rate in millimetres/second (should be less than retract feedrate)
  210. extruder.hotend_2.retract_zlift_length      0       # Z-lift on retract in millimeters, set to 0 if you want to disable retraction Z-lift. Z-lift is a small increase in the Z axis position when retracting.
  211. extruder.hotend_2.retract_zlift_feedrate    1800    # Z-lift feed-rate in millimetres/minute ( Note : mm/min NOT mm/sec)
  212.  
  213.     #============#
  214.     # Extruder C #
  215.     #============#
  216.  
  217. extruder.hotend_3.enable                    false   # Whether to activate the extruder module at all. All configuration is ignored if false. Each time an extruder.module_name.enable line is encountered, an extruder module with the name «module_name» will be created.
  218.  
  219. #extruder.hotend_3.steps_per_mm             145     # Steps/millimetre for the extruder stepper motor. This is the number of steps to move one millimetre of filament. Learn more
  220. ##extruder.hotend_3.filament_diameter       1.70    # Filament diameter, in millimetres, used for volumetric extrusion control.
  221. #extruder.hotend_3.default_feed_rate            1200    # Default rate in millimetres/minute for moves where only the extruder moves. This is only used if you have never provided a feedrate via the F parameter. Once you specify a F parameter, it will be used as the Extruder feed rate until you reset the board.
  222. #extruder.hotend_3.acceleration             500     # Acceleration for the extruder stepper motor, in millimetres/second/second
  223. #extruder.hotend_3.max_speed                    100     # Maximum allowable speed for the extruder stepper motor, in millimetres/second
  224.  
  225. #extruder.hotend_3.x_offset                 0       # Extruder offset from origin in millimetres for the X axis. This is useful when you have multiple extruders to specify the offset from each extruder to the first one.
  226. #extruder.hotend_3.y_offset                 0       # Extruder offset from origin in millimetres for the Y axis.
  227. #extruder.hotend_3.z_offset                 0       # Extruder offset from origin in millimetres for the Z axis.
  228.  
  229. #extruder.hotend_3.retract_length           2       # Retract length in millimetres. Retract is a retractation of the filament called using the G10 G-code. It is recovered ( reverted ) using the G11 G-code. Learn more about retractation
  230. #extruder.hotend_3.retract_feedrate         60      # Retract feed-rate ( filament speed ) in millimetres/second
  231. #extruder.hotend_3.retract_recover_length   0       # Additional length when recovering ( if you retract by 1mm, you will be recovering by 1mm plus this value )
  232. #extruder.hotend_3.retract_recover_feedrate 8       # Recovery feed-rate in millimetres/second (should be less than retract feedrate)
  233. #extruder.hotend_3.retract_zlift_length     0       # Z-lift on retract in millimeters, set to 0 if you want to disable retraction Z-lift. Z-lift is a small increase in the Z axis position when retracting.
  234. #extruder.hotend_3.retract_zlift_feedrate   1800    # Z-lift feed-rate in millimetres/minute ( Note : mm/min NOT mm/sec)
  235.  
  236.  
  237. ###############################################
  238. ###                                         ###
  239. ###         TEMPERATURE CONTROL             ###
  240. ###                                         ###
  241. ###############################################
  242.  
  243.     #============#
  244.     # Extruder A #
  245.     #============#
  246.  
  247. # GENERAL SETTINGS
  248. temperature_control.hotend1.enable              true        # Whether to activate this temperaturecontrol module. You can create as many temperaturecontrol modules as you want, simply by giving a new module a name, and setting it's enable option to true
  249.  
  250. temperature_control.hotend1.designator          T0          # The letter this module's temperature will be identified as in the M105 command's answer. For example here the value is T, so M105 will answer ok T:23.4 /0.0 @0
  251. temperature_control.hotend1.max_temp            300         # If set, no temperature above this will be accepted and if the temperature exceeds this value the system will be forced into a HALT state.
  252.  
  253. temperature_control.hotend1.sensor              thermistor  # Set the type of sensor used to read temperature. Values can be thermistor for the usual thermistor reading via ADC method, or max31855 to read values from a thermocouple over SPI. See Reading a thermocouple
  254. temperature_control.hotend1.thermistor_pin      0.23        # Pin for the thermistor to read.
  255. temperature_control.hotend1.heater_pin          2.7         # 2.7 = FET1 - Pin that controls the heater. This can be used to control a Mosfet on board or an external Solid State Relay. Set to nc if a readonly thermistor is being defined
  256. temperature_control.hotend1.thermistor          Honeywell100K   # Set the thermistor model for this module. Several different common models are pre-defined, see "http://smoothieware.org/temperaturecontrol#toc6" for a list
  257.  
  258. # PWM-SETTINGS
  259. temperature_control.hotend1.readings_per_second 20          # How many times per second to read temperature from the sensor.
  260. temperature_control.hotend1.pwm_frequency       2000        # How many times per second to switch the heating element on or off. Set to a low value ( 20 ) if using a Solid State Relay.
  261. temperature_control.hotend1.max_pwm             255         # Maximum PWM value for the heating element. This can be from 0 to 255 . 64 is a good value if driving a 12v resistor with 24v. 255 is the default and the normal value if you are using the right voltage for your heating element.
  262.  
  263. # BANG-BANG-SETTINGS
  264. temperature_control.hotend1.bang_bang           false   # Set to true to use bang bang control rather than PID
  265. temperature_control.hotend1.hysteresis          2.0     # Set to the temperature in degrees C to use as hysteresis for bang bang control
  266.  
  267. # PID-SETTINGS
  268. temperature_control.hotend1.p_factor            75.3    # P factor for PID temperature regulation
  269. temperature_control.hotend1.i_factor            10.314  # I factor for PID temperature regulation
  270. temperature_control.hotend1.d_factor            137     # D factor for PID temperature regulation
  271. temperature_control.hotend1.i_max               255     # Maximum value for the I variable in the PID control. This should usually be set to about the same value as max_pwm ( as a rule of thumb, it is not actually a pwm setting ). This helps with preventing overshoot when initially heating up. If you get a strong ( >10°C ) overshoot on startup, try setting this to a value lower than max_pwm
  272.  
  273. # M-CODES
  274. temperature_control.hotend1.get_m_code          105 T0  # Calling this M-code will return the current temperature.
  275. temperature_control.hotend1.set_m_code          104 T0  # This is the M-code for simply setting the temperature. For example here, the value is 104 so you use M104 S50 to set this module's heater's temperature to 50.
  276. temperature_control.hotend1.set_and_wait_m_code 109 T0  # This is the M-code for setting the temperature then waiting for that temperature to be reached before doing anything. For example here, the value is 109 so you use M109 S50 to set this module's heater's temperature to 50 and then wait.
  277.  
  278. # MANUAL THERMISTOR SETTINGS
  279. #temperature_control.hotend1.beta               4066    # Manually set the beta value for your thermistor. This is useful if your thermistor is not in the common pre-defined models.
  280. #temperature_control.hotend1.r0                 100000  # Manually set the r0 resistance value for your thermistor. This is useful if your thermistor is not in the common pre-defined models. Besides beta and r0 which are properties of your thermistor, you can also set the r1, r2 and t0 values, but those are properties of your board so they usually never have to be changed.
  281. #temperature_control.hotend1.chip_select_pin    0.16    # If the sensor is set to max31855, sets the chip select pin for the SPI port. This allows you to have multiple sensors sharing the same SPI port, as long as they each get a chip select ( CS ) pin.
  282. #temperature_control.hotend1.spi_channel        0       # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  283.  
  284.     #============#
  285.     # Extruder B #
  286.     #============#
  287.  
  288. # GENERAL SETTINGS
  289. temperature_control.hotend2.enable              true        # Whether to activate this temperaturecontrol module. You can create as many temperaturecontrol modules as you want, simply by giving a new module a name, and setting it's enable option to true
  290.  
  291. temperature_control.hotend2.designator          T1          # The letter this module's temperature will be identified as in the M105 command's answer. For example here the value is T, so M105 will answer ok T:23.4 /0.0 @0
  292. temperature_control.hotend2.max_temp            300         # If set, no temperature above this will be accepted and if the temperature exceeds this value the system will be forced into a HALT state.
  293.  
  294. temperature_control.hotend2.sensor              thermistor  # Set the type of sensor used to read temperature. Values can be thermistor for the usual thermistor reading via ADC method, or max31855 to read values from a thermocouple over SPI. See Reading a thermocouple
  295. temperature_control.hotend2.thermistor_pin      0.25        # Pin for the thermistor to read.
  296. temperature_control.hotend2.heater_pin          1.23        # 1.23 = FET2 - Pin that controls the heater. This can be used to control a Mosfet on board or an external Solid State Relay. Set to nc if a readonly thermistor is being defined
  297. temperature_control.hotend2.thermistor          Honeywell100K   # Set the thermistor model for this module. Several different common models are pre-defined, see "http://smoothieware.org/temperaturecontrol#toc6" for a list
  298.  
  299. # PWM-SETTINGS
  300. temperature_control.hotend2.readings_per_second 20          # How many times per second to read temperature from the sensor.
  301. temperature_control.hotend2.pwm_frequency       2000        # How many times per second to switch the heating element on or off. Set to a low value ( 20 ) if using a Solid State Relay.
  302. temperature_control.hotend2.max_pwm             255         # Maximum PWM value for the heating element. This can be from 0 to 255 . 64 is a good value if driving a 12v resistor with 24v. 255 is the default and the normal value if you are using the right voltage for your heating element.
  303.  
  304. # BANG-BANG-SETTINGS
  305. temperature_control.hotend2.bang_bang           false   # Set to true to use bang bang control rather than PID
  306. temperature_control.hotend2.hysteresis          2.0     # Set to the temperature in degrees C to use as hysteresis for bang bang control
  307.  
  308. # PID-SETTINGS
  309. temperature_control.hotend2.p_factor            75.3    # P factor for PID temperature regulation
  310. temperature_control.hotend2.i_factor            10.314  # I factor for PID temperature regulation
  311. temperature_control.hotend2.d_factor            137     # D factor for PID temperature regulation
  312. temperature_control.hotend2.i_max               255     # Maximum value for the I variable in the PID control. This should usually be set to about the same value as max_pwm ( as a rule of thumb, it is not actually a pwm setting ). This helps with preventing overshoot when initially heating up. If you get a strong ( >10°C ) overshoot on startup, try setting this to a value lower than max_pwm
  313.  
  314. # M-CODES
  315. temperature_control.hotend2.get_m_code          105     # Calling this M-code will return the current temperature.
  316. temperature_control.hotend2.set_m_code          104     # This is the M-code for simply setting the temperature. For example here, the value is 104 so you use M104 S50 to set this module's heater's temperature to 50.
  317. temperature_control.hotend2.set_and_wait_m_code 109     # This is the M-code for setting the temperature then waiting for that temperature to be reached before doing anything. For example here, the value is 109 so you use M109 S50 to set this module's heater's temperature to 50 and then wait.
  318.  
  319. # MANUAL THERMISTOR SETTINGS
  320. #temperature_control.hotend2.beta               4066    # Manually set the beta value for your thermistor. This is useful if your thermistor is not in the common pre-defined models.
  321. #temperature_control.hotend2.r0                 100000  # Manually set the r0 resistance value for your thermistor. This is useful if your thermistor is not in the common pre-defined models. Besides beta and r0 which are properties of your thermistor, you can also set the r1, r2 and t0 values, but those are properties of your board so they usually never have to be changed.
  322. #temperature_control.hotend2.chip_select_pin    0.16    # If the sensor is set to max31855, sets the chip select pin for the SPI port. This allows you to have multiple sensors sharing the same SPI port, as long as they each get a chip select ( CS ) pin.
  323. #temperature_control.hotend2.spi_channel        0       # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  324.  
  325.     #============#
  326.     # Extruder C #
  327.     #============#
  328.  
  329. # GENERAL SETTINGS
  330. temperature_control.hotend3.enable              false       # Whether to activate this temperaturecontrol module. You can create as many temperaturecontrol modules as you want, simply by giving a new module a name, and setting it's enable option to true
  331.  
  332. temperature_control.hotend3.designator          T2          # The letter this module's temperature will be identified as in the M105 command's answer. For example here the value is T, so M105 will answer ok T:23.4 /0.0 @0
  333. temperature_control.hotend3.max_temp            300         # If set, no temperature above this will be accepted and if the temperature exceeds this value the system will be forced into a HALT state.
  334.  
  335. temperature_control.hotend3.sensor              thermistor  # Set the type of sensor used to read temperature. Values can be thermistor for the usual thermistor reading via ADC method, or max31855 to read values from a thermocouple over SPI. See Reading a thermocouple
  336. temperature_control.hotend3.thermistor_pin      0.26        # Pin for the thermistor to read.
  337. temperature_control.hotend3.heater_pin          1.22        # 1.22 = FET3 - Pin that controls the heater. This can be used to control a Mosfet on board or an external Solid State Relay. Set to nc if a readonly thermistor is being defined
  338. temperature_control.hotend3.thermistor          Honeywell100K   # Set the thermistor model for this module. Several different common models are pre-defined, see "http://smoothieware.org/temperaturecontrol#toc6" for a list
  339.  
  340. # PWM-SETTINGS
  341. temperature_control.hotend3.readings_per_second 20          # How many times per second to read temperature from the sensor.
  342. temperature_control.hotend3.pwm_frequency       2000        # How many times per second to switch the heating element on or off. Set to a low value ( 20 ) if using a Solid State Relay.
  343. temperature_control.hotend3.max_pwm             255         # Maximum PWM value for the heating element. This can be from 0 to 255 . 64 is a good value if driving a 12v resistor with 24v. 255 is the default and the normal value if you are using the right voltage for your heating element.
  344.  
  345. # BANG-BANG-SETTINGS
  346. temperature_control.hotend3.bang_bang           false   # Set to true to use bang bang control rather than PID
  347. temperature_control.hotend3.hysteresis          2.0     # Set to the temperature in degrees C to use as hysteresis for bang bang control
  348.  
  349. # PID-SETTINGS
  350. temperature_control.hotend3.p_factor            75.3    # P factor for PID temperature regulation
  351. temperature_control.hotend3.i_factor            10.314  # I factor for PID temperature regulation
  352. temperature_control.hotend3.d_factor            137     # D factor for PID temperature regulation
  353. temperature_control.hotend3.i_max               255     # Maximum value for the I variable in the PID control. This should usually be set to about the same value as max_pwm ( as a rule of thumb, it is not actually a pwm setting ). This helps with preventing overshoot when initially heating up. If you get a strong ( >10°C ) overshoot on startup, try setting this to a value lower than max_pwm
  354.  
  355. # M-CODES
  356. temperature_control.hotend3.get_m_code          105     # Calling this M-code will return the current temperature.
  357. temperature_control.hotend3.set_m_code          104     # This is the M-code for simply setting the temperature. For example here, the value is 104 so you use M104 S50 to set this module's heater's temperature to 50.
  358. temperature_control.hotend3.set_and_wait_m_code 109     # This is the M-code for setting the temperature then waiting for that temperature to be reached before doing anything. For example here, the value is 109 so you use M109 S50 to set this module's heater's temperature to 50 and then wait.
  359.  
  360. # MANUAL THERMISTOR SETTINGS
  361. #temperature_control.hotend3.beta               4066    # Manually set the beta value for your thermistor. This is useful if your thermistor is not in the common pre-defined models.
  362. #temperature_control.hotend3.r0                 100000  # Manually set the r0 resistance value for your thermistor. This is useful if your thermistor is not in the common pre-defined models. Besides beta and r0 which are properties of your thermistor, you can also set the r1, r2 and t0 values, but those are properties of your board so they usually never have to be changed.
  363. #temperature_control.hotend3.chip_select_pin    0.16    # If the sensor is set to max31855, sets the chip select pin for the SPI port. This allows you to have multiple sensors sharing the same SPI port, as long as they each get a chip select ( CS ) pin.
  364. #temperature_control.hotend3.spi_channel        0       # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  365.  
  366.     #============#
  367.     # HEATED BED #
  368.     #============#
  369.  
  370. # GENERAL SETTINGS
  371. temperature_control.bed.enable              true
  372. temperature_control.bed.designator          B               # The letter this module's temperature will be identified as in the M105 command's answer. For example here the value is T, so M105 will answer ok T:23.4 /0.0 @0
  373. temperature_control.bed.max_temp            120             # If set, no temperature above this will be accepted and if the temperature exceeds this value the system will be forced into a HALT state.
  374.  
  375. temperature_control.bed.sensor              thermistor      # Set the type of sensor used to read temperature. Values can be thermistor for the usual thermistor reading via ADC method, or max31855 to read values from a thermocouple over SPI. See Reading a thermocouple
  376. temperature_control.bed.thermistor_pin      0.24            # Pin for the thermistor to read.
  377. temperature_control.bed.heater_pin          2.5             # Pin that controls the heater. This can be used to control a Mosfet on board or an external Solid State Relay. Set to nc if a readonly thermistor is being defined
  378. temperature_control.bed.thermistor          Honeywell100K   # Set the thermistor model for this module. Several different common models are pre-defined, see here for a list
  379.  
  380. # PWM-SETTINGS
  381. temperature_control.bed.readings_per_second 20      # How many times per second to read temperature from the sensor.
  382. temperature_control.bed.pwm_frequency       2000    # How many times per second to switch the heating element on or off. Set to a low value ( 20 ) if using a Solid State Relay.
  383. temperature_control.bed.max_pwm             255     # Maximum PWM value for the heating element. This can be from 0 to 255 . 64 is a good value if driving a 12v resistor with 24v. 255 is the default and the normal value if you are using the right voltage for your heating element.
  384.  
  385. # BANG-BANG-SETTINGS
  386. temperature_control.bed.bang_bang           false   # Set to true to use bang bang control rather than PID
  387. temperature_control.bed.hysteresis          2.0     # Set to the temperature in degrees C to use as hysteresis for bang bang control
  388.  
  389. # PID-SETTINGS
  390. temperature_control.bed.p_factor            80.6    # P factor for PID temperature regulation
  391. temperature_control.bed.i_factor            10.674  # I factor for PID temperature regulation
  392. temperature_control.bed.d_factor            152     # D factor for PID temperature regulation
  393. temperature_control.bed.i_max               255     # Maximum value for the I variable in the PID control. This should usually be set to about the same value as max_pwm ( as a rule of thumb, it is not actually a pwm setting ). This helps with preventing overshoot when initially heating up. If you get a strong ( >10°C ) overshoot on startup, try setting this to a value lower than max_pwm
  394.  
  395. # M-CODES
  396. temperature_control.bed.set_m_code          140     # This is the M-code for simply setting the temperature. For example here, the value is 104 so you use M104 S50 to set this module's heater's temperature to 50.
  397. temperature_control.bed.set_and_wait_m_code 190     # This is the M-code for setting the temperature then waiting for that temperature to be reached before doing anything. For example here, the value is 109 so you use M109 S50 to set this module's heater's temperature to 50 and then wait.
  398.  
  399. # MANUAL THERMISTOR SETTINGS
  400. #temperature_control.bed.beta               4066    # Manually set the beta value for your thermistor. This is useful if your thermistor is not in the common pre-defined models.
  401. #temperature_control.bed.r0                 100000  # Manually set the r0 resistance value for your thermistor. This is useful if your thermistor is not in the common pre-defined models. Besides beta and r0 which are properties of your thermistor, you can also set the r1, r2 and t0 values, but those are properties of your board so they usually never have to be changed.
  402. #temperature_control.bed.chip_select_pin    0.16    # If the sensor is set to max31855, sets the chip select pin for the SPI port. This allows you to have multiple sensors sharing the same SPI port, as long as they each get a chip select ( CS ) pin.
  403. #temperature_control.bed.spi_channel        0       # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  404.  
  405.  
  406. ###################################
  407. ###                             ###
  408. ###         ENDSTOPS            ###
  409. ###                             ###
  410. ###################################
  411.  
  412. endstops_enable             true        # The endstop module is enabled if this is set to true. All of it's parameters are ignored otherwise.
  413.  
  414. # HOMING
  415. corexy_homing               true        # Set to true if this machine uses a corexy or a h-bot arm solution
  416. delta_homing                false       # Set to true if this machine uses a linear_delta arm solution
  417. scara_homing                false       # Set to true if this machine uses a scara arm solution
  418.  
  419. move_to_origin_after_home   false       # If set to true, once homing is complete, the machine will move to it's origin point
  420. homing_order                XYZ         # Optional order in which axis will home, default is they all home at the same time, if this is set it will force each axis to home one at a time in the specified order. For example XZY means : X axis followed by Z, then Y last.
  421. endstop_debounce_count      2           # Debounce each endstop pin over this number of values. Set to 100 if your endstops are too noisy and give false readings.
  422.  
  423. alpha_fast_homing_rate_mm_s 60          # Speed, in millimetres/second, at which to home for the alpha actuator ( X axis or alpha tower )
  424. beta_fast_homing_rate_mm_s  60          # Speed, in millimetres/second, at which to home for the beta actuator ( Y axis or beta tower )
  425. gamma_fast_homing_rate_mm_s 15          # Speed, in millimetres/second, at which to home for the gamma actuator ( Z axis or gamma tower )
  426.  
  427. alpha_homing_retract_mm     10          # Distance to retract the alpha actuator ( X axis or alpha tower ) once the endstop is first hit, before re-homing at a slower speed.
  428. beta_homing_retract_mm      10          # Distance to retract the beta actuator ( Y axis or beta tower ) once the endstop is first hit, before re-homing at a slower speed.
  429. gamma_homing_retract_mm     3           # Distance to retract the alpha actuator ( Z axis or gamma tower ) once the endstop is first hit, before re-homing at a slower speed.
  430.  
  431. alpha_slow_homing_rate_mm_s 25          # Speed, in millimetres/second, at which to re-home for the alpha actuator ( X axis or alpha tower ) once the endstop is hit once.
  432. beta_slow_homing_rate_mm_s  25          # Speed, in millimetres/second, at which to re-home for the beta actuator ( Y axis or beta tower ) once the endstop is hit once.
  433. gamma_slow_homing_rate_mm_s 2           # Speed, in millimetres/second, at which to re-home for the gamma actuator ( Z axis or gamma tower ) once the endstop is hit once.
  434.  
  435. # ENDSTOPS
  436. alpha_min_endstop           1.24v       # Alpha ( X axis or alpha tower ) minimum limit endstop. Set to nc if not installed on your machine.
  437. alpha_max_endstop           nc          # Alpha ( X axis or alpha tower ) maximum limit endstop. Set to nc if not installed on your machine.
  438. alpha_homing_direction      home_to_min # In which direction to home. If set to home_to_min, homing ( using the G28 G-code ) will move until it hits the minimum endstop and then set the current position to alpha_min. If set to home_to_max, homing will move until it hits the maximum endstop, and then set the current position to alpha_max
  439. alpha_limit_enable          false       # If set to true, the machine will stop if one of the alpha ( X axis or alpha tower ) endstops are hit
  440. alpha_min                   0           # This gets loaded after homing when alpha_homing_direction is set to home_to_min and the minimum endstop is hit.
  441. alpha_max                   300         # This gets loaded after homing when alpha_homing_direction is set to home_to_max and the maximum endstop is hit.
  442.  
  443. beta_min_endstop            nc          # Beta ( Y axis or beta tower ) minimum limit endstop. Set to nc if not installed on your machine.
  444. beta_max_endstop            1.27v       # Beta ( Y axis or beta tower ) maximum limit endstop. Set to nc if not installed on your machine.
  445. beta_homing_direction       home_to_max # In which direction to home. If set to home_to_min, homing ( using the G28 G-code ) will move until it hits the minimum endstop and then set the current position to beta_min. If set to home_to_max, homing will move until it hits the maximum endstop, and then set the current position to beta_max
  446. beta_limit_enable           false       # If set to true, the machine will stop if one of the beta ( Y axis or beta tower ) endstops are hit
  447. beta_min                    0           # This gets loaded after homing when beta_homing_direction is set to home_to_min and the minimum endstop is hit.
  448. beta_max                    370         # This gets loaded after homing when beta_homing_direction is set to home_to_max and the maximum endstop is hit.
  449.  
  450. gamma_min_endstop           1.28!       # Gamma ( Z axis or gamma tower ) minimum limit endstop. Set to nc if not installed on your machine.
  451. gamma_max_endstop           nc          # Gamma ( Z axis or gamma tower ) maximum limit endstop. Set to nc if not installed on your machine.
  452. gamma_homing_direction      home_to_min # In which direction to home. If set to home_to_min, homing ( using the G28 G-code ) will move until it hits the minimum endstop and then set the current position to gamma_min. If set to home_to_max, homing will move until it hits the maximum endstop, and then set the current position to gamma_max
  453. gamma_limit_enable          false       # If set to true, the machine will stop if one of the gamma ( Z axis or gamma tower ) endstops are hit
  454. gamma_min                   0           # This gets loaded after homing when gamma_homing_direction is set to home_to_min and the minimum endstop is hit.
  455. gamma_max                   250         # This gets loaded after homing when gamma_homing_direction is set to home_to_max and the maximum endstop is hit.
  456.  
  457. #DELTA-HOMING
  458. #alpha_trim                 -0.1        # DELTA ONLY Software trim for alpha ( X axis or alpha tower ) stepper endstop (in millimetres ). When the endstop is hit, the axis will move this distance towards the endstop (negative values move endstop away from the endstop )
  459. #beta_trim                  -0.1        # DELTA ONLY Software trim for beta ( Y axis or beta tower ) stepper endstop (in millimetres ). When the endstop is hit, the axis will move this distance towards the endstop (negative values move endstop away from the endstop )
  460. #gamma_trim                 -0.1        # DELTA ONLY Software trim for gamma ( Z axis or gamma tower ) stepper endstop (in millimetres ). When the endstop is hit, the axis will move this distance towards the endstop (negative values move endstop away from the endstop )
  461.  
  462.  
  463. ###################################
  464. ###                             ###
  465. ###         SWITCHING           ###
  466. ###                             ###
  467. ###################################
  468.  
  469. ###===============================###
  470. ### Switch module for fan control ###
  471. ###===============================###
  472.  
  473. switch.fan.enable              true #
  474. switch.fan.input_on_command    M106 #
  475. switch.fan.input_off_command   M107 #
  476. switch.fan.output_pin          2.7  #
  477. switch.fan.output_type         pwm  # pwm output settable with S parameter in the input_on_comand
  478. switch.fan.max_pwm             255  # set max pwm for the pin default is 255
  479.  
  480.  
  481. ###===============================================================###
  482. ### Switch module for automatic temperature-controlled Hotend-fan ###
  483. ###===============================================================###
  484.  
  485. # MAKE HOTEND-FAN-SWITCH FOR HOTEND1:
  486. temperatureswitch.hotend1.enable                true        # Create and enable a new TemperatureSwitch module if set to true. This module automatically toggles a Switch module at a specified temperature ( read from a TemperatureControl module ).
  487. temperatureswitch.hotend1.designator            T0          # This module does not read temperature by itself, it asks an existing TemperatureControl for it's current temperature. This is used to specify which module to read temperature from, and must match the designator for that module.
  488. temperatureswitch.hotend1.switch                hotend1fan  # This module does not have any output by itself, instead, it switches the state of an existing Switch module. Here you must speficy the name of that Switch module.
  489. temperatureswitch.hotend1.threshold_temp        60          # Turn the switch ON above this temperature, and OFF below this temperature. In °C.
  490. temperatureswitch.hotend1.heatup_poll           15          # Poll temperature at this frequency ( in seconds ) when heating up.
  491. temperatureswitch.hotend1.cooldown_poll         60          # Poll temperature at this frequency ( in seconds ) when cooling down.
  492. temperatureswitch.hotend1.trigger               level       # can be level, rising, falling - level is the default
  493. #temperatureswitch.hotend1.inverted             false       # will turn the switch off when the temp > target and vice versa when set true
  494. #temperatureswitch.hotend1.arm_mcode            1100        # M code used to arm the edge triggered switch eg M1100 S1 arms it
  495.  
  496. # USE HOTEND-FAN-SWITCH FOR HOTEND1:
  497. switch.hotend1fan.enable                        true        # Create and enable a new Switch module if set to true. Switch modules use commands or pins as inputs, to send commands or switch pins as output. Note this module is very versatile and can be used to do many different things. Parameters that are not defined will be ignored.
  498. switch.hotend1fan.input_on_command              M42         # Calling this command sets the switch ON
  499. switch.hotend1fan.input_off_command             M43         # Calling this command sets the switch OFF
  500. switch.hotend1fan.output_pin                    1.31        # This pin will be set low when the switch is OFF, and high when the switch is ON
  501. switch.hotend1fan.output_type                   digital     # Sets the type of output for the output_pin, if set to digital the pin can only be low or high, and if set to pwm the pin can be set to any Sigma-Delta PWM value between 0 and 255 using the S parameter, for example : M106 S127. If set to hwpwm will use Real PWM, but the selected output pin must be PWM capable. The S value will be the duty cycle in percent, NOTE the default is none which will disable the output entirely.
  502.  
  503. switch.hotend1fan.startup_state                 false       # Startup state of the switch. If set to false the module is initialized OFF, if set to true the module is initualized ON
  504. switch.hotend1fan.fail_safe_set_to              1           # 0 or 1 what to set the output pin to in case of a crash or HALT condition
  505. switch.hotend1fan.ignore_on_halt                false       # set to true to not set the fail safe value when a HALT condition is triggered
  506.  
  507.  
  508.  
  509. # MAKE HOTEND-FAN-SWITCH FOR HOTEND2:
  510. temperatureswitch.hotend2.enable                true        # Create and enable a new TemperatureSwitch module if set to true. This module automatically toggles a Switch module at a specified temperature ( read from a TemperatureControl module ).
  511. temperatureswitch.hotend2.designator            T1          # This module does not read temperature by itself, it asks an existing TemperatureControl for it's current temperature. This is used to specify which module to read temperature from, and must match the designator for that module.
  512. temperatureswitch.hotend2.switch                hotend2fan  # This module does not have any output by itself, instead, it switches the state of an existing Switch module. Here you must speficy the name of that Switch module.
  513. temperatureswitch.hotend2.threshold_temp        60          # Turn the switch ON above this temperature, and OFF below this temperature. In °C.
  514. temperatureswitch.hotend2.heatup_poll           15          # Poll temperature at this frequency ( in seconds ) when heating up.
  515. temperatureswitch.hotend2.cooldown_poll         60          # Poll temperature at this frequency ( in seconds ) when cooling down.
  516. temperatureswitch.hotend2.trigger               level       # can be level, rising, falling - level is the default
  517. #temperatureswitch.hotend2.inverted             false       # will turn the switch off when the temp > target and vice versa when set true
  518. #temperatureswitch.hotend2.arm_mcode            1100        # M code used to arm the edge triggered switch eg M1100 S1 arms it
  519.  
  520. # USE HOTEND-FAN-SWITCH FOR HOTEND2:
  521. switch.hotend2fan.enable                        true        # Create and enable a new Switch module if set to true. Switch modules use commands or pins as inputs, to send commands or switch pins as output. Note this module is very versatile and can be used to do many different things. Parameters that are not defined will be ignored.
  522. switch.hotend2fan.input_on_command              M42         # Calling this command sets the switch ON
  523. switch.hotend2fan.input_off_command             M43         # Calling this command sets the switch OFF
  524. switch.hotend2fan.output_pin                    1.30        # This pin will be set low when the switch is OFF, and high when the switch is ON
  525. switch.hotend2fan.output_type                   digital     # Sets the type of output for the output_pin, if set to digital the pin can only be low or high, and if set to pwm the pin can be set to any Sigma-Delta PWM value between 0 and 255 using the S parameter, for example : M106 S127. If set to hwpwm will use Real PWM, but the selected output pin must be PWM capable. The S value will be the duty cycle in percent, NOTE the default is none which will disable the output entirely.
  526.  
  527. switch.hotend2fan.startup_state                 false       # Startup state of the switch. If set to false the module is initialized OFF, if set to true the module is initualized ON
  528. switch.hotend2fan.fail_safe_set_to              1           # 0 or 1 what to set the output pin to in case of a crash or HALT condition
  529. switch.hotend2fan.ignore_on_halt                false       # set to true to not set the fail safe value when a HALT condition is triggered
  530.  
  531.  
  532. # MAKE HOTEND-FAN-SWITCH FOR HOTEND3:
  533. temperatureswitch.hotend3.enable                true        # Create and enable a new TemperatureSwitch module if set to true. This module automatically toggles a Switch module at a specified temperature ( read from a TemperatureControl module ).
  534. temperatureswitch.hotend3.designator            T2          # This module does not read temperature by itself, it asks an existing TemperatureControl for it's current temperature. This is used to specify which module to read temperature from, and must match the designator for that module.
  535. temperatureswitch.hotend3.switch                hotend3fan  # This module does not have any output by itself, instead, it switches the state of an existing Switch module. Here you must speficy the name of that Switch module.
  536. temperatureswitch.hotend3.threshold_temp        60          # Turn the switch ON above this temperature, and OFF below this temperature. In °C.
  537. temperatureswitch.hotend3.heatup_poll           15          # Poll temperature at this frequency ( in seconds ) when heating up.
  538. temperatureswitch.hotend3.cooldown_poll         60          # Poll temperature at this frequency ( in seconds ) when cooling down.
  539. temperatureswitch.hotend3.trigger               level       # can be level, rising, falling - level is the default
  540. #temperatureswitch.hotend3.inverted             false       # will turn the switch off when the temp > target and vice versa when set true
  541. #temperatureswitch.hotend3.arm_mcode            1100        # M code used to arm the edge triggered switch eg M1100 S1 arms it
  542.  
  543. # USE HOTEND-FAN-SWITCH FOR HOTEND3:
  544. switch.hotend3fan.enable                        true        # Create and enable a new Switch module if set to true. Switch modules use commands or pins as inputs, to send commands or switch pins as output. Note this module is very versatile and can be used to do many different things. Parameters that are not defined will be ignored.
  545. switch.hotend3fan.input_on_command              M42         # Calling this command sets the switch ON
  546. switch.hotend3fan.input_off_command             M43         # Calling this command sets the switch OFF
  547. #switch.hotend3fan.output_pin                               # This pin will be set low when the switch is OFF, and high when the switch is ON
  548. switch.hotend3fan.output_type                   digital     # Sets the type of output for the output_pin, if set to digital the pin can only be low or high, and if set to pwm the pin can be set to any Sigma-Delta PWM value between 0 and 255 using the S parameter, for example : M106 S127. If set to hwpwm will use Real PWM, but the selected output pin must be PWM capable. The S value will be the duty cycle in percent, NOTE the default is none which will disable the output entirely.
  549.  
  550. #switch.hotend3fan.startup_state                false       # Startup state of the switch. If set to false the module is initialized OFF, if set to true the module is initualized ON
  551. #switch.hotend3fan.fail_safe_set_to             1           # 0 or 1 what to set the output pin to in case of a crash or HALT condition
  552. #switch.hotend3fan.ignore_on_halt               false       # set to true to not set the fail safe value when a HALT condition is triggered
  553.  
  554. #######################################
  555. ###                                 ###
  556. ###         COMMUNICATION           ###
  557. ###                                 ###
  558. #######################################
  559.  
  560. uart0.baud_rate             115200  # Baud rate for the default hardware serial port ( UART0, labelled "Serial" on the board, close to the USB connector ). Defaults to 9600 if undefined, or if the configuration file can not be read.
  561. second_usb_serial_enable    false   # This enables a second serial port over the USB connection ( for example to have both Pronterface and a terminal connected)
  562.  
  563.  
  564. #######################################
  565. ###                                 ###
  566. ###         MISCELLANEOUS           ###
  567. ###                                 ###
  568. #######################################
  569.    
  570. leds_disable                    false   # Disable the 4 flashing LEDs on the board // needs to be true for 6th stepper on cohesion remix
  571. play_led_disable                false   # Disable the "play" status LED
  572. msd_disable                     false   # Disable the MSD ( SD Card access over USB ) when set to true ( requires a special binary, which you can find here, will be ignored without the special binary)
  573. dfu_enable                      false   # For Linux developers, set to true to enable DFU, which allows you to flash new firmwares over USB
  574. return_error_on_unhandled_gcode false   # If set to true, return an error if a G-code is received but not understood.
  575.  
  576.  
  577. #######################################
  578. ###                                 ###
  579. ###         CURRENT CONTROL         ###
  580. ###                                 ###
  581. #######################################
  582.  
  583. currentcontrol_module_enable    false   # If set to true, enable digital control of the current settings of the stepper motor drivers. Note : this is dependent on the physical board type, and unless you are designing a new board you shouldn't have to modify these settings
  584. #digipotchip                    mcp4451 # Select the digipot chip with which to control the current for the stepper motor drivers. Supported chips are mcp4451 and ad5206
  585. #digipot_max_current            2       # Maximum current that can be set
  586. #digipot_factor                 113.33  # Factor for converting the current into digipot values
  587. #delta_current                  1.5     # First extruder stepper motor driver ( M4 ) current in Amperes
  588. #epsilon_current                1.5     # Second extruder stepper motor driver ( M5 ) current in Amperes
  589. #zeta_current                   1.5     # Current setting for the 6th stepper motor driver current control
  590. #eta_current                    1.5     # Current setting for the 7th stepper motor driver current control
  591. #theta_current                  1.5     # Current setting for the 8th stepper motor driver current control
  592.  
  593.  
  594. ###############################
  595. ###                         ###
  596. ###         PLAYER          ###
  597. ###                         ###
  598. ###############################
  599.  
  600. on_boot_gcode_enable        false               # If set to true, play the on_boot_gcode file when the board boots up
  601. on_boot_gcode               /sd/on_boot.gcode   # G-code file to play when the board boots. This file will automaticaly be played when the board is done booting up. Useful for example if you want to home your printer when it boots, or do similar tasks.
  602. leave_heaters_on_suspend    false               # If set to true, heaters are left ON when suspend is received. If set to false, heaters are turned OFF when suspend is received, and then turned back ON when resume is received.
  603.  
  604. #after_suspend_gcode        G91_G0E-5_G0Z10_G90_G0X-50Y-50  # G-code to execute automatically right after the suspend command is received, this is useful if you want to retract, or turn off heaters etc. The _ character gets converted into space
  605. #before_resume_gcode        G91_G1E1_G90                    # G-code to execute automatically right after the resume command is received, but before resuming execution. This is useful in particular to un-do what was done by after_suspend_gcode. The _ character gets converted into space
Advertisement
Add Comment
Please, Sign In to add comment