Appendix f, Continued) – Rockwell Automation 57C421B Pulsetach Input Module/DCS 5000/AutoMax User Manual

Page 65

Advertising
background image

FĆ5

Appendix F

(Continued)

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" in register r".

m =

Slot number that the master remote I/O module is

plugged into. This number may range from 0Ć15.

d =

Drop number for the slave remote I/O module 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.

r =

Specifies the register that is being referenced. For long

integers this number must be either 0 or 3. For all other

references this number may range from 0Ć7.

b =

Used with boolean data 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 UPPER_LIMIT! to the

module located in slot 10 of remote I/O drop 7. This remote drop is connected to

the remote I/O system whose master is located in slot 9 in the master rack:

1000

RIODEF UPPER_LIMIT![MSTR_SLOT=9, DROP=7, SLOT=10, REG=3]

WARNING

IF YOU USE DOUBLE INTEGER VARIABLES IN THIS INSTANCE, YOU MUST

IMPLEMENT A SOFTWARE HANDSHAKE BETWEEN THE TRANSMITTER AND

THE RECEIVER TO ENSURE THAT BOTH THE LEAST SIGNIFICANT AND MOST

SIGNIFICANT 16 BITS HAVE BEEN TRANSMITTED BEFORE THEYARE READ BY

THE RECEIVING APPLICATION PROGRAM. FAILURE TO OBSERVE THIS

PRECAUTION COULD RESULT IN BODILYINJURYOR DAMAGE TO EQUIPMENT.

The following statement assigns the symbolic name COUNT% to register 1 on

the module located in slot 4 of remote I/O drop 3. This remote drop is connected

to the remote I/O system whose master is located in slot 15 in the master rack:

1020

RIODEF COUNT%[MASTER_SLOT=15, DROP=3, SLOT=4, REGISTER=1]

2050

RIODEF PULSE_MULTIPLIER@[MASTER_SLOT=6,DROP=2, SLOT=7, ăăăăăăă&

REG=5, BIT=12]

Advertising