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

Page 118

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć44

you want to transfer BCD digits, increase the number of initialization
words to four in IW1 and select the BCD delimiter in IW4.

In this demonstration, you will select the following:

Four initialization words using IW1(00-01)
Report generation mode using IW1(02-04)
4 BCD digits per word data conversion using IW2(14-16)
Slash symbol (/) as BCD delimiter using IW4(10-16)

1.

Set the bits in all four initialization words using the procedure in
section titled “Setting Bits in Initialization Words”, P. 3-30.

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

RADIX = %H START = WO007:0000

WORD #

00000

0

0000

1

0000

2

0007

3

2015

4

0D00

5

2F00

START = WO007:0000

WORD #

00000

2

0000000000000111

3

0010000000010101

4

0000110100000000

5

0010111100000000

NOTE: Binary words 0 and 1 were omitted for brevity.

Next you will demonstrate the transfer of BCD digits to the data table and
observe how BCD digits are stored with ASCII characters when the data
string contains both.

2.

Enter: ABCD/12324/56ABC[ENTER]

Use procedures in section titled “Reading Data From Your ASCII Device”
(chapter 1), if necessary.

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

Advertising