Programming the msg instruction, 5/02 control block configuration – Rockwell Automation 1747-DTAM-E,D17476.1 Data Table Access Module (DTAM) User Manual

Page 62

Advertising
background image

8-2

Message Capability

Publication 1747-6.1

Programming the MSG
Instruction

The DTAM message is configured in the 5/02 or 5/03 processor user
program by selecting a message (MSG) instruction and entering the
following parameters:

5/02 Control Block
Configuration

Most of the MSG instruction parameters are stored in its associated
control block. The “delivery” status and any error code of the
message are also stored there. The information below describes the
message instruction control block layout necessary to display
messages on the DTAM:

Message Type:

Write

Target Device:

485CIF

Network Type (5/03 only):

Local or Remote

Control Block Address:

Starting address of an unused block of 7 words
(5/02) or 14 words (5/03) in any bit or integer file
(to store message status)

Source File Address:

Starting address of an unused block or x words in
any bit or integer file (to store message text), where
x = message length or the DTAM message type

Target Node Address:

DTAM node address (as defined in the module set-
up procedure), 0 through 31 inclusive

Offset:

Message overwrite capability: 0 for cannot overwrite
or 100 for can overwrite

Message Length:

Number of words in selected DTAM message type
(1, 8, 12, 13, 16, or 18)

Channel (5/03 only):

Processor communication port:

1 for DH485 channel

or 0 for RS232 channel

Bit/

Word

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

EN

ST

DN

ER

EW

NR

TO

Error Code

1

DTAM Node Address

2

Message Length in Words (Read Only)

3

Offset Word (0 or 100)

4

Not Used

5

Not Used

6

Not Used

Advertising