Need help with PR[i,j]

  • I know that the i represents the position register number.

    The j represents the position register element number. In my situation, j represents the Z position.

    Overview of lab:

    Create PR [4: OFFSET]: Created the offset point

    Then used PR[i,j]

    I used PR [4: offset] as i, and 3 as the j.

    The code would be like this: PR[4, 3: OFFSET] + 15: Does that mean I offset 15 mm in z position referenced from point 4(offset I created in PR[4])?

    Can someone explain in like 5 year old term how PR[i,j] work?

    Also, what is the difference from the code listed from above and this one? PR[4, 3: OFFSET] = 0 or 15?

  • Place your Ad here!
  • This line below is incomplete and would be a syntax error.

    : PR[4, 3: OFFSET] + 15

    This line is complete. It's adds 15 to the current z value.

    :PR[4, 3: OFFSET] = PR[4, 3: OFFSET] + 15;

    This line is also complete. It sets the z value to 15.

    :PR[4, 3: OFFSET] = 15;

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

Advertising from our partners