ColinWild

Untitled

Jul 9th, 2018
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.44 KB | None | 0 0
  1. # NOTE Lines must not exceed 132 characters
  2. # '^' for pull up none is for pull down
  3. # Setup for Mill
  4. ## This is for config to bCNC uncomment to use as printer
  5. #grbl_mode true
  6.  
  7. # Basic motion configuration
  8. default_feed_rate 400 # Default speed (mm/minute) for G1/G2/G3 moves
  9. default_seek_rate 400 # Default speed (mm/minute) for G0 moves
  10. mm_per_arc_segment 0.5 # Fixed length for line segments that divide arcs, 0 to disable
  11. #mm_per_line_segment 5 # Cut lines into segments this size
  12. mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
  13. # note it is invalid for both the above be 0
  14. # if both are used, will use largest segment length based on radius
  15.  
  16. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  17. # See http://smoothieware.org/stepper-motors
  18. alpha_steps_per_mm 401 # Steps per mm for alpha ( X ) stepper
  19. beta_steps_per_mm 400 # Steps per mm for beta ( Y ) stepper
  20. gamma_steps_per_mm 400 # Steps per mm for gamma ( Z ) stepper
  21.  
  22. # Planner module configuration : Look-ahead and acceleration configuration
  23. # See http://smoothieware.org/motion-control
  24. acceleration 20 # Acceleration in mm/second/second.
  25. #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
  26. junction_deviation 0.005 # See http://smoothieware.org/motion-control#junction-deviation
  27. #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
  28.  
  29. # Cartesian axis speed limits
  30. x_axis_max_speed 1000 # Maximum speed in mm/min
  31. y_axis_max_speed 1000 # Maximum speed in mm/min
  32. z_axis_max_speed 500 # Maximum speed in mm/min
  33.  
  34. # Stepper module configuration
  35. # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
  36. # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  37. # Stp2 = P2.1
  38. # Dir2 = P0.11
  39. # En2 = P0.10
  40. # Stp3 = P2.2
  41. # Dir3 = P0.20
  42. # En3 = P0.19
  43. # Stp4 = P2.3
  44. # Dir4 = P0.22
  45. # En4 = P0.21
  46. # Stp5 = P2.8
  47. # Dir5 = P2.13
  48. # En5 = P4.29
  49.  
  50. microseconds_per_step_pulse 4 # Duration of step pulses to stepper drivers, in microseconds(changed from 1)
  51. base_stepping_frequency 100000 # Base frequency for stepping (Gecko recommend anywhere between 0 and 200000)was 100000
  52.  
  53.  
  54. alpha_step_pin 2.3 # Pin for alpha stepper step signal (was just 2.3)
  55. alpha_dir_pin 0.22! # Pin for alpha stepper direction (was just !)
  56. alpha_en_pin 0.21 # Pin for alpha enable pin
  57. alpha_current 1.5 # X stepper motor current
  58. alpha_max_rate 3000.0 # mm/min
  59.  
  60. beta_step_pin 2.1 # Pin for beta stepper step signal (was 2.1o)
  61. beta_dir_pin 0.11 # Pin for beta stepper direction(was !o)
  62. beta_en_pin 0.10 # Pin for beta enable
  63. beta_current 1.5 # Y stepper motor current
  64. beta_max_rate 3000.0 # mm/min
  65.  
  66. gamma_step_pin 2.8 # Pin for gamma stepper step signal
  67. gamma_dir_pin 2.13! # Pin for gamma stepper direction
  68. gamma_en_pin 4.29 # Pin for gamma enable
  69. gamma_current 1.5 # Z stepper motor current
  70. gamma_max_rate 300.0 # mm/min
  71.  
  72. ## Extruder module configuration
  73. extruder.hotend.enable false # Whether to activate the extruder module at all. All configuration is ignored if false
  74. extruder.hotend.steps_per_mm 94 # Steps per mm for extruder stepper 84.5
  75. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  76. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  77. extruder.hotend.max_speed 50 # mm/s
  78.  
  79. extruder.hotend.step_pin 2.0 # Pin for extruder step signal
  80. extruder.hotend.dir_pin 0.5 # Pin for extruder dir signal
  81. extruder.hotend.en_pin 0.4 # Pin for extruder enable signal
  82.  
  83. # extruder offset
  84. #extruder.hotend.x_offset 0 # x offset from origin in mm
  85. #extruder.hotend.y_offset 0 # y offset from origin in mm
  86. #extruder.hotend.z_offset 0 # z offset from origin in mm
  87.  
  88. # 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
  89. #extruder.hotend.retract_length 3 # retract length in mm
  90. #extruder.hotend.retract_feedrate 45 # retract feedrate in mm/sec
  91. #extruder.hotend.retract_recover_length 0 # additional length for recover
  92. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  93. #extruder.hotend.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  94. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  95.  
  96. delta_current 1.5 # First extruder stepper motor current
  97.  
  98. # Second extruder module configuration
  99. ########################################
  100. #extruder.hotend2.enable false # Whether to activate the extruder module at all. All configuration is ignored if false
  101. #extruder.hotend2.steps_per_mm 140 # Steps per mm for extruder stepper
  102. #extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  103. #extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  104. #extruder.hotend2.max_speed 50 # mm/s
  105.  
  106. #extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  107. #extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal
  108. #extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
  109.  
  110. #extruder.hotend2.x_offset 0 # x offset from origin in mm
  111. #extruder.hotend2.y_offset 25.0 # y offset from origin in mm
  112. #extruder.hotend2.z_offset 0 # z offset from origin in mm
  113. #epsilon_current 1.5 # Second extruder stepper motor current
  114.  
  115.  
  116. ## Laser module configuration
  117. laser_module_enable false # Whether to activate the laser module at all. All configuration is
  118. # ignored if false.
  119. #laser_module_pin 2.5 # this pin will be PWMed to control the laser. Only P2.0 - P2.5, P1.18, P1.20, P1.21, P1.23, P1.24, P1.26, P3.25, P3.26
  120. # can be used since laser requires hardware PWM
  121. #laser_module_maximum_power 1.0 # this is the maximum duty cycle that will be applied to the laser
  122. #laser_module_minimum_power 0.0 # This is a value just below the minimum duty cycle that keeps the laser
  123. # active without actually burning.
  124. #laser_module_default_power 0.8 # This is the default laser power that will be used for cuts if a power has not been specified. The value is a scale between
  125. # the maximum and minimum power levels specified above
  126. #laser_module_pwm_period 20 # this sets the pwm frequency as the period in microseconds
  127.  
  128. ## Temperature control configuration
  129. #####################################
  130. # First hotend configuration
  131. temperature_control.hotend.enable false # Whether to activate this ( "hotend" ) module at all.
  132. # All configuration is ignored if false.
  133. temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
  134. #temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  135. temperature_control.hotend.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  136. #temperature_control.hotend.beta 4066 # or set the beta value
  137. temperature_control.hotend.set_m_code 104 #
  138. temperature_control.hotend.set_and_wait_m_code 109 #
  139. temperature_control.hotend.designator T #
  140. #temperature_control.hotend.max_temp 500 # Set maximum temperature - Will prevent heating above 300 by default
  141. #temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below if set
  142.  
  143. #temperature_control.hotend.p_factor 13.7 # permanently set the PID values after an auto pid
  144. #temperature_control.hotend.i_factor 0.097 #
  145. #temperature_control.hotend.d_factor 24 #
  146.  
  147. #temperature_control.hotend.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  148.  
  149. # Second hotend configuration
  150. #############################
  151. #temperature_control.hotend2.enable false # Whether to activate this ( "hotend" ) module at all.
  152. # All configuration is ignored if false.
  153.  
  154. #temperature_control.hotend2.thermistor_pin 0.25 # Pin for the thermistor to read
  155. #temperature_control.hotend2.heater_pin 1.23 # Pin that controls the heater
  156. #temperature_control.hotend2.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  157. ##temperature_control.hotend2.beta 4066 # or set the beta value
  158. #temperature_control.hotend2.set_m_code 104 #
  159. #temperature_control.hotend2.set_and_wait_m_code 109 #
  160. #temperature_control.hotend2.designator T1 #
  161.  
  162. #temperature_control.hotend2.p_factor 13.7 # permanently set the PID values after an auto pid
  163. #temperature_control.hotend2.i_factor 0.097 #
  164. #temperature_control.hotend2.d_factor 24 #
  165.  
  166. #temperature_control.hotend2.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  167.  
  168. temperature_control.bed.enable true #
  169. temperature_control.bed.thermistor_pin 0.23 #
  170. temperature_control.bed.heater_pin 2.7 #
  171. temperature_control.bed.thermistor EPCOS100K #Honeywell100K # see http://smoothieware.org/temperaturecontrol#toc5
  172. #temperature_control.bed.beta 3974 # or set the beta value
  173. temperature_control.bed.max_temp 100 #Think this is in Celcius
  174.  
  175. temperature_control.bed.set_m_code 140 #
  176. temperature_control.bed.set_and_wait_m_code 190 #
  177. temperature_control.bed.designator B #
  178.  
  179. temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  180. temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis
  181. # when using bang bang
  182.  
  183. ## Switch module for fan control
  184. switch.fan.enable false #
  185. switch.fan.input_on_command M106 #
  186. switch.fan.input_off_command M107 #
  187. switch.fan.output_pin 2.7 #
  188. switch.fan.output_type pwm # pwm output settable with S parameter in the input_on_comand
  189. #switch.fan.max_pwm 255 # set max pwm for the pin default is 255
  190.  
  191. #switch.misc.enable true #
  192. #switch.misc.input_on_command M42 #
  193. #switch.misc.input_off_command M43 #
  194. #switch.misc.output_pin 2.4 #
  195. #switch.misc.output_type digital # just an on or off pin
  196.  
  197. #Spindle control Switch module
  198. #switch.spindle.enable true #
  199. #switch.spindle.input_on_command M3 #
  200. #switch.spindle.input_off_command M5 #
  201. #switch.spindle.output_pin 3.26 # Here we are using the first big MOSFET 2.6
  202. #switch.spindle.output_type pwm # pwm output settable with S parameter in the input_on_comand
  203. #switch.spindle.max_pwm 255 # set max pwm for the pin default is 255
  204. spindle.type modbus # set the spindle type to modbus/RS485
  205. spindle.vfd_type huanyang # set the VFD type, this is necessary because each inverter uses its own commands
  206. spindle.rx_pin 2.6 # TX pin for the soft serial
  207. spindle.tx_pin 2.4 # RX pin for the soft serial
  208. spindle.dir_pin 2.5 # RS485 is only half-duplex, so we need a pin to switch between sending and receiving
  209.  
  210. ## Temperatureswitch :
  211. # automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  212. # useful to turn on a fan or water pump to cool the hotend
  213. #temperatureswitch.hotend.enable true #
  214. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  215. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  216. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  217. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  218. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  219.  
  220.  
  221. # Endstops
  222. # See http://smoothieware.org/endstops
  223. endstops_enable true # The endstop module is enabled by default and can be disabled here
  224. #corexy_homing false # Set to true if homing on a hbot or corexy
  225. alpha_min_endstop 1.24^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  226. #alpha_max_endstop 1.25^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  227. alpha_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  228. alpha_min 0 # This gets loaded as the current position after homing when home_to_min is set
  229. alpha_max 950 # This gets loaded as the current position after homing when home_to_max is set
  230. #beta_min_endstop 1.26^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  231. beta_max_endstop 1.27^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  232. beta_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  233. beta_min 0 # This gets loaded as the current position after homing when home_to_min is set
  234. beta_max 350 # This gets loaded as the current position after homing when home_to_max is set
  235. #gamma_min_endstop 1.28^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  236. gamma_max_endstop 1.29^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  237. gamma_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  238. gamma_min 0 # This gets loaded as the current position after homing when home_to_min is set
  239. gamma_max 214.2 # This gets loaded as the current position after homing when home_to_max is set
  240.  
  241. alpha_max_travel 1000 # Max travel in mm for alpha/X axis when homing
  242. beta_max_travel 500 # Max travel in mm for beta/Y axis when homing
  243. gamma_max_travel 500 # Max travel in mm for gamma/Z axis when homing
  244.  
  245. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered
  246. alpha_limit_enable true # set to true to enable X min and max limit switches
  247. beta_limit_enable true # set to true to enable Y min and max limit switches
  248. gamma_limit_enable true # set to true to enable Z min and max limit switches
  249.  
  250. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  251. alpha_fast_homing_rate_mm_s 40 # Alpha/X fast homing feedrate in mm/second
  252. alpha_slow_homing_rate_mm_s 10 # Alpha/X slow homing feedrate in mm/second
  253. beta_fast_homing_rate_mm_s 40 # Beta/Y fast homing feedrate in mm/second
  254. beta_slow_homing_rate_mm_s 10 # Beta/Y slow homing feedrate in mm/second
  255. gamma_fast_homing_rate_mm_s 20 # Gamma/Z fast homing feedrate in mm/second
  256. gamma_slow_homing_rate_mm_s 2 # Gamma/Z slow homing feedrate in mm/second
  257.  
  258. alpha_homing_retract_mm 10 # Distance to retract from the endstop after it is hit for alpha/X
  259. beta_homing_retract_mm 10 # Distance to retract from the endstop after it is hit for beta/Y
  260. gamma_homing_retract_mm 10 # Distance to retract from the endstop after it is hit for gamma/Z
  261.  
  262. # Optional order in which axis will home, default is they all home at the same time,
  263. # If this is set it will force each axis to home one at a time in the specified order
  264. #homing_order XYZ # X axis followed by Y then Z last
  265. #move_to_origin_after_home false # Move XY to 0,0 after homing
  266. #endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100
  267. #endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
  268. #home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY
  269.  
  270. # End of endstop config
  271.  
  272. ## Z-probe
  273. zprobe.enable false # set to true to enable a zprobe
  274. zprobe.probe_pin 1.28!^ # pin probe is attached to if NC remove the !
  275. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  276. #zprobe.debounce_count 100 # set if noisy
  277. zprobe.fast_feedrate 100 # move feedrate mm/sec
  278. zprobe.probe_height 5 # how much above bed to start probe
  279. #gamma_min_endstop nc # normally 1.28. Change to nc to prevent conflict,
  280.  
  281. # associated with zprobe the leveling strategy to use
  282. #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
  283. #leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
  284. #leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
  285. #leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
  286. #leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  287. #leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  288. #leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  289. #leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  290.  
  291. ## Panel
  292. panel.enable false # set to true to enable the panel code
  293.  
  294. # Example for reprap discount GLCD
  295. # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
  296. # +5v is EXP1 pin 10, Gnd is EXP1 pin 9
  297. #panel.lcd reprap_discount_glcd #
  298. #panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
  299. #panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
  300. #panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
  301. #panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
  302. #panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
  303. #panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
  304. #panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8
  305.  
  306. # pins used with other panels
  307. #panel.up_button_pin 0.1! # up button if used
  308. #panel.down_button_pin 0.0! # down button if used
  309. #panel.click_button_pin 0.18! # click button if used
  310.  
  311. panel.menu_offset 0 # some panels will need 1 here
  312.  
  313. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  314. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  315. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  316.  
  317. panel.hotend_temperature 185 # temp to set hotend when preheat is selected
  318. panel.bed_temperature 60 # temp to set bed when preheat is selected
  319.  
  320. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  321. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  322. custom_menu.power_on.enable true #
  323. custom_menu.power_on.name Power_on #
  324. custom_menu.power_on.command M80 #
  325.  
  326. custom_menu.power_off.enable true #
  327. custom_menu.power_off.name Power_off #
  328. custom_menu.power_off.command M81 #
  329.  
  330.  
  331. ## Network settings
  332. # See http://smoothieware.org/network
  333. network.enable false # Enable the ethernet network services
  334. network.webserver.enable true # Enable the webserver
  335. network.telnet.enable true # Enable the telnet server
  336. network.ip_address auto # Use dhcp to get ip address
  337. # Uncomment the 3 below to manually setup ip address
  338. #network.ip_address 192.168.3.222 # 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. #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
  342.  
  343. ## System configuration
  344. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  345. # For communication over the UART port, *not* the USB/Serial port
  346. #uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port
  347.  
  348. second_usb_serial_enable false # This enables a second USB serial port
  349. #leds_disable true # Disable using leds after config loaded
  350. #play_led_disable true # Disable the play led
  351.  
  352. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  353. # See http://smoothieware.org/killbutton
  354. kill_button_enable true # Set to true to enable a kill button
  355. kill_button_pin 1.30^ # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  356.  
  357. #msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
  358. #dfu_enable false # For linux developers, set to true to enable DFU
  359.  
  360. # Only needed on a smoothieboard
  361. # See http://smoothieware.org/currentcontrol
  362. currentcontrol_module_enable false # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment