Using the end of string delimiter, iw3(10 16), 3ć17 – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 59

Advertising
background image

Choosing Module Features

Chapter 3

3Ć17

If you choose report generation mode, the module ignores this bit.

IW3

Margin

Justification

03

When the module encounters the end-of-string delimiter in data received
from the ASCII device, the module allows the read block transfer of data
to the processor. If your ASCII device generates an end-of-string
delimiter, use that delimiter. (Refer to the specifications of your device.)

When you use the carriage return as the end-of-string delimiter and the
data terminal encounters the end-of-string delimiter, the print head or the
cursor of the data terminal returns to the left margin. When using a data
terminal, select any ASCII character as the end-of-string delimiter, except
the same character as the BCD delimiter. You will get an initialization
error and the module will not operate.

In most applications, you will select an end-of-string delimiter. If you do
not select an end-of-string delimiter, the module will default to the null
(CTRL 0) as the end-of-string delimiter.

Refer to tables in appendix C.5 for the complete list of ASCII characters
and their codes.

Sending EndĆofĆString Delimiter to Processor (Report Generation Mode,

Only), IW3(04)

In report generation mode, you may want to send the end-of-string
delimiter code to the processor. You would do this if you want to display
single-line messages, and your program uses the carriage return as the
end-of string delimiter. You may also want line feed with each carriage
return. In this kind of report generation application, you would send the
end-of-string delimiter to the processor by setting IW3(04)=1. You would
enable line feed on carriage return by setting IW3(05)=1.

Using the EndĆofĆString

Delimiter, IW3(10Ć16)

Advertising