Well, my cnc project has been on the backburner for a few days. We are having a very wet cold spring in my part of the world, came home from work a week ago to find a large tree on my property that is very close to the street leaning at about a 20 to 30 degree angle over the road!
Ground to wet to hold it up. I called a couple tree guys with bucket trucks about having it taken down, they were busy, can't get here for a few days. When I get up next morning it's raining hard and the tree is down completely blocking the street.
Had to take the day off work to play chainsaw in the rain all day clearing the road. Then spending all my free time cleaning up and removing the mess, cleaning the property in general in prep for first mowing of the year which by now was overdue thanks to a wet, cold spring. I got most of the tree removed now and the first mowing is done, still lots of rain and cold, many area roads closed due to flooding. I'm less than 1/2 mile from the Mississippi river but thankfully on high ground, many friends and neighbors not so lucky, lots of sandbagging and levee watching going on here now.
I have managed to get the safety relay board built and bench tested, seems to work as I planned on the bench so now I'm working on getting it installed in the system. I added a couple LED's and a switch to the relay board, green led when no alarms, red led when any of the alarm receiving relay's are energized. When an alarm relay is energized it opens the Mach 3 E-stop circuit and activates the "inhibit" to all drives to bring things to a stop. I added a switch that when on lets the board monitor the system and stop all motion in the event of an alarm, but switching off completes the Mach e-stop circuit and re-enables the drives so all axis's but the one with an alarm can be moved in manual for diagnostic and repair purposes.
That's how I think things should work and so far it looks like the board I built should give me the features and functions I wanted. I might not have needed the red led because if the green is off and a drive has an alarm the problem is obvious, but if things stop moving and I don't have a drive alarm the red led should tell me if the board I built is the problem.
Wish me luck, I'll post a pic if and when I get it installed and working,
Rick