I found one thing that is different compared to previous versions. M591 D0 S0 - disables the filamnet monitor, no problem.
M591 D0 S1 activates the filament monitor. however, if this gcode is called while printing is in progress, printing will pause as if a filament error had occurred.
Since I use this in tool change macros, it's a problem. On beta4, no problem
SBC, 6HC.
Tpost.g
; tpost0.g
; called after tool 0 has been selected
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Sun Nov 28 2021 11:48:24 GMT+0100 (Středoevropský standardní čas)
; Wait for set temperatures to be reached
;M116 P0
;var ukulele = 2
;echo var.ukulele
;G4 S5
;set var.ukulele = 1
;echo var.ukulele
;if var.ukulele = 1
var ukulele = 0
G91
M83
M572 D0 S0
while sensors.gpIn[2].value = 0
G1 U1 E1 F500
set var.ukulele = var.ukulele + 1
M400
if var.ukulele > 50
set global.beepbeep1 = 1
M291 P"T0 nasunuti druhe"S2 U1 V1 W1
set global.beepbeep1 = 0
break
G1 U25 E25
;-----------------------------------------------------------------------------------
if sensors.gpIn[2].value = 1;
G90
G1 V21
M83
M400
G1 E15
if sensors.gpIn[2].value = 0 || sensors.gpIn[1].value = 0
; M118 P0 S"Nepovedlo se!" L2
set global.beepbeep1 = 1
M291 P"T0 final kontrola"S2 U1 V1 W1
set global.beepbeep1 = 0
G1 V21
M400
; M25
;else
; M118 P0 S"Filament v selektoru!" L2
M42 P3 S0
G4 P200
M42 P4 S0
G4 P200
M42 P5 S1
G4 P200
M42 P6 S1
G4 P200
G92 E0
G90
M83
G1 V21
;M584 P5
M106 S{global.fuufuu1}
M591 D0 S1
Tfree.g
; tfree0.g
; called when tool 0 is freed
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Sun Nov 28 2021 11:48:24 GMT+0100 (Středoevropský standardní čas)
;342 U osa od finda na hranu posun/strih
;1220 U osa od finda po bontech kolecka
;-880 U osa od koleček k posun/strih
; 1 - 1
; 5 - 15
; 8 - 29
; 12 - 43
; 15 - 57
M581 T7 P-1 ; delete triger
set global.fuufuu1 = fans[0].actualValue
M106 S0.3
;M584 P6
G4 P200
var ukulele = 0
M591 D0 S0
M400
M280 P2 S168
M280 P1 S140
G90
G1 V1 F500
M400
G91
M83
G1 E-40 U-40
M400
while sensors.gpIn[2].value = 1
G1 E-1 U-1
M400
set var.ukulele = var.ukulele + 1
if var.ukulele > 50
set global.beepbeep1 = 1
M291 P"T0 vysunuti extruder" S2 U1 V1 W1
set global.beepbeep1 = 0
; M25
break
G1 U-150 E-150 F1500
M400
if sensors.gpIn[2].value = 1
set global.beepbeep1 = 1
M291 P"T0 vysunuti extruder" S2 U1 V1 W1
set global.beepbeep1 = 0
;G4 S3
G1 U-900 F15000
M400
M280 P2 S4
G1 U235
M400
;if sensors.gpIn[2].value = 1
; M118 P0 S"Nepovedlo se - pred strihem!" L2
; M25
;if sensors.gpIn[2].value = 0
M280 P1 S10
G4 P1000
M280 P1 S140
G4 P200
G91
G1 U-375
set var.ukulele = 0
M400
; G91
while sensors.gpIn[1].value = 1
G1 U-1
M400
if var.ukulele > 50
set global.beepbeep1 = 1
M291 P"T0 vysunuti selektor" S2 U1 V1 W1
set global.beepbeep1 = 0
; M25
break
G1 U-24
G90
G1 V21
G92 U0
M280 P2 S168
if sensors.gpIn[1].value = 1 || sensors.gpIn[2].value = 1
set global.beepbeep1 = 1
M291 P"T0 final kontrola vysunuti" S2 U1 V1 W1
set global.beepbeep1 = 0
; M118 P0 S"Nepovedlo se - konec vysunuti!" L2
; M25
;else
; M118 P0 S"Nepovedlo se!" L2
;var ukulele = 2
;echo var.ukulele
;G4 S5
;set var.ukulele = 1
;echo var.ukulele
;if var.ukulele = 1
Config.g
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Apr 21 2021 11:35:55 GMT+0200 (Středoevropský letní čas)
M81 C"pson"
G4 S1
M80
; General preferences
G90 ; send absolute coordinates...
M83
; ...but relative extruder moves
M550 P"velkej" ; set printer name
G4 S2
; Drives
M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E121.0 U1.0 V1.1 W1.2 ; set drive mapping
M569 P0.0 S1 ; physical drive 0.2 goes backards
M569 P0.1 S0 ; physical drive 0.2 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S0 ; physical drive 0.2 goes forwards
M569 P0.4 S1 ; physical drive 0.3 goes forwards
M569 P0.5 S0 ; physical drive 0.2 goes forwards
M569 P1.0 S0 ; physical drive 0.2 goes forwards
M569 P1.1 S0
M569 P1.2 S1
M671 X26:380:380:26 Y20:20:380:380 S10 ; probe mesh
M350 X16 Y16 Z16 E16 I1 I1 U16 V8 W16 ; configure microstepping with interpolation
M92 X142.22 Y142.22 Z400.00 E420.00 U170 V50 W400 ; set steps per mm
M566 X600.00 Y600.00 Z100.00 E1000.00 U300 V50 W60 ; set maximum instantaneous speed changes (mm/min)
M203 X25000.00 Y25000.00 Z4000.00 E2000.00 U8000 V2500 W4000 ; set maximum speeds (mm/min)
M201 X5000.00 Y5000.00 Z250.00 E5000.00 U1500 V500 W300 ; set accelerations (mm/s^2)
M906 X1200 Y2500 Z2500 E450 I40 U700 V750 W700 ; set motor currents (mA) and motor idle factor in per cent
;M569 P40 T2.7:2.7:2.7:2.7
;M569 P41 T2.7:2.7:2.7:2.7
M84 S10 ; Set idle timeout
; Axis Limits
M208 X-5 Y0 Z-0.4 S1 U-50 V0 W0 ; set axis minima
M208 X400 Y400 Z420 S0 U2000 V20.5 W75 ; set axis maxima
; Endstops
M574 X1 S1 P"io2.in" ; configure active-high endstop for low end on X via pin io0.in
M574 Y2 S1 P"io5.in" ; configure active-high endstop for low end on Y via pin io1.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
M574 V1 S1 P"1.io3.in"
M574 W1 S1 P"1.io5.in"
; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"^121.io0.in" H5:3 F400 T25000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X26 Y0 Z1.05 ; set Z probe trigger value, offset and trigger height
M557 X30:400 Y5:400 S41 ; define mesh grid
; Filament sensor
M591 D0 P3 C"121.io1.in" S1 R50:200 L25 E10 ; MFM on toolboard
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" Q10 T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 B0 R0.161 C1877.2 D21.70 S1.00 ; disable bang-bang mode, 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"121.temp0" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"121.out0" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 R2.856 C161.2:95.6 D7.68 S1.00 V24.9 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S300 ; set temperature limit for heater 1 to 300C
;;Sensors
M308 S10 Y"drivers" P"dummy" A"6HC-drivers"
M308 S11 Y"mcu-temp" P"121.dummy" A"1LC temp"
M308 S12 Y"drivers" P"121.dummy" A"1LC driver"
M308 S13 Y"mcu-temp" P"1.dummy" A"3HC temp"
M308 S14 Y"mcu-temp" P"dummy" A"6HC temp"
;inputs
M950 J1 C"1.io0.in" ; FINDA selector log1 - je filament
M950 J2 C"!121.io2.in" ; bontech kolecka log1 - je filament
M950 J3 C"1.io1.in" ; rele kobinace log1 - je filament
M950 J8 C"121.button0"
M950 J9 C"121.button1"
;outputs
M950 P3 C"1.out0"
M950 P4 C"1.out1"
M950 P5 C"1.out2"
M950 P6 C"1.out3"
M42 P3 S0
M42 P4 S0
M42 P5 S0
M42 P6 S0
;sevo pin
M950 S1 C"1.io1.out" Q50
M950 S2 C"1.io4.out" Q50
M280 P1 S140
M280 P2 S165
; trigery
M581 T8 P8 R0 ;trigger vytažení filamentu
M581 T9 P9 R0 ;trigger zavedení filamentu
;CPU temperature calib
M912 P0 S-12
; Fans
M950 F0 C"121.out1" Q500 ; create fan 0 on pin out7 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"121.out2+out2.tach" ; create fan 1 on pin out4 and set its frequency + snimaní otáček
M106 P1 S1 H1 T50 ; set fan 1 value. Thermostatic control is turned on
; Tools
M563 P0 S"Mosquito" 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
M563 P1 S"Mosquito" D0 H1 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
M563 P2 S"Mosquito" D0 H1 F0 ; define tool 2
G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C
M563 P3 S"Mosquito" D0 H1 F0 ; define tool 3
G10 P3 X0 Y0 Z0 ; set tool 3 axis offsets
G10 P3 R0 S0 ; set initial tool 3 active and standby temperatures to 0C
M563 P4 S"Mosquito" D0 H1 F0 ; define tool 4
G10 P4 X0 Y0 Z0 ; set tool 4 axis offsets
G10 P4 R0 S0
M950 E0 C"led" T1 Q3000000
;M150 X1 Q3000000 ; NEOPIXEL
M150 U120 S15 ; NEOPIXEL
; Custom settings are not defined
M955 P121.0 I42 ; specify orientation of accelerometer on SAMMYC21 with CAN address 121
;Global variables def
if !exists(global.beepbeep1) || global.beepbeep1=null
global beepbeep1=0
else
set global.beepbeep1=0
if !exists(global.fantmr1) || global.fantmr1=null
global fantmr1=0
else
set global.fantmr1=0
if !exists(global.endtemp1) || global.endtemp1=null
global endtemp1=0
else
set global.endtemp1=0
if !exists(global.tiktak1) || global.tiktak1=null
global tiktak1=0
else
set global.tiktak1=0
if !exists(global.fuufuu1) || global.fuufuu1=null
global fuufuu1=0
else
set global.fuufuu1=0
if !exists(global.turnoff1) || global.turnoff1=null
global turnoff1=0
else
set global.turnoff1=0
; Miscellaneous
;T0 ; select first tool