LXE 1280 Reference Guide
RS-232 Port and ASCII Control Characters
207
E-SW-LDSPLUSRG-G
LDS Plus Reference Guide
Using Tilde and DEL
ASCII control characters (ASCII 00 Hex through 1F Hex) must be disguised before being
presented to the Network Controller.
presented to the Network Controller.
and the Tilde Character . . .
When the text contains a tilde character (~ ASCII 7E Hex), this character is converted at
the DOS terminal into a C
the DOS terminal into a C
R
(ASCII 0D Hex) followed by a L
F
(ASCII 0A Hex) before
being sent to the RS-232 port. This permits multiple line output to a printer or other
device with a single RF transmission. The character appears as the tilde (~) on the DOS
terminal display.
device with a single RF transmission. The character appears as the tilde (~) on the DOS
terminal display.
and the DEL Code . . .
When the text contains the Delete code (ASCII 7F Hex), the delete character is not sent
to the RS-232 port, and the character following the DEL code is converted into the
corresponding ASCII control code in much the same way as holding down the CTRL key
of a DOS terminal.
to the RS-232 port, and the character following the DEL code is converted into the
corresponding ASCII control code in much the same way as holding down the CTRL key
of a DOS terminal.
ASCII Control Character and Character Pair to Send
The following chart lists the ASCII Hex for each of the ASCII Control characters along with the
character pair which the host must present to the network price for passage to the DOS terminal
RS-232 port.
character pair which the host must present to the network price for passage to the DOS terminal
RS-232 port.
ASCII Ctrl
Character
Character
HEX
Character Pair
to Send
to Send
HEX Pair
NUL
00
DEL and @
7F, 40
SOH
01
DEL and A
7F, 41
STX
02
DEL and B
7F, 42
ETX
03
DEL and C
7F, 43
EOT
04
DEL and D
7F, 44
ENQ
05
DEL and E
7F, 45
ACK
06
DEL and F
7F, 46
BEL
07
DEL and G
7F, 47
BS
08
DEL and H
7F, 48
HT
09
DEL and I
7F, 49
LF
0A
DEL and J
7F, 4A
VT
0B
DEL and K
7F, 4B
FF
0C
DEL and L
7F, 4C
CR
0D
DEL and M
7F, 4D
SO
0E
DEL and N
7F, 4E
SI
0F
DEL and O
7F, 4F
DLE
10
DEL and P
7F, 50
DC1
11
DEL and Q
7F, 51