Guest User

My messy smoothie config

a guest
Mar 15th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 34.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.5              # Fixed length for line segments that divide arcs, 0 to disable
  9. #mm_per_line_segment                         5                # 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. # See http://smoothieware.org/stepper-motors
  16. arm_solution                                 corexy
  17. alpha_steps_per_mm                           160              # Steps per mm for alpha ( X ) stepper
  18. beta_steps_per_mm                            160              # Steps per mm for beta ( Y ) stepper
  19. gamma_steps_per_mm                           800              # Steps per mm for gamma ( Z ) stepper
  20.  
  21. # Planner module configuration : Look-ahead and acceleration configuration
  22. # See http://smoothieware.org/motion-control
  23. planner_queue_size                           16               # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
  24. acceleration                                 1500             # Acceleration in mm/second/second.
  25. 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
  26. junction_deviation                           0.05             # See http://smoothieware.org/motion-control#junction-deviation
  27. #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
  28.  
  29. # Cartesian axis speed limits
  30. x_axis_max_speed                             15000            # Maximum speed in mm/min
  31. y_axis_max_speed                             15000            # Maximum speed in mm/min
  32. z_axis_max_speed                             600              # Maximum speed in mm/min
  33.  
  34.  
  35.  
  36. ################################
  37. # Stepper module configuration #
  38. ################################
  39.  
  40. # Pins are defined as  ports, and pin numbers, appending "!" to the number will invert a pin
  41. # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  42. alpha_step_pin                               2.0              # Pin for alpha stepper step signal
  43. alpha_dir_pin                                0.5              # Pin for alpha stepper direction, add '!' to reverse direction
  44. alpha_en_pin                                 0.4              # Pin for alpha enable pin
  45. alpha_current                                1.2              # X stepper motor current
  46. alpha_max_rate                               30000.0          # Maximum rate in mm/min
  47.  
  48. beta_step_pin                                2.1              # Pin for beta stepper step signal
  49. beta_dir_pin                                 0.11!            # Pin for beta stepper direction, add '!' to reverse direction
  50. beta_en_pin                                  0.10             # Pin for beta enable
  51. beta_current                                 1.2              # Y stepper motor current
  52. beta_max_rate                                30000.0          # Maxmimum rate in mm/min
  53.  
  54. gamma_step_pin                               2.2              # Pin for gamma stepper step signal
  55. gamma_dir_pin                                0.20             # Pin for gamma stepper direction, add '!' to reverse direction
  56. gamma_en_pin                                 0.19             # Pin for gamma enable
  57. gamma_current                                0.7              # Z stepper motor current
  58. gamma_max_rate                               600.0            # Maximum rate in mm/min
  59.  
  60. ## Extruder module configuration
  61. # See http://smoothieware.org/extruder
  62. extruder.hotend.enable                          true          # Whether to activate the extruder module at all. All configuration is ignored if false
  63. extruder.hotend.steps_per_mm                    842.9731      # Steps per mm for extruder stepper
  64. extruder.hotend.default_feed_rate               600           # Default rate ( mm/minute ) for moves where only the extruder moves
  65. extruder.hotend.acceleration                    500           # Acceleration for the stepper motor mm/sec²
  66. extruder.hotend.max_speed                       80            # Maximum speed in mm/s
  67.  
  68. extruder.hotend.step_pin                        2.3           # Pin for extruder step signal
  69. extruder.hotend.dir_pin                         0.22!         # Pin for extruder dir signal ( add '!' to reverse direction )
  70. extruder.hotend.en_pin                          0.21          # Pin for extruder enable signal
  71.  
  72. # Extruder offset
  73. #extruder.hotend.x_offset                        0            # X offset from origin in mm
  74. #extruder.hotend.y_offset                        0            # Y offset from origin in mm
  75. #extruder.hotend.z_offset                        0            # Z offset from origin in mm
  76.  
  77. # 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
  78. #extruder.hotend.retract_length                  6            # Retract length in mm
  79. #extruder.hotend.retract_feedrate                45           # Retract feedrate in mm/sec
  80. #extruder.hotend.retract_recover_length          0            # Additional length for recover
  81. #extruder.hotend.retract_recover_feedrate        8            # Recover feedrate in mm/sec (should be less than retract feedrate)
  82. #extruder.hotend.retract_zlift_length            0            # Z-lift on retract in mm, 0 disables
  83. #extruder.hotend.retract_zlift_feedrate          6000         # Z-lift feedrate in mm/min (Note mm/min NOT mm/sec)
  84.  
  85. delta_current                                    1.0          # First extruder stepper motor current
  86.  
  87. # Second extruder module configuration
  88. #extruder.hotend2.enable                         true         # Whether to activate the extruder module at all. All configuration is ignored if false
  89. #extruder.hotend2.steps_per_mm                   192.915      # Steps per mm for extruder stepper
  90. #extruder.hotend2.default_feed_rate              600          # Default rate ( mm/minute ) for moves where only the extruder moves
  91. #extruder.hotend2.acceleration                   500          # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
  92. #extruder.hotend2.max_speed                      50           # mm/s
  93.  
  94. #extruder.hotend2.step_pin                       2.8          # Pin for extruder step signal
  95. #extruder.hotend2.dir_pin                        2.13         # Pin for extruder dir signal ( add '!' to reverse direction )
  96. #extruder.hotend2.en_pin                         4.29         # Pin for extruder enable signal
  97.  
  98. #extruder.hotend2.x_offset                       0            # x offset from origin in mm
  99. #extruder.hotend2.y_offset                       25.0         # y offset from origin in mm
  100. #extruder.hotend2.z_offset                       0            # z offset from origin in mm
  101.  
  102. #epsilon_current                                 1.5          # Second extruder stepper motor current
  103.  
  104.  
  105. ## Laser module configuration
  106. # See http://smoothieware.org/laser
  107. laser_module_enable                           false           # Whether to activate the laser module at all
  108. laser_module_pwm_pin                          2.5             # This pin will be PWMed to control the laser.
  109.                                                               # Only pins 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 1.18, 1.20, 1.21, 1.23, 1.24, 1.26, 3.25 and 3.26
  110.                                                               # can be used since laser requires hardware PWM, see http://smoothieware.org/pinout
  111. #laser_module_ttl_pin                         1.30            # This pin turns on when the laser turns on, and off when the laser turns off.
  112. #laser_module_maximum_power                   1.0             # This is the maximum duty cycle that will be applied to the laser
  113. #laser_module_minimum_power                   0.0             # This is a value just below the minimum duty cycle that keeps the laser
  114.                                                               # active without actually burning.
  115. #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
  116.                                                               # the maximum and minimum power levels specified above
  117. #laser_module_pwm_period                      20              # This sets the pwm frequency as the period in microseconds
  118.  
  119. ## Temperature control configuration
  120. # See http://smoothieware.org/temperaturecontrol
  121.  
  122.  
  123. ############################
  124. # Heated bed configuration #
  125. ############################
  126.  
  127. temperature_control.bed.enable               true             # Whether to activate this ( "hotend" ) module at all.
  128. temperature_control.bed.thermistor_pin       0.23             # Pin for the thermistor to read
  129. temperature_control.bed.heater_pin           2.5              # Pin that controls the heater
  130. temperature_control.bed.thermistor           Semitec    # See http://smoothieware.org/temperaturecontrol#thermistor
  131. #temperature_control.bed.beta                3974             # Or set the beta value
  132. temperature_control.bed.set_m_code           140              # M-code to set the temperature for this module
  133. temperature_control.bed.set_and_wait_m_code  190              # M-code to set-and-wait for this module
  134. temperature_control.bed.designator           B                # Designator letter for this module
  135.  
  136. # Bang-bang ( simplified ) control
  137. # See http://smoothieware.org/temperaturecontrol#bang-bang
  138. #temperature_control.bed.bang_bang           false            # Set to true to use bang bang control rather than PID
  139. #temperature_control.bed.hysteresis          2.0              # Set to the temperature in degrees C to use as hysteresis
  140.  
  141. # PID bed configuration
  142. # See http://smoothieware.org/temperaturecontrol#pid
  143. temperature_control.bed.p_factor         34.4688              # P ( proportional ) factor
  144. temperature_control.bed.i_factor         0.7024               # I ( integral ) factor
  145. temperature_control.bed.d_factor         422.8896             # D ( derivative ) factor
  146.  
  147. temperature_control.bed.runaway_heating_timeout      900  # How long it can take to heat up, max is 2040 seconds.
  148. temperature_control.bed.runaway_cooling_timeout        0  # How long it can take to cool down if temp is set lower, max is 2040 seconds
  149. temperature_control.bed.runaway_range                63   # How far from the set temperature it can wander, max setting is 63°C
  150.  
  151.  
  152. ##############################
  153. # First hotend configuration #
  154. ##############################
  155.  
  156. temperature_control.hotend.enable            true             # Whether to activate this ( "hotend" ) module at all.
  157. temperature_control.hotend.thermistor_pin    0.24             # Pin for the thermistor to read
  158. temperature_control.hotend.heater_pin        2.7              # Pin that controls the heater, set to nc if a readonly thermistor is being defined
  159. temperature_control.hotend.thermistor        Semitec          # See http://smoothieware.org/temperaturecontrol#toc5
  160. #temperature_control.hotend.beta             4066             # Or set the beta value
  161. temperature_control.hotend.set_m_code        104              # M-code to set the temperature for this module
  162. temperature_control.hotend.set_and_wait_m_code 109            # M-code to set-and-wait for this module
  163. temperature_control.hotend.designator        T                # Designator letter for this module
  164. temperature_control.hotend.max_temp         300              # Set maximum temperature - Will prevent heating above 300 by default
  165. temperature_control.hotend.min_temp         0                # Set minimum temperature - Will prevent heating below if set
  166.  
  167. # Safety control is enabled by default and can be overidden here, the values show the defaults
  168. # See http://smoothieware.org/temperaturecontrol#runaway
  169. #temperature_control.hotend.runaway_heating_timeout      900  # How long it can take to heat up, max is 2040 seconds.
  170. #temperature_control.hotend.runaway_cooling_timeout        0  # How long it can take to cool down if temp is set lower, max is 2040 seconds
  171. #temperature_control.hotend.runaway_range                20   # How far from the set temperature it can wander, max setting is 63°C
  172.  
  173. # PID configuration
  174. # See http://smoothieware.org/temperaturecontrol#pid
  175. temperature_control.hotend.p_factor          50.6665          # P ( proportional ) factor
  176. temperature_control.hotend.i_factor          3.3721           # I ( integral ) factor
  177. temperature_control.hotend.d_factor          190.3161         # D ( derivative ) factor
  178.  
  179. #temperature_control.hotend.max_pwm          64               # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  180.  
  181.  
  182. ###############################
  183. # Second hotend configuration #
  184. ###############################
  185.  
  186. #temperature_control.hotend2.enable            true           # Whether to activate this ( "hotend" ) module at all.
  187. #temperature_control.hotend2.thermistor_pin    0.25           # Pin for the thermistor to read
  188. #temperature_control.hotend2.heater_pin        2.6            # Pin that controls the heater
  189. #temperature_control.hotend2.thermistor        Semitec        # See http://smoothieware.org/temperaturecontrol#thermistor
  190. ##temperature_control.hotend2.beta             4066           # or set the beta value
  191. #temperature_control.hotend2.set_m_code        104            # M-code to set the temperature for this module
  192. #temperature_control.hotend2.set_and_wait_m_code 109          # M-code to set-and-wait for this module
  193. #temperature_control.hotend2.designator        E2             # Designator letter for this module
  194.  
  195. #temperature_control.hotend2.p_factor          13.7           # P ( proportional ) factor
  196. #temperature_control.hotend2.i_factor          0.097          # I ( integral ) factor
  197. #temperature_control.hotend2.d_factor          24             # D ( derivative ) factor
  198.  
  199. #temperature_control.hotend2.max_pwm          64              # Max pwm, 64 is a good value if driving a 12v resistor with 24v.
  200.  
  201.  
  202.  
  203. ################################
  204. # Heated chamber configuration #
  205. ################################
  206.  
  207. ##temperature_control.chamber.enable               true             # Whether to activate this ( "hotend"; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
  208. panel.spi_cs_pin                             0.16              # SPI chip select     ; GLCD EXP1 Pin 4
  209. panel.encoder_a_pin                          3.25!^            # Encoder pin         ; GLCD EXP2 Pin 3
  210. panel.encoder_b_pin                          3.26!^            # Encoder pin         ; GLCD EXP2 Pin 5
  211. panel.click_button_pin                       1.30!^            # Click button        ; GLCD EXP1 Pin 2
  212. panel.buzz_pin                               1.31              # Pin for buzzer      ; GLCD EXP1 Pin 1
  213. #panel.back_button_pin                        2.11!^            # Back button         ; GLCD EXP2 Pin 8
  214.  
  215. panel.menu_offset                            0                 # Some panels will need 1 here
  216.  
  217. panel.alpha_jog_feedrate                     6000              # X jogging feedrate in mm/min
  218. panel.beta_jog_feedrate                      6000              # Y jogging feedrate in mm/min
  219. panel.gamma_jog_feedrate                     200               # Z jogging feedrate in mm/min
  220.  
  221. panel.hotend_temperature                     200               # Temp to set hotend when preheat is selected
  222. panel.bed_temperature                        100                # Temp to set bed when preheat is selected
  223.  
  224. ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry.
  225. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
  226.  
  227. custom_menu.tramming.enable                true             #
  228. custom_menu.tramming.name                  Tramming          #
  229. custom_menu.tramming.command               G32|G92_Z3.9               #
  230.  
  231. custom_menu.lights_on.enable               true             #
  232. custom_menu.lights_on.name                 Lights_on          #
  233. custom_menu.lights_on.command              M355               #
  234. custom_menu.lights_off.enable              true             #
  235. custom_menu.lights_off.name                Lights_off          #
  236. custom_menu.lights_off.command             M356               #
  237.  
  238. custom_menu.fan_on.enable                  true             #
  239. custom_menu.fan_on.name                    Fan_on          #
  240. custom_menu.fan_on.command                 M106               #
  241. custom_menu.fan_off.enable                 true             #
  242. custom_menu.fan_off.name                   Fan_off          #
  243. custom_menu.fan_off.command                M107               #
  244.  
  245. custom_menu.cfan_on.enable                 true             #
  246. custom_menu.cfan_on.name                   Chamber_fan_on          #
  247. custom_menu.cfan_on.command                M106.1               #
  248. custom_menu.cfan_off.enable                true             #
  249. custom_menu.cfan_off.name                  Chamber_fan_off          #
  250. custom_menu.cfan_off.command               M107.1               #
  251.  
  252. custom_menu.hfan_on.enable                 true             #
  253. custom_menu.hfan_on.name                   Hotend_fan_on          #
  254. custom_menu.hfan_on.command                M106.2               #
  255. custom_menu.hfan_off.enable                true             #
  256. custom_menu.hfan_off.name                  Hotend_fan_off          #
  257. custom_menu.hfan_off.command               M107.2               #
  258.  
  259. ## Network settings
  260. # See http://smoothieware.org/network
  261. network.enable                               false            # Enable the ethernet network services
  262. network.webserver.enable                     true             # Enable the webserver
  263. network.telnet.enable                        true             # Enable the telnet server
  264. network.ip_address                           auto             # Use dhcp to get ip address
  265. # Uncomment the 3 below to manually setup ip address
  266. #network.ip_address                           192.168.3.222   # The IP address
  267. #network.ip_mask                              255.255.255.0   # The ip mask
  268. #network.ip_gateway                           192.168.3.1     # The gateway address
  269. #network.mac_override                         xx.xx.xx.xx.xx.xx  # Override the mac address, only do this if you have a conflict
  270.  
  271. ## System configuration
  272. # Serial communications configuration ( baud rate defaults to 9600 if undefined )
  273. # For communication over the UART port, *not* the USB/Serial port
  274. uart0.baud_rate                              115200           # Baud rate for the default hardware ( UART ) serial port
  275.  
  276. second_usb_serial_enable                     false            # This enables a second USB serial port
  277. leds_disable                                 true             # Disable using leds after config loaded
  278. play_led_disable                             true             # Disable the play led
  279.  
  280. # Kill button maybe assigned to a different pin, set to the onboard pin by default
  281. # See http://smoothieware.org/killbutton
  282. kill_button_enable                           true             # Set to true to enable a kill button
  283. kill_button_pin                              2.12             # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
  284.  
  285. #msd_disable                                 false            # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
  286. #dfu_enable                                  false            # For linux developers, set to true to enable DFU
  287.  
  288. # Only needed on a smoothieboard
  289. # See http://smoothieware.org/currentcontrol
  290. currentcontrol_module_enable                 true             # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment