daily pastebin goal
37%
SHARE
TWEET

mks_sbase1.3_config.txt

a guest Feb 25th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
  2. # NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored
  3. ## Robot module configurations : general handling of movement G-codes and slicing into moves
  4.  
  5. # Basic motion configuration
  6. default_feed_rate                            4000             # Default speed (mm/minute) for G1/G2/G3 moves
  7. default_seek_rate                            4000             # Default speed (mm/minute) for G0 moves
  8. mm_per_arc_segment                           0.5              # Fixed length for line segments that divide arcs, 0 to disable
  9. mm_per_line_segment                          5                # Cut lines into segments this size
  10.  
  11. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  12. # See http://smoothieware.org/stepper-motors
  13. alpha_steps_per_mm                            160              # Steps per mm for alpha ( X ) stepper
  14. beta_steps_per_mm                             160              # Steps per mm for beta ( Y ) stepper
  15. gamma_steps_per_mm                            800              # Steps per mm for gamma ( Z ) stepper
  16. arm_solution                                  corexy
  17.  
  18. # Planner module configuration : Look-ahead and acceleration configuration
  19. # See http://smoothieware.org/motion-control
  20. acceleration                                 300              # Acceleration in mm/second/second.
  21. z_acceleration                               80               # Acceleration for Z only moves in mm/s^2
  22. junction_deviation                           0.02             # See http://smoothieware.org/motion-control#junction-deviation
  23. #z_junction_deviation                        0.0              # For Z only moves, -1 uses junction_deviation, zero disables junction_deviation on z moves DO
  24.  
  25. # Cartesian axis speed limits
  26. x_axis_max_speed                             10000            # Maximum speed in mm/min
  27. y_axis_max_speed                             10000            # Maximum speed in mm/min
  28. z_axis_max_speed                             500              # Maximum speed in mm/min
  29.  
  30. # Stepper module configuration
  31. # Pins are defined as  ports, and pin numbers, appending "!" to the number will invert a pin
  32. # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  33. alpha_step_pin                               2.0              # Pin for alpha stepper step signal
  34. alpha_dir_pin                                0.5              # Pin for alpha stepper direction, add '!' to reverse direction
  35. alpha_en_pin                                 0.4              # Pin for alpha enable pin
  36. alpha_current                                1.5              # X stepper motor current
  37. alpha_max_rate                               10000.0          # Maximum rate in mm/min
  38.  
  39. beta_step_pin                                2.1              # Pin for beta stepper step signal
  40. beta_dir_pin                                 0.11             # Pin for beta stepper direction, add '!' to reverse direction
  41. beta_en_pin                                  0.10             # Pin for beta enable
  42. beta_current                                 1.5              # Y stepper motor current
  43. beta_max_rate                                10000.0          # Maxmimum rate in mm/min
  44.  
  45. gamma_step_pin                               2.2              # Pin for gamma stepper step signal
  46. gamma_dir_pin                                0.20!            # Pin for gamma stepper direction, add '!' to reverse direction
  47. gamma_en_pin                                 0.19             # Pin for gamma enable
  48. gamma_current                                1.5              # Z stepper motor current
  49. gamma_max_rate                               500.0            # Maximum rate in mm/min
  50.  
  51. ## Extruder module configuration
  52. # See http://smoothieware.org/extruder
  53. extruder.hotend.enable                          true          # Whether to activate the extruder module at all.
  54. extruder.hotend.steps_per_mm                    190           # Steps per mm for extruder stepper
  55. extruder.hotend.default_feed_rate               2700          # Default rate ( mm/minute ) for moves where only the extruder moves
  56. extruder.hotend.acceleration                    1000          # Acceleration for the stepper motor mm/sec²
  57. extruder.hotend.max_speed                       80            # Maximum speed in mm/s
  58.  
  59. extruder.hotend.step_pin                        2.3           # Pin for extruder step signal
  60. extruder.hotend.dir_pin                         !0.22         # Pin for extruder dir signal ( add '!' to reverse direction )
  61. extruder.hotend.en_pin                          0.21          # Pin for extruder enable signal
  62.  
  63. # Extruder offset
  64. #extruder.hotend.x_offset                        0            # X offset from origin in mm
  65. #extruder.hotend.y_offset                        0            # Y offset from origin in mm
  66. #extruder.hotend.z_offset                        0            # Z offset from origin in mm
  67.  
  68. # 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
  69. extruder.hotend.retract_length                   4.15         # Retract length in mm
  70. extruder.hotend.retract_feedrate                 45           # Retract feedrate in mm/sec
  71. #extruder.hotend.retract_recover_length          0            # Additional length for recover
  72. #extruder.hotend.retract_recover_feedrate        8            # Recover feedrate in mm/sec (should be less than retract feedrate)
  73. #extruder.hotend.retract_zlift_length            0            # Z-lift on retract in mm, 0 disables
  74. #extruder.hotend.retract_zlift_feedrate          6000         # Z-lift feedrate in mm/min (Note mm/min NOT mm/sec)
  75.  
  76. delta_current                                    1.5          # First extruder stepper motor current
  77.  
  78. # Second extruder module configuration
  79. extruder.hotend2.enable                          true          # Whether to activate the extruder module at all
  80. # we also need to connect
  81. # - EN3 to EN5
  82. # - ST3 to ST5
  83. # - DIR3 to DIR5
  84. # and remove everything else
  85. epsilon_current                                  1.5          # Second extruder stepper motor current
  86.  
  87.  
  88. ## Laser module configuration (see http://smoothieware.org/laser)
  89. laser_module_enable                           false           # Whether to activate the laser module at all
  90.  
  91. ## Temperature control configuration
  92. # See http://smoothieware.org/temperaturecontrol
  93.  
  94. # First hotend configuration
  95. temperature_control.hotend.enable            true             # Whether to activate this ( "hotend" ) module at all.
  96. temperature_control.hotend.thermistor_pin    0.23             # Pin for the thermistor to read
  97. temperature_control.hotend.heater_pin        2.7              # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  98. #temperature_control.hotend.thermistor        EPCOS100K        # See http://smoothieware.org/temperaturecontrol#toc5
  99. #temperature_control.hotend.beta             3960             # Or set the beta value
  100. temperature_control.hotend.set_m_code        104              # M-code to set the temperature for this module
  101. temperature_control.hotend.set_and_wait_m_code 109            # M-code to set-and-wait for this module
  102. temperature_control.hotend.designator        T                # Designator letter for this module
  103. #temperature_control.hotend.max_temp         300              # Set maximum temperature - Will prevent heating above 300 by default
  104. #temperature_control.hotend.min_temp         0                # Set minimum temperature - Will prevent heating below if set
  105.  
  106. # Safety control is enabled by default and can be overidden here, the values show the defaults
  107. # See http://smoothieware.org/temperaturecontrol#runaway
  108. #temperature_control.hotend.runaway_heating_timeout      900  # How long it can take to heat up, max is 2040 seconds.
  109. #temperature_control.hotend.runaway_cooling_timeout        0  # How long it can take to cool down if temp is set lower, max is 2040 seconds
  110. #temperature_control.hotend.runaway_range                20   # How far from the set temperature it can wander, max setting is 63°C
  111.  
  112. # PID configuration
  113. # See http://smoothieware.org/temperaturecontrol#pid
  114. #temperature_control.hotend.p_factor         13.7             # P ( proportional ) factor
  115. #temperature_control.hotend.i_factor         0.097            # I ( integral ) factor
  116. #temperature_control.hotend.d_factor         24               # D ( derivative ) factor
  117.  
  118. #temperature_control.hotend.max_pwm          64               # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  119.  
  120. # Second hotend configuration
  121. #temperature_control.hotend2.enable            true           # Whether to activate this ( "hotend" ) module at all.
  122. #temperature_control.hotend2.thermistor_pin    0.25           # Pin for the thermistor to read
  123. #temperature_control.hotend2.heater_pin        1.23           # Pin that controls the heater
  124. #temperature_control.hotend2.thermistor        EPCOS100K      # See http://smoothieware.org/temperaturecontrol#thermistor
  125. ##temperature_control.hotend2.beta             4066           # or set the beta value
  126. #temperature_control.hotend2.set_m_code        104            # M-code to set the temperature for this module
  127. #temperature_control.hotend2.set_and_wait_m_code 109          # M-code to set-and-wait for this module
  128. #temperature_control.hotend2.designator        T1             # Designator letter for this module
  129.  
  130. #temperature_control.hotend2.p_factor          13.7           # P ( proportional ) factor
  131. #temperature_control.hotend2.i_factor          0.097          # I ( integral ) factor
  132. #temperature_control.hotend2.d_factor          24             # D ( derivative ) factor
  133.  
  134. #temperature_control.hotend2.max_pwm          64              # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  135.  
  136. temperature_control.bed.enable               true             # Whether to activate this ( "hotend" ) module at all.
  137. temperature_control.bed.thermistor_pin       0.24             # Pin for the thermistor to read
  138. temperature_control.bed.heater_pin           2.5              # Pin that controls the heater
  139. #temperature_control.bed.thermistor           Honeywell100K    # See http://smoothieware.org/temperaturecontrol#thermistor
  140. temperature_control.bed.beta                 3960             # Or set the beta value
  141. temperature_control.bed.set_m_code           140              # M-code to set the temperature for this module
  142. temperature_control.bed.set_and_wait_m_code  190              # M-code to set-and-wait for this module
  143. temperature_control.bed.designator           B                # Designator letter for this module
  144.  
  145. # Bang-bang ( simplified ) control
  146. # See http://smoothieware.org/temperaturecontrol#bang-bang
  147. #temperature_control.bed.bang_bang           false            # Set to true to use bang bang control rather than PID
  148. #temperature_control.bed.hysteresis          2.0              # Set to the temperature in degrees C to use as hysteresis
  149.  
  150. ## Switch modules
  151. # See http://smoothieware.org/switch
  152.  
  153. # Switch module for fan control
  154. switch.fan.enable                            true             # Enable this module
  155. switch.fan.input_on_command                  M106             # Command that will turn this switch on
  156. switch.fan.input_off_command                 M107             # Command that will turn this switch off
  157. switch.fan.output_pin                        2.6              # Pin this module controls
  158. switch.fan.output_type                       pwm              # PWM output settable with S parameter in the input_on_comand
  159. #switch.fan.max_pwm                          255              # Set max pwm for the pin default is 255
  160.  
  161. #switch.misc.enable                          true             # Enable this module
  162. #switch.misc.input_on_command                M42              # Command that will turn this switch on
  163. #switch.misc.input_off_command               M43              # Command that will turn this switch off
  164. #switch.misc.output_pin                      2.4              # Pin this module controls
  165. #switch.misc.output_type                     digital          # Digital means this is just an on or off pin
  166.  
  167. ## Temperatureswitch
  168. # See http://smoothieware.org/temperatureswitch
  169. # Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  170. # Useful to turn on a fan or water pump to cool the hotend
  171. #temperatureswitch.hotend.enable              true            #
  172. #temperatureswitch.hotend.designator          T               # first character of the temperature control designator to use as the temperature sensor to monitor
  173. #temperatureswitch.hotend.switch              misc            # select which switch to use, matches the name of the defined switch
  174. #temperatureswitch.hotend.threshold_temp      60.0            # temperature to turn on (if rising) or off the switch
  175. #temperatureswitch.hotend.heatup_poll         15              # poll heatup at 15 sec intervals
  176. #temperatureswitch.hotend.cooldown_poll       60              # poll cooldown at 60 sec intervals
  177.  
  178. ## Endstops
  179. # See http://smoothieware.org/endstops
  180. endstops_enable                              true             # The endstop module is enabled by default and can be disabled here
  181. corexy_homing                                true             # Set to true if homing on a hbot or corexy
  182. alpha_min_endstop                            1.24^!           # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  183. alpha_max_endstop                            nc               # Pin to read max endstop, uncomment this and comment the above if using max endstops
  184. alpha_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  185. alpha_min                                    0                # This gets loaded as the current position after homing when home_to_min is set
  186. alpha_max                                    300              # This gets loaded as the current position after homing when home_to_max is set
  187. beta_min_endstop                             nc               # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  188. beta_max_endstop                             1.27^            # Pin to read max endstop, uncomment this and comment the above if using max endstops
  189. beta_homing_direction                        home_to_max      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  190. beta_min                                     0                # This gets loaded as the current position after homing when home_to_min is set
  191. beta_max                                     200              # This gets loaded as the current position after homing when home_to_max is set
  192. gamma_min_endstop                            1.28^            # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  193. gamma_max_endstop                            nc               # Pin to read max endstop, uncomment this and comment the above if using max endstops
  194. gamma_homing_direction                       home_to_min      # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  195. gamma_min                                    0                # This gets loaded as the current position after homing when home_to_min is set
  196. gamma_max                                    300              # This gets loaded as the current position after homing when home_to_max is set
  197.  
  198. alpha_max_travel                             300              # Max travel in mm for alpha/X axis when homing
  199. beta_max_travel                              300              # Max travel in mm for beta/Y axis when homing
  200. gamma_max_travel                             300              # Max travel in mm for gamma/Z axis when homing
  201.  
  202. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered
  203. #alpha_limit_enable                          false            # Set to true to enable X min and max limit switches
  204. #beta_limit_enable                           false            # Set to true to enable Y min and max limit switches
  205. #gamma_limit_enable                          false            # Set to true to enable Z min and max limit switches
  206.  
  207. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  208. alpha_fast_homing_rate_mm_s                  50               # Alpha/X fast homing feedrate in mm/second
  209. alpha_slow_homing_rate_mm_s                  25               # Alpha/X slow homing feedrate in mm/second
  210. beta_fast_homing_rate_mm_s                   50               # Beta/Y  fast homing feedrate in mm/second
  211. beta_slow_homing_rate_mm_s                   25               # Beta/Y  slow homing feedrate in mm/second
  212. gamma_fast_homing_rate_mm_s                  4                # Gamma/Z fast homing feedrate in mm/second
  213. gamma_slow_homing_rate_mm_s                  2                # Gamma/Z slow homing feedrate in mm/second
  214.  
  215. alpha_homing_retract_mm                      5                # Distance to retract from the endstop after it is hit for alpha/X
  216. beta_homing_retract_mm                       5                # Distance to retract from the endstop after it is hit for beta/Y
  217. gamma_homing_retract_mm                      1                # Distance to retract from the endstop after it is hit for gamma/Z
  218.  
  219.  
  220. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
  221. #alpha_limit_enable                          false            # Set to true to enable X min and max limit switches
  222. #beta_limit_enable                           false            # Set to true to enable Y min and max limit switches
  223. #gamma_limit_enable                          false            # Set to true to enable Z min and max limit switches
  224.  
  225. # Optional order in which axis will home, default is they all home at the same time,
  226. # If this is set it will force each axis to home one at a time in the specified order
  227. #homing_order                                 XYZ              # X axis followed by Y then Z last
  228. #move_to_origin_after_home                    false            # Move XY to 0,0 after homing
  229. #endstop_debounce_count                       100              # Uncomment if you get noise on your endstops, default is 100
  230. #endstop_debounce_ms                          1                # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
  231. #home_z_first                                 true             # Uncomment and set to true to home the Z first, otherwise Z homes after XY
  232.  
  233. # End of endstop config
  234. # Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
  235. #include abc-endstop.config
  236.  
  237. ## Z-probe
  238. # See http://smoothieware.org/zprobe
  239. zprobe.enable                                false           # Set to true to enable a zprobe
  240. zprobe.probe_pin                             1.28!^          # Pin probe is attached to, if NC remove the !
  241. zprobe.slow_feedrate                         5               # Mm/sec probe feed rate
  242. #zprobe.debounce_count                       100             # Set if noisy
  243. zprobe.fast_feedrate                         100             # Move feedrate mm/sec
  244. zprobe.probe_height                          5               # How much above bed to start probe
  245. #gamma_min_endstop                           nc              # Normally 1.28. Change to nc to prevent conflict,
  246.  
  247. # Levelling strategy
  248. # Example for 3-point levelling strategy, see wiki documentation for other strategies
  249. #leveling-strategy.three-point-leveling.enable         true        # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
  250. #leveling-strategy.three-point-leveling.point1         100.0,0.0   # the first probe point (x,y) optional may be defined with M557
  251. #leveling-strategy.three-point-leveling.point2         200.0,200.0 # the second probe point (x,y)
  252. #leveling-strategy.three-point-leveling.point3         0.0,200.0   # the third probe point (x,y)
  253. #leveling-strategy.three-point-leveling.home_first     true        # home the XY axis before probing
  254. #leveling-strategy.three-point-leveling.tolerance      0.03        # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  255. #leveling-strategy.three-point-leveling.probe_offsets  0,0,0       # the probe offsets from nozzle, must be x,y,z, default is no offset
  256. #leveling-strategy.three-point-leveling.save_plane     false       # set to true to allow the bed plane to be saved with M500 default is false
  257.  
  258. ## Panel
  259. # See http://smoothieware.org/panel
  260. # Please find your panel on the wiki and copy/paste the right configuration here
  261. panel.enable                                 false             # Set to true to enable the panel code
  262.  
  263. # Example for reprap discount GLCD
  264. # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
  265. # +5v is EXP1 pin 10, Gnd is EXP1 pin 9
  266. #panel.lcd                                   reprap_discount_glcd     #
  267. #panel.spi_channel                           0                 # SPI channel to use  ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
  268. #panel.spi_cs_pin                            0.16              # SPI chip select     ; GLCD EXP1 Pin 4
  269. #panel.encoder_a_pin                         3.25!^            # Encoder pin         ; GLCD EXP2 Pin 3
  270. #panel.encoder_b_pin                         3.26!^            # Encoder pin         ; GLCD EXP2 Pin 5
  271. #panel.click_button_pin                      1.30!^            # Click button        ; GLCD EXP1 Pin 2
  272. #panel.buzz_pin                              1.31              # Pin for buzzer      ; GLCD EXP1 Pin 1
  273. #panel.back_button_pin                       2.11!^            # Back button         ; GLCD EXP2 Pin 8
  274.  
  275. panel.menu_offset                            0                 # Some panels will need 1 here
  276.  
  277. panel.alpha_jog_feedrate                     6000              # X jogging feedrate in mm/min
  278. panel.beta_jog_feedrate                      6000              # Y jogging feedrate in mm/min
  279. panel.gamma_jog_feedrate                     200               # Z jogging feedrate in mm/min
  280.  
  281. panel.hotend_temperature                     185               # Temp to set hotend when preheat is selected
  282. panel.bed_temperature                        60                # Temp to set bed when preheat is selected
  283.  
  284. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  285. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  286. custom_menu.power_on.enable                true              #
  287. custom_menu.power_on.name                  Power_on          #
  288. custom_menu.power_on.command               M80               #
  289.  
  290. custom_menu.power_off.enable               true              #
  291. custom_menu.power_off.name                 Power_off         #
  292. custom_menu.power_off.command              M81               #
  293.  
  294.  
  295. ## Network settings
  296. # See http://smoothieware.org/network
  297. network.enable                               false            # Enable the ethernet network services
  298. network.webserver.enable                     true             # Enable the webserver
  299. network.telnet.enable                        true             # Enable the telnet server
  300. network.ip_address                           auto             # Use dhcp to get ip address
  301. # Uncomment the 3 below to manually setup ip address
  302. #network.ip_address                           192.168.3.222   # The IP address
  303. #network.ip_mask                              255.255.255.0   # The ip mask
  304. #network.ip_gateway                           192.168.3.1     # The gateway address
  305. #network.mac_override                         xx.xx.xx.xx.xx.xx  # Override the mac address, only do this if you have a conflict
  306.  
  307. ## System configuration
  308. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  309. # For communication over the UART port, *not* the USB/Serial port
  310. uart0.baud_rate                              115200           # Baud rate for the default hardware ( UART ) serial port
  311.  
  312. second_usb_serial_enable                     false            # This enables a second USB serial port
  313. #leds_disable                                true             # Disable using leds after config loaded
  314. #play_led_disable                            true             # Disable the play led
  315.  
  316. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  317. # See http://smoothieware.org/killbutton
  318. kill_button_enable                           true             # Set to true to enable a kill button
  319. kill_button_pin                              2.12             # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  320.  
  321. #msd_disable                                 false            # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
  322. #dfu_enable                                  false            # For linux developers, set to true to enable DFU
  323.  
  324. # Only needed on a smoothieboard
  325. # See http://smoothieware.org/currentcontrol
  326. currentcontrol_module_enable                 true             # Control stepper motor current via the configuration file
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top