-
Notifications
You must be signed in to change notification settings - Fork 0
/
MKS SBASE.config
246 lines (182 loc) · 15.6 KB
/
MKS SBASE.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# NOTE Lines must not exceed 132 characters
# Robot module configurations : general handling of movement G-codes and slicing into moves
arm_solution linear_delta # delta
#---------------------------------------------------------------------------
#Basic Parameters http://www.prusaprinters.org/calculator/#MotorStuffSPMB
alpha_steps_per_mm 80 #* Steps per mm for alpha stepper
beta_steps_per_mm 80 #* Steps per mm for beta stepper
gamma_steps_per_mm 80 #* Steps per mm for gamma stepper
extruder.hotend.steps_per_mm 96 #* Steps per mm for extruder stepper
arm_length 228 #* this is the length of an arm from hinge to hinge or DELTA_DIAGONAL_ROD
arm_radius 108.2 #* this is the horizontal distance from hinge to hinge
# when the effector is centered
gamma_max 284 #* Print Height
alpha_current 1.0 # X stepper motor current
beta_current 1.0 # Y stepper motor current
gamma_current 1.0 # Z stepper motor current
delta_current 1.0 # E0 stepper motor current
alpha_dir_pin 0.5! # Pin for alpha stepper direction
beta_dir_pin 0.11! # Pin for beta stepper direction
gamma_dir_pin 0.20! # Pin for gamma stepper direction
extruder.hotend.dir_pin 0.22 # Pin for extruder stepper direction
network.ip_address 192.168.3.153 # the IP address
network.ip_mask 255.255.255.0 # the ip mask
network.ip_gateway 192.168.3.1 # the gateway address
#---------------------------------------------------------------------------
#Key Parameter
default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves
default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves
acceleration 3000 # Acceleration in mm/second/second.
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
x_axis_max_speed 30000 # mm/min
y_axis_max_speed 30000 # mm/min
z_axis_max_speed 30000 # mm/min
alpha_max_rate 30000.0 # mm/min
beta_max_rate 30000.0 # mm/min
gamma_max_rate 30000.0 # mm/min
extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
extruder.hotend.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
extruder.hotend.max_speed 50 # mm/s
alpha_max_endstop 1.25^ # add ! to invert pullup if switch is NO to ground
beta_max_endstop 1.27^ # add ! to invert pullup if switch is NO to ground
gamma_max_endstop 1.29^ # add ! to invert pullup if switch is NO to ground
extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
extruder.hotend.step_pin 2.3 # Pin for extruder step signal
extruder.hotend.en_pin 0.21 # Pin for extruder enable signal
temperature_control.hotend.enable true #
temperature_control.hotend.thermistor_pin 0.24 #
temperature_control.hotend.heater_pin 2.7 #
temperature_control.hotend.thermistor RRRF100K #
temperature_control.hotend.set_m_code 104 #
temperature_control.hotend.set_and_wait_m_code 109 #
temperature_control.hotend.designator T #
# Second extruder module configuration example
#extruder.hotend2.enable true # Whether to activate the extruder module at all. All configuration is ignored if false
#extruder.hotend2.steps_per_mm 90 # Steps per mm for extruder stepper
#extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
#extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
#extruder.hotend2.max_speed 50 # mm/s
#extruder.hotend2.step_pin 2.8 # Pin for extruder step signal
#extruder.hotend2.dir_pin 2.13 # Pin for extruder dir signal
#extruder.hotend2.en_pin 4.29 # Pin for extruder enable signal
#epsilon_current 1.2 # Second extruder stepper motor current
#temperature_control.hotend2.enable true #
#temperature_control.hotend2.thermistor_pin 0.25 #
#temperature_control.hotend2.heater_pin 2.6 #
#temperature_control.hotend2.thermistor RRRF100K #
#temperature_control.hotend2.set_m_code 104 #
#temperature_control.hotend2.set_and_wait_m_code 109 #
#temperature_control.hotend2.designator T1 #
# 自动调平设置
zprobe.enable true # set to true to enable a zprobe
zprobe.probe_pin 1.28^ # pin probe is attached to if NC remove the !
zprobe.slow_feedrate 5 # mm/sec probe feed rate
zprobe.fast_feedrate 100 # move feedrate mm/sec
zprobe.probe_height 5 # how much above bed to start probe
leveling-strategy.delta-calibration.enable true # basic delta calibration
leveling-strategy.delta-calibration.radius 100 # the probe radius
#---------------------------------------------------------------------
#以下是尽量不要修改,除非你有深入了解
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
delta_segments_per_second 160 #* for deltas only same as in Marlin/Delta, set to 0 to disable
# and use mm_per_line_segment
planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
alpha_step_pin 2.0 # Pin for alpha stepper step signal
alpha_en_pin 0.4 # Pin for alpha enable pin
beta_step_pin 2.1 # Pin for beta stepper step signal
beta_en_pin 0.10 # Pin for beta enable
gamma_step_pin 2.2 # Pin for gamma stepper step signal
gamma_en_pin 0.19 # Pin for gamma enable
uart0.baud_rate 115200 # Baud rate for the default hardware serial port
second_usb_serial_enable true # This enables a second usb serial port (to have both pronterface
# and a terminal connected)
pause_button_enable true # Pause button enable
laser_module_enable false # Whether to activate the laser module at all. All configuration is
# ignored if false.
#热床设置
temperature_control.bed.enable true #
temperature_control.bed.thermistor_pin 0.23 #
temperature_control.bed.heater_pin 2.5 #
temperature_control.bed.thermistor RRRF100K # see http://smoothieware.org/temperaturecontrol#toc5
temperature_control.bed.set_m_code 140 #
temperature_control.bed.set_and_wait_m_code 190 #
temperature_control.bed.designator B #
#temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID
#temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis
# when using bang bang
# 风扇设置
switch.fan.enable true #
switch.fan.input_on_command M106 #
switch.fan.input_off_command M107 #
switch.fan.output_pin 2.4 #
switch.fan.output_type pwm # pwm output settable with S parameter in the input_on_comand
#限位开关设置
endstops_enable true # the endstop module is enabled by default and can be disabled here
delta_homing true # forces all three axis to home a the same time regardless of
# what is specified in G28
alpha_min_endstop nc #
alpha_homing_direction home_to_max # Home up
alpha_max 0 #
beta_min_endstop nc #
beta_homing_direction home_to_max #
beta_max 0 #
gamma_min_endstop nc #
gamma_homing_direction home_to_max #
alpha_fast_homing_rate_mm_s 200 # homing feedrates in mm/second
beta_fast_homing_rate_mm_s 200 #
gamma_fast_homing_rate_mm_s 200 #
alpha_slow_homing_rate_mm_s 20 #
beta_slow_homing_rate_mm_s 20 #
gamma_slow_homing_rate_mm_s 20
alpha_homing_retract_mm 5 # retract/bounce distance after homing in mm
beta_homing_retract_mm 5 #
gamma_homing_retract_mm 5 #
alpha_trim 0 # software trim for alpha stepper endstop (in mm)
beta_trim 0 # software trim for beta stepper endstop (in mm)
gamma_trim 0 # software trim for gamma stepper endstop (in mm)
#endstop_debounce_count 100 # uncomment if you get noise on your endstops
pause_button_enable true #
# MKS 12864控制面板设置
panel.enable true # set to true to enable the panel code
panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8 or
panel.external_sd true # set to true if there is an extrernal sdcard on the panel
panel.external_sd.spi_channel 1 # set spi channel the sdcard is on
panel.external_sd.spi_cs_pin 0.28 # set spi chip select for the sdcard (or any spare pin)
panel.external_sd.sdcd_pin 0.27!^ # sd detect signal (set to nc if no sdcard detect) (or any spare pin)
panel.menu_offset 1 # some panels will need 1 here
panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min
panel.hotend_temperature 185 # temp to set hotend when preheat is selected
panel.bed_temperature 60 # temp to set bed when preheat is selected
# 自定义功能设置
# Example of a custom menu entry, which will show up in the Custom entry.
# NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands
custom_menu.power_on.enable true #
custom_menu.power_on.name Power_on #
custom_menu.power_on.command M80 #
custom_menu.power_off.enable true #
custom_menu.power_off.name Power_off #
custom_menu.power_off.command M81 #
currentcontrol_module_enable true #
return_error_on_unhandled_gcode false #
#网络设置
network.enable true # enable the ethernet network services
network.webserver.enable true # enable the webserver
network.telnet.enable true # enable the telnet server