Saving $POS_ACT values in an array

  • Hi,

    I am new to KRL. I want to save the $POS_ACT values which gives the current position of the robot in an array.

    I tried this but its not working.



  • he sure does but does not mention it.

    first thing is that his array is declared without size.

    also the same array is declared as a runtime variable and therefore cannot store anything except while instruction pointer is inside that sub.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

Advertising from our partners