Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 86

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć12

Table 3.F

Transfer of Full String

POSITION

FILE DATA

ASCII Equivalent

001

002

003

004

005

006

007

008

009

010

E011

0000

2031

3233

3435

3637

3839

3031

3233

3435

status word one

status word two

1

2 3

4 5

6 7

8 9

0 1

2 3

4 5

Notice how the 15 characters of the string are stored (right justified), and
that the module added one fill character.

Characters 6, 7, 8, 9, and 0 remain in the module’s input buffer. They will
be erased in step 2 because the procedure clears the input buffer.

2. Enter: 12345678901234567890ABCDEFG[RETURN]

Refer to procedures in section title “Reading Data from Your ASCII
Device” if necessary.

Procedure P1 Set your industrial terminal to alphanumeric mode

Procedure P2 Enter your data

Procedure P3 Set your industrial terminal to PLCĆ2 mode

Procedure P4 Observe how data is stored in the data table

Results Two transfers took place in step 2 (Figure 3.2). The second
transfer wrote over the first, and is displayed in the read block transfer file
(Table 3.G).

Figure 3.2

Division of Data Between Two Transfers

1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 A B C D E F G

1st transfer

15 characters

2nd transfer

terminated by [RETURN]

11834

Advertising