ASCII I/O Module Tutorial
Chapter 4
432
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 four, you must use all four initialization
words.
1.
Set your module for initialization words 1, 2, and 3 using bits 00 and
01 of initialization word one, IW1(00-01). The bit setting is 02 in
hex or 10 in binary. Use the procedure in section titled “Setting Bits
in Initialization Words”, steps 1 thru 4, for loading the file in rung
16.
Display The initialization word file is displayed in hex and binary,
respectively, as follows.
RADIX = %H START = WO007:0000
WORD #
00000
0
0000
1
0000
2
0002
3
0000
4
0D00
5
0000
...
START = WO007:0000
WORD #
00000
0
00000000
0000000
1
00000000
00000000
2
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). Use the
procedure in section titled “Setting Bits in Initialization Words” for
loading the file in rung 16. (P. 3-30)
Expanding the Number of
Initialization Words
Changing the Module's String
Length (Read, Only)
StockCheck.com