Address worksheet, Specific bits to bit data types, Character arrays to ascii data types – Rockwell Automation 2706-MB1 MESSAGEVIEW 421 SOFTWARE MANUAL User Manual

Page 83

Advertising
background image

4–35

Planning an Application

Publication 2706-817

Before entering tags in the Tag Editor dialog, use a copy of the
Address Worksheet in Appendix H to record them. Each line in the
worksheet is 1 word (2 bytes or 16 bits), since this is the unit of
controller address memory. Use separate worksheets for display
(logic controller write) and for entry (logic controller read) variables,
since these are stored in different memory areas.

The figure shows two examples of recording addresses. For proper
address formats, refer to the controller’s user manual. Assign:

a whole word (16 bits) to signed and unsigned integers and 4BCD
data types

specific bits to bit data types

a word (or words adjacent to one another) for bit triggers

character arrays to ASCII data types.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Entry Address Worksheet

Controller Address

Word Address
Tag Name

I:020

O:027

O:028

17

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Word Address
Tag Name

17

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

Octal

Decimal

Octal

Decimal

RTRN_MSG_NO

HANDSH

Read Tag Name = MOTOR_DISPLAY

Write Tag Name = MOTOR_ENTRY

Handshake Tag Name = HANDSH

Notification Tag Name = RTRN_MSG_NO

READ

WRITE

MOTOR_DISPLAY

Display Address Worksheet

MOTOR_ENTRY

I:021

Address Worksheet

Advertising