Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. No2
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 10
    • Best 2
    • Controversial 0
    • Groups 0

    No2

    @No2

    2
    Reputation
    1
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    No2 Unfollow Follow

    Best posts made by No2

    • Duet 3 communication w/ CAN DS301

      Hi there,

      I have a duet 3 and a servo using some manufacturer's CAN (he has custom messages of course)
      I was looking for how you could work a CAN servo motor using DS301 CANOpen, i found nothing that could help me yet

      • do i have to use a raspberry ? (how)
      • where can i define custom CAN messages to send from the duet3 ?

      Thanks !

      posted in Using Duet Controllers
      No2undefined
      No2
    • RE: Fetching Duet state from Raspberry

      Found it :
      i used the Pn parameter to redirect it to USB (P1), from there i just have to read the TTY output on the raspberry and do whatever i want with it

      posted in Gcode meta commands
      No2undefined
      No2

    Latest posts made by No2

    • RE: duet 6hc w/ sbc stopped mid print, no appearing error in dwc

      looks like it actually solved my issue, thank you !

      posted in Using Duet Controllers
      No2undefined
      No2
    • duet 6hc w/ sbc stopped mid print, no appearing error in dwc

      Hi there, i have two printers with raspberrypi with the exact same issue which is stopping mid print with no obvious error.

      When i go back to duet web control after the crash it shows an only error that is "DCS disconnected" which i solve by executing this command :sudo systemctl restart duetcontrolserver.service
      when i try to reproduce, it shows this message in the journalctl -u duetcontrolserver.service :

      Aug 17 17:18:13 raspberrypi DuetControlServer[15313]: [info] Finished macro file homey.g
      Aug 17 17:18:13 raspberrypi DuetControlServer[15313]: [info] Finished job file
      Aug 17 17:18:18 raspberrypi DuetControlServer[15313]: [info] Finished printing file 0:/puzzle_2.gcode, print time was 1h 7m
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Abnormal program termination
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Periodic updater task faulted
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:  ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:  ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.File.InternalReadAllText(String path, Encoding encoding)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.File.ReadAllText(String path)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    --- End of inner exception stack trace ---
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [fatal] Periodic updater task faulted
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:  ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:  ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/veth4580cce/mtu'.
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.File.InternalReadAllText(String path, Encoding encoding)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.IO.File.ReadAllText(String path)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr)
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    --- End of inner exception stack trace ---
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]:    at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38
      Aug 17 19:00:09 raspberrypi DuetControlServer[15313]: [info] Application has shut down
      Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Duet Control Server v3.2.2
      Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Written by Christian Hammacher for Duet3D
      Aug 17 19:00:10 raspberrypi DuetControlServer[31671]: Licensed under the terms of the GNU Public License Version 3
      Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Settings loaded
      Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Environment initialized
      Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] Connection to Duet established
      Aug 17 19:00:11 raspberrypi DuetControlServer[31671]: [info] IPC socket created at /var/run/dsf/dcs.sock
      Aug 17 19:00:14 raspberrypi DuetWebServer[963]:       Connections to DuetControlServer established
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Abnormal program termination
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Periodic updater task faulted
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:  ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:  ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.File.InternalReadAllText(String path, Encoding encoding)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.File.ReadAllText(String path)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    --- End of inner exception stack trace ---
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]: [fatal] Periodic updater task faulted
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:  ---> System.AggregateException: One or more errors occurred. (Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:  ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/sys/class/net/vethb0e192b/mtu'.
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.File.InternalReadAllText(String path, Encoding encoding)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.IO.File.ReadAllText(String path)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.StringParsingHelpers.ParseRawIntFile(String filePath)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.GetMtu()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties..ctor(LinuxNetworkInterface linuxNetworkInterface)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(LinuxNetworkInterface lni)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface..ctor(String name, Int32 index)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetOrCreate(Dictionary`2 interfaces, String name, Int32 index)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.<>c__DisplayClass5_0.<GetLinuxNetworkInterfaces>b__2(String name, LinkLayerAddressInfo* llAddr)
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    --- End of inner exception stack trace ---
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at DuetControlServer.Model.PeriodicUpdater.UpdateNetwork() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 91
      Aug 17 20:02:07 raspberrypi DuetControlServer[31671]:    at DuetControlServer.Model.PeriodicUpdater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/PeriodicUpdater.cs:line 38
      
      

      result of M122 :

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (SBC mode)
      Board ID: 08DJM-956L2-G43S8-6JKD0-3S46Q-9U22D
      Used output buffers: 4 of 40 (10 max)
      === RTOS ===
      Static ram: 149788
      Dynamic ram: 62520 of which 24 recycled
      Never used RAM 146500, free system stack 200 words
      Tasks: Linux(ready,109) HEAT(blocked,297) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,53) MAIN(running,1203) IDLE(ready,19)
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:27:54 ago, cause: power up
      Last software reset details not available
      Error status: 0x00
      Aux0 errors 0,0,0
      Aux1 errors 0,0,0
      MCU temperature: min 21.4, current 37.8, max 37.9
      Supply voltage: min 23.8, current 23.8, max 23.8, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.0, current 12.0, max 12.1, under voltage events: 0
      Driver 0: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0
      Driver 1: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0
      Driver 2: position 0, standstill, reads 35775, writes 14 timeouts 0, SG min/max 0/0
      Driver 3: position 0, standstill, reads 35776, writes 14 timeouts 0, SG min/max 0/0
      Driver 4: position 0, standstill, reads 35776, writes 14 timeouts 0, SG min/max 0/0
      Driver 5: position 0, standstill, reads 35779, writes 11 timeouts 0, SG min/max 0/0
      Date/time: 2021-08-18 11:22:19
      Slowest loop: 0.45ms; fastest: 0.04ms
      === 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, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, 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 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
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === CAN ===
      Messages queued 6573, send timeouts 14946, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 48
      === SBC interface ===
      State: 4, failed transfers: 0
      Last transfer: 3ms ago
      RX/TX seq numbers: 58386/58386
      SPI underruns 0, overruns 0
      Number of disconnects: 0, IAP RAM available 0x2c8a8
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.2.2
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 1.15
      Maximum length of RX/TX data transfers: 3120/748
      
      posted in Using Duet Controllers
      No2undefined
      No2
    • Duet homing forever

      Hi there, i just dumped a new duet in sbc with the gcodes from another one where it works just fine and when i try to "home" any axis of the new one, it "loops" forever.

      for instance the X axis goes straight to the endstop and executes the gcode at the perfection, but as soon as it finishes, it repeats the same file again (the exact same file is working fine on my other duet) (on dwc it just loads forever)

      homex.g

      ; homex.g
      ; called to home the X axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.8 on Sat Nov 21 2020 17:58:51 GMT+0100 (Central European Standard Time)
      G91              ; relative positioning
      G1 H2 Z5 F6000   ; lift Z relative to current position
      G1 H1 X185 F3000 ; move quickly to X axis endstop and stop there (first pass)
      G1 H2 X-5 F6000  ; go back a few mm
      G1 H1 X185 F240  ; move slowly to X axis endstop once more (second pass)
      G1 H2 Z-5 F6000  ; lower Z again
      G90              ; absolute positioning
      

      config.g

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.8 on Sat Nov 21 2020 17:58:50 GMT+0100 (Central European Standard Time)
      
      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"raspberrypi"                                     ; set printer name
      
      ; 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
      M584 X0.0 Y0.1 Z0.2:0.3 E0.4                       ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z800.00 E500                     ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E300.00                ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z1500.00 E6000.00         ; set maximum speeds (mm/min)
      M201 X800 Y800 Z250 E3000.00              ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E1400 I30                      ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                                   ; set axis minima
      M208 X185 Y335 Z145 S0                             ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io0.in"                               ; configure active-high endstop for high end on X via pin io0.in
      M574 Y1 S1 P"io1.in"                               ; configure active-high endstop for high end on Y via pin io1.in
      M574 Z2 S2                                         ; configure Z-probe endstop for high end on Z
      
      ; Z-Probe
      M950 S0 C"io7.out"                                 ; create servo pin 0 for BLTouch
      M558 P9 C"^io7.in" H5 F120 T6000                   ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X46 Y6 Z0.15                               ; set Z probe trigger value, offset and trigger height
      M557 X15:225 Y15:225 S70                          ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4092       ; 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
      M307 H0 A150.9 C403.8 D0.2 S1.0 V23.7 B0
      M140 H0                                            ; map heated bed to heater 0
      M143 H0 S120                                       ; set temperature limit for heater 0 to 105C
      M308 S1 P"temp1" Y"thermistor" T100000 B4092       ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1                                 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S300                                       ; set temperature limit for heater 1 to 260C
      
      ; Fans
      M950 F0 C"out7" Q500                               ; create fan 0 on pin out7 and set its frequency
      M106 P0 C"FAN0-Duck" S0 	 		               ; set fan 0 name and value. Thermostatic control is turned on
      M950 F1 C"out9"cQ500                                   ; create fan 1 on pin out8 and set its frequency
      M106 P1 C"FAN1-Extruder" S1 H1 T160 	                ; set fan 1 name and value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 S"tool_0" 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
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      

      do you have any idea on what could be wrong ? (software or hardware)

      posted in Using Duet Controllers
      No2undefined
      No2
    • Using another Raspberry SPI Shield

      Hi there,
      I was wondering if there is a way to configure the CS pin the duet is listening to from the raspberry (and/or which one it is currently using) in order to add another SPI shield on my raspberry

      posted in Duet Hardware and wiring
      No2undefined
      No2
    • RE: Fetching Duet state from Raspberry

      Found it :
      i used the Pn parameter to redirect it to USB (P1), from there i just have to read the TTY output on the raspberry and do whatever i want with it

      posted in Gcode meta commands
      No2undefined
      No2
    • RE: Fetching Duet state from Raspberry

      That's actually the property i was looking for, problem is i dont know how to access the duet console from the raspberry (im using SBC mode), do you have a clue ?

      I am trying to access it in the raspberry, not in the web view console

      posted in Gcode meta commands
      No2undefined
      No2
    • Fetching Duet state from Raspberry

      Hi there,
      I was wondering if there is a way to fetch the current state of the duet from the raspberry (the exact line of GCode that is currently executed would be perfect)

      posted in Gcode meta commands
      No2undefined
      No2
    • RE: Duet 3 communication w/ CAN DS301

      Thank you for your answers,
      Hopefully the full can support will come in the future, in the meantime i will try to find a way around (by adding a node on the can bus that will do the translation for instance)

      posted in Using Duet Controllers
      No2undefined
      No2
    • RE: Duet 3 communication w/ CAN DS301

      But what if i build a cable using only a single CAN of the duet and connect it to a compatible single CANOpen device ?
      Would i be able to send CAN-FD GCode through it ?

      posted in Using Duet Controllers
      No2undefined
      No2
    • Duet 3 communication w/ CAN DS301

      Hi there,

      I have a duet 3 and a servo using some manufacturer's CAN (he has custom messages of course)
      I was looking for how you could work a CAN servo motor using DS301 CANOpen, i found nothing that could help me yet

      • do i have to use a raspberry ? (how)
      • where can i define custom CAN messages to send from the duet3 ?

      Thanks !

      posted in Using Duet Controllers
      No2undefined
      No2