beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 666

background image

Publication GMLC-5.2 - November 1999

Motion Controller Functions

629

The Flex_IO_output function is evaluated as 1 (true) if the output is ON
and 0 (false) if it is OFF.

Flex I/O Analog Output

Use the

Flex_IO_analog_output function to directly specify Flex I/O

analog outputs in an expression. This function is available only if you are
running i

CODE

version 3.0 or later (as selected in the Configure Control

Options dialog box).

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

Syntax:

Flex_IO_analog_output[module, address]

The Flex_IO_output function is evaluated as 1 (true) if the output is ON
and 0 (false) if it is OFF.

Argument

Description

Module

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

Address

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

Argument

Description

Module

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

Address #

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