Guest User

smoothie_config

a guest
Jun 16th, 2018
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Robot module configurations : general handling of movement G-codes and slicing into moves
  2. default_feed_rate 2000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  3. default_seek_rate 2000 # Default rate ( mm/minute ) for G0 moves
  4. mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for these segments. Smaller values mean more resolution, higher values mean faster computation
  5. #mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
  6.  
  7. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  8. alpha_steps_per_mm 160 # Steps per mm for alpha stepper
  9. beta_steps_per_mm 160 # Steps per mm for beta stepper
  10. gamma_steps_per_mm 800 # Steps per mm for gamma stepper
  11.  
  12. # Planner module configuration : Look-ahead and acceleration configuration
  13. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOUR ARE DOING
  14. acceleration 600 # Acceleration in mm/second/second.
  15. #z_acceleration 500 # Acceleration for Z only moves in mm/s^2, 0 disables it, disabled by default. DO NOT SET ON A DELTA
  16. acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
  17. junction_deviation 0.025 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  18. # and https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8 . Lower values mean being more careful, higher values means being faster and have more jerk
  19.  
  20. # Stepper module configuration
  21. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  22. base_stepping_frequency 100000 # Base frequency for stepping
  23.  
  24. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  25. alpha_step_pin 2.1 # Pin for alpha stepper step signal
  26. alpha_dir_pin 0.11 # Pin for alpha stepper direction
  27. alpha_en_pin 0.10 # Pin for alpha enable pin 0.10
  28. alpha_current 1.0 # X stepper motor current
  29. x_axis_max_speed 30000 # mm/min
  30. alpha_max_rate 30000.0 # mm/min actuator max speed
  31.  
  32. beta_step_pin 2.2 # Pin for beta stepper step signal
  33. beta_dir_pin 0.20 # Pin for beta stepper direction
  34. beta_en_pin 0.19 # Pin for beta enable
  35. beta_current 1.0 # Y stepper motor current
  36. y_axis_max_speed 30000 # mm/min
  37. beta_max_rate 30000.0 # mm/min actuator max speed
  38.  
  39. gamma_step_pin 2.3 # Pin for gamma stepper step signal
  40. gamma_dir_pin 0.22! # Pin for gamma stepper direction
  41. gamma_en_pin 0.21 # Pin for gamma enable
  42. gamma_current 1.0 # Z stepper motor current
  43. z_axis_max_speed 300 # mm/min
  44. gamma_max_rate 300.0 # mm/min actuator max speed
  45.  
  46. # Serial communications configuration ( baud rate default to 9600 if undefined )
  47. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  48. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  49. #msd_disable false # disable the MSD (USB SDCARD) when set to true
  50.  
  51.  
  52. # Extruder module configuration
  53. extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  54. extruder.hotend.steps_per_mm 415 # Steps per mm for extruder stepper
  55. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  56. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/secĀ²
  57. extruder.hotend.max_speed 50 # mm/s
  58.  
  59. extruder.hotend.step_pin 2.0 # Pin for extruder step signal
  60. extruder.hotend.dir_pin 0.5 # Pin for extruder dir signal
  61. extruder.hotend.en_pin 0.4 # 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 3 # 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 # zlift on retract in mm, 0 disables
  74. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  75. delta_current 1.0 # Extruder stepper motor current
  76.  
  77. # Second extruder module configuration
  78. extruder.hotend2.enable false # Whether to activate the extruder module at all. All configuration is ignored if false
  79. extruder.hotend2.steps_per_mm 140 # Steps per mm for extruder stepper
  80. extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  81. extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  82. extruder.hotend2.max_speed 50 # mm/s
  83.  
  84. extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  85. extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal
  86. extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
  87.  
  88. extruder.hotend2.x_offset 0 # x offset from origin in mm
  89. extruder.hotend2.y_offset 25.0 # y offset from origin in mm
  90. extruder.hotend2.z_offset 0 # z offset from origin in mm
  91. epsilon_current 1.5 # Second extruder stepper motor current
  92.  
  93.  
  94.  
  95. # Laser module configuration
  96. laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
  97. #laser_module_pin 2.7 # this pin will be PWMed to control the laser
  98. #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
  99. #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
  100.  
  101. # Hotend temperature control configuration
  102. temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  103. temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
  104. temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater
  105. temperature_control.hotend.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  106. temperature_control.hotend.max_temp 300
  107. #temperature_control.hotend.beta 4066 # or set the beta value
  108.  
  109. temperature_control.hotend.set_m_code 104 #
  110. temperature_control.hotend.set_and_wait_m_code 109 #
  111. temperature_control.hotend.designator T #
  112.  
  113. temperature_control.hotend.p_factor 40.6 #
  114. temperature_control.hotend.i_factor 2.892 #
  115. temperature_control.hotend.d_factor 142 #
  116.  
  117. #temperature_control.hotend.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  118.  
  119.  
  120. temperature_control.bed.enable true #
  121. temperature_control.bed.thermistor_pin 0.24 #
  122. temperature_control.bed.heater_pin 2.7 #
  123. temperature_control.bed.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  124. #temperature_control.bed.beta 4066 # or set the beta value
  125.  
  126. temperature_control.bed.set_m_code 140 #
  127. temperature_control.bed.set_and_wait_m_code 190 #
  128. temperature_control.bed.designator B #
  129. temperature_control.bed.pwm_frequency 50
  130. #temperature_control.bed.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  131. temperature_control.bed.p_factor 216.9 #
  132. temperature_control.bed.i_factor 22.892 #
  133. temperature_control.bed.d_factor 514 #
  134.  
  135. # Switch module for fan control
  136. switch.fan.enable true #
  137. switch.fan.input_on_command M106 #
  138. switch.fan.input_off_command M107 #
  139. switch.fan.output_pin 2.4 #
  140.  
  141. switch.misc.enable false #
  142. switch.misc.input_on_command M42 #
  143. switch.misc.input_off_command M43 #
  144. switch.misc.output_pin 2.4 #
  145.  
  146. # automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  147. # useful to turn on a fan or water pump to cool the hotend
  148. #temperatureswitch.hotend.enable true #
  149. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  150. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  151. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  152. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  153. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  154.  
  155. # filament out detector
  156. #filament_detector.enable true #
  157. #filament_detector.encoder_pin 0.26 # must be interrupt enabled pin (0.26, 0.27, 0.28)
  158. #filament_detector.seconds_per_check 2 # may need to be longer
  159. #filament_detector.pulses_per_mm 1 .0 # will need to be tuned
  160. #filament_detector.bulge_pin 0.27 # optional bulge detector switch and/or manual suspend
  161.  
  162. # Switch module for spindle control
  163. #switch.spindle.enable false #
  164.  
  165. # Endstops
  166. endstops_enable true # the endstop module is enabled by default and can be disabled here
  167. #corexy_homing false # set to true if homing on a hbit or corexy
  168. alpha_min_endstop 1.24^! # add a ! to invert if endstop is NO connected to ground
  169. #alpha_max_endstop 1.24^ #
  170. alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
  171. alpha_min -9 # this gets loaded after homing when home_to_min is set
  172. alpha_max 200 # this gets loaded after homing when home_to_max is set
  173. beta_min_endstop 1.26^! #
  174. #beta_max_endstop 1.26^ #
  175. beta_homing_direction home_to_min #
  176. beta_min -25 #
  177. beta_max 200 #
  178. #gamma_min_endstop 1.29^ #
  179. gamma_min_endstop nc
  180. #gamma_max_endstop 1.29^ #
  181. gamma_homing_direction home_to_min #
  182. gamma_min 0 #
  183. gamma_max 200 #
  184.  
  185. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  186. #alpha_limit_enable false # set to true to enable X min and max limit switches
  187. #beta_limit_enable false # set to true to enable Y min and max limit switches
  188. #gamma_limit_enable false # set to true to enable Z min and max limit switches
  189.  
  190. #probe endstop
  191. #probe_pin 1.29 # optional pin for probe
  192.  
  193. alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second
  194. beta_fast_homing_rate_mm_s 50 # "
  195. gamma_fast_homing_rate_mm_s 4 # "
  196. alpha_slow_homing_rate_mm_s 25 # "
  197. beta_slow_homing_rate_mm_s 25 # "
  198. gamma_slow_homing_rate_mm_s 2 # "
  199.  
  200. alpha_homing_retract_mm 5 # distance in mm
  201. beta_homing_retract_mm 5 # "
  202. gamma_homing_retract_mm 1 # "
  203.  
  204. #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
  205.  
  206. ## Z-Probe (BL Touch)
  207. # See http://forum.smoothieware.org/forum/t-1760423/bltouch-support#post-2712545
  208. # And http://smoothieware.org/zprobe#bltouch-or-servo-retractable-touch-probe
  209. zprobe.enable true # set to true to enable a zprobe
  210. zprobe.probe_pin 1.29^ # pin probe is attached to if NC remove the !
  211. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  212. zprobe.fast_feedrate 100 # move feedrate mm/sec
  213. zprobe.probe_height 5 # how much above bed to start probe
  214. ##BLTouch Servo Settings
  215. switch.servo.enable true
  216. switch.servo.input_on_command M280 S3.0 # M280 S7.5 Would be midway
  217. switch.servo.input_off_command M280 S7.0 # Same as M280 S0 0% duty cycle, effectivley off
  218. switch.servo.output_pin 1.20 # Must be a PWM capable pin
  219. switch.servo.output_type hwpwm # H/W PWM output settable
  220. switch.servo.pwm_period_ms 20 # Set Period to 20ms (50Hz) - Default is 50Hz
  221.  
  222. ## BL Touch Usage G-Code (to run bed level compensation)
  223. #G28 X Y ; Home X & Y (to min)
  224. #G1 X100 Y100 ; Move to bed centre
  225. #M280 S3.0 ; Deploy probe pin
  226. #G32 ; Probe the bed & enable compensation
  227. #G1 X100 Y100 ; Return to bed centre
  228. #G30 Z2.2 ; Move down to find bed and set Z home offset. NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment!
  229. #M280 S7.0 ; Retract probe
  230. #M374 ; SAVE compensation grid
  231.  
  232. ## BL Touch Usage G-Code (To home Z-axis)
  233. #G28 X Y Z ; Home X & Y (to min) and Z (to max)
  234. #G1 X100 Y100 Z50 ; Move to bed centre
  235. #M280 S3.0 ; Deploy probe pin
  236. #G30 Z1.5 ; Move down to find bed and set Z home offset. NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment!
  237. #M280 S7.0 ; Retract probe
  238.  
  239. # BL Touch Commands:
  240. # Probe Down M280 S3.0
  241. # Probe Up M280 S7.0
  242. # Self Test M280 S8.4
  243. # Release Alarm M280 S10.6
  244.  
  245. # If compensation isn't working after restarting the printer, enable using:
  246. # M375 ; (you MUST home after using this)
  247.  
  248. ## NOTE: Add these lines to 'machine start' gcode settings in slicer, as replacement for "Home X/Y/Z" (G28):
  249. ## G28 X0 Y0 ; Home X, Y
  250. ## G1 X100 Y100 Z50 F1500 ; Move to bed centre
  251. ## M280 S3.0 ; Deploy probe pin
  252. ## NOTE: Adjust "Z1.5" to be the Z-offset (in mm) between the probe and the nozzle; experiment!
  253. ## This is how you adjust nozzle printing height!
  254. ## G30 Z1.5 ; Move down to find bed & set Z home offset (Zxx=probe-nozzle offset)
  255. ## M280 S7.0 ; Retract probe
  256. ## G1 Z15.0 F9000 ; move extruder up 15mm
  257.  
  258. # associated with zprobe the leveling strategy to use
  259. 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
  260. leveling-strategy.three-point-leveling.point1 100.0,10.0 # the first probe point (x,y) optional may be defined with M557
  261. leveling-strategy.three-point-leveling.point2 180.0,180.0 # the second probe point (x,y)
  262. leveling-strategy.three-point-leveling.point3 33.0,180.0 # the third probe point (x,y)
  263. leveling-strategy.three-point-leveling.home_first false # home the XY axis before probing
  264. leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  265. leveling-strategy.three-point-leveling.probe_offsets 41,22,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  266. leveling-strategy.three-point-leveling.save_plane true # set to true to allow the bed plane to be saved with M500 default is false
  267.  
  268.  
  269. # Pause button
  270. pause_button_enable true #
  271.  
  272. # Panel See http://smoothieware.org/panel
  273. panel.enable true # set to true to enable the panel code
  274.  
  275. # Example viki2 config for an azteeg miniV2 with IDC cable
  276. panel.lcd reprap_discount_glcd # set type of panel
  277. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  278. panel.spi_cs_pin 0.16 # set spi chip select
  279. panel.encoder_a_pin 3.25!^ # encoder pin
  280. panel.encoder_b_pin 3.26!^ # encoder pin
  281. panel.click_button_pin 2.11!^ # click button
  282. panel.a0_pin 2.6 # st7565 needs an a0
  283. panel.contrast 8 # override contrast setting (default is 9)
  284. panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  285. #panel.button_pause_pin 1.22^ # kill/pause set one of these for the auxilliary button on viki2
  286. #panel.back_button_pin 1.22!^ # back button recommended to use this on EXP1
  287. panel.buzz_pin 1.30 # pin for buzzer on EXP2
  288. panel.red_led_pin 0.26 # pin for red led on viki2 on EXP1
  289. panel.blue_led_pin 1.21 # pin for blue led on viki2 on EXP1
  290. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  291. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  292. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  293. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  294. panel.menu_offset 1 # some panels will need 1 here
  295.  
  296.  
  297. # Example miniviki2 config
  298. #panel.lcd mini_viki2 # set type of panel
  299. #panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  300. #panel.spi_cs_pin 0.16 # set spi chip select
  301. #panel.encoder_a_pin 3.25!^ # encoder pin
  302. #panel.encoder_b_pin 3.26!^ # encoder pin
  303. #panel.click_button_pin 2.11!^ # click button
  304. #panel.a0_pin 2.6 # st7565 needs an a0
  305. ##panel.contrast 18 # override contrast setting (default is 18)
  306. ##panel.encoder_resolution 2 # override number of clicks to move 1 item (default is 2)
  307. #panel.menu_offset 1 # here controls how sensitive the menu is. some panels will need 1
  308.  
  309. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  310. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  311. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  312.  
  313. panel.hotend_temperature 185 # temp to set hotend when preheat is selected
  314. panel.T1_temperature 185 # temp to set hotend when preheat is selected
  315. panel.bed_temperature 60 # temp to set bed when preheat is selected
  316.  
  317. # Example of a custom menu entry, which will show up in the Custom entry.
  318. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  319. custom_menu.power_on.enable true #
  320. custom_menu.power_on.name Power_on #
  321. custom_menu.power_on.command M80 #
  322.  
  323. custom_menu.power_off.enable true #
  324. custom_menu.power_off.name Power_off #
  325. custom_menu.power_off.command M81 #
  326.  
  327. # RE-ARM specific settings do not change
  328. currentcontrol_module_enable false #
  329. digipot_max_current 2.4 # max current
  330. digipot_factor 106.0 # factor for converting current to digipot value
  331. leds_disable true # disable using leds after config loaded
  332.  
  333. # network settings
  334. network.enable false # enable the ethernet network services
  335. network.webserver.enable true # enable the webserver
  336. network.telnet.enable true # enable the telnet server
  337. network.plan9.enable true # enable the plan9 network filesystem
  338. network.ip_address auto # the IP address
  339. #network.ip_mask 255.255.255.0 # the ip mask
  340. #network.ip_gateway 192.168.3.1 # the gateway address
  341.  
  342. return_error_on_unhandled_gcode false #
RAW Paste Data Copied