I'm building a wire bender (think miniature tube bender) that has an air cylinder used for cutoff. There is a micro switch at each end of the cylinder. I plan to drive the machine with Mach 3 and a G100. I would like the sequence of the cutoff cylinder to proceed as follows:
1) Activate the cylinder.
2) Wait for the end of travel switch to trigger.
3) De-activate the cylinder.
4) Wait for the beginning of travel switch to trigger.
5) Proceed with the program.
Any suggestions on how to G-code this??
TIA,
Walt