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.



  • AD
  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now