Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    CanBus Problems

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    6
    145
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Surtzundefined
      Surtz
      last edited by Surtz

      Greetings Everyone,
      I'm hoping someone can point me in the right direction, my printer is a self design, based on the Voron Trident, the main board
      is a Duet 3 Mini 5+ WiFi with a Duet 3 Roto ToolBoard and a PanelDue 5.

      The Mini 5 and the Roto both have the latest firmware and they are talking to each other, the extruder works, the fans work, I've been able to do a PID tune on the hotend, but I am have trouble with the X & Y endstops.

      The endstops are micro switches and wired for normally closed and they are connected to io1 and io2 on the Roto board, one lead connects to the ground pin and the other lead connects to the io1in/io2in pins.

      In the config.g the end stops are configured
      M574 X1 S1 P"121io1in"
      M574 Y1 S1 P"121io2in"
      M574 Z1 S2

      When I try to home either X or Y I get an error on the PanelDue "Failed to enabled endstops"
      If I send M119 in the console of the DWC I get the following result;
      Endstops - X: no endstop, Y: no endstop, Z: not stopped, Z probe: at min stop

      When I first power up my printer I get some errors on the PanelDue console.
      "Error: Invalid remote handle"
      "Error: Response timeout CAN addr 121, req type 6036, RID=13
      "Error: Response timeout CAN addr 121, req type 6036, RID=14

      Please advise
      regards
      Stephen

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Surtz
        last edited by

        @Surtz said in CanBus Problems:

        M574 X1 S1 P"121io1in"
        M574 Y1 S1 P"121io2in"

        these should be formatted like this

        M574 X1 S1 P"121.io1.in"
        M574 Y1 S1 P"121.io2.in"
        

        if that doesn't work, send M98 P"config.g"
        also post your complete config

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        Surtzundefined 1 Reply Last reply Reply Quote 0
        • Surtzundefined
          Surtz @jay_s_uk
          last edited by

          @jay_s_uk Hi, thank you for your response to my problem, In my config.g the M574 does appear as you have described above, I had real problems when i tried to submit my post, as I was typing it out, in the preview beside when i typed out the pin numbers correctly they were highlighted in blue, and when I tried to submit my post I got an error; "You need 2 reputation to post links". For some reason this forums "system" interpreted the pin numbers as links, that's why I didn't include the . in my
          post

          config.g

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Surtz
            last edited by

            @Surtz Can you check the firmware versions installed on each board?
            M115 and M115 B121 will tell you for both board, or check on the machine settings page

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            Surtzundefined 1 Reply Last reply Reply Quote 0
            • Surtzundefined
              Surtz @jay_s_uk
              last edited by

              @jay_s_uk Hi, I had a look at machine setting and it showed that the Mini5 had 3.5.6, but the Roto had 3.5.4, so I went to GitHub and down loaded release 3.5.4 and uploaded it and now when I send M119 the report comes back
              "Endstops - X:at min stop, Y:at min stop. Z:at min stop, Z probe:at min stop.

              Thank you for your help, it wouldn't have occurred to me that different firmware versions could cause such a problem, but it does seem odd to me that it was only the endstops that wouldn't work.

              Cheers
              Stephen

              dc42undefined 1 Reply Last reply Reply Quote 1
              • dc42undefined
                dc42 administrators @Surtz
                last edited by dc42

                @Surtz said in CanBus Problems:

                I had a look at machine setting and it showed that the Mini5 had 3.5.6

                We haven't released a firmware version 3.5.6 so I guess you meant 3.4.6. Between major firmware versions (e.g. 3.4.x and 3.5.x) we often change the details of some of the messages sent between boards over CAN, so it's not unusual for some thing not to work when you mix versions in this way.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • dc42undefined dc42 marked this topic as a question
                • dc42undefined dc42 has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA