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

    Closed-loop with Stepper online encoder and 1HCL expansion?

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    closed loop 1hcl magnetic encoder stepper online
    2
    6
    285
    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.
    • Forum-userundefined
      Forum-user
      last edited by

      Hi all,

      Is it possible to run in a closed loop configuration using the magnetic encoder built into the Stepperonline motors with the 1HCL board?

      Here's a link to the specific motor - [https://www.omc-stepperonline.com/nema-17-closed-loop-stepper-motor-16ncm-22-7oz-in-with-magnetic-encoder-1000ppr-4000cpr-17hs08-1004-me1k](link url)

      I would like to drive the motor with the 6HC without using the external CL42T driver specified, however I'm unsure if the two are directly compatible. Has anyone had any luck in getting it working?

      I have a Duet magnetic encoder on other motors which I find works well, but this is needed for a very tight spot.

      Thanks

      Forum-userundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • Forum-userundefined
        Forum-user @Forum-user
        last edited by

        @Forum-user guessing it would have to go to the quadrature input as its not digital for SPI?

        1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @Forum-user
          last edited by

          @Forum-user It looks like the encoder output of that motor is the same as is normally expected from a Quadrature encoder, despite calling itself a 'magnetic encoder'. I guess this makes it more compatible with existing drivers. This should be supported using the quadrature input on the 1HCL. See https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Expansion_1HCL#quadrature-encoder

          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

          Forum-userundefined 2 Replies Last reply Reply Quote 1
          • Forum-userundefined
            Forum-user @droftarts
            last edited by

            @droftarts Seems to be working out of the box with the quadrature input
            👍

            1 Reply Last reply Reply Quote 1
            • Forum-userundefined Forum-user marked this topic as a question
            • Forum-userundefined Forum-user has marked this topic as solved
            • Forum-userundefined
              Forum-user @droftarts
              last edited by

              @droftarts Here's another closed-loop add on board I'm looking it (testing a couple of different options). Not much info on this board, could it be wired as a single ended driver connection with step -, dir-, en- on the 1XD going to EN, Stp, Dir? Attached a picture with the pin outs - IMG_7285.jpg

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @Forum-user
                last edited by

                @Forum-user Looks like a MKS SERVO42C V1 board. See https://github.com/makerbase-mks/MKS-SERVO42C/wiki/MKS-SERVO42C-V1.0-Home

                I'll have a look tomorrow how it can be wired. I'd guess you need to use the on-board interface to set the mode, covered here https://github.com/makerbase-mks/MKS-SERVO42C/wiki/Menu-instruction-V1.0

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