Facebook
From Paweł, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 358
  1. #######################################
  2. ###                                                                     ###
  3. ###                     GENERAL INFO                    ###
  4. ###                                                                     ###
  5. #######################################
  6.  
  7. # Config: As of 15th may 2016: config.txt verified.
  8. # Firmware is Smoothieware.
  9. # Provided config-file is for the AZSMZ-mini V2.1 and to use in the 3D-printer ‚DICE’.
  10. # More information at www.well-engineered.net
  11.  
  12. # there are advanced options to configure a pin:
  13. #       !       invert pin
  14. #       o       set pin to open drain
  15. #       ^       set pin to pull up
  16. #       v       set pin to pull down
  17. #       -       to set no pullup
  18. #       @       to set repeater mode
  19.  
  20. # EXAMPLE:
  21. # set_example_pin       1.23!^
  22. # will set the pin to inverted pull up
  23.  
  24.  
  25. #######################################
  26. ###                                                                     ###
  27. ###                     GENERAL MOTION                  ###
  28. ###                                                                     ###
  29. #######################################
  30.  
  31.         #=================#
  32.         # MOTION-SETTINGS #
  33.         #=================#
  34.  
  35. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  36.  
  37. alpha_steps_per_mm                      161.70          # Steps per millimetre for alpha stepper motor ( this is the X axis for a cartesian machine )
  38. beta_steps_per_mm                       161.70          # Steps per millimetre for beta stepper motor ( this is the Y axis for a cartesian machine )
  39. gamma_steps_per_mm                      3200            # Steps per millimetre for gamma stepper motor ( this is the Z axis for a cartesian machine )
  40.  
  41. acceleration                                    900     # 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.
  42. z_acceleration                                  300         # 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.
  43. 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 !
  44.  
  45. junction_deviation                      0.05            # 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
  46. 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.
  47.  
  48.         #================#
  49.         # SPEED SETTINGS #
  50.         #================#
  51.  
  52. default_feed_rate                       4000            # 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.
  53. default_seek_rate                       4000            # Default rate for G0 moves in millimetres/minute
  54.  
  55.         #==================#
  56.         # SPECIAL SETTINGS #
  57.         #==================#
  58.  
  59. 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
  60. 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 !
  61. 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.
  62. microseconds_per_step_pulse     1                       # Duration of step pulses to the stepper motor drivers, in microseconds
  63. 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.
  64.  
  65.  
  66. #######################################
  67. ###                                                                     ###
  68. ###                     STEPPER MOTORS                  ###
  69. ###                                                                     ###
  70. #######################################
  71. # Cartesian axis speed limits
  72. x_axis_max_speed                             20000            # mm/min
  73. y_axis_max_speed                             20000            # mm/min
  74. z_axis_max_speed                             300              # mm/min
  75.  
  76. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  77. alpha_step_pin                               2.0              # Pin for alpha stepper step signal
  78. alpha_dir_pin                                0.5              # Pin for alpha stepper direction
  79. alpha_en_pin                                 0.4              # Pin for alpha enable pin
  80. alpha_current                                1.0              # X stepper motor current
  81. alpha_max_rate                               20000.0          # mm/min
  82.  
  83. beta_step_pin                                2.1              # Pin for beta stepper step signal
  84. beta_dir_pin                                 0.11             # Pin for beta stepper direction
  85. beta_en_pin                                  0.10             # Pin for beta enable
  86. beta_current                                 1.0              # Y stepper motor current
  87. beta_max_rate                                20000.0          # mm/min
  88.  
  89. gamma_step_pin                               2.2              # Pin for gamma stepper step signal
  90. gamma_dir_pin                                0.20             # Pin for gamma stepper direction
  91. gamma_en_pin                                 0.19             # Pin for gamma enable
  92. gamma_current                                1.0              # Z stepper motor current
  93. gamma_max_rate                               300.0            # mm/min
  94.  
  95. ## System configuration
  96. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  97. uart0.baud_rate                              115200           # Baud rate for the default hardware serial port
  98. second_usb_serial_enable                     false            # This enables a second usb serial port (to have both pronterface
  99.                                                               # and a terminal connected)
  100. #leds_disable                                true             # disable using leds after config loaded
  101. #play_led_disable                            true             # disable the play led
  102.  
  103. # Kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
  104. kill_button_enable                           true             # set to true to enable a kill button
  105. kill_button_pin                              2.12             # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  106.  
  107. #msd_disable                                 false            # disable the MSD (USB SDCARD) when set to true (needs special binary)
  108. #dfu_enable                                  false            # for linux developers, set to true to enable DFU
  109. #watchdog_timeout                            10               # watchdog timeout in seconds, default is 10, set to 0 to disable the watchdog
  110.  
  111. # Only needed on a smoothieboard
  112. currentcontrol_module_enable                 true             #
  113.  
  114. ## Extruder module configuration
  115. extruder.hotend.enable                          true             # Whether to activate the extruder module at all. All configuration is ignored if false
  116. extruder.hotend.steps_per_mm                    182             # Steps per mm for extruder stepper
  117. extruder.hotend.default_feed_rate               600              # Default rate ( mm/minute ) for moves where only the extruder moves
  118. extruder.hotend.acceleration                    250              # Acceleration for the stepper motor mm/sec²
  119. extruder.hotend.max_speed                       50               # mm/s
  120.  
  121. extruder.hotend.step_pin                        2.8              # Pin for extruder step signal
  122. extruder.hotend.dir_pin                         2.13             # Pin for extruder dir signal
  123. extruder.hotend.en_pin                          4.29             # Pin for extruder enable signal
  124.  
  125. # extruder offset
  126. #extruder.hotend.x_offset                        0                # x offset from origin in mm
  127. #extruder.hotend.y_offset                        25.0             # y offset from origin in mm
  128. #extruder.hotend.z_offset                        0                # z offset from origin in mm
  129.  
  130. # firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using the defaults
  131. #extruder.hotend.retract_length                  3               # retract length in mm
  132. #extruder.hotend.retract_feedrate                45              # retract feedrate in mm/sec
  133. #extruder.hotend.retract_recover_length          0               # additional length for recover
  134. #extruder.hotend.retract_recover_feedrate        8               # recover feedrate in mm/sec (should be less than retract feedrate)
  135. #extruder.hotend.retract_zlift_length            0               # zlift on retract in mm, 0 disables
  136. #extruder.hotend.retract_zlift_feedrate          6000            # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  137.  
  138. delta_current                                   1.0              # First extruder stepper motor current
  139.  
  140.  
  141. ## Laser module configuration
  142. laser_module_enable                          false            # Whether to activate the laser module at all. All configuration is
  143.                                                               # ignored if false.
  144. #laser_module_pin                             2.5             # this pin will be PWMed to control the laser. Only P2.0 - P2.5, P1.18, P1.20, P1.21, P1.23, P1.24, P1.26, P3.25, P3.26
  145.                                                               # can be used since laser requires hardware PWM
  146. #laser_module_maximum_power                   1.0             # this is the maximum duty cycle that will be applied to the laser
  147. #laser_module_minimum_power                   0.0             # This is a value just below the minimum duty cycle that keeps the laser
  148.                                                               # active without actually burning.
  149. #laser_module_default_power                   0.8             # This is the default laser power that will be used for cuts if a power has not been specified.  The value is a scale between
  150.                                                               # the maximum and minimum power levels specified above
  151. #laser_module_pwm_period                      20              # this sets the pwm frequency as the period in microseconds
  152.  
  153.  
  154. ###############################################
  155. ###                                                                                     ###
  156. ###                     TEMPERATURE CONTROL                     ###
  157. ###                                                                                     ###
  158. ###############################################
  159.  
  160.         #==========#
  161.         # HOTEND 1 #
  162.         #==========#
  163.  
  164. # GENERAL SETTINGS
  165. 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
  166.  
  167. temperature_control.hotend1.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
  168. temperature_control.hotend1.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.
  169.  
  170. 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
  171. temperature_control.hotend1.thermistor_pin              0.25            # Pin for the thermistor to read.
  172. temperature_control.hotend1.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
  173. temperature_control.hotend1.thermistor                  EPCOS100K       # Set the thermistor model for this module. Several different common models are pre-defined, see "http://smoothieware.org/temperaturecontrol#toc6" for a list
  174.  
  175. # PWM-SETTINGS
  176. temperature_control.hotend1.readings_per_second 20                      # How many times per second to read temperature from the sensor.
  177. 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.
  178. temperature_control.hotend1.max_pwm                         250         # 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.
  179.  
  180. # BANG-BANG-SETTINGS
  181. temperature_control.hotend1.bang_bang                   false           # Set to true to use bang bang control rather than PID
  182. temperature_control.hotend1.hysteresis                  2.0             # Set to the temperature in degrees C to use as hysteresis for bang bang control
  183.  
  184. # PID-SETTINGS
  185. temperature_control.hotend1.p_factor                    32.2            # P factor for PID temperature regulation - Use "81.0" for an E3D 40W@24V
  186. temperature_control.hotend1.i_factor                    1.931           # I factor for PID temperature regulation - Use "9.559" for an E3D 40W@24V
  187. temperature_control.hotend1.d_factor                    134             # D factor for PID temperature regulation - Use "172" for an E3D 40W@24V
  188. temperature_control.hotend1.i_max                           250         # 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
  189.  
  190. # M-CODES
  191. temperature_control.hotend1.get_m_code                  105             # Calling this M-code will return the current temperature.
  192. temperature_control.hotend1.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.
  193. temperature_control.hotend1.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.
  194.  
  195. # MANUAL THERMISTOR SETTINGS
  196. #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.
  197. #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.
  198. #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.
  199. #temperature_control.hotend1.spi_channel                0               # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  200.  
  201.         #============#
  202.         # HEATED BED #
  203.         #============#
  204.  
  205. # GENERAL SETTINGS
  206. temperature_control.bed.enable                          true
  207. temperature_control.bed.designator                      T               # 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
  208. temperature_control.bed.max_temp                        260             # 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.
  209.  
  210. 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
  211. temperature_control.bed.thermistor_pin          0.23            # Pin for the thermistor to read.
  212. temperature_control.bed.heater_pin                      2.4             # 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
  213. temperature_control.bed.thermistor                      EPCOS100K       # Set the thermistor model for this module. Several different common models are pre-defined, see here for a list
  214.  
  215. # PWM-SETTINGS
  216. temperature_control.bed.readings_per_second             20              # How many times per second to read temperature from the sensor.
  217. 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.
  218. 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.
  219.  
  220. # BANG-BANG-SETTINGS
  221. temperature_control.bed.bang_bang                       false           # Set to true to use bang bang control rather than PID
  222. temperature_control.bed.hysteresis                      2.0             # Set to the temperature in degrees C to use as hysteresis for bang bang control
  223.  
  224. # PID-SETTINGS
  225. temperature_control.bed.p_factor                        148.7           # P factor for PID temperature regulation
  226. temperature_control.bed.i_factor                        1.625           # I factor for PID temperature regulation
  227. temperature_control.bed.d_factor                        3401            # D factor for PID temperature regulation
  228. 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
  229.  
  230. # M-CODES
  231. 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.
  232. 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.
  233.  
  234. # MANUAL THERMISTOR SETTINGS
  235. #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.
  236. #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.
  237. #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.
  238. #temperature_control.bed.spi_channel                    0               # If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
  239.  
  240.  
  241. ###################################
  242. ###                                                             ###
  243. ###                     ENDSTOPS                        ###
  244. ###                                                             ###
  245. ###################################
  246.  
  247.  
  248.  
  249. # Endstops
  250. endstops_enable                              true             # the endstop module is enabled by default and can be disabled here
  251. #delta_homing                                true             # forces all three axis to home a the same time regardless of
  252.                                                               # what is specified in G28
  253. #alpha_min_endstop                            1.24^            # add ! to invert pullup if switch is NO to ground
  254. alpha_max_endstop                            1.24^
  255. alpha_homing_direction                       home_to_max      # Home up
  256. alpha_min_endstop                            0                #
  257. alpha_max                                    300              #
  258. beta_min_endstop                             1.26^            #
  259. #beta_max_endstop                             1.26^            #
  260. beta_homing_direction                        home_to_min      #
  261. beta_min                                     0                #
  262. beta_max                                     290              #
  263. gamma_min_endstop                            1.28^            #
  264. #gamma_max_endstop                            1.28^            #
  265. gamma_homing_direction                       home_to_min      #
  266. gamma_min                                    0                #
  267. gamma_max                                    300              #
  268.  
  269. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  270. #alpha_limit_enable                          false            # set to true to enable X min and max limit switches
  271. #beta_limit_enable                           false            # set to true to enable Y min and max limit switches
  272. #gamma_limit_enable                          false            # set to true to enable Z min and max limit switches
  273.  
  274. alpha_fast_homing_rate_mm_s                  200              # homing feedrates in mm/second
  275. beta_fast_homing_rate_mm_s                   200              #
  276. gamma_fast_homing_rate_mm_s                  200              #
  277. alpha_slow_homing_rate_mm_s                  20               #
  278. beta_slow_homing_rate_mm_s                   20               #
  279. gamma_slow_homing_rate_mm_s                  20
  280.  
  281. alpha_homing_retract_mm                      5                # retract/bounce distance after homing in mm
  282. beta_homing_retract_mm                       5                #
  283. gamma_homing_retract_mm                      5                #
  284.  
  285. #alpha_trim                                   -1                 # software trim for alpha stepper endstop (in mm)
  286. #beta_trim                                    -1                 # software trim for beta stepper endstop (in mm)
  287. #gamma_trim                                   -1                 # software trim for gamma stepper endstop (in mm)
  288.  
  289. #endstop_debounce_count                       100              # uncomment if you get noise on your endstops
  290.  
  291. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  292. #alpha_limit_enable                          false            # set to true to enable X min and max limit switches
  293. #beta_limit_enable                           false            # set to true to enable Y min and max limit switches
  294. #gamma_limit_enable                          false            # set to true to enable Z min and max limit switches
  295.  
  296. alpha_fast_homing_rate_mm_s                  50               # feedrates in mm/second
  297. beta_fast_homing_rate_mm_s                   50               # "
  298. gamma_fast_homing_rate_mm_s                  4                # "
  299. alpha_slow_homing_rate_mm_s                  25               # "
  300. beta_slow_homing_rate_mm_s                   25               # "
  301. gamma_slow_homing_rate_mm_s                  2                # "
  302.  
  303. alpha_homing_retract_mm                      5                # distance in mm
  304. beta_homing_retract_mm                       5                # "
  305. gamma_homing_retract_mm                      1                # "
  306.  
  307. #endstop_debounce_count                       100              # uncomment if you get noise on your endstops, default is 100
  308.  
  309.  
  310. ###################################
  311. ###                                                             ###
  312. ###                     SWITCHING                       ###
  313. ###                                                             ###
  314. ###################################
  315.  
  316. ###===============================###
  317. ### Switch module for fan control ###
  318. ###===============================###
  319.  
  320. switch.fan.enable              true #
  321. switch.fan.input_on_command    M106 #
  322. switch.fan.input_off_command   M107 #
  323. switch.fan.output_pin          2.7  # 0.26 is fanpin on AZSMZ board ver 2.1; D09 = 2.7
  324. switch.fan.output_type         pwm  # pwm output settable with S parameter in the input_on_comand
  325. switch.fan.max_pwm             255  # set max pwm for the pin default is 255
  326.  
  327.  
  328. ###===============================================================###
  329. ### Switch module for automatic temperature-controlled Hotend-fan ###
  330. ###===============================================================###
  331.  
  332. # MAKE HOTEND-FAN-SWITCH FOR HOTEND1:
  333. 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 ).
  334. temperatureswitch.hotend1.designator                    T               # 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.
  335. 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.
  336. temperatureswitch.hotend1.threshold_temp                60              # Turn the switch ON above this temperature, and OFF below this temperature. In °C.
  337. temperatureswitch.hotend1.heatup_poll                   15              # Poll temperature at this frequency ( in seconds ) when heating up.
  338. temperatureswitch.hotend1.cooldown_poll                 60              # Poll temperature at this frequency ( in seconds ) when cooling down.
  339. temperatureswitch.hotend1.trigger                       level           # can be level, rising, falling - level is the default
  340. #temperatureswitch.hotend1.inverted                     false           # will turn the switch off when the temp > target and vice versa when set true
  341. #temperatureswitch.hotend1.arm_mcode                    1100            # M code used to arm the edge triggered switch eg M1100 S1 arms it
  342.  
  343. # USE HOTEND-FAN-SWITCH FOR HOTEND1:
  344. 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.
  345. switch.hotend1fan.input_on_command                      M42             # Calling this command sets the switch ON
  346. switch.hotend1fan.input_off_command                     M43             # Calling this command sets the switch OFF
  347. switch.hotend1fan.output_pin                            0.26            # 0.26 or 1.23 # This pin will be set low when the switch is OFF, and high when the switch is ON
  348. 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.
  349.  
  350. #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
  351. #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
  352. #switch.hotend1fan.ignore_on_halt                       false           # set to true to not set the fail safe value when a HALT condition is triggered
  353.  
  354.  
  355. #######################################
  356. ###                                                                     ###
  357. ###                     COMMUNICATION                   ###
  358. ###                                                                     ###
  359. #######################################
  360.  
  361. 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.
  362. 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)
  363.  
  364.  
  365. #######################################
  366. ###                                                                     ###
  367. ###                     MISCELLANEOUS                   ###
  368. ###                                                                     ###
  369. #######################################
  370.        
  371. leds_disable                                    false   # Disable the 4 flashing LEDs on the board
  372. play_led_disable                                false   # Disable the "play" status LED
  373. 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)
  374. dfu_enable                                      false   # For Linux developers, set to true to enable DFU, which allows you to flash new firmwares over USB
  375. return_error_on_unhandled_gcode false   # If set to true, return an error if a G-code is received but not understood.
  376.  
  377.  
  378. #######################################
  379. ###                                                                     ###
  380. ###                     CURRENT CONTROL                 ###
  381. ###                                                                     ###
  382. #######################################
  383.  
  384. 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
  385. #digipotchip                            mcp4451 # Select the digipot chip with which to control the current for the stepper motor drivers. Supported chips are mcp4451 and ad5206
  386. #digipot_max_current                    2       # Maximum current that can be set
  387. #digipot_factor                         113.33  # Factor for converting the current into digipot values
  388. #delta_current                          1.5     # First extruder stepper motor driver ( M4 ) current in Amperes
  389. #epsilon_current                        1.5     # Second extruder stepper motor driver ( M5 ) current in Amperes
  390. #zeta_current                           1.5     # Current setting for the 6th stepper motor driver current control
  391. #eta_current                            1.5     # Current setting for the 7th stepper motor driver current control
  392. #theta_current                          1.5     # Current setting for the 8th stepper motor driver current control
  393.  
  394.  
  395. ###############################
  396. ###                                                     ###
  397. ###                     PLAYER                  ###
  398. ###                                                     ###
  399. ###############################
  400.  
  401. on_boot_gcode_enable            false                           # If set to true, play the on_boot_gcode file when the board boots up
  402. 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.
  403. 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.
  404.  
  405. #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
  406. #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
  407.  
  408.  
  409. ###################################
  410. ###                                                             ###
  411. ###                     DISPLAY                         ###
  412. ###                                                             ###
  413. ###################################
  414.  
  415.  
  416. # Pause button
  417. pause_button_enable                          true             #
  418.  
  419. # Panel See http://smoothieware.org/panel
  420. panel.enable                                 true             # set to true to enable the panel code
  421.  
  422. # Example viki2 config for an azteeg miniV2 with IDC cable
  423. panel.lcd                                    viki2             # set type of panel
  424. panel.spi_channel                            0                 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  425. panel.spi_cs_pin                             1.22              # set spi chip select
  426. panel.encoder_a_pin                          4.28!^            # encoder pin
  427. panel.encoder_b_pin                          1.27!^            # encoder pin
  428. panel.click_button_pin                       3.26!^            # click button
  429. panel.a0_pin                                 2.6               # st7565 needs an a0
  430. panel.contrast                               17
  431. #panel.encoder_resolution                    4                 # override number of clicks to move 1 item (default is 4)
  432. #panel.button_pause_pin                      1.22^             # kill/pause set one of these for the auxilliary button on viki2
  433. #panel.back_button_pin                       1.22!^            # back button recommended to use this on EXP1
  434. #panel.buzz_pin                              1.30              # pin for buzzer on EXP2
  435. #panel.red_led_pin                           2.8               # pin for red led on viki2 on EXP1
  436. #panel.blue_led_pin                          4.29              # pin for blue led on viki2 on EXP1
  437. panel.reverse                                1
  438. panel.external_sd                            true              # set to true if there is an extrernal sdcard on the panel
  439. panel.external_sd.spi_channel                0                 # set spi channel the sdcard is on
  440. panel.external_sd.spi_cs_pin                 0.16              # set spi chip select for the sdcard
  441. panel.external_sd.sdcd_pin                   3.25!^            # sd detect signal (set to nc if no sdcard detect)
  442. panel.menu_offset                            1                 # some panels will need 1 here
  443.  
  444. panel.alpha_jog_feedrate                     6000              # x jogging feedrate in mm/min
  445. panel.beta_jog_feedrate                      6000              # y jogging feedrate in mm/min
  446. panel.gamma_jog_feedrate                     200               # z jogging feedrate in mm/min
  447.  
  448. panel.hotend_temperature                     185               # temp to set hotend when preheat is selected
  449. panel.bed_temperature                        60                # temp to set bed when preheat is selected
  450.  
  451.  
  452.  
  453. ###################################
  454. ###                                                             ###
  455. ###                     CUSTOM MENU             ###
  456. ###                                                             ###
  457. ###################################
  458.  
  459. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  460.  
  461. custom_menu.menu_name.enable    true        # When set to true, create a new custom menu entry for the panel with the name menu_name. You can create any number of custom entries as long as they have different names.
  462.  
  463. custom_menu.power_on.enable     true        #
  464. custom_menu.power_on.name       Strom_an    #
  465. custom_menu.power_on.command    M80         #
  466.  
  467. custom_menu.power_off.enable    true        #
  468. custom_menu.power_off.name      Strom_aus   #
  469. custom_menu.power_off.command   M81         #
  470.  
  471. custom_menu.fan_on.enable       true        #
  472. custom_menu.fan_on.name         Luefter_an  #
  473. custom_menu.fan_on.command      M106        #
  474.  
  475. custom_menu.fan_off.enable      true        #
  476. custom_menu.fan_off.name        Luefter_aus #
  477. custom_menu.fan_off.command     M107        #
  478.  
  479.  
  480. ###################################
  481. ###                                                             ###
  482. ###                     Z-PROBE                         ###
  483. ###                                                             ###
  484. ###################################
  485.  
  486. zprobe.enable                   false           # Set to true to enable the Z-probe module. This is used to scan surfaces, and to calibrate parameters and compensate for non-planar surfaces.
  487. #zprobe.probe_pin               1.29!^          # Pin the probe is connected to.
  488. #zprobe.slow_feedrate   5                       # Speed in millimetres/second at which the probe seeks a surface.
  489. #zprobe.fast_feedrate   100                     # Speed in millimetres/second at which the probe does fast moves.
  490. #zprobe.return_feedrate 50                      # Speed in millimetres/second at which the probe does the return after a probe.
  491. #zprobe.debounce_count  100                     # Debounce the probe pin over this number of values. Set to 100 if your probe is too noisy and give false readings.
  492. #zprobe.probe_height    5                       # Distance above the bed at which the probing is started, once the bed's height is known.
  493.  
  494. # Leveling strategy            
  495. leveling-strategy.three-point-leveling.enable           false           # Set to true to enable the leveling strategy that probes three points to define a plane and then keeps the Z parallel to that plane. This is useful if your Z plate/bed is not perfectly aligned with your XY gantry
  496. #leveling-strategy.three-point-leveling.point1          100.0,0.0       # The first probe point (X, Y)
  497. #leveling-strategy.three-point-leveling.point2          200.0,200.0     # The second probe point (X, Y)
  498. #leveling-strategy.three-point-leveling.point3          0.0,200.0       # The third probe point (X, Y)
  499. #leveling-strategy.three-point-leveling.home_first      true            # Home the X and Y axes before probing
  500. #leveling-strategy.three-point-leveling.tolerance       0.03            # The probe tolerance in millimetres, anything less that this will be ignored, default is 0.03mm
  501. #leveling-strategy.three-point-leveling.probe_offsets   0,0,0           # The probe offset from nozzle, must be X,Y,Z, default is no offset. This is used if your nozzle is not exactly at the same position as where your tool would be.
  502. #leveling-strategy.three-point-leveling.save_plane      false           # Set to true to allow the bed plane to be saved with M500, default is false
  503. #leveling-strategy.delta-calibration.enable             false           # Set to true to enable the delta calibration levelling strategy. This uses the probe to figure out the plane's tilt and arm's radius in a delta machine
  504. #leveling-strategy.delta-calibration.radius             100             # Radius at which to probe the three points
  505. #leveling-strategy.delta-calibration.initial_height     10              # the initial height above the bed we stop the initial move down after home to find the bed. This should be a height that is enough that the probe will not hit the bed and is an offset from gamma_max (can be set to 0 if gamma_max takes into account the probe offset)
  506.  
  507.  
  508. ###############################
  509. ###                                                     ###
  510. ###                     LASER                   ###
  511. ###                                                     ###
  512. ###############################
  513.  
  514. laser_module_enable             false           # Whether to activate the laser module at all. All configuration is ignored if false. The laser module is used for laser cutting using a laser diode or CO2 laser tube.
  515. #laser_module_pin               2.5             # This pin will control the laser. Pulse width will be modulated to vary power output ( PWM ). Note : PWM is available only on pins 2.0 to 2.5, 1.18, 1.20, 1.21, 1.23, 1.24, 1.26, 3.25 and 3.26
  516. #laser_module_max_power         0.8             # This is the maximum duty cycle that will be applied to the laser. Value is from 0 to 1
  517. #laser_module_tickle_power      0.0             # This duty cycle will be used for travel moves to keep the laser active without actually burning. Useful for some diode setups. Value is from 0 to 1
  518. #laser_module_pwm_period        20              # PWM frequency expressed as the period in microseconds
  519.  
  520.  
  521. ###################################
  522. ###                                                             ###
  523. ###                     NETWORK                         ###
  524. ###                                                             ###
  525. ###################################
  526.  
  527. network.enable                          false                   # If set to true, enable the Ethernet network services
  528. #network.webserver.enable       true                    # If set to true, enable the web server service, on port 80, which provides a control and upload web interface
  529. #network.telnet.enable          true                    # If set to true, enable the telnet service, on port 23, which behaves much like a Serial interface
  530. #network.plan9.enable           false                   # If set to true, enable the plan9 network filesystem on port 564 which allows mounting the Smoothieboard
  531. #network.ip_address                     auto                    # If set to auto, use DHCP to request an IP address. If set to an IP address, use that address as a static IP.
  532. #network.ip_mask                        255.255.255.0   # If using a static IP, define the mask for the network.
  533. #network.ip_gateway                     192.168.3.1             # If using a static IP, define the gateway for the network.
  534. #network.mac_override           AB.AB.AB.AB.AB.AB       # If set, override the MAC adress for the Ethernet interface. Only set this if you have a conflict on your network.
  535. #network.hostname                       shapeoko17              # Some DHCP servers accept a hostname for the machine, which then allows you to connect to it using that name instead of it's IP.