Duet 3 Expansion 3HC no modement on drivers
-
M98 P"config.g"
TELNET is enabled on port 23
FTP is enabled on port 21
Error: Unknown pin name 'bedtemp'
Error: Unknown pin name 'e1temp'
Error: Unknown pin name 'bedheat'
Error: Heater 0 does not exist
Error: Heater 0 does not exist
Error: Heater 0 does not exist
Error: Heater 0 not found
Error: Unknown pin name 'e3temp'
Warning: Sensor number 1 has not been defined
Error: G0/G1: insufficient axes homed -
Well you've got a number of problems, but nothing directly related to motor movement.
Can you post the results of M122 for the 3HC after trying to get it to move?
-
Yes. Just setting up my upsidedown voron.
M122 b1
Diagnostics for board 1:
Duet EXP3HC firmware version 3.3 (2021-06-15 16:12:41)
Bootloader ID: not available
Never used RAM 159104, free system stack 4392 words
Tasks: Move(notifyWait,0.0%,126) HEAT(delaying,0.0%,104) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,80) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.2%,63) MAIN(running,91.5%,438) IDLE(ready,0.0%,39) AIN(delaying,1.3%,263), total 100.0%
Last reset 00:08:08 ago, cause: power up
Last software reset data not available
Driver 0: position 800, 80.0 steps/mm, standstill, reads 55361, writes 22 timeouts 0, SG min/max 0/50, steps req 800 done 800
Driver 1: position 0, 80.0 steps/mm, standstill, reads 55362, writes 22 timeouts 0, SG min/max 0/0, steps req 0 done 0
Driver 2: position 0, 400.0 steps/mm, standstill, reads 55368, writes 17 timeouts 0, SG min/max 0/0, steps req 0 done 0
Moves scheduled 1, completed 1, in progress 0, hiccups 0, step errors 0, maxPrep 23, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
Peak sync jitter -2/9, peak Rx sync delay 180, resyncs 0/0, no step interrupt scheduled
VIN: 24.2V, V12: 12.2V
MCU temperature: min 32.4C, current 33.8C, max 33.8C
Ticks since heat task active 61, ADC conversions started 488849, completed 488849, timed out 0, errs 0
Last sensors broadcast 0x00000000 found 0 65 ticks ago, loop time 0
CAN messages queued 42, send timeouts 0, received 2471, lost 0, free buffers 37, min 37, error reg 11005e
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 293, adv 36962/36962 -
Can you send M906 and M913 to see what is reported for motor currents?
-
M913
Motor current % of normal - X:100, Y:100, Z:100, U:100, E100
M906
Motor current (mA) - X:1100, Y:1100, Z:900, U:0, E:0:0, idle factor 30% -
When it was connected to the mainboard and worked, which motor port did you use and how was that port configured?
-
Just connectet it to Drive 3 and moved z
-
I connected an other stepper to Driver0 on the exp. board.
after trying
G1 H2 x10 F3000
the stepper started to spinn wildly. -
@cando415 to test stepper motors, before you send any G1 H2 moves, send G91 to put the firmware in relative mode. Then your G1 H12 X10 F300 command should result in 10mm of movement regardless of where the firmware thinks the position is initially.
-
@dc42
i did send G91 first. 2-3 times the stepper on X does what he has to. Than starts spinning wild -
@cando415 how far does it move when it spins a lot? please sent eh complete sequence of commands you are sending.
-
I changed the wiring and plugged the X and Y to the mainboard.
Everything works fine. I recognised the noise is reduced extreamly.
Testing a bit. send you some results in abaout 30min -
the X,Y and Z are moving ok. i struggle to get the Extruder moving for testing in Driver1.0.
m302 p1
g1 h2 E50 F2000
don't work at the moment -
i think my extension board is scrap. u axis at 1.2 is moving like the X axis yesterday.
-
@cando415 please post the current config.g you are using, how the hotend motor is wired in as well.
-
; system and network ---------------------------------------------------------------------------------- M111 S0 ; Debug off M550 PVoron ; Machine name and Netbios name (can be anything you like) M551 Preprap ; Machine password (used for FTP) M552 S1 ; start network module (must have been configured first with M587) M586 P2 S1 T0 ; enable telnet M586 P1 S1 T0 ; enable ftp M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Display ---------------------------------------------------------------------------------------------- M575 P1 S1 B57600 ; activate paneldue ;; geometry -------------------------------------------------------------------------------------------- M667 S1 ; corexy mode M208 X0 Y0 Z0 S1. ; S1 = set axes minima M208 X350 Y357 Z330 S0 ; S0 = set axes maxima ; drives ----------------------------------------------------------------------------------------------- ; A B ;| 0.4 | | 0.5 | ; ----+---- Z-Drives ; | 3 | 2 | ; ----+---- ; | 0 | 1 | ; ----+---- ; Front M569 P0.4 S0 D3 ; X motor direction M569 P0.5 S0 D3 ; Y motor direction M569 P0.0 S1 D3 ; Z0 motor direction M569 P0.1 S0 D3 ; Z1 motor direction M569 P0.2 S1 D3 ; Z2 motor direction M569 P0.3 S0 D3 ; Z3 motor direction M569 P1.0 S1 ; E0 motor direction prefeed on colorselector M569 P1.1 S0 ; E1 motor direction hotend M569 P1.2 S0 ; U motor direction colorselector M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.1:1.1 U1.2 ; motor bindings M84 S3600 ; motor idle timeout M350 X16 Y16 Z16 E16 U16 I1 ; set microstepping M92 X80 Y80 Z400 E426 U400 ; set microsteps per mm M566 X5000 Y5000 Z1000 E1000 U1000 ; instantaneous speed change / jerk (mm/min) M203 X21000 Y21000 Z8000 E400 U1500 ; maximum speed (mm/min) M201 X1500 Y1500 Z300 E500 U1500 ; maximum acceleration (mm/s²) M906 X1100 Y1100 Z900 E900 U900 I30 ; motor drive current M84 S30 ; Set idle timeout endstops------------------------------------------------------------------------------------------------ M574 X1 S1 P"io1.in" ; X min active low endstop switch IO1 M574 Y2 S1 P"io2.in" ; Y min active low endstop switch IO2 M574 Z1 S1 P"io4.in" ; Z min active low endstop switch IO3 ;Filamentsensor----------------------------------------------------------------------------------------- ;M591 D1 P7 C"e1_stop" L3.3 R60:140 E7 A1 S1 ; Pulse-type filament monitor on pin e1stop, enabled, sensitivity 3.3mm/pulse, allowed movement 90% to 130%, check every 7.0mm ; Bed leveling params ---------------------------------------------------------------------------------- ; define the z-probe, unsure, might not been needed ;M558 P5 C"zprobe.in" I1 A5 H1.45 R0.1 F65 T7000 A5 S0.01 B1 M950 S0 C"io3.out" ; create servo pin 0 for BLTouch M558 P9 C"io3.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X15.5 Y-25.75 Z2.042 ; set Z probe trigger value, offset and trigger height ;M557 X30:200 Y15:195 S80 ; define mesh grid M671 X-46:-46:345:345 Y9:368:368:9 S20 ; Z leadscrews positions M557 X50:300 Y50:300 S25 ; Bed mesh grid ; thermal section -------------------------------------------------------------------------------------- ; M308 S3 Y"mcu-temp" A"Board" ; Board thermal sensor ; M912 P0 S-8 ; MCU tempurature sensor correction (subtract 8°K) ;Bed heater single thermistor setup, not used ;M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 A"Bed Pad" ; configure sensor 0 as thermistor on pin temp0 ;M950 H0 C"bedheat" T0 ; create bed heater output on out0 and map it to sensor 0 ;M143 H0 S120 ; set temperature limit for heater 0 to 120C ;M307 H0 B0 S0.6 ; disable bang-bang mode for the bed heater and set PWM limit ;M140 P0 H0 ; Mark heater h0 as bed heater (for DWC) ;Bed heater dual thermistor setup ---------------------------------------------------------------------- M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 A"Bed Pad" ; configure sensor 0 as thermistor on pin bedtemp (pad sensor) M308 S2 P"e1temp" Y"thermistor" T100000 B3950 A"Bed Plate" ; configure sensor 2 as thermistor on pin e1temp (plate sensor) M950 H0 C"bedheat" T2 Q10 ; create bed heater output on out0 and map it to sensor 2 (plate sensor). Set PWM frequency to 10Hz M140 P0 H0 ; Mark heater H0 as bed heater (for DWC) M143 H0 P1 T0 A2 S115 C0 ; Regulate (A2) bed heater (H0) to have pad sensor (T0) below 110°C. Use Heater monitor 1 for it M143 H0 P2 T0 A1 S125 C0 ; Shut off (A1) bed heater (H0) if pad sensor (T0) exceeds 120°C. Use Heater monitor 2 for it M143 H0 S120 ; Set bed heater max temperature to 120°C, use implict monitor 0 which is implicitly configured for heater fault M307 H0 B1 S0.6 ; Enable Bang Bang mode and set PWM to 60% to avoid warping ;HotEnd ------------------------------------------------------------------------------------------------ ;M308 S1 P"e0temp" Y"thermistor" T100000 B4685 C6.5338987554e-08 A"Hotend" M308 S1 P"e3temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend" ; configure sensor 1 as thermistor (ATC Semitec 104GT2) M950 H3 C"Out3" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H3 S300 ; set temperature limit for heater 1 to 300°C ;M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit ;Chamber sensor (DHT22) -------------------------------------------------------------------------------- ;M308 S7 P"spi.cs6" Y"dht22" A"Chamber Temp" ; define DHT22 temperature sensor ;M308 S8 P"S7.1" Y"dhthumidity" A"Chamber Hum[%]" ; Attach DHT22 humidity sensor to secondary output of temperature senso ; fans ------------------------------------------------------------------------------------------------- ; part cooler OUT 7 M950 F0 C"out7" Q500 ; part cooler, set to 20Hz PWM M106 P0 C"HotEnd" ; Name it "PartCooler" ;Hot End OUT 8 M950 F1 C"out8" Q20 ; hotend fan, set to 20Hz PWM M106 P1 C"Part" ; attach hotend fan to heater 1 and set activation temperature to 60°C ;M106 P1 T60 H1 C"ToolFan" ; attach hotend fan to heater 1 and set activation temperature to 60°C ;Hot End OUT 1.8 M950 F1 C"1.out8" Q20 ; hotend fan, set to 20Hz PWM M106 P1 C"Part2" ; attach hotend fan to heater 1 and set activation temperature to 60°C ;M106 P1 T60 H1 C"ToolFan" ; attach hotend fan to heater 1 and set activation temperature to 60°C ; controller / electronics fan OUT 4:5:6 ;M950 F2 C"out4" Q500 ; electronics compartment fan on duex, set to 20Hz PWM ;M106 P2 H4 T45:50 ;C"ElectronicsFan1" ; fan is activated when MCU reports 35°C; runs on full speed from 50°C on ;M950 F3 C"out5" Q500 ; electronics compartment fan on duex, set to 20Hz PWM ;M106 P3 H4 T45:50 ;C"ElectronicsFan2" ;M950 F4 C"out6" Q500 ; electronics compartment fan on duex, set to 20Hz PWM ;M106 P4 H4 T45:50 ;C"ElectronicsFan3" ; chamber Fan ; M950 F3 C"duex.fan4" Q20 ; chamber fan on duex, set to 20Hz PWM ; M106 P3 T40:45 H7 C"ChamberFan" ; Chamberfan is activated when chamber thermistor reached 40°C; runs on full speed from 45°C on ; tools ------------------------------------------------------------------------------------------------ M563 P0 S"White" D0:1 H2 F0:1 ; 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 M568 P0 S1 ; enable mixing for tool 0 M567 P0 E0.5:0.5 ; set mixing ratios for tool 0 M563 P1 S"Zusatz 1" D1:0 H2 F0:1 ; define tool 1 G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C M568 P1 S1 ; enable mixing for tool 1 M567 P1 E0.5:0.5 ; set mixing ratios for tool 1 M563 P2 S"Zusatz 2" D1:0 H2 F0:1 ; define tool 2 G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C M568 P2 S1 ; enable mixing for tool 2 M567 P2 E0.5:0.5 ; set mixing ratios for tool 2 M563 P3 S"Magneta" D0:1 H2 F0:1 ; define tool 3 G10 P3 X0 Y0 Z0 ; set tool 3 axis offsets G10 P3 R0 S0 ; set initial tool 3 active and standby temperatures to 0C M568 P3 S1 ; enable mixing for tool 3 M567 P3 E0.5:0.5 ; set mixing ratios for tool 3 M563 P4 S"Cyan" D1:0 H2 F0:1 ; define tool 4 G10 P4 X0 Y0 Z0 ; set tool 4 axis offsets G10 P4 R0 S0 ; set initial tool 4 active and standby temperatures to 0C M568 P4 S1 ; enable mixing for tool 4 M567 P4 E0.5:0.5 ; set mixing ratios for tool 4 M563 P5 S"Yellow" D0:1 H2 F0:1 ; define tool 5 G10 P5 X0 Y0 Z0 ; set tool 5 axis offsets G10 P5 R0 S0 ; set initial tool 5 active and standby temperatures to 0C M568 P5 S1 ; enable mixing for tool 5 M567 P5 E0.5:0.5 ; set mixing ratios for tool 5 M563 P6 S"Black" D0:1 H2 F0:1 ; define tool 6 G10 P6 X0 Y0 Z0 ; set tool 6 axis offsets G10 P6 R0 S0 ; set initial tool 6 active and standby temperatures to 0C M568 P6 S1 ; enable mixing for tool 6 M567 P6 E0.5:0.5 ; set mixing ratios for tool 6 M563 P7 S"Direct only" D0:1 H2 ; define tool 7 G10 P7 X0 Y0 Z0 ; set tool 7 axis offsets G10 P7 R0 S0 ; set initial tool 7 active and standby temperatures to 0C M568 P7 S1 ; enable mixing for tool 7 M567 P7 E0:0.5 ; set mixing ratios for tool 7 ;MISC -------------------------------------------------------------------------------------------------- T0 ; activate tool 0 ;LED M150 X0 ;Dotstar LED strip ; read config-override.g ;M501 ;; firmware retraction --------------------------------------------------------------------------------- ;; Choose one as your default: ;M98 P"/macros/retraction/quiet_nozhop.g ;M98 P"/macros/retraction/quiet_zhop.g ;M98 P"/macros/retraction/pa_nozhop.g" ;M98 P"/macros/retraction/pa_zhop.g"
The wiring of the Stepper is similar to the ones working on the Mainboard. As mentioned they don't work if i connect them to the Extension board.
-
@cando415 said in Duet 3 Expansion 3HC no modement on drivers:
M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.1:1.1 U1.2
this is wrong, should be
M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.0:1.1 U1.2
-
@t3p3tony
great jo. Thanks. Works. also with X & Y on 1.0 & 1.1Also my teststepper died. it doesnt work on the extension nor on the mainboard.
-
@cando415 great that that is fixed.