beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 656

background image

Publication GMLC-5.2 - November 1999

Motion Controller Functions

619

Syntax:

Flex_I/O_analog_input[module, address]

Group Input

Use the

Group_input function to directly specify discrete input groups

(Integrated and Basic only) in an expression.

You define and select input groups in the Tag Explorer (under General
Purpose I/O Input Group) and Tag Window. It is not necessary to use this
function to specify them directly.

Syntax:

Group_input[address, total signals in group, optional mask]

Argument

Description

Module

The Flex I/O module number (from 0 to 7) whose output is read.

Address

The address of the selected module’s specific input (from 0 to 15) to be
read.

Argument

Description

Address

The address or signal number (from 0 to 11) of the first signal from
which output is read.

Total Signals in
Group

The total number of consecutive signals comprising the group,
including any masked (or omitted) signals.

Optional Mask

An integer representing the sum of the binary value of each group
input bit whose signal is read, excluding—or masking—the binary
value of every group input bit whose signal is not read. (See

Optional

Masks.)