Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.59 KB | None | 0 0
  1. # NOTE Lines must not exceed 132 characters
  2. ## Robot module configurations : general handling of movement G-codes and slicing into moves
  3. arm_solution corexy # corexy edit
  4. default_feed_rate 9000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  5. default_seek_rate 9000 # Default rate ( mm/minute ) for G0 moves
  6. mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs 0 to disable
  7. mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
  8. # note it is invalid for both the above be 0
  9. # if both are used, will use largest segment length based on radius
  10. #mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian
  11. # coordinates robots ).
  12.  
  13. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  14. alpha_steps_per_mm 100 # Steps per mm for alpha stepper
  15. beta_steps_per_mm 100 # Steps per mm for beta stepper
  16. gamma_steps_per_mm 400 # Steps per mm for gamma stepper
  17.  
  18. # Planner module configuration : Look-ahead and acceleration configuration
  19. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
  20. acceleration 3000 # Acceleration in mm/second/second.
  21. #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
  22. junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters,
  23. # see https://github.com/grbl/grbl/blob/master/planner.c
  24. # and https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8
  25. # Lower values mean being more careful, higher values means being
  26. # faster and have more jerk
  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. #minimum_planner_speed 0.0 # sets the minimum planner speed in mm/sec
  29.  
  30. # Stepper module configuration
  31. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  32. base_stepping_frequency 100000 # Base frequency for stepping
  33.  
  34. # Cartesian axis speed limits
  35. x_axis_max_speed 30000 # mm/min
  36. y_axis_max_speed 30000 # mm/min
  37. z_axis_max_speed 300 # mm/min
  38.  
  39. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  40. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  41. alpha_dir_pin 0.5 # Pin for alpha stepper direction
  42. alpha_en_pin 0.4 # Pin for alpha enable pin
  43. alpha_current 1.5 # X stepper motor current
  44. alpha_max_rate 30000.0 # mm/min
  45.  
  46. beta_step_pin 2.1 # Pin for beta stepper step signal
  47. beta_dir_pin 0.11 # Pin for beta stepper direction
  48. beta_en_pin 0.10 # Pin for beta enable
  49. beta_current 1.5 # Y stepper motor current
  50. beta_max_rate 30000.0 # mm/min
  51.  
  52. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  53. gamma_dir_pin 0.20! # Pin for gamma stepper direction
  54. gamma_en_pin 0.19 # Pin for gamma enable
  55. gamma_current 2.0 # Z stepper motor current
  56. gamma_max_rate 200.0 # mm/min
  57.  
  58. ## System configuration
  59. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  60. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  61. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface
  62. # and a terminal connected)
  63. #leds_disable true # disable using leds after config loaded
  64. #play_led_disable true # disable the play led
  65.  
  66. # Kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
  67. kill_button_enable true # set to true to enable a kill button
  68. kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  69.  
  70. #msd_disable false # disable the MSD (USB SDCARD) when set to true (needs special binary)
  71. #dfu_enable false # for linux developers, set to true to enable DFU
  72. #watchdog_timeout 10 # watchdog timeout in seconds, default is 10, set to 0 to disable the watchdog
  73.  
  74. # Only needed on a smoothieboard
  75. currentcontrol_module_enable true #
  76.  
  77. ## Extruder module configuration
  78. extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  79. extruder.hotend.steps_per_mm 125.59 # Steps per mm for extruder stepper
  80. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  81. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  82. extruder.hotend.max_speed 50 # mm/s
  83.  
  84. extruder.hotend.step_pin 2.3 # Pin for extruder step signal
  85. extruder.hotend.dir_pin 0.22! # Pin for extruder dir signal
  86. extruder.hotend.en_pin 0.21 # Pin for extruder enable signal
  87.  
  88. # extruder offset
  89. #extruder.hotend.x_offset 0 # x offset from origin in mm
  90. #extruder.hotend.y_offset 0 # y offset from origin in mm
  91. #extruder.hotend.z_offset 0 # z offset from origin in mm
  92.  
  93. # 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
  94. #extruder.hotend.retract_length 3 # retract length in mm
  95. #extruder.hotend.retract_feedrate 45 # retract feedrate in mm/sec
  96. #extruder.hotend.retract_recover_length 0 # additional length for recover
  97. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  98. #extruder.hotend.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  99. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  100.  
  101. delta_current 1.5 # First extruder stepper motor current
  102.  
  103. # Second extruder module configuration
  104. #extruder.hotend2.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  105. #extruder.hotend2.steps_per_mm 140 # Steps per mm for extruder stepper
  106. #extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  107. #extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  108. #extruder.hotend2.max_speed 50 # mm/s
  109.  
  110. #extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  111. #extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal
  112. #extruder.hotend2.en_pin nc # Pin for extruder enable signal
  113.  
  114. #extruder.hotend2.x_offset 0 # x offset from origin in mm
  115. #extruder.hotend2.y_offset 25.0 # y offset from origin in mm
  116. #extruder.hotend2.z_offset 0 # z offset from origin in mm
  117. #epsilon_current 1.5 # Second extruder stepper motor current
  118.  
  119.  
  120. ## Temperature control configuration
  121. # First hotend configuration
  122. temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all.
  123. # All configuration is ignored if false.
  124. temperature_control.hotend.thermistor_pin 0.25 # Pin for the thermistor to read
  125. temperature_control.hotend.heater_pin 1.23 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  126. temperature_control.hotend.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  127. #temperature_control.hotend.beta 4375 # or set the beta value
  128. temperature_control.hotend.set_m_code 104 #
  129. temperature_control.hotend.set_and_wait_m_code 109 #
  130. temperature_control.hotend.designator E0 #
  131. temperature_control.hotend.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
  132. temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below if set
  133.  
  134. # safety control is enabled by default and can be overidden here, the values show the defaults
  135. temperature_control.hotend.runaway_heating_timeout 900 # max is 2040 seconds, how long it can take to heat up
  136. temperature_control.hotend.runaway_cooling_timeout 900 # max is 2040 seconds, how long it can take to cool down if temp is set lower
  137. temperature_control.hotend.runaway_range 63 # Max setting is 63°C
  138.  
  139. #temperature_control.hotend.p_factor 13.7 # permanently set the PID values after an auto pid
  140. #temperature_control.hotend.i_factor 0.097 #
  141. #temperature_control.hotend.d_factor 24 #
  142.  
  143. #temperature_control.hotend.max_pwm 150 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  144.  
  145. # Second hotend configuration
  146. #temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all.
  147. # All configuration is ignored if false.
  148.  
  149. #temperature_control.hotend2.thermistor_pin # Pin for the thermistor to read
  150. #temperature_control.hotend2.heater_pin # Pin that controls the heater
  151. #temperature_control.hotend2.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  152. ##temperature_control.hotend2.beta 4066 # or set the beta value
  153. #temperature_control.hotend2.set_m_code 104 #
  154. #temperature_control.hotend2.set_and_wait_m_code 109 #
  155. #temperature_control.hotend2.designator #
  156.  
  157. #temperature_control.hotend2.p_factor 13.7 # permanently set the PID values after an auto pid
  158. #temperature_control.hotend2.i_factor 0.097 #
  159. #temperature_control.hotend2.d_factor 24 #
  160.  
  161. #temperature_control.hotend2.max_pwm 155 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  162.  
  163. temperature_control.bed.enable true #
  164. temperature_control.bed.thermistor_pin 0.24 #
  165. temperature_control.bed.heater_pin 2.5 #
  166. temperature_control.bed.thermistor Honeywell100K # see http://smoothieware.org/temperaturecontrol#toc5
  167. #temperature_control.bed.beta 3974 # or set the beta value
  168.  
  169. temperature_control.bed.set_m_code 140 #
  170. temperature_control.bed.set_and_wait_m_code 190 #
  171. temperature_control.bed.designator B0 #
  172.  
  173. #temperature_control.bed.pwm_frequency 20
  174. #temperature_control.bed.max_pwm 130
  175.  
  176. #temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  177. #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis
  178. # when using bang bang
  179. #temperature_control.bed.p_factor 109.7 # permanently set the PID values after an auto pid
  180. #temperature_control.bed.i_factor 8.792 #
  181. #temperature_control.bed.d_factor 342 #
  182.  
  183. ## Switch module for fan control
  184. switch.fan.enable true #
  185. switch.fan.input_on_command M106 #
  186. switch.fan.input_off_command M107 #
  187. switch.fan.output_pin 2.6 #
  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 false #
  192. #switch.misc.input_on_command M42 #
  193. #switch.misc.input_off_command M43 #
  194. #switch.misc.output_pin nc #
  195. #switch.misc.output_type digital # just an on or off pin
  196.  
  197. switch.LED.enable false #
  198. switch.LED.input_pin 4.29
  199. switch.LED.input_pin_behavior toggle
  200. switch.LED.input_on_command M106 #
  201. switch.LED.input_off_command M107 #
  202. switch.LED.output_pin 1.22 #
  203. switch.LED.output_type digital
  204. switch.LED.startup_state true
  205.  
  206.  
  207. #Switch module for servo control
  208. switch.servo.enable true #
  209. switch.servo.input_on_command M280 # M280 S7.5 would be midway
  210. switch.servo.input_off_command M281 # same as M280 S0 0% duty cycle, effectively off
  211. switch.servo.output_pin 2.4 # must be a PWM capable pin
  212. switch.servo.output_type hwpwm #H/W pwm output settable
  213. switch.servo.pwm_period_ms 20 # ser period to 20ms (50Hz) default is 50Hz
  214.  
  215.  
  216. # Switch module for spindle control
  217. #switch.spindle.enable false #
  218. ## Temperatureswitch :
  219. # automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  220. # useful to turn on a fan or water pump to cool the hotend
  221. #temperatureswitch.hotend.enable true #
  222. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  223. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  224. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  225. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  226. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  227.  
  228.  
  229. ## Endstops
  230. endstops_enable true # the endstop module is enabled by default and can be disabled here
  231. corexy_homing true # set to true if homing on a hbot or corexy
  232. alpha_min_endstop 1.24^! # add a ! to invert if endstop is NO connected to ground
  233. alpha_max_endstop nc # NOTE set to nc if this is not installed
  234. alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
  235. alpha_min 0 # this gets loaded after homing when home_to_min is set
  236. alpha_max 300 # this gets loaded after homing when home_to_max is set
  237. beta_min_endstop nc #
  238. beta_max_endstop 1.27^! #
  239. beta_homing_direction home_to_max #
  240. beta_min 0 #
  241. beta_max 300 #
  242. gamma_min_endstop 1.28^ #
  243. gamma_max_endstop nc #
  244. gamma_homing_direction home_to_min #
  245. gamma_min 0 #
  246. gamma_max 300 #
  247.  
  248. alpha_max_travel 310 # max travel in mm for alpha/X axis when homing
  249. beta_max_travel 310 # max travel in mm for beta/Y axis when homing
  250. gamma_max_travel 325 # max travel in mm for gamma/Z axis when homing
  251.  
  252. # optional order in which axis will home, default is they all home at the same time,
  253. # if this is set it will force each axis to home one at a time in the specified order
  254. #homing_order XYZ # x axis followed by y then z last
  255. #move_to_origin_after_home false # move XY to 0,0 after homing
  256.  
  257. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  258. #alpha_limit_enable true # set to true to enable X min and max limit switches
  259. #beta_limit_enable true # set to true to enable Y min and max limit switches
  260. #gamma_limit_enable true # set to true to enable Z min and max limit switches
  261.  
  262. alpha_fast_homing_rate_mm_s 60 # feedrates in mm/second
  263. beta_fast_homing_rate_mm_s 60 # "
  264. gamma_fast_homing_rate_mm_s 10 # "
  265. alpha_slow_homing_rate_mm_s 20 # "
  266. beta_slow_homing_rate_mm_s 20 # "
  267. gamma_slow_homing_rate_mm_s 2 # "
  268.  
  269. alpha_homing_retract_mm 5 # distance in mm
  270. beta_homing_retract_mm 5 # "
  271. gamma_homing_retract_mm 1 # "
  272.  
  273. endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
  274.  
  275. ## Z-probe
  276. zprobe.enable true # set to true to enable a zprobe
  277. zprobe.probe_pin 1.28^ # pin probe is attached to if NC remove the !
  278. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  279. #zprobe.debounce_count 100 # set if noisy
  280. zprobe.fast_feedrate 100 # move feedrate mm/sec
  281. zprobe.probe_height 5 # how much above bed to start probe
  282. #gamma_min_endstop nc # normally 1.28. Change to nc to prevent conflict,
  283.  
  284. # associated with zprobe the leveling strategy to use
  285. 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
  286. leveling-strategy.three-point-leveling.point1 40.0,20.0 # the first probe point (x,y) optional may be defined with M557
  287. leveling-strategy.three-point-leveling.point2 150.0,150.0 # the second probe point (x,y)
  288. leveling-strategy.three-point-leveling.point3 260.0,260.0 # the third probe point (x,y)
  289. leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
  290. leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
  291. leveling-strategy.three-point-leveling.probe_offsets 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
  292. leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false
  293.  
  294. ## Panel
  295. panel.enable false # set to true to enable the panel code
  296.  
  297. #VIKI
  298. panel.enable false # set to true to enable the panel code
  299. panel.lcd viki2 # set type of panel
  300. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  301. panel.spi_cs_pin 0.16 # set spi chip select
  302. panel.encoder_a_pin 3.25!^ # encoder pin
  303. panel.encoder_b_pin 3.26!^ # encoder pin
  304. panel.click_button_pin 1.30!^ # click button
  305. panel.a0_pin 2.11 # st7565 needs an a0
  306. #panel.contrast 8 # some panels need contrast set, this is for viki2
  307. #panel.encoder_resolution 4 # number of clicks to move 1 item
  308. panel.buzz_pin 1.31 # pin for buzzer
  309. #panel.red_led_pin # pin for red led on viki2 (5 driver can't use this)
  310. #panel.blue_led_pin # pin for blue led on viki2 (5 driver can't use this)
  311. #panel.back_button_pin 1.30!^ # optionally using the red buttin as a back button
  312. # setup for external sd card on the viki2
  313. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  314. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  315. panel.external_sd.spi_cs_pin 2.8 # set spi chip select for the sdcard (NOTE 5 drvier can't use this)
  316. panel.external_sd.sdcd_pin 2.13!^ # sd detect signal (set to nc if no sdcard detect) =
  317.  
  318. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  319. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  320. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  321.  
  322. panel.hotend_temperature 230 # temp to set hotend when preheat is selected
  323. panel.bed_temperature 110 # temp to set bed when preheat is selected
  324.  
  325. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  326. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  327. #custom_menu.power_on.enable false #
  328. #custom_menu.power_on.name Power_on #
  329. #custom_menu.power_on.command M80 #
  330.  
  331. #custom_menu.power_off.enable true #
  332. #custom_menu.power_off.name Power_off #
  333. #custom_menu.power_off.command M81 #
  334.  
  335.  
  336. ## Network settings
  337. network.enable false # enable the ethernet network services
  338. network.webserver.enable true # enable the webserver
  339. network.telnet.enable true # enable the telnet server
  340. network.ip_address auto # use dhcp to get ip address
  341. # uncomment the 3 below to manually setup ip address
  342. #network.ip_address 192.168.3.222 # the IP address
  343. #network.ip_mask 255.255.255.0 # the ip mask
  344. #network.ip_gateway 192.168.3.1 # the gateway address
  345. #network.mac_override xx.xx.xx.xx.xx.xx # override the mac address, only do this if you have a conflict
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement