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

Page 36

Advertising
background image

EĆ4

Appendix E

(Continued)

Single Register Reference

Use the following method to reference all 16 bits as a single register. Only one

statement is required in the configuration task for the entire module. The

symbolic name of the register should be as meaningful as possible:
nnnnn RIODEF SYMBOLIC_NAME%[ MASTER_SLOT=m,

DROP=d,

SLOT=s, REGISTER=0]

Bit Reference
Use the following method to reference individual bits 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 RIODEF SYMBOLIC_NAME@[ MASTER_SLOT=m,

DROP=d,

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.
m Ć Slot number that the master remote I/Omodule is plugged into. This number

may range from 0Ć15.
d Ć Drop number of the slave remote I/Omodule that is in the same rack as the

input module. This number may range from 1Ć7.
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 Remote I/O Definitions
The following statement assigns the symbolic name LEVEL% to the input module

located in slot 4 of remote I/Odrop 3. This remote drop is connected to the

remote I/Osystem whose master is located in slot 15 in the master rack:
1020 RIODEF LEVEL% [ MASTER_SLOT=15, DROP=3,

SLOT=4,

REGISTER=0]
The following statement assigns the symbolic name STARTPB@ to bit 9 on the

input module located in slot 7 of remote I/Odrop 2. This remote drop is

connected to the remote I/Osystem whose master is located in slot 6 in the

master rack:
2050 RIODEF STARTPB@[ MASTER_SLOT=6, DROP=2,

SLOT=7,

REGISTER=0, BIT=9]

Advertising