Rockwell Automation GMLC Reference Manual User Manual
Page 643

Publication GMLC-5.2 - November 1999
606
System Functions
Each of the motion controller functions is explained on the following
pages.
Indirect Variable
Use the
Indirect_variable function to let the value of one user variable or
expression specify another user variable. This indirect referencing lets
you use multiple user variables as arrays of values. An array is a list of
values—positions—that you can use in an expression by specifying the
location of the element in the list, rather than the value of the element
itself.
You use the Build Table block to create arrays of user variables for use
with indirect referencing.
In addition, defined user variables can be referenced indirectly by
specifying the corresponding address as the argument for the
Indirect_variable function.
To view the address, select User Variables in the Tag Explorer. The user
address for each defined variable appears in the Tag Window’s Address
column. (Widen the Tag window to show the third column, if it doesn’t
appear at first.)
Syntax:
Flex_IO_module_type
Module Type Number
Master_CAM_position
PCAM Master Point:
S Class controllers 0 – 1999
Compact and 1394 controllers 0 - 12999
Master_CAM_time
TCAM Master Point:
S Class controllers 0 – 1999
Compact and 1394 controllers 0 - 12999
Slave_CAM_position
PCAM Slave Point:
S Class controllers 0 – 1999
Compact and 1394 controllers 0 - 12999
Function
Argument