I need help setting up duplication on an IDEX printer
-
Hello,
I need help configuring duplication mode on an IDEX printer. I set up tool 2 in config.g but it doesn't work the way I want it to.Problem 1: The Prime Line is supposed to start at X60 Y-2 as stated in the start code, but the printer first moves to X81.8 then to X60 and prints the Prime Line.
Problem 2. after the end of printing, end.g is executed with the content M0, but the X and U axes always move to the center and do not stay in Home X U as specified in stop.g.
Can someone tell me what I need to change to make it work?
config.g
config.g ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sat Nov 26 2022 13:27:47 GMT+0100 (Mitteleuropäische Normalzeit) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Raise 3D E2" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S1 ; disable FTP M586 P2 S1 ; enable Telnet ; Drives M569 P0.0 S0 D3 H50 V30 ; physical drive 0.0 goes forwards M915 P0.0 T50 M569 P0.1 S0 D3 H50 V30 ; physical drive 0.1 goes forwards M915 P0.1 T30 M569 P0.2 S0 D3 H50 V30 ; physical drive 0.2 goes forwards M915 P0.2 T50 M569 P0.3 S1 D3 H50 V30 ; physical drive 0.3 goes forwards M915 P0.3 T50 M569 P0.4 S0 D3 H50 V30 ; physical drive 0.4 goes forwards M915 P0.4 T50 M569 P0.5 S1 D3 H50 V30 ; physical drive 0.5 goes forwards M915 P0.5 T50 M584 X0.0 Y0.1 Z0.2 E3:5 U4 ; set drive mapping M350 X16 Y16 U16 Z16 E16:16 I1 ; configure microstepping without interpolation M92 X80 Y80 U80 Z800 E286.216 :286.216 ; set steps per mm linker Extruder : rechter Extroder M566 X480 Y300 U480 Z24 E300:300 ; set maximum instantaneous speed changes (mm/min) M203 X12000 U12000 Y10000 Z600 E3000:3000 ; set maximum speeds (mm/min) M201 X1000 U1000 Y500 Z100 E3000:3000 ; set accelerations (mm/s^2) M906 X850 U850 Y850 Z800 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X10 Y-3 Z0 U35 S1 ; set axis minima M208 X335 Y255 Z240 U355 S0 ; set axis maxima ; Endstops ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin null M574 Y1 S1 P"io1.in" M574 X1 S1 P"io2.in" M574 U2 S1 P"Io4.in" ;M915 X S-63 H10 R1 ; Set very sensitive stall detect ;M574 X1 S3 ; configure endstop for stall detection ;M915 X S20 H140 R0 ; Set very sensitive stall detect ;M915 X S-63 H10 R1 ; Set very sensitive stall detect ; Switch M950 J1 C"SPI.CS2" ; Filament Sensoren M591 D1 P1 C"io6.in" S1 M591 D0 P1 C"io5.in" S1 ; Z-Probe M558 P1 C"io3.in" H5 A7 S0.005 F150 T10000 ; P=Sondentyp C=Eingangspin H=Anfahrhöhe A=Anzahl Tastvorgänge S=Tolleranz (Standard 0,03) F=Abtastgeschwindigkeit T=Verfahrgeschwindigkeit G31 P500 X17 Y21 Z1.95 ;set Z probe trigger value, offset and trigger height + Tiefer - höher M557 X31:335 Y20:234 P7 ; define mesh grid ; Heaters M308 S0 P"Temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 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"Temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T2 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S340 ; set temperature limit for heater 1 to 340C M308 S2 P"Temp2" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S340 ; set temperature limit for heater 2 to 340C ; Temp Sensoren M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor ;M950 F5 C"out6" Q500 ; create fan 2 on pin fan2 and set its frequency ;M106 P5 H3 T40:70 ; set fan 2 value ; Fans M950 F0 C"vfd" Q500 ; create fan 0 on pin out4 and set its frequency M106 P0 C"Bauteil-Lüfter" S0 H-1 ;M950 F2 C"out3" Q500 ; create fan 0 on pin out4 and set its frequency ;M106 P2 C"Filter Lüfter" S0 H-1 Q25000 ; set fan 0 value. Thermostatic control is turned off ; set fan 1 value. Thermostatic control is turned off M950 F3 C"out5" Q500 ; create fan 2 on pin vfd and set its frequency M106 P3 C"LED" S150 H-1 ; set fan 2 value. Thermostatic control is turned off M950 F4 C"out4+out4.tach" Q25000 M106 P4 C"Filter-Lüfter" S0 H-1 ; Create a tool that uses the low end (X) carriage M563 P0 D0 H1 F0 S"linker Extruder" ; tool 0 uses extruder 0, heater 1 and fan 0 G10 P0 X0 Y0 Z0 S0 R0 ; set tool 0 offsets and temperatures ; Create a tool that uses the high end (U) carriage M563 P1 D1 H2 X3 F0 S"rechter Extruder" ; tool 1 uses extruder 1, heater 2, fan 2, and maps X to U G10 P1 Y0.2 U26.9 Z0.02 R0 ; set tool 1 offsets and temperatures für Z: + Tiefer - höher ; Create a tool that prints 2 copies of the object using both carriages M563 P2 D0:1 H1:2 X0:3 F0:0 S"Duplikation" ; tool 2 uses both extruders, hot end heaters and fans, and maps X to both X and U ;G10 P2 X-25 Y0 U-176.3 Z0 S0 R0 ; set tool offsets and temperatures G10 P2 X82.5 Y0 U-82.5 Z0 S0 R0 ; set tool offsets and temperatures G10 P2 R0 S0 M567 P2 E1:1 ; set mix ratio 100% on both extruders ;Create a tool that Prints in Mirrior Mode ;M563 P3 H1:2 D0:1 X0:3 F0:0 S"Spiegeln" ;G10 P3 X-25 Y0 U-176.3 Z0 S0 R0 ;G10 P3 R0 S-2 ; Custom settings are not defined ;Temperatur anpassung MCU M912 P0 S2 ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
Start Code
T2 ;M109 S220 T2 M116 P2 G1 Z0.35 F3000 ;Nozzle anheben G1 X60 Y-2 F3000 ;auf Position fahren G1 X140 Y-2 E20 F350 ;Primline drucken G1 X160 Y-2 F5000 ;Wipe G1 Z5 F200 ;Move to Z5 to prevent dragging nozzle and scratching bed G92 E0 ;set position T2 M117 "Printing..."
stop.g
; stop.g ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled) ; ; generated by RepRapFirmware Configuration Tool v3.3.14 on Wed Nov 16 2022 15:37:20 GMT+0100 (Mitteleuropäische Normalzeit) G1 E-1 F1800 ; retract M221 T0 S100 ; reset flow M221 T1 S100 ; reset flow M104 S0 ; Hotend ausschalten M104 S1 ; Hotend ausschalten M140 S0 ; Heizbett ausschalten M106 S0 ; turn off fan G10 P0 S-273.15 R-273.15 ; Hotend Temperatur auf 0 setzen G10 P1 S-273.15 R-273.15 ; Hotend Temperatur auf 0 setzen G28 X0 ; Bewegen Sie die Werkzeugköpfe in die Startpositionen G28 U0 ; Bewegen Sie die Werkzeugköpfe in die Startpositionen G28 Y0 M400 G1 Y240 ; Bewegen das Bett nach vorne und präsentieren Sie den Druck M106 P4 S0 ; Gehäuselüfter ausschalten M290 P0 S0 ; Babyschritt auf 0 setzen M84 ; Leerlauf-Halten beenden M18 ; Alle Schrittmotoren deaktivieren M107 ; Lüfter ausschalten M291 P"Bitte entnehmen Sie das Bauteil" S2
-
@Anawandur I might be wrong (it is a little late and those coordinate systems on top of each other generally tend to cause knots in my brain windings...), but the axis limits in your config.g look as if you do have set you X0/Y0 coordinate point in the edge of your print bed, while the offset coordinates of your duplication tool seem to suggest you have X0/Y0 in the bed centre if I interpret them correctly... did you check if you have those right?
-
@Anawandur said in I need help setting up duplication on an IDEX printer:
; Axis Limits
M208 X10 Y-3 Z0 U35 S1 ; set axis minima
M208 X335 Y255 Z240 U355 S0 ; set axis maximaAs @NeoDue says, using duplicate and mirror mode is much easier if you set your m208 limits so that XD0 Y0 is the centre of the bed. This also saved you from having to change the bed settings in the slicer depending on whether you are using duplicate/mirror mode or not.