Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 26 of 33

TE 2000 5250 Terminal Emulation Programmer's Guide: Section 7: Extended Commands, pages 211 to 218

Pages 211 to 218 of 270, from TE 2000 5250 Terminal Emulation Programmer's Guide

The original document is the PDF (4.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 211

SECTION 7

Extended Commands

Receive Only On RS-232 Port (#G) " NOTE:

There are no flow control settings for extended command #G.

The Receive Only On RS-232 Port extended command provides a way to use the RS-232 port on the terminal to collect data. A scale is one example of a use for this command. The host computer sends “#G” characters to alert the terminal for activity on the port. Line 2, Column 1 is the start of the area on the screen where an input field may be placed for receive data. The host application must supply the input field for the data received on the RS-232 port. The host can place the input field anywhere on the screen except the position for the return status field. Table 7-4 describes the line and columns where characters must appear, and their meanings. Note that “b” indicates a 1-byte space. Table 7-4 Receive Only Characters Line 1, Columns 2--24

Column Description 2 3 4 5 6 7 8–12 13

Extended command Receive Only On RS-232 Port command Speed (bits per second) Data parity Data bits Stop bits Reserved Return AID key

14--15

Maximum characters to receive

16--17

Delimiter character

18--19

Number of delimiter characters

20--21

Start character

22 23 24--25

Return start character to host Flag parity errors Receive timeout length

Character # G 1=1200; 2=2400; 3=4800; 4=9600; 5=19200; 6=38400 N=None; 0 (zero)=None; b=None; O=Odd; E=Even 7=Seven; 8=Eight 1=One; 2=Two bbbbb b=AID key is Enter (default); X=AID key character Table 7-2 (page 7-3) has return AID key characters b=Default dd or Xd}dX, where dd=00--99. Default: 99. d}d=Any number of decimal digits from 0--2000, inclusive. Default: 99. AA=Hexadecimal ASCII code marking the end of valid data to be received. Range 00--7E. Default: 00 XX=Delimiter characters received before transmitting return code to host. Range 00--99. Default: 00 AA=Hexadecimal ASCII code for start character. Range 00--99. 00 or bb default implies no start character F=Return character; b=Do not return character P=Flag; b=Do not flag XX=Number of seconds the terminal waits for input from RS-232 port before it sends a timeout error. Uses a 5-second default when field contains spaces.

TE 2000t 5250 Terminal Emulation Programmer’s Guide

7-9

Page 212

SECTION 7

Extended Commands

Return Codes for Receive Only Line 24, Column 1 is the return status byte. The host application defines the 1-byte return status field location. Following are return status codes. Code

Description

Column

Good status, transaction complete. (None) Not enough memory or incorrect setting for speed, number of data bits or stop bits 4, 6, 7 No delimiter (#) on data stream. (None) Improper return field. (None) Hexadecimal value is outside the range of 00--0F. 15--16, 19--20 Error in AID code. (None) Incorrect setting for maximum characters to receive. 13--14 Incorrect setting for delimiter character. 15--16 Incorrect setting for number of delimiter characters. 17--18 Incorrect setting for start character. 19--20 Incorrect setting for data parity. 5, 22 Timeout. (None) Overrun of UART receive register. (None) Data parity or framing error. (None) Syntax error from RD5500 Remote Display (not the expected character; no charac- (None) ter error was detected). (Applies only to the 17XX Terminal.) * An uppercase letter indicates an error from the RS-232 device. A lowercase letter indicates an error from the RD5500 Remote Display (applies only to the 17XX Terminal). 0 1 2 6 7 8 9 A B D E f/F* o/O* p/P* R

Example of Receive Only The following example and chart show what would be sent to the terminal to cause data to be received. Note that “b” indicates a 1-byte space. Column 1

Column 11

Column 23 b#G3N81bbbbbb500A0102FP10 Column Character 1 2 3 4 5 6 7 8–12 13 14--15 16--17 18--19 20--21 22 23 24--25 7-10 b # G 3 N 8 1 bbbbb b 50 0A 01 02 F P 10

Description This column typically contains a space. Extended command. Receive Only command. 4800 baud. No data parity. Eight data bits. One stop bit. Reserved. AID key is Enter. Receive a maximum of 50 characters. Delimiter character is 0A hexadecimal (line feed). Data will be sent to host after one delimiter character was received. Start character is 02 hexadecimal (STX). Start character will be returned to host. Parity errors will be flagged Receive timeout length is 10 seconds.

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 213

SECTION 7

Extended Commands

Set Parameters (#H) Use Set Parameters to set TE configuration parameters that you would otherwise set at the terminal. The parameters are part of the configuration menus. Some parameters do not apply to all terminal models. Refer to the terminal’s user manual for applicable parameters. Set most of the parameters once per terminal. You can set them when you install a network or when you add terminals to the network. Unless the terminal fails (perhaps a dead battery) or a user does something destructive (such as a RAM test), you probably will not need to set them again. Table 7-5 lists columns in which characters must appear. Note that “b” indicates a 1-byte space. Table 7-5 Set Parameters Characters (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Columns 2--36

Column Description 2 3 4--6

Extended command Set Parameters command Backlight timer

7--9 10

Sleep timer delay (legacy RT3210 Terminals) Cursor mode

11

Screen mode

12

Remote display (17XX, 11XX Terminals) Stream Scan Scan All Fields Operator error mode

13 14 15

16--18 19--21 22--24 25--27 28--30 31--33 34--36

Character # H bbb=No change from current setting 000=On continuously; 001--255=Seconds to stay on bbb=No change from current setting 000=Off; 001--255=Seconds of inactivity before sleep b=No change from current setting (default is Underline) 1=Underline); 2=Underline blink; 3=Block; 4=Block blink b=No change from current setting; 1=Center Cursor; 2=Corner; 3=Page b=No change from current setting; 0=Not attached; 1=Attached b=No change from current setting; 0=Disable; 1=Enable b=No change from current setting; 0=Disable; 1=Enable b=No change from current setting 0=Disable beep on keyboard error. Operator must press [RESET] after an error. 1=Enable beep on keyboard error. Emits the error tone, then resets the terminal so the operator can correct the error. Beeper volume bbb=No change from current setting (Default = 255) 000--255=Range of volume from quiet to loud. Beeper frequency bbb=No change from current setting 000--030=Frequency range from low to high. Beeper length bbb=No change from current setting; 000--255=Duration in seconds Primary screen row size bbb=No change from current setting 000--255=Number of rows per display screen Primary screen column size bbb=No change from current setting 000--255=Number of columns per display screen bbb=No change from current setting Alternate screen row size 000--255=Number of rows per display screen Alternate screen column size bbb=No change from current setting 000--255=Number of columns per display screen TE 2000t 5250 Terminal Emulation Programmer’s Guide

7-11

Page 214

SECTION 7

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 1 2 3 4 5 6 7 8 9 A B C D E F

Good status, transaction complete. Reserved. Backlight timer parameter invalid. Sleep mode timer parameter invalid. Cursor set parameter invalid. Screen mode parameter invalid. Reserved. Remote display parameter invalid. Beeper volume parameter invalid. Beeper frequency parameter invalid. Beeper length parameter invalid. Stream scan parameter invalid. Scan all fields parameter invalid. Error mode parameter invalid. Incorrect setting for number of rows. Incorrect setting for number of columns.

(None) (None) 4--6 7--9 10 11 (None) 12 16--18 19--21 22--24 13 14 15 25--27 28--30

Example of Set Parameters The following example and chart show data for Set Parameters. Note that “b” indicates a 1-byte space. Column 1

Column 11

Column 19

Column 28 b#H099bbb4b11b0255022002010080 Column

Character

Description

1 2 3 4--6 7--9 10 11 12 13 14 15 16--18 19--21 22--24 25--27 28--30 b # H 099 bbb 4 b 1 1 b 0 255 022 002 010 080

This column typically contains a space Extended command Set Parameters command Backlight stays on for 99 seconds No change from current setting (legacy RT3210 Terminals) Cursor is in block blink mode No change from current setting Remote display is in use (17XX, 11XX) Stream scanning is enabled No change from current setting Beep is disabled on keyboard error Beeper volume is set at 255 Beeper frequency setting is set at 22 Beeper length is 2 seconds Number of rows in primary screen size is 10 Number of columns in primary screen size is 10

7-12

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 215

SECTION 7

Extended Commands

Return Version (#V) The Return Version extended command returns the current TE program name and version to the host computer. Table 7-6 lists columns in which characters must appear. Table 7-6 Return Version Characters Line 1, Columns 2--3

Column Description

Character

Extended command Return Version command

2 3

# V

The terminal 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 terminal 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 has the terminal make a tone of a specified volume, frequency, and length (Table 7-7). Note that “b” indicates a 1-byte space. Table 7-7 Tone Options Line 1, Columns 2--12

Column Description 2 3 4--6 7--9 10--12

Character

Extended command Tone command Volume Frequency Length

# T bbb=No change from current setting; 000–255=Range from quiet to loud bbb=No change from current setting; 000–030=Range from low to high bbb=No change from current setting; 001–010=Duration in seconds from short to long (keyboard response time)

The return code is the status sent to the host computer; the code indicates if the extended command was successful. The terminal returns data and the extended command’s status to the host computer in the \\X<CR> format. X is the return code listed in the following chart. Code

Description

Column

0 8 9 A

Good status, transaction complete Incorrect setting for volume Incorrect setting for frequency Incorrect setting for length

(None) 4--6 7--9 10--12

TE 2000t 5250 Terminal Emulation Programmer’s Guide

7-13

Page 216

SECTION 7

Extended Commands

Scan (#S) The Scan extended command allows host systems to have the same capabilities as terminals 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 terminal to expect a Bar Code Scanner extended command. Appropriate descriptive characteristics should follow the “#S” characters. The terminal returns a code that indicates if the command was successful. Then it simulates [Enter] to return a value to the host computer. Due to possible system fragmentation of a data stream, the “#” in Line 1, Column 2 should be the last character placed on the screen. This will ensure that all data is present before the extended command is parsed (removed). Table 7-8 Scan Bar Code Parameters Line 1, Columns 2--3 Column Description

Character

2

Extended command

#

3

Scan command

S

CC Byte 1 Control Character Byte 1 (CC Byte 1) implementation differs among the types of terminals. Dots show the Control Character (CC) Byte options. Note that “b” indicates a 1-byte space. Table 7-9 CC Byte 1 Options for Scanning (2415, 2425, 2435A, 2455, 248X, 5020 Terminals) Line 1, Column 4 CC Byte 1

Laser

0 x

1 x

Disable Scanner

No Change From Current Setting

2 3 x

4 5 x

6 7 x

8 9 x

A B x

C D x

E F (Space) 7-14 x x

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 217

SECTION 7

Extended Commands

6400 Computers do not support HP Wand Select. Note that a“b” indicates a 1-byte space. Table 7-10 CC Byte 1 Options (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Column 4

CC Byte 1

HP Wand Select

Redundancy

0 1 x

2 x

3 x

4 x

5 x x

6 x x

7 x x

Laser

No Redundancy x x x x x x x

8 x

9 x

A x

B x

C x

D x x

E x x x x x x

F

Disable scanner.

b

No change from current setting. Table 7-11 CC Byte 2 Options Supported by Characters (6400, 5055, 59XX, 17XX, 11XX Terminals)

Line 1, Column 5 CC Byte 2

Scan Termination Character

0 1 2 3 4 5 6 7 8 9 A B C D E F

None

Modulo 10 Check Digit x x

[Enter] key x x [Tab] key x x x x TE 2000t 5250 Terminal Emulation Programmer’s Guide

7-15

Page 218

SECTION 7

Extended Commands

Table 7-12 CC Byte 3 Options Supported by Characters (6400, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Column 6 CC Byte 3 Enable Stream Scanning 0 1 2 3 4 5 6 7 8 9 A B C D E F b

Reserved

Return Bar Code Type

Bar Code Concatenated x x x x x x x x x x x x x x x x x x x x x x x x x x x x x No change from current setting x x x

Bar Code Length Bar Code Length sets the minimum and maximum character lengths for all types of bar codes scanned (Table 7-13). Setting the minimum and maximum values to their optimum can increase scanning performance. If the terminal scans bar codes that are outside the minimum and maximum value, the terminal ignores the bar code. Note that “b” indicates a 1-byte space. Table 7-13 Bar Code Length (6400, 5020, 5055, 59XX, 17XX, 11XX Terminals) Line 1, Columns 7--10 Column Character and Description 7--8 9--10

7-16

XX=Bar code length. Maximum length: 99. bb=No change from current setting XX=Bar code length. Minimum length: 00. bb=No change from current setting

TE 2000t 5250 Terminal Emulation Programmer’s Guide