check zprobe is connected and not triggered before any bed leveling command
[clinton/Smoothieware.git] / ConfigSamples / AzteegX5Mini / config
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 ).
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 1637.7953 # Steps per mm for gamma stepper
11
12 # Planner module configuration : Look-ahead and acceleration configuration
13 planner_queue_size 32 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum.
14 acceleration 3000 # Acceleration in mm/second/second.
15 acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
16 junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
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
18
19 # Stepper module configuration
20 microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
21 minimum_steps_per_minute 1200 # Never step slower than this
22 base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
23
24 # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
25 alpha_step_pin 2.1 # Pin for alpha stepper step signal
26 alpha_dir_pin 0.11 # Pin for alpha stepper direction
27 alpha_en_pin 0.10 # Pin for alpha enable pin
28 alpha_current 1.0 # X stepper motor current
29 x_axis_max_speed 30000 # mm/min
30
31 beta_step_pin 2.2 # Pin for beta stepper step signal
32 beta_dir_pin 0.20 # Pin for beta stepper direction
33 beta_en_pin 0.19 # Pin for beta enable
34 beta_current 1.0 # Y stepper motor current
35 y_axis_max_speed 30000 # mm/min
36
37 gamma_step_pin 2.3 # Pin for gamma stepper step signal
38 gamma_dir_pin 0.22 # Pin for gamma stepper direction
39 gamma_en_pin 0.21 # Pin for gamma enable
40 gamma_current 1.0 # Z stepper motor current
41 z_axis_max_speed 300 # mm/min
42
43 # Serial communications configuration ( baud rate default to 9600 if undefined )
44 uart0.baud_rate 115200 # Baud rate for the default hardware serial port
45 second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface and a terminal connected)
46 #msd_disable false # disable the MSD (USB SDCARD) when set to true
47
48 # Extruder module configuration
49 extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
50 extruder_steps_per_mm 140 # Steps per mm for extruder stepper
51 extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
52 extruder_acceleration 500 # Acceleration in mm/sec^2, only used for retracts
53 extruder_max_speed 1000 # mm/sec NOTE only used for retracts
54
55 extruder_step_pin 2.0 # Pin for extruder step signal
56 extruder_dir_pin 0.5 # Pin for extruder dir signal
57 extruder_en_pin 0.4 # Pin for extruder enable signal
58 delta_current 1.0 # Extruder stepper motor current
59
60 # Laser module configuration
61 laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
62 #laser_module_pin 2.7 # this pin will be PWMed to control the laser
63 #laser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laser
64 #laser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
65
66 # Hotend temperature control configuration
67 temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
68 temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
69 temperature_control.hotend.heater_pin 2.5 # Pin that controls the heater
70 temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
71 temperature_control.hotend.set_m_code 104 #
72 temperature_control.hotend.set_and_wait_m_code 109 #
73 temperature_control.hotend.designator T #
74
75 temperature_control.hotend.p_factor 13.7 #
76 temperature_control.hotend.i_factor 0.097 #
77 temperature_control.hotend.d_factor 24 #
78
79 temperature_control.bed.enable false #
80 temperature_control.bed.thermistor_pin 0.23 #
81 temperature_control.bed.heater_pin 2.7 #
82 temperature_control.bed.thermistor Honeywell100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
83 temperature_control.bed.set_m_code 140 #
84 temperature_control.bed.set_and_wait_m_code 190 #
85 temperature_control.bed.designator B #
86
87 # Switch module for fan control
88 switch.fan.enable true #
89 switch.fan.input_on_command M106 #
90 switch.fan.input_off_command M107 #
91 switch.fan.output_pin 2.4 #
92
93 switch.misc.enable false #
94 switch.misc.input_on_command M42 #
95 switch.misc.input_off_command M43 #
96 switch.misc.output_pin 2.4 #
97
98 # automatically toggle a switch at a specified temperature
99 # useful to turn on a fan or water pump to cool the hotend
100 #temperatureswitch.hotend.enable true #
101 #temperatureswitch.hotend.type misc # select which MOSFET to use, fan or misc (small MOSFETs)
102 #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn on (if rising) or off the switch
103 #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals
104 #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals
105
106 # Switch module for spindle control
107 #switch.spindle.enable false #
108
109 # Endstops
110 endstops_enable true # the endstop module is enabled by default and can be disabled here
111 #corexy_homing false # set to true if homing on a hbit or corexy
112 alpha_min_endstop 1.24^ # add a ! to invert if endstop is NO connected to ground
113 #alpha_max_endstop 1.24^ #
114 alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max
115 alpha_min 0 # this gets loaded after homing when home_to_min is set
116 alpha_max 200 # this gets loaded after homing when home_to_max is set
117 beta_min_endstop 1.26^ #
118 #beta_max_endstop 1.26^ #
119 beta_homing_direction home_to_min #
120 beta_min 0 #
121 beta_max 200 #
122 gamma_min_endstop 1.28^ #
123 #gamma_max_endstop 1.28^ #
124 gamma_homing_direction home_to_min #
125 gamma_min 0 #
126 gamma_max 200 #
127
128 # optional enable limit switches, actions will stop if any enabled limit switch is triggered
129 #alpha_limit_enable false # set to true to enable X min and max limit switches
130 #beta_limit_enable false # set to true to enable Y min and max limit switches
131 #gamma_limit_enable false # set to true to enable Z min and max limit switches
132
133 #probe endstop
134 #probe_pin 1.29 # optional pin for probe
135
136 alpha_fast_homing_rate_mm_s 50 # feedrates in mm/second
137 beta_fast_homing_rate_mm_s 50 # "
138 gamma_fast_homing_rate_mm_s 4 # "
139 alpha_slow_homing_rate_mm_s 25 # "
140 beta_slow_homing_rate_mm_s 25 # "
141 gamma_slow_homing_rate_mm_s 2 # "
142
143 alpha_homing_retract_mm 5 # distance in mm
144 beta_homing_retract_mm 5 # "
145 gamma_homing_retract_mm 1 # "
146
147 #endstop_debounce_count 100 # uncomment if you get noise on your endstops, default is 100
148
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 mm/sec
155 zprobe.probe_height 5 # how much above bed to start probe
156
157 # associated with zprobe the leveling strategy to use
158 #leveling-strategy.three-point-leveling.enable true # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
159 #leveling-strategy.three-point-leveling.point1 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
160 #leveling-strategy.three-point-leveling.point2 200.0,200.0 # the second probe point (x,y)
161 #leveling-strategy.three-point-leveling.point3 0.0,200.0 # the third probe point (x,y)
162 #leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
163 #leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
164
165
166 # Pause button
167 pause_button_enable true #
168
169 # Panel
170 panel.enable false # set to true to enable the panel code
171
172 # Example for reprap discount GLCD
173 # on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
174 # +5v is EXP1 pin 10, Gnd is EXP1 pin 9
175 #panel.lcd reprap_discount_glcd #
176 #panel.spi_channel 0 # pins 0.18, 0.15 ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
177 #panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
178 #panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
179 #panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
180 #panel.click_button_pin 2.11!^ # click button ; GLCD EXP1 Pin 2
181 #panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
182 #panel.button_pause_pin 4.29^ # kill/pause ; GLCD EXP2 Pin 8 either
183 #panel.back_button_pin 4.29!^ # back button ; GLCD EXP2 Pin 8 or
184
185 panel.menu_offset 0 # some panels will need 1 here
186
187 panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
188 panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
189 panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
190
191 panel.hotend_temperature 185 # temp to set hotend when preheat is selected
192 panel.bed_temperature 60 # temp to set bed when preheat is selected
193
194 # Example of a custom menu entry, which will show up in the Custom entry.
195 # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
196 custom_menu.power_on.enable true #
197 custom_menu.power_on.name Power_on #
198 custom_menu.power_on.command M80 #
199
200 custom_menu.power_off.enable true #
201 custom_menu.power_off.name Power_off #
202 custom_menu.power_off.command M81 #
203
204 # Azteeg specific settings do not change
205 currentcontrol_module_enable true #
206 digipot_max_current 2.4 # max current
207 digipot_factor 106.0 # factor for converting current to digipot value
208
209 return_error_on_unhandled_gcode false #
210
211