Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Editor live
Nascondi spazi bianchi
Comprimi invariate
Senza a capo
Layout
Diviso
Unificato
Livello di dettaglio
Intelligente
Parola
Carattere
Stili testo
Modifica aspetto
Evidenziazione sintassi
Scegli sintassi
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
config.g
Creato
2 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
83 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
175 linee
Copia tutti
172 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
207 linee
Copia tutti
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
; Configuration file for Duet2
WiFi
-
Ethernet (firmware version 3.4
)
; Configuration file for Duet2
-
WiFi
/
Ethernet (firmware version 3.4
and higher
)
;
;
; for 0.9° motors on xy, and 0.9° or 1.8° (only LGXM) motor e
; for 0.9° motors on xy, and 0.9° or 1.8° (only LGXM) motor e
;
;
Copia
Copiato
Copia
Copiato
; for Caribou320 Duet2
WiFi
-
Ethernet LGX Copperhead - E3d or SE Thermistor - PINDA2
; for Caribou320 Duet2
WiFi
/
Ethernet LGX Copperhead - E3d or SE Thermistor - PINDA2
;
;
Copia
Copiato
Copia
Copiato
; CariboDuetConfiguration Release : "
1.8
.0"
; CariboDuetConfiguration Release : "
2.2
.0"
; Build :
263
; Build :
587
;
;
Copia
Copiato
Copia
Copiato
; Copyright Caribou Research & Development 2023. Licensed under GPL3. No commercial use.
; Source code and release notes are available on github: https://github.com/Caribou3d/CaribouDuet2-ConfigurationMacros
;
;
Copia
Copiato
Copia
Copiato
; Copyright Caribou Research & Development 2021. Licensed under GPL3.
; =========================================================================================================
; Source code and release notes are available on github: https://github.com/Caribou3d/CaribouDuet2Wifi-ConfigurationMacros
;
; general settings
;
M111 S0 ; debugging off
G21 ; work in millimetres
;
; global variables
;
M98 P"0:/settings/Set-Global-Variables.g" ; set global variables
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
N
etwork settings
;
n
etwork settings
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M550 P"Caribou320-LGXC-NP"
; set printer name
M550 P"Caribou320-LGXC-NP"
; set printer name
;
;
Copia
Copiato
Copia
Copiato
;M552 S1 ; enable
network
if {
network
.interfaces[0].type = "ethernet"}
M586 P0 S1
; enable HTTP
echo >"0:/sys/runonce.g" "M98 P""0:/settings/Set-Ethernet-Mode.g"""
M586 P1 S1
; enable FTP
else
M586 P2 S0
; disable Telnet
M98 P"0:/settings/Set-WiFi-mode.g"
M575 P1 S1 B57600
; enable support for PanelDue
;
M586 P0 S1
; enable HTTP
M586 P1 S1
; enable FTP
M586 P2 S0
; disable Telnet
M575 P1 S1 B57600
; enable support for PanelDue
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
D
rives
;
d
rives
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M569 P0
S1
F11
; physical drive 0 goes
forwards
- x
-
axis
M569 P0
S0
F11
; physical drive 0 goes
backwards
- x
axis
M569 P1 S0 F8 Y3:2
; physical drive 1 goes backwards - y
-
axis
;
M569 P1 S0 F8 Y3:2
; physical drive 1 goes backwards - y
axis
M569 P2
S1
F10
; physical drive 2 goes
forwards
- z
-
left
M569 P2
S0
F10
; physical drive 2 goes
backwards
- z
axis
left
M569 P3 S1 F14
; physical drive 3 goes forwards -
E
xtruder
M569 P3 S1 F14
; physical drive 3 goes forwards -
e
xtruder
M569 P4
S1
F10
; physical drive 4 goes
forwards
- z
right
M569 P4
S0
F10
; physical drive 4 goes
backwards
- z
axis
right
;
;
Copia
Copiato
Copia
Copiato
;
M
otor
C
onfiguration
;
m
otor
c
onfiguration
;
;
Copia
Copiato
Copia
Copiato
M584 X0 Y1 Z2:4 E3
; set drive mapping
M584 X0 Y1 Z2:4 E3
; set drive mapping
M671 X-36.5:293.5 Y0:0
S3
.00
; leadscrews at left (connected to Z
) and right (connected to E1
) of
X
axis
M671 X-36.5:293.5 Y0:0
S1
.00
; leadscrews at left (connected to Z
/drive 2
) and right (connected to E1
/drive 4
) of
x
axis
;
;
Copia
Copiato
Copia
Copiato
; set
M
icrosteps and steps / mm
; set
m
icrosteps and steps / mm
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M350 X16 Y16 Z16 E16 I1
; configure microstepping with interpolation
M350 X16 Y16 Z16 E16 I1
; configure microstepping with interpolation
M92 X200.00 Y
1
00.00 Z400.
0 E829.80
; set steps per mm
M92 X200.00 Y
2
00.00 Z400.
00
; set steps per mm
M98 P"0:/settings/Set-E-Steps.g" ; set esteps
;
;
; set motor currents
; set motor currents
Copia
Copiato
Copia
Copiato
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M906 X1250 Y1250 Z
9
50 E650 I40
; set motor currents (mA) and motor idle factor in percent
M906 X1250 Y1250 Z
6
50 E650 I40
; set motor currents (mA) and motor idle factor in percent
;
;
Copia
Copiato
Copia
Copiato
M84 S60
; S
et idle timeout
M84 S60
; s
et idle timeout
;
;
; set speeds
; set speeds
Copia
Copiato
Copia
Copiato
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M201 X
5
00.00 Y
5
00.00 Z100.00 E500.00
; set accelerations (mm/s^2)
M201 X
30
00.00 Y
30
00.00 Z100.00 E500.00
; set accelerations (mm/s^2)
M203 X
9
000.00 Y
9
000.00 Z
3
00.00 E3600.00
; set maximum speeds (mm/min)
M203 X
18
000.00 Y
18
000.00 Z
10
00.00 E3600.00
; set maximum speeds (mm/min)
M204 P500.0 T500.0
; set print and travel accelerations (mm
(
s^2)
M204 P500.0 T500.0
; set print and travel accelerations (mm
/
s^2)
M566 X480.00 Y480.00 Z48.00 E300.00
; set maximum instantaneous speed changes (mm/min)
M566 X480.00 Y480.00 Z48.00 E300.00
; set maximum instantaneous speed changes (mm/min)
;
;
Copia
Copiato
Copia
Copiato
M564 H0
; allow unhomed movement
set global.x_accel = move.axes[0].acceleration ; save accelerations (mm/s^2)
set global.x_jerk = move.axes[0].jerk ; save maximum instantaneous speed changes (mm/min)
;
set global.y_accel = move.axes[1].acceleration ; save accelerations (mm/s^2)
set global.y_jerk = move.axes[1].jerk ; save maximum instantaneous speed changes (mm/min)
;
M564 H0
; allow unhomed movement
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
Axis L
imits
;
axes l
imits
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M208 X-2 Y-7.5 Z0 S1
; set ax
i
s minim
a
M208 X-2 Y-7.5 Z0 S1
; set ax
e
s minim
um
M208 X25
4.6
Y214 Z325.50 S0
; set ax
i
s maxim
a
M208 X25
3.5
Y214 Z325.50 S0
; set ax
e
s maxim
um
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
E
ndstops
;
e
ndstops
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M574 X1 S3
; configure sensorless endstop for low end on x
M574 X1 S3
; configure sensorless endstop for low end on x
M574 Y1 S3
; configure sensorless endstop for low end on y
M574 Y1 S3
; configure sensorless endstop for low end on y
M574 Z1 S2
; configure z-probe endstop for low end on z
M574 Z1 S2
; configure z-probe endstop for low end on z
M574 Z2 S3 ; configure sensorless endstop for high end on z
;
;
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
; PINDA2
; PINDA2
;
;
Copia
Copiato
Copia
Copiato
M558 P5 C"^zprobe.in" H1.5 F600 T8000 A3 S0.03
; set z probe to PINDA2
M558 P5 C"^zprobe.in" H1.5 F600 T8000 A3 S0.03
; set z probe to PINDA2
M308 S2 P"e1temp" A"Pinda V2" Y"thermistor" T100000 B3950
; temperature of PINDA2
M308 S2 P"e1temp" A"Pinda V2" Y"thermistor" T100000 B3950
; temperature of PINDA2
M557 X23:235 Y5:186 S30.25:30
; define mesh grid
M557 X23:235 Y5:186 S30.25:30
; define mesh grid
;
;
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M574 Z1 S2
; set endstops controlled by probe
M574 Z1 S2
; set endstops controlled by probe
;
;
Copia
Copiato
Copia
Copiato
;
S
tallguard
S
ensitivy
;
s
tallguard
s
ensitivy
;
;
Copia
Copiato
Copia
Copiato
M915 X S2 F0 H400 R0
; set
X
axis
S
ensitivity
M915 X S2 F0 H400 R0
; set
x
axis
s
ensitivity
M915 Y
S0
F0 H
2
00 R0
; set
Y
axis
S
ensitivity
M915 Y
S1
F0 H
4
00 R0
; set
y
axis
s
ensitivity
M915 Z S0 F0 H200 R0
; set
Z
axis
S
ensitivity
M915 Z S0 F0 H200 R0
; set
z
axis
s
ensitivity
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
H
eater
& F
ans
;
h
eater
s, f
ans
, thermistors
; =========================================================================================================
; =========================================================================================================
;
;
; heated bed
; heated bed
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 R4700 A"Bed"
; configure sensor 0 as thermistor on pin bedtemp
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 R4700 A"Bed"
; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" Q50 T0
; create bed heater output on bedheat and map it to sensor 0
M950 H0 C"bedheat" Q50 T0
; create bed heater output on bedheat and map it to sensor 0
M143 H0 S110
; set temperature limit for heater 0 to 110
C
M143 H0 S110
; set temperature limit for heater 0 to 110
°
C
M307 H0 B0 S1.00
; disable bang-bang mode for the bed heater and set PWM limit
M307 H0 B0 S1.00
; disable bang-bang mode for the bed heater and set PWM limit
M140 H0
; map heated bed to heater 0
M140 H0
; map heated bed to heater 0
;
;
; extruder
; extruder
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
;
H
otend (Mosquito or Mosquito Magnum with E3d Thermistor)
;
h
otend (Mosquito or Mosquito Magnum with E3d Thermistor)
;
;
Copia
Copiato
Copia
Copiato
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Nozzle E1"
; E3d configure sensor 0 as thermistor on pin e0temp
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Nozzle E1"
; E3d configure sensor 0 as thermistor on pin e0temp
;
;
Copia
Copiato
Copia
Copiato
M950 H1 C"e0heat" T1
; create nozzle heater output on e0heat and map it to sensor
2
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
M307 H1 B0 S1.00
; disable bang-bang mode for heater
1
and set PWM limit
M143 H1
S300
; set temperature limit for heater 1 to
300
°C
M143 H1
S280
; set temperature limit for heater 1 to
280
°C
;
;
Copia
Copiato
Copia
Copiato
; display MCU and drivers temperature
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M308 S4 P"mcu-temp" Y"mcu-temp" A"MCU"
; set virtual heater for MCU
M308 S4 P"mcu-temp" Y"mcu-temp" A"MCU"
; set virtual heater for MCU
M308 S5 P"drivers" Y"drivers" A"Driver"
; set virtual heater for stepper drivers
M308 S5 P"drivers" Y"drivers" A"Driver"
; set virtual heater for stepper drivers
;
;
Copia
Copiato
Copia
Copiato
; =========================================================================================================
; fans
; Fans
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
; extruder fan (temerature controlled)
;
M950 F1 C"fan0" Q500 ; create fan 1 on pin fan0 and set its frequency
M106 P1 H1 T45 ; fan turns on at 45°C
;
; radial fan
; radial fan
;
;
Copia
Copiato
Copia
Copiato
M950 F0 C"fan
1
" Q160
; create fan 0 on pin fan1 and set its frequency
M950 F0 C"fan
0
" Q160
; create fan 0 on pin fan1 and set its frequency
M106 P0 S0 H-1
; set fan 0 value. Thermostatic control is turned off
M106 P0 S0 H-1
; set fan 0 value. Thermostatic control is turned off
;
; extruder fan (temperature controlled)
;
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan0 and set its frequency
M106 P1 H1 T45 ; fan turns on at 45°C
;
;
; ========================================================================================================
; ========================================================================================================
Copia
Copiato
Copia
Copiato
;
T
ools
;
t
ools
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M563 P0 D0 H1 F0
; define tool 0
M563 P0 D0 H1 F0
; define tool 0
G10 P0 X0 Y0 Z0
; set tool 0 axis offsets
G10 P0 X0 Y0 Z0
; set tool 0 axis offsets
G10
P0 S
-274 R-274
; turn off
tool 0, set active and standby temperature to 0K
M568
P0 S
0 R0 A0
; turn off
extruder
M302 S180 R180
; allow extrusion starting from 180°C and retractions already from 180°C
M302 S180 R180
; allow extrusion starting from 180°C and retractions already from 180°C
;
;
; =========================================================================================================
; =========================================================================================================
; other settings
; other settings
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
M18 XY ; release / unlock x, y
M98 P"0:/settings/Set-PID-Bed.g" ; set PID values for the heated bed
M501 ; use config-override (for Thermistor Parameters and other settings)
M98 P"0:/settings/Set-PID-Nozzle.g" ; set PID values for the nozzle
G90 ; send absolute coordinates...
M83 ; ... but relative extruder moves
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
filament handling
;
filament handling
; =========================================================================================================
; =========================================================================================================
;
;
; execute macros that determine the status of the filament sensor
; execute macros that determine the status of the filament sensor
;
;
Copia
Copiato
Copia
Copiato
M98 P"0:/sys/00-Functions/FilamentsensorStatus"
M98 P"0:/settings/Set-FilamentSensorStatus.g" ; load filament sensor settings
M98 P"0:/settings/Set-AutoLoadStatus.g" ; load autoload settings
M98 P"0:/sys/00-Functions/FilamentsensorStatus"
; update sensor status
;
;
; =========================================================================================================
; =========================================================================================================
Copia
Copiato
Copia
Copiato
;
;
offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros
; =========================================================================================================
; =========================================================================================================
;
;
Copia
Copiato
Copia
Copiato
; Offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros
M98 P"0:/settings/Set-Probe-XY-Offsets.g" ; set probe xy-offset
M98 P"0:/settings/Set-Probe-Z-Offset.g" ; set probe z-offset
M18 XY ; release / unlock x, y
G90 ; send absolute coordinates...
M83 ; ... but relative extruder moves
;
;
Copia
Copiato
Copia
Copiato
G31 P1000 X23 Y5 Z1.154
; =========================================================================================================
; check connectivity
; =========================================================================================================
;
if {network.interfaces[0].type = "wifi"}
echo >"0:/sys/runonce.g" "M98 P""0:/sys/test-WiFi.g"""
;
;
; =========================================================================================================
; =========================================================================================================
;
;
Diff salvati
Testo originale
Apri file
; ========================================================================================================= ; ; Configuration file for Duet2WiFi-Ethernet (firmware version 3.4) ; ; for 0.9° motors on xy, and 0.9° or 1.8° (only LGXM) motor e ; ; for Caribou320 Duet2WiFi-Ethernet LGX Copperhead - E3d or SE Thermistor - PINDA2 ; ; CariboDuetConfiguration Release : "1.8.0" ; Build : 263 ; ; ; Copyright Caribou Research & Development 2021. Licensed under GPL3. ; Source code and release notes are available on github: https://github.com/Caribou3d/CaribouDuet2Wifi-ConfigurationMacros ; ; ========================================================================================================= ; Network settings ; ========================================================================================================= ; M550 P"Caribou320-LGXC-NP" ; set printer name ; ;M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S0 ; disable Telnet M575 P1 S1 B57600 ; enable support for PanelDue ; ; ========================================================================================================= ; Drives ; ========================================================================================================= ; M569 P0 S1 F11 ; physical drive 0 goes forwards - x-axis M569 P1 S0 F8 Y3:2 ; physical drive 1 goes backwards - y-axis ; M569 P2 S1 F10 ; physical drive 2 goes forwards - z - left M569 P3 S1 F14 ; physical drive 3 goes forwards - Extruder M569 P4 S1 F10 ; physical drive 4 goes forwards - z right ; ; Motor Configuration ; M584 X0 Y1 Z2:4 E3 ; set drive mapping M671 X-36.5:293.5 Y0:0 S3.00 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis ; ; set Microsteps and steps / mm ; M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X200.00 Y100.00 Z400.0 E829.80 ; set steps per mm ; ; set motor currents ; M906 X1250 Y1250 Z950 E650 I40 ; set motor currents (mA) and motor idle factor in percent ; M84 S60 ; Set idle timeout ; ; set speeds ; M201 X500.00 Y500.00 Z100.00 E500.00 ; set accelerations (mm/s^2) M203 X9000.00 Y9000.00 Z300.00 E3600.00 ; set maximum speeds (mm/min) M204 P500.0 T500.0 ; set print and travel accelerations (mm(s^2) M566 X480.00 Y480.00 Z48.00 E300.00 ; set maximum instantaneous speed changes (mm/min) ; M564 H0 ; allow unhomed movement ; ; ========================================================================================================= ; Axis Limits ; ========================================================================================================= ; M208 X-2 Y-7.5 Z0 S1 ; set axis minima M208 X254.6 Y214 Z325.50 S0 ; set axis maxima ; ; ========================================================================================================= ; Endstops ; ========================================================================================================= ; M574 X1 S3 ; configure sensorless endstop for low end on x M574 Y1 S3 ; configure sensorless endstop for low end on y M574 Z1 S2 ; configure z-probe endstop for low end on z M574 Z2 S3 ; configure sensorless endstop for high end on z ; ; ========================================================================================================= ; ; PINDA2 ; M558 P5 C"^zprobe.in" H1.5 F600 T8000 A3 S0.03 ; set z probe to PINDA2 M308 S2 P"e1temp" A"Pinda V2" Y"thermistor" T100000 B3950 ; temperature of PINDA2 M557 X23:235 Y5:186 S30.25:30 ; define mesh grid ; ; ========================================================================================================= ; M574 Z1 S2 ; set endstops controlled by probe ; ; Stallguard Sensitivy ; M915 X S2 F0 H400 R0 ; set X axis Sensitivity M915 Y S0 F0 H200 R0 ; set Y axis Sensitivity M915 Z S0 F0 H200 R0 ; set Z axis Sensitivity ; ; ========================================================================================================= ; Heater & Fans ; ========================================================================================================= ; ; heated bed ; ========================================================================================================= ; M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 R4700 A"Bed" ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" Q50 T0 ; create bed heater output on bedheat and map it to sensor 0 M143 H0 S110 ; set temperature limit for heater 0 to 110C M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 ; ; extruder ; ========================================================================================================= ; ; Hotend (Mosquito or Mosquito Magnum with E3d Thermistor) ; M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Nozzle E1" ; E3d configure sensor 0 as thermistor on pin e0temp ; M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 2 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S300 ; set temperature limit for heater 1 to 300°C ; ; ========================================================================================================= ; M308 S4 P"mcu-temp" Y"mcu-temp" A"MCU" ; set virtual heater for MCU M308 S5 P"drivers" Y"drivers" A"Driver" ; set virtual heater for stepper drivers ; ; ========================================================================================================= ; Fans ; ========================================================================================================= ; ; extruder fan (temerature controlled) ; M950 F1 C"fan0" Q500 ; create fan 1 on pin fan0 and set its frequency M106 P1 H1 T45 ; fan turns on at 45°C ; ; radial fan ; M950 F0 C"fan1" Q160 ; create fan 0 on pin fan1 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off ; ; ======================================================================================================== ; Tools ; ========================================================================================================= ; M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 S-274 R-274 ; turn off tool 0, set active and standby temperature to 0K M302 S180 R180 ; allow extrusion starting from 180°C and retractions already from 180°C ; ; ========================================================================================================= ; other settings ; ========================================================================================================= ; M18 XY ; release / unlock x, y M501 ; use config-override (for Thermistor Parameters and other settings) G90 ; send absolute coordinates... M83 ; ... but relative extruder moves ; ; ========================================================================================================= ; filament handling ; ========================================================================================================= ; ; execute macros that determine the status of the filament sensor ; M98 P"0:/sys/00-Functions/FilamentsensorStatus" ; ; ========================================================================================================= ; ; ========================================================================================================= ; ; Offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros ; G31 P1000 X23 Y5 Z1.154 ; ; ========================================================================================================= ;
Testo modificato
Apri file
; ========================================================================================================= ; ; Configuration file for Duet2-WiFi/Ethernet (firmware version 3.4 and higher) ; ; for 0.9° motors on xy, and 0.9° or 1.8° (only LGXM) motor e ; ; for Caribou320 Duet2 WiFi/Ethernet LGX Copperhead - E3d or SE Thermistor - PINDA2 ; ; CariboDuetConfiguration Release : "2.2.0" ; Build : 587 ; ; Copyright Caribou Research & Development 2023. Licensed under GPL3. No commercial use. ; Source code and release notes are available on github: https://github.com/Caribou3d/CaribouDuet2-ConfigurationMacros ; ; ========================================================================================================= ; ; general settings ; M111 S0 ; debugging off G21 ; work in millimetres ; ; global variables ; M98 P"0:/settings/Set-Global-Variables.g" ; set global variables ; ; ========================================================================================================= ; network settings ; ========================================================================================================= ; M550 P"Caribou320-LGXC-NP" ; set printer name ; if {network.interfaces[0].type = "ethernet"} echo >"0:/sys/runonce.g" "M98 P""0:/settings/Set-Ethernet-Mode.g""" else M98 P"0:/settings/Set-WiFi-mode.g" ; M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S0 ; disable Telnet M575 P1 S1 B57600 ; enable support for PanelDue ; ; ========================================================================================================= ; drives ; ========================================================================================================= ; M569 P0 S0 F11 ; physical drive 0 goes backwards - x axis M569 P1 S0 F8 Y3:2 ; physical drive 1 goes backwards - y axis M569 P2 S0 F10 ; physical drive 2 goes backwards - z axis left M569 P3 S1 F14 ; physical drive 3 goes forwards - extruder M569 P4 S0 F10 ; physical drive 4 goes backwards - z axis right ; ; motor configuration ; M584 X0 Y1 Z2:4 E3 ; set drive mapping M671 X-36.5:293.5 Y0:0 S1.00 ; leadscrews at left (connected to Z/drive 2) and right (connected to E1/drive 4) of x axis ; ; set microsteps and steps / mm ; ========================================================================================================= ; M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X200.00 Y200.00 Z400.00 ; set steps per mm M98 P"0:/settings/Set-E-Steps.g" ; set esteps ; ; set motor currents ; ========================================================================================================= ; M906 X1250 Y1250 Z650 E650 I40 ; set motor currents (mA) and motor idle factor in percent ; M84 S60 ; set idle timeout ; ; set speeds ; ========================================================================================================= ; M201 X3000.00 Y3000.00 Z100.00 E500.00 ; set accelerations (mm/s^2) M203 X18000.00 Y18000.00 Z1000.00 E3600.00 ; set maximum speeds (mm/min) M204 P500.0 T500.0 ; set print and travel accelerations (mm/s^2) M566 X480.00 Y480.00 Z48.00 E300.00 ; set maximum instantaneous speed changes (mm/min) ; set global.x_accel = move.axes[0].acceleration ; save accelerations (mm/s^2) set global.x_jerk = move.axes[0].jerk ; save maximum instantaneous speed changes (mm/min) ; set global.y_accel = move.axes[1].acceleration ; save accelerations (mm/s^2) set global.y_jerk = move.axes[1].jerk ; save maximum instantaneous speed changes (mm/min) ; M564 H0 ; allow unhomed movement ; ; ========================================================================================================= ; axes limits ; ========================================================================================================= ; M208 X-2 Y-7.5 Z0 S1 ; set axes minimum M208 X253.5 Y214 Z325.50 S0 ; set axes maximum ; ; ========================================================================================================= ; endstops ; ========================================================================================================= ; M574 X1 S3 ; configure sensorless endstop for low end on x M574 Y1 S3 ; configure sensorless endstop for low end on y M574 Z1 S2 ; configure z-probe endstop for low end on z ; ; ========================================================================================================= ; ; PINDA2 ; M558 P5 C"^zprobe.in" H1.5 F600 T8000 A3 S0.03 ; set z probe to PINDA2 M308 S2 P"e1temp" A"Pinda V2" Y"thermistor" T100000 B3950 ; temperature of PINDA2 M557 X23:235 Y5:186 S30.25:30 ; define mesh grid ; ; ========================================================================================================= ; M574 Z1 S2 ; set endstops controlled by probe ; ; stallguard sensitivy ; M915 X S2 F0 H400 R0 ; set x axis sensitivity M915 Y S1 F0 H400 R0 ; set y axis sensitivity M915 Z S0 F0 H200 R0 ; set z axis sensitivity ; ; ========================================================================================================= ; heaters, fans, thermistors ; ========================================================================================================= ; ; heated bed ; ========================================================================================================= ; M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 R4700 A"Bed" ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" Q50 T0 ; create bed heater output on bedheat and map it to sensor 0 M143 H0 S110 ; set temperature limit for heater 0 to 110°C M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 ; ; extruder ; ========================================================================================================= ; ; hotend (Mosquito or Mosquito Magnum with E3d Thermistor) ; M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Nozzle E1"; E3d configure sensor 0 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 1 and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280°C ; ; display MCU and drivers temperature ; ========================================================================================================= ; M308 S4 P"mcu-temp" Y"mcu-temp" A"MCU" ; set virtual heater for MCU M308 S5 P"drivers" Y"drivers" A"Driver" ; set virtual heater for stepper drivers ; ; fans ; ========================================================================================================= ; ; radial fan ; M950 F0 C"fan0" Q160 ; create fan 0 on pin fan1 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off ; ; extruder fan (temperature controlled) ; M950 F1 C"fan1" Q500 ; create fan 1 on pin fan0 and set its frequency M106 P1 H1 T45 ; fan turns on at 45°C ; ; ======================================================================================================== ; tools ; ========================================================================================================= ; M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets M568 P0 S0 R0 A0 ; turn off extruder M302 S180 R180 ; allow extrusion starting from 180°C and retractions already from 180°C ; ; ========================================================================================================= ; other settings ; ========================================================================================================= ; M98 P"0:/settings/Set-PID-Bed.g" ; set PID values for the heated bed M98 P"0:/settings/Set-PID-Nozzle.g" ; set PID values for the nozzle ; ; ========================================================================================================= ; filament handling ; ========================================================================================================= ; ; execute macros that determine the status of the filament sensor ; M98 P"0:/settings/Set-FilamentSensorStatus.g" ; load filament sensor settings M98 P"0:/settings/Set-AutoLoadStatus.g" ; load autoload settings M98 P"0:/sys/00-Functions/FilamentsensorStatus" ; update sensor status ; ; ========================================================================================================= ; offsets - place off-sets for x and y here. z-offsets are handled in the print sheet macros ; ========================================================================================================= ; M98 P"0:/settings/Set-Probe-XY-Offsets.g" ; set probe xy-offset M98 P"0:/settings/Set-Probe-Z-Offset.g" ; set probe z-offset M18 XY ; release / unlock x, y G90 ; send absolute coordinates... M83 ; ... but relative extruder moves ; ; ========================================================================================================= ; check connectivity ; ========================================================================================================= ; if {network.interfaces[0].type = "wifi"} echo >"0:/sys/runonce.g" "M98 P""0:/sys/test-WiFi.g""" ; ; ========================================================================================================= ;
Trovare la differenza