Selecting report generation, 4ć19 – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 93

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć19

Bit Setting

Conversion

16 15 14

Hex Setting

1 ASCII/word

4 Hex/word

4 BCD/word

3 BCD/word

0 1 1

1 0 0

0 1 0

0 0 1

IW2 = 3012

IW2 = 4012

IW2 = 2012

IW2 = 1012

Results The industrial terminal displays the corresponding line in
Table 3.K.

In report generation mode you can mix BCD digits with ASCII characters.
The module sets the ASCII data conversion to two ASCII characters per
word. You select the type of data conversion for BCD digits (either three
BCD of four BCD digits per word) in initialization word two (IW2). If
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)
Data conversion of 3 BCD digits per word 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-4.

Display The file-to-file move instruction displays your settings as
follows:

FILE DATA

POSITION

Hex Binary

001

002

003

004

0007 00000000 00000111

1015 00010000 00010101

0D00 00001101 00000000

2F00 00101111 00000000

Selecting Report Generation

Mode, Data Conversion, and

BCD Delimiter

Advertising