# Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie # NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored ## Robot module configurations : general handling of movement G-codes and slicing into moves # Basic motion configuration default_feed_rate 48000 # 6000 # Default speed (mm/minute) for G1/G2/G3 moves default_seek_rate 48000 # 6000 # Default speed (mm/minute) for G0 moves mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable # note it is invalid for both the above be 0 # if both are used, will use largest segment length based on radius # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions # See http://smoothieware.org/stepper-motors alpha_steps_per_mm 44.291 # Steps per mm for alpha ( X ) stepper beta_steps_per_mm 44.291 # Steps per mm for beta ( Y ) stepper gamma_steps_per_mm 200 # Steps per mm for gamma ( Z ) stepper # Planner module configuration : Look-ahead and acceleration configuration # See http://smoothieware.org/motion-control acceleration 1000 # 3000 # Acceleration in mm/second/second. junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation # Cartesian axis speed limits x_axis_max_speed 300000 # Maximum speed in mm/min y_axis_max_speed 300000 # Maximum speed in mm/min z_axis_max_speed 300000 # Maximum speed in mm/min # Stepper module configuration # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin # See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout alpha_step_pin 2.0 # Pin for alpha stepper step signal alpha_dir_pin 0.5! # Pin for alpha stepper direction, add '!' to reverse direction alpha_en_pin 0.4 # Pin for alpha enable pin alpha_current 1.5 # X stepper motor current alpha_max_rate 48000.0 # Maximum rate in mm/min beta_step_pin 2.1 # Pin for beta stepper step signal beta_dir_pin 0.11 # Pin for beta stepper direction, add '!' to reverse direction beta_en_pin 0.10 # Pin for beta enable beta_current 1.5 # Y stepper motor current beta_max_rate 48000.0 # Maxmimum rate in mm/min gamma_step_pin 2.2 # Pin for gamma stepper step signal gamma_dir_pin 0.20 # Pin for gamma stepper direction, add '!' to reverse direction gamma_en_pin 0.19 # Pin for gamma enable gamma_current 1.5 # Z stepper motor current gamma_max_rate 48000.0 # Maximum rate in mm/min ## Endstops endstop.alpha.enable true endstop.alpha.axis X # Axis to home endstop.alpha.pin 1.24^! # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground endstop.alpha.homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop endstop.alpha.homing_position -5 # This gets loaded as the current position after homing when home_to_min is set endstop.beta.enable true endstop.beta.axis Y # Axis to home endstop.beta.pin 1.26^! # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground endstop.beta.homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop endstop.beta.homing_position -5 # This gets loaded as the current position after homing when home_to_min is set # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy endstop.alpha.fast_rate 50 # Alpha/X fast homing feedrate in mm/second endstop.alpha.slow_rate 25 # Alpha/X slow homing feedrate in mm/second endstop.beta.fast_rate 50 # Beta/Y fast homing feedrate in mm/second endstop.beta.slow_rate 25 # Beta/Y slow homing feedrate in mm/second # Max travel while homing, should be slightly more than the bed size endstop.alpha.max_travel 520 # Max travel in mm for alpha/X axis when homing endstop.beta.max_travel 330 # Max travel in mm for beta/Y axis when homing # Retract this far before starting the slow homing, and also after the slow homing endstop.alpha.retract 5 # Distance to retract from the endstop after it is hit for alpha/X endstop.beta.retract 5 # Distance to retract from the endstop after it is hit for beta/Y # Hard limits: If the limit switches are touched while running, enter halt state endstop.alpha.limit_enable true # Set to true to enable X min and max limit switches endstop.beta.limit_enable true # Set to true to enable Y min and max limit switches # Optional order in which axis will home, default is they all home at the same time, # If this is set it will force each axis to home one at a time in the specified order #homing_order XYZ # X axis followed by Y then Z last #move_to_origin_after_home false # Move XY to 0,0 after homing #endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100 #endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce #home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY # End of endstop config # Soft limits: When g-code commands exceed these limits, enter halt state soft_endstop.enable true # Enable soft endstops soft_endstop.x_min 0 # Minimum X position soft_endstop.x_max 510 # Maximum X position soft_endstop.y_min 0 # Minimum Y position soft_endstop.y_max 320 # Maximum Y position soft_endstop.halt true # Whether to issue a HALT state when hitting a soft endstop (if false, will just ignore commands that would exceed the limit) ## Laser module configuration # See http://smoothieware.org/laser laser_module_enable true # Whether to activate the laser module at all laser_module_pwm_pin 2.5 # This pin will be PWMed to control the laser. # 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 # can be used since laser requires hardware PWM, see http://smoothieware.org/pinout laser_module_ttl_pin 2.7 # This pin turns on when the laser turns on, and off when the laser turns off. laser_module_minimum_power 0.095 # 0.10 # This is a value just below the minimum duty cycle that keeps the laser laser_module_maximum_power 0.8 # active without actually burning. #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 # the maximum and minimum power levels specified above laser_module_pwm_period 50 # This sets the pwm frequency as the period in microseconds ## Panel # See http://smoothieware.org/panel # Please find your panel on the wiki and copy/paste the right configuration here panel.enable false # Set to true to enable the panel code # Example for reprap discount GLCD # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc. # +5v is EXP1 pin 10, Gnd is EXP1 pin 9 #panel.lcd reprap_discount_glcd # #panel.spi_channel 0 # SPI channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK) #panel.spi_cs_pin 0.16 # SPI chip select ; GLCD EXP1 Pin 4 #panel.encoder_a_pin 3.25!^ # Encoder pin ; GLCD EXP2 Pin 3 #panel.encoder_b_pin 3.26!^ # Encoder pin ; GLCD EXP2 Pin 5 #panel.click_button_pin 1.30!^ # Click button ; GLCD EXP1 Pin 2 #panel.buzz_pin 1.31 # Pin for buzzer ; GLCD EXP1 Pin 1 #panel.back_button_pin 2.11!^ # Back button ; GLCD EXP2 Pin 8 #panel.menu_offset 0 # Some panels will need 1 here # #panel.alpha_jog_feedrate 6000 # X jogging feedrate in mm/min #panel.beta_jog_feedrate 6000 # Y jogging feedrate in mm/min #panel.gamma_jog_feedrate 200 # Z jogging feedrate in mm/min # #panel.hotend_temperature 185 # Temp to set hotend when preheat is selected #panel.bed_temperature 60 # Temp to set bed when preheat is selected ## Custom menus : Example of a custom menu entry, which will show up in the Custom entry. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands #custom_menu.power_on.enable true # #custom_menu.power_on.name Power_on # #custom_menu.power_on.command M80 # # #custom_menu.power_off.enable true # #custom_menu.power_off.name Power_off # #custom_menu.power_off.command M81 # ## Network settings # See http://smoothieware.org/network network.enable true # Enable the ethernet network services network.webserver.enable true # Enable the webserver network.telnet.enable true # Enable the telnet server #network.ip_address auto # Use dhcp to get ip address network.ip_address 10.0.0.17 # The IP address network.ip_mask 255.255.255.0 # The ip mask network.ip_gateway 10.0.0.1 # The gateway address #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict ## System configuration # Serial communications configuration ( baud rate defaults to 9600 if undefined ) # For communication over the UART port, *not* the USB/Serial port uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port second_usb_serial_enable false # This enables a second USB serial port #leds_disable true # Disable using leds after config loaded #play_led_disable true # Disable the play led #msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd #dfu_enable false # For linux developers, set to true to enable DFU # Only needed on a smoothieboard # See http://smoothieware.org/currentcontrol currentcontrol_module_enable true # Control stepper motor current via the configuration file # Fablab, home bij booten: on_boot_gcode /sd/helpers/on_boot.gcode # Buttons # left, Z/U, origin: 2.8 # down, language, start/pause: 2.13 # reset, min power, laser: 4.29 # Fablab, start-button switch.startjob.enable true switch.startjob.input_pin 2.13!^ switch.startjob.input_pin_behavior momentary switch.startjob.output_on_command M24 switch.startjob.startup_state False # Start/pause button seems to be flaky sometimes (or maybe cables) so configure a backup start button switch.startjob2.enable true switch.startjob2.input_pin 2.8!^ switch.startjob2.input_pin_behavior momentary switch.startjob2.output_on_command M24 switch.startjob2.startup_state False # Start/pause button seems to be flaky sometimes (or maybe cables) so configure a backup start button switch.reset.enable true switch.reset.input_pin 4.29!^ switch.reset.input_pin_behavior momentary switch.reset.output_on_command abort switch.reset.startup_state False # Note: When the rotational axis is connected, the "config-rotation" # file is additionally loaded to configure Smoothie for rotational # operation. # # This is implemented using a custom firmware version for Fablab # Amersfoort, that hardcodes a pin to read at startup, and if it is # active, load an additional config file. The rotational axis is wired # in such a way that connecting it will activate this pin. # See https://github.com/Fablab-Amersfoort/Smoothieware