ASCII I/O Module Tutorial
Chapter 4
45
The module has four words that you use to select operating features. You
do this by setting one or more bits for each feature that you want to use.
You increase the number of initialization words according to the module
features that you want to use. For example, if you want a feature that is
selected in initialization word three, you must use initialization words one,
two, and three.
1.
Set your module for initialization words one, two, and three using
bits 00 and 01 of initialization word one, IWl (00-01). Use the
procedure in the section titled “Setting Bits in Initialization Words,”
P. 3-4.
Results Position 001 contains initialization word one (IW1). This chapter
will show both the binary and hex display.
File Data
POSITION Hex Binary
001
0020 00000000 00000010
String length is a 3-digit BCD number. You can set the string length in
BCD, or you can set the BCD digits in binary. The binary equivalent of
BCD and Hex is identical for 0 thru 9.
1.
Set the string length to 15 characters in IW2 (00-13) using the
procedure in the section titled “Setting Bits in Initialization Words”.
DISPLAY The file-to-file move instruction displays your setting as
follows:
File Data
POSITION Hex Binary
002
0015 00000000 00010101
Expanding the Number of
Initialization Words
Changing the Module's String
Length (Read, Only)
StockCheck.com