Hi guys
My robot should go trough 3 points, rotating only around one axis. A start point, an end point and an intermediate point. The speed should be continous during these points, this is why I use CNT100. Now I want to trigger an RO exactly when the intermediate point is reached. My suggestion where the RO has to go on at 45°:
Code
1: J P[1] 10% FINE; # axis at 0°
2: J P[2] 10% CNT100; # axis at 45°
3: RO[1]=ON;
4: J P[3] 10% FINE; # axis at 90°
Now if I do this, the RO triggers already at P[1]. How do I make it, that the trigger happens exactly at the position of P[2]?