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

    Checking Trigger Status

    Scheduled Pinned Locked Moved
    General Discussion
    4
    8
    203
    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.
    • Glen_Remixundefined
      Glen_Remix
      last edited by

      Good morning,

      Apologies if this has been explained elsewhere but I haven't been able to find a solution.

      I'm using IO inputs to trigger macros.

      I'm running into some issues and it would be really helpful to be able to check the status of the IO inputs to understand why the machine is doing (or not doing!) what I expect.

      I have the IO setup as follows on my 6XD:

      M950 J2 C"!io5.in.iso" ;Delta Move 1
      M581 P2 T5 S1 R0
      M950 J3 C"!io6.in.iso" ;Delta Move 2
      M581 P3 T3 S1 R0
      M950 J4 C"!io7.in.iso" ;Delta Move 3
      M581 P4 T6 S1 R0
      M950 J5 C"!io8.in.iso" ;Delta Move 4
      M581 P5 T4 S1 R0
      M950 J6 C"!io0.in" ;Delta Move 5
      M581 P6 T8 S1 R0

      I have tried M582 Tx to check the trigger status, but this command just seems to trigger the Macro, rather than checking the input for the trigger.

      M409 also comes back Null.

      Any help with this would be greatly appreciated.

      Thanks!

      OwenDundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
      • OwenDundefined
        OwenD @Glen_Remix
        last edited by

        @Glen_Remix
        Have a look in the object model
        Go to sensors > gpIn

        C593E64E-1BBF-4398-B0FE-6F0A1EEBB094.jpeg

        DC3513E5-7537-4AF9-886A-164F71256B30.jpeg

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

          @Glen_Remix said in Checking Trigger Status:

          "!io5.in.iso"

          i'm also not sure .iso is valid at the end of a pin name

          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

          Glen_Remixundefined 1 Reply Last reply Reply Quote 0
          • Glen_Remixundefined
            Glen_Remix @OwenD
            last edited by

            @OwenD thanks for your reply.

            I don't seem to have 'object model' as an option in the sidebar.

            How would I enable this option?

            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
            • Glen_Remixundefined
              Glen_Remix @jay_s_uk
              last edited by

              @jay_s_uk I believe this is to specify the use of the opto-isolated IO pins, rather than the general IO pins.

              I very well could be wrong though.

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

                @Glen_Remix post an output of M98 P"config.g"
                and I see the .iso thing is specific to the 6XD. thats my new thing learnt today

                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

                Glen_Remixundefined 1 Reply Last reply Reply Quote 0
                • Glen_Remixundefined
                  Glen_Remix @jay_s_uk
                  last edited by

                  @jay_s_uk said in Checking Trigger Status:

                  @Glen_Remix post an output of M98 P"config.g"
                  and I see the .iso thing is specific to the 6XD. thats my new thing learnt today

                  M98 P"config.g"
                  HTTP is enabled on port 80
                  FTP is disabled
                  TELNET is disabled

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

                    @Glen_Remix said in Checking Trigger Status:

                    don't seem to have 'object model' as an option in the sidebar.

                    if you go to plugins, then integrated, then start the Object model browser.

                    www.duet3d.com

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