Duet 3 6HC - using temp sensor without mapping to a heater
-
Is it possible to use a temp sensor without having to map it to a heater?
I'm using 2 heater outs for cooling fans I built in the enclosure and want to use the temp sensor I connected to temp2.
M308 S2 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2
-
You can use the Duet Object Model to access a temp sensor:
Here is where the reading for temp sensor 4 would be found:
sensors.analog[4].lastReading
So you could use the the Duet RRF Meta Commands (link ) to perform actions based on the temp sensor reading:
if sensors.analog[4].lastReading > 999999 echo "THE PRINTER APPEARS TO BE ON FIRE"
Frederick
-
@Johnnie_W said in Duet 3 6HC - using temp sensor without mapping to a heater:
Is it possible to use a temp sensor without having to map it to a heater?
Yes. In RRF3 sensors are defined independently of heaters. You can display them in DWC if you click on Extras.