@jay_s_uk Thank you !
That's simple enough it seems like i should have tried it, I'm grateful for your quick response sir !
@jay_s_uk Thank you !
That's simple enough it seems like i should have tried it, I'm grateful for your quick response sir !
3.6.2 beta 2
I'm converting a Stratasys Dimension to Duet and recently picked up an expansion board so i can wire everything the way i want. Previously i used the following for the chamber heater:
M950 H3 C"out7+out8" T5
Expansion board connects fine, temp sensors work properly and each heater works independently:
M950 H3 C"1.out0" T5
M950 H3 C"1.out1" T5
but the following:
M950 H3 C"1.out0+1.out1" T5
Does not work and results in the following error:
Error in start-up file macro line 66: Unknown pin name '1.out1'
is there something I'm missing ?
Yes its a 6HC, i won't be back at the shop until tomorrow morning when i will follow this advice and respond with results.
Mike
I went to print something this morning and am getting driver errors reported for all 6 drivers.
They all continue to work with the exception of Drive4, i moved the X axis to Drive5 and it now works properly during homing however i am getting those errors on every startup. I added the driver temp and mcu temp where i think i found the problem.
So as best i can tell, the driver on Drive4 is dead and took the temp sensor with it ??
I can still operate the machine as it is but I'm wondering why a driver might have went sideways, and if i can still safely operate using this mainboard ??
Mike
@phaedrux I am unaware what changed but the next morning and ever since it has been operating as expected. Confused but moving on, thanks for the response.
Mike
After changing out a working toolboard for a newer version I'm having some trouble getting comms, the new toolboard does the customary fast flash then slows down once connected to main board on CAN.
That's where it breaks down, after one to 5 slow flashes it stops flashing and throws :
Error: M115: Response timeout: CAN addr 121, req type 6024, RID=15
I'm about fed up with this specific toolboard as I can put in the old one and it connects properly, the same for an old v1.0 in this machine.
latest firmware, thoughts or troubleshooting steps, i can never communicate with the new toolbard or get any reports from it ?
Mike
@dc42 I don't believe so.
I did however take this opportunity waiting for a new toolboard to rewire everything to be sure, in that process now.
I'll expect to know more soon but I feel like an idiot not noticing the power loss and I'll wait to have something compelling before I run my mouth again.
Mike
@dc42 No, it appears I missed that reboot, which now that I pay closer attention is exactly appears to be happening when it loses coms. I just went through the process twice and if it were just for the lights on the tool board wouldn't even notice but the fan comes on for a fraction of a second and I get the error I received previously.
The tool board appears to immediately sync back up with the main board although DWC shows it offline, and any process is lost.
Its an IDEX machine and I just ran through the process on tool 2 with no problems just for my brain to confirm the main board is good. Its another tool board but with a v1.0
Thanks for paying attention to my little issue, I should have better investigated, but your gear has worked so well I rarely have to bother troubleshooting and it made me lazy.
Mike
This started happing about a week ago, the first time it happened 48 hours into a 115 hour print, these long prints are regular for me and this is literally the first time in a year I've had a print fail in the middle .
I thought it was erroneous and started another print, this one failed the same way at the 15 hr. mark. I started troubleshooting, changing heaters and a few different thermistors, each time the failure would happen quicker till now where it will usually happen within three probes of a mesh bed levelling, of course because I typed that it took almost 20 probes before it failed the most recent time.
12/30/2021, 4:22:42 PM: G28
12/30/2021, 4:22:51 PM: G1 Z10
12/30/2021, 4:22:58 PM: G1 X200 Y200
12/30/2021, 4:23:18 PM: G30
probes 20 points before connection drops
12/30/2021, 4:26:49 PM: G29: Error: Board 20 does not have input handle 3000
Error: Failed to enable probe
M122's shortly after failure
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.0beta7+2 (2021-12-30 17:36:30) running on Duet 3 MB6HC v1.01 or later (standalone mode)
Board ID: 08DJM-956L2-G43S8-6JTDG-3S86Q-KB3QF
Used output buffers: 1 of 40 (15 max)
=== RTOS ===
Static ram: 150728
Dynamic ram: 95204 of which 0 recycled
Never used RAM 104668, free system stack 150 words
Tasks: NETWORK(ready,26.8%,253) ETHERNET(notifyWait,0.1%,169) HEAT(notifyWait,0.0%,324) Move(notifyWait,0.0%,248) CanReceiv(notifyWait,0.0%,797) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,339) TMC(notifyWait,7.7%,58) MAIN(running,65.3%,1117) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:05:50 ago, cause: software
Last software reset at 2021-12-30 16:21, reason: User, GCodes spinning, available RAM 104644, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 171
MCU temperature: min 50.2, current 51.2, max 51.3
Supply voltage: min 26.5, current 26.5, max 26.6, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.2, max 12.3, under voltage events: 0
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: pos 9700, standstill, SG min 0, mspos 8, reads 56923, writes 19 timeouts 0
Driver 1: pos 19900, standstill, SG min 0, mspos 504, reads 56923, writes 19 timeouts 0
Driver 2: pos 6160, standstill, SG min 0, mspos 840, reads 56923, writes 19 timeouts 0
Driver 3: pos 96950, standstill, SG min 0, mspos 424, reads 56924, writes 19 timeouts 0
Driver 4: pos 0, standstill, SG min 0, mspos 744, reads 56924, writes 19 timeouts 0
Driver 5: pos 0, standstill, SG min 0, mspos 8, reads 56932, writes 11 timeouts 0
Date/time: 2021-12-30 16:27:50
Slowest loop: 7.23ms; fastest: 0.05ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.6ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 3, maxWait 29750ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 127, completed 127, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 2], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== CAN ===
Messages queued 3316, received 13452, lost 0, boc 0
Longest wait 3ms for reply type 6053, peak Tx sync delay 51, free buffers 50 (min 49), ts 1751/1750/0
Tx timeouts 0,0,0,0,0,0
=== Network ===
Slowest loop: 6.00ms; fastest: 0.02ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
HTTP sessions: 1 of 8
- Ethernet -
State: active
Error counts: 0 0 1 0 0
Socket states: 5 5 2 2 2 0 0 0
Diagnostics for board 20:
Duet TOOL1LC rev 1.1 or later firmware version 3.4.0beta7+2 (2021-12-30 22:07:52)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 3072, free system stack 2788 words
Tasks: Move(notifyWait,0.0%,153) HEAT(notifyWait,0.1%,115) CanAsync(notifyWait,0.0%,65) CanRecv(notifyWait,0.0%,76) CanClock(notifyWait,0.0%,65) ACCEL(notifyWait,0.0%,61) TMC(delaying,3.0%,57) MAIN(running,92.0%,441) IDLE(ready,0.0%,26) AIN(delaying,4.9%,142), total 100.0%
Last reset 00:01:07 ago, cause: power up
Last software reset data not available
Driver 0: pos 0, 80.0 steps/mm,standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 33876, writes 9, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0
Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
Peak sync jitter 6/10, peak Rx sync delay 198, resyncs 0/0, no step interrupt scheduled
VIN voltage: min 26.2, current 26.6, max 26.6
MCU temperature: min 34.9C, current 35.0C, max 35.3C
Last sensors broadcast 0x00000000 found 0 51 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 565, send timeouts 0, received 891, lost 0, free buffers 37, min 37, error reg 80000
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
Accelerometer: LIS3DH, status: 00
I2C bus errors 0, naks 3, other errors 0
I've already ordered a toolboard so I can remove and replace with everything else in place, I guess I'm looking for confirmation tests while I wait as it seems terribly odd to me.
KOTG
I have a 400mm x 400mm and I probe 9 x 9 for 81 total points. Good combo of time for value as i am always tinkering and it needs to be done a lot.
I really like what your doing here, I'm intending to design one of these as well.
This has helped me start visualizing my own intentions, thank you for that.
Mike
I wanted the new revision, even though I am hardly at the point I understand everything I need to do before input shaping, with that even a version away and my existing boards aren't even a few months old.
But it turns out an easy decision to replace if you just forget to power the board down while doing some adjustments, slip with a t-handle hex and somehow manage to touch two things that shouldn't be touched.
As the boards red light disappears never to be seen again, a gingerly walk to the computer for the local parts store where its already been confirmed they have a v1.1 in stock.
It arrives in slightly more than 4 hours, unless it doesn't, but lets not think like that.
@phaedrux
Everything seems to be as it should
M558 K0
Z Probe 0: type 8, input pin 20.io1.in, min interval 25ms, dive height 5.0mm, probe speeds 200,200mm/min, travel speed 3000mm/min, recovery time 0.00 sec, heaters normal, max taps 1, max diff 0.03
6/20/2021, 4:24:57 AM M558 K0
Z Probe 0: type 8, input pin 20.io1.in, min interval 25ms, dive height 5.0mm, probe speeds 200,200mm/min, travel speed 3000mm/min, recovery time 0.00 sec, heaters normal, max taps 1, max diff 0.03
6/20/2021, 4:26:45 AM G31 K0
Z probe 0: current reading 0, threshold 500, trigger height 1.500, offsets X12.5 Y0.0 U0.0
G31 K1
Z probe 1: current reading 0, threshold 500, trigger height 1.500, offsets X-12.5 Y0.0 U0.0
; Configuration file for Duet 3 (firmware version 3)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Chiron" ; set printer name
M552 S1
G4 S5 ; wait for expansion boards to start
; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backwards
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S1 ; physical drive 0.4 goes forwards
M569 P20.0 S1 ; physical drive 21 goes forwards
M569 P21.0 S0 ; physical drive 20 goes backwards
M584 X0.0 U0.1 Y0.2 Z0.3:0.4 E20.0:21.0 ; set drive mapping
M906 X1000 U1000.00 Y1000 Z1000 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
M201 X900.00 U900.00 Y300.00 Z15.00 E1000.00:1000.00 ; set accelerations (mm/s^2)
M203 X15000.00 U15000.00 Y15000.00 Z1000.00 E3600.00:3600.00 ; set maximum speeds (mm/min)
M566 X900.00 U900.00 Y300.00 Z60.00 E20.00:20.00 ; set maximum instantaneous speed changes (mm/min)
M92 X200.00 U200.00 Y200.00 Z800.00 E400.00:400.00 ; set steps per mm
M350 X16 U16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M84 S30 ; Set idle timeout
; Axis Limits
M208 X-75 U0 Y0 Z-5 S1 ; set axis minima
M208 X415 U485.2 Y410 Z410 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
M574 U2 S1 P"io1.in" ; configure active-high endstop for high end on U via pin io01.in
M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in
M574 Z1 S1 P"io3.in+io4.in" ; configure active-high endstop for low end on Z via pin io3.in/io4.in
; Z-Probe
M558 P8 H5 F200 T3000 C"20.io1.in" K0 ; Tool0 set dive height, probe speed and travel speed
G31 P500 X12.5 Y0 Z1.5 K0
M558 P8 H5 F200 T3000 C"21.io1.in" K1 ; Tool1 set dive height, probe speed and travel speed
G31 P500 X-12.5 Y0 Z1.5 K1
M557 X-10:410 Y25:410 S47 ; define mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed" ; 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 B0 S1 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S155 ; set temperature limit for heater 0 to 155C
M308 S1 P"20.temp0" Y"pt1000" A"Print0" ; sensor 1 (toolboard) board 20
M950 H1 C"20.out0" T1 ; create nozzle heater output on out0 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S455 ; set temperature limit for heater 1 to 455C
M308 S2 P"21.temp0" Y"pt1000" A"Print1" ; sensor 2 (toolboard) board 21
M950 H2 C"21.out0" T2 ; create nozzle heater output on out0 and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S455 ; set temperature limit for heater 1 to 455C
M308 S3 P"20.temp1" Y"thermistor" T100000 B4138 A"Extrude0" ; configure sensor 3 as thermistor on board 20 temp1
M308 S4 P"21.temp1" Y"thermistor" T100000 B4138 A"Extrude1" ; configure sensor 4 as thermistor on board 21 temp1
; Fans
M950 F0 C"20.out1" Q500 ; create fan 0 on pin out1 on board 20 and set its frequency
M106 P0 S0 H-1
M950 F1 C"20.out2" Q500 ; create fan 1 on pin out2 on board 20 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"21.out1" Q500 ; create fan 2 on pin out1 on board 21 and set its frequency
M106 P2 S0 H-1
M950 F3 C"21.out2" Q500 ; create fan 3 on pin out2 on board 21 and set its frequency
M106 P3 S1 H2 T45 ; set fan 3 value. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 F0 K0 ; define tool 0
G10 P0 X0 Y0 Z0 R0 S0 ; set tool 0 axis offsets
M563 P1 D1 H2 X3 F2 K1 ; define tool 1
G10 P1 U0 Y-0.4 Z1.25 R0 S0 ; set tool 1 axis offsets
M501
with M98 P"config.g" I get no response in console but system appears to reboot as toolboard fans momentarily come on.
I also made the changes you suggested to no effect.
Thanks
@phaedrux ```
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.3 (2021-06-15 21:45:47) running on Duet 3 MB6HC v1.01 or later (standalone mode)
Board ID: 08DJM-956L2-G43S8-6JTDG-3S86Q-KB3QF
Used output buffers: 1 of 40 (14 max)
=== RTOS ===
Static ram: 150904
Dynamic ram: 93088 of which 0 recycled
Never used RAM 110200, free system stack 200 words
Tasks: NETWORK(ready,23.4%,254) ETHERNET(notifyWait,0.0%,117) HEAT(delaying,0.0%,357) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,799) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,7.6%,93) MAIN(running,68.4%,1114) IDLE(ready,0.6%,29), total 100.0%
Owned mutexes: LwipCore(NETWORK)
=== Platform ===
Last reset 00:00:22 ago, cause: software
Last software reset at 2021-06-18 21:00, reason: User, GCodes spinning, available RAM 110200, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 126
MCU temperature: min 52.8, current 53.4, max 53.5
Supply voltage: min 23.6, current 23.7, max 23.7, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.2, max 12.3, under voltage events: 0
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Driver 0: position 0, standstill, reads 57709, writes 14 timeouts 0, SG min/max 0/0
Driver 1: position 0, standstill, reads 57709, writes 14 timeouts 0, SG min/max 0/0
Driver 2: position 0, standstill, reads 57709, writes 14 timeouts 0, SG min/max 0/0
Driver 3: position 0, standstill, reads 57710, writes 14 timeouts 0, SG min/max 0/0
Driver 4: position 0, standstill, reads 57710, writes 14 timeouts 0, SG min/max 0/0
Driver 5: position 0, standstill, reads 57713, writes 11 timeouts 0, SG min/max 0/0
Date/time: 2021-06-18 21:01:04
Slowest loop: 3.70ms; fastest: 0.05ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.3ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== CAN ===
Messages queued 215, received 442, lost 0, longest wait 2ms for reply type 6049, peak Tx sync delay 6, free buffers 49 (min 48), ts 112/111/0
Tx timeouts 0,0,0,0,0,0
=== Network ===
Slowest loop: 5.87ms; fastest: 0.02ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
HTTP sessions: 1 of 8
I have an IDEX with two print heads each with an IR sensor. I would like to be able to probe the bed from either tool. I am able to successfully print with both tools and it runs the tool change macros as expected when doing so.
If I run G29 K0 it runs the through the process with tool0 as expected, if however I run G29 K1 which I expect would run through the same process using tool1 it instead runs through the process with tool0 movement but reading the sensor on tool1.
Not sure if I'm missing something in config or if I can even do this, I also know its not really necessary but sometime I have a tool0 offline and want to still be able to probe the bed.
I expect I'm missing something simple here.
; Configuration file for Duet 3 (firmware version 3)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Chiron" ; set printer name
M552 S1
G4 S5 ; wait for expansion boards to start
; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backwards
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P0.4 S1 ; physical drive 0.4 goes forwards
M569 P20.0 S1 ; physical drive 21 goes forwards
M569 P21.0 S0 ; physical drive 20 goes backwards
M584 X0.0 U0.1 Y0.2 Z0.3:0.4 E20.0:21.0 ; set drive mapping
M906 X1000 U1000.00 Y1000 Z1000 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
M201 X900.00 U900.00 Y300.00 Z15.00 E1000.00:1000.00 ; set accelerations (mm/s^2)
M203 X15000.00 U15000.00 Y15000.00 Z1000.00 E3600.00:3600.00 ; set maximum speeds (mm/min)
M566 X900.00 U900.00 Y300.00 Z60.00 E20.00:20.00 ; set maximum instantaneous speed changes (mm/min)
M92 X200.00 U200.00 Y200.00 Z800.00 E400.00:400.00 ; set steps per mm
M350 X16 U16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M84 S30 ; Set idle timeout
; Axis Limits
M208 X-75 U0 Y0 Z-5 S1 ; set axis minima
M208 X415 U485.2 Y410 Z410 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
M574 U2 S1 P"io1.in" ; configure active-high endstop for high end on U via pin io01.in
M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in
M574 Z1 S1 P"io3.in+io4.in" ; configure active-high endstop for low end on Z via pin io3.in/io4.in
; Z-Probe
M558 P8 H5 F200 T3000 C"20.io1.in" K0 ; Tool0 set dive height, probe speed and travel speed
G31 P500 X12.5 Y0 Z1.5
M558 P8 H5 F200 T3000 C"21.io1.in" K1 ; Tool1 set dive height, probe speed and travel speed
G31 P500 X-12.5 Y0 Z1.5
M557 X-10:410 Y25:410 S47 ; define mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed" ; 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 B0 S1 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S155 ; set temperature limit for heater 0 to 155C
M308 S1 P"20.temp0" Y"pt1000" A"Print0" ; sensor 1 (toolboard) board 20
M950 H1 C"20.out0" T1 ; create nozzle heater output on out0 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S455 ; set temperature limit for heater 1 to 455C
M308 S2 P"21.temp0" Y"pt1000" A"Print1" ; sensor 2 (toolboard) board 21
M950 H2 C"21.out0" T2 ; create nozzle heater output on out0 and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S455 ; set temperature limit for heater 1 to 455C
M308 S3 P"20.temp1" Y"thermistor" T100000 B4138 A"Extrude0" ; configure sensor 3 as thermistor on board 20 temp1
M308 S4 P"21.temp1" Y"thermistor" T100000 B4138 A"Extrude1" ; configure sensor 4 as thermistor on board 21 temp1
; Fans
M950 F0 C"20.out1" Q500 ; create fan 0 on pin out1 on board 20 and set its frequency
M106 P0 S0 H-1
M950 F1 C"20.out2" Q500 ; create fan 1 on pin out2 on board 20 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"21.out1" Q500 ; create fan 2 on pin out1 on board 21 and set its frequency
M106 P2 S0 H-1
M950 F3 C"21.out2" Q500 ; create fan 3 on pin out2 on board 21 and set its frequency
M106 P3 S1 H2 T45 ; set fan 3 value. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 F0 K0 ; define tool 0
G10 P0 X0 Y0 Z0 R0 S0 ; set tool 0 axis offsets
M563 P1 D1 H2 X3 F2 K1 ; define tool 1
G10 P1 U0 Y-0.4 Z1.25 R0 S0 ; set tool 1 axis offsets
M501
Thank for the help !
@dc42 Thank you for this sir, I was getting quite frustrated.
Thank you both, like I expected, embarrassingly simple.