beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 655

background image

Publication GMLC-5.2 - November 1999

618

System Functions

Flex I/O Input

Use the

Flex_IO_input function to directly specify Flex I/O discrete

inputs in an expression. This function is available only if your motion
controller is running i

CODE

version 3.0 or later (as selected in the General

page of the Configure Control Options dialog box).

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

Syntax:

Flex_IO_input[module, address]

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

Flex I/O Analog Input

Use the

Flex_IO_analog_input function to directly specify Flex I/O

analog inputs in an expression. This function is available only if your
motion controller is running i

CODE

version 3.0 or later (as selected in the

General page of the Configure Control Options dialog box).

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

Argument

Description

Module

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

Address

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