beautypg.com

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

Page 107

background image

ASCII I/O Module Tutorial

Chapter 4

4Ć33

Display The initialization word file is displayed in hex or binary,
respectively, as follows:

RADIX = %H START = WO007:0000

WORD #

00000

0

0000

1

0000

2

0002

3

0015

4

0000

5

0000

START = WO007:0000

WORD #

00000

1

000000000000000

2

0000000000000010

3

0000000000010101

. . .

NOTE: Binary words 0, 4, and 5 were omitted for brevity.

2.

Demonstrate the string length by entering 16 data characters. When
you enter the 16th data character, the module will transfer the string
of 15 characters to the read block transfer file in the data table where
you can display it. Do the following example where you will read
data from your ASCII device. Refer to the procedures in section
titled “Reading Data From your ASCII Device” (chapter 2), if
necessary.

Enter: ALLEN BRADLEY 12
(Note the space between the two words.)

Procedure P1

Connect the 1770ĆCB cable, and set your industrial

terminal to alphanumeric mode (check parameters)

Initialize the module by changing PLCĆ3 operation mode

3[ENTER]2[ENTER]

Procedure P2

Enter your data

Procedure P3

Connect the 1775ĆCAT cable, and set your industrial

terminal to PLCĆ3 mode

Procedure P4

Observe how the data string is stored in data table file O6.0