Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.62 KB | None | 0 0
  1. # Robot module configurations : general handling of movement G-codes and slicing into moves
  2.  
  3. # The gamma tower height is used for all towers on delta robots
  4. # Rest of the tower config is below, under Endstops
  5. # ---------------------------------------------------------------------
  6. gamma_max 378
  7.  
  8.  
  9. # Delta Geometry
  10. # ---------------------------------------------------------------------
  11.  
  12. arm_solution linear_delta # default linear_delta, you can also try kossel
  13. arm_length 350.45 # length of the delta arms from hinge to hinge
  14. arm_radius 160.38 # this is the horiontal distance from hinge to hinge when the effector is centered
  15.  
  16.  
  17. # LCD Panel http://smoothieware.org/panel
  18. # ---------------------------------------------------------------------
  19. panel.enable true # set to true to enable the panel code
  20. #panel.enable false # set to true to enable the panel code
  21.  
  22.  
  23. # Pause button
  24. # ---------------------------------------------------------------------
  25. pause_button_enable true #
  26.  
  27.  
  28. # Speeds
  29. # ---------------------------------------------------------------------
  30. default_feed_rate 4500 # Default rate ( mm/minute ) for G1/G2/G3 moves
  31. default_seek_rate 4500 # Default rate ( mm/minute ) for G0 moves
  32.  
  33. mm_per_arc_segment 0.05 # Fixed length for line segments that divide arcs 0 to disable
  34. mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
  35. # note it is invalid for both the above be 0
  36. # if both are used, will use largest segment length based on radius
  37. mm_per_line_segment 1 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
  38. delta_segments_per_second 200 # segments per second used for deltas
  39.  
  40.  
  41. # Arm solution configuration : Delta robot. Translates mm positions into stepper positions
  42. # ---------------------------------------------------------------------
  43. #64 steps/mm
  44. #alpha_steps_per_mm 640 # Steps per mm for alpha stepper
  45. #beta_steps_per_mm 640 # Steps per mm for beta stepper
  46. #gamma_steps_per_mm 640 # Steps per mm for gamma stepper
  47.  
  48. #128 steps/mm
  49. alpha_steps_per_mm 1280 # Steps per mm for alpha stepper
  50. beta_steps_per_mm 1280 # Steps per mm for beta stepper
  51. gamma_steps_per_mm 1280 # Steps per mm for gamma stepper
  52.  
  53.  
  54. # LEVELING STRATEGY
  55. # ---------------------------------------------------------------------
  56. leveling-strategy.delta-calibration.enable true # basic delta calibration
  57. leveling-strategy.delta-calibration.radius 115 # the probe radius
  58. leveling-strategy.delta-calibration.initial_height 40
  59.  
  60. leveling-strategy.delta-grid.enable true
  61. leveling-strategy.delta-grid.save true
  62. leveling-strategy.delta-grid.do_home true
  63. leveling-strategy.delta-grid.radius 115
  64. leveling-strategy.delta-grid.size 13
  65. leveling-strategy.delta-grid.initial_height 40
  66.  
  67. #leveling-strategy.delta-grid.is_square true
  68. #leveling-strategy.delta-grid.max_x 80
  69. #leveling-strategy.delta-grid.max_y 80
  70.  
  71. # ON BOOT GCODE
  72. # ---------------------------------------------------------------------
  73. on_boot_gcode_enable false
  74.  
  75.  
  76. # SUSPEND/RESUME
  77. # ---------------------------------------------------------------------
  78. after_suspend_gcode G91_G0E-2_G0Z50_G90_G0Z400X0Y0 # gcode to run after suspend, retract then get head out of way
  79. before_resume_gcode G91_G1_E1_G90 # gcode to run after temp is reached but before resume - do a prime
  80. leave_heaters_on_suspend true
  81.  
  82. # Planner module configuration : Look-ahead and acceleration configuration
  83. # ---------------------------------------------------------------------
  84. acceleration 1000 # Acceleration in mm/second/second.
  85. planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOUR ARE DOING
  86. junction_deviation 0.04 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
  87. # 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
  88.  
  89.  
  90. # Stepper module configuration
  91. # ---------------------------------------------------------------------
  92. microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
  93. minimum_steps_per_minute 1200 # Never step slower than this
  94. base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
  95.  
  96.  
  97. # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
  98. # ---------------------------------------------------------------------
  99. alpha_step_pin 2.1 # Pin for alpha stepper step signal
  100. alpha_dir_pin 0.11 # Pin for alpha stepper direction
  101. alpha_en_pin 0.10! # Pin for alpha enable pin
  102. alpha_current 1.1 # X stepper motor current
  103. alpha_max_rate 20000.0 # mm/min actuator max speed
  104. x_axis_max_speed 20000.0 # mm/min cartesian max speed
  105.  
  106. beta_step_pin 2.2 # Pin for beta stepper step signal
  107. beta_dir_pin 0.20 # Pin for beta stepper direction
  108. beta_en_pin 0.19! # Pin for beta enable
  109. beta_current 1.1 # Y stepper motor current
  110. beta_max_rate 20000.0 # mm/min
  111. y_axis_max_speed 20000.0 # mm/min
  112.  
  113. gamma_step_pin 2.3 # Pin for gamma stepper step signal
  114. gamma_dir_pin 0.22 # Pin for gamma stepper direction
  115. gamma_en_pin 0.21! # Pin for gamma enable
  116. gamma_current 1.1 # Z stepper motor current
  117. gamma_max_rate 20000.0 # mm/min
  118. z_axis_max_speed 20000.0 # mm/min
  119.  
  120.  
  121. # Endstops
  122. # ---------------------------------------------------------------------
  123. endstops_enable true # the endstop module is enabled by default and can be disabled here
  124. delta_homing true # forces all three axis to home a the same time regardless of what is specified in G28
  125.  
  126. alpha_max_endstop 1.24^ #
  127. alpha_homing_direction home_to_max # or set to home_to_max and set alpha_max
  128. alpha_min 0 # this gets loaded after homing when home_to_min is set
  129. alpha_max 0 # this gets loaded after homing when home_to_max is set
  130.  
  131. beta_max_endstop 1.26^ #
  132. beta_homing_direction home_to_max #
  133. beta_min 0 #
  134. beta_max 0 #
  135.  
  136. gamma_max_endstop 1.28^ #
  137. gamma_homing_direction home_to_max #
  138. gamma_min 0 #
  139. # gamma_max moved to top of file, since it's one of the most frequenly adjusted settings
  140.  
  141.  
  142. # optional enable limit switches, actions will stop if any enabled limit switch is triggered
  143. # ---------------------------------------------------------------------
  144. alpha_limit_enable true # set to true to enable X min and max limit switches
  145. beta_limit_enable true # set to true to enable Y min and max limit switches
  146. gamma_limit_enable true # set to true to enable Z min and max limit switches
  147.  
  148.  
  149. # These can be used instead of adjusting the endstop screws
  150. # ---------------------------------------------------------------------
  151. alpha_trim 0 # software trim for alpha stepper endstop (in mm) - moves down
  152. beta_trim 0 # software trim for beta stepper endstop
  153. gamma_trim 0 # software trim for gamma stepper endstop
  154.  
  155.  
  156. # Optional Z probe, see http://smoothieware.org/zprobe
  157. # ---------------------------------------------------------------------
  158. probe endstop
  159. probe_pin 1.29 # optional pin for probe
  160. zprobe.enable true # set to true to enable a zprobe
  161. zprobe.probe_pin 1.29!^ # pin probe is attached to if NC remove the !, default 1.29!^
  162. zprobe.slow_feedrate 10 # mm/sec probe feed rate
  163. zprobe.fast_feedrate 80 # move feedrate
  164. zprobe.debounce_count 0 # set if noisy
  165. zprobe.probe_radius 55 # how far out from bed center to probe
  166. zprobe.probe_height 25 # how high the probe has to be moved above trigger elevation so that it won't drag
  167. zprobe.decelerate_on_trigger false # beneficial, unless your probe has no runout after it hits the trigger - in which case, set this to false
  168. zprobe.decelerate_runout 0 # how many millimeters your probe can move past the trigger point; we'll abort any decel > this long
  169.  
  170.  
  171. # Homing
  172. # ---------------------------------------------------------------------
  173. alpha_fast_homing_rate_mm_s 90 # feedrates in mm/second
  174. alpha_slow_homing_rate_mm_s 60 # "
  175. alpha_homing_retract_mm 10 # distance in mm
  176.  
  177. beta_fast_homing_rate_mm_s 90 # "
  178. beta_slow_homing_rate_mm_s 60 # "
  179. beta_homing_retract_mm 10 # "
  180.  
  181. gamma_fast_homing_rate_mm_s 90 # "
  182. gamma_slow_homing_rate_mm_s 60 # "
  183. gamma_homing_retract_mm 10 # "
  184.  
  185.  
  186. ## Extruder module configuration
  187. extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  188. extruder.hotend.steps_per_mm 810 # Steps per mm for extruder stepper
  189. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  190. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  191. extruder.hotend.max_speed 30 # mm/s
  192.  
  193. extruder.hotend.step_pin 2.0 # Pin for extruder step signal
  194. extruder.hotend.dir_pin 0.5! # Pin for extruder dir signal
  195. extruder.hotend.en_pin 0.4! # Pin for extruder enable signal
  196.  
  197. # extruder offset
  198. #extruder.hotend.x_offset 0 # x offset from origin in mm
  199. #extruder.hotend.y_offset 0 # y offset from origin in mm
  200. #extruder.hotend.z_offset 0 # z offset from origin in mm
  201.  
  202. # 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
  203. #extruder.hotend.retract_length 3 # retract length in mm
  204. #extruder.hotend.retract_feedrate 30 # retract feedrate in mm/sec
  205. #extruder.hotend.retract_recover_length 0 # additional length for recover
  206. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  207. #extruder.hotend.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  208. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  209.  
  210. delta_current 0.5 # Extruder stepper motor current
  211.  
  212. # Hotend temperature control configuration
  213. # temperature_control.hotend.thermistor can be one of the following:
  214. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  215. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  216. # ---------------------------------------------------------------------
  217. temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
  218.  
  219. #temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
  220. temperature_control.hotend.thermistor_pin 0.23 # using HB pin
  221. temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater
  222. temperature_control.hotend.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  223. #temperature_control.hotend.beta 4066 # or set the beta value
  224.  
  225. temperature_control.hotend.set_m_code 104 #
  226. temperature_control.hotend.set_and_wait_m_code 109 #
  227. temperature_control.hotend.designator T #
  228.  
  229. temperature_control.hotend.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
  230. #temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below 0 by default
  231.  
  232. temperature_control.hotend.coefficients 0.000722378300319346F,0.000216301852054578F,9.2641025635702e-08F
  233.  
  234.  
  235. # Hotend PID configuration
  236. # ---------------------------------------------------------------------
  237. temperature_control.hotend.p_factor 80.0
  238. temperature_control.hotend.i_factor 10.321
  239. temperature_control.hotend.d_factor 155
  240.  
  241.  
  242. # Heated bed PID configuration
  243. # temperature_control.bed.thermistor can be one of the following:
  244. # EPCOS100K, RRRF100K, RRRF10K, Honeywell100k, Semitec, or HT100K
  245. # (source: src/modules/tools/temperaturecontrol/Thermistor.cpp)
  246. # ---------------------------------------------------------------------
  247. temperature_control.bed.enable false #
  248. temperature_control.bed.thermistor_pin 0.23 #
  249. temperature_control.bed.heater_pin 2.7 #
  250. temperature_control.bed.thermistor EPCOS100K # http://smoothieware.org/temperaturecontrol#toc5
  251. temperature_control.bed.beta 4066 # or set the beta value
  252.  
  253. temperature_control.bed.set_m_code 140 #
  254. temperature_control.bed.set_and_wait_m_code 190 #
  255. temperature_control.bed.designator T #
  256.  
  257. # uncomment followng to use bang bang isntead of PID for the bed (best for relay conrolled hotbeds)
  258. #temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  259. #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis when using bang bang
  260.  
  261.  
  262. # Automatically toggle a switch at a specified temperature.
  263. # Different ones of these may be defined to monitor different temperatures and switch different switches
  264. # Ueful to turn on a fan or water pump to cool the hotend
  265. # ---------------------------------------------------------------------
  266. temperatureswitch.hotend.enable true #
  267. temperatureswitch.hotend.switch fan2 # select which switch to use, matches the name of the defined switch
  268. temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  269.  
  270. temperatureswitch.hotend.threshold_temp 50.0 # temperature to turn on (if rising) or off the switch
  271. temperatureswitch.hotend.heatup_poll 10 # poll heatup at 15 sec intervals
  272. temperatureswitch.hotend.cooldown_poll 20 # poll cooldown at 60 sec intervals
  273.  
  274. # Switch module for fan control
  275. # ---------------------------------------------------------------------
  276. switch.fan2.enable true #
  277. switch.fan2.input_on_command M106 S250 #
  278. switch.fan2.input_off_command M107 #
  279. switch.fan2.output_pin 2.4 #
  280. switch.fan2.output_type pwm # PWM output settable with S parameter in the input_on_comand
  281. switch.fan2.max_pwm 255 #Maximum value for the PWM output. Default is 255. (only used for pwm output type, not for hwpwm
  282.  
  283. #switch.fan2.startup_state true #Statup state of the switch. If set to false the module is initialized OFF, if set to true the module is initialized ON
  284. #switch.fan2.startup_value S230 #Statup value of the switch if the output_type is pwm.
  285.  
  286. #switch.fan2.pwm_period_ms 20 #Period used by the H/W PWM, 20ms is 50Hz which is the default if not set
  287. #switch.fan2.failsafe_set_to 1 #0 or 1 what to set the output pin to in case of a crash or HALT condition
  288. #switch.fan2.ignore_on_halt false #set to true to not set the failsafe value when a HALT condition is triggered
  289.  
  290. # For allowing the board to shut off your ATX power supply
  291. # ---------------------------------------------------------------------
  292. # switch.psu.enable true # turn atx on/off
  293. # switch.psu.input_on_command M80 #
  294. # switch.psu.input_off_command M81 #
  295. # switch.psu.output_pin 2.13o! # open drain, inverted
  296.  
  297. # Switch module for spindle control
  298. # ---------------------------------------------------------------------
  299. #switch.spindle.enable false #
  300.  
  301.  
  302. # kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
  303. kill_button_enable true # set to true to enable a kill button
  304. kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  305.  
  306. # Example viki2 config for an azteeg miniV2 with IDC cable
  307. # ---------------------------------------------------------------------
  308. panel.lcd viki2 # set type of panel
  309. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  310. panel.spi_cs_pin 0.16 # set spi chip select
  311. panel.encoder_a_pin 3.25!^ # encoder pin
  312. panel.encoder_b_pin 3.26!^ # encoder pin
  313. panel.click_button_pin 2.11!^ # click button
  314. panel.a0_pin 2.6 # st7565 needs an a0
  315.  
  316. #panel.contrast 8 # override contrast setting (default is 9)
  317. #panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  318. #panel.button_pause_pin 1.30^ # kill/pause set one of these for the auxilliary button on viki2
  319. #panel.back_button_pin 1.30!^ # back button recommended to use this on EXP1
  320.  
  321. #panel.buzz_pin 0.25 # pin for buzzer on EXP2
  322. panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
  323. panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
  324.  
  325. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  326. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  327. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  328. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  329. panel.menu_offset 1 # some panels will need 1 here
  330.  
  331. panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
  332. panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
  333. panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
  334.  
  335. panel.hotend_temperature 185 # temp to set hotend when preheat is selected
  336. panel.bed_temperature 60 # temp to set bed when preheat is selected
  337.  
  338.  
  339. # Serial communications configuration ( baud rate default to 9600 if undefined )
  340. # ---------------------------------------------------------------------
  341. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  342. second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
  343. #msd_disable false # disable the MSD (USB SDCARD) when set to true
  344. #leds_disable true # disable using leds after config loaded
  345. #dfu_enable false # for linux developers, set to true to enable DFU
  346. #watchdog_timeout 10 # watchdog timeout in seconds, default is 10, set to 0 to disable the watchdog
  347.  
  348.  
  349. # Azteeg specific settings - do not change!
  350. # ---------------------------------------------------------------------
  351. currentcontrol_module_enable true #
  352. digipot_max_current 2.0 # max current
  353. digipot_factor 106.0 # factor for converting current to digipot value
  354. return_error_on_unhandled_gcode false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement