geoffreyforest

Smoothie-Config_7/16/2017

Jul 16th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.33 KB | None | 0 0
  1. # Robot module configurations : general handling of movement G-codes and slicing into moves
  2. default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  3. default_seek_rate 4000 # 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. arm_solution corexy
  9. alpha_steps_per_mm 199.28 # Steps per mm for alpha stepper [200*0.9964]
  10. beta_steps_per_mm 201.88 # Steps per mm for beta stepper [200*1.0094]
  11. gamma_steps_per_mm 3200 # Steps per mm for gamma stepper
  12.  
  13. # Planner module configuration : Look-ahead and acceleration configuration
  14. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOUR ARE DOING
  15. acceleration 3000 # Acceleration in mm/second/second.
  16. #z_acceleration 500 # Acceleration for Z only moves in mm/s^2, 0 disables it, disabled by default. DO NOT SET ON A DELTA
  17. acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
  18. junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  19. # 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
  20.  
  21. # Stepper module configuration
  22. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  23. base_stepping_frequency 100000 # Base frequency for stepping
  24.  
  25. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  26. alpha_step_pin 2.1 # Pin for alpha stepper step signal
  27. alpha_dir_pin 0.11 # Pin for alpha stepper direction
  28. alpha_en_pin 0.10 # Pin for alpha enable pin 0.10
  29. alpha_current 1.0 # X stepper motor current
  30. x_axis_max_speed 30000 # mm/min
  31. alpha_max_rate 30000.0 # mm/min actuator max speed
  32.  
  33. beta_step_pin 2.2 # Pin for beta stepper step signal
  34. beta_dir_pin 0.20 # Pin for beta stepper direction
  35. beta_en_pin 0.19 # Pin for beta enable
  36. beta_current 1.0 # Y stepper motor current
  37. y_axis_max_speed 30000 # mm/min
  38. beta_max_rate 30000.0 # mm/min actuator max speed
  39.  
  40. gamma_step_pin 2.3 # Pin for gamma stepper step signal
  41. gamma_dir_pin 0.22 # Pin for gamma stepper direction
  42. gamma_en_pin 0.21 # Pin for gamma enable
  43. gamma_current 1.0 # Z stepper motor current
  44. z_axis_max_speed 300 # mm/min
  45. gamma_max_rate 300.0 # mm/min actuator max speed
  46.  
  47. # Serial communications configuration ( baud rate default to 9600 if undefined )
  48. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  49. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  50. #msd_disable false # disable the MSD (USB SDCARD) when set to true
  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 276.8672 # Steps per mm for extruder stepper (138.4338*2)
  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 EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  106. #temperature_control.hotend.beta 4066 # or set the beta value
  107. temperature_control.hotend.runaway_heating_timeout 2000 # max is 2040 seconds
  108. temperature_control.hotend.runaway_range 0 # How far from the set temperature it can wander, max setting is 63°C, 0 to disable
  109.  
  110.  
  111. temperature_control.hotend.set_m_code 104 #
  112. temperature_control.hotend.set_and_wait_m_code 109 #
  113. temperature_control.hotend.designator T #
  114.  
  115. temperature_control.hotend.p_factor 32.0 # 27.5 values for stock hotend fan
  116. temperature_control.hotend.i_factor 1.5 # 1.437
  117. temperature_control.hotend.d_factor 60 # 131
  118.  
  119.  
  120. temperature_control.hotend.max_pwm 255 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  121. #temperature_control.hotend.i_max 250 #
  122. temperature_control.hotend.max_temp 270 #
  123.  
  124. # Hotend2 temperature control configuration
  125. temperature_control.hotend2.enable false # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  126.  
  127. temperature_control.hotend2.thermistor_pin 0.25 # Pin for the thermistor to read
  128. temperature_control.hotend2.heater_pin 2.4 # Pin that controls the heater
  129. temperature_control.hotend2.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  130. ##temperature_control.hotend2.beta 4066 # or set the beta value
  131. temperature_control.hotend2.set_m_code 104 #
  132. temperature_control.hotend2.set_and_wait_m_code 109 #
  133. temperature_control.hotend2.designator T1 #
  134.  
  135. #temperature_control.hotend2.p_factor 13.7 # permanently set the PID values after an auto pid
  136. #temperature_control.hotend2.i_factor 0.097 #
  137. #temperature_control.hotend2.d_factor 24 #
  138.  
  139. #temperature_control.hotend2.max_pwm 255 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  140.  
  141. temperature_control.bed.enable true #
  142. temperature_control.bed.thermistor_pin 0.24 #
  143. temperature_control.bed.heater_pin 2.7 #
  144. temperature_control.bed.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  145. #temperature_control.bed.beta 4066 # or set the beta value
  146. temperature_control.bed.runaway_heating_timeout 0 # max is 2040 seconds
  147. temperature_control.hotend.runaway_range 62 # How far from the set temperature it can wander, max setting is 63°C
  148.  
  149. temperature_control.bed.set_m_code 140 #
  150. temperature_control.bed.set_and_wait_m_code 190 #
  151. temperature_control.bed.designator B #
  152.  
  153. temperature_control.bed.bang_bang true # set to true to use bang bang control rather than PID
  154. temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis when
  155. #temperature_control.bed.p_factor 246.6 #
  156. #temperature_control.bed.i_factor 4.386 #
  157. #temperature_control.bed.d_factor 3466 #
  158.  
  159. temperature_control.bed.max_pwm 255 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  160.  
  161. # Switch module for fan control
  162. switch.fan.enable false #
  163. switch.fan.input_on_command M106 #
  164. switch.fan.input_off_command M107 #
  165. switch.fan.output_pin 2.4 #
  166.  
  167. switch.misc.enable false #
  168. switch.misc.input_on_command M42 #
  169. switch.misc.input_off_command M43 #
  170. switch.misc.output_pin 2.4 #
  171.  
  172. # automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  173. # useful to turn on a fan or water pump to cool the hotend
  174. #temperatureswitch.hotend.enable true #
  175. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  176. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  177. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  178. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  179. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  180.  
  181. # filament out detector
  182. #filament_detector.enable true #
  183. #filament_detector.encoder_pin 0.26 # must be interrupt enabled pin (0.26, 0.27, 0.28)
  184. #filament_detector.seconds_per_check 2 # may need to be longer
  185. #filament_detector.pulses_per_mm 1 .0 # will need to be tuned
  186. #filament_detector.bulge_pin 0.27 # optional bulge detector switch and/or manual suspend
  187.  
  188. # Switch module for spindle control
  189. #switch.spindle.enable false #
  190. switch.fan.enable true #
  191. switch.fan.input_on_command M106 #
  192. switch.fan.input_off_command M107 #
  193. switch.fan.output_pin 2.4 #
  194.  
  195. # Endstops
  196. endstops_enable true # the endstop module is enabled by default and can be disabled here
  197. corexy_homing true # set to true if homing on a hbit or corexy
  198. alpha_min_endstop 1.24^! # add a ! to invert if endstop is NO connected to ground
  199. alpha_max_endstop nc # 1.25^
  200. alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
  201. alpha_min 0 # this gets loaded after homing when home_to_min is set
  202. alpha_max 300 # this gets loaded after homing when home_to_max is set
  203. beta_min_endstop nc # 1.26^
  204. beta_max_endstop 1.27^! #
  205. beta_homing_direction home_to_max #
  206. beta_min 0 #
  207. beta_max 300 #
  208. gamma_min_endstop 1.29^! #
  209. gamma_max_endstop nc # 1.29^
  210. gamma_homing_direction home_to_min #
  211. gamma_min 0 #
  212. gamma_max 450 #
  213.  
  214. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  215. #alpha_limit_enable false # set to true to enable X min and max limit switches
  216. #beta_limit_enable false # set to true to enable Y min and max limit switches
  217. #gamma_limit_enable false # set to true to enable Z min and max limit switches
  218.  
  219. #probe endstop
  220. #probe_pin 1.29 # optional pin for probe
  221.  
  222. alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second
  223. beta_fast_homing_rate_mm_s 50 # "
  224. gamma_fast_homing_rate_mm_s 4 # "
  225. alpha_slow_homing_rate_mm_s 25 # "
  226. beta_slow_homing_rate_mm_s 25 # "
  227. gamma_slow_homing_rate_mm_s 2 # "
  228.  
  229. alpha_homing_retract_mm 5 # distance in mm
  230. beta_homing_retract_mm 5 # "
  231. gamma_homing_retract_mm 1 # "
  232.  
  233. #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
  234.  
  235. # optional Z probe
  236. zprobe.enable false # set to true to enable a zprobe
  237. zprobe.probe_pin 1.29!^ # pin probe is attached to if NC remove the !
  238. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  239. #zprobe.debounce_count 100 # set if noisy
  240. zprobe.fast_feedrate 100 # move feedrate mm/sec
  241. zprobe.probe_height 5 # how much above bed to start probe
  242.  
  243. # associated with zprobe the leveling strategy to use
  244. #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
  245. #leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
  246. #leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
  247. #leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
  248. #leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  249. #leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  250. #leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  251. #leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  252.  
  253.  
  254. # Pause button
  255. pause_button_enable true #
  256.  
  257. # Panel See http://smoothieware.org/panel
  258. panel.enable true # set to true to enable the panel code
  259.  
  260. # Example viki2 config for an azteeg miniV2 with IDC cable
  261. panel.lcd reprap_discount_glcd # set type of panel
  262. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  263. panel.spi_cs_pin 0.16 # set spi chip select
  264. panel.encoder_a_pin 3.25!^ # encoder pin
  265. panel.encoder_b_pin 3.26!^ # encoder pin
  266. panel.click_button_pin 2.11!^ # click button
  267. #panel.a0_pin 2.6 # st7565 needs an a0
  268. panel.contrast 8 # override contrast setting (default is 9)
  269. panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  270. #panel.button_pause_pin 1.22^ # kill/pause set one of these for the auxilliary button on viki2
  271. #panel.back_button_pin 1.22!^ # back button recommended to use this on EXP1
  272. panel.buzz_pin 1.30 # pin for buzzer on EXP2
  273. #panel.red_led_pin 0.26 # pin for red led on viki2 on EXP1
  274. #panel.blue_led_pin 1.21 # pin for blue led on viki2 on EXP1
  275. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  276. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  277. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  278. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  279. panel.menu_offset 1 # some panels will need 1 here
  280.  
  281.  
  282. # Example miniviki2 config
  283. #panel.lcd mini_viki2 # set type of panel
  284. #panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  285. #panel.spi_cs_pin 0.16 # set spi chip select
  286. #panel.encoder_a_pin 3.25!^ # encoder pin
  287. #panel.encoder_b_pin 3.26!^ # encoder pin
  288. #panel.click_button_pin 2.11!^ # click button
  289. #panel.a0_pin 2.6 # st7565 needs an a0
  290. ##panel.contrast 18 # override contrast setting (default is 18)
  291. ##panel.encoder_resolution 2 # override number of clicks to move 1 item (default is 2)
  292. #panel.menu_offset 1 # here controls how sensitive the menu is. some panels will need 1
  293.  
  294. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  295. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  296. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  297.  
  298. panel.hotend_temperature 185 # temp to set hotend when preheat is selected
  299. panel.T1_temperature 185 # temp to set hotend when preheat is selected
  300. panel.bed_temperature 60 # temp to set bed when preheat is selected
  301.  
  302. # Example of a custom menu entry, which will show up in the Custom entry.
  303. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  304. custom_menu.power_on.enable true #
  305. custom_menu.power_on.name Power_on #
  306. custom_menu.power_on.command M80 #
  307.  
  308. custom_menu.power_off.enable true #
  309. custom_menu.power_off.name Power_off #
  310. custom_menu.power_off.command M81 #
  311.  
  312. # RE-ARM specific settings do not change
  313. currentcontrol_module_enable false #
  314. digipot_max_current 2.4 # max current
  315. digipot_factor 106.0 # factor for converting current to digipot value
  316. leds_disable true # disable using leds after config loaded
  317.  
  318. # network settings
  319. network.enable false # enable the ethernet network services
  320. network.webserver.enable true # enable the webserver
  321. network.telnet.enable true # enable the telnet server
  322. network.plan9.enable true # enable the plan9 network filesystem
  323. network.ip_address auto # the IP address
  324. #network.ip_mask 255.255.255.0 # the ip mask
  325. #network.ip_gateway 192.168.3.1 # the gateway address
  326.  
  327. return_error_on_unhandled_gcode false #
Advertisement
Add Comment
Please, Sign In to add comment