I am having what I guess to be noise or interference problems.
Most common is a random "external e stop requested"
however I also get a random resetting of my Z position. That is to say I will home the machine, then as I run the program it (Z readout on the DRO) will suddenly change, and not once has it changed so it didn't drive a tool down into my work.
it has twice changed in the middle of a program while it is running.
Just last night I was trying to carve an intricate logo on to a polished aluminum billet 12x 18 x1. I used the probe to touch off the surface and set my Z .100" higher than the surface and ran an "air cut"
The program ran well was centered. I rewound the program, sent the head to Z 0.000, entered .100 on the DRO, homed the machine and when I started the run it dove full speed into the face of the aluminum with enough force to spear the bit into the billet and shear the mill head off the mount. After I cut power to the mill head and hit the feed stop, the Z DRO read at -4.6293,
I built my controller from a smooth stepper and Gecko G540.
my limits are optical and I have a 1uf electrolytic already between the ground and supply feeding the limits.
I've set my debounce to 20,000! and I still get the external estop request.
I've completely eliminated my Estop circuit and wired a jumper between my 48V power supply(-Vdc) and pin 10 of the G540.
the 3 internal power supplies have all the negative terminals daisy chained and sent to ground, the earth ground is no where near the chassis ground.
as far as I can tell I have no ground loops ,I build guitars and amplifiers and I am very familiar with ground loops.
I've COMPLETELY removed all 120 VAC wiring from the controller box (mill head and router head power) and re routed them to drop down off the ceiling and at 90degrees to the controller and the wire routing.
the circuit that the controller is powered off of is on its own breaker and has a separate ground rod 12' away from the shops ground rod. The computer, monitor and external hard drive are powered off this too as not to cause a ground loop.
I'm down to two other possible sources:
There is a large 6 bulb fluorescent light fixture maybe 4 feet from the controller .
Maybe the shop power has interference? the power lines run under high tension lines about a mile up the road. I'm VERY rural and am the last house on this grid with the the last pole sitting in front of the driveway and the power lines terminate on it.
I am at my witts end here.
Ray