ASCII I/O Module Tutorial
Chapter 4
410
DISPLAY The file-to-file move instruction displays your setting as
follows:
FILE DATA
POSITION Hex Binary
003
0D00 00001101 00000000
String Length Less Than Module's String Length
Whenever the ASCII module receives an end-of-string delimiter from the
ASCII device, it transfers the data in its input buffer to the processor. To
demonstrate this, you will enter a data string less than the set string length
as determined by IW2(00-13).
1.
Enter: 12345[RETURN]
Refer to the procedures in section titled “Reading Data from Your ASCII
Device”, P. 1-10.
Procedure P1 Set your industrial terminal to alphanumeric mode
Procedure P2 Enter your data
Procedure P3 Set your industrial terminal to PLC2 mode
Procedure P4 Observe how data is stored in the data table
Results The read block transfer file displays the five character string in
positions 003 thru 010 (Table 3.E).
Table 3.E
String Length < String Length, Right Justified
POSITION
FILE DATA
ASCII Equivalent
001
002
003
004
005
006
007
008
009
010
E011
0000
2020
2020
2020
2020
2020
2031
3233
3435
status word one
status word two
1
2 3
4 5
StockCheck.com