Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2015
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.40 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. # NOTE: This is for an E3D Cyclops (1 heater, 2 in, 1 out).
  159. # ---------------------------------------------------------------------
  160. #extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  161. #extruder_steps_per_mm 96.43 # Steps per mm for extruder stepper - you should do a filament calibration to get this REALLY correct
  162. #extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  163. #extruder_acceleration 500 # Acceleration in mm/sec^2 only used for retracts
  164. #extruder_max_speed 50 # mm/sec NOTE only used for retracts
  165.  
  166. #extruder_step_pin 2.3 # Pin for extruder step signal
  167. #extruder_dir_pin 0.22 # Pin for extruder dir signal
  168. #extruder_en_pin 0.21 # Pin for extruder enable signal
  169. #delta_current 1.7 # Extruder stepper motor current (Kysan NEMA17s are rated 1.2A)
  170.  
  171.  
  172. extruder.hotend1.enable true
  173. extruder.hotend1.steps_per_mm 96.43
  174. extruder.hotend1.default_feed_rate 600
  175. extruder.hotend1.acceleration 500
  176. extruder.hotend1.max_speed 50
  177. extruder.hotend1.step_pin 2.3
  178. extruder.hotend1.dir_pin 0.22
  179. extruder.hotend1.en_pin 0.21
  180. delta_current 1.7
  181.  
  182.  
  183. extruder.hotend2.enable true
  184. extruder.hotend2.steps_per_mm 96.43
  185. extruder.hotend2.default_feed_rate 600
  186. extruder.hotend2.acceleration 500
  187. extruder.hotend2.max_speed 50
  188. extruder.hotend2.step_pin 2.8
  189. extruder.hotend2.dir_pin 2.13
  190. extruder.hotend2.en_pin 4.29
  191. epsilon_current 1.0
  192.  
  193.  
  194. # Hotend temperature control configuration
  195. # temperature_control.hotend.thermistor can be one of the following:
  196. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  197. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  198. # ---------------------------------------------------------------------
  199. temperature_control.hotend1.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  200. temperature_control.hotend1.link_to_tool true # Link enabling/disabling of this hot end to the extruder ofthe same name
  201. temperature_control.hotend1.thermistor_pin 0.23 # Pin for the thermistor to read
  202. temperature_control.hotend1.heater_pin 2.7 # Pin that controls the heater
  203. temperature_control.hotend1.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  204. temperature_control.hotend1.beta 4066 # or set the beta value
  205. temperature_control.hotend1.set_m_code 104 #
  206. temperature_control.hotend1.set_and_wait_m_code 109 #
  207. temperature_control.hotend1.designator T0 #
  208. temperature_control.hotend1.p_factor 30
  209. temperature_control.hotend1.i_factor 1
  210. temperature_control.hotend1.d_factor 15
  211. temperature_control.hotend1.max_pwm 255
  212.  
  213. temperature_control.hotend2.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  214. temperature_control.hotend2.link_to_tool true # Link enabling/disabling of this hot end to the extruder ofthe same name
  215. temperature_control.hotend2.thermistor_pin 0.23 # Pin for the thermistor to read
  216. temperature_control.hotend2.heater_pin 2.7 # Pin that controls the heater
  217. temperature_control.hotend2.thermistor Semitec # see http://smoothieware.org/temperaturecontrol#toc5
  218. temperature_control.hotend2.beta 4066 # or set the beta value
  219. temperature_control.hotend2.set_m_code 104 #
  220. temperature_control.hotend2.set_and_wait_m_code 109 #
  221. temperature_control.hotend2.designator T1 #
  222. temperature_control.hotend2.p_factor 30
  223. temperature_control.hotend2.i_factor 1
  224. temperature_control.hotend2.d_factor 15
  225. temperature_control.hotend2.max_pwm 255
  226.  
  227.  
  228. # Heated bed PID configuration
  229. # temperature_control.bed.thermistor can be one of the following:
  230. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  231. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  232. # ---------------------------------------------------------------------
  233. temperature_control.bed.enable true #
  234. temperature_control.bed.thermistor_pin 0.24 #
  235. temperature_control.bed.heater_pin 2.5 #
  236. temperature_control.bed.beta 3974 #
  237. temperature_control.bed.thermistor Honeywell100K #
  238. temperature_control.bed.set_m_code 140 #
  239. temperature_control.bed.set_and_wait_m_code 190 #
  240. temperature_control.bed.designator B #
  241.  
  242. # uncomment followng to use bang bang isntead of PID for the bed (best for relay conrolled hotbeds)
  243. #temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  244. #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis when using bang bang
  245.  
  246.  
  247. # Switch module for fan control
  248. # ---------------------------------------------------------------------
  249. switch.fan.enable true #
  250. switch.fan.input_on_command M106 #
  251. switch.fan.input_off_command M107 #
  252. switch.fan.output_pin 2.6 #
  253. switch.fan.output_type pwm #
  254.  
  255. # Automatically toggle a switch at a specified temperature
  256. # (ueful to turn on a fan or water pump to cool the hotend)
  257. # ---------------------------------------------------------------------
  258. temperatureswitch.hotend.enable false #
  259. temperatureswitch.hotend.type fan # select which MOSFET to use, fan or misc (small MOSFETs)
  260. temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  261. temperatureswitch.hotend.heatup_poll 5 # poll heatup at 15 sec intervals
  262. temperatureswitch.hotend.cooldown_poll 5 # poll cooldown at 60 sec intervals
  263.  
  264.  
  265. # For allowing the board to shut off your ATX power supply
  266. # ---------------------------------------------------------------------
  267. # switch.psu.enable true # turn atx on/off
  268. # switch.psu.input_on_command M80 #
  269. # switch.psu.input_off_command M81 #
  270. # switch.psu.output_pin 2.13o! # open drain, inverted
  271.  
  272.  
  273. # LCD Panel http://smoothieware.org/panel
  274. # ---------------------------------------------------------------------
  275. panel.enable false # set to true to enable the panel code
  276. panel.lcd viki_lcd # set type of panel also viki_lcd, i2c_lcd is a generic i2c panel, panelolu2
  277. panel.encoder_a_pin 3.25!^ # encoder pin
  278. panel.encoder_b_pin 3.26!^ # encoder pin
  279. panel.i2c_pins 3 # set i2c channel to use
  280. panel.a0_pin 2.6 # st7565 needs an a0
  281.  
  282. panel.menu_offset 1 # some panels will need 1 here
  283.  
  284. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  285. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  286. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  287.  
  288. panel.hotend_temperature 220 # temp to set hotend when preheat is selected
  289. panel.bed_temperature 60 # temp to set bed when preheat is selected
  290.  
  291. panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
  292. panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
  293. panel.buzz_pin 0.25 # pin for buzzer on EXP2
  294. panel.click_button_pin 2.11!^ # click button
  295.  
  296. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  297. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  298. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  299. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  300.  
  301. #panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  302. #panel.spi_cs_pin 0.16 # set spi chip select
  303.  
  304. #panel.contrast 8 # override contrast setting (default is 9)
  305. #panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  306. #panel.button_pause_pin 1.22^ # kill/pause set one of these for the auxilliary button on viki2
  307. #panel.back_button_pin 1.22!^ # back button recommended to use this on EXP1
  308.  
  309.  
  310. # Misc
  311. # ---------------------------------------------------------------------
  312. pause_button_enable true #
  313. return_error_on_unhandled_gcode false #
  314.  
  315.  
  316. # Serial communications configuration ( baud rate default to 9600 if undefined )
  317. # ---------------------------------------------------------------------
  318. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  319. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  320.  
  321.  
  322. # Laser module configuration
  323. # ---------------------------------------------------------------------
  324. laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
  325. #laser_module_pin 2.7 # this pin will be PWMed to control the laser
  326. #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
  327. #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
  328.  
  329.  
  330. # Switch module for spindle control
  331. # ---------------------------------------------------------------------
  332. #switch.spindle.enable false #
  333.  
  334.  
  335. # Miscellaneous
  336. # ---------------------------------------------------------------------
  337. dfu_enable true # for linux developers, set to true to enable DFU
  338. 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