Commit | Line | Data |
---|---|---|
39257fa3 JM |
1 | # Robot module configurations : general handling of movement G-codes and slicing into moves |
2 | ||
3 | arm_solution kossel # delta selection | |
4 | arm_length 370.00 # this is the length of an arm from hinge to hinge | |
5 | arm_radius 203.00 # this is the horiontal distance from hinge to hinge when the effector is centered | |
6 | ||
7 | default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves | |
8 | default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves | |
9 | 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 | |
10 | #mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ). | |
11 | delta_segments_per_second 100 # segments per second used for deltas | |
12 | ||
13 | # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions | |
14 | alpha_steps_per_mm 110.02 # Steps per mm for alpha stepper | |
15 | beta_steps_per_mm 110.02 # Steps per mm for beta stepper | |
16 | gamma_steps_per_mm 110.02 # Steps per mm for gamma stepper | |
17 | ||
18 | # Planner module configuration : Look-ahead and acceleration configuration | |
19 | planner_queue_size 32 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum. | |
20 | acceleration 1000 # Acceleration in mm/second/second. | |
21 | acceleration_ticks_per_second 1000 # Number of times per second the speed is updated | |
22 | junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409 | |
23 | # 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 | |
24 | ||
25 | # Stepper module configuration | |
26 | microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds | |
27 | minimum_steps_per_minute 1200 # Never step slower than this | |
28 | base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement | |
29 | ||
30 | # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin ) | |
31 | alpha_step_pin 2.1 # Pin for alpha stepper step signal | |
32 | alpha_dir_pin 0.11 # Pin for alpha stepper direction | |
33 | alpha_en_pin 0.10 # Pin for alpha enable pin | |
34 | alpha_current 1.0 # X stepper motor current | |
717cfc29 JM |
35 | alpha_max_rate 30000.0 # mm/min actuator max speed |
36 | x_axis_max_speed 30000.0 # mm/min cartesian max speed | |
39257fa3 JM |
37 | |
38 | beta_step_pin 2.2 # Pin for beta stepper step signal | |
39 | beta_dir_pin 0.20 # Pin for beta stepper direction | |
40 | beta_en_pin 0.19 # Pin for beta enable | |
41 | beta_current 1.0 # Y stepper motor current | |
717cfc29 JM |
42 | beta_max_rate 30000.0 # mm/min |
43 | y_axis_max_speed 30000.0 # mm/min | |
39257fa3 JM |
44 | |
45 | gamma_step_pin 2.3 # Pin for gamma stepper step signal | |
46 | gamma_dir_pin 0.22 # Pin for gamma stepper direction | |
47 | gamma_en_pin 0.21 # Pin for gamma enable | |
48 | gamma_current 1.0 # Z stepper motor current | |
717cfc29 JM |
49 | gamma_max_rate 30000.0 # mm/min |
50 | z_axis_max_speed 30000.0 # mm/min | |
39257fa3 JM |
51 | |
52 | # Serial communications configuration ( baud rate default to 9600 if undefined ) | |
53 | uart0.baud_rate 115200 # Baud rate for the default hardware serial port | |
54 | second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected) | |
55 | ||
56 | # Extruder module configuration | |
57 | extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false | |
58 | extruder_steps_per_mm 710.00 # Steps per mm for extruder stepper | |
59 | extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves | |
60 | extruder_acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio | |
ef3021e6 | 61 | extruder_max_speed 25 # mm/sec NOTE |
39257fa3 JM |
62 | |
63 | extruder_step_pin 2.0 # Pin for extruder step signal | |
64 | extruder_dir_pin 0.5 # Pin for extruder dir signal | |
65 | extruder_en_pin 0.4 # Pin for extruder enable signal | |
66 | delta_current 0.7 # Extruder stepper motor current | |
67 | ||
68 | # Laser module configuration | |
69 | laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false. | |
70 | #laser_module_pin 2.7 # this pin will be PWMed to control the laser | |
71 | #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser | |
72 | #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning | |
73 | ||
74 | # Hotend temperature control configuration | |
75 | temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false. | |
76 | temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read | |
77 | temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater | |
78 | temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names | |
79 | temperature_control.hotend.set_m_code 104 # | |
80 | temperature_control.hotend.set_and_wait_m_code 109 # | |
81 | temperature_control.hotend.designator T # | |
82 | ||
83 | #P39.98 I5.00 D79.91 | |
84 | # temperature_control.hotend.p_factor 39.98 # | |
85 | # temperature_control.hotend.i_factor 5.00 # | |
86 | # temperature_control.hotend.d_factor 79.91 # | |
87 | ||
88 | # For EPCOS B57540G0104F000 Digikey 495-2125-ND change as needed | |
89 | temperature_control.bed.enable false # | |
90 | temperature_control.bed.thermistor_pin 0.23 # | |
91 | temperature_control.bed.heater_pin 2.7 # | |
92 | temperature_control.bed.beta 4036 # | |
93 | temperature_control.bed.thermistor EPCOSB57540G0104F000 # B57891S0104F008 Digikey 495-2164-ND | |
94 | temperature_control.bed.set_m_code 140 # | |
95 | temperature_control.bed.set_and_wait_m_code 190 # | |
96 | temperature_control.bed.designator B # | |
97 | # uncomment followng to use bang bang isntead of PID for the bed (best for relay conrolled hotbeds) | |
98 | #temperature_control.bed.bang_bang true # set to true to use bang bang control rather than PID | |
99 | #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis when using bang bang | |
100 | ||
101 | # Switch module for fan control | |
102 | switch.fan.enable true # | |
103 | switch.fan.input_on_command M106 # | |
104 | switch.fan.input_off_command M107 # | |
105 | switch.fan.output_pin 2.4 # | |
106 | ||
107 | # switch.psu.enable true # turn atx on/off | |
108 | # switch.psu.input_on_command M80 # | |
109 | # switch.psu.input_off_command M81 # | |
110 | # switch.psu.output_pin 2.13o! # open drain, inverted | |
111 | ||
112 | # Switch module for spindle control | |
113 | #switch.spindle.enable false # | |
114 | ||
115 | # Endstops | |
116 | endstops_enable true # the endstop module is enabled by default and can be disabled here | |
117 | delta_homing true # forces all three axis to home a the same time regardless of what is specified in G28 | |
118 | alpha_max_endstop 1.24^ # | |
119 | alpha_homing_direction home_to_max # or set to home_to_max and set alpha_max | |
120 | alpha_min 0 # this gets loaded after homing when home_to_min is set | |
121 | alpha_max 0 # this gets loaded after homing when home_to_max is set | |
122 | beta_max_endstop 1.26^ # | |
123 | beta_homing_direction home_to_max # | |
124 | beta_min 0 # | |
125 | beta_max 0 # | |
126 | gamma_max_endstop 1.28^ # | |
127 | gamma_homing_direction home_to_max # | |
128 | gamma_min 0 # | |
129 | gamma_max 430 # change to suit your height | |
130 | ||
131 | #probe endstop | |
132 | #probe_pin 1.29 # optional pin for probe | |
133 | ||
134 | alpha_fast_homing_rate_mm_s 200 # feedrates in mm/second | |
135 | beta_fast_homing_rate_mm_s 200 # " | |
136 | gamma_fast_homing_rate_mm_s 200 # " | |
137 | alpha_slow_homing_rate_mm_s 20 # " | |
138 | beta_slow_homing_rate_mm_s 20 # " | |
139 | gamma_slow_homing_rate_mm_s 20 # " | |
140 | ||
141 | alpha_homing_retract_mm 5 # distance in mm | |
142 | beta_homing_retract_mm 5 # " | |
143 | gamma_homing_retract_mm 5 # " | |
144 | ||
bb83f6b8 JM |
145 | alpha_trim 0 # software trim for alpha stepper endstop (in mm) - moves down |
146 | beta_trim 0 # software trim for beta stepper endstop (in mm) | |
147 | gamma_trim 0 # software trim for gamma stepper endstop (in mm) | |
148 | ||
651139b0 JM |
149 | # optional Z probe |
150 | zprobe.enable false # set to true to enable a zprobe | |
151 | zprobe.probe_pin 1.29!^ # pin probe is attached to if NC remove the ! | |
152 | zprobe.slow_feedrate 5 # mm/sec probe feed rate | |
153 | #zprobe.debounce_count 100 # set if noisy | |
154 | zprobe.fast_feedrate 100 # move feedrate | |
155 | zprobe.probe_radius 100 # where to probe | |
156 | zprobe.probe_height 5 # how much above bed to start probe | |
157 | ||
158 | ||
39257fa3 JM |
159 | # Pause button |
160 | pause_button_enable true # | |
161 | ||
162 | # Panel | |
163 | panel.enable false # set to true to enable the panel code | |
164 | panel.lcd viki_lcd # set type of panel also viki_lcd, i2c_lcd is a generic i2c panel, panelolu2 | |
165 | panel.encoder_a_pin 3.25!^ # encoder pin | |
166 | panel.encoder_b_pin 3.26!^ # encoder pin | |
167 | panel.i2c_pins 3 # set i2c channel to use | |
168 | ||
169 | panel.menu_offset 1 # some panels will need 1 here | |
170 | ||
171 | panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min | |
172 | panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min | |
173 | panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min | |
174 | ||
175 | panel.hotend_temperature 185 # temp to set hotend when preheat is selected | |
176 | panel.bed_temperature 60 # temp to set bed when preheat is selected | |
177 | ||
178 | # Only needed on a smoothieboard | |
179 | currentcontrol_module_enable true # | |
180 | digipot_max_current 2.4 # max current | |
181 | digipot_factor 106.0 # factor for converting current to digipot value | |
182 | ||
183 | return_error_on_unhandled_gcode false # | |
184 | ||
ef3021e6 | 185 |