vcore 3.1 motor stalling.
-
Hello, So im commissioning my ratrig build for the first time and Im having an issue with one of the xy motors. I'm unsure if 'stalling" is the proper term for the issue but it just makes a horrendous noise and doesn't move the printhead in its diagonal direction when I individually command the motor for "Y". When i test the "X" motor it moves nice and smooth. Ive switched the motor mapping in the config and the issue swaps to the "x" diagonal direction. This is my first corexy build so im not sure how to properly troubleshoot this issue. Ive tried googling for a solution but im not having much luck. Any help would be much appreciated!
config to see if im overlooking something.
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"IWS RATRIG" ; set printer name M669 K1 ; CoreXY G21 ; Set Units to Millimeters ; Network M552 S1 ; enable network 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 S1 ; physical drive 0.2 goes forwards M569 P0.3 S0 ; physical drive 0.3 goes backwards M569 P0.4 S0 ; physical drive 0.4 goes backwards M569 P0.5 S1 ; physical drive 0.5 goes forwards M584 X0.4 Y0.3 Z0.0:0.1:0.2 E0.5 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z800.00 ; set steps per mm M906 X1600 Y1600 Z1600 I30 ; set motor currents (mA) and motor idle factor in per cent -- safe for Duet 3 mini 5+ M84 S30 ; Set idle timeout M566 X400.00 Y400.00 Z6.00 E300 P1 ; set maximum instantaneous speed changes (mm/min) M203 X10800.00 Y10800.00 Z1000.00 E7200 ; set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z100.00 E10000 ; set accelerations (mm/s^2) ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X510 Y500 Z450 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure active high endstops M574 Y2 S1 P"io1.in" ; configure active high endstops M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws M557 X50:450 Y50:450 P5 ; define 5x5 mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed" ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 Q11 ; create bed heater output on out5 and map it to sensor 0, lower switching frequency to 11Hz 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 S110 ; set temperature limit for heater 0 to 110C ;; Run Bed PID Tune!! Below is an example for a 300x300 bed M307 H0 R0.366 K0.216:0.000 D8.44 E1.35 S1.00 B0 ; Fans M950 F0 C"out5" Q500 ; create fan 0 on pin out5 and set its frequency M106 P0 C"Layer Fan" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"out3" Q500 ; create fan 1 on pin out3 and set its frequency M106 P1 C"Hotend Fan" S1 H1 T45 ; set fan 1 name and value. Thermostatic control turned on for Hotend M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency M106 P2 C"Layer Fan 2" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F0:2 ; 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 M950 H1 C"out1" T1 ; create nozzle heater output on out2 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S250 ; set the maximum temperature in C for heater ; EVA 2 / ORBITER2.0 / RAPIDO M92 E690 ; set extruder steps per mm, 0.9 angle/step (LDO Pancake) M906 E1200 I10 ; set extruder motor current (mA) and idle factor in per cent M308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as PT1000 on pin temp1 ;; Run Heater PID Tune!! M307 H1 R4.558 K0.565:0.162 D5.19 E1.35 S1.00 B0 V24.0 ; Z-Probe ;; Inductive Probe ; M558 P5 C"!io3.in" H5 F400 T5000 ; set Z probe type to unmodulated and the dive height + speeds ; G31 P500 X-30 Y-15 Z0.20 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed ;; BLTouch M950 S0 C"io2.out" ; Create a servo pin on io2 M558 P9 C"io2.in" H5 F240 T10800 A5 ; set Z probe type to unmodulated and the dive height + speeds G31 P25 X-28.00 Y-13.00 Z0.90 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed ; Select default tool T0 ; Pressure Advance M572 D0 S0.10 M501
m122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.0 (2022-03-15 18:59:15) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: 0Z3DT-2N6KL-K65J0-409NA-27X1Z-77YJ0 Used output buffers: 3 of 40 (14 max) === RTOS === Static ram: 103684 Dynamic ram: 110492 of which 28 recycled Never used RAM 27436, free system stack 190 words Tasks: NETWORK(ready,14.9%,246) HEAT(notifyWait,0.0%,356) Move(notifyWait,0.0%,292) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,372) CanClock(delaying,0.0%,339) TMC(delaying,1.2%,81) MAIN(running,83.0%,428) IDLE(ready,0.1%,29) AIN(delaying,0.8%,264), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:05:49 ago, cause: software Last software reset at 2023-02-23 08:52, reason: User, GCodes spinning, available RAM 27508, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 MCU revision 3, ADC conversions started 350119, completed 350119, timed out 0, errs 0 Step timer max interval 1461 MCU temperature: min 39.2, current 40.8, max 40.9 Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 31789, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 31789, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 31789, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 22, reads 31786, writes 12, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 22, reads 31786, writes 12, timeouts 0, DMA errors 0, CC errors 0 Driver 5: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 31789, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 6: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 31789, writes 9, timeouts 0, DMA errors 0, CC errors 0 Date/time: 2023-02-23 08:58:33 Cache data hit count 666457839 Slowest loop: 8.17ms; fastest: 0.13ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 3.5ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 3, maxWait 293588ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 3, completed 3, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 1 is on, I-accum = 0.0 === 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 === CAN === Messages queued 3149, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 1750/0/0 Tx timeouts 0,0,1749,0,0,1398 last cancelled message type 4514 dest 127 === Network === Slowest loop: 16.97ms; 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.26 WiFi MAC address e8:68:e7:e5:fa:fe WiFi Vcc 3.38, reset reason Power up WiFi flash size 2097152, free heap 23120 WiFi IP address 192.168.0.38 WiFi signal strength -42dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0
-
-
First I would suggest updating your firmware to 3.4.5 by uploading this zip file to the system tab in DWC. https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip
Then have a read through this corexy setup guide.
https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_coreXY
There are motor tests described that may help you figure it out.