The text of a manual · part 23 of 32
3270 Terminal Emulation Programmer's Reference Guide: Section 10: Extended Commands, pages 209 to 218
Pages 209 to 218 of 278, from 3270 Terminal Emulation Programmer's Reference Guide
The original document is the PDF (2.1 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 209
SECTION 10
"
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 1
Column 11
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--12
(Space)
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 10 seconds.
3270 Terminal Emulation Programmer’s Reference Guide
10-21
Page 210
SECTION 10
"
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 10-5 lists columns in which characters must appear. Table 10-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
7--9
No change from current setting. On continuously. Seconds to remain on. Sleep timer delay for RT3210.
(Spaces) 000 001--255 10
No change from current setting. Off. Seconds of activity before sleep. Cursor mode.
(Space) 1 2 3 4
No change from current setting. Underline (default). Underline blink. Block. Block blink.
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options. 10-22
3270 Terminal Emulation Programmer’s Reference Guide
Page 211
SECTION 10
"
Extended Commands
Table 10-5 (Continued) Set Parameters Characters Line 1, Columns 2--36
Column
Character *
Description
11
(Space)
Reserved.
12
Remote display for RT3210. (Space) 0 1
13
No change from current setting. Not attached. Attached. Shift key unlock.
(Space) 0 1 14
No change from current setting. Disable (default). Enable. Keyboard lock.
(Space) 0 1 15--17
No change from current setting. Disable (default). Enable. Beeper volume.
(Space) 0--255 18--20
No change from current setting. Range in seconds. Beeper frequency setting.
(Spaces) 000--030
No change from current setting. Frequency range (larger is higher)
* Some wireless stations do not support some characters. Refer to the wireless station’s user guide for supported characters and options.
3270 Terminal Emulation Programmer’s Reference Guide
10-23
Page 212
SECTION 10
"
Extended Commands
Table 10-5 (Continued) Set Parameters Characters Line 1, Columns 2--36
Column
Character *
Description Beeper length.
21--23 (Spaces) 000--010 24
No change from current setting. Duration in seconds. Stream scan setting.
(Spaces) 0 1 25--27
No change from current setting. Disable. Enable. Number of rows in primary screen size.
(Spaces) 000--255 28--30
No change from current setting. Number of rows per display screen. Number of columns in primary screen size.
(Spaces) 000--255 31--33
No change from current setting. Number of columns per display screen. Number of rows in alternate screen size.
(Spaces) 000--255 34--36
No change from current setting. Number of rows per display screen. Number of columns in 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.
10-24
3270 Terminal Emulation Programmer’s Reference Guide
Page 213
SECTION 10
"
Extended Commands
Return Codes for Set Parameters Line 24, Column 1 has the return status field. The code returned in this position tells the host the status of the extended command. 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
Backlight timer parameter invalid.
4--6
2
Sleep mode timer parameter invalid.
7--9
3
Normal cursor set parameter invalid.
10
4
Insert cursor set parameter invalid.
11
5
Remote display parameter invalid.
12
6
Shift key unlock parameter invalid.
13
7
Keyboard lock parameter invalid.
14
8
Beeper volume parameter invalid.
15--17
9
Beeper frequency parameter invalid.
18--20
A
Beeper length parameter invalid.
21--23
B
Stream scan parameter invalid.
24
E
Incorrect setting for number of rows.
25--27
F
Incorrect setting for number of columns.
28--30
3270 Terminal Emulation Programmer’s Reference Guide
10-25
Page 214
SECTION 10
"
Extended Commands
Example of Set Parameters The following example and chart show data for Set Parameters. A “b” indicates a space. Column 1
Column 11
Column 19
Column 28 Column 36 b#H099bbb341002550220021010080020080
10-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 (RT3210 only).
10
3
Cursor is in block mode.
11
(Space)
Reserved.
12
1
A remote display is in use.
13
0
Shift key unlock is disabled.
14
0
Keyboard lock is disabled.
15--17
255
Beeper volume is set at 255.
18--20
022
Beeper frequency setting is set at 22.
21--23
002
Beeper length is 2 seconds.
24
1
Stream scan setting is enabled.
25--27
010
Number of rows in primary screen size is 10.
28--30
080
Number of columns in primary screen size is 80.
31--33
020
Number of rows in alternate screen size is 20.
34--36
080
Number of columns in primary screen size is 80.
3270 Terminal Emulation Programmer’s Reference Guide
Page 215
SECTION 10
"
Extended Commands
Return Version (#V) The Return Version extended command returns the current firmware name and version to the host computer. Table 10-6 lists columns in which characters must appear. Table 10-6 Return Version Characters Line 1, Columns 2--3
Column Character
Description
2
#
Extended command.
3
V
Return Version command.
Line 2, Column 1 is the input field large enough to hold the program name and version number followed by the # sign, as shown below: tttK’0000/A0080 “<program name><version>#”/A1841s
“ttt” is the wireless station number and “s” is the status. Line 24, Column 1 has the return status field. The code returned in this position tells the host the status of the extended command. The following chart lists the codes. Code
Description
0
Good status, transaction complete.
Tone (#T) The Tone extended command causes the wireless station to make a tone of a specified volume, frequency, and length (Table 10-7).
3270 Terminal Emulation Programmer’s Reference Guide
10-27
Page 216
SECTION 10
"
Extended Commands
Table 10-7 Tone Characters 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.
10-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
3270 Terminal Emulation Programmer’s Reference Guide
Page 217
SECTION 10
"
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 10-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*KEYR 6500 Computer supports only the laser bar code scanner. Table 10-8 Scan Bar Code Parameters Line 1, Columns 2--3
Column Character
Description
2
#
Extended command.
3
S
Scan Bar Code Parameters command.
3270 Terminal Emulation Programmer’s Reference Guide
10-29
Page 218
SECTION 10
"
Extended Commands
Control Character Byte 1 The dots in Table 10-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 10-9 Control Byte 1 Characters Line 1, Column 4
Options CCD 20/20 HP Wand CC Select Select Byte 1
Redundancy Laser
0
10-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.
3270 Terminal Emulation Programmer’s Reference Guide