Справочное Руководство для LXE 1280

Скачать
Страница из 260
206 
RS-232 Port and ASCII Control Characters 
LDS Plus Reference Guide 
E-SW-LDSPLUSRG-G 
RS-232 Port and ASCII Control Characters 
The ASCII Control Characters (00 Hex through 1F Hex) may not appear in the data stream 
to/from the Host. However, LXE has provided a method of causing any or all of these ASCII 
Control Characters to be communicated to and from the connected RS-232 device. 
When the Host wants to send one of the ASCII Control Characters to a standard DOS terminal, it 
must place two characters in the data stream for each ASCII Control Character to be sent. The first 
of these two characters must always be the DEL character (7F Hex). The second character is 
determined by adding 40 Hex to the desired ASCII Control Character. The following chart 
indicates how this character pair is selected when a particular ASCII Control Character must be 
sent to the RS-232 device connected to a DOS terminal. 
ASCII CTRL 
Character 
 
+40 Hex 
Character Pair 
to Send 
Null (00 Hex) 
00 + 40 = 40 = @ 
DEL and @ 
(7F Hex) 
(40 Hex) 
SOH (01 Hex) 
01 + 40 = 41 = A 
DEL and A 
(7F Hex) 
(41 Hex) 
STX (02 Hex) 
02 + 40 = 42 = B 
DEL and B 
(7F Hex) 
(42 Hex) 
ETX (03 Hex) 
03 + 40 = 43 = C 
DEL and C 
(7F Hex) 
(43 Hex) 
EOT (04 Hex) 
04 + 40 + 44 = D 
DEL and D 
(7F Hex) 
(44 Hex)