Gismogajet

config prusa i3

Dec 4th, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.93 KB | None | 0 0
  1. # smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
  2. # NOTE lines must not exceed 132 characters, and '#' character means what follows is ignored
  3. ## robot module configurations : general handling of movement G-codes and slicing into moves
  4. # CONFIGURATION FOR PRUSA I3 CLONE
  5. # note the configuration is fully working except for the bed temperature not being detected the fault is probably a faulty thermister as of 25/11/2017.
  6.  
  7.  
  8.  
  9. # Basic motion configuration
  10. default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves
  11. default_seek-rate 4000 # Default speed (mm/minute) for G0 moves
  12. mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
  13. # mm_per_line_segment 5 # cut lines into segments this size
  14. mm_max_arc_error 0.01 # The maximum error for line segments that devide arcs 0 to disable
  15.  
  16.  
  17. # note it is invalid for both the above to be 0
  18. # if both are used, will use largest segment length based on radius
  19.  
  20.  
  21. # Arm solution configuration : cartesian robot. translates mm positions into stepper positions
  22. # see http://smoothieware.org/stepper motors
  23.  
  24. alpha_steps_per_mm 80 # Steps per mm for alpha ( x ) stepper
  25. beta_steps_per_mm 80 # Steps per mm for beta ( y ) stepper
  26. gamma_steps_per_mm 1600 # Steps per mm for gamma ( z ) stepper
  27.  
  28.  
  29. # Planner module configuration : look-ahead and acceleration configuration
  30. # See http://smoothieware.org/motion-control
  31.  
  32. acceleration 3000 # Acceleration in mm/second/second
  33. #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
  34. junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation
  35. #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
  36.  
  37.  
  38.  
  39. # Cartesian axis speed limits
  40. x_axis_max_speed 30000 # Maximum speed in mm/min
  41. y_axis_max_speed 30000 # Maximum speed in mm/min
  42. z_axis_max_speed 300 # Maximum speed in mm/min
  43.  
  44.  
  45. # Stepper module configuration
  46. # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
  47. # see http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
  48. alpha_step_pin 2.0 # Pin for alpha stepper step signal
  49. alpha_dir_pin 0.5! # pin for alpha stepper direction, add "!" to reverse direction
  50. alpha_en_pin 0.4 # pin for alpha enable pin
  51. alpha_current 1.2 # X stepper motor current
  52. alpha_max_rate 30000.0 # Maximum rate in mm/min
  53.  
  54. beta_step_pin 2.1 # Pin for beta stepper step signal
  55. beta_dir_pin 0.11! # pin for beta stepper direction, add "!" to reverse direction
  56. beta_en_pin 0.10 # pin for beta enable pin
  57. beta_current 1.2 # y stepper motor current
  58. beta_max_rate 30000.0 # Maximum rate in mm/min
  59.  
  60. gamma_step_pin 2.2 # Pin for gamma stepper step signal
  61. gamma_dir_pin 0.20 # pin for gamma stepper direction, add "!" to reverse direction
  62. gamma_en_pin 0.19 # pin for gamma enable pin
  63. gamma_current 1.2 # Z stepper motor1 current
  64. gamma_max_rate 300.0 # Maximum rate in mm/min
  65.  
  66. # step, direction and enable pins not required for delta as signals will come from gamma step, direction and enable pins
  67. # gamma step direction and enable pins are hard wired to the corresponding pins on the delta motor on the smoothieboard
  68. # This does not apply to all smoothie boards but is a required adaptation for this configuration.
  69.  
  70. # EN3 TO EN4
  71. # DIR3 TO DIR4
  72. # ST3 TO ST4
  73.  
  74. # BOTH MOTORS WILL WORK TOGETHER TO RAISE THE EXTRUDER OR LOWER IT!
  75.  
  76. delta_current 1.2 # Z stepper motor2 current
  77. delta_max_rate 300.0 # Maximum rate in mm/min
  78.  
  79. ## extruder module configuration
  80. # See http://smoothieware.org/extruder
  81. # As there is only one extruder on the Prusa i3 and m5 is used in this configuration for the motor control
  82. # the step pin, dir pin and en pin are set for epsilon
  83.  
  84.  
  85. extruder.hotend.enable true # Whether to activate the extruder module at all. all configuration is ignored if false
  86. extruder.hotend.steps_per_mm 140 # steps per mm for extruder stepper
  87. extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
  88. extruder.hotend.acceleration 500 # Aceleration for the stepper motor mm/sec^2
  89. extruder.hotend.max_speed 50 # Maximum speed in mm/sec
  90.  
  91. extruder.hotend.step_pin 2.8 # pin for extruder step signal
  92. extruder.hotend.dir_pin 2.13 # pin for extruder dir signal ( add "!" to reverse direction )
  93. extruder.hotend.en_pin 4.29 # pin for extruder enable signal
  94.  
  95. #extruder offset # not required for single extruder
  96. #extruder.hotend.x_offset 0 # X offset from origin in mm
  97. #extruder.offset.y_offset 0 # Y offset from origin in mm
  98. #extruder.offset.z_offset 0 # Z offsetfrom origin in mm
  99.  
  100. # the following settings are commented out and are not activated.
  101.  
  102. #firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using defaults
  103. #extruder.hotend.retract_length 3 # Retract length in mm
  104. #extruder.hotend.retract_feedrate 45 # Retract feedrate in mm/sec
  105. #extruder.hotend.retract_recover_length 0 # Additional length for recover
  106. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  107. #extruder.hotend.retract_zlift_length 0 # Z-lift on retract in mm, 0 disables
  108. #extruder.hotend.retract_zlift_feedrate 6000 # z-lift feedrate in mm/min (Note mm/min not mm/sec)
  109.  
  110. #end of non activated settings
  111.  
  112. epsilon_current 1.2 # extruder stepper motor current
  113.  
  114.  
  115.  
  116.  
  117.  
  118. # the following settings are commented out and are not activated.
  119.  
  120. #firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using defaults
  121. #extruder.hotend.retract_length 3 # Retract length in mm
  122. #extruder.hotend.retract_feedrate 45 # Retract feedrate in mm/sec
  123. #extruder.hotend.retract_recover_length 0 # Additional length for recover
  124. #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
  125. #extruder.hotend.retract_zlift_length 0 # Z-lift on retract in mm, 0 disables
  126. #extruder.hotend.retract_zlift_feedrate 6000 # z-lift feedrate in mm/min (Note mm/min not mm/sec)
  127.  
  128. #end of non activated settings
  129.  
  130. #epsilon_current 1.2 # extruder stepper motor current
  131.  
  132.  
  133.  
  134. ## Temperature control configuration
  135. # See http://smoothieware.org/temperaturecontrol
  136.  
  137. # Hotend configuration
  138. temperature_control.hotend.enable true # whether to activate this ( "hotend" ) module at all.
  139. temperature_control.hotend.therminster_pin 0.23 # pin for the thermistor to read
  140. temperature_control.hotend.heater_pin 2.4 # pin that controls the heater, set to nc if a readonly thermistoris being defined
  141. temperature_control.hotend.thermister EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
  142. # temperature_control.hotend.beta 4066 # or set the beta value
  143. temperature_control.hotend.set_m_code 104 # M-code to set the temperature for this module
  144. temperature_control.hotend.set_and_wait_m_code 109 # M-code to set_and_wait for this module
  145. temperature_control.hotend.designator T # Designator letter for this module
  146. temperature_control.hotend.max_temp 300 # Set maximum temperature - will prevent heating above 300 by default
  147. #temperature_control.hotend.min_temp 0 # Set minimum temperature - will prevent heating below if set
  148.  
  149.  
  150.  
  151. # Safety control is enabled by default and can be overwritten here, the values show the defaults
  152. # See http://smoothieware.org/temperaturecontrol#runaway
  153. # this is not activated
  154. #temperature_control.hotend.runaway_heating_timeout 900 # How long it can take to heat up, Max is 2040 seconds.
  155. #temperature_control.hotend.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
  156. #temperature_control.hotend.runaway_range 20 # How far from the set temperature it can wander, Maximum setting is 63 deg C
  157.  
  158.  
  159.  
  160. # PID configuration
  161. # See http://smoothieware.org/temperaturecontrol#pid
  162. temperature_control.hotend. P_factor 450.9 # P ( Proportional ) factor
  163. temperature_control.hotend. I_factor 20.020 # I ( Integral ) factor
  164. temperature_control.hotend. D_factor 49.5 # D ( derivative ) factor
  165.  
  166.  
  167. #temperature_control.hotend.max_PWM 64 # Max PWM, 64 is a good value if driving a 12v resister with 24v.
  168.  
  169.  
  170.  
  171. temperature_control.bed.enable true # wether to activate this ( "hotend" ) module at all
  172. temperature_control.bed.thermister_pin 0.25 # pin for the thermister to read
  173. temperature_control.bed.heater_pin 2.7 # pin that controls the bed heater
  174. temperature_control.bed.thermister Semitec-104NT4 # See http://smoothieware.org/temperaturecontrol#thermister
  175. #temperature_control.bed.beta 3950 # or set beta value
  176. temperature_control.bed.set_m_code 140 # M-code to set the temperature for this module
  177. temperature_control.bed.set_and_wait_m_code 190 # M-code to set and wait for this module
  178. temperature_control.bed.designater B # Designater letter for this module
  179.  
  180.  
  181.  
  182. # Bang-bang ( simplified ) control
  183. # See http://smoothieware.org/temperaturecontrol#bang-bang
  184. #temperature_control.bed.bang-bang false # Set to true to use bang-bang control rather than PID
  185. #temperature_control.bed.hysteresis 2.0 # Set to the temperature in degrees C to use as hysteresis
  186.  
  187.  
  188.  
  189. ## Switch modules
  190. # See http://smoothieware.org/switch
  191.  
  192. # Switch Module for fan control
  193.  
  194. switch.fan.enable false # Enable this module
  195. switch.fan.input_on_command M106 # command that will turn this switch on
  196. switch.fan.input_off_command M107 # command that will turn this switch off
  197. switch.fan.output_pin 2.6 # Pin this module controls
  198. switch.fan.output_type pwm # PWM output settable with s parameter in the input_on_command
  199. switch.fan.max_pwm 255 # set max pwm for the pin default is 255
  200.  
  201. switch.misc.enable false # Enable this module
  202. switch.misc.input_on_command M42 # Command that will turn this switch on
  203. switch.misc.input_off_command M43 # command that will turn this switch off
  204. switch.misc.output_pin 2.4 # pin this module controls
  205. switch.misc.output_type digital # Digital means this is just an on off switch
  206.  
  207.  
  208. ## Temperatureswitch
  209. # See http://smoothieware.org/temperatureswitch
  210. # Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different switches
  211. # Usefull to turn on a fan or water pump to cool the hotend
  212.  
  213. #temperatureswitch.hotend.enable true # enable this module
  214. #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
  215. #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
  216. #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn the switch, on ( if rising ) or off
  217. #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 second intervals
  218. #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 second intervals
  219.  
  220.  
  221.  
  222.  
  223. ## Endstops
  224. # See http://smoothieware.org/endstops
  225.  
  226. endstops_enable true # The endstop module is enabled by default and can be disabled here
  227. #corexy false # set to true if homing on a hbot or corexy
  228. alpha_min_endstop 1.24^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
  229. #alpha_max_endstop 1.25^ # pin to read max endstop, uncomment this and comment the above if using max endstops
  230. alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
  231. alpha_min 0 # this gets loaded as the current position after homing when home_to_min is set
  232. #alpha_max 200 # this gets loaded as the current position after homing when home_to_max is set
  233. beta_min_endstop 1.26^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
  234. #beta_max_endstop 1.27^ # pin to read max endstop, uncomment this and comment the above if using max endstops
  235. beta_homing_direction home_to_min # or set to home_to_max and set beta_max and uncomment the beta_max_endstop
  236. beta_min 0 # this gets loaded as the current position after homing when home_to_min is set
  237. #beta_max 200 # this gets loaded as the current position after homing when home_to_max is set
  238. gamma_min_endstop 1.28^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
  239. #gamma_max_endstop 1.29^ # pin to read max endstop, uncomment this and comment the above if using max endstops
  240. gamma_homing_direction home_to_min # or set to home_to_max and set gamma_max and uncomment the gamma_max_endstop
  241. gamma_min 0 # this gets loaded as the current position after homing when home_to_min is set
  242. #gamma_max 200 # this gets loaded as the current position after homing when home_to_max is set
  243.  
  244.  
  245.  
  246. alpha_max_travel 500 # Max travel in mm for alpha/x axis when homing
  247. beta_max_travel 500 # Max travel in mm for beta/y axis when homing
  248. gamma_max_travel 500 # Max travel in mm for gamma/z axis when homing
  249.  
  250.  
  251.  
  252.  
  253. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered ( all are set for delta )
  254. #alpha_limit_enable false # Set to true to enable x min and max limit switches
  255. #beta_limit_enable false # Set to true to enable y min and max limit switches
  256. #gamma_limit_enable false # set to true to enable z min and max limit switches
  257.  
  258.  
  259.  
  260. # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
  261.  
  262. alpha_fast_homing_rate_mm_s 50 # Alpha/x fast homing feedrate in mm/second
  263. alpha_slow_homing_rate_mm_s 25 # Alpha/x slow homing feedrate in mm/second
  264. beta_fast_homing_rate_mm_s 50 # Beta/y fast homing feedrate in mm/second
  265. beta_slow_homing_rate_mm_s 25 # beta/y slow homing feedrate in mm/second
  266. gamma_fast_homing_rate_mm_s 4 # gamma/z fast homing feedrate in mm/second
  267. gamma_slow_homing_rate_mm_s 2 # gamma/z slow homing feedrate in mm/second
  268.  
  269.  
  270.  
  271. alpha_homing_retract_mm 5 # Distance from the endstop after it is hit for alpha/x
  272. beta_homing_retract_mm 5 # Distance from the endstop after it is hit for beta/y
  273. gamma_homing_retract_mm 1 # Distance from the endstop after it is hit for gamma/z
  274.  
  275.  
  276. # Optional enable limit switches, actions will stop if any enabled limit switch is triggered ( all are set for delta )
  277. #alpha_limit_enable false # Set to true to enable x min and max limit switches
  278. #beta_limit_enable false # Set to true to enable y min and max limit switches
  279. #gamma_limit_enable false # set to true to enable z min and max limit switches
  280.  
  281.  
  282. # Optional order in which axis will home, default is they all home at the same time.
  283. # if this is set it will force each axis to home one at a time in the specified order
  284.  
  285. #homing_order xyz # x axis followed by y axis followed by z axis
  286. #move_to_origin_after_home false # Move xy to o,o after homing
  287. #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
  288. #endstop_debounce_ms 1 # uncomment if you get noise on your endstops, default is 1 millesecond debounce
  289. #home_z_first true # uncomment and set to true to home z first, otherwise z homes after xy
  290.  
  291.  
  292. # End of endstop config
  293. # Delete the above endstop section and uncomment next line and copy and edit snippets/abc-endstop.config file to enable endstops for abc axis
  294. #include abc_endstop_config
  295.  
  296.  
  297.  
  298.  
  299. ## Network settings
  300. # see http://smoothieware.org/network
  301. network.enable false # Enable the ethernet network services if set 'true'
  302. network.webserver.enable true # Enable the webserver
  303. network.telnet.enable true # Enable the telnet server
  304. network.ip_address auto # Use DHCP to get ip address if auto else set ip address 192.168.3.222 static
  305.  
  306. # uncomment the following to manually set up the ip address
  307. #network.ip_mask 255.255.255.0 # The ip mask
  308. #network.ip_gateway 192.168.3.1 # The gateway address
  309. #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
  310.  
  311.  
  312.  
  313.  
  314. ## System configuration
  315. # Serial communications configuration ( baud rate defaults 9600 if undefined )
  316. # For communication over the uart port, *not* the USB/serial port
  317. uart0.baud rate 115200 # Baud rate for the default wardware ( UART ) serial port
  318.  
  319.  
  320. second_usb_serial_enable false # This enables a second usb serial port if set true
  321. #leds_disable true # Disable using leds after config loaded
  322. #play_led_disable true # disable the play led
  323.  
  324.  
  325. # Kill maybe assigned to a different pin, set to the onboard pin by default
  326. # See http://smoothieware.org/killbutton
  327. kill_button_enable true # Set to true to enable a kill button
  328. kill_button_pin 2.12 # Kill button pin. default is the same as pause button 2.12 ( 2.11 is another good choice )
  329.  
  330. #msd_disable false # Disable the MSD ( USB SD CARD ), see http://smoothieware.org/troubleshooting#disable-msd
  331.  
  332. #dfu_enable false # FOR LINUX DEVELOPERS, SET TO TRUE TO ENABLE DFU
  333.  
  334.  
  335. # Only needed on a smoothieboard
  336. # see http://smoothieware.org/currentcontrol
  337. currentcontrol_module_enable true # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment