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

    M308 max senseors not correct?

    Scheduled Pinned Locked Moved
    Documentation
    4
    6
    221
    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.
    • Chrissundefined
      Chriss
      last edited by Chriss

      Hi *,

      I play with my "Duet 3 MB6HC MB6HC 3.5.3, Duet 3 Expansion EXP3HC EXP3HC 3.5.3 " a bit and I found that in the docu about M308:

      This code replaces M305 in RepRapFirmware 3. In earlier versions of RepRapFirmware, sensors only existed in combination with heaters, which necessitated the concept of a "virtual heater" to represent a sensor with no associated heater (e.g. MCU temperature sensor). RepRapFirmware 3 allows sensors to be defined independently of heaters, up to a max of 32 sensors. The association between heaters and sensors is defined using M950.
      

      How is it possible to use "M308 S55" when the docu speaks about "max 32 sensors?

      M308 S56 P"mcu-temp" Y"mcu-temp" A"mcu"
      Error: M308: Sensor number out of range
      ok
      M308 S56 P"mcu-temp" Y"mcu-temp" A"mcu"
      ok
      

      Do I oversee something? Or the the docu not correct? Or should I read it as "max 32 sensors per heater" and the "total max sensors" is not documented in the section?
      Maybe I do simply do not get it...

      Edit: And I just saw that I can not find the max fans in M950 too. :? I think that it would be nice to have the allowed range at the "Parameters" section .

      Cheers, Chriss

      droftartsundefined chrishammundefined 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Chriss
        last edited by droftarts

        @Chriss See https://docs.duet3d.com/User_manual/RepRapFirmware/RepRapFirmware_overview#firmware-configuration-limits

        Max sensors is 56 for Duet 3, 32 for Duet 2.
        Max fans is 20 for Duet 3, 12 for Duet 2, 6 for Maestro.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 0
        • chrishammundefined
          chrishamm administrators @Chriss
          last edited by

          @Chriss Board limits for heaters, sensors etc. can be checked in the limits key of the object model. I don't think it's a good idea to hard-code those values in the docs because they tend to change from time to time and per board., @droftarts perhaps it's better to refer to that key if possible?

          Duet software engineer

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @chrishamm
            last edited by droftarts

            @chrishamm In the first para of the link I posted it says

            You can check the configuration limits of the firmware version you are running by opening the 'Object Model' plugin in DWC, and checking the 'limits' section.

            I think it's worth keeping the list as it helps people who are considering buying a Duet, or don't have theirs to hand.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            Chrissundefined 1 Reply Last reply Reply Quote 1
            • Chrissundefined
              Chriss @droftarts
              last edited by

              @droftarts Yes, yopu are right, the limit page says that. But I can remember from the top of my head that the limits are very often mentioned command sections too. Maybe the lack of consistency confused me here. I will keep an eye on it and let you know if I come across again.

              Cheers, Chriss

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

                @Chriss you are right, the M308 documentation was misleading. I have removed the reference to the maximum number of sensors being 32. Thank you for pointing this out.

                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 1
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA