Hi All,
At present i am using post processor gauge to check the machined job 100%,so that gauge checking time is getting added with cycle time.In order to reduce the cycle time i am planned to parallel the gauge checking activity.Basic idea is, in my process i am using 3 tools of these 3rd tool is finish tool.

I have to start the process and parallely i have to check dimension using variable gauge which will give 24V output when dimension is OK meantime cycle will run,It should stop before finish program start if signal is not received from gauge and it should make alarm.

at end of the program we should reset the signal.

For making the system i need to know how to configure M codes in Fanuc controllers.