Well got it all working Mach is controlling 2 PLC's, One PLC is the input PLC it has 57 discreate input over 3 input cards, and 3 analog inputs (Feed override, spindle override, RPM feedback). The other is the Output PLC, it has 34 discreate and 1 analog out (spindle speed control). The PLC information is brought in through the TCP Modbus, through Mach Brains, and on to the controls of mach as well as some custom pages, the macro pump just handles Error messages depending on input states of certain things. The machine is relativly large, about 20' in X, 15' in Y, 8' in Z and a 18hp spindle. It is a Stone/Granite Mill mostly used to cut Granite counter tops. It has a 12 place Pick and place tool rack with a open and close cover with indexing spindle that has a hydaulic captureand inside and outside coolent and Air Blast to clean the spindle bore during the tool change, auto lube system, Phnumatic system for operationg the Air or Vacuum systems. I will get pics as I can.
Scott