Enabling fan tach on expansion board causes fan to disappear
-
Hi,
I (think I) found a bug in the EXP3HC firmware where enabling the tach on a pwm fan causes the fan to disappear.
M950 F0 C"!1.out4" Q450 ; works fine
M950 F0 C"!1.out4+1.out4.tach" Q450 ; causes the fan to disappear from dwc and cannot be controlled with M106 commands without having a "Fan number 0 not found" errorIs my M950 command right? on the MB6HC it works perfectly fine
MB6HC is currently on RFF 3.2
Here is a look at my M122 B1 command answer :M122 B1
Diagnostics for board 1:
Duet EXP3HC firmware version 3.2 (2021-01-05)
Bootloader ID: not available
Never used RAM 154808, free system stack 200 words
HEAT 102 CanAsync 94 CanRecv 84 TMC 64 MAIN 279 AIN 257
Last reset 00:02:11 ago, cause: software
Last software reset data not available
Driver 0: position 0, 80.0 steps/mm, standstill, reads 52709, writes 11 timeouts 0, SG min/max 0/0
Driver 1: position 0, 80.0 steps/mm, standstill, reads 52711, writes 11 timeouts 0, SG min/max 0/0
Driver 2: position 0, 80.0 steps/mm, standstill, reads 52714, writes 11 timeouts 0, SG min/max 0/0
Moves scheduled 0, completed 0, in progress 0, hiccups 0
No step interrupt scheduled
VIN: 23.9V, V12: 12.2V
MCU temperature: min 42.1C, current 42.3C, max 42.3C
Ticks since heat task active 177, ADC conversions started 131918, completed 131918, timed out 0
Last sensors broadcast 0x00000000 found 0 180 ticks ago, loop time 0
CAN messages queued 547, send timeouts 0, received 1198, lost 0, free buffers 36Thanks in advance for the answers, Hugh
-
@hugsy Can you try in RRF 3.3 on your mainboard and expansion board please.
please read the release notes!
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.xAlso is this in stand alone or SBC mode?
-
@t3p3tony The board is in standalone mode. The upgrade to RRF 3.3 for the MB6HC and EXP3HC didn't solved the issue
-
@hugsy said in Enabling fan tach on expansion board causes fan to disappear:
M950 F0 C"!1.out4+1.out4.tach" Q450
Change that line to:
M950 F0 C"!1.out4+out4.tach" Q450
-
@dc42 Thanks! It works perfectly now