I’m trying to move from an old arduino and cnc shield to the MKS DLC V2.1. I have closed loop stepper motors and controllers so I don’t want to use the integrated stepper motor controllers in the MKS. I haven’t been able to find much info on using the controller this way, though it looks like it should be straight forward. One question I have is if I’m using the EN/STEP/DIR/GND pins rather than the X/Y1/Y2/Z motor connector ports, do I need to move any of the jumpers in between the motor connector ports and the EN/STEP/DIR/GND pins? My attempts have only yielded a twitch in the motor before the closed loop stepper motor controller indicates an error - making me think maybe my wire mapping is wrong. I’m using this mapping between the DLC pins and the stepper motor controller pins:
The jumpers only connect lines to the stepstick that isn’t there, so the jumper positions or lack thereof shouldn’t matter.
You have the original ATMEGA CPU one, not one of the newer 32-bit ones, right?
I assume you’ve seen the documentation for that particular board?
Can you use a multimeter to check that you are getting 5V from DIR to GND when commanding a move in one direction?
Thanks for the reply. I am getting 5V on the direction pins. I hadn’t seen the documentation. I think I do have the ATMEGA CPU version.
OK, that’s the same as you would have gotten on the old arduino shield, I’d think, and confirms that it doesn’t have a firmware running in open drain mode.
The mapping looks right, so your problem is probably elsewhere.
I got an inexpensive oscilloscope so I could check the signals. The MKS was putting out the expected signals so it was just a wiring issue.