![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| I am running EMC2 on a D&M 4 cnc vertical mill. I have bypassed the onboard control card and I am connecting step and direction directly from my computer parallel port to the drive cards for each axis. I am presently turning the spindle on and off manually. Everything seems to work great but I don't have CNC control of the spindle. Question??? Could anyone share with me the schematic or the block diagram of the main control card so that I can figure out how to connect spindle commands to the machine from my computer??? If anyone has the docs for this machine I will gladly pay for the expense of copying or scanning. I have reverse engineered the individual axis driver cards and will share the schematics of those with anyone who needs them. Thanks, Cecil |
|
#2
| |||
| |||
| Cecil, I'm not sure if I can be of any help, but I'll give it a shot. I have a D&M 5 CNC lathe, which has a main control board, individual stepper drivers, and a separate motor control board. I too bypassed the control board and wired directly from a breakout board to the stepper drivers, which seems to be working. If your unit happens to be set up in this way, then the motor control board probably uses a DC 0-10V input signal to control spindle speed. I haven't done it yet, but I plan on controlling speed using a nifty board sold by CNC4PC that converts step and direction signals into DC 0-10V. It requires 12V DC, which I'm using an old laptop power supply to provide. I had another thought on controlling spindle speed, but i have no idea if it would work or not. I'd like to try it, but I'd like to get my machine back together and get some workbench space back even more. Mach3 outputs a PWM signal that can be used to control spindle speed, and I had thought about running this 0-5 V PWM signal through an inductor to get a DC signal, then running this through an op-amp to boost it to 10V. I haven't ever tried using EMC, so this may not be an option for you, if it even works. Good Luck. Adam |
|
#3
| |||
| |||
Thanks for the reply Adam. I had found the 0-10V input on the spindle control board but could not come up with a way to get from G-code to 0-10. Most likely if we had the schematic or logic or block diagram of the Main board and the little spindle interface board we could utilize the stuff that's already there much like we are using the stepper drivers. Upon further investigation it looks like ECM2 might give me a way of coming up with the 0-10V using the Hardware Abstraction Layer "HAL". I'll also look at the CNC4PC board you mentioned. Keep me posted on your progress and I'll do the same. Cecil |
|
#5
| |||
| |||
| Hi, I purchased a D & M 4 mill a number of years ago... It has sat idle though for the most part. However, I have a lot of documentation that came with the mill so I will see if there is any info about step / direction pinout for the D&M drives. I'm wondering what was your primary reason for upgrading to EMC2. Did you not have the original controller software, or was it to be able to run larger part files? I'm also curious to know if it would be advisable to also upgrade to the anti-backlash X & Y leadscrews from "A2Zcnc.com". I've I have been considering a number of small part projects that this mill could handle, somehow I think this upgrade would be very helpful as well. Best regards... Greg |
| Sponsored Links |
|
#6
| |||
| |||
| Yes, I'm looking for the info too. I want to add a breakout board to the system and ditch the original mother board. The problem is the original stepper drives use four wires to hook up instead of the common three wire hook up. Dale P. dpynenberg@new.rr.com |
|
#7
| |||
| |||
| I just got a private E-Mail from Cecil. He said the site wouldn't allow him to post so I'm going to relay the message. "The inputs are D(direction), C(clock or step) and +5v. The fourth wire is the negative side of the 5 v supply or ground." Looking at the stepper driver board the connections are +5, -5, step, and direction. The power supply in the D&M machine has a second output on the transformer. (Two small yellow wires.) It use to hook up to the mother board, which is now being replaced with a breakout board. I plan to add a five volt, voltage regulator and bridge rectifier to this secondary output so it can power the stepper motor drivers. These parts can be pulled from the old mother board and reused. Now I just have to figure out what breakout board I want to go with. Dale P. dpynenberg@new.rr.com |
|
#8
| |||
| |||
| I just acquired one of these from a trade school that was pitching it out. Is there any path to getting its CNC functions running that doesn't require either lots of $$$ or a degree in electronics? I don't mind a litte soldering and wiring, or the installation of a few boards but I'm not skilled enough to build my own boards or anything very sophisticated. I got a manual with a schematic of the wiring in it, but it is just a basic overall schematic of the entire system. Doesn't tell much. Glad to copy it if someone needs it. |
|
#9
| ||||
| ||||
| Reading the above posts, it sounds like you can wire straight from a breakout board or parallel cable, to the little stepper driver cards' Step and Direction pins, and drive it with EMC. When I got mine, the Z-axis card looked a bit burnt, so I replaced everything with a Xylotex system.(Edit: Not everything, I kept the excellent Puma spindle motor controller card, until I burned it out a few months ago by incorrectly wiring a CNC4PC spindle speed controller card) If I were doing it over now I'd go with a Gecko 540; the resonance dampening and bigger power supply make a LOT of difference in performance. I started out with Mach 3, but last year I switched to the free Linux-based EMC, and I love it. |
|
#11
| |||
| |||
|
I can't complain about the price. The school actually has a heart-wrenching array of servicable CNC equipment that is setting idle. Either for want of simple repairs or because none of the instructors know how to operate it. The D&M is in pretty rough shape, missing parts, and a lot of table divots, etc. Came with a box of parts that turned out to be from another machine (A Dyna Myte 3K CNC lathe- which the school sold years ago) I'll probably open up the back tomorrow and see what it is going to take electronically. Right now no signs of life when powered up, but I think it is just fuses. |
|
#12
| ||||
| ||||
| Post some photos! My table had a bunch of little marks in it, and some dummy had scratched his name in the front glass. I made a larger table that hides the table dings, a few clamps, and a bunch of t-nuts. Sherline parts are great quality, easily available, and low-priced... so you won't have trouble there.You will be a lot happier if you change out the stepper motors and drivers, though. The old round-style steppers can't compete with the new square stuff. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |