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

Page 64

Advertising
background image

FĆ4

Appendix F

(Continued)

32ĆBit Register Reference

Use the following method to reference 32 bits as a single register value. One

statement is required in the configuration task for each variable. The symbolic

name of the double integer should be as descriptive as possible:

nnnnn

RIODEF SYMBOLIC_NAME![ MSTR_SLOT=m, DROP=d, SLOT=s, REG=r]

When referenced as a double register of 32 bits, register r contains the high

order 16 bits.
A 32Ćbit register reference over remote I/O should be used with care since the

remote I/O system cannot guarantee that the entire 32Ćbit value will moved as a

single operation. For more information refer to the Remote I/O Communications

Module Instruction Manual (JĆ3606).

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 THEY ARE READ BY

THE RECEIVING APPLICATION PROGRAM. FAILURE TO OBSERVE THIS

PRECAUTION COULD RESULT IN BODILY INJURY OR DAMAGE TO EQUIPMENT.

16ĆBit Register Reference

Use the following method to reference 16 bits as a single register value. One

statement is required in the configuration task for each variable. The symbolic

name of the register should be as descriptive as possible:

nnnnn

RIODEF SYMBOLIC_NAME%[ MSTR_SLOT=m, DROP=d, SLOT=s, REG=r]

Bit Reference

Use the following method to reference individual bits in a register. One statement

is required in the configuration task for each variable. The symbolic name of the

register should be as descriptive as possible:

nnnnn

RIODEF SYMBOLIC_NAME@[MASTER_SLOT=m, DROP=d, SLOT=s, ăăăăăăă&

REG=r, 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 a long integer data type and all

references will access registers r and r+1.

SYMBOLIC_NAME% = A symbolic name chosen by the user and ending with

(%). This indicates an integer data type and all

references will access register r".

Advertising