ASCII I/O Module Tutorial
Chapter 4
417
When in data mode, select a data conversion type compatible with the
characters transmitted by the ASCII device. Your selection is limited to
one of the following conversion types:
Conversion Type
Data Characters
2 ASCII characters per word
1 ASCII character per word
ASCII standard code
3 BCD characters per word
4 BCD characters per word
0 thru 9
4 hex characters per word
0 thru 9, A thru F
When operating in report generation mode, the module selects two ASCII
characters per word for message characters. You choose the data
conversion for message variables (BCD values) placed between
delimiters. Your selection is limited to one of the following:
Conversion Type
Data Characters
3 BCD characters per word
4 BCD characters per word
0 thru 9
The manner in which the module converts data depends on the type of
data conversion that you select. For example, if you load a file with
ASCII characters and transfer the file to the industrial terminal for display,
the module will interpret the data according to the data conversion that
you selected. You will demonstrate this by transferring data in a
file-to-file move instruction (Table 3.J) from processor to industrial
terminal. The industrial terminal will display the data (Table 3.K) one
line at a time. Each line is the result of selecting a different data
conversion.
Table 3.J
Storage File
POSITION
FILE DATA
001
002
003
004
005
006
3132
3334
4142
4344
20AB
CDEF
Demonstrating Data Conversion
StockCheck.com