Duet3 6HC - Servo not working
-
I'm trying to get a servo motor working on a Duet 3 6HC but cannot get it ti work at all.
23/02/2022, 14:16:17 M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.4.0rc1 (2022-02-09 10:28:13) running on Duet 3 MB6HC v1.01 or later (SBC mode) Board ID: 08DJM-9P63L-DJ3T0-6J1DL-3SN6Q-KS33A Used output buffers: 10 of 40 (28 max) === RTOS === Static ram: 150984 Dynamic ram: 67736 of which 204 recycled Never used RAM 128892, free system stack 190 words Tasks: SBC(ready,0.6%,504) HEAT(notifyWait,0.0%,321) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,772) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,7.5%,92) MAIN(running,91.7%,923) IDLE(ready,0.1%,30), total 100.0% Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:13:27 ago, cause: software Last software reset at 2022-02-23 14:02, reason: User, GCodes spinning, available RAM 129096, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 138 MCU temperature: min 31.3, current 31.5, max 47.2 Supply voltage: min 23.8, current 23.9, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0 Heap OK, handles allocated/used 99/74, heap memory allocated/used/recyclable 2048/1914/536, gc cycles 1 Events: 0 queued, 0 completed Driver 0: pos 0, standstill, SG min 0, mspos 8, reads 621, writes 14 timeouts 0 Driver 1: pos 0, standstill, SG min 0, mspos 8, reads 621, writes 14 timeouts 0 Driver 2: pos 0, standstill, SG min 0, mspos 8, reads 621, writes 14 timeouts 0 Driver 3: pos 0, standstill, SG min 0, mspos 8, reads 621, writes 14 timeouts 0 Driver 4: pos 0, standstill, SG min 0, mspos 8, reads 621, writes 14 timeouts 0 Driver 5: pos 0, standstill, SG min 0, mspos 8, reads 622, writes 14 timeouts 0 Date/time: 2022-02-23 14:16:16 Slowest loop: 34.90ms; fastest: 0.05ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed 0, 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 -1 -1 -1 -1 -1 -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 doing "M122" 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 0, running macro Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === Filament sensors === Extruder 0 sensor: no data received === CAN === Messages queued 7288, received 26214, lost 0, boc 0 Longest wait 3ms for reply type 6053, peak Tx sync delay 6, free buffers 50 (min 49), ts 4040/4039/0 Tx timeouts 0,0,0,0,0,0 === SBC interface === Transfer state: 4, failed transfers: 0, checksum errors: 0 RX/TX seq numbers: 33055/33055 SPI underruns 0, overruns 0 State: 5, disconnects: 0, timeouts: 0, IAP RAM available 0x2bca8 Buffer RX/TX: 0/0-0, open files: 0 === Duet Control Server === Duet Control Server v3.4-rc1 Daemon: Executing macro daemon.g, started by system > Next stack level Code buffer space: 4096 Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0 Full transfers per second: 41.00, max time between full transfers: 44.3ms, max pin wait times: 48.9ms/2.9ms Codes per second: 0.28 Maximum length of RX/TX data transfers: 3633/872
The servo is connected to io9/vfd laser and configured
M950 S0 C"out9"
but it does not turn when doing a
M280 P0 S90
Already read the sensor related posts here in the forum but coudn't find any fix for this.
-
Connected it to io7.out and it works.
-
-