Position of program pointer during approximated motions

  • Hello to everyone, thank you in advance


    I have this question about Kuka language:


    When I am in the middle of some approximated points (C_DIS with LIN or PTP motions, I use a while loop to generate the whole trajectory), there is a way to put a counter in order to know where the robot is ? the problem is that all the logic is executed immediately by the advance pointer.

    In other words, how can I know where the program pointer is during approximations?

    I need this because I want to be able to recover from the middle of the trajectory in case the operator deselect programs, right now I am saving all motion data in a matrix already.

Advertising from our partners