Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    SOLVED problems with switching i/o pin with M42

    Duet Hardware and wiring
    m42 command io pin extension connector extension switching
    2
    3
    628
    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.
    • danny_v1
      danny_v1 last edited by

      Hi,

      i try to switch the a pin (heater4 and heater5) on the expension connector. I have added M307 H4 A-1 C-1 D-1 and M307 H5 A-1 C-1 D-1 to my config.g. And then i tried to switch the pin with M42 P4 S255 or M42 P5 S255 but there is an error message "Error: M42: Logical pin 4 is not available for writing". What is my mistake???

      kind regards

      danny_v1

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

        If you have a config-override.g file, it may contains M307 H4 and M307 H5 commands that override the ones you have put in config.g.

        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
        • danny_v1
          danny_v1 last edited by

          ok thanks now it works!!!

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