Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.72 KB | None | 0 0
  1. # Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
  2. # NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored
  3. ## Robot module configurations : general handling of movement G-codes and slicing into moves
  4.  
  5. # Basic motion configuration
  6. default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves
  7. default_seek_rate 4000 # Default speed (mm/minute) for G0 moves
  8. mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
  9. mm_per_line_segment 1 # Cut lines into segments this size
  10. mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
  11. # note it is invalid for both the above be 0
  12. # if both are used, will use largest segment length based on radius
  13.  
  14. # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
  15. alpha_steps_per_mm 160 # Steps per mm for alpha stepper
  16. beta_steps_per_mm 160 # Steps per mm for beta stepper
  17. gamma_steps_per_mm 160 # Steps per mm for gamma stepper
  18.  
  19. # Planner module configuration : Look-ahead and acceleration configuration
  20. # See http://smoothieware.org/motion-control
  21. acceleration 3000 # Acceleration in mm/second/second.
  22. #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
  23. junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation
  24. #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
  25.  
  26. # Cartesian axis speed limits
  27. x_axis_max_speed 30000 # Maximum speed in mm/min
  28. y_axis_max_speed 30000 # Maximum speed in mm/min
  29. z_axis_max_speed 300 # Maximum speed in mm/min
  30.  
  31. # Stepper module configuration
  32. # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
  33. # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  34. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  35. alpha_dir_pin 0.5 # Pin for alpha stepper direction
  36. alpha_en_pin 2.4! #0.4 # Pin for alpha enable pin
  37. alpha_current 1.5 # X stepper motor current
  38. alpha_max_rate 30000.0 # mm/min
  39.  
  40. beta_step_pin 2.1 # Pin for beta stepper step signal
  41. beta_dir_pin 0.11 # Pin for beta stepper direction
  42. beta_en_pin 2.4! #0.10 # Pin for beta enable
  43. beta_current 1.5 # Y stepper motor current
  44. beta_max_rate 30000.0 # mm/min
  45.  
  46. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  47. gamma_dir_pin 0.20! # Pin for gamma stepper direction
  48. gamma_en_pin 2.4! # 0.19 # Pin for gamma enable
  49. gamma_current 1.5 # Z stepper motor current
  50. gamma_max_rate 300.0 # mm/min
  51.  
  52. ## Extruder module configuration
  53. # See http://smoothieware.org/extruder
  54. extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  55. extruder.hotend.steps_per_mm 230 # up 640*1.53 Steps per mm for extruder stepper
  56. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  57. extruder.hotend.acceleration 500 # Acceleration for the stepper motor mm/sec²
  58. extruder.hotend.max_speed 50 # mm/s
  59.  
  60. extruder.hotend.step_pin 2.3 # Pin for extruder step signal
  61. extruder.hotend.dir_pin 0.22 # Pin for extruder dir signal
  62. extruder.hotend.en_pin 2.4! # 0.21 # Pin for extruder enable signal
  63.  
  64. # extruder offset
  65. #extruder.hotend.x_offset 0 # x offset from origin in mm
  66. #extruder.hotend.y_offset 0 # y offset from origin in mm
  67. #extruder.hotend.z_offset 0 # z offset from origin in mm
  68.  
  69. # 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
  70. #extruder.hotend.retract_length 3 # retract length in mm
  71. #extruder.hotend.retract_feedrate 45 # retract feedrate in mm/sec
  72. #extruder.hotend.retract_recover_length 0 # additional length for recover
  73. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  74. #extruder.hotend.retract_zlift_length 0 # zlift on retract in mm, 0 disables
  75. #extruder.hotend.retract_zlift_feedrate 6000 # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
  76.  
  77. delta_current 1.5 # First extruder stepper motor current
  78.  
  79. # # Second extruder module configuration
  80. # extruder.hotend2.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
  81. # extruder.hotend2.steps_per_mm 140 # Steps per mm for extruder stepper
  82. # extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  83. # extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  84. # extruder.hotend2.max_speed 50 # mm/s
  85.  
  86. # extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
  87. # extruder.hotend2.dir_pin 2.6 # Pin for extruder dir signal
  88. # extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
  89.  
  90. # extruder.hotend2.x_offset 0 # x offset from origin in mm
  91. # extruder.hotend2.y_offset 25.0 # y offset from origin in mm
  92. # extruder.hotend2.z_offset 0 # z offset from origin in mm
  93.  
  94. # #epsilon_current 1.5 # Second extruder stepper motor current
  95.  
  96.  
  97. ## Laser module configuration
  98. # See http://smoothieware.org/laser
  99. laser_module_enable false # Whether to activate the laser module at all. All configuration is
  100. # ignored if false.
  101. #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
  102. # can be used since laser requires hardware PWM
  103. #laser_module_maximum_power 1.0 # this is the maximum duty cycle that will be applied to the laser
  104. #laser_module_minimum_power 0.0 # This is a value just below the minimum duty cycle that keeps the laser
  105. # active without actually burning.
  106. #laser_module_default_power 0.8 # This is the default laser power that will be used for cuts if a power has not been specified. The value is a scale between
  107. # the maximum and minimum power levels specified above
  108. #laser_module_pwm_period 20 # this sets the pwm frequency as the period in microseconds
  109.  
  110. ## Temperature control configuration
  111. # See http://smoothieware.org/temperaturecontrol
  112.  
  113.  
  114.  
  115. ######################################## ntc not used for up/cetus
  116. ## First hotend configuration
  117. #temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all.
  118. #temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
  119. #temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  120. #temperature_control.hotend.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  121. ##temperature_control.hotend.beta 4066 # or set the beta value
  122. #temperature_control.hotend.set_m_code 104 #
  123. #temperature_control.hotend.set_and_wait_m_code 109 #
  124. #temperature_control.hotend.designator T #
  125. #temperature_control.hotend.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
  126. #temperature_control.hotend.min_temp 20 # Set minimum temperature - Will prevent heating below if set
  127. #
  128. ## Safety control is enabled by default and can be overidden here, the values show the defaults
  129. ## See http://smoothieware.org/temperaturecontrol#runaway
  130. #temperature_control.hotend.runaway_heating_timeout 900 # How long it can take to heat up, max is 2040 seconds.
  131. ##temperature_control.hotend.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
  132. #temperature_control.hotend.runaway_range 50 # How far from the set temperature it can wander, max setting is 63°C
  133. #
  134. ## PID configuration
  135. ## See http://smoothieware.org/temperaturecontrol#pid
  136. #temperature_control.hotend.p_factor 30 # P ( proportional ) factor
  137. #temperature_control.hotend.i_factor 0.3 # I ( integral ) factor
  138. #temperature_control.hotend.d_factor 300 # D ( derivative ) factor
  139. #
  140. ##temperature_control.hotend.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  141. #######################################
  142.  
  143. # First hotend configuration
  144. temperature_control.hotend.enable true
  145. temperature_control.hotend.sensor pt100
  146. temperature_control.hotend.thermistor_pin 0.23
  147. temperature_control.hotend.ampmod1_pin 1.20 # UP! printer uses this to "energize" the RTD
  148. temperature_control.hotend.ampmod2_pin 1.21 # set as nc if you don't need to energize RTD
  149. temperature_control.hotend.slope 0.0257604875
  150. temperature_control.hotend.yintercept -18.54
  151. temperature_control.hotend.heater_pin 2.7
  152. temperature_control.hotend.set_m_code 104
  153. temperature_control.hotend.set_and_wait_m_code 109
  154. temperature_control.hotend.designator T
  155. temperature_control.hotend.max_temp 300
  156. temperature_control.hotend.min_temp -10
  157.  
  158. # Safety control is enabled by default and can be overidden here, the values show the defaults
  159. # See http://smoothieware.org/temperaturecontrol#runaway
  160. temperature_control.hotend.runaway_heating_timeout 1200 # How long it can take to heat up, max is 2040 seconds.
  161. #temperature_control.hotend.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
  162. temperature_control.hotend.runaway_range 50 # How far from the set temperature it can wander, max setting is 63°C
  163.  
  164. ## PID configuration
  165. ## See http://smoothieware.org/temperaturecontrol#pid
  166. temperature_control.hotend.p_factor 22 #23.0
  167. temperature_control.hotend.i_factor 1.047 #1.104
  168. temperature_control.hotend.d_factor 115 #120
  169.  
  170. temperature_control.hotend.max_pwm 160 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  171.  
  172. ####################################### optional use underside port as 2nd extruder
  173. # second hotend configuration
  174. temperature_control.hotend2.enable false # Whether to activate this ( "hotend" ) module at all.
  175. temperature_control.hotend2.thermistor_pin 0.26 # Pin for the thermistor to read
  176. temperature_control.hotend2.heater_pin 0.4 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  177. #temperature_control.hotend2.thermistor EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  178. temperature_control.hotend2.beta 3950 # or set the beta value
  179. temperature_control.hotend2.set_m_code 104 #
  180. temperature_control.hotend2.set_and_wait_m_code 109 #
  181. temperature_control.hotend2.designator T1 #
  182. temperature_control.hotend2.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
  183. temperature_control.hotend2.min_temp 20 # Set minimum temperature - Will prevent heating below if set
  184.  
  185. # Safety control is enabled by default and can be overidden here, the values show the defaults
  186. # See http://smoothieware.org/temperaturecontrol#runaway
  187. temperature_control.hotend2.runaway_heating_timeout 900 # How long it can take to heat up, max is 2040 seconds.
  188. #temperature_control.hotend2.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
  189. temperature_control.hotend2.runaway_range 50 # How far from the set temperature it can wander, max setting is 63°C
  190.  
  191. # PID configuration
  192. # See http://smoothieware.org/temperaturecontrol#pid
  193. #temperature_control.hotend2.p_factor 30 # P ( proportional ) factor
  194. #temperature_control.hotend2.i_factor 0.3 # I ( integral ) factor
  195. #temperature_control.hotend2.d_factor 300 # D ( derivative ) factor
  196.  
  197. ##temperature_control.hotend2.max_pwm 64 # max pwm, 64 is a good value if driving a 12v resistor with 24v.
  198. #######################################
  199.  
  200.  
  201. ###################################### Cetus use the underside port as bed control enable for tinyfab heatbed driver
  202. temperature_control.bed.enable false # Whether to activate this ( "hotend" ) module at all.
  203. temperature_control.bed.thermistor_pin 0.26 # Pin for the thermistor to read
  204. temperature_control.bed.heater_pin 0.4 # Pin that controls the heater
  205. #temperature_control.bed.thermistor Honeywell100K # See http://smoothieware.org/temperaturecontrol#thermistor
  206. temperature_control.bed.beta 3950 # Or set the beta value
  207. temperature_control.bed.set_m_code 140 # M-code to set the temperature for this module
  208. temperature_control.bed.set_and_wait_m_code 190 # M-code to set-and-wait for this module
  209. temperature_control.bed.designator B # Designator letter for this module
  210.  
  211. # Bang-bang ( simplified ) control
  212. # See http://smoothieware.org/temperaturecontrol#bang-bang
  213. temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
  214. temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis
  215. ################################ # when using bang bang
  216.  
  217. ################################ UP plus/mini use internal bed control
  218. # temperature_control.bed.enable true
  219. # temperature_control.bed.sensor pt100
  220. # temperature_control.bed.slope 0.0234092253
  221. # temperature_control.bed.yintercept -2.85
  222. # temperature_control.bed.thermistor_pin 0.24
  223. # temperature_control.bed.heater_pin 2.5
  224. # temperature_control.bed.set_m_code 140
  225. # temperature_control.bed.set_and_wait_m_code 190
  226. # temperature_control.bed.designator B
  227. # temperature_control.bed.bang_bang true
  228. # temperature_control.bed.hysteresis 1.0
  229. # #temperature_control.bed.p_factor 13.7
  230. # #temperature_control.bed.i_factor 0.097
  231. # #temperature_control.bed.d_factor 24
  232. #################################
  233.  
  234. ## Switch modules
  235. # See http://smoothieware.org/switch
  236.  
  237. switch.psu.enable true # turn atx on/off
  238. switch.psu.input_on_command M80 #
  239. switch.psu.input_off_command M81 #
  240. switch.psu.output_pin 2.4 # open drain, inverted
  241. switch.psu.startup_state false
  242. switch.psu.output_type digital # on/off only
  243. switch.psu.failsafe_set_to 1 # so the ATX turns off on a system crash
  244. switch.psu.ignore_on_halt true # so the ATX does not turn off on a HALT condition (like limit trigger)
  245. # However leave commented or set to false if you want the ATX to turn off for an over heat fault condition
  246. switch.buzzer.enable true ## true #
  247. switch.buzzer.output_pin 0.25 #
  248.  
  249. #switch.motor.enable false # true
  250. #switch.motor.output_pin 2.4
  251. #switch.motor.startup_state true
  252.  
  253. ## Switch module for fan control
  254. switch.fan.enable true #
  255. switch.fan.input_on_command M106 #
  256. switch.fan.input_off_command M107 #
  257. switch.fan.output_pin 1.18 #
  258. switch.fan.output_type pwm # pwm output settable with S parameter in the input_on_comand
  259. #switch.fan.max_pwm 255 # set max pwm for the pin default is 255
  260.  
  261. #switch.misc.enable true #
  262. #switch.misc.input_on_command M42 #
  263. #switch.misc.input_off_command M43 #
  264. #switch.misc.output_pin 2.4 #
  265. #switch.misc.output_type digital # just an on or off pin
  266.  
  267. switch.buzzer.enable true #
  268. switch.buzzer.output_pin 0.25
  269.  
  270. ## Temperatureswitch
  271. # See http://smoothieware.org/temperatureswitch
  272. # Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
  273. # Useful to turn on a fan or water pump to cool the hotend
  274. #temperatureswitch.hotend.enable true #
  275. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  276. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  277. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
  278. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
  279. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
  280.  
  281. ## Endstops
  282. # See http://smoothieware.org/endstops
  283. endstops_enable true # The endstop module is enabled by default and can be disabled here
  284. #corexy_homing false # Set to true if homing on a hbot or corexy
  285. #alpha_min_endstop 1.25^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  286. alpha_max_endstop 1.24^ # 1.24 Pin to read max endstop, uncomment this and comment the above if using max endstops
  287. alpha_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  288. alpha_min 0 # This gets loaded as the current position after homing when home_to_min is set
  289. alpha_max 180 # This gets loaded as the current position after homing when home_to_max is set
  290. beta_min_endstop 1.26^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  291. #beta_max_endstop 1.27^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  292. beta_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  293. beta_min -3 # This gets loaded as the current position after homing when home_to_min is set
  294. beta_max 177 # This gets loaded as the current position after homing when home_to_max is set
  295. #gamma_min_endstop 1.29^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
  296. gamma_max_endstop 1.28^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
  297. gamma_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  298. gamma_min 0 # This gets loaded as the current position after homing when home_to_min is set
  299. gamma_max 280.05 # This gets loaded as the current position after homing when home_to_max is set
  300.  
  301. alpha_max_travel 190 # Max travel in mm for alpha/X axis when homing
  302. beta_max_travel 190 # Max travel in mm for beta/Y axis when homing
  303. gamma_max_travel 282 # Max travel in mm for gamma/Z axis when homing
  304.  
  305. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
  306. #alpha_limit_enable false # Set to true to enable X min and max limit switches
  307. #beta_limit_enable false # Set to true to enable Y min and max limit switches
  308. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  309.  
  310. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  311. alpha_fast_homing_rate_mm_s 50 # Alpha/X fast homing feedrate in mm/second
  312. alpha_slow_homing_rate_mm_s 25 # Alpha/X slow homing feedrate in mm/second
  313. beta_fast_homing_rate_mm_s 50 # Beta/Y fast homing feedrate in mm/second
  314. beta_slow_homing_rate_mm_s 25 # Beta/Y slow homing feedrate in mm/second
  315. gamma_fast_homing_rate_mm_s 4 # Gamma/Z fast homing feedrate in mm/second
  316. gamma_slow_homing_rate_mm_s 2 # Gamma/Z slow homing feedrate in mm/second
  317.  
  318. alpha_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for alpha/X
  319. beta_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for beta/Y
  320. gamma_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for gamma/Z
  321.  
  322.  
  323. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
  324. #alpha_limit_enable false # Set to true to enable X min and max limit switches
  325. #beta_limit_enable false # Set to true to enable Y min and max limit switches
  326. #gamma_limit_enable false # Set to true to enable Z min and max limit switches
  327.  
  328. # optional order in which axis will home, default is they all home at the same time,
  329. # if this is set it will force each axis to home one at a time in the specified order
  330. #homing_order XYZ # X axis followed by Y then Z last
  331. move_to_origin_after_home true # Move XY to 0,0 after homing
  332. #endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100
  333. #endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
  334. home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY
  335.  
  336. # End of endstop config
  337. # Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
  338. #include abc-endstop.config
  339.  
  340. ## Z-probe
  341. # See http://smoothieware.org/zprobe
  342. zprobe.enable true # Set to true to enable a zprobe
  343. zprobe.probe_pin 2.13^ # Pin probe is attached to, if NC remove the ! (2.13 = door check port)
  344. zprobe.slow_feedrate 5 # Mm/sec probe feed rate
  345. #zprobe.debounce_count 100 # Set if noisy
  346. zprobe.fast_feedrate 100 # Move feedrate mm/sec
  347. zprobe.probe_height 10 # How much above bed to start probe
  348. #gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict,
  349.  
  350. # Levelling strategy
  351. leveling-strategy.rectangular-grid.enable true # The strategy must be enabled in the config, as well as the zprobe module.
  352. leveling-strategy.rectangular-grid.x_size 180 # size of bed in the X axis
  353. leveling-strategy.rectangular-grid.y_size 177 # size of bed in the Y axis
  354. leveling-strategy.rectangular-grid.size 11 # The size of the grid, for example, 7 causes a 7x7 grid with 49 points.
  355. # Must be an odd number.
  356. leveling-strategy.rectangular-grid.do_home false
  357. leveling-strategy.rectangular-grid.probe_offsets 0,0,0 # Optional probe offsets from the nozzle or tool head
  358. leveling-strategy.rectangular-grid.save true # If the saved grid is to be loaded on boot then this must be set to true
  359. leveling-strategy.rectangular-grid.initial_height 30 # will move to Z10 before the first probe
  360. leveling-strategy.rectangular-grid.dampening_start 0.5 # compensation decrease point (optional)
  361. leveling-strategy.rectangular-grid.height_limit 1 # no compensation to apply after this point (optional)
  362.  
  363. leveling-strategy.rectangular-grid.human_readable true
  364.  
  365. ##
  366. # Panel See http://smoothieware.org/panel
  367. panel.enable false # set to true to enable the panel code
  368.  
  369. # Example viki2 config for Re-ARM with IDC cable
  370. panel.lcd viki2 # set type of panel
  371. panel.spi_channel 0 # set spi channel to use P0_18,P0_15 MOSI,SCLK
  372. panel.spi_cs_pin 0.16 # set spi chip select
  373. panel.spi_frequency 200000
  374. panel.encoder_a_pin 3.26!^ # encoder pin
  375. panel.encoder_b_pin 3.25!^ # encoder pin
  376. panel.click_button_pin 2.11!^ # click button
  377. panel.a0_pin 2.6 # st7565 needs an a0
  378. panel.contrast 4 # override contrast setting (default is 9)
  379. panel.encoder_resolution 4 # override number of clicks to move 1 item (default is 4)
  380. panel.pause_button_enable true
  381. #panel.button_pause_pin 1.22!^ # kill/pause set one of these for the auxilliary button on viki2
  382. panel.back_button_pin 1.22!^ # back button recommended to use this on EXP1
  383. panel.buzz_pin 0.25 # pin for buzzer on EXP2
  384. panel.red_led_pin 2.8 # pin for red led on viki2 on EXP1
  385. panel.blue_led_pin 4.29 # pin for blue led on viki2 on EXP1
  386. panel.external_sd true # set to true if there is an extrernal sdcard on the panel
  387. panel.external_sd.spi_channel 0 # set spi channel the sdcard is on
  388. panel.external_sd.spi_cs_pin 1.23 # set spi chip select for the sdcard
  389. panel.external_sd.sdcd_pin 1.31!^ # sd detect signal (set to nc if no sdcard detect)
  390. panel.menu_offset 0 # some panels will need 1 here
  391. panel.reverse false # reverse the lcd
  392.  
  393. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  394. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  395. custom_menu.power_on.enable true #
  396. custom_menu.power_on.name Power_on #
  397. custom_menu.power_on.command M80 #
  398.  
  399. custom_menu.power_off.enable true #
  400. custom_menu.power_off.name Power_off #
  401. custom_menu.power_off.command M81 #
  402.  
  403. custom_menu.fan_on.enable true #
  404. custom_menu.fan_on.name Fan_on #
  405. custom_menu.fan_on.command M106_P0_S255 #
  406.  
  407. custom_menu.fan_off.enable true #
  408. custom_menu.fan_off.name Fan_off #
  409. custom_menu.fan_off.command M107_P0 #
  410.  
  411. custom_menu.Suspend.enable true #
  412. custom_menu.Suspend.name Suspend #
  413. custom_menu.Suspend.command M600 #
  414.  
  415. custom_menu.Resume.enable true #
  416. custom_menu.Resume.name Resume #
  417. custom_menu.Resume.command M601 #
  418.  
  419.  
  420. ## Network settings
  421. # See http://smoothieware.org/network
  422. network.enable false # Enable the ethernet network services
  423. network.webserver.enable true # Enable the webserver
  424. network.telnet.enable true # Enable the telnet server
  425. #network.ip_address auto # Use dhcp to get ip address
  426. # Uncomment the 3 below to manually setup ip address
  427. network.ip_address 192.168.0.100 # The IP address
  428. network.ip_mask 255.255.255.0 # The ip mask
  429. network.ip_gateway 192.168.0.1 # The gateway address
  430. #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
  431.  
  432. ## System configuration
  433. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  434. # For communication over the UART port, *not* the USB/Serial port
  435. uart0.baud_rate 115200 # Baud rate for the default hardware serial port
  436.  
  437. second_usb_serial_enable false # This enables a second USB serial port
  438. leds_disable true # disable using leds after config loaded
  439. #play_led_disable true # disable the play led
  440.  
  441. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  442. # See http://smoothieware.org/killbutton
  443. kill_button_enable true # set to true to enable a kill button
  444. kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  445.  
  446. #msd_disable false # disable the MSD (USB SDCARD) when set to true (needs special binary)
  447. #dfu_enable false # for linux developers, set to true to enable DFU
  448.  
  449. # Only needed on a smoothieboard
  450. # See http://smoothieware.org/currentcontrol
  451. currentcontrol_module_enable false # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement