Hello,
I posted a thread earlier on another forum so I will explain what I am doing on this forum. We are building a large machine that resembles a cnc router. Instead of a router on the z axis we will have an automatic screw driver from Design Tool Inc that will drive 3 inch screws into hardwood boards. We are making a pallet for Seagrams to store wiskey barrels on to age the wiskey. Anyway what I am needing this to do is....x and y move to the g code position, then the screw drivers drop via an air cylinder. (I was thinking of controlling the air solenoid with M7 or M8 if that works) Then the screw drivers hit a prox when they drove deep enough at that point the cylinder needs to retract. As soon as it is retracted it will hit another prox at the top and at that time x and y will move to the next position. it will have a total of 32 positions after the last location it needs to go home. I am using Mach3. I have very limited experience with Mach3. We have 2 Chinese routers from Baleigh . So if someone could show me a sample G code with maybe a M code for the solenoid or whatever is the best way to control a solenoid it would be greatly appreciated.
Thanks