Mercedes04
Materials
- Nov 8, 2024
- 2
I built a 4th axis for my cnc some time ago but was busy so didn't get around to installing it until now. So I thought it would be a simple task but it turns out something went wrong when trying to control a KL-4030 with the uc300eth and ubb1. So I have an old cnc and used a nema23 stepper motor (https://www.oyostepper.com/category-7-b0-Nema-23-Stepper-Motor.html) and a KL-4030 driver and connected the driver to the control box, 24v mains to the driver and pul- dir- to pins 1 and 14 on cn2. Pul+, dir+ to 5v+. The motor already had a pre-wired whip that I made nearly 10 years ago. So no problems there, just plug and play. Once everything was connected I turned on the power to the control box and everything powered up fine. Opened up uccnc, went into config, axis, then b axis, checked axis enable, set my stepper and direction pins 1 and 14 on port 1 as it is on cn2. Set both to active low, adjusted my stepper to my settings. Then checked the rotation axis, rolled past 360 degrees, applied my settings, double checked, then saved. Checked power and everything was powered up. With power applied the stepper motor locked in the detent position. So I shut everything down, disconnected the drive from cn2, and connected my existing x axis to cn2 pins 1 and 14, set it as the b axis, set the rotation and it worked fine. So the problem is not cn2. The kl driver works fine as does the nema 23 stepper motor, the configuration inside uccnc is correct, but for some reason cannot communicate with the KL-4030 driver to send the stepper and direction. The active low and high leds on ubb1 also work fine. I feel like I have covered all the bases. I hope someone can help shed some light on this KL-4030 drive issue. Thank you for your time