Owner's manual

ASCII I/O Module Tutorial
Chapter 4
443
Procedure
P1
Connect the 1770CB cable, and set your industrial
terminal to alphanumeric mode (check parameters)
Initialize the module by changing PLC3 operation mode
3[ENTER]2[ENTER]
Procedure P2
Enter your data
Procedure P3
Connect the 1775CA
T cable, and set your industrial
terminal to PLC3 mode
Procedure P4
Observe how the data string is stored in data table file O6:0
Results The module removed header and trailing characters, and
transferred 15 data characters, the set string length (Figure 3.8)
Figure 3.8
Removed
Header and Trailing Characters
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
3 header characters removed 4 trailing characters removed
15 character string
0
11837
RADIX = %A ST
AR
T = WO006:0000
WORD #
00000
0
00H00H
1
00H00H
2
3
3
4 5
4
6 7
5
8 9
6
0 1
7
2 3
00010 4 5 6 7 00H00H 00H00H 00H00H 00H00H 00H00H 00H00H
RADIX = %H ST
AR
T = WO006:0000
WORD #
00000
0
0000
1
0000
2
2033
3
3435
4
3637
5
3839
6
3031
7
3233
00010 3435 3637 0000 0000 0000 0000 0000 0000
Notice the following:
Although you entered 22 characters, the module removed the first three
characters and the four trailing characters.
The module transferred 15 characters, the set string length.
In report generation mode you can mix BCD digits with ASCII characters.
The module sets the ASCII data conversion to two ASCII characters per
word. You select the type of data conversion for BCD digits (either three
BCD or four BCD digits per word) in initialization word two (IW2). If
Selecting Report Generation
Mode, Data Conversion, and
BCD Delimiter