Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.35 KB | None | 0 0
  1. # Robot module configurations : general handling of movement G-codes and slicing into moves
  2. # By 626Pilot of the SeeMeCNC forums, based on mhackney's default file & reorganized for quicker editing
  3. # Thanks to Polygonhell and Flateric for the help!
  4.  
  5.  
  6. # The gamma tower height is used for all towers on delta robots
  7. # Rest of the tower config is below, under Endstops
  8. # ---------------------------------------------------------------------
  9. gamma_max 355
  10.  
  11.  
  12. # Delta Geometry
  13. # ---------------------------------------------------------------------
  14. # arm_radius is DELTA_RADIUS in Repetier
  15. # DELTA_RADIUS = PRINTER_RADIUS - END_EFFECTOR_HORIZONTAL_OFFSET - CARRIAGE_HORIZONTAL_OFFSET
  16. # = 199.0 - 33 - 37.5
  17. # = 128.5
  18. # ---------------------------------------------------------------------
  19. arm_solution linear_delta # default linear_delta, you can also try kossel
  20. arm_radius 128.5 # this is the horiontal distance from hinge to hinge when the effector is centered
  21. arm_length 269.00 # length of the delta arms (hopefully they're all the same!)
  22.  
  23.  
  24. # If you have a Z probe, you can select a calibration strategy here
  25. # To calculate probe_offset_x/y/z:
  26. # - Heat up the hot end with filament loaded - and the print surface, if you have bed heat (this is important!)
  27. # - Jog the hot end down to the print surface, leaving a little dot of plastic
  28. # - Deploy the probe, jog it until the probe tip touches the dot
  29. # - Jog the probe up a little, remove the dot, jog it down until it triggers, and record the exact values in offset_x/y/z
  30. # PLEASE NOTE: probe_offset_x and probe_offset_y MUST be 0 if you want to use depth (Z) correction!
  31. # ---------------------------------------------------------------------
  32. leveling-strategy.comprehensive-delta.enable true
  33. comprehensive-delta.probe_smoothing 1 # if your probe has repeatability issues, this will probe multiple times & take the average (default 1)
  34. comprehensive-delta.probe_priming 1 # if your probe keeps "creeping down", this will run it the specified number of times to get it to settle
  35. comprehensive-delta.probe_acceleration 100 # acceleration will be temporarily set to this during probing; original is restored later; 100 is a good value
  36. comprehensive-delta.probe_offset_x 0 # distance between the probe and the nozzle
  37. comprehensive-delta.probe_offset_y 0 #
  38. comprehensive-delta.probe_offset_z -19.25 #
  39.  
  40.  
  41. # Optional Z probe, see http://smoothieware.org/zprobe
  42. # ---------------------------------------------------------------------
  43. probe endstop
  44. probe_pin 1.28 # optional pin for probe
  45. zprobe.enable true # set to true to enable a zprobe
  46. zprobe.probe_pin 1.28!^ # pin probe is attached to if NC remove the !, default 1.29!^
  47. zprobe.slow_feedrate 35 # mm/sec probe feed rate
  48. zprobe.fast_feedrate 70 # move feedrate
  49. zprobe.debounce_count 100 # set if noisy
  50. zprobe.probe_radius 110 # how far out from bed center to probe
  51. zprobe.probe_height 10 # how high the probe has to be moved above trigger elevation so that it won't drag
  52. zprobe.decelerate_on_trigger true # beneficial, unless your probe has no runout after it hits the trigger - in which case, set this to false
  53. zprobe.decelerate_runout 10 # how many millimeters your probe can move past the trigger point; we'll abort any decel > this long
  54.  
  55.  
  56. # Speeds
  57. # ---------------------------------------------------------------------
  58. default_feed_rate 8000 # Default rate ( mm/minute ) for G1/G2/G3 moves
  59. default_seek_rate 8000 # Default rate ( mm/minute ) for G0 moves
  60. mm_per_arc_segment 0.25 # Arcs are cut into segments ( lines ), this is the length for these segments
  61. # Smaller values mean more resolution, higher values mean faster computation
  62. mm_per_line_segment 5 # Lines can be cut into segments (not useful with cartesian robots).
  63. delta_segments_per_second 200 # segments per second used for deltas
  64.  
  65.  
  66. # Arm solution configuration : Delta robot. Translates mm positions into stepper positions
  67. # This is for an old Rostock MAX with 15-teeth pullies. Use a belt/pulley calculator to find the values for your machine
  68. # ---------------------------------------------------------------------
  69. alpha_steps_per_mm 106.6666 # Steps per mm for alpha stepper, was 213.333333 under 1/32 microstepping. Smoothieboard only has 16x :~(
  70. beta_steps_per_mm 106.6666 # Steps per mm for beta stepper
  71. gamma_steps_per_mm 106.6666 # Steps per mm for gamma stepper
  72.  
  73.  
  74. # Planner module configuration : Look-ahead and acceleration configuration
  75. # ---------------------------------------------------------------------
  76. acceleration 1000 # Acceleration in mm/second/second.
  77. acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
  78. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOUR ARE DOING
  79. junction_deviation 0.01 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  80.  
  81.  
  82. # Endstops
  83. # ---------------------------------------------------------------------
  84. endstops_enable true # the endstop module is enabled by default and can be disabled here
  85. delta_homing true # forces all three axis to home a the same time regardless of what is specified in G28
  86.  
  87. alpha_min_endstop nc
  88. alpha_max_endstop 1.25^ #
  89. alpha_homing_direction home_to_max # or set to home_to_max and set alpha_max
  90. alpha_min 0 # this gets loaded after homing when home_to_min is set
  91. alpha_max 0 # this gets loaded after homing when home_to_max is set
  92.  
  93. beta_min_endstop nc
  94. beta_max_endstop 1.27^ #
  95. beta_homing_direction home_to_max #
  96. beta_min 0 #
  97. beta_max 0 #
  98.  
  99. gamma_min_endstop nc
  100. gamma_max_endstop 1.29^ #
  101. gamma_homing_direction home_to_max #
  102. gamma_min 0 #
  103. # gamma_max moved to top of file, since it's one of the most frequenly adjusted settings
  104.  
  105.  
  106. # Homing
  107. # ---------------------------------------------------------------------
  108. alpha_fast_homing_rate_mm_s 120 # feedrates in mm/second
  109. beta_fast_homing_rate_mm_s 120 # "
  110. gamma_fast_homing_rate_mm_s 120 # "
  111. alpha_slow_homing_rate_mm_s 10 # "
  112. beta_slow_homing_rate_mm_s 10 # "
  113. gamma_slow_homing_rate_mm_s 10 # "
  114. alpha_homing_retract_mm 5 # distance in mm
  115. beta_homing_retract_mm 5 # "
  116. gamma_homing_retract_mm 5 # "
  117.  
  118. # These can be used instead of adjusting the endstop screws
  119. alpha_trim 0 # software trim for alpha stepper endstop (in mm) - moves down
  120. beta_trim 0 # software trim for beta stepper endstop
  121. gamma_trim 0 # software trim for gamma stepper endstop
  122.  
  123.  
  124. # Stepper module configuration
  125. # ---------------------------------------------------------------------
  126. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  127. minimum_steps_per_minute 1200 # Never step slower than this
  128. base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
  129.  
  130.  
  131. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  132. # ---------------------------------------------------------------------
  133. currentcontrol_module_enable true # Only needed on Smoothieboard
  134.  
  135. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  136. alpha_dir_pin 0.5! # Pin for alpha stepper direction
  137. alpha_en_pin 0.4 # Pin for alpha enable pin
  138. alpha_current 1.6 # X stepper motor current
  139. alpha_max_rate 30000.0 # mm/min
  140. x_axis_max_speed 30000.0 # mm/min cartesian max speed
  141.  
  142. beta_step_pin 2.1 # Pin for beta stepper step signal
  143. beta_dir_pin 0.11! # Pin for beta stepper direction
  144. beta_en_pin 0.10 # Pin for beta enable
  145. beta_current 1.6 # Y stepper motor current
  146. beta_max_rate 30000.0 # mm/min
  147. y_axis_max_speed 30000.0 # mm/min
  148.  
  149. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  150. gamma_dir_pin 0.20! # Pin for gamma stepper direction
  151. gamma_en_pin 0.19 # Pin for gamma enable
  152. gamma_current 1.6 # Z stepper motor current
  153. gamma_max_rate 30000.0 # mm/min
  154. z_axis_max_speed 30000.0 # mm/min
  155.  
  156.  
  157. # Extruder module configuration
  158. # ---------------------------------------------------------------------
  159. #extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  160. #extruder_steps_per_mm 96.43 # Steps per mm for extruder stepper - you should do a filament calibration to get this REALLY correct
  161. #extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  162. #extruder_acceleration 500 # Acceleration in mm/sec^2 only used for retracts
  163. #extruder_max_speed 50 # mm/sec NOTE only used for retracts
  164.  
  165. #extruder_step_pin 2.3 # Pin for extruder step signal
  166. #extruder_dir_pin 0.22 # Pin for extruder dir signal
  167. #extruder_en_pin 0.21 # Pin for extruder enable signal
  168. #delta_current 1.7 # Extruder stepper motor current (Kysan NEMA17s are rated 1.2A)
  169.  
  170.  
  171. extruder.hotend1.enable true
  172. extruder.hotend1.steps_per_mm 96.43
  173. extruder.hotend1.default_feed_rate 600
  174. extruder.hotend1.acceleration 500
  175. extruder.hotend1.max_speed 50
  176. extruder.hotend1.step_pin 2.3
  177. extruder.hotend1.dir_pin 0.22
  178. extruder.hotend1.en_pin 0.21
  179. delta_current 1.2
  180.  
  181.  
  182. extruder.hotend2.enable true
  183. extruder.hotend2.steps_per_mm 96.43
  184. extruder.hotend2.default_feed_rate 600
  185. extruder.hotend2.acceleration 500
  186. extruder.hotend2.max_speed 50
  187. extruder.hotend2.step_pin 2.8
  188. extruder.hotend2.dir_pin 2.13
  189. extruder.hotend2.en_pin 4.29
  190. epsilon_current 1.2
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. # Hotend temperature control configuration
  200. # temperature_control.hotend.thermistor can be one of the following:
  201. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  202. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  203. # ---------------------------------------------------------------------
  204. temperature_control.hotend1.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  205. temperature_control.hotend1.link_to_tool true # Link enabling/disabling of this hot end to the extruder ofthe same name
  206. temperature_control.hotend1.thermistor_pin 0.23 # Pin for the thermistor to read
  207. temperature_control.hotend1.heater_pin 2.7 # Pin that controls the heater
  208. temperature_control.hotend1.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  209. temperature_control.hotend1.beta 4066 # or set the beta value
  210. temperature_control.hotend1.set_m_code 104 #
  211. temperature_control.hotend1.set_and_wait_m_code 109 #
  212. temperature_control.hotend1.designator T0 #
  213. temperature_control.hotend1.p_factor 30
  214. temperature_control.hotend1.i_factor 1
  215. temperature_control.hotend1.d_factor 15
  216. temperature_control.hotend1.max_pwm 255
  217.  
  218. temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  219. temperature_control.hotend2.link_to_tool true # Link enabling/disabling of this hot end to the extruder ofthe same name
  220. temperature_control.hotend2.thermistor_pin 0.25 # Pin for the thermistor to read
  221. temperature_control.hotend2.heater_pin 1.23 # Pin that controls the heater
  222. temperature_control.hotend2.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  223. temperature_control.hotend2.beta 4066 # or set the beta value
  224. temperature_control.hotend2.set_m_code 104 #
  225. temperature_control.hotend2.set_and_wait_m_code 109 #
  226. temperature_control.hotend2.designator T1 #
  227. temperature_control.hotend2.p_factor 30
  228. temperature_control.hotend2.i_factor 1
  229. temperature_control.hotend2.d_factor 15
  230. temperature_control.hotend2.max_pwm 255
  231.  
  232.  
  233.  
  234.  
  235. # Heated bed PID configuration
  236. # temperature_control.bed.thermistor can be one of the following:
  237. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  238. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  239. # ---------------------------------------------------------------------
  240. temperature_control.bed.enable true #
  241. temperature_control.bed.thermistor_pin 0.24 #
  242. temperature_control.bed.heater_pin 2.5 #
  243. temperature_control.bed.beta 3974 #
  244. temperature_control.bed.thermistor Honeywell100K #
  245. temperature_control.bed.set_m_code 140 #
  246. temperature_control.bed.set_and_wait_m_code 190 #
  247. temperature_control.bed.designator B #
  248.  
  249. # uncomment followng to use bang bang isntead of PID for the bed (best for relay conrolled hotbeds)
  250. #temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  251. #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis when using bang bang
  252.  
  253.  
  254. # Switch module for fan control
  255. # ---------------------------------------------------------------------
  256. switch.fan.enable true #
  257. switch.fan.input_on_command M106 #
  258. switch.fan.input_off_command M107 #
  259. switch.fan.output_pin 2.6 #
  260. switch.fan.output_type pwm #
  261.  
  262. # Automatically toggle a switch at a specified temperature
  263. # (ueful to turn on a fan or water pump to cool the hotend)
  264. # ---------------------------------------------------------------------
  265. temperatureswitch.hotend.enable false #
  266. temperatureswitch.hotend.type fan # select which MOSFET to use, fan or misc (small MOSFETs)
  267. temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  268. temperatureswitch.hotend.heatup_poll 5 # poll heatup at 15 sec intervals
  269. temperatureswitch.hotend.cooldown_poll 5 # poll cooldown at 60 sec intervals
  270.  
  271.  
  272. # For allowing the board to shut off your ATX power supply
  273. # ---------------------------------------------------------------------
  274. # switch.psu.enable true # turn atx on/off
  275. # switch.psu.input_on_command M80 #
  276. # switch.psu.input_off_command M81 #
  277. # switch.psu.output_pin 2.13o! # open drain, inverted
  278.  
  279.  
  280. # LCD Panel http://smoothieware.org/panel
  281. # ---------------------------------------------------------------------
  282. panel.enable false # set to true to enable the panel code
  283. panel.lcd viki_lcd # set type of panel also viki_lcd, i2c_lcd is a generic i2c panel, panelolu2
  284. panel.encoder_a_pin 3.25!^ # encoder pin
  285. panel.encoder_b_pin 3.26!^ # encoder pin
  286. panel.i2c_pins 3 # set i2c channel to use
  287. panel.a0_pin 2.6 # st7565 needs an a0
  288.  
  289. panel.menu_offset 1 # some panels will need 1 here
  290.  
  291. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  292. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  293. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  294.  
  295. panel.hotend_temperature 220 # temp to set hotend when preheat is selected
  296. panel.bed_temperature 60 # temp to set bed when preheat is selected
  297.  
  298. panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
  299. panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
  300. panel.buzz_pin 0.25 # pin for buzzer on EXP2
  301. panel.click_button_pin 2.11!^ # click button
  302.  
  303. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  304. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  305. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  306. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  307.  
  308. #panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  309. #panel.spi_cs_pin 0.16 # set spi chip select
  310.  
  311. #panel.contrast 8 # override contrast setting (default is 9)
  312. #panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  313. #panel.button_pause_pin 1.22^ # kill/pause set one of these for the auxilliary button on viki2
  314. #panel.back_button_pin 1.22!^ # back button recommended to use this on EXP1
  315.  
  316.  
  317. # Misc
  318. # ---------------------------------------------------------------------
  319. pause_button_enable true #
  320. return_error_on_unhandled_gcode false #
  321.  
  322.  
  323. # Serial communications configuration ( baud rate default to 9600 if undefined )
  324. # ---------------------------------------------------------------------
  325. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  326. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  327.  
  328.  
  329. # Laser module configuration
  330. # ---------------------------------------------------------------------
  331. laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
  332. #laser_module_pin 2.7 # this pin will be PWMed to control the laser
  333. #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
  334. #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
  335.  
  336.  
  337. # Switch module for spindle control
  338. # ---------------------------------------------------------------------
  339. #switch.spindle.enable false #
  340.  
  341.  
  342. # Miscellaneous
  343. # ---------------------------------------------------------------------
  344. dfu_enable true # for linux developers, set to true to enable DFU
  345. msd_disable false # speeds up booting, but you can't mount the SD card over USB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement