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

    how to use heater pins as general i/o

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    8
    244
    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.
    • jens55undefined
      jens55
      last edited by

      I would like to use heaters E5 and E6 on the Duex5 board as signal pins to control SSR's. Is there a writeup available anywhere that would show me how to configure the heaters for general i/o and what gcodes I need to send to turn E5/E6 on or off ?

      1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

        @jens55 Yes there is a guide:
        https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers

        If you are running RRF 2 you need to unmap the heaters using M307 and then you can use M42 to control them

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • jens55undefined
          jens55
          last edited by

          Thank you Tony, I had seen the document you referred to but it seemed a bit cryptic and I was hoping there was some additional 'how to' for mere mortals available. I will try to work through things and see how far I get.
          Thanks!

          1 Reply Last reply Reply Quote 0
          • jens55undefined
            jens55
            last edited by

            One more quick question:
            In the documentation for M42 there are parameters for P,S and F but the example code given is :

            M42 P3 I1 S0.5 F500 ; set Heater 3 pin to 50% PWM at 500Hz

            There seems to be no mention of the I parameter. Is that documented somewhere else ?

            infiniteloopundefined 1 Reply Last reply Reply Quote 0
            • infiniteloopundefined
              infiniteloop @jens55
              last edited by

              @jens55

              In the documentation for M42 there are parameters for P,S and F…

              The “I“ parameter is in the course of being dropped during the ongoing transition to RRF3. - From the documentation:

              In RRF_3, the F and I parameters are no longer supported in M42. Instead, use the F and I parameters in M950 when you create the GPIO port.

              jens55undefined 1 Reply Last reply Reply Quote 0
              • jens55undefined
                jens55 @infiniteloop
                last edited by

                @infiniteloop, I noticed that RRF_3 example but there is no documentation om I under M950 either.
                What does it stand for and what are it's possible values ?

                infiniteloopundefined 1 Reply Last reply Reply Quote 0
                • infiniteloopundefined
                  infiniteloop @jens55
                  last edited by

                  @jens55 the “I“ parameter stands (stood?) for inversion. In RRF_3, they use an exclamation mark preceding the pin’s name - in the description of M950, it’s a bit hidden in the last example.

                  jens55undefined 1 Reply Last reply Reply Quote 0
                  • jens55undefined
                    jens55 @infiniteloop
                    last edited by

                    @infiniteloop, thanks!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA