I'm using the existing turret. It was originally turned by an air motor, and upon triggering a sensor, an air cylinder shot a catch out into a ratchet wheel type of deal to stop the turret at the right position, at which time another air cylinder clamped it down on to a set of tapered lock pins. Trouble is, that design was endlessly problematic. So I'm using a stepper to rotate it into position, at which time it locks onto the pins via the original air clamping system. Trouble is, if the stepper didn't get it exactly where it had to be, it rotates slightly upon locking. Which means it starts slighlty out of position for the next tool change. The problem keeps compounding, and after 10 or 20 tool changes, its out of position enough that it can't lock. Why doesn't the stepper always get it there? The steps per degree don't work out to an even number. Stir in a little backlash, and the whole setup fails to be reliable. So, I'd like to use sensors at each position to stop it, rather than rely on the stepper alone, because it really has no way of knowing that it's gotten out of position slightly.
I know this can be implemented via PLC, but I don't know jack about them, or how to utilize modbus to talk to them. I have enough inputs left to just use mach, whether using 8 inputs, or using some sort of switch matrix that could reduce it to four inputs.
Kevin