Appendix e, Continued) – Rockwell Automation 61C516 AutoMax/AutoMate 24VAC/DC Input Module User Manual

Page 34

Advertising
background image

EĆ2

Appendix E

(Continued)

Bit Reference
Use the following method to reference individual inputs on the module. A

maximum of 16 statements can be included in the configuration task (one for

each bit). The symbolic name of each bit should be as meaningful as possible:

nnnnn IODEF SYMBOLIC_NAME@[ SLOT=s, REGISTER=0,

BIT=b]

where:
nnnnn Ć BASIC statement number. This number may range from 1Ć32767.
SYMBOLIC_NAME% Ć A symbolic name chosen by the user and ending with (%).

This indicates an integer data type, and all references will access the entire

module.
SYMBOLIC_NAME@ Ć A symbolic name chosen by the user and ending with (@).

This indicates a boolean data type, and all references will access bit number b"

only.
s Ć Slot number that the module is plugged into. This number may range from

0Ć15.
REGISTER Ć Always zero for this module.
b Ć Used with boolean data types only. Specifies the bit in the register that is

being referenced. This number may range from 0Ć15.
Examples Of Local I/O Definitions
The following statement assigns the symbolic name POSITION% to the input

module located in slot 4:
1020 IODEF POSITION%[ SLOT=4, REGISTER=0]
The following statement assigns the symbolic name LIGHT to bit 9 on the input

module located in slot 7:
2050 IODEF LIGHT[ SLOT=7, REGISTER=0, BIT=9]
Remote I/O Definition
This section describes how to configure the module when it is located in a rack

that is remote from the Processor module referencing it. Refer to the following

figure.

Advertising