Advertisement
Guest User

Untitled

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