No temp reading or stepper control with ToolBoard 1.0
-
I am able to communicate with the toolboard using M115 and M122. I can enable and disable the part cooling fan and my z probe works, however, I cannot move the extruder, read temperatures (n/a on web interface), nor heat up the hotend. Typing T0 in the console doesn't cause the manual extrusion buttons to become clickable. I've probed all my connections, and I believe they are correct. I've tried setting the toolboard address to both 121 and 20 but that didn't make a difference.
M115
FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2021-02-11M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (standalone mode)
Board ID: 08DJM-9P63L-DJ3S0-7JKDJ-3SJ6T-T8M7B
Used output buffers: 3 of 40 (23 max)
=== RTOS ===
Static ram: 149788
Dynamic ram: 92744 of which 76 recycled
Never used RAM 116224, free system stack 130 words
Tasks: NETWORK(ready,179) ETHERNET(blocked,110) HEAT(blocked,297) CanReceiv(blocked,834) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,17) MAIN(running,1105) IDLE(ready,19)
Owned mutexes:
=== Platform ===
Last reset 00:04:04 ago, cause: power up
Last software reset at 2021-07-27 09:02, reason: User, GCodes spinning, available RAM 116224, 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
Aux0 errors 0,0,0
Aux1 errors 0,0,0
MCU temperature: min 39.5, current 39.6, max 40.0
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.0, current 12.1, max 12.1, under voltage events: 0
Driver 0: position 0, standstill, reads 22034, writes 0 timeouts 0, SG min/max not available
Driver 1: position 0, standstill, reads 22034, writes 0 timeouts 0, SG min/max not available
Driver 2: position 0, standstill, reads 22034, writes 0 timeouts 0, SG min/max not available
Driver 3: position 0, standstill, reads 22035, writes 0 timeouts 0, SG min/max not available
Driver 4: position 0, standstill, reads 22035, writes 0 timeouts 0, SG min/max not available
Driver 5: position 0, standstill, reads 22034, writes 0 timeouts 0, SG min/max not available
Date/time: 2021-07-27 09:24:09
Slowest loop: 15.14ms; 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 1.6ms, max retries 0
=== Move ===
DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 5, completed moves 5, 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.
=== Network ===
Slowest loop: 48.79ms; 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 2 2 2 2 0 0 0
=== CAN ===
Messages queued 665, send timeouts 0, received 1345, lost 0, longest wait 0ms for reply type 0, free buffers 48
config.g
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jul 26 2021 12:02:50 GMT-0500 (Central Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"TXT Stacker 2" ; set printer name; Network
M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P20.0 S1 ; physical drive 20.0 goes forwards
M584 X0.0 Y0.1 Z0.2 E20.0 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X72.85 Y73.295 Z1600 E210.00 ; set steps per mm
M566 X900.00 Y900.00 Z18.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z50.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y-45 Z0 S1 ; set axis minima
M208 X490 Y330 Z645 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!io1.in" ; configure active-low endstop for low end on X via pin io0.in with pullup resistor
;M574 X2 S1 P"!io3.in" ; configure active-low endstop for low end on X via pin io0.in with pullup resistor
M574 Y1 S1 P"!io2.in" ; configure active-low endstop for low end on Y via pin io1.in with pullup resistor
;M574 Y2 S1 P"!io4.in" ; configure active-low endstop for high end on Y via pin io1.in with pullup resistor
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M558 P8 C"20.io0.in" H5 F600 T6000 ; set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y21.2 Z2 ; set Z probe trigger value, offset and trigger height
M557 X0:520 Y30:300 S20 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; 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.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"20.temp0" Y"thermistor" T100000 B4680 C6.455513e-8 ; configure sensor 1 as thermistor on pin 20.temp0
M950 H1 C"20.out0" T1 ; create nozzle heater output on 20.out0 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S450 ; set temperature limit for heater 1 to 450C; Fans
M950 F0 C"20.out1" Q500 ; create fan 0 on pin 20.out1 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"20.out2" Q500 ; create fan 1 on pin 20.out2 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"out7" Q500 ; create fan 2 on pin out7 and set its frequency (for LED)
M106 P2 S0 H-1 C"LED" ; set fan 2 value. Thermostatic control is turned off; Tools
M563 P0 S"Main Tool" D0 H1 F0 ; 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; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue - Ethernet -
-
Well I kind of solved it... I tried to reflash the 3.3 firmware but kept getting a CRC error when it tried to uncompress the material design font file, but on the fourth attempt it just suddenly uncompressed successfully. And now I can move the extruder and read the thermistor values. So I guess never mind? haha
-
@p8blr most likely you had different firmware versions on the main board and the tool board. You didn't post the result of running M115 B20 or M122 B20, so I can't tell. Version 1.1 tool boards ship with firmware 3.3 installed, because older versions don't allow us to test the accelerometer.