You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

214 lines
11 KiB

# Robot module configurations : general handling of movement G-codes and slicing into moves
default_feed_rate 2000 # Default rate ( mm/minute ) for G1/G2/G3 moves
default_seek_rate 2000 # Default rate ( mm/minute ) for G0 moves
mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for these segments. Smaller values mean more resolution, higher values mean faster computation
#mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
# Sample arm solution configuration for a CoreXY style robot
arm_solution corexy # selects the corexz solution
#x_reduction 1.0 # standard CoreXZ has no reduction on x axis
#z_reduction 3.0 # standard CoreXZ has 3X reduction on z axis
# Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
alpha_steps_per_mm 40 # xy motor 1
beta_steps_per_mm 40 # xy motor 2
gamma_steps_per_mm 110 # z axis motor
# Planner module configuration : Look-ahead and acceleration configuration
planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOUR ARE DOING
acceleration 1000 # Acceleration in mm/second/second.
#z_acceleration 500 # Acceleration for Z only moves in mm/s^2, 0 disables it, disabled by default. DO NOT SET ON A DELTA
acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
# 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
# Stepper module configuration
microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
base_stepping_frequency 100000 # Base frequency for stepping
# Stepper module pins
alpha_step_pin 2.1 # Pin for alpha stepper step signal
alpha_dir_pin 0.11 # Pin for alpha stepper direction
alpha_en_pin 0.10 # Pin for alpha enable pin 0.10
alpha_current 1.45 # X stepper motor current
x_axis_max_speed 30000 # mm/min
alpha_max_rate 30000 # mm/min actuator max speed
beta_step_pin 2.2 # Pin for beta stepper step signal
beta_dir_pin 0.20 # Pin for beta stepper direction
beta_en_pin 0.19 # Pin for beta enable
beta_current 1.45 # Y stepper motor current
y_axis_max_speed 30000 # mm/min
beta_max_rate 30000 # mm/min actuator max speed
gamma_step_pin 2.3 # Pin for gamma stepper step signal
gamma_dir_pin 0.22 # Pin for gamma stepper direction
gamma_en_pin 0.21 # Pin for gamma enable
gamma_current 1.0 # Z stepper motor current
z_axis_max_speed 300 # mm/min
gamma_max_rate 300.0 # mm/min actuator max speed
# Serial communications configuration ( baud rate default to 9600 if undefined )
uart0.baud_rate 115200 # Baud rate for the default hardware serial port
second_usb_serial_enable true # This enables a second usb serial port
##################################################################
# Switch module
# https://smoothieware.org/switch
##################################################################
# AUX1 - A3
switch.relay1.enable false
switch.relay1.input_on_command M106
switch.relay1.input_off_command M107
switch.relay1.subcode 4
switch.relay1.output_pin 0.27!
switch.relay1.output_type digital
switch.relay1.startup_value 0
# AUX1 - A4
switch.relay2.enable true
switch.relay2.input_on_command M106
switch.relay2.input_off_command M107
switch.relay2.subcode 5
switch.relay2.output_pin 0.28!
switch.relay2.output_type digital
switch.relay2.startup_value 0
##################################################################
# RE-ARM specific settings do not change
##################################################################
currentcontrol_module_enable false
digipot_max_current 2.4 # max current
digipot_factor 106.0 # factor for converting current to digipot value
leds_disable true # disable using leds after config loaded
network.enable false # enable the ethernet network services
dfu_enable true # enable dfu
panel.enable false # set to true to enable the panel code
#msd_disable false # disable the MSD (USB SDCARD) when set to true
#switch.spindle.enable false # Switch module for spindle control
return_error_on_unhandled_gcode false
##################################################################
# VACUUM SENSING
##################################################################
# pump D8
switch.pump.enable true # Enable this module
switch.pump.input_on_command M280 # M280.1 S7.5 would be midway
switch.pump.input_off_command M281 # Same as M280.1 S0 0% duty cycle, effectively off
#switch.pump.subcode 1
switch.pump.output_pin 2.7 # Must be a PWM capable pin
switch.pump.output_type pwm # H/W pwm output settable with S parameter in the input_on_command
switch.pump.max_pwm 255 # Set max PWM for the pin default is 255
switch.pump.failsafe_set_to 0 # 0or 1 what to set the output pin to in case of a crash or HALT condition
# left solenoid D9
switch.left.enable true # Enable this module
switch.left.input_on_command M106
switch.left.input_off_command M107
switch.left.subcode 2
switch.left.output_pin 2.4
switch.left.output_type digital
switch.left.failsafe_set_to 0 # 0 or 1 what to set the output pin to in case of a crash or HALT condition
#switch.left.output_on_command abort # this command is called when the switch changes to the ON state
#switch.left.output_off_command resume # This command is called when the switch changes to the OFF state
switch.left.startup_value 0
# right solenoid D10
switch.right.enable true # Enable this module
switch.right.input_on_command M106
switch.right.input_off_command M107
switch.right.subcode 3
switch.right.output_pin 2.5
switch.right.output_type digital
switch.right.failsafe_set_to 0 # 0 or 1 what to set the output pin to in case of a crash or HALT condition
#switch.right.output_on_command abort # this command is called when the switch changes to the ON state
#switch.right.output_off_command resume # This command is called when the switch changes to the OFF state
switch.right.startup_value 0
##################################################################
# HEADS SENSING
##################################################################
# Extruder module configuration
extruder.left.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
extruder.left.steps_per_mm 150 # Steps per mm for extruder stepper
extruder.left.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
extruder.left.acceleration 500 # Acceleration for the stepper motor mm/sec²
extruder.left.max_speed 50 # mm/s
extruder.left.step_pin 2.0 # Pin for extruder step signal
extruder.left.dir_pin 0.5 # Pin for extruder dir signal
extruder.left.en_pin 0.4 # Pin for extruder enable signal
extruder.left.x_offset 0 # x offset from origin in mm
extruder.left.y_offset 0 # y offset from origin in mm
extruder.left.z_offset 0 # z offset from origin in mm
# Second extruder module configuration
extruder.right.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
extruder.right.steps_per_mm 150 # Steps per mm for extruder stepper
extruder.right.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
extruder.right.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
extruder.right.max_speed 50 # mm/s
extruder.right.step_pin 2.8 # Pin for extruder step signal
extruder.right.dir_pin 2.13 # Pin for extruder dir signal
extruder.right.en_pin 4.29 # Pin for extruder enable signal
extruder.right.x_offset 0 # x offset from origin in mm
extruder.right.y_offset 0 # y offset from origin in mm
extruder.right.z_offset 0 # z offset from origin in mm
##################################################################
# Endstops
# See http://smoothieware.org/endstops
##################################################################
endstops_enable true # The endstop module is enabled by default and can be disabled here
corexy_homing true # Set to true if homing on a hbot or corexy
home_z_first true
Move_to_origin_after_home true
alpha_min_endstop 1.24^ # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
alpha_max_endstop 1.25^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
alpha_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
alpha_min 0 # This gets loaded as the current position after homing when home_to_min is set
alpha_max 500 # This gets loaded as the current position after homing when home_to_max is set
beta_min_endstop 1.26 # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#beta_max_endstop 1.27 # Pin to read max endstop, uncomment this and comment the above if using max endstops
beta_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
beta_min 0 # This gets loaded as the current position after homing when home_to_min is set
beta_max 500 # This gets loaded as the current position after homing when home_to_max is set
gamma_min_endstop 1.28 # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#gamma_max_endstop 1.29 # Pin to read max endstop, uncomment this and comment the above if using max endstops
gamma_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
gamma_min 50 # This gets loaded as the current position after homing when home_to_min is set
gamma_max 50 # This gets loaded as the current position after homing when home_to_max is set
# optional enable limit switches, actions will stop if any enabled limit switch is triggered
alpha_limit_enable false # set to true to enable X min and max limit switches
beta_limit_enable false # set to true to enable Y min and max limit switches
gamma_limit_enable false # set to true to enable Z min and max limit switches
alpha_max_travel 600 # Max travel in mm for alpha/X axis when homing
beta_max_travel 600 # Max travel in mm for beta/Y axis when homing
gamma_max_travel 150 # Max travel in mm for gamma/Z axis when homing
alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second
beta_fast_homing_rate_mm_s 50 # "
gamma_fast_homing_rate_mm_s 50 # "
alpha_slow_homing_rate_mm_s 25 # "
beta_slow_homing_rate_mm_s 25 # "
gamma_slow_homing_rate_mm_s 25 # "
alpha_homing_retract_mm 10 # distance in mm
beta_homing_retract_mm 10 # "
#gamma_homing_retract_mm 10 # "
#endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100