beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 538

background image

Publication GMLC-5.2 - November 1999

501

If Extended AxisLink is selected in the General page of the Configure
Control Options dialog box, Controller_address is an integer value from 0
to 15 and is set by the software using in the AxisLink page of the
Configure Control Options dialog box.

In the Tag Explorer, select General System Variables, then select
Controller_address in the Tag Window.

Use the Controller_address variable to let the application program read
the selected address of the motion controller, in which the application
program is running, and configure itself accordingly.

For example, the GML Commander diagram shown below checks the
motion controller address and then executes the module containing the
appropriate program for this motion controller. If the address is not legal,
a message is printed and the program ends.

This GML Commander diagram is included on the GML Commander
distribution disk in the Samples directory as MULTADD.GML.