Krc2 5.6.8.
We are trying to output the real time TCP velocity of CP moves not simply as the path velocity $VEL_ACT, but as a 3D vector velocity. So we want to end up with three real variables say VEL_X, VEL_Y and VEL_Z which would also have sign, which $VEL_ACT does not, as it is the forward path velocity which is always positive. (Unless $VEL_ACT is minus when pressing start minus??)
These VEL_ variables would then be output with three ANOUT instructions. The problem seems to be how to realise the task. Ideally we would need to build a Tech function that could run synchronously in the 12ms interpolation time, but the Function Generator documentation does not give many clues to how this could be accomplished. The other alternative would be to interrogate $POS_ACT cyclically within the SPS and to use the delta of each coordinate to generate the value, but it's doubtful whether such a method would be accurate enough.
Have any of our KUKA Experts got any ideas?