beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 661

background image

Publication GMLC-5.2 - November 1999

624

System Functions

Flex I/O Group Input

Use the

Flex_IO_group_input function to directly specify Flex I/O

discrete input groups in an expression. The Flex_I/O_group_input
function is available only if your motion controller is running i

CODE

version 3.0 or later (as selected in the Configure Control Options dialog
box).

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

Syntax:

Flex_IO_group_input[module, address, total signals in group,
optional mask]

Total Signals in Group

The total number of consecutive signals (from 1 to 16) 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 in the Group Input section.)

Argument

Description

Module

Select the Flex I/O module (from 0 to 8), from which output is read.

Address

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

Total # of Signals in the
Group

The total number of consecutive signals (from 1 to 16) 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 Mask in the Group Input section, above.)

Argument

Description