beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 445

background image

Publication GMLC-5.2 - November 1999

408

Calculation Blocks

0 to 1,999 for variable arrays using iCODE version 3.0 or later

0 to 999 for variable arrays using iCODE versions earlier than version
3.0.

Starting offset does not relate to the axial position, time, or variable
values stored in a Master or Slave table.

GML Commander stores the values associated with each position
number, or point, at a defined address. This is the same way GML
Commander stores user variable values. The address of each position
number (or point), in a Build Table block’s cam profile or variable array,
is equal to the sum of the starting offset value plus the position number.

Use the starting offset value to avoid conflict between the addresses of
previously defined user variables, and position numbers in a cam table or
variable array. It is important that a position number (or point) address
does not unintentionally conflict with a user variable address. If there is a
conflict, the position number (or point) value overwrites the user variable
value.

For example, if you have previously defined fifty user variables, with
addresses at positions 0 through 49, your starting offset in the Build Table
block would be a value not less than 50. But, if you failed to enter a
starting offset value, the first 50 values in your new cam profile or
variable array would also have addresses of 0 through 49, and would
overwrite the previously defined user variables.