@guanjian ; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 05 2020 10:37:58 GMT+0800 (中国标准时间)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"BLV" ; set printer name机器名字
M669 K1 ; select CoreXY mode机器模式
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet
; Drives
M569 P0 S1 ; physical drive 0 goes forwards,X电机方向和位置
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards,挤出机方向和位置
M584 X0 Y1 Z2:4 E3; two Z motors connected to driver outputs Z and E1,两个Z电机链接到Z和E1
M350 X128 Y128 Z128 E128 I0 ;不插值的细分
M92 X800.00 Y800.00 Z5120 E3075 ; set steps per mm,脉冲数值
M566 X720.00 Y720.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min),突变速度
M203 X6000 Y6000 Z120.00 E1200.00 ; set maximum speeds (mm/min),最大速度
M201 X500.00 Y500.00 Z3.00 E250.00 ; set accelerations (mm/s^2),加速度
M906 X1550 Y1500 Z1500 E800 I30 ; set motor currents (mA) and motor idle factor in per cent,电机电流
M84 S30 ; Set idle timeout,解锁等待
M572 D0 S0.4 ;挤出提前值/延迟值,远程挤出配置
; Axis Limits
M208 X-15 Y-30 Z0 S1 ; set axis minima
M208 X310 Y300 Z400 S0 ; set axis maxima
M671 X-20:220 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis
; Endstops
M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop
;M574 Z1 S1 P"!zstop+!e1stop" ; configure active-high endstops for low end on Z via pins zstop and e1stop,双Z双限位配置
M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop
M591 P1 C"e0stop" S1 D0 ; filament monitor connected to E0 endstop,断料检测
; Z-Probe
;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
;G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
;M558 P5 H5 I1 F120 T6000 ; set Z probe type to switch and the dive height + speeds
M557 X50:250 Y50:-300 S20 ; define mesh grid
; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M501 ;PID校准保存
; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 C"模型风扇" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 C"LED灯" S1 H-1 ; set fan 1 name and value. Thermostatic control is turned off
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 C"喉管风扇" S0.8 H-1 ; set fan 2 name and value. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings are not defined