beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 662

background image

Publication GMLC-5.2 - November 1999

Motion Controller Functions

625

Output

Use the

Output function to directly specify the motion controller’s

general purpose discrete outputs (Integrated and Basic only) in an
expression.

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

Syntax:

Output[address]

Insert a value or expression equal to the desired output address. The
argument is evaluated as an integer (floating-point values are truncated)
and must have a value from 0 to 11.

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

Axis Output

Use the

Axis_output function to directly specify the state of the motion

controller’s dedicated, axis-specific discrete outputs in an expression.

Syntax:

Axis_output[address]

Insert a value or expression equal to the desired address (or output
number) from the table below for the argument:

Address

Description

0

Drive Enable Output

1

Absolute Position Strobe Output