Let me make sure I understand your configuration:
The vfd is not connected to the motor control box
I presume the "motor control box" is where you have the SmartBOB and (if I remember) the C-10 break-out board. So there are no wires going from the the control box tot he VFD (i.e. 0-10V control voltage, or signals for forward/reverse), correct?
it [the VFD] is mounted on a wall about 3 foot from the motor control box and the motor supply cable runs directly to the spindle thru the wire carrier tracks.
"motor supply cables"? Is the the AC power to the VFD? Or is this the wiring from the VFD to the spindle motor? Or both?
The spindle wire is shielded cable and the drain wire is connected to earth ground. So I was hoping you could give me some suggestions for getting rid of the electrical noise as that looks like the problem.
"spindle wire" - is this the wiring from the VFD to the spindle motor?
So, if I read this correctly, with no control wired from the SmartBOB/break-out board to the VFD, you manually turn on the spindle (from the VFD controls) and this causes Mach4 to stop responding. Is that correct?
The usual cause of this kind of problem is electrical noise from the VFD/Spindle motor corrupting the USB communications. This could be conducted noise through AC power lines or signal control lines, or radiated noise. And these issues can be challenging to track down. Our usual suggestions include
- making sure all VFD wiring is as far as possible from the PC, SmartBOB, break-out board, and limit/home switch wiring (or any other signal that feeds into the break-out board)
- making sure that the AC power for the PC and any break-out boards is as isolated as possible from the VFD (and stepper/servo motor) power wiring. This can mean powering them from two different AC lines from your breaker panel, or if they have to run off the same AC power line from the breaker panel, they should "meet" at the wall outlet, not at a common outlet strip on the machine. This isn't always possible, but we may ask you to try this for testing purposes.
- use shielded wiring for home/limit switches, with the shield grounded to the break-out board's ground
It would be very helpful if you could draw a wiring diagram for your system and post that here. Include all of the AC power wiring and grounding connections that you have in your system. Pictures of you machine, specially the PC and control box) would be helpful as well.
Bob