beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 671

background image

Publication GMLC-5.2 - November 1999

634

System Functions

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

Syntax:

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

Flex I/O Module Type

Use the

Flex_IO_module_type function to directly determine the module

type of a particular Flex IO module. This function is available only if your
motion controller is running i

CODE

version 3.0 or later (as selected in the

Control Options definition). This function provides a read-only return
value. You cannot use this value to configure or assign Flex IO modules.

You configure Flex I/O modules in the Configure Flex I/O Module Use
dialog box (after first enabling a module in the Flex I/O page of the
Configure Control Options dialog box). It is not necessary to use this
function to use Flex IO modules.

Syntax:

Flex_IO_module_type[module number]

Argument

Description

Module

Select the Flex I/O module number (from 0 to 7) from which output is sent.

Address

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

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 Bit
Mask

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

Optional Mask in the Group

Input section.)