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

Page 80

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć6

2.

Demonstrate the string length by entering 16 data characters. When
you enter the 16th data character, the module transfers the string of
15 characters to the read block transfer file in the data table, where
you can observe it. (The sixteenth character is not transferred but
remains as the first character in the input buffer.) Do the following
example where the processor will read data from your ASCII
module. Refer to the procedures in section titled “Reading Data
from Your ASCII Device”, P. 1-28.

Enter ALLEN BRADLEY 12 (enter spaces as shown)

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 The read block transfer file displays the 15 data characters in
positions 003 thru 010 (Table 3.B).

Table 3.B

String Length Display

Position

File Data

ASCII Equivalent

001

A010 or E010

status word one

002

0000

status word two

003

2041

A

004

4C4C

LL

005

454E

EN

15

006

2042

B

transferred

007

5241

RA

characters

008

444C

DL

009

4559

EY

010

2031

I

The space (20) in position 003 was placed there by the module due to
right justification of data.

Advertising