Using Heat Bed Output as IO Pin
-
Hi, I'm trying to use the heat bed output of a DuetEthernet as a regular IO. I've used "M307 H0 A-1 C-1 D-1" command to disable the bed heater first. I can actually confirm that it's disabled with "M307 H0". But then when I use "M42 P0 S255" to turn it on manually, the bed heat LED on the board flashes and turns off quickly. Is there anything I'm missing here? I can control all other heater outputs like this (E0-E6). Bed heater is the only one I can't control.
-
You may need to send M140 H-1 to tell the firmware that there is no bed heater.
-
M140 H-1 removes the Bed Heater temperature control box from the web interface, but still the same issue. The LED flashes for second and turns off.
-
I have confirmed this as a bug, and I will try to include a fix in 1.19beta11.
Edit: I found the problem. Temporary workaround: put the M140 H-1 command earlier in config.g than your M563 tool definition commands.
-
I don't have an M563 tool definition command. I put M140 H-1 on top of my config.g, still didn't work.
-
After your M140 H-1 command, create a tool with M563, then delete it.
-
Works perfectly, Thanks.
-
Fixed in 1.19beta10+2 which I released earlier today.