Commit | Line | Data |
---|---|---|
83f1253a MM |
1 | # Robot module configurations : general handling of movement G-codes and slicing into moves |
2 | default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves | |
3 | default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves | |
4 | 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 | |
5 | mm_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 | |
8 | alpha_steps_per_mm 80 # Steps per mm for alpha stepper | |
9 | beta_steps_per_mm 80 # Steps per mm for beta stepper | |
10 | gamma_steps_per_mm 1600 # Steps per mm for gamma stepper | |
11 | ||
12 | # Planner module configuration : Look-ahead and acceleration configuration | |
81c61dc1 | 13 | planner_queue_size 32 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum. |
391d4ce8 | 14 | acceleration 3000 # Acceleration in mm/second/second. |
83f1253a | 15 | acceleration_ticks_per_second 1000 # Number of times per second the speed is updated |
5de98d7c | 16 | junction_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 |
8b69c90d | 18 | #minimum_planner_speed 0.0 # sets the minimum planner speed in mm/sec |
83f1253a MM |
19 | |
20 | # Stepper module configuration | |
21 | microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds | |
22 | minimum_steps_per_minute 1200 # Never step slower than this | |
1a534959 | 23 | base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement |
83f1253a | 24 | |
df6a30f2 MM |
25 | # Cartesian axis speed limits |
26 | x_axis_max_speed 30000 # mm/min | |
27 | y_axis_max_speed 30000 # mm/min | |
28 | z_axis_max_speed 300 # mm/min | |
29 | ||
83f1253a MM |
30 | # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin ) |
31 | alpha_step_pin 2.0 # Pin for alpha stepper step signal | |
32 | alpha_dir_pin 0.5 # Pin for alpha stepper direction | |
33 | alpha_en_pin 0.4 # Pin for alpha enable pin | |
4fa40652 | 34 | alpha_current 1.5 # X stepper motor current |
df6a30f2 | 35 | alpha_max_rate 30000.0 # mm/min |
83f1253a MM |
36 | |
37 | beta_step_pin 2.1 # Pin for beta stepper step signal | |
38 | beta_dir_pin 0.11 # Pin for beta stepper direction | |
39 | beta_en_pin 0.10 # Pin for beta enable | |
4fa40652 | 40 | beta_current 1.5 # Y stepper motor current |
df6a30f2 | 41 | beta_max_rate 30000.0 # mm/min |
83f1253a MM |
42 | |
43 | gamma_step_pin 2.2 # Pin for gamma stepper step signal | |
44 | gamma_dir_pin 0.20 # Pin for gamma stepper direction | |
45 | gamma_en_pin 0.19 # Pin for gamma enable | |
4fa40652 | 46 | gamma_current 1.5 # Z stepper motor current |
df6a30f2 | 47 | gamma_max_rate 300.0 # mm/min |
83f1253a MM |
48 | |
49 | # Serial communications configuration ( baud rate default to 9600 if undefined ) | |
764b2de4 L |
50 | uart0.baud_rate 115200 # Baud rate for the default hardware serial port |
51 | second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected) | |
21320fc6 JM |
52 | #leds_disable true # disable using leds after config loaded |
53 | ||
83f1253a MM |
54 | |
55 | # Extruder module configuration | |
b0b47be7 L |
56 | extruder.one.enable true # Whether to activate the extruder module at all. All configuration is ignored if false |
57 | extruder.one.steps_per_mm 140 # Steps per mm for extruder stepper | |
58 | extruder.one.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves | |
59 | extruder.one.acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio | |
60 | extruder.one.max_speed 1000 # mm^3/s | |
61 | ||
62 | extruder.one.step_pin 2.3 # Pin for extruder step signal | |
63 | extruder.one.dir_pin 0.22 # Pin for extruder dir signal | |
64 | extruder.one.en_pin 0.21 # Pin for extruder enable signal | |
65 | ||
66 | # for now the first extruder's offsets should be left at 0 or homing will get confused | |
67 | extruder.one.x_offset 0 # x offset from first tool in mm | |
68 | extruder.one.y_offset 0 # y offset from first tool in mm | |
69 | extruder.one.z_offset 0 # z offset from first tool in mm | |
70 | ||
71 | delta_current 1.5 # First extruder stepper motor current | |
72 | ||
73 | # Second extruder module configuration | |
74 | #extruder.two.enable true # Whether to activate the extruder module at all. All configuration is ignored if false | |
75 | #extruder.two.steps_per_mm 140 # Steps per mm for extruder stepper | |
76 | #extruder.two.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves | |
77 | #extruder.two.acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio | |
78 | #extruder.two.max_speed 1000 # mm^3/s | |
79 | ||
80 | #extruder.two.step_pin 2.8 # Pin for extruder step signal | |
81 | #extruder.two.dir_pin 2.13 # Pin for extruder dir signal | |
82 | #extruder.two.en_pin 4.29 # Pin for extruder enable signal | |
83 | ||
84 | #extruder.two.x_offset 50 # x offset from first tool in mm | |
85 | #extruder.two.y_offset 0 # y offset from first tool in mm | |
86 | #extruder.two.z_offset 0 # z offset from first tool in mm | |
87 | ||
88 | #epsilon_current 1.5 # First extruder stepper motor current | |
83f1253a MM |
89 | |
90 | # Laser module configuration | |
91 | laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false. | |
4d8069a0 L |
92 | #laser_module_pin 2.7 # this pin will be PWMed to control the laser |
93 | #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser | |
94 | #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning | |
63cf528f | 95 | #laser_module_pwm_period 20 # this sets the pwm frequency, the value is the period in microseconds |
83f1253a MM |
96 | |
97 | # Hotend temperature control configuration | |
98 | temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false. | |
99 | temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read | |
83953434 | 100 | temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater |
83f1253a MM |
101 | temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names |
102 | temperature_control.hotend.set_m_code 104 # | |
103 | temperature_control.hotend.set_and_wait_m_code 109 # | |
4ade0e35 | 104 | temperature_control.hotend.designator T # |
83f1253a | 105 | |
3617b234 JM |
106 | #temperature_control.hotend.p_factor 13.7 # permanenetly set the PID values after an auto pid |
107 | #temperature_control.hotend.i_factor 0.097 # | |
108 | #temperature_control.hotend.d_factor 24 # | |
109 | ||
110 | #temperature_control.hotend.max_pwm 64 # override max pwm, 64 is a good value if driving a 12v resistor with 24v. | |
111 | ||
83f1253a MM |
112 | temperature_control.bed.enable true # |
113 | temperature_control.bed.thermistor_pin 0.24 # | |
83953434 | 114 | temperature_control.bed.heater_pin 2.5 # |
83f1253a MM |
115 | temperature_control.bed.thermistor Honeywell100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names |
116 | temperature_control.bed.set_m_code 140 # | |
117 | temperature_control.bed.set_and_wait_m_code 190 # | |
4ade0e35 | 118 | temperature_control.bed.designator B # |
83f1253a MM |
119 | |
120 | # Switch module for fan control | |
121 | switch.fan.enable true # | |
a044ee23 L |
122 | switch.fan.input_on_command M106 # |
123 | switch.fan.input_off_command M107 # | |
83f1253a MM |
124 | switch.fan.output_pin 2.6 # |
125 | ||
a044ee23 L |
126 | #switch.misc.enable true # |
127 | #switch.misc.input_on_command M42 # | |
128 | #switch.misc.input_off_command M43 # | |
129 | #switch.misc.output_pin 2.4 # | |
83f1253a MM |
130 | |
131 | # Switch module for spindle control | |
a044ee23 | 132 | #switch.spindle.enable false # |
83f1253a MM |
133 | |
134 | # Endstops | |
3f92b681 | 135 | endstops_enable true # the endstop module is enabled by default and can be disabled here |
e367bd54 | 136 | #corexy_homing false # set to true if homing on a hbit or corexy |
821587de | 137 | alpha_min_endstop 1.24^ # add a ! to invert if endstop is NO connected to ground |
0c6616d1 | 138 | alpha_max_endstop 1.25^ # |
a64e8935 JM |
139 | alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max |
140 | alpha_min 0 # this gets loaded after homing when home_to_min is set | |
141 | alpha_max 200 # this gets loaded after homing when home_to_max is set | |
0c6616d1 A |
142 | beta_min_endstop 1.26^ # |
143 | beta_max_endstop 1.27^ # | |
409ff5b3 | 144 | beta_homing_direction home_to_min # |
3ffe27fb AV |
145 | beta_min 0 # |
146 | beta_max 200 # | |
0c6616d1 A |
147 | gamma_min_endstop 1.28^ # |
148 | gamma_max_endstop 1.29^ # | |
409ff5b3 | 149 | gamma_homing_direction home_to_min # |
3ffe27fb AV |
150 | gamma_min 0 # |
151 | gamma_max 200 # | |
83f1253a | 152 | |
5de98d7c JM |
153 | alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second |
154 | beta_fast_homing_rate_mm_s 50 # " | |
155 | gamma_fast_homing_rate_mm_s 4 # " | |
156 | alpha_slow_homing_rate_mm_s 25 # " | |
157 | beta_slow_homing_rate_mm_s 25 # " | |
158 | gamma_slow_homing_rate_mm_s 2 # " | |
a803eb76 | 159 | |
5de98d7c JM |
160 | alpha_homing_retract_mm 5 # distance in mm |
161 | beta_homing_retract_mm 5 # " | |
162 | gamma_homing_retract_mm 1 # " | |
a803eb76 | 163 | |
c45f5011 JM |
164 | #endstop_debounce_count 100 # uncomment if you get noise on your endstops |
165 | ||
a803eb76 JM |
166 | # Pause button |
167 | pause_button_enable true # | |
168 | ||
83f1253a | 169 | # Panel |
1a23a9c7 | 170 | panel.enable false # set to true to enable the panel code |
5de98d7c | 171 | panel.lcd smoothiepanel # set type of panel also viki_lcd, i2c_lcd is a generic i2c panel, panelolu2 |
f597c052 JM |
172 | panel.encoder_a_pin 1.22!^ # encoder pin |
173 | panel.encoder_b_pin 1.23!^ # encoder pin | |
19fb4629 | 174 | |
af301cc4 | 175 | # Example for reprap discount GLCD |
5de98d7c | 176 | # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc. |
bb5d4dd1 JM |
177 | # +5v is EXP1 pin 10, Gnd is EXP1 pin 9 |
178 | #panel.lcd reprap_discount_glcd # | |
179 | #panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK) | |
180 | #panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4 | |
f597c052 JM |
181 | #panel.encoder_a_pin 1.22!^ # encoder pin ; GLCD EXP2 Pin 3 |
182 | #panel.encoder_b_pin 1.23!^ # encoder pin ; GLCD EXP2 Pin 5 | |
5de98d7c | 183 | #panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2 |
bb5d4dd1 | 184 | #panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1 |
49403d01 | 185 | #panel.button_pause_pin 2.11^ # kill/pause ; GLCD EXP2 Pin 8 |
bb5d4dd1 JM |
186 | |
187 | # pins used with other panels | |
35089dc7 JM |
188 | #panel.up_button_pin 0.1! # up button if used |
189 | #panel.down_button_pin 0.0! # down button if used | |
190 | #panel.click_button_pin 0.18! # click button if used | |
191 | ||
f597c052 JM |
192 | panel.menu_offset 0 # some panels will need 1 here |
193 | ||
35089dc7 JM |
194 | panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min |
195 | panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min | |
196 | panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min | |
83f1253a | 197 | |
1065cae0 JM |
198 | panel.hotend_temperature 185 # temp to set hotend when preheat is selected |
199 | panel.bed_temperature 60 # temp to set bed when preheat is selected | |
200 | ||
21320fc6 | 201 | # Example of a custom menu entry, which will show up in the Custom entry. |
5ff3e912 | 202 | # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands |
ca6effd7 JM |
203 | custom_menu.power_on.enable true # |
204 | custom_menu.power_on.name Power_on # | |
205 | custom_menu.power_on.command M80 # | |
206 | ||
207 | custom_menu.power_off.enable true # | |
208 | custom_menu.power_off.name Power_off # | |
209 | custom_menu.power_off.command M81 # | |
210 | ||
83f1253a MM |
211 | # Only needed on a smoothieboard |
212 | currentcontrol_module_enable true # | |
74b6303c | 213 | |
b03b17d7 | 214 | return_error_on_unhandled_gcode false # |
74b6303c | 215 | |
d4ee6ee2 JM |
216 | # network settings |
217 | network.enable false # enable the ethernet network services | |
218 | network.webserver.enable true # enable the webserver | |
219 | network.telnet.enable true # enable the telnet server | |
220 | network.ip_address auto # use dhcp to get ip address | |
221 | # uncomment the 3 below to manually setup ip address | |
222 | #network.ip_address 192.168.3.222 # the IP address | |
223 | #network.ip_mask 255.255.255.0 # the ip mask | |
224 | #network.ip_gateway 192.168.3.1 # the gateway address | |
225 | #network.mac_override xx.xx.xx.xx.xx.xx # override the mac address, only do this if you have a conflict |