beautypg.com

Defining local variables – Rockwell Automation GMLC Reference Manual User Manual

Page 798

background image

Publication GMLC-5.2 - November 1999

Defining Inputs and Outputs

761

5. Select OK. The name of the new CNET Input Bit Group appears in

the Tag Window.

Defining Local Variables

The CNET Local variable stores values in the memory (or data files) of
the local motion controller.

CNET and DH-485 Local variables share the same memory space in the
local motion controller. Consequently, selecting either DH-485 Local or
CNET Local in the Tag Explorer displays the same list of DH-485 and
CNET local variables.

To define a CNET Local Variable:

1. In the Tag Explorer, select Local.

2. In the Tag Window, single-click the right mouse button. A variable

short-cut menu appears.

Total Signals in
Group

Type the number of consecutive bits in the
group.
Note:

This number must include all bits in the
sequence—bits whose signals you use,
as well as bits in the sequence whose
signals you do not use.

Use Bit Mask

Select this if you wish to exclude (mask) one or
more signals in the group, then type a binary
value representing the bits whose signals are to
be read.

See the Optional Mask section of the Expression
Builder
chapter of this manual for more
information on bit masks.

Field

Description