Guest User

Untitled

a guest
Jan 13th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.24 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 6000 # Default speed (mm/minute) for G1/G2/G3 moves
  7. default_seek_rate 6000 # 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 256 # Steps per mm for alpha ( X ) stepper
  17. beta_steps_per_mm 256 # Steps per mm for beta ( Y ) stepper
  18. gamma_steps_per_mm 1600 # 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 2500 # 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 20000 # Maximum speed in mm/min
  29. y_axis_max_speed 20000 # 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.0 # Pin for alpha stepper step signal
  36. alpha_dir_pin 0.5 # Pin for alpha stepper direction, add '!' to reverse direction
  37. alpha_en_pin 0.4 # Pin for alpha enable pin
  38. alpha_max_rate 20000.0 # Maximum rate in mm/min
  39.  
  40. beta_step_pin 2.1 # Pin for beta stepper step signal
  41. beta_dir_pin 0.11 # Pin for beta stepper direction, add '!' to reverse direction
  42. beta_en_pin 0.10 # Pin for beta enable
  43. beta_max_rate 20000.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_max_rate 300.0 # Maximum rate in mm/min
  49.  
  50. ## Extruder module configuration
  51. # See http://smoothieware.org/extruder
  52. extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  53. extruder.hotend.steps_per_mm 850 # Steps per mm for extruder stepper
  54. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  55. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  56. extruder.hotend.max_speed 50 # Maximum speed in mm/s
  57.  
  58. extruder.hotend.step_pin 2.3 # Pin for extruder step signal
  59. extruder.hotend.dir_pin 0.22 # Pin for extruder dir signal ( add '!' to reverse direction )
  60. extruder.hotend.en_pin 0.21 # Pin for extruder enable signal
  61.  
  62. # Extruder offset
  63. #extruder.hotend.x_offset 0 # X offset from origin in mm
  64. #extruder.hotend.y_offset 0 # Y offset from origin in mm
  65. #extruder.hotend.z_offset 0 # Z offset from origin in mm
  66.  
  67. # Second extruder module configuration
  68. extruder.hotend2.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  69. extruder.hotend2.steps_per_mm 850 # Steps per mm for extruder stepper
  70. extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  71. extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  72. extruder.hotend2.max_speed 50 # mm/s
  73.  
  74. extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  75. extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal ( add '!' to reverse direction )
  76. extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
  77.  
  78. #extruder.hotend2.x_offset 36.5 # x offset from origin in mm
  79. #extruder.hotend2.y_offset 0 # y offset from origin in mm
  80. #extruder.hotend2.z_offset 0 # z offset from origin in mm
  81.  
  82. alpha_current 1.5 # X stepper motor current
  83. beta_current 1.5 # Y stepper motor current
  84. gamma_current 1.5 # Z stepper motor current
  85. delta_current 1.5 # First extruder stepper motor current
  86. epsilon_current 1.5 # Second extruder stepper motor current
  87.  
  88. # Switch module for servo control
  89. switch.servo.enable true # Enable this module
  90. switch.servo.input_on_command M280 # M280 S7.5 would be midway
  91. switch.servo.input_off_command M281 # Same as M280 S0 0% duty cycle, effectively off
  92. switch.servo.output_pin 3.25 # Must be a PWM capable pin
  93. switch.servo.output_type hwpwm # H/W pwm output settable with S parameter in the input_on_comand
  94. #switch.servo.pwm_period_ms 20 # set period to 20ms (50Hz) default is 50Hz
  95.  
  96. # Filament out/stall detection
  97. filament_detector.enable true #This module is activated only if this is set to true
  98. filament_detector.encoder_pin 2.11 #This is the pin the encoder is connected to. Must be an interrupt pin
  99. filament_detector.bulge_pin 3.26 #OPTIONAL This is the pin the bulge switch is connected to. If this switch is triggered ( by a bulge in the filament ) and the filament is moving, this will trigger an alarm
  100. filament_detector.seconds_per_check 2 #How many seconds between filament position checks, must be long enough for several pulses to be detected, but not too long
  101. filament_detector.pulses_per_mm 0.5 #The number of pulses the encoder produces for every millimeter of filament movement
  102.  
  103. ## Temperature control configuration
  104. # See http://smoothieware.org/temperaturecontrol
  105.  
  106. # First hotend configuration
  107. temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all.
  108. temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
  109. temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  110. temperature_control.hotend.thermistor Semitec # See http://smoothieware.org/temperaturecontrol#toc5
  111. #temperature_control.hotend.beta 4066 # Or set the beta value
  112. temperature_control.hotend.set_m_code 104 # M-code to set the temperature for this module
  113. temperature_control.hotend.set_and_wait_m_code 109 # M-code to set-and-wait for this module
  114. temperature_control.hotend.designator T # Designator letter for this module
  115. temperature_control.hotend.max_temp 260 # Set maximum temperature - Will prevent heating above 300 by default
  116. #temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below if set
  117.  
  118. # Safety control is enabled by default and can be overidden here, the values show the defaults
  119. # See http://smoothieware.org/temperaturecontrol#runaway
  120. #temperature_control.hotend.runaway_heating_timeout 900 # How long it can take to heat up, max is 2040 seconds.
  121. #temperature_control.hotend.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
  122. #temperature_control.hotend.runaway_range 20 # How far from the set temperature it can wander, max setting is 63°C
  123.  
  124. # PID configuration
  125. # See http://smoothieware.org/temperaturecontrol#pid
  126. #temperature_control.hotend.p_factor 13.7 # P ( proportional ) factor
  127. #temperature_control.hotend.i_factor 0.097 # I ( integral ) factor
  128. #temperature_control.hotend.d_factor 24 # D ( derivative ) factor
  129.  
  130. temperature_control.hotend.max_pwm 224 # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  131.  
  132. # Second hotend configuration
  133. temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all.
  134. temperature_control.hotend2.thermistor_pin 0.24 # Pin for the thermistor to read
  135. temperature_control.hotend2.heater_pin 2.7 # Pin that controls the heater
  136. temperature_control.hotend2.thermistor Semitec # See http://smoothieware.org/temperaturecontrol#thermistor
  137. #temperature_control.hotend2.beta 4066 # or set the beta value
  138. temperature_control.hotend2.set_m_code 104 # M-code to set the temperature for this module
  139. temperature_control.hotend2.set_and_wait_m_code 109 # M-code to set-and-wait for this module
  140. temperature_control.hotend2.designator T1 # Designator letter for this module
  141. temperature_control.hotend.max_temp 260 # Set maximum temperature - Will prevent heating above 300 by default
  142. #temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below if set
  143.  
  144. #temperature_control.hotend2.p_factor 13.7 # P ( proportional ) factor
  145. #temperature_control.hotend2.i_factor 0.097 # I ( integral ) factor
  146. #temperature_control.hotend2.d_factor 24 # D ( derivative ) factor
  147.  
  148. temperature_control.hotend2.max_pwm 224 # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  149.  
  150. temperature_control.bed.enable true # Whether to activate this ( "hotend" ) module at all.
  151. temperature_control.bed.thermistor_pin 0.25 # Pin for the thermistor to read
  152. temperature_control.bed.heater_pin 1.30o! # Pin that controls the heater
  153. #temperature_control.bed.thermistor Honeywell100K # See http://smoothieware.org/temperaturecontrol#thermistor
  154. temperature_control.bed.beta 3950 # Or set the beta value
  155. temperature_control.bed.set_m_code 140 # M-code to set the temperature for this module
  156. temperature_control.bed.set_and_wait_m_code 190 # M-code to set-and-wait for this module
  157. temperature_control.bed.designator B # Designator letter for this module
  158.  
  159. temperature_control.chamber.enable true # Whether to activate this ( "hotend" ) module at all.
  160. temperature_control.chamber.thermistor_pin 0.26 # Pin for the thermistor to read
  161. #temperature_control.chamber.heater_pin nc # Pin that controls the heater
  162. temperature_control.chamber.thermistor Semitec # See http://smoothieware.org/temperaturecontrol#thermistor
  163. #temperature_control.chamber.beta 3950 # Or set the beta value
  164. #temperature_control.chamber.set_m_code 140 # M-code to set the temperature for this module
  165. #temperature_control.chamber.set_and_wait_m_code 190 # M-code to set-and-wait for this module
  166. temperature_control.chamber.designator C # Designator letter for this module
  167.  
  168. # Bang-bang ( simplified ) control
  169. # See http://smoothieware.org/temperaturecontrol#bang-bang
  170. #temperature_control.bed.bang_bang false # Set to true to use bang bang control rather than PID
  171. #temperature_control.bed.hysteresis 2.0 # Set to the temperature in degrees C to use as hysteresis
  172.  
  173. ## Switch modules
  174. # See http://smoothieware.org/switch
  175.  
  176. # Switch module for fan control
  177. switch.fan.enable true # Enable this module
  178. switch.fan.input_on_command M106 # Command that will turn this switch on
  179. switch.fan.input_off_command M107 # Command that will turn this switch off
  180. switch.fan.output_pin 2.4 # Pin this module controls
  181. switch.fan.output_type pwm # PWM output settable with S parameter in the input_on_comand
  182. #switch.fan.max_pwm 255 # Set max pwm for the pin default is 255
  183.  
  184. switch.fan.enable true # Enable this module
  185. switch.fan2.input_on_command M106 # Command that will turn this switch on
  186. switch.fan2.input_off_command M107 # Command that will turn this switch off
  187. switch.fan2.output_pin 2.5 # Pin this module controls
  188. switch.fan2.output_type pwm # PWM output settable with S parameter in the input_on_comand
  189. #switch.fan2.max_pwm 255 # Set max pwm for the pin default is 255
  190.  
  191. switch.fan3.enable true # Enable this module
  192. switch.fan3.input_on_command M42 # Command that will turn this switch on
  193. switch.fan3.input_off_command M43 # Command that will turn this switch off
  194. switch.fan3.output_pin 1.22 # Pin this module controls
  195. switch.fan3.output_type pwm # PWM output settable with S parameter in the input_on_comand
  196. #switch.fan3.max_pwm 255 # Set max pwm for the pin default is 255
  197.  
  198.  
  199. ## Temperatureswitch
  200.  
  201. # Controls Internal printer fan (fan3)
  202.  
  203. temperatureswitch.chamber.enable true #
  204. temperatureswitch.chamber.designator C # first character of the temperature control designator to use as the temperature sensor to monitor
  205. temperatureswitch.chamber.switch fan3 # select which switch to use, matches the name of the defined switch
  206. temperatureswitch.chamber.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  207. temperatureswitch.chamber.heatup_poll 15 # poll heatup at 15 sec intervals
  208. temperatureswitch.chamber.cooldown_poll 60 # poll cooldown at 60 sec intervals
  209.  
  210. ## Endstops
  211. # See http://smoothieware.org/endstops
  212. endstops_enable true # The endstop module is enabled by default and can be disabled here
  213. #corexy_homing false # Set to true if homing on a hbot or corexy
  214. alpha_min_endstop 1.24^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  215. #alpha_max_endstop 1.25^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  216. alpha_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  217. alpha_min 0 # This gets loaded as the current position after homing when home_to_min is set
  218. alpha_max 320 # This gets loaded as the current position after homing when home_to_max is set
  219. beta_min_endstop 1.26^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  220. #beta_max_endstop 1.27^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  221. beta_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  222. beta_min 0 # This gets loaded as the current position after homing when home_to_min is set
  223. beta_max 320 # This gets loaded as the current position after homing when home_to_max is set
  224. gamma_min_endstop 1.28^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  225. #gamma_max_endstop 1.29^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  226. gamma_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  227. gamma_min 0 # This gets loaded as the current position after homing when home_to_min is set
  228. gamma_max 400 # This gets loaded as the current position after homing when home_to_max is set
  229.  
  230. alpha_max_travel 350 # Max travel in mm for alpha/X axis when homing
  231. beta_max_travel 350 # Max travel in mm for beta/Y axis when homing
  232. gamma_max_travel 400 # Max travel in mm for gamma/Z axis when homing
  233.  
  234. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered
  235. #alpha_limit_enable false # Set to true to enable X min and max limit switches
  236. #beta_limit_enable false # Set to true to enable Y min and max limit switches
  237. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  238.  
  239. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  240. alpha_fast_homing_rate_mm_s 75 # Alpha/X fast homing feedrate in mm/second
  241. alpha_slow_homing_rate_mm_s 25 # Alpha/X slow homing feedrate in mm/second
  242. beta_fast_homing_rate_mm_s 75 # Beta/Y fast homing feedrate in mm/second
  243. beta_slow_homing_rate_mm_s 25 # Beta/Y slow homing feedrate in mm/second
  244. gamma_fast_homing_rate_mm_s 10 # Gamma/Z fast homing feedrate in mm/second
  245. gamma_slow_homing_rate_mm_s 2 # Gamma/Z slow homing feedrate in mm/second
  246.  
  247. alpha_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for alpha/X
  248. beta_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for beta/Y
  249. gamma_homing_retract_mm 1 # Distance to retract from the endstop after it is hit for gamma/Z
  250.  
  251.  
  252. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
  253. #alpha_limit_enable false # Set to true to enable X min and max limit switches
  254. #beta_limit_enable false # Set to true to enable Y min and max limit switches
  255. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  256.  
  257. # Optional order in which axis will home, default is they all home at the same time,
  258. # If this is set it will force each axis to home one at a time in the specified order
  259. homing_order XYZ # X axis followed by Y then Z last
  260. #move_to_origin_after_home false # Move XY to 0,0 after homing
  261. #endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100
  262. #endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
  263. #home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY
  264.  
  265. ## Z-probe
  266. # See http://smoothieware.org/zprobe
  267. zprobe.enable true # Set to true to enable a zprobe
  268. zprobe.probe_pin 1.29!^ # Pin probe is attached to, if NC remove the !
  269. zprobe.slow_feedrate 5 # Mm/sec probe feed rate
  270. #zprobe.debounce_count 100 # Set if noisy
  271. zprobe.fast_feedrate 100 # Move feedrate mm/sec
  272. zprobe.probe_height 5 # How much above bed to start probe
  273. #gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict,
  274.  
  275. # Levelling strategy
  276. # Example for 3-point levelling strategy, see wiki documentation for other strategies
  277. 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
  278. leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
  279. leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
  280. leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
  281. leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  282. leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  283. leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  284. leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  285.  
  286.  
  287.  
  288.  
  289. ## Network settings
  290. # See http://smoothieware.org/network
  291. network.enable true # Enable the ethernet network services
  292. network.webserver.enable true # Enable the webserver
  293. network.telnet.enable true # Enable the telnet server
  294. network.ip_address auto # Use dhcp to get ip address
  295. # Uncomment the 3 below to manually setup ip address
  296. #network.ip_address 192.168.3.222 # The IP address
  297. #network.ip_mask 255.255.255.0 # The ip mask
  298. #network.ip_gateway 192.168.3.1 # The gateway address
  299. #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
  300.  
  301. ## System configuration
  302. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  303. # For communication over the UART port, *not* the USB/Serial port
  304. uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port
  305.  
  306. new_status_format true # uses new query format for ?
  307.  
  308. second_usb_serial_enable false # This enables a second USB serial port
  309. #leds_disable true # Disable using leds after config loaded
  310. #play_led_disable true # Disable the play led
  311.  
  312. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  313. # See http://smoothieware.org/killbutton
  314. kill_button_enable true # Set to true to enable a kill button
  315. kill_button_pin 2.12 # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  316.  
  317. #msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
  318. #dfu_enable false # For linux developers, set to true to enable DFU
  319.  
  320. # Only needed on a smoothieboard
  321. # See http://smoothieware.org/currentcontrol
  322. currentcontrol_module_enable true # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment