beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 653

background image

Publication GMLC-5.2 - November 1999

616

System Functions

* User-defined discrete inputs 0 – 3 correspond to PLC output bits 14
– 17 (octal) in the appropriate I/O group.

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

RIO Scanner Input

Use the

RIO_scanner_input function to directly specify the RIO scanner

inputs on IMC-S/2xx-R model motion controllers in an expression. The
RIO_scanner_input function is not available for 1394 or Compact motion
controllers.

You define and select RIO scanner inputs in the Tag Explorer (under RIO
Scanner Input) and Tag Window. It is not necessary to use the RIO
scanner input function to specify them directly.

Syntax:

RIO_scanner_input[group, address]

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

Starting Group

0 2 4 6

0 2 4

0 2

0

Rack Size

1/4

1/2

3/4

Full

Argument

Description

Group

The starting group of the discrete I/O to be read. (Take this from the RIO
Scanner Input dialog box, shown below.)

Address

The address, or bit number, of the selected starting group to be read. (Take
this from the RIO Scanner Input dialog box, shown below.)

User-Defined
Discrete Inputs

Correspond to PLC Outputs in I/O Group…