Closed-loop with Stepper online encoder and 1HCL expansion?
-
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-user guessing it would have to go to the quadrature input as its not digital for SPI?
-
@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
-
@droftarts Seems to be working out of the box with the quadrature input
-
-
-
@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 -
-
@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