Rockwell Automation GMLC Reference Manual User Manual
Page 652
Publication GMLC-5.2 - November 1999
Motion Controller Functions
615
The argument is evaluated as an integer (floating point values are
truncated) and must have a value between 0 and 9 inclusive. The
Axis_input function is evaluated as 1 (true) if the input is ON and 0 (false)
if it is OFF. The
Axis_input function reads the current physical state (ON
or OFF) of the input. The Contacts? setting (NORMAL OPEN or
NORMAL CLOSED) in the motion controller’s machine setup menu is
ignored for the overtravel and drive fault inputs.
RIO Input
Use the
RIO_input function to directly specify the RIO adapter inputs on
IMC-S/2xx-R model motion controllers in an expression.
You define and select RIO adapter inputs using the Tag Explorer (under
RIO Adapter Input) and the Tag Window. It is not necessary to use the
RIO Adapter Input function to specify them directly.
Syntax:
RIO_input[address]
Insert a value or expression equal to the desired input address for the
argument. The argument is evaluated as an integer (floating-point values
are truncated) and must have a value from 0 to 99 inclusive. The user-
defined RIO adapter inputs are numbered, and correspond to PLC output
bits as shown in the following table:
User-Defined
Discrete Inputs
Correspond to PLC Outputs in I/O Group…
0 – 3 *
1 3 5 7
1 3 5
1 3
1
4 – 19
Not Available
2 4 6
2 4
2
20 – 35
Not Available
3 5 7
3 5
3
36 – 51
Not Available
N/A
4 6
4
52 – 67
Not Available
N/A
5 7
5
68 – 83
Not Available
N/A
N/A
6
84 - 99
Not Available
N/A
N/A
7