@deckingman said in Mixed up heater mapping with IDEX and 4 extruders,hotends:
@thehans I have an idea what's wrong.
In your config you've used M584 to map axes and extruders to physical drives which is all fine. The extruders are mapped to physical drives 5,6,7 and 8. But what this actually means is that extruder 0 is physical drive 5, extruder 1 is physical drive 6 etc. BUT, in the tool definitions, Duet is expecting extruders drive numbers, not the physical drive to which they have been mapped. So you first tool (P0) should be M563 P0 D0 H3 (not D2), the second tool should be M563 P1 D1 H4 (not D3) etc. The extruder drives are 0 to 3 (mapped to 5,6,7and 8 ) so the two tools defined to use drives 2 and 3 will work but you don't have extruder drives 4 and 5. Logically this could be the reason why only 2 tools show up.
HTH
Thanks Ian, I think that explains it. The last two M563 commands are probably failing because the extruder drive number in them is invalid.