added hbot/corexy homing
[clinton/Smoothieware.git] / ConfigSamples / Smoothieboard / config
CommitLineData
83f1253a
MM
1# Robot module configurations : general handling of movement G-codes and slicing into moves
2default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves
3default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves
4mm_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
5mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
83f1253a
MM
6
7# Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
8alpha_steps_per_mm 80 # Steps per mm for alpha stepper
9beta_steps_per_mm 80 # Steps per mm for beta stepper
10gamma_steps_per_mm 1600 # Steps per mm for gamma stepper
11
12# Planner module configuration : Look-ahead and acceleration configuration
13planner_queue_size 64 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum.
391d4ce8 14acceleration 3000 # Acceleration in mm/second/second.
83f1253a 15acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
4ba6d861 16junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
f1170978 17 # 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
83f1253a
MM
18
19# Stepper module configuration
20microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
21minimum_steps_per_minute 1200 # Never step slower than this
1a534959 22base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
83f1253a
MM
23
24# Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
25alpha_step_pin 2.0 # Pin for alpha stepper step signal
26alpha_dir_pin 0.5 # Pin for alpha stepper direction
27alpha_en_pin 0.4 # Pin for alpha enable pin
4fa40652 28alpha_current 1.5 # X stepper motor current
391d4ce8 29x_axis_max_speed 30000 # mm/min
83f1253a
MM
30
31beta_step_pin 2.1 # Pin for beta stepper step signal
32beta_dir_pin 0.11 # Pin for beta stepper direction
33beta_en_pin 0.10 # Pin for beta enable
4fa40652 34beta_current 1.5 # Y stepper motor current
a0f83122 35y_axis_max_speed 30000 # mm/min
83f1253a
MM
36
37gamma_step_pin 2.2 # Pin for gamma stepper step signal
38gamma_dir_pin 0.20 # Pin for gamma stepper direction
39gamma_en_pin 0.19 # Pin for gamma enable
4fa40652 40gamma_current 1.5 # Z stepper motor current
a0f83122 41z_axis_max_speed 300 # mm/min
83f1253a
MM
42
43# Serial communications configuration ( baud rate default to 9600 if undefined )
764b2de4
L
44uart0.baud_rate 115200 # Baud rate for the default hardware serial port
45second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
83f1253a
MM
46
47# Extruder module configuration
48extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
49extruder_steps_per_mm 140 # Steps per mm for extruder stepper
50extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
51extruder_acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
a0f83122 52extruder_max_speed 1000 # mm^3/s
83f1253a
MM
53
54extruder_step_pin 2.3 # Pin for extruder step signal
55extruder_dir_pin 0.22 # Pin for extruder dir signal
56extruder_en_pin 0.21 # Pin for extruder enable signal
4fa40652 57delta_current 1.5 # Extruder stepper motor current
83f1253a
MM
58
59# Laser module configuration
60laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
4d8069a0
L
61#laser_module_pin 2.7 # this pin will be PWMed to control the laser
62#laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
63#laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
83f1253a
MM
64
65# Hotend temperature control configuration
66temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
67temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
83953434 68temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater
83f1253a
MM
69temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
70temperature_control.hotend.set_m_code 104 #
71temperature_control.hotend.set_and_wait_m_code 109 #
4ade0e35 72temperature_control.hotend.designator T #
83f1253a
MM
73
74temperature_control.bed.enable true #
75temperature_control.bed.thermistor_pin 0.24 #
83953434 76temperature_control.bed.heater_pin 2.5 #
83f1253a
MM
77temperature_control.bed.thermistor Honeywell100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
78temperature_control.bed.set_m_code 140 #
79temperature_control.bed.set_and_wait_m_code 190 #
4ade0e35 80temperature_control.bed.designator B #
83f1253a
MM
81
82# Switch module for fan control
83switch.fan.enable true #
a044ee23
L
84switch.fan.input_on_command M106 #
85switch.fan.input_off_command M107 #
83f1253a
MM
86switch.fan.output_pin 2.6 #
87
a044ee23
L
88#switch.misc.enable true #
89#switch.misc.input_on_command M42 #
90#switch.misc.input_off_command M43 #
91#switch.misc.output_pin 2.4 #
83f1253a
MM
92
93# Switch module for spindle control
a044ee23 94#switch.spindle.enable false #
83f1253a
MM
95
96# Endstops
3f92b681 97endstops_enable true # the endstop module is enabled by default and can be disabled here
821587de 98alpha_min_endstop 1.24^ # add a ! to invert if endstop is NO connected to ground
0c6616d1 99alpha_max_endstop 1.25^ #
a64e8935
JM
100alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
101alpha_min 0 # this gets loaded after homing when home_to_min is set
102alpha_max 200 # this gets loaded after homing when home_to_max is set
0c6616d1
A
103beta_min_endstop 1.26^ #
104beta_max_endstop 1.27^ #
409ff5b3 105beta_homing_direction home_to_min #
3ffe27fb
AV
106beta_min 0 #
107beta_max 200 #
0c6616d1
A
108gamma_min_endstop 1.28^ #
109gamma_max_endstop 1.29^ #
409ff5b3 110gamma_homing_direction home_to_min #
3ffe27fb
AV
111gamma_min 0 #
112gamma_max 200 #
83f1253a 113
a803eb76
JM
114alpha_fast_homing_rate 3000 # rates in steps/second
115beta_fast_homing_rate 3000 # depends on steps/mm setting above
116gamma_fast_homing_rate 30000 # "
117alpha_slow_homing_rate 1000 # "
118beta_slow_homing_rate 1000 # "
119gamma_slow_homing_rate 10000
120
121alpha_homing_retract 500 # "
122beta_homing_retract 500 # "
123gamma_homing_retract 5000 # "
124
125# Pause button
126pause_button_enable true #
127
83f1253a 128# Panel
1a23a9c7
JM
129panel.enable false # set to true to enable the panel code
130panel.lcd smoothiepanel # set type of panel also viki_lcd, i2c_lcd is a generic i2c panel, panelolu2
f597c052
JM
131panel.encoder_a_pin 1.22!^ # encoder pin
132panel.encoder_b_pin 1.23!^ # encoder pin
19fb4629 133
af301cc4 134# Example for reprap discount GLCD
bb5d4dd1
JM
135# on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
136# +5v is EXP1 pin 10, Gnd is EXP1 pin 9
137#panel.lcd reprap_discount_glcd #
138#panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
139#panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
f597c052
JM
140#panel.encoder_a_pin 1.22!^ # encoder pin ; GLCD EXP2 Pin 3
141#panel.encoder_b_pin 1.23!^ # encoder pin ; GLCD EXP2 Pin 5
bb5d4dd1
JM
142#panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
143#panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
49403d01 144#panel.button_pause_pin 2.11^ # kill/pause ; GLCD EXP2 Pin 8
bb5d4dd1
JM
145
146# pins used with other panels
35089dc7
JM
147#panel.up_button_pin 0.1! # up button if used
148#panel.down_button_pin 0.0! # down button if used
149#panel.click_button_pin 0.18! # click button if used
150
f597c052
JM
151panel.menu_offset 0 # some panels will need 1 here
152
35089dc7
JM
153panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
154panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
155panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
83f1253a 156
1065cae0
JM
157panel.hotend_temperature 185 # temp to set hotend when preheat is selected
158panel.bed_temperature 60 # temp to set bed when preheat is selected
159
83f1253a
MM
160# Only needed on a smoothieboard
161currentcontrol_module_enable true #
74b6303c 162
b03b17d7 163return_error_on_unhandled_gcode false #
74b6303c 164