Advertisement
Guest User

Smoothieware R7 CNC Config

a guest
Jan 26th, 2018
697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.50 KB | None | 0 0
  1. # Robot module configurations : general handling of movement G-codes and slicing into moves
  2. default_feed_rate 3500 # Default rate ( mm/minute ) for G1/G2/G3 moves
  3. default_seek_rate 3500 # Default rate ( mm/minute ) for G0 moves
  4. mm_per_arc_segment 0.4 # 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 803.2 # Steps per mm for alpha stepper (32 microsteps = 803.2)
  9. beta_steps_per_mm 803.2 # Steps per mm for beta stepper
  10. gamma_steps_per_mm 803.2 # 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 400 # Acceleration in mm/second/second.
  15. #z_acceleration 250 # Acceleration for Z only moves in mm/s^2, 0 disables it, disabled by default. DO NOT SET ON A DELTA
  16. junction_deviation 0.03 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  17. # 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
  18.  
  19. # Stepper module configuration
  20. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  21. base_stepping_frequency 100000 # Base frequency for stepping
  22.  
  23. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  24. alpha_step_pin 2.1 # Pin for alpha stepper step signal
  25. alpha_dir_pin 0.11! # Pin for alpha stepper direction
  26. alpha_en_pin 0.10 # Pin for alpha enable pin
  27. alpha_current 1.2 # X stepper motor vref (Vref x 2 = Max Current)
  28. x_axis_max_speed 6000 # mm/min
  29. alpha_max_rate 6000.0 # mm/min actuator max speed
  30.  
  31. beta_step_pin 2.0 #Step mapped to Delta step pin for mirrored Y (2.2 Pin for beta stepper step signal)
  32. beta_dir_pin 0.5! #Step mapped to Delta dir pin for mirrored Y (0.2 Pin for beta stepper dir signal)
  33. beta_en_pin 0.4 #Step mapped to Delta enable pin for mirrored Y (0.19 Pin for beta stepper enable signal)
  34. beta_current 1.0 # Y stepper motor current
  35. y_axis_max_speed 5000 # mm/min
  36. beta_max_rate 5000.0 # mm/min actuator max speed
  37.  
  38. gamma_step_pin 2.3 # Pin for gamma stepper step signal
  39. gamma_dir_pin 0.22! # Pin for gamma stepper direction
  40. gamma_en_pin 0.21 # Pin for gamma enable
  41. gamma_current 1.2 # Z stepper motor current
  42. z_axis_max_speed 750 # mm/min
  43. gamma_max_rate 750.0 # mm/min actuator max speed
  44.  
  45. # Serial communications configuration ( baud rate default to 9600 if undefined )
  46. uart0.baud_rate 250000 # Baud rate for the default hardware serial port
  47. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  48.  
  49. #msd_disable false # disable the MSD (USB SDCARD) when set to true
  50. #leds_disable true # disable using leds after config loaded
  51. #dfu_enable false # for linux developers, set to true to enable DFU
  52. #watchdog_timeout 10 # watchdog timeout in seconds, default is 10, set to 0 to disable the watchdog
  53.  
  54.  
  55. ## Extruder module configuration
  56. extruder.hotend.enable false # Whether to activate the extruder module at all. All configuration is ignored if false
  57. #extruder.hotend.steps_per_mm 140 # Steps per mm for extruder stepper
  58. #extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  59. #extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  60. #extruder.hotend.max_speed 50 # mm/s
  61. #extruder.hotend.step_pin 2.0 # Pin for extruder step signal
  62. #extruder.hotend.dir_pin 0.5 # Pin for extruder dir signal
  63. #extruder.hotend.en_pin 0.4 # Pin for extruder enable signal
  64.  
  65. delta_current 1.0 # Y1 Mirrored Vref (jumpers installed to mirror E1 and E2 into Dual Y Motors)
  66. epsilon_current 1.0 # Y2 Mirrored Vref
  67.  
  68. # Laser module configuration
  69. laser_module_enable false # Whether to activate the laser module at all. All configuration is
  70. # ignored if false.
  71. #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
  72. # can be used since laser requires hardware PWM
  73. #laser_module_maximum_power 1.0 # this is the maximum duty cycle that will be applied to the laser
  74. #laser_module_minimum_power 0.0 # This is a value just below the minimum duty cycle that keeps the laser
  75. # active without actually burning.
  76. #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
  77. # the maximum and minimum power levels specified above
  78. #laser_module_pwm_period 20 # this sets the pwm frequency as the period in microseconds
  79.  
  80. # Hotend temperature control configuration
  81. temperature_control.hotend.enable false # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  82. temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
  83. temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater
  84. temperature_control.hotend.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  85. #temperature_control.hotend.beta 4066 # or set the beta value
  86.  
  87. temperature_control.hotend.set_m_code 104 #
  88. temperature_control.hotend.set_and_wait_m_code 109 #
  89. temperature_control.hotend.designator T #
  90. #temperature_control.hotend.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
  91. #temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below 0 by default
  92.  
  93. temperature_control.hotend.p_factor 13.7 #
  94. temperature_control.hotend.i_factor 0.097 #
  95. temperature_control.hotend.d_factor 24 #
  96.  
  97. temperature_control.bed.enable false #
  98. temperature_control.bed.thermistor_pin 0.23 #
  99. temperature_control.bed.heater_pin 2.7 #
  100. temperature_control.bed.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  101. #temperature_control.bed.beta 4066 # or set the beta value
  102.  
  103. temperature_control.bed.set_m_code 140 #
  104. temperature_control.bed.set_and_wait_m_code 190 #
  105. temperature_control.bed.designator B #
  106.  
  107. # Switch module for fan control
  108. switch.fan.enable false #
  109. switch.fan.input_on_command M106 #
  110. switch.fan.input_off_command M107 #
  111. switch.fan.output_pin 1.25 #
  112.  
  113. switch.misc.enable false #
  114. switch.misc.input_on_command M42 #
  115. switch.misc.input_off_command M43 #
  116. switch.misc.output_pin 0.26 #
  117.  
  118. # automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  119. # useful to turn on a fan or water pump to cool the hotend
  120. #temperatureswitch.hotend.enable true #
  121. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  122. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  123. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  124. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  125. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  126.  
  127. # filament out detector
  128. #filament_detector.enable true #
  129. #filament_detector.encoder_pin 0.26 # must be interrupt enabled pin (0.26, 0.27, 0.28)
  130. #filament_detector.seconds_per_check 2 # may need to be longer
  131. #filament_detector.pulses_per_mm 1 .0 # will need to be tuned
  132. #filament_detector.bulge_pin 0.27 # optional bulge detector switch and/or manual suspend
  133.  
  134. # Switch module for spindle control
  135. #switch.spindle.enable false #
  136.  
  137. # Endstops
  138. endstops_enable true # the endstop module is enabled by default and can be disabled here
  139. #corexy_homing false # set to true if homing on a hbot or corexy
  140. #alpha_min_endstop 1.27^ # add a ! to invert if endstop is NO connected to ground
  141. alpha_max_endstop 1.24^! #
  142. alpha_homing_direction home_to_max # or set to home_to_max and set alpha_max
  143. #alpha_min 0 # this gets loaded after homing when home_to_min is set
  144. alpha_max 792 # this gets loaded after homing when home_to_max is set
  145. #beta_min_endstop 1.29^ #
  146. beta_max_endstop 1.26^! #
  147. beta_homing_direction home_to_max #
  148. beta_min 0 #
  149. beta_max 720 #
  150. #gamma_min_endstop 1.25^ #
  151. gamma_max_endstop 1.28^! #
  152. gamma_homing_direction home_to_max #
  153. gamma_min 0 #
  154. gamma_max 80 #
  155. endstop_debounce_ms 4 # Debounce each homing endstop for this number of miliseconds. Set to 1 if your endstops are too noisy and give false readings. Used for homing only
  156. endstop_debounce_count 100 # Debounce each limit switch (not homing endstops) over this number of values. Set to 100 if your endstops are too noisy and give false readings. Used for limit switches only
  157.  
  158. alpha_max_travel 792 # max travel in mm for alpha/X axis when homing
  159. beta_max_travel 720 # max travel in mm for beta/Y axis when homing
  160. gamma_max_travel 80 # max travel in mm for gamma/Z axis when homing
  161.  
  162. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  163. #alpha_limit_enable false # set to true to enable X min and max limit switches
  164. #beta_limit_enable false # set to true to enable Y min and max limit switches
  165. #gamma_limit_enable false # set to true to enable Z min and max limit switches
  166. #move_to_origin_after_home false # move XY to 0,0 after homing
  167.  
  168. #probe endstop
  169. #probe_pin 1.29 # optional pin for probe
  170.  
  171. homing_order ZXY # Order in which axis perform homing
  172.  
  173. alpha_fast_homing_rate_mm_s 45 # feedrates in mm/second
  174. beta_fast_homing_rate_mm_s 45 # "
  175. gamma_fast_homing_rate_mm_s 10 # "
  176. alpha_slow_homing_rate_mm_s 22 # "
  177. beta_slow_homing_rate_mm_s 22 # "
  178. gamma_slow_homing_rate_mm_s 4 # "
  179.  
  180. alpha_homing_retract_mm 3 # distance in mm
  181. beta_homing_retract_mm 3 # "
  182. gamma_homing_retract_mm 1 # "
  183.  
  184. # optional Z probe
  185. zprobe.enable false # set to true to enable a zprobe
  186. zprobe.probe_pin 1.29!^ # pin probe is attached to if NC remove the !
  187. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  188. #zprobe.debounce_count 100 # set if noisy
  189. zprobe.fast_feedrate 100 # move feedrate mm/sec
  190. zprobe.probe_height 5 # how much above bed to start probe
  191.  
  192. # associated with zprobe the leveling strategy to use
  193. #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
  194. #leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
  195. #leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
  196. #leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
  197. #leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  198. #leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  199. #leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  200. #leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  201.  
  202.  
  203. # kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
  204. kill_button_enable true # set to true to enable a kill button
  205. kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  206.  
  207. # Panel See http://smoothieware.org/panel
  208. panel.enable false # set to true to enable the panel code
  209.  
  210. # Example viki2 config for an azteeg mini V2 with IDC cable
  211. panel.lcd viki2 # set type of panel
  212. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  213. panel.spi_cs_pin 0.16 # set spi chip select
  214. panel.encoder_a_pin 3.25!^ # encoder pin
  215. panel.encoder_b_pin 3.26!^ # encoder pin
  216. panel.click_button_pin 2.11!^ # click button
  217. panel.a0_pin 2.6 # st7565 needs an a0
  218. panel.contrast 8 # override contrast setting (default is 9) miniViki (4 or lower)
  219. #panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  220. #panel.button_pause_pin 1.30^ # kill/pause set one of these for the auxilliary button on viki2
  221. #panel.back_button_pin 1.30!^ # back button recommended to use this on EXP1
  222. panel.buzz_pin 0.25 # pin for buzzer on EXP2
  223. panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
  224. panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
  225. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  226. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  227. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  228. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  229. panel.menu_offset 1 # some panels will need 1 here
  230.  
  231.  
  232. panel.alpha_jog_feedrate 800 # x jogging feedrate in mm/min
  233. panel.beta_jog_feedrate 800 # y jogging feedrate in mm/min
  234. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  235.  
  236. panel.hotend_temperature 185 # temp to set hotend when preheat is selected
  237. panel.bed_temperature 60 # temp to set bed when preheat is selected
  238.  
  239. # Example of a custom menu entry, which will show up in the Custom entry.
  240. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  241. custom_menu.power_on.enable true #
  242. custom_menu.power_on.name Power_on #
  243. custom_menu.power_on.command M80 #
  244.  
  245. custom_menu.power_off.enable true #
  246. custom_menu.power_off.name Power_off #
  247. custom_menu.power_off.command M81 #
  248.  
  249. # network settings
  250. network.enable false # enable the ethernet network services
  251. network.webserver.enable true # enable the webserver
  252. network.telnet.enable true # enable the telnet server
  253. network.plan9.enable true # enable the plan9 network filesystem
  254. network.ip_address auto # the IP address
  255. #network.ip_mask 255.255.255.0 # the ip mask
  256. #network.ip_gateway 192.168.3.1 # the gateway address
  257.  
  258. # Azteeg specific settings do not change
  259. currentcontrol_module_enable true #
  260. digipot_max_current 3.0 # max current
  261. digipot_factor 103.0 # factor for converting current to digipot value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement