Mach Discussion > General Mach Discussion

Configuring Mach 3 for a VFD and Spindle

<< < (2/2)

Waynec:
Thanks for just the right advice.  I did finally end up joining the CNC4PC forum to get some answers from Arturo Duncan.  I'll try tonight to see if I can figure things out.

Hopefully I'll get things going soon.  Thanks for taking a second to point me in the right direction.

Wayne from White Salmon

Chaoticone:
NP Wayne, I wish I could help but I'm not familiar with that board. Hope you get it sorted soon.

Brett

Waynec:
I'm almost sorted out.  Mach 3 is sending step info to the the CNC4PC C6 speed control board, and Spindle On/Off direction that triggers a relay on the C6 board.  Groovy.  The C6 board now converts that step input to the voltage output, and when I change speeds in Mach 3, the C6 board output changes.  Woohoo! 

My silly question now is about getting the VFD relay to turn the spindle on.  Mach 3 outputs a spindle-on voltage of about 5V.  The VFD wants 9V at least to trigger the spindle ON/ CW switch.  Can I use the same 12V that powers the C6 board as the voltage to turn the spindle on?  Seems logical, but because I'm not perfectly clear on isolating grounds and such, I'm not sure I can use this voltage.    I suppose this is a question for the CNC4PC people, but if you know, that would be great.   

This has been a great learning experience.  I appreciate your patience with me here! 

Wayne from White Salmon

HimyKabibble:

--- Quote from: Waynec on October 10, 2008, 08:03:32 PM ---I'm almost sorted out. Mach 3 is sending step info to the the CNC4PC C6 speed control board, and Spindle On/Off direction that triggers a relay on the C6 board. Groovy. The C6 board now converts that step input to the voltage output, and when I change speeds in Mach 3, the C6 board output changes. Woohoo!

My silly question now is about getting the VFD relay to turn the spindle on. Mach 3 outputs a spindle-on voltage of about 5V. The VFD wants 9V at least to trigger the spindle ON/ CW switch. Can I use the same 12V that powers the C6 board as the voltage to turn the spindle on? Seems logical, but because I'm not perfectly clear on isolating grounds and such, I'm not sure I can use this voltage. I suppose this is a question for the CNC4PC people, but if you know, that would be great.

This has been a great learning experience. I appreciate your patience with me here!

Wayne from White Salmon

--- End quote ---

Wayne,

    Doesn't your VFD provide the correct voltage to drive the motor on signal?  Usually there is something like a 12V power supply output that you connect to the FWD or ON input to turn it on.  On mine, I used one of the relays on my C11 BOB to do the switching.

Regards,
Ray L.

Waynec:
Thanks to Carl and Arturo and others, I got the spindle and VFD connected and working today.  Mach 3 connects to the CNC4PC C6 board, and then to the VFD.  I can use Mach 3 to turn on the spindle and set the spindle speed.  I can adjust speed using the on-screen override, and I can use GCode S commands to change speed in a file.  The VFD has a stop button that still works while the spindle is controlled by Mach 3.

I needed one tiny bit of info, and Carl provided that for me.  I needed to know what the VFD   provided or needed to turn the spindle on and choose directions.  The manual gives instructions on which terminals to connect to, but doesn't say what those terminals need to operate.  I was assumming they needed a voltage from somewhere, but it turns out that they provide voltage that the relays on the C6 switch.  When the voltage goes to ground on the Com terminal on the VFD, the spindle turns on. 

Speed control is actually pretty easy.  You configure pins to output step direction from the spindle panel in Configuration, and connect this step output to the step input on the CNC4PC C6 board.  Its a pretty small voltage, but its there.  When you look at the C6 variable voltage output, as you increase spindle speed in Mach 3 the voltage output increases.  This output goes to the VFD inputs, and varies the speed.

I haven't done exhaustive testing, but I did warm up the spindle and vary the speeds.  Its very stable, and runs cool and quiet.  A big improvement over my noisy Porter cable.

Next comes wiring an Estop system, and doing a clean install of all these parts.  But the big hurdle is finally crossed.  I'll post more details so others considering the Chinese spindles and VFDs can have more detail on what's involved.

Thanks for all the help here.

Wayne from White Salmon

Navigation

[0] Message Index

[*] Previous page

Go to full version