Files

89 lines
3.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; Configuration file for RepRapFirmware on Duet 3 Main Board 6HC
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.5.4 on Mon Oct 14 2024 12:14:30 GMT+0200 (Ora legale dell’Europa centrale)
; General
G90 ; absolute coordinates
M83 ; relative extruder moves
M550 P"primo" ; set hostname
; Network
;M552 P0.0.0.0 S1 ; configure Ethernet adapter
;M586 P0 S1 ; configure HTTP
; Smart Drivers 2160
M569 P0.0 S0 D2 ; driver 0.0 goes backwards (X axis)
M569 P0.1 S1 D2 ; driver 0.1 goes forwards (Y axis)
M569 P0.2 S0 D2 ; driver 0.2 goes backwards (Z axis)
M569 P0.3 S0 D2 ; driver 0.3 goes backwards (A axis)
M569 P0.4 S1 D2 ; driver 0.4 goes forwards (B axis)
M569 P0.5 S1 D2 ; driver 0.5 goes backwards (C axis)
;Attivazione Driver
;M17 YZ
; Motor Idle Current Reduction
M906 I50 ; set motor current idle factor
M917 X70 Y70 Z70 A70 B70 C70 ; Set motor standstill current reduction
;M84 S30 ; set motor current idle timeout
; Axes
M584 X0.0 Y0.1 Z0.2 A0.3 B0.4 C0.5 ; set axis mapping
M350 X4 Y4 Z4 A4 B4 C4 I1 ; configure microstepping with interpolation
M906 X1800 Y1800 Z1800 A1800 B1800 C1800 ; set axis driver currents
M92 X14.222 Y177.778 Z180.952 A8.889 B8.889 C2.2222 ; configure steps per mm
M208 X-160:160 Y-76:76 Z-55:90 A-156:156 B-134.5:134.5 C-153.3:153.3 ; set minimum and maximum axis limits MODIFICA: Z-60:90
M566 X10 Y500 Z500 A500 B500 C500 ; set maximum instantaneous acc changes (mm/min)
M203 X5000 Y3000 Z3000 A7000 B5000 C70000 ; set maximum speeds (mm/min)
M201 X100 Y100 Z100 A100 B100 C100 ; set accelerations (mm/s^2)
; Kinematics
M669 K0
; Endstops
M574 X2 S3
M574 Y1 S3
M574 Z1 S3
M574 A2 S3
M574 B2 S3
M574 C2 S3
M915 X R0 F0
;Servo
M950 S7 C"out9"
; Duet 3 led pin
M950 E0 C"led" T1 ; create a RGB Dotstar 'led' strip on the LED port and set SPI frequency to 20kHz Q20000
;out0 5v
M950 P1 C"out0" ;
M950 P3 C"out1" ;
;Led Pulsante
;M950 P3 C"out7" ;
;M950 P4 C"out8" ; Crea un'uscita digitale su OUT8
;M950 J6 C"^!io0.in"; Configura il pulsante su IO_0
;M950 J5 C"^!io1.in"; Configura il pulsante su IO_1
;M581 P6 T1 S1; R0 ; Attiva l'interrupt su IO_0 per eseguire la macro trigger2.g al fronte di salita
;M581 P5 T3 S1; R0 ; Attiva l'interrupt su IO_0 per eseguire la macro trigger2.g al fronte di salita
; Stop
;M950 J1 C"io0.in" ; Definisce il pin per il pulsante
;global buttonPressCount = 0 ; Inizializza la variabile di stato
;M581 P1 T2 S1 R0 ; Esegue l'interrupt trigger1.g al fronte di salita
;Ventola
;M308 S10 Y"drivers" A"Duet stepper drivers" ; RICONTROLLA
;M950 F1 C"out7" ; Definisci la ventola 1 collegata a OUT7 con una frequenza PWM di 500 Hz
;M106 P1 T40 H10 ; Accendi la ventola 1 la velocità della ventola scala da 0% a 100% quando la temperatura sale da 40°C a 70°C.
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
;M98 P"0:/macros/5v/5vON";