The text of a manual · part 28 of 33
VT220/ANSI Terminal Emulation Programmer's Reference Guide: Section 9: Extended Commands, pages 225 to 233
Pages 225 to 233 of 276, from VT220/ANSI Terminal Emulation Programmer's Reference Guide
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 6400
Page 225
SECTION 9
"
Extended Commands
Return Codes for Receive Only The Receive Only return code is the status sent to the host computer. The wireless station returns data and the extended command’s status to the host computer in the following format: \\X\CC\DATA<CR> or \\X\CCCC\DATA<CR>
“X” is the return code listed in the following chart. “CC” or “CCCC” is the character count of the received data. “CC” is 00--99. “CCCC” is 100--2000. “DATA” is the RS-232 data received from the RS-232 device attached to the wireless station (if any data was received). The wireless station simulates the [Enter] key to return the code to the host. Code 0 1
Description Column Good status, transaction complete. (None) Not enough memory. Or, incorrect setting for speed, 4, 6, 7 number of data bits, or number of stop bits. 2 No delimiter (#) on data stream. (None) 6 Improper return field. (None) 7 Hexadecimal value is outside the range of 00--0F. 15--16, 19--20 8 Reserved. (None) 9 Incorrect setting for maximum characters to receive. 13--14 A Incorrect setting for delimiter character. 15--16 B Incorrect setting for number of delimiter characters. 17--18 D Incorrect setting for start character. 19--20 E Incorrect setting for data parity. 5, 22 f/F * Timeout. (None) p/P * Data parity or framing error. (None) R Syntax error from RD5500 Remote Display (not the (None) expected character; no character error was detected). o/O * Overrun of UART receive register. (None) * An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the RD5500 Remote Display. VT220/ANSI Terminal Emulation Programmer’s Reference Guide
9-19
Page 226
SECTION 9 "
Extended Commands
Examples of Receive Only Receive Only extended command characters can be started by an APC sequence or by a space.
APC Sequence When the control character sequence for APC starts data, all of the data is on Line 1. The control character sequence is not displayed, which results in a faster transmission rate. Also, the cursor position is not lost. The following example shows data marked by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.” Column 11
Column 2
Column 23
^9F#G3N8100000850A0102FPbb
Space The following example shows a space as the start of the data. A “b” indicates a space. Column 1
Column 11
Column 23 b#G3N8100000850A0102FPbb
Following is an example of data received on the wireless station’s RS-232 port. A space starts the data.
9-20
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 227
SECTION 9
Column 1 2 3 4 5 6 7 8 9 10 11--12 13--14 15--16
Character (Space) # G 3 N 8 1 (Space) (Space) (Space) (Spaces) 50 0A
17--18
01
19--20
02
21 22 23--24
F P 10
"
Extended Commands
Description This column typically contains a space. Extended command. Receive Only command. 4800 baud. No data parity. Eight data bits. One stop bit. Reserved. Reserved. Reserved. Reserved. Receive a maximum of 50 characters. Delimiter character is 0A hexadecimal (line feed). Data will be sent to host after one delimiter character has been received. Start character is 02 hexadecimal (STX). Start character will be returned to host. Parity errors will be flagged Receive timeout length is 5 seconds.
Set Parameters (#H) Use the Set Parameters extended command to set firmware parameters that you would otherwise set at the wireless station. The parameters are part of the wireless station’s firmware. Set most of the parameters once per wireless station. Set them when you install a radio data network, or when you add wireless stations to the network. Unless the wireless station fails (perhaps a dead battery) or a user does something destructive (like a RAM test), you probably won’t need to set them again. VT220/ANSI Terminal Emulation Programmer’s Reference Guide
9-21
Page 228
SECTION 9 "
Extended Commands
Table 9-4 lists columns in which characters must appear.
Line 1, Columns 2- 36 Column Character *
Table 9-4 Set Parameters Characters Description
2
#
Extended command.
3
H
Set Parameters command.
4--6
Backlight timer. (Spaces) 000 001--255
7--9
Sleep timer delay for RT3210. (Ignored by other wireless stations.) (Spaces) 000 001--255
10
11
No change from current setting. On continuously. Seconds to remain on.
No change from current setting. Off. Seconds of activity before sleep. Cursor mode.
(Space) 1 2 3 4 (Space)
No change from current setting. Underline (default). Underline blink. Block. Block blink Reserved.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-22
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 229
SECTION 9
Line 1, Columns 2- 36 Column Character * 12
"
Extended Commands
Table 9-4 (Continued) Set Parameters Characters Description Remote display for RT3210.
(Space) 0 1 13--15
No change from current setting. Not attached. Attached. Beeper volume.
(Spaces) 000--255 16--18
No change from current setting. Volume range in increments of 5. The larger the number, the louder the volume. Beeper frequency.
(Spaces) 000--030 19--21
No change from current setting. Frequency range. The larger the number, the higher the frequency. Beeper length.
(Spaces) 001--010 22
No change from current setting. Duration in seconds. The larger the number, the longer the beep and the slower the keyboard response time. Delete key mapping.
(Space) 1 0
No change from current setting. Delete key is backspace (08 hexadecimal). Delete key is delete (7F hexadecimal).
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
9-23
Page 230
SECTION 9 "
Extended Commands
Line 1, Columns 2- 36 Column Character * 23
Table 9-4 (Continued) Set Parameters Characters Description Carriage return expansion mapping.
(Space) 1 0 24
No change from current setting. CR/LF. CR. Local host echo.
(Space) 1 0 25--27
No change from current setting. Local echo. Host echo. Screen size.
(Spaces) 000--255 28--30
No change from current setting. Number of rows per display screen. Screen size.
(Spaces) 000--255 31--33
No change from current setting. Number of columns per display screen. Alternate screen size.
(Spaces) 000--255 34--36
No change from current setting. Number of rows per display screen. Alternate screen size.
(Spaces) 000--255
No change from current setting. Number of columns per display screen.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
9-24
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 231
SECTION 9
"
Extended Commands
Return Codes for Set Parameters The Set Parameters return code is the status sent to the host computer. The wireless station returns data and the extended command’s status to the host computer in the following format: \\X<CR> where “X” is the return code listed in the following chart. The wireless station simulates the [Enter] key to return the code to the host. Code
Description
Column
0
Good status, transaction complete.
(None)
1
Incorrect setting for backlight timer.
4--6
2
Reserved.
(None)
3
Incorrect setting for cursor mode.
10
4
Reserved.
(None)
5
Reserved.
(None)
6
Reserved.
(None)
7
Reserved.
(None)
8
Incorrect setting for beeper volume.
13--15
9
Incorrect setting for beeper frequency.
16--18
A
Incorrect setting for beeper length.
19--21
B
Incorrect setting for delete key mapped to “backspace delete.”
22
C
Incorrect setting for carriage return expansion mapped to “CR/LF.”
23
D
Incorrect setting for local host echo.
24
E
Incorrect setting for number of screen rows or alternate screen rows.
25--27 31--33
F
Incorrect setting for number of screen columns or alternate screen columns.
28--30 34--36
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
9-25
Page 232
SECTION 9 "
Extended Commands
Examples of Set Parameters Set Parameters extended command characters can be started by an APC sequence or by a space.
APC Sequence When the control character sequence for APC starts data, all of the data is on Line 1. The control character sequence is not displayed, which results in a faster transmission rate. Also, the cursor position is not lost. The following example shows data started by the control character sequence for APC. The sequence is prefixed by the notation “ ^ ” which represents “control.” Column 11
Column 2
Column 21
Column 31
^9F#H099bbb4b1000030005101bbb080010080
Space The following example shows a space at the start of the data. A “b” indicates a space.
Column 1
Column 11
Column 21
Column 31 b#H099bbb4b1000030005101bbb080010080
Following is an example of data for Set Parameters. A space starts the data.
9-26
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
Page 233
SECTION 9
Column 1
Character (Space)
2 3 4--6 7--9 10 11 12 13--15 16--18 19--21 22 23 24 25--27 28--30 31--33 34--36
# H 099 (Spaces) 4 (Space) 1 000 030 005 1 0 1 (Spaces) 080 010 080
"
Extended Commands
Description This column typically contains a space. Extended command. Set Parameters command. Backlight stays on for 99 seconds. No change from current setting. Cursor is in block blink mode. Reserved. A remote display is in use. Beep is inaudible. Beeper frequency is 030. Beeper length is 5 seconds. Delete key deletes current character. Carriage return. Local echo No change from current setting. Screen is 80 columns wide. Ten rows per screen. Alternate screen is 80 columns wide.
Return Version (#V) The Return Version extended command returns the current firmware name and version to the host computer. Table 9-5 lists columns in which characters must appear. Table 9-5 Return Version Characters Line 1, Columns 2- 3 Column Character Description 2
#
Extended command.
3
V
Return Version command.
VT220/ANSI Terminal Emulation Programmer’s Reference Guide
9-27