RRF3.2: Heater x Not Found & Bad Command n
-
Have a Duet2 Wifi, with a Duex5. Just updated to 3.2, working my way through all the changes. I also updated the web control, and my PanelDue 7i
When I bootup, the PanelDue shows several error messages.
1st: is shows me Bad Command 02, but the number changes. I've seen Bad Command 42, and other numbers too. Can't seem to track down the problem.2nd: when I boot it says Heater 2 Not found, Heater 3 Not found, all the way to Heater 6. Even when there is no reference to Heater 2-6 in my config.g.
Any help is appreciated.
; Configuration file for Duet WiFi (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v2 on Fri Feb 22 2019 17:03:26 GMT-0700 (Mountain Standard Time) ; General preferences M929 P"eventlog.txt" S1 ; start logging to file eventlog.txt G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M669 K1 ; select CoreXY mode ; Network M550 P"BD3D Supercube" ; Set machine name M551 P"password" ; Set password M552 S1 ; Enable network M587 S"router" P"password" ; Configure access point. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S1 ; Enable Telnet ; Drives M584 X0 Y1 Z8:7:6:5 E3 M569 P0 S1 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes backwards ;M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S1 ; physical drive 4 goes forwards M569 P5 S0 ; physical drive 5 goes backwards M569 P6 S0 ; physical drive 6 goes forwards M569 P7 S0 ; physical drive 7 goes forwards M569 P8 S0 ; physical drive 8 goes backwards M584 X0 Y1 Z8:7:6:5 E3:4 ; set drive mapping M671 X-55:-55:558:558 Y135:393:393:135 S3 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E840.00:840.00 ; set steps per mm ; Speeds Acceleration Jerk M203 X6000.00 Y6000.00 Z300.00 E6000.00:6000.00 ; set maximum speeds (mm/min) M201 X2500.00 Y2500.00 Z100.00 E10000.00:10000.00 ; set accelerations (mm/s^2) M566 X600.00 Y600.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min) M906 X950 Y950 Z950 E950:950 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X500 Y500 Z490 S0 ; Set axis maxima ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin !xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin !ystop ;M574 Z1 S2 ; Use zprobe and home to min ;M915 X Y S7 R0 F0 ; set X and Y to sensitivity 7, do nothing when stall, unfiltered M308 S0 P"bed_temp" Y"thermistor" T100000 B4138 R4700 ; define bed temperature sensor M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; define E0 temperature sensor M950 H0 C"bed_heat" T0 ; heater 0 uses the bed_heat pin, sensor 0 M950 H1 C"e0heat" T1 ; heater 1 uses the e0heat pin and sensor 1 M140 H0 ; Configure Bed Heater M143 H0 S120 ; set temperature limit for heater 0 to 120C M143 H1 S280 ; set temperature limit for heater 1 to 280C ;M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch ;M950 H3 C"nil" ; Disable heaters h3-h7 to free up pins ;M950 H4 C"nil" ;M950 H5 C"nil" ;M950 H6 C"nil" ;M950 H7 C"nil" ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H3 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds ;M558 P9 H3 F120 T6000 B1 X0 Y0 Z1 ; Set Z probe type to bltouch and the dive height + speeds ;Z Height G31 P400 X-29 Y1 Z0.95 ; Set Z probe trigger value, offset, & trigger height. Lower is farther from bed. M557 X50:450 Y50:450 S80 ; Define mesh grid ; Printhead Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Board Fans M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin fan3 and set its frequency M950 F4 C"duex.fan4" Q500 ; create fan 4 on pin fan4 and set its frequency M950 F5 C"duex.fan5" Q500 ; create fan 5 on pin fan5 and set its frequency M950 F6 C"duex.fan6" Q500 ; create fan 6 on pin fan6 and set its frequency ;M106 P3 S1 I0 F500 H1 T180 ; set fan 3 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P4 S1 I0 F500 H1 T180 ; set fan 4 value, PWM signal inversion and frequency. Thermostatic control is turned on ;M106 P5 S1 I0 F500 H1 T180 ; set fan 3 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P6 S1 I0 F500 H1 T180 ; set fan 4 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ;PanelDue M575 P1 B57600 S0 ; Configure Port1 for PanelDue ; Automatic power saving M911 S10 R23 P"M913 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured M501 M929 S0 ; stop logging
power up + 00:00:00 [info] Running: Duet WiFi 1.02 or later: 3.2 (2021-01-05) power up + 00:00:01 [warn] Error: Heater 2 not found power up + 00:00:01 [warn] Error: Heater 3 not found power up + 00:00:01 [warn] Error: Heater 4 not found power up + 00:00:01 [warn] Error: Heater 5 not found power up + 00:00:01 [warn] Error: Heater 6 not found power up + 00:00:01 [info] Event logging stopped
-
Please post the results of M122 and M98 P"config.g"
Also ensure your PanelDue firmware is 1.24 or greater.
https://duet3d.dozuki.com/Wiki/PanelDue_Firmware_update
If you still have bad command errors, please tell us how the paneldue is wired.
-
@Phaedrux said in RRF3.2: Heater x Not Found & Bad Command n:
M98 P"config.g"
PanelDue v3.2.7
M98 P"config.g" HTTP is enabled on port 80 FTP is enabled on port 21 TELNET is enabled on port 23 Error: Heater 2 not found Error: Heater 3 not found Error: Heater 4 not found Error: Heater 5 not found Error: Heater 6 not found
1/15/2021, 4:12:43 PM M122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2 running on Duet WiFi 1.02 or later + DueX5 Board ID: 08DGM-9T6BU-FG3SJ-6JKFJ-3SD6J-9SXZF Used output buffers: 3 of 24 (24 max) === RTOS === Static ram: 23460 Dynamic ram: 74500 of which 108 recycled Never used RAM 14012, free system stack 101 words Tasks: NETWORK(ready,175) HEAT(blocked,295) DUEX(blocked,35) MAIN(running,452) IDLE(ready,19) Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:37:38 ago, cause: software Last software reset at 2021-01-15 15:35, reason: User, GCodes spinning, available RAM 14112, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x0c Aux0 errors 0,0,0 MCU temperature: min 33.0, current 34.1, max 34.9 Supply voltage: min 23.9, current 24.1, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes Driver 0: position 40000, standstill, SG min/max 0/1023 Driver 1: position 0, standstill, SG min/max 0/1023 Driver 2: position 21580, standstill, SG min/max not available Driver 3: position 0, standstill, SG min/max not available Driver 4: position 0, standstill, SG min/max not available Driver 5: position 0, standstill, SG min/max not available Driver 6: position 0, standstill, SG min/max not available Driver 7: position 0, standstill, SG min/max not available Driver 8: position 0, standstill, SG min/max not available Driver 9: position 0, standstill, SG min/max not available Driver 10: position 0 Driver 11: position 0 Date/time: 2021-01-15 16:12:41 Cache data hit count 2793901763 Slowest loop: 93.96ms; fastest: 0.17ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 3.1ms, write time 5.5ms, max retries 0 === Move === DMs created 83, maxWait 788803ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 155, completed moves 155, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 123], 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, 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 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 81.11ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.25 WiFi MAC address ec:fa:bc:25:34:b0 WiFi Vcc 3.45, reset reason Turned on by main processor WiFi flash size 4194304, free heap 20200 WiFi IP address 192.168.0.68 WiFi signal strength -61dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 === DueX === Read count 1, 0.03 reads/min
-
Try deleting your config-override.g. I think it's got left over commands from previous versions. Retune your heaters and use M500 to save the results fresh. That should get rid of the heater not found errors.
-
Wow thanks, that did clear all my heater faults! The "Bad Command" msg persists though.
When I reset the board (by hitting the paneldue stop button) if still gave my "Bad Command 42" and then on the next reset "Bad Command 50". The number seems random.
This does seem to only happen when I do the estop from the paneldue, I don't get "Bad Command" when I reset via Web Control. Also, the msg only displays on the paneldue, not in Webcontrol
-
Also, re-installed the PanelDue 1.24 firmware and now it shows 1.24. Don't know why is showed 3.2.7 before, but the Bad Command msgs are still there.
-
The bad command on an estop is known and nothing to worry about.
Bad commands during normal operation would be a bigger problem.
Paneldue 3.2.8 was just released and you're welcome to try that out as well.
-
Right on, thanks for the help