Advertisement
Guest User

config

a guest
Apr 28th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.26 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. grbl_mode true # added as a result reading smoothie for bcnc
  6.  
  7.  
  8. # Basic motion configuration
  9. default_feed_rate 1500 # Default speed (mm/minute) for G1/G2/G3 moves
  10. default_seek_rate 1500 # Default speed (mm/minute) for G0 moves
  11. mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
  12. #mm_per_line_segment 5 # Cut lines into segments this size
  13. mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
  14. # note it is invalid for both the above be 0
  15. # if both are used, will use largest segment length based on radius
  16.  
  17. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  18. # See http://smoothieware.org/stepper-motors
  19. alpha_steps_per_mm 800 # Steps per mm for alpha ( X ) stepper
  20. beta_steps_per_mm 800 # Steps per mm for beta ( Y ) stepper
  21. gamma_steps_per_mm 800 # Steps per mm for gamma ( Z ) stepper
  22.  
  23. # Planner module configuration : Look-ahead and acceleration configuration
  24. # See http://smoothieware.org/motion-control
  25. acceleration 100 # Acceleration in mm/second/second.
  26. #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
  27. junction_deviation 0.001 # See http://smoothieware.org/motion-control#junction-deviation
  28. #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
  29.  
  30. # Stepper module configuration
  31. # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
  32. # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  33. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  34. alpha_dir_pin 0.5 # Pin for alpha stepper direction, add '!' to reverse direction
  35. alpha_en_pin 0.4 # Pin for alpha enable pin
  36. alpha_current 1.5 # X stepper motor current
  37. alpha_max_rate 2300.0 # Maximum rate in mm/min
  38.  
  39. beta_step_pin 2.1 # Pin for beta stepper step signal
  40. beta_dir_pin 0.11 # Pin for beta stepper direction, add '!' to reverse direction
  41. beta_en_pin 0.10 # Pin for beta enable
  42. beta_current 1.5 # Y stepper motor current
  43. beta_max_rate 2300.0 # Maxmimum rate in mm/min
  44. #epsilon_current 2.0 # M5 - For DualOperations
  45.  
  46.  
  47. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  48. gamma_dir_pin 0.20 # Pin for gamma stepper direction, add '!' to reverse direction
  49. gamma_en_pin 0.19 # Pin for gamma enable
  50. gamma_current 1.5 # Z stepper motor current
  51. gamma_max_rate 1500.0 # Maximum rate in mm/min
  52.  
  53.  
  54. microseconds_per_step_pulse 1 # Duration of step pulses to the stepper motor drivers, in microseconds.
  55.  
  56. ## Endstops
  57. # See http://smoothieware.org/endstops
  58. endstops_enable false # The endstop module is enabled by default and can be disabled here
  59. #corexy_homing false # Set to true if homing on a hbot or corexy
  60. #alpha_min_endstop 1.24^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  61. alpha_max_endstop 1.25^! # Pin to read max endstop, uncomment this and comment the above if using max endstops
  62. alpha_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  63. alpha_min 0 # This gets loaded as the current position after homing when home_to_min is set
  64. alpha_max 730 # This gets loaded as the current position after homing when home_to_max is set
  65. #beta_min_endstop 1.26^! # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  66. beta_max_endstop 1.27^! # Pin to read max endstop, uncomment this and comment the above if using max endstops
  67. beta_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  68. beta_min 0 # This gets loaded as the current position after homing when home_to_min is set
  69. beta_max 330 # This gets loaded as the current position after homing when home_to_max is set
  70. #gamma_min_endstop 1.28^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  71. #gamma_max_endstop 1.29^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  72. gamma_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  73. gamma_min 0 # This gets loaded as the current position after homing when home_to_min is set
  74. gamma_max 200 # This gets loaded as the current position after homing when home_to_max is set
  75.  
  76. alpha_max_travel 730 # Max travel in mm for alpha/X axis when homing
  77. beta_max_travel 330 # Max travel in mm for beta/Y axis when homing
  78. gamma_max_travel 40 # Max travel in mm for gamma/Z axis when homing
  79.  
  80. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered
  81. alpha_limit_enable false # Set to true to enable X min and max limit switches
  82. beta_limit_enable false # Set to true to enable Y min and max limit switches
  83. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  84.  
  85. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  86. alpha_fast_homing_rate_mm_s 40 # Alpha/X fast homing feedrate in mm/second
  87. alpha_slow_homing_rate_mm_s 10 # Alpha/X slow homing feedrate in mm/second
  88. beta_fast_homing_rate_mm_s 20 # Beta/Y fast homing feedrate in mm/second
  89. beta_slow_homing_rate_mm_s 10 # Beta/Y slow homing feedrate in mm/second
  90. gamma_fast_homing_rate_mm_s 4 # Gamma/Z fast homing feedrate in mm/second
  91. gamma_slow_homing_rate_mm_s 2 # Gamma/Z slow homing feedrate in mm/second
  92.  
  93. alpha_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for alpha/X
  94. beta_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for beta/Y
  95. gamma_homing_retract_mm 1 # Distance to retract from the endstop after it is hit for gamma/Z
  96.  
  97.  
  98. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
  99. #alpha_limit_enable false # Set to true to enable X min and max limit switches
  100. #beta_limit_enable false # Set to true to enable Y min and max limit switches
  101. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  102.  
  103. # Optional order in which axis will home, default is they all home at the same time,
  104. # If this is set it will force each axis to home one at a time in the specified order
  105. #homing_order ZXY # X axis followed by Y then Z last
  106. #move_to_origin_after_home false # Move XY to 0,0 after homing
  107. #endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100
  108. #endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
  109. #home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY
  110.  
  111. # End of endstop config
  112. # Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
  113. #include abc-endstop.config
  114.  
  115. ## Z-probe
  116. # See http://smoothieware.org/zprobe
  117. zprobe.enable false # Set to true to enable a zprobe
  118. zprobe.probe_pin 1.28!^ # Pin probe is attached to, if NC remove the !
  119. zprobe.slow_feedrate 5 # Mm/sec probe feed rate
  120. #zprobe.debounce_count 100 # Set if noisy
  121. zprobe.fast_feedrate 100 # Move feedrate mm/sec
  122. zprobe.probe_height 5 # How much above bed to start probe
  123. #gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict,
  124.  
  125. # Levelling strategy
  126. # Example for 3-point levelling strategy, see wiki documentation for other strategies
  127. #leveling-strategy.three-point-leveling.enable false # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
  128. #leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
  129. #leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
  130. #leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
  131. #leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  132. #leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  133. #leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  134. #leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  135.  
  136. ## Panel
  137. # See http://smoothieware.org/panel
  138. # Please find your panel on the wiki and copy/paste the right configuration here
  139. panel.enable false # Set to true to enable the panel code
  140.  
  141. # Example for reprap discount GLCD
  142. # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
  143. # +5v is EXP1 pin 10, Gnd is EXP1 pin 9
  144. #panel.lcd reprap_discount_glcd #
  145. #panel.spi_channel 0 # SPI channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
  146. #panel.spi_cs_pin 0.16 # SPI chip select ; GLCD EXP1 Pin 4
  147. #panel.encoder_a_pin 3.25!^ # Encoder pin ; GLCD EXP2 Pin 3
  148. #panel.encoder_b_pin 3.26!^ # Encoder pin ; GLCD EXP2 Pin 5
  149. #panel.click_button_pin 1.30!^ # Click button ; GLCD EXP1 Pin 2
  150. #panel.buzz_pin 1.31 # Pin for buzzer ; GLCD EXP1 Pin 1
  151. #panel.back_button_pin 2.11!^ # Back button ; GLCD EXP2 Pin 8
  152.  
  153. panel.menu_offset 0 # Some panels will need 1 here
  154.  
  155. panel.alpha_jog_feedrate 1000 # X jogging feedrate in mm/min
  156. panel.beta_jog_feedrate 1000 # Y jogging feedrate in mm/min
  157. panel.gamma_jog_feedrate 200 # Z jogging feedrate in mm/min
  158.  
  159. panel.hotend_temperature 185 # Temp to set hotend when preheat is selected
  160. panel.bed_temperature 60 # Temp to set bed when preheat is selected
  161.  
  162. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  163. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  164. custom_menu.power_on.enable true #
  165. custom_menu.power_on.name Power_on #
  166. custom_menu.power_on.command M80 #
  167.  
  168. custom_menu.power_off.enable true #
  169. custom_menu.power_off.name Power_off #
  170. custom_menu.power_off.command M81 #
  171.  
  172.  
  173. ## Network settings
  174. # See http://smoothieware.org/network
  175. network.enable false # Enable the ethernet network services
  176. network.webserver.enable false # Enable the webserver
  177. network.telnet.enable false # Enable the telnet server
  178. network.ip_address auto # Use dhcp to get ip address
  179. # Uncomment the 3 below to manually setup ip address
  180. #network.ip_address 192.168.3.222 # The IP address
  181. #network.ip_mask 255.255.255.0 # The ip mask
  182. #network.ip_gateway 192.168.3.1 # The gateway address
  183. #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
  184.  
  185. ## System configuration
  186. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  187. # For communication over the UART port, *not* the USB/Serial port
  188. uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port
  189.  
  190. second_usb_serial_enable false # This enables a second USB serial port
  191. #leds_disable true # Disable using leds after config loaded
  192. #play_led_disable true # Disable the play led
  193.  
  194. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  195. # See http://smoothieware.org/killbutton
  196. kill_button_enable false # Set to true to enable a kill button
  197. kill_button_pin 2.12 # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  198.  
  199. #msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
  200. #dfu_enable false # For linux developers, set to true to enable DFU
  201.  
  202. # Only needed on a smoothieboard
  203. # See http://smoothieware.org/currentcontrol
  204. currentcontrol_module_enable true # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement