braunmann05
New member
- Joined
- Sep 7, 2025
- Messages
- 2
I'm a bit of newbie to CNC and not even sure if my concern belongs here but I'm hoping you can help me with a project I'm working on with my brother. We're building a jig to help with some light woodworking. Essentially, it's a stepping mpotor attached to a small sanding drum. The idea is for the drum to spin a certain amount, stop at the same exact position, and then repeat this cycle with a foot pedal press.
We've got all the hardware hooked up, a Nema 17 1.2A 17CA02A-120 stepping motor, a DM556 driver, a Mach 3 breakout board and a foot pedal. We're using DrufelCNC for the software. We can get the software to communicate with the hardware, but it only seems to respond to G-code. I've done some reading on G-code, but I can't figure out how to program this specific sequence. How can I get the motor to start and stop at the same spot repeatedly with each pedal press?
Any advice on how to write the code for this or where to find more information would be a huge help! Thanks in advance!
We've got all the hardware hooked up, a Nema 17 1.2A 17CA02A-120 stepping motor, a DM556 driver, a Mach 3 breakout board and a foot pedal. We're using DrufelCNC for the software. We can get the software to communicate with the hardware, but it only seems to respond to G-code. I've done some reading on G-code, but I can't figure out how to program this specific sequence. How can I get the motor to start and stop at the same spot repeatedly with each pedal press?
Any advice on how to write the code for this or where to find more information would be a huge help! Thanks in advance!