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

    Z-probe as external trigger?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    307
    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.
    • soccerpaulundefined
      soccerpaul
      last edited by

      Hi, I'm using a load cell as a Z-probe on my system. I would like to configure an external trigger such that if the load cell value reaches a certain analog value, it triggers an e-stop. This is mostly for safety to avoid damaging the load cell if something goes wrong.

      Is this possible? Thanks.

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @soccerpaul
        last edited by

        @soccerpaul said in Z-probe as external trigger?:

        Hi, I'm using a load cell as a Z-probe on my system. I would like to configure an external trigger such that if the load cell value reaches a certain analog value, it triggers an e-stop. This is mostly for safety to avoid damaging the load cell if something goes wrong.

        Is this possible? Thanks.

        If you use trigger 0 then when activated it will perform an emergency stop.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        soccerpaulundefined 1 Reply Last reply Reply Quote 0
        • soccerpaulundefined
          soccerpaul @fcwilt
          last edited by

          @fcwilt The issue isn't so much the emergency stop part, but using the z-probe's analog signal to trigger, for two potential reasons:

          • The M581 command seems to only support digital inputs, not analog. I found this firmware request for an analog trigger from 2019 (https://forum.duet3d.com/topic/11549/analog-threshold-for-m581-trigger) but don't know if this has been implemented.

          • Using a specific pin name for M581 seems to no longer be supported. You first have to define the IO to use with the M950 command. I'm not sure if it's possible to use M950 with the same pin as the Z-probe or if this causes problems. I tried and didn't see the sensor appear in the object model.

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @soccerpaul
            last edited by

            @soccerpaul said in Z-probe as external trigger?:

            @fcwilt The issue isn't so much the emergency stop part, but using the z-probe's analog signal to trigger, for two potential reasons:

            • The M581 command seems to only support digital inputs, not analog. I found this firmware request for an analog trigger from 2019 (https://forum.duet3d.com/topic/11549/analog-threshold-for-m581-trigger) but don't know if this has been implemented.

            • Using a specific pin name for M581 seems to no longer be supported. You first have to define the IO to use with the M950 command. I'm not sure if it's possible to use M950 with the same pin as the Z-probe or if this causes problems. I tried and didn't see the sensor appear in the object model.

            I think you will have to devise an external circuit/device to monitor the analog output of the load cell and generate a digital signal at the desired load.

            Then you can pick any digital input using M950/M581.

            I cannot think of any other way to do it with the current firmware (3.4).

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            soccerpaulundefined 1 Reply Last reply Reply Quote 0
            • soccerpaulundefined
              soccerpaul @fcwilt
              last edited by

              @fcwilt That's what I was thinking as well, but I was hoping I had missed a simpler way of doing things. Thanks for your help.

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