beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 657

background image

Publication GMLC-5.2 - November 1999

620

System Functions

Optional Masks

Use a bit mask to exclude or mask unwanted inputs (bits) from the input
group. Using a bit mask lets you create an input group consisting of non-
contiguous inputs. For example, you can use a bit mask to create a group
consisting of four inputs, starting at input #2 and running through input
#5, but excluding input #3.

The bit mask is the sum of the binary value of each group input bit whose
signal is read. The binary value of each group input bit whose signals are
not read are excluded from this sum. The following table lists the binary
values for up to 16 bits:

For this bit
in an input group

Use this Binary Value

1

st

1

2

nd

2

3

rd

4

4

th

8

5

th

16

6

th

32

7

th

64

8

th

128

9

th

256

10

th

512

11

th

1,024

12

th

2,048

13

th

4,096

14

th

8,192

15

th

16,384