The text of a manual · part 26 of 35
5250 Terminal Emulation Programmer's Reference Guide: Section 9: Extended Commands, pages 223 to 232
Pages 223 to 232 of 318, from 5250 Terminal Emulation Programmer's Reference Guide
The original document is the PDF (1.3 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 223
SECTION 9
"
Extended Commands
Example of Receive Only The following example and chart show what would be sent to the wireless station to cause data to be received. A “b” indicates a space. The following chart describes the data. Column 11
Column 1
Column 23 b#G3N81bbbbbb500A0102FP10 Column Character Description 1
(Space)
This column typically contains a space.
2
#
Extended command.
3
G
Receive Only command.
4
3
4800 baud.
5
N
No data parity.
6
8
Eight data bits.
7
1
One stop bit.
8
(Space)
Reserved.
9
(Space)
Reserved.
10
(Space)
Reserved.
11--12
(Spaces)
Reserved.
13
(Space)
AID key is Enter.
14--15
50
Receive a maximum of 50 characters.
16--17
0A
Delimiter character is 0A hexadecimal (line feed).
18--19
01
Data will be sent to host after one delimiter character has been received.
20--21
02
Start character is 02 hexadecimal (STX).
22
F
Start character will be returned to host.
23
P
Parity errors will be flagged
24--25
10
Receive timeout length is 5 seconds.
5250 Terminal Emulation Programmer’s Reference Guide
9-21
Page 224
SECTION 9
"
Extended Commands
Set Parameters (#H) Use Set Parameters to set firmware parameters that you would otherwise set at the wireless station. The parameters are part of the 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. Table 9-5 lists columns in which characters must appear. Table 9-5 Set Parameters Characters Line 1, Columns 2--36
Column Character *
Description
2
#
Extended command.
3
H
Set Parameters command.
4--6
Backlight timer. (Spaces) 000 001--255
No change from current setting. On continuously. Seconds to remain on. Sleep timer delay for RT3210.
(Spaces) 000 001--255
No change from current setting. Off. Seconds of activity before sleep. Cursor mode.
7--9
10
(Space) No change from current setting. 1 Underline (default). 2 Underline blink. 3 Block. 4 Block blink. * Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options. 9-22
5250 Terminal Emulation Programmer’s Reference Guide
Page 225
SECTION 9
"
Extended Commands
Table 9-5 Set Parameters Characters Line 1, Columns 2--36
Column Character *
Description
11
Screen mode. (Space) 1 2 3
12
No change from current setting. Center cursor. Corner mode. Page mode. Remote display for RT3210.
(Space) 0 1
No change from current setting. Not attached. Attached. Stream scanning.
(Space) 0 1
No change from current setting. Disable. Enable. Scan all fields.
(Space) 0 1
No change from current setting. Disable. Enable.
13
14
15
Operator error mode. (Space) 0 1
No change from current setting. Disable beep on keyboard error. Operator must press [RESET] after an error. Enable beep on keyboard error. Sounds the wireless station’s error tone, then automatically resets the wireless station so that the operator can correct the error.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
5250 Terminal Emulation Programmer’s Reference Guide
9-23
Page 226
SECTION 9
"
Extended Commands
Table 9-5 Set Parameters Characters Line 1, Columns 2--36
Column Character *
Description
16--18
Beeper volume. (Spaces) 000--255
19--21
No change from current setting. Range of volume; default is 255. The larger the number, the louder the volume. Beeper frequency setting.
(Spaces) 000--030
No change from current setting. Frequency range; the larger the number, the higher the frequency. Beeper length.
(Spaces) 000--255
No change from current setting. Duration in seconds.
22--24
25--27
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
5250 Terminal Emulation Programmer’s Reference Guide
Page 227
SECTION 9
"
Extended Commands
Return Codes for Set Parameters The Set Parameters return code is the status sent to the host computer. The following chart lists return codes. Code
Description
Column
0
Good status, transaction complete.
(None)
1
Reserved.
(None)
2
Backlight timer parameter invalid.
4--6
3
Sleep mode timer parameter invalid.
7--9
4
Cursor set parameter invalid.
10
5
Screen mode parameter invalid.
11
6
Reserved.
(None)
7
Remote display parameter invalid.
12
8
Beeper volume parameter invalid.
16--18
9
Beeper frequency parameter invalid.
19--21
A
Beeper length parameter invalid.
22--24
B
Stream scan parameter invalid.
13
C
Scan all fields parameter invalid.
14
D
Error mode parameter invalid.
15
E
Incorrect setting for number of rows.
25--27
F
Incorrect setting for number of columns.
28--30
5250 Terminal Emulation Programmer’s Reference Guide
9-25
Page 228
SECTION 9
"
Extended Commands
Example of Set Parameters The following example and chart show data for Set Parameters. A “b” indicates a space. Column 11
Column 1
Column 19
Column 28 b#H099bbb4b11b0255022002010080
9-26
Column Character
Description
1
(Space)
This column typically contains a space.
2
#
Extended command.
3
H
Set Parameters command.
4--6
099
Backlight stays on for 99 seconds.
7--9
(Spaces)
No change from current setting.
10
4
Cursor is in block blink mode.
11
(Space)
No change from current setting.
12
1
A remote display is in use.
13
1
Stream scanning is enabled.
14
(Space)
No change from current setting.
15
0
Beep is disabled on keyboard error.
16--18
255
Beeper volume is set at 255.
19--21
022
Beeper frequency setting is set at 22.
22--24
002
Beeper length is 2 seconds.
25--27
010
Number of rows in primary screen size is 10.
28--30
080
Number of columns in primary screen size is 10.
5250 Terminal Emulation Programmer’s Reference Guide
Page 229
SECTION 9
"
Extended Commands
Return Version (#V) The Return Version extended command returns the current firmware name and version to the host computer. Table 9-6 lists columns in which characters must appear. Table 9-6 Return Version Characters Line 1, Columns 2--3
Column Character
Description
2
#
Extended command.
3
V
Return Version command.
The wireless station returns data and the extended command’s status to the host computer in the following format: tttK//rrccfl <program name><version>#s
“ttt” is the wireless station number. “rr” is the row. “cc” is the column. “fl” is the AID key return value. “s” is the status.
Tone (#T) The Tone extended command causes the wireless station to make a tone of a specified volume, frequency, and length (Table 9-7).
5250 Terminal Emulation Programmer’s Reference Guide
9-27
Page 230
SECTION 9
"
Extended Commands
Table 9-7 Tone Options Line 1, Columns 2--12
Column Character
Description
2
#
Extended command.
3
T
Tone command.
4--6
Tone volume. (Spaces) 000--255
7--9
No change from current setting. Volume range. The larger the number, the louder the volume. Tone frequency.
(Spaces) 000--030 10--12
No change from current setting. Frequency range. The larger the number, the higher the frequency. Tone length.
(Spaces) 001--010
No change from current setting. Duration in seconds. The larger the number, the longer the beep and the slower the keyboard response time.
The return code is the status sent to the host computer; the code indicates if the extended command was successful. The wireless station returns data and the extended command’s status to the host computer in the following format: \\X<CR>
“X” is the return code listed in the following chart.
9-28
Code
Description
Column
0
Good status, transaction complete.
(None)
8
Incorrect setting for volume.
4--6
9
Incorrect setting for frequency.
7--9
A
Incorrect setting for length.
10--12
5250 Terminal Emulation Programmer’s Reference Guide
Page 231
SECTION 9
"
Extended Commands
Scan Bar Code Parameters (#S) The Scan Bar Code Parameters extended command allows host systems to have the same capabilities as wireless stations using the Native data stream to set bar code parameters and scan. By inserting characters “#S” in the display buffer at Line 1, Columns 2 and 3, the host computer tells the wireless station to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The wireless station returns a code that indicates if the command was successful. Then it simulates the [ENTER] key to return a value to the host computer. Table 9-8 lists columns in which characters must appear. Tables on the following pages list characters for each type of bar code. (Line and column references are for a 24-line by 80-column display station.) " NOTE:
The PEN*KEY 6500 Computer supports only the laser bar code scanner. Table 9-8 Scan Bar Code Parameters Line 1, Columns 2--3
Column Character
Description
2
#
Extended command.
3
S
Scan Bar Code Parameters command.
5250 Terminal Emulation Programmer’s Reference Guide
9-29
Page 232
SECTION 9
"
Extended Commands
Control Character Byte 1 Dots in Table 9-9 indicate the Control Character (CC) Byte 1 options the characters support. (The RT1100, RT1700, RT5900, and PEN*KEY 6400 Computer’s internal engine do not support CCD 20/20. The PEN*KEY 6400 Computer’s internal engine does not support HP Wand Select.) Table 9-9 Control Byte 1 Characters Line 1, Column 4
Options CC Byte 1
CCD 20/20 HP Wand RedunSelect Select dancy Laser
0
9-30
·
1
·
2
·
3
·
4
·
5
·
·
6
·
·
7
·
·
No Redundancy ·
· · ·
8
·
9
·
·
A
·
·
B
·
C
·
·
D
·
·
·
E
·
·
·
· · ·
·
· · · ·
F
Disable scanner.
(Space)
No change from current setting.
5250 Terminal Emulation Programmer’s Reference Guide