It took few months rather few days from my last post, but now I've got to back to work. Machine was running all the time without tool changer...

Any way, I fixed a turret calculation task to compute movement. I hope now is fine. Right now I would't care on tasks time-out procedure. This is what I can work out on next stage.
Regarding turret work in details:
Turret driven wheel is a part of Geneva Gear this mechanism makes very well tolerant for motor stop / start position.
Motor is induction type with DC brake module together with in line gear makes assembly to rotate drive wheel . Once bit ''Rotate_ON'' goes low braking is applied and stops mechanism instantly. There is no issue with timing. Sensor for INDEXING gives one pulse per one tool slot movement and it is inductive proximity type - no signal bouncing effect.
Tomorrow I'll start coding, unfortunately I have no testing jig to test it thru in that reason I'll start posting my job before I'll go on the field where there is no help whatsoever....
Thanks
Mateusz