Hi CNC Gurus

I am trying to implement limit switches on my router table to cut stepper motors when they overdrive - the NVEM controller has unused input ports INP6 - 12, am I able to use these for limit inputs? and if so, how do I configure MACH3 to recognise the inputs and to cut the steppers?

Eugene