• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Problems with preheating (IDEX) (Preheat Macro)

Scheduled Pinned Locked Moved
Tuning and tweaking
1
1
53
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Anawandur
    last edited by 11 Dec 2024, 20:23

    Hello,
    I have a reference to a preheat macro in the start.g file of my IDEX printer, which always heats the print bed according to the loaded filament. At the end of start.g, there's also a T0 command.
    In my slicer, I sliced a part with T0. In the DWC, PETG is loaded for T0, and PLA is loaded for T1.
    When I start the print, the printer first preheats for T1 (PLA), then for T0 (PETG), and finally executes the slicer start code.
    I think the problem is that, in the start.g file, the information about which tool will be used is not yet available, which causes this confusion. If I load the same filament for both tools, there’s no issue, of course. Does anyone understand my problem and maybe have a solution for it?

    Thanks and best regards!

    Start.g

    M291 P"Start.g wird ausgeführt" S0
    if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
    G28
    M98 P"/Macros/SUB/CheckDoor" ;Prüfung ob die Tür entsprechend zum Material geöffnet oder geschlossen sein muss
    M561
    M703
    M106 P3 S255 ; LED schalten 25%
    M98 P"/Macros/SUB/Preheat" ; Vorheizen Macro
    G28 Z0 ; Z Homen
    M98 P"/Macros/Buildplate_Z-Offset" ;Z-Offset der entsprechenden Platte
    T0

    Preheat Macro

    if (move.extruders[0].filament == "PLA" || move.extruders[1].filament == "PLA")
    G4 S1
    M300 S600 P100
    G4 S2
    M300 S600 P100
    M291 P"PLA 60°C" R"Es wird für PLA vorgeheizt" S0 T4
    G4 S5
    M106 P4 S255 ;Gehäuse Lüfter
    M190 S60
    M116 H0.5
    if (move.extruders[0].filament == "PETG" || move.extruders[1].filament == "PETG")
    G4 S1
    M300 S500 P100
    G4 S2
    M300 S800 P100
    M291 P"PETG 85°C" R"Es wird für PETG vorgeheizt" S0 T4
    G4 S5
    M106 P4 S120 ;Gehäuse Lüfter
    M190 S85
    M116 H0.5
    if (move.extruders[0].filament == "ASA" || move.extruders[1].filament == "ASA")
    M300 S500 P100
    G4 S2
    M300 S800 P100
    M291 P"ASA 85°C" R"Es wird für ASA vorgeheizt" S0 T4
    G4 S5
    M106 P4 S120 ;Gehäuse Lüfter
    M190 S85
    M116 H0.5
    if (move.extruders[0].filament == "PP" || move.extruders[1].filament == "PP")
    M300 S500 P100
    G4 S2
    M300 S800 P100
    M291 P"PP 80°C" R"Es wird für PP vorgeheizt" S0 T4
    G4 S5
    M106 P4 S25 ;Gehäuse Lüfter
    M190 S80
    M116 H0.5
    if (move.extruders[0].filament == "PA12CF" || move.extruders[1].filament == "PA12CF")
    M300 S500 P100
    G4 S2
    M300 S800 P100
    M291 P"PA12CF 90°C" R"Es wird für PA12CF vorgeheizt" S0 T4
    G4 S5
    M106 P4 S120 ;Gehäuse Lüfter
    M190 S90
    M116 H0.5
    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Unless otherwise noted, all forum content is licensed under CC-BY-SA