Advertisement
robathome

Config_v01

May 27th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.96 KB | None | 0 0
  1. # NOTE Lines must not exceed 132 characters!
  2.  
  3. # ---------------------
  4. # Smoothieboard Config v0.1
  5. # Authored by: Rob Smith
  6. # Created on: 27/05/2016
  7. # Notes: Hybrid version of original config files from Azteeg and Smoothieboard
  8. # ---------------------
  9.  
  10.  
  11. # Robot module configurations : general handling of movement G-codes and slicing into moves
  12. # --------------
  13. arm_solution linear_delta # Select delta configuration
  14. arm_length 288.00 # Length of an arm from hinge to hinge
  15. arm_radius 171.56 # Horizontal distance from hinge to hinge when centered effector
  16. default_feed_rate 6000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  17. default_seek_rate 6000 # Default rate ( mm/minute ) for G0 moves
  18. mm_per_arc_segment 0.1 # Arcs are cut into segments ( lines ), this is the length for
  19. # these segments. Smaller values mean more resolution,
  20. # higher values mean faster computation
  21. #mm_per_line_segment 5 # Lines can be cut into segments
  22. delta_segments_per_second 100 # Segments per second for deltas
  23.  
  24.  
  25. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  26. # ----------------
  27. alpha_steps_per_mm 200 # Steps per mm for alpha stepper
  28. beta_steps_per_mm 200 # Steps per mm for beta stepper
  29. gamma_steps_per_mm 200 # Steps per mm for gamma stepper
  30.  
  31.  
  32. # Planner module configuration : Look-ahead and acceleration configuration
  33. # -----------------
  34. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
  35. acceleration 1000 # Acceleration in mm/second/second.
  36. acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
  37. junction_deviation 0.1 # Similar to the old "max_jerk", in millimeters,
  38. # see https://github.com/grbl/grbl/blob/master/planner.c
  39. # and https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8
  40. # Lower values mean being more careful, higher values means being
  41. # faster and have more jerk
  42. #minimum_planner_speed 0.0 # sets the minimum planner speed in mm/sec
  43.  
  44.  
  45. # Stepper module configuration
  46. # --------------
  47. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  48. base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
  49.  
  50.  
  51. # Axis speed limits
  52. # --------------
  53. x_axis_max_speed 15000 # mm/min
  54. y_axis_max_speed 15000 # mm/min
  55. z_axis_max_speed 15000 # mm/min
  56.  
  57.  
  58. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  59. # --------------
  60. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  61. alpha_dir_pin 0.5 # Pin for alpha stepper direction
  62. alpha_en_pin 0.4 # Pin for alpha enable pin
  63. alpha_current 0.8 # X stepper motor current
  64. alpha_max_rate 15000.0 # mm/min
  65.  
  66. beta_step_pin 2.1 # Pin for beta stepper step signal
  67. beta_dir_pin 0.11 # Pin for beta stepper direction
  68. beta_en_pin 0.10 # Pin for beta enable
  69. beta_current 0.8 # Y stepper motor current
  70. beta_max_rate 15000.0 # mm/min
  71.  
  72. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  73. gamma_dir_pin 0.20 # Pin for gamma stepper direction
  74. gamma_en_pin 0.19 # Pin for gamma enable
  75. gamma_current 0.8 # Z stepper motor current
  76. gamma_max_rate 15000.0 # mm/min
  77.  
  78.  
  79. # Serial communications configuration ( baud rate default to 9600 if undefined )
  80. # --------------
  81. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  82. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface
  83. # and a terminal connected)
  84. #leds_disable true # disable using leds after config loaded
  85. #play_led_disable true # disable the play led
  86. pause_button_enable true # Pause button enable
  87. #pause_button_pin 2.12 # pause button pin. default is P2.12
  88. #kill_button_enable false # set to true to enable a kill button
  89. #kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  90. msd_disable true # disable the MSD (USB SDCARD) when set to true (needs special binary)
  91. #dfu_enable false # for linux developers, set to true to enable DFU
  92.  
  93.  
  94. # Extruder module configuration
  95. # --------------
  96. extruder.hotend.enable false # Activate extruder hotend and configuration
  97. extruder.hotend.steps_per_mm 820 # Steps per mm for extruder stepper
  98. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  99. extruder.hotend.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  100. extruder.hotend.max_speed 25 # mm/s
  101. extruder.hotend.step_pin 2.3 # Pin for extruder step signal
  102. extruder.hotend.dir_pin 0.22 # Pin for extruder dir signal
  103. extruder.hotend.en_pin 0.21 # Pin for extruder enable signal
  104. delta_current 0.5 # First extruder stepper motor current
  105. #extruder.hotend.x_offset 0 # x offset from origin in mm
  106. #extruder.hotend.y_offset 0 # y offset from origin in mm
  107. #extruder.hotend.z_offset 0 # z offset from origin in mm
  108. # 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
  109. #extruder.hotend.retract_length 3 # retract length in mm
  110. #extruder.hotend.retract_feedrate 45 # retract feedrate in mm/sec
  111. #extruder.hotend.retract_recover_length 0 # additional length for recover
  112. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  113. #extruder.hotend.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  114. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  115.  
  116.  
  117. # Second extruder module configuration
  118. # --------------
  119. #extruder.hotend2.enable true # Activate second extruder and load configuration
  120. #extruder.hotend2.steps_per_mm 140 # Steps per mm for extruder stepper
  121. #extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  122. #extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  123. #extruder.hotend2.max_speed 50 # mm/s
  124. #extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  125. #extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal
  126. #extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
  127. #epsilon_current 1.5 # Second extruder stepper motor current
  128. #extruder.hotend2.x_offset 0 # x offset from origin in mm
  129. #extruder.hotend2.y_offset 25.0 # y offset from origin in mm
  130. #extruder.hotend2.z_offset 0 # z offset from origin in mm
  131. #extruder.hotend2.retract_length 3 # retract length in mm
  132. #extruder.hotend2.retract_feedrate 45 # retract feedrate in mm/sec
  133. #extruder.hotend2.retract_recover_length 0 # additional length for recover
  134. #extruder.hotend2.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  135. #extruder.hotend2.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  136. #extruder.hotend2.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  137.  
  138.  
  139. # Laser module configuration
  140. # --------------
  141. laser_module_enable false # Activate laser module and load configuration
  142. #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
  143. # can be used since laser requires hardware PWM
  144. #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
  145. #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser
  146. # active without actually burning
  147. #laser_module_pwm_period 20 # this sets the pwm frequency as the period in microseconds
  148.  
  149.  
  150. # Hotend temperature control configuration
  151. # --------------
  152. temperature_control.hotend.enable false # Whether to activate this ( "hotend" ) module at all.
  153. temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
  154. temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater, set to nc if a readonly thermistor
  155. temperature_control.hotend.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  156. #temperature_control.hotend.beta 4066 # or set the beta value
  157. temperature_control.hotend.set_m_code 104 #
  158. temperature_control.hotend.set_and_wait_m_code 109 #
  159. temperature_control.hotend.designator T #
  160. temperature_control.hotend.max_pwm 255 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  161. temperature_control.hotend.p_factor 77.5 # permanently set the PID values after an auto pid
  162. temperature_control.hotend.i_factor 8.828 #
  163. temperature_control.hotend.d_factor 170 #
  164.  
  165.  
  166. # Hotend2 temperature control configuration
  167. # --------------
  168. #temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all.
  169. #temperature_control.hotend2.thermistor_pin 0.25 # Pin for the thermistor to read
  170. #temperature_control.hotend2.heater_pin 1.23 # Pin that controls the heater
  171. #temperature_control.hotend2.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  172. ##temperature_control.hotend2.beta 4066 # or set the beta value
  173. #temperature_control.hotend2.set_m_code 884 #
  174. #temperature_control.hotend2.set_and_wait_m_code 889 #
  175. #temperature_control.hotend2.designator T1 #
  176. #temperature_control.hotend2.p_factor 13.7 # permanently set the PID values after an auto pid
  177. #temperature_control.hotend2.i_factor 0.097 #
  178. #temperature_control.hotend2.d_factor 24 #
  179. #temperature_control.hotend2.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  180.  
  181.  
  182. # Print bed temperature control configuration
  183. # --------------
  184. temperature_control.bed.enable false #
  185. temperature_control.bed.thermistor_pin 0.24 #
  186. temperature_control.bed.heater_pin 2.5 #
  187. temperature_control.bed.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  188. #temperature_control.bed.beta 3974 # or set the beta value
  189. temperature_control.bed.set_m_code 140 #
  190. temperature_control.bed.set_and_wait_m_code 190 #
  191. temperature_control.bed.designator B #
  192. temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  193. #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis
  194. # when using bang bang
  195.  
  196. # Switch module for fan control
  197. # --------------
  198. switch.fan.enable true #
  199. switch.fan.input_on_command M106 #
  200. switch.fan.input_off_command M107 #
  201. switch.fan.output_pin 2.6 #
  202. switch.fan.output_type pwm # pwm output settable with S parameter in the input_on_comand
  203. switch.fan.max_pwm 255 # set max pwm for the pin default is 255
  204.  
  205.  
  206. # Miscelleaneous switch
  207. # --------------
  208. #switch.misc.enable true #
  209. #switch.misc.input_on_command M42 #
  210. #switch.misc.input_off_command M43 #
  211. #switch.misc.output_pin 2.4 #
  212. #switch.misc.output_type digital # just an on or off pin
  213.  
  214.  
  215. # Temperature-activated switch
  216. # --------------
  217. #temperatureswitch.hotend.enable true #
  218. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  219. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  220. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  221. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  222. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  223.  
  224.  
  225. # Spindle motor on/off switch
  226. # --------------
  227. #switch.spindle.enable false #
  228.  
  229.  
  230. # Endstops
  231. # --------------
  232. endstops_enable true #
  233. delta_homing true # Forces X, Y, and Z to home simultaneously, ignores G28 settings
  234. #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
  235.  
  236. alpha_min_endstop nc # add a ! to invert if endstop is NO connected to ground
  237. alpha_max_endstop 1.25^ # NOTE set to nc if this is not installed
  238. alpha_homing_direction home_to_max # or set to home_to_max and set alpha_max
  239. alpha_min 0 # this gets loaded after homing when home_to_min is set
  240. alpha_max 0 # this gets loaded after homing when home_to_max is set
  241.  
  242. beta_min_endstop nc #
  243. beta_max_endstop 1.27^ #
  244. beta_homing_direction home_to_max #
  245. beta_min 0 #
  246. beta_max 0 #
  247.  
  248. gamma_min_endstop nc #
  249. gamma_max_endstop 1.29^ #
  250. gamma_homing_direction home_to_max #
  251. gamma_min 0 #
  252. gamma_max 0 #
  253.  
  254. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  255. alpha_limit_enable true # set to true to enable X min and max limit switches
  256. beta_limit_enable true # set to true to enable Y min and max limit switches
  257. gamma_limit_enable true # set to true to enable Z min and max limit switches
  258.  
  259. alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second
  260. alpha_slow_homing_rate_mm_s 5 # "
  261. alpha_homing_retract_mm 5 # distance in mm
  262.  
  263. beta_fast_homing_rate_mm_s 50 # "
  264. beta_slow_homing_rate_mm_s 5 # "
  265. beta_homing_retract_mm 5 # "
  266.  
  267. gamma_fast_homing_rate_mm_s 50 # "
  268. gamma_slow_homing_rate_mm_s 5 # "
  269. gamma_homing_retract_mm 1 # "
  270. #gamma_min_endstop nc # normally 1.28. Change to nc to prevent conflict,
  271.  
  272. zprobe.enable true # set to true to enable a zprobe
  273. zprobe.probe_pin 1.28!^ # pin probe is attached to if NC remove the !
  274. zprobe.fast_feedrate 50 # move feedrate mm/sec
  275. zprobe.slow_feedrate 5 # mm/sec probe feed rate
  276. zprobe.probe_height 5 # how much above bed to start probe
  277. #zprobe.debounce_count 100 # set if noisy
  278.  
  279.  
  280. # Leveling strategy
  281. # --------------
  282. leveling-strategy.delta-calibration.enable true # Basic delta calibration
  283. leveling-strategy.delta-calibration.radius 80 # Probe radius
  284. leveling-strategy.delta-calibration.initial_height 30 # Initial height above the bed after vertical home is found
  285.  
  286.  
  287. # Panel setup
  288. # --------------
  289. panel.enable false # set to true to enable the panel code
  290. panel.lcd viki2
  291. panel.spi_channel 0 # spi channel to use
  292. panel.spi_cs_pin 0.16 # spi chip select
  293. panel.encoder_a_pin 3.25!^ # encoder pin
  294. panel.encoder_b_pin 3.26!^ # encoder pin
  295. panel.click_button_pin 1.30!^ # click button
  296. panel.buzz_pin 1.31 # pin for buzzer
  297. panel.menu_offset 1 # some panels will need 1 here
  298. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  299. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  300. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  301. panel.hotend_temperature 190 # temp to set hotend when preheat is selected
  302. panel.bed_temperature 74 # temp to set bed when preheat is selected
  303.  
  304.  
  305. # Custom menu setup
  306. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  307. # --------------
  308. custom_menu.fan_on.enable true #
  309. custom_menu.fan_on.name fan_on #
  310. custom_menu.fan_on.command M106 #
  311. custom_menu.fan_off.enable true #
  312. custom_menu.fan_off.name fan_off #
  313. custom_menu.fan_off.command M107 #
  314. custom_menu.power_on.enable true #
  315. custom_menu.power_on.name Power_on #
  316. custom_menu.power_on.command M80 #
  317. custom_menu.power_off.enable true #
  318. custom_menu.power_off.name Power_off #
  319. custom_menu.power_off.command M81 #
  320. custom_menu.home_up.enable true #
  321. custom_menu.home_up.name Home_up #
  322. custom_menu.home_up.command G28 #
  323. custom_menu.home_down.enable enable #
  324. custom_menu.home_down.name Home_down #
  325. custom_menu.home_down.command G30 #
  326. custom_menu.auto_level.enable true #
  327. custom_menu.auto_level.name Auto_level #
  328. custom_menu.auto_level.command G32 #
  329.  
  330.  
  331. # Smoothieboard settings
  332. # DO NOT CHANGE
  333. # --------------
  334. currentcontrol_module_enable true #
  335. return_error_on_unhandled_gcode false #
  336.  
  337.  
  338. # Network settings
  339. # --------------
  340. network.enable false # enable the ethernet network services
  341. network.webserver.enable true # enable the webserver
  342. network.telnet.enable true # enable the telnet server
  343. network.ip_address auto # use dhcp to get ip address
  344. # uncomment the 3 below to manually setup ip address
  345. #network.ip_address 192.168.3.222 # the IP address
  346. #network.ip_mask 255.255.255.0 # the ip mask
  347. #network.ip_gateway 192.168.3.1 # the gateway address
  348. #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