I don’t think that is a matter of tool compensation, because the program is something like that:
N4 G0 X100 Y 200
N 5 T=”MILL 50”
N 100 T=”Drill 20”
N 200 M02
At first tool change, everything is OK. At the second tool change, (because they rerun the program the magazine is not moving) the pointer on the screen passes over N100 and stops at N105 with “Waiting for TC acknowledgment”. In the PLC I’ve checked and it’s seems that both signals for prepare change and perform change (DB72.DBX 4.2 and DB72.DBX4.1) is coming at the same time. I checked the PLC acknowledgment for tool preparation and it’s OK, but I think that the NC wait another kind of acknowledgment since it sanded both signals. More, in the tool change cycle in the NC, I have more movement commands before the effective tool change but they are not executed because the NC stops before M06. Is the very first time when I encountered this kind of problem since the machine is running and they made many other programs on the machine and everything was OK.
By the way: I put a T0 and M06 before N5 and the tool change was performed afterwards.
Anyway thank you for your replay