ASCII I/O Module Tutorial
Chapter 4
437
String Length Less Than Module's String Length, Left Justified
In this demonstration, you will set the margin justification bit IW3(03)
and repeat the transfer of five characters.
1.
Set the margin justification bit IW3(03) for left justification.
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
0015
4
0D08
5
0000
START = WO007:0000
WORD #
00000
2
00000000
0000010
3
00000000
00010101
4
00001101
00001000
. . .
NOTE:
Binary words 0, 1, and 5 were omitted for brevity.
2.
Enter: 12345 [ENTER]
Refer to the procedures in section titled “Reading Data From Your ASCII
Device,” if necessary
Procedure P1
Connect the 1770CB cable, and set your industrial
terminal to alphanumeric mode (check parameters)
•
Initialize the module by changing PLC3 operation mode
3[ENTER]2[ENTER]
Procedure P2
Enter your data
Procedure P3
Connect the 1775CAT cable, and set your industrial
terminal to PLC3 mode
Procedure P4
Observe how the data string is stored in data table file O6.0
StockCheck.com