3D打印机配置信息
UM结构
MKS GEN L V2.1
TFT 2.4
Marlin 2.1.4
由于时间关系,文档还在更新中
主板接线图
Marlin 配置参考
Marlin 配置
源码地址:https://github.com/MarlinFirmware/Marlin
配置修改
参考代码:
1 2 3 4 5 6 7 8 9 10 11 12
| [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = mega2560 include_dir = Marlin extra_configs = # Marlin/config.ini Marlin/config_mks_gen_v21.ini ini/avr.ini ini/due.ini ini/esp32.ini ...
|
创建并修改 config_mks_gen_v21.ini
创建 config.ini 副本,并将副本重命名为
config_mks_gen_v21.ini
修改 config_mks_gen_v21.ini
修改 base 组内的 init_use_config = all
1 2
| [config:base] ini_use_config = all
|
完整配置参考:
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
|
[config:base]
ini_use_config = all
[config:minimal] motherboard = BOARD_MKS_GEN_L_V21 serial_port = 0 baudrate = 250000
custom_machine_name = "3D-UM01"
use_watchdog = on thermal_protection_hotends = on thermal_protection_hysteresis = 4 thermal_protection_period = 40
bufsize = 4 block_buffer_size = 16 max_cmd_size = 96
sdsupport = on sd_check_and_retry = on
extruders = 1 temp_sensor_0 = 1
temp_hysteresis = 3 heater_0_mintemp = 5 heater_0_maxtemp = 275 preheat_1_temp_hotend = 200 bed_mintemp = 0
bang_max = 255 pidtemp = on pid_k1 = 0.95 pid_max = 255 pid_functional_range = 10
default_kp = 16.51 default_ki = 0.96 default_kd = 70.65
x_driver_type = TMC2209 y_driver_type = TMC2209 z_driver_type = TMC2209 z2_driver_type = TMC2209 e0_driver_type = TMC2209
x_bed_size = 220 x_min_pos = 0 x_max_pos = X_BED_SIZE
y_bed_size = 220 y_min_pos = 0 y_max_pos = Y_BED_SIZE
z_min_pos = 0 z_max_pos = 200
x_home_dir = -1 y_home_dir = -1 z_home_dir = -1
use_xmin_plug = on use_ymin_plug = on use_zmin_plug = on use_xmax_plug = on
x_min_endstop_inverting = true y_min_endstop_inverting = true z_min_endstop_inverting = true x_max_endstop_inverting = true
default_axis_steps_per_unit = { 80, 80, 400, 382.166 } axis_relative_modes = { false, false, false, false } default_max_feedrate = { 500, 500, 3, 100 } default_max_acceleration = { 1500, 1500, 100, 2000 }
homing_feedrate_mm_m = { (50*60), (50*60), (4*60) } homing_bump_divisor = { 2, 2, 4 }
x_enable_on = 0 y_enable_on = 0 z_enable_on = 0 e_enable_on = 0
invert_x_dir = false invert_y_dir = false invert_z_dir = true invert_e0_dir = false invert_e1_dir = true
invert_e_step_pin = false invert_x_step_pin = false invert_y_step_pin = false invert_z_step_pin = false
disable_x = off disable_y = off disable_z = off disable_e = off
proportional_font_ratio = 1.0 default_nominal_filament_dia = 1.75
junction_deviation_mm = 0.013
default_acceleration = 1000 default_travel_acceleration = 1000 default_retract_acceleration = 1000
default_minimumfeedrate = 0.0 default_mintravelfeedrate = 0.0
minimum_planner_speed = 0.05 min_steps_per_segment = 6 default_minsegmenttime = 20000
[config:basic] bed_overshoot = 10 busy_while_heating = on default_ejerk = 5.0 default_keepalive_interval = 2 default_leveling_fade_height = 0.0 disable_other_extruders = on display_charset_hd44780 = JAPANESE eeprom_boot_silent = on eeprom_chitchat = on endstoppullups = on extrude_maxlength = 200 extrude_mintemp = 170 host_keepalive_feature = on hotend_overshoot = 15 jd_handle_small_segments = on lcd_info_screen_style = 0 lcd_language = zh_CN max_bed_power = 255 mesh_inset = 0 min_software_endstops = on max_software_endstops = on min_software_endstop_x = on min_software_endstop_y = on min_software_endstop_z = on max_software_endstop_x = on max_software_endstop_y = on max_software_endstop_z = on preheat_1_fan_speed = 0 preheat_1_label = "PLA" preheat_1_temp_bed = 60 prevent_cold_extrusion = on prevent_lengthy_extrude = on printjob_timer_autostart = on probing_margin = 10 show_bootscreen = on soft_pwm_scale = 0 string_config_h_author = "(none, default config)" temp_bed_hysteresis = 3 temp_bed_residency_time = 10 temp_bed_window = 1 temp_residency_time = 10 temp_window = 1 validate_homing_endstops = on xy_probe_feedrate = (133*60) z_clearance_between_probes = 5 z_clearance_deploy_probe = 10 z_clearance_multi_probe = 5
[config:advanced] z_multi_endstops = on arc_support = on auto_report_temperatures = on autotemp = on autotemp_oldweight = 0.98 bed_check_interval = 5000 default_stepper_timeout_sec = 120 default_volumetric_extruder_limit = 0.00 disable_idle_x = on disable_idle_y = on disable_idle_z = on disable_idle_e = on e0_auto_fan_pin = -1 encoder_100x_steps_per_sec = 80 encoder_10x_steps_per_sec = 30 encoder_rate_multiplier = on extended_capabilities_report = on extruder_auto_fan_speed = 255 extruder_auto_fan_temperature = 50 fanmux0_pin = -1 fanmux1_pin = -1 fanmux2_pin = -1 faster_gcode_parser = on homing_bump_mm = { 5, 5, 2 } max_arc_segment_mm = 1.0 min_arc_segment_mm = 0.1 min_circle_segments = 72 n_arc_correction = 25 serial_overrun_protection = on slowdown = on slowdown_divisor = 2 temp_sensor_bed = 1 thermal_protection_bed_hysteresis = 2 thermocouple_max_errors = 15 tx_buffer_size = 0 watch_bed_temp_increase = 2 watch_bed_temp_period = 60 watch_temp_increase = 2 watch_temp_period = 20
fwretract = on
sensorless_homing = off x_stall_sensitivity = 150 y_stall_sensitivity = 100
|