forked from bigtreetech/BIGTREETECH-TouchScreenFirmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
432 lines (342 loc) · 14.3 KB
/
config.ini
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
#### Default Config file for BigTreeTech TFT Controllers
#
# BIGTREE_TFT35_V1_1 / BIGTREE_TFT35_V1_2 / BIGTREE_TFT35_V2_0
# BIGTREE_TFT35_V3_0 / BIGTREE_TFT35_E3_V3_0 / BIGTREE_TFT28_V1_0
# BIGTREE_TFT28_V3_0 / BIGTREE_TFT24_V1_1 / MKS_32_V1_4
#
# Firmware Source: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware
#--------------------------------------------------------------------
# Supported Marlin Firmware Version
#--------------------------------------------------------------------
# Minimum Marlin Firmware Version: Bugfix-2.0.x
# Distribution date: 2020-05-12
# Source: https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x
#--------------------------------------------------------------------
# General Settings
#--------------------------------------------------------------------
#### UNIFIED MENU / CLASSIC MENU
# Select a UI Menu flavour
# Options: [Unified Menu: 1, Classic Menu: 0]
unified_menu:1
#### Baudrate
# Options: [2400: 0, 9600: 1, 19200: 2, 38400: 3, 57600: 4, 115200: 5, 250000: 6, 500000: 7, 1000000: 8]
baudrate:5
#### Default Touch Mode Language
# Select the language to display on the LCD while in Touch Mode.
# Options: [ENGLISH: 0, CHINESE: 1, RUSSIAN: 2, JAPANESE: 3, ARMENIAN: 4,
# GERMAN: 5, CZECH: 6, SPAIN: 7, FRENCH: 8, PORTUGUESE: 9,
# ITALIAN: 10, POLISH: 11, SLOVAK: 12, DUTCH: 13, HUNGARIAN: 14,
# TURKISH: 15, GREEK: 16, SLOVENIAN: 17, CATALAN: 18]
language:0
#### Default Touch Mode Color Options
# Options: [ WHITE: 0, BLACK: 1, RED: 2, GREEN: 3, BLUE: 4, CYAN: 5, MAGENTA: 6, YELLOW: 7,
# ORANGE: 8, PURPLE: 9, LIME: 10, BROWN: 11, DARKBLUE: 12, DARKGREEN: 13, GRAY: 14, DARKGRAY: 15]
# Or set the color(RGB888 format) hex value directly(start with “0x”).
# Such as: 0xFF0000 : Red, 0x00FF00 : Green, 0x0000FF : Blue
# Title background color
title_back_color:1
# Background color
background_color:1
# Font foreground color
font_color:0
# Reminder font color, such as: "No print attached", "Busy processing", etc.
reminder_color:2
# Volume status/reminder font color, such as: "Card inserted", "Card removed"
volume_status_color:5
# Backgroud color for X Y Z position display in Status Screen.
status_xyz_bg_color:15
# List View Border Color
list_border_color:15
# List View button background color
list_button_bg_color:15
#### Rotate UI 180 degrees
# Options: [enable: 1, disable: 0]
rotate_ui:0
#### Show or hide Temperature ACK in Gcode Terminal
# Options: [Show: 1, Hide: 0]
terminal_ack:0
#### invert X axis button function in Move menu to match move buttons to actual axis
# Options: [enable: 1, disable: 0]
# Invert Axis format [ X<option> Y<option> Z<option> E<option>]
invert_axis:X0 Y0 Z0
#### Persistent temperature info
# show persistent temperature info on all menu screens
# Options: [enable: 1, disable: 0]
persistent_info:0
#### File List Mode
# show file as list
# Options: [enable: 1, disable: 0]
files_list_mode:1
#### Notification style for ACK messages
# Set the notification style to use for displaying the ACK messages which start with 'echo:'
#
# NOTE: The OFF value is applied to any ACK message type (e.g. even to known echo ACK).
# It means that any kind of ACK message is silently discard
#
# Options: [OFF: 0, POPUP: 1, TOAST: 2]
# OFF: No notification. The message is ignored.
# POPUP: Display a popup window for user confirmation.
# TOAST: A non-blocking Toast notification is displayed for few seconds. No user interaction is needed
ack_notification:1
#--------------------------------------------------------------------
# Marlin Mode Settings (Only for TFT24_V1.1 & TFT28/TFT35/TFT43/TFT50/TFT70_V3.0)
#--------------------------------------------------------------------
#### Default Mode
# Options: [0: Marlin Mode, 1: Touch Mode]
default_mode:1
#### Keep Serial Always ON
# Keep UART (Serial communication) alive in Marlin Mode
# Allow seamless OctoPrint UART connection to the TFT's UART/serial expansion port no matter which mode the TFT is in.
# Options: [0: Disabled, 1: Enabled]
serial_always_on:0
#### Default Marlin Mode Background & Font Color Options
# Options: [ WHITE: 0, BLACK: 1, RED: 2, GREEN: 3, BLUE: 4, CYAN: 5, MAGENTA: 6, YELLOW: 7,
# ORANGE: 8, PURPLE: 9, LIME: 10, BROWN: 11, DARKBLUE: 12, DARKGREEN: 13, GRAY: 14, DARKGRAY: 15]
# Or set the color(RGB888 format) hex value directly(start with “0x”).
# Such as: 0xFF0000 : Red, 0x00FF00 : Green, 0x0000FF : Blue
marlin_bg_color:1
marlin_fn_color:8
#### Marlin Mode show title
# Options: [enable: 1, disable: 0]
marlin_show_title:1
# Run Marlin Mode in Fullscreen
# Options: [enable: 1, disable: 0] [Disabled. RECOMMENDED FOR TFT24]
marlin_fullscreen:0
# Select marlin type
# Options: [LCD12864: 1, LCD2004: 0]
marlin_type:1
#### Text displayed at the top of the TFT in Marlin Mode.
marlin_title:LCD12864 Simulator
#--------------------------------------------------------------------
# Printer / Machine Settings
#--------------------------------------------------------------------
#### Hotend Count
# Options: [1 to 6]
hotend_count:1
#### Enable heated Bed
# Options: [enable: 1, disable: 0]
heated_bed:1
#### Enable heated chamber
# Options: [enable: 1, disable: 0]
heated_chamber:0
#### Extruder Count
# Options: [1 to 6]
ext_count:1
#### Fan Count
# Options: [1 to 6]
fan_count:1
#### Fan Controller Count
# Options: [1 or 2 - 0 to Disable]
fan_ctrl_count:0
#### Bed / Extruder / Chamber Maximum Temperatures
# format [max_temp: T0:<max temp> T1:<max temp> T2:<max temp> T3:<max temp> T4:<max temp> T5:<max temp> BED:<max temp> CHAMBER:<max temp>]
max_temp:T0:275 T1:275 T2:275 T3:275 T4:275 T5:275 BED:150 CHAMBER:60
#### Cold Extrusion Minimum Temperature
min_temp:180
#### Fan Maximum PWM speed (0 to 255)
# format [fan_max: F0:<max PWM> F1:<max PWM> F2:<max PWM> F3:<max PWM> F4:<max PWM> F5:<max PWM> CtL:<max PWM> CtI:<max PWM>]
fan_max:F0:255 F1:255 F2:255 F3:255 F4:255 F5:255 CtL:255 CtI:255
#### Machine Size / Build Area (mm)
# Options: [X Axis: X, Y Axis: Y, Z Axis: Z]
# minimum possible value: -2000, maximum possible value: 2000
# minimum size limit format [size_min: X<minimum distance> Y<minimum distance> Z<minimum distance>]
# maximum size limit format [size_max: X<maximum distance> Y<maximum distance> Z<maximum distance>]
size_min:X0 Y0 Z0
size_max:X235 Y235 Z250
#### default Move Speeds (mm/min)
# Options: [Slow: S, Normal: N, Fast: F]
# format [move_speed: S<feedrate mm/min> N<feedrate mm/min> F<feedrate mm/min>]
move_speed:S1000 N3000 F5000
#### default Extruder Speeds (mm/min)
# Options: [Slow: S, Normal: N, Fast: F]
# format [ext_speed: S<feedrate mm/min> N<feedrate mm/min> F<feedrate mm/min>]
ext_speed:S60 N600 F1200
#### Auto Save Load Leveling Data
# The TFT will auto-detect if Auto Bed Level is available.
# Enable this will send "M500" after "G29" to store leveling value
# and send "M420 S1" to enable leveling state after startup
# Options: [enable: 1, disable: 0]
auto_load_leveling:1
#### Onboard / Printer SD Card Support
# On Marlin Firmware, The TFT will auto detect Onboard SD Card
# Auto-detect is not available for other firmwares like Smoothieware
# Options: [enable: 1, disable: 0, auto-detect: 2]
onboard_sd_support:2
#### M27 / Printing status refresh time (this will be used if SD_AUTOREPORT is not detected by the TFT)
M27_refresh_time:3
#### M27 always active - keep polling M27 even if not printing
# Options: [enable: 1, disable: 0]
M27_always_active:1
#### Long File Names Support
# On Marlin Firmware, The TFT will autodetect Long File Name supported
# Auto-detect is not available for other firmwares like Smoothieware
# Options: [enable: 1, disable: 0, auto-detect: 2]
long_filename_support:2
#### Show Fan Speed as Percentage
# Options: [enable: 1, disable: 0]
fan_speed_percent:1
#### Pause Settings
# position & Lengths in mm, Feedrates in mm/min
# minimum possible value: 0, maximum possible value: 2000
# Pause retract distance format [pause_retract: R<retract length> P<Resume Purge length>]
# Pause XY position format [pause_pos: X<position in mm> Y<position in mm>]
# Pause Z raise format [pause_z_raise: Z<distance in mm>]
# Pause feed Rate # format [ X<feedrate mm/min> Y<feedrate mm/min> Z<feedrate mm/min> E<feedrate mm/min>]
pause_retract:R15 P16
pause_pos:X10 Y10
pause_z_raise:10
pause_feedrate:X6000 Y6000 Z6000 E600
### Manual Level Points Edge distance (mm)
# distance in mm, Feedrates in mm/min
# Leveling Edge distance format [level_edge_distance: <distance from edge in mm>]
# Leveling Z Position format [level_z_pos: Z<position in mm>]
# Leveling Z raise format [level_z_raise: Z<distance in mm>]
# Leveling feed Rate format [ X<feedrate mm/min> Y<feedrate mm/min> Z<feedrate mm/min>]
level_edge_distance:20
level_z_pos:0.2
level_z_raise:10
level_feedrate:X6000 Y6000 Z6000
#### Preheat Temperature
# Maximum Filament name length 7 characters
# format [T<hotend temp> B<bed temp>]
preheat_name1:PLA
preheat_temp1:T200 B60
preheat_name2:PETG
preheat_temp2:T240 B70
preheat_name3:ABS
preheat_temp3:T230 B90
preheat_name4:WOOD
preheat_temp4:T170 B50
preheat_name5:TPU
preheat_temp5:T220 B50
preheat_name6:NYLON
preheat_temp6:T250 B90
#--------------------------------------------------------------------
# Power Supply Settings (if connected to TFT Controller)
#--------------------------------------------------------------------
#### Default Power Supply Mode
# Options: [OFF: 0, ON: 1: Auto:2]
ps_on:0
#### Power Supply Active HIGH Settings
# Options: [HIGH: 1, LOW: 0]
ps_on_active_high:1
#### Maximum hot-end temperature of automatic shut down after printing (only if auto power is enabled)
# wait for the hot-end temperature to be lower than this value, then turn off the power automatically
auto_shutdown_temp:50
#--------------------------------------------------------------------
# Filament Runout Settings (if connected to TFT Controller)
#--------------------------------------------------------------------
#### Default FIlament Sensor
# Options: [NONE: 0, Normal: 1, SMART: 2]
fil_runout:0
#### Filament runout inverting - invert the logic of the sensor.
# Options: [true: 1, false: 0]
fil_runout_inverting:1
#### filament noise threshold - Pause print when filament runout is detected for this time period in (ms).
# time duration in ms
fil_noise_threshold:100
#### Smart filament runout detection
# For use with an encoder disc that toggles runout pin as filament moves
fil_runout_distance:7
#--------------------------------------------------------------------
# Power Loss Recovery & BTT UPS Settings (if connected to TFT Controller)
#--------------------------------------------------------------------
#### Power Loss recovery default enable, disable to reduce the loss of SD card or U disk
# Options: [enable: 1, disable: 0]
pl_recovery_en:1
#### Home before Power Loss recovery
# Options: [enable: 1, disable: 0]
pl_recovery_home:0
#### Power Loss Z raise (mm)
# Raise Z axis on resume (on power loss with UPS)
pl_z_raise:10
#### Enable BTT UPS
# Options: [enable: 1, disable: 0]
btt_mini_ups:0
#--------------------------------------------------------------------
# Other device-specific settings
#--------------------------------------------------------------------
#### Sounds / Buzzer
# set sounds ON or OFF
# touch_sound: enable/disable this to control touch feedback sound
# toast_sound: enable/disable this to control all toast notification sounds
# alert_sound: enable/disable this to control all popup and alert sounds
# like print finish alert, dialog sound etc.
# NOTE: Error messages from printer will always play the error sound.
# Options: [enable: 1, disable: 0]
touch_sound:1
toast_sound:1
alert_sound:1
#### Knob Led Color (only for TFT35 E3.0)
# Options: [LED_OFF: 0, LED_WHITE: 1, LED_RED: 2, LED_ORANGE: 3, LED_YELLOW: 4, LED_GREEN: 5, LED_BLUE: 6, LED_INDIGO: 7, LED_VIOLET: 8]
knob_led_color:0
#### Knob idle state
# Options: [true: 1, false: 0]
knob_led_idle:1
#### Default LCD Brightness levels (only for TFT35v3.0 & TFT28v3.0)
# Options: [(off) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 (full)]
lcd_brightness:11
lcd_idle_brightness:5
#### Default LCD idle time (only for TFT35v3.0 & TFT28v3.0)
# Options [Off: 0, 5Sec: 1, 10Sec: 2, 30sec: 3, 1min: 4, 2min: 5, 5min: 6, 10min: 7]
lcd_idle_delay:4
#--------------------------------------------------------------------
# Custom G-Code Commands (up to 15 custom G-code)
#--------------------------------------------------------------------
#### To enable a custom Command:
# Remove '#' at the begining custom commands label & gcode.
#### To disable a custom Command:
# Add '#' at the begining custom commands label & gcode.
# if the values are left blank then default name and G-code will be used
# Options: [Label maximum length: 24 characters, G-code Maximum length 70 characters]
custom_label_1:Disable steppers
custom_gcode_1:M84\n
custom_label_2:Init sd card
custom_gcode_2:M21\n
custom_label_3:Release sd card
custom_gcode_3:M22\n
custom_label_4:Restore leveling
custom_gcode_4:M420 S1\n
custom_label_5:Save to EEPROM
custom_gcode_5:M500\n
custom_label_6:Restore from EEPROM
custom_gcode_6:M501\n
custom_label_7:EEPROM defaults
custom_gcode_7:M502\n
#custom_label_8:custom8
#custom_gcode_8:M105\n
#custom_label_9:custom9
#custom_gcode_9:M105\n
#custom_label_10:custom10
#custom_gcode_10:M105\n
#custom_label_11:custom11
#custom_gcode_11:M105\n
#custom_label_12:custom12
#custom_gcode_12:M105\n
#custom_label_13:custom13
#custom_gcode_13:M105\n
#custom_label_14:custom14
#custom_gcode_14:M105\n
#custom_label_15:custom15
#custom_gcode_15:M105\n
#--------------------------------------------------------------------
# Start, End & Cancel G-codes
#--------------------------------------------------------------------
#### Default Start Gcode Status
# Options: [enable: 1, disable: 0]
start_gcode_enabled:0
#### Default End Gcode Status
# Options: [enable: 1, disable: 0]
end_gcode_enabled:0
#### Default Cancel Gcode Status
# Options: [enable: 1, disable: 0]
cancel_gcode_enabled:0
#### Start G-code - run this G-code before starting print
# maximum length 50 characters
start_gcode:G28 XY R20\n
#### End G-code - run this G-code after finishing print
# maximum length 50 characters
end_gcode:M104 S0\nM140 S0\nM18\n
#### Cancel G-code - run this G-code after canceling print
# maximum length 50 characters
cancel_gcode:M104 S0\nM140 S0\nG28 XY R10\n