ASCII I/O Module Tutorial
Chapter 4
424
Results Your industrial terminal displays
PRODUCED XXX PARTS
where XXX is the accumulated value of the free running timer that your
program inserted.
When formatting a multi-line or multi-column message using the
industrial terminal, use the ASCII equivalent of the following control
codes for positioning the message.
Control Codes
Hex or ASCII Equivalent
CTRL P
Column number
:
Line number
A
10
31, 32, 33,...
3B
31, 32, 33,...
41
When you enter the ASCII equivalent of these control codes into the
message file, they will position the cursor at the column and line number
that you specify.
For example, suppose you want to display a column of 8-digit diagnostic
codes that indicate the status of system operation. The diagnostic codes
are the variable that your program moves into your message file at the
appropriate addresses. In this example, set initialization words (Table
4.O) as follows:
Table 3.O
Example Initialization Words
Initialization
Words
Selected Features
IW1 = 0007
Report generation mode, 4 initialization words, 300
baud
IW2 = 2032
4 BCD characters/word, 32 characters/string
IW3 = 0D00
Endofstring delimiter is carriage return
IW4 = 3A00
BCD delimiter is a colon (:)
Formatting a MultiLine Message
StockCheck.com