The text of a manual · part 2 of 35
5250 Terminal Emulation Programmer's Reference Guide, pages 8 to 14
Pages 8 to 14 of 318
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 8
CONTENTS "
Screen Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Center Cursor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Corner Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lazy Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locked Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Annunciators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shift Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alphabetic Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Numeric Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AID-Generating Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cursor Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Field Exit Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Signal Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special Control Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special Host Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key Ahead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scan Ahead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key Repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-2 7-2 7-3 7-3 7-3 7-4 7-4 7-5 7-7 7-8 7-8 7-8 7-10 7-10 7-12 7-13 7-14 7-14 7-16 7-16 7-17 7-17 7-18 7-19
SECTION 8 vi
Display Data Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Screen Design Aid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Stream Command Structure . . . . . . . . . . . . . . . . . . . . . Input Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Read Immediate (Immediate) Command . . . . . . . . . . . . Read Modified Immediate Alternate Command . . . . . Read Input Fields Command . . . . . . . . . . . . . . . . . . . . . . Read MDT Fields Command . . . . . . . . . . . . . . . . . . . . . . Read MDT Alternate Command . . . . . . . . . . . . . . . . . . . Read Screen (Immediate) Command . . . . . . . . . . . . . . . Save Screen (Immediate) Command . . . . . . . . . . . . . . .
8-1 8-2 8-2 8-3 8-4 8-4 8-6 8-7 8-9 8-11 8-11 8-12
5250 Terminal Emulation Programmer’s Reference Guide
Page 9
CONTENTS "
Output Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clear Format Table Command . . . . . . . . . . . . . . . . . . . . . Clear Unit Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Restore Screen Command . . . . . . . . . . . . . . . . . . . . . . . . . Roll Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Write Error Code Command . . . . . . . . . . . . . . . . . . . . . . . Write to Display (WTD) Command . . . . . . . . . . . . . . . . . Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Insert Cursor (IC) Order . . . . . . . . . . . . . . . . . . . . . . . . . . Move Cursor (MC) Order . . . . . . . . . . . . . . . . . . . . . . . . . Repeat to Address (RA) Order . . . . . . . . . . . . . . . . . . . . . Set Buffer Address (SBA) Order . . . . . . . . . . . . . . . . . . . Start of Field (SF) Order . . . . . . . . . . . . . . . . . . . . . . . . . . Start of Header (SOH) Order . . . . . . . . . . . . . . . . . . . . . . Transparent Data (TD) Order . . . . . . . . . . . . . . . . . . . . . Asynchronous 5250 Prefixes . . . . . . . . . . . . . . . . . . . . . . . . . . System Messages and Parameter Errors . . . . . . . . . . . . . . .
8-14 8-14 8-15 8-16 8-18 8-19 8-22 8-24 8-25 8-26 8-27 8-28 8-28 8-38 8-40 8-40 8-41
SECTION 9 Extended Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmit and Receive On RS-232 Port (#F) . . . . . . . . . . . . . Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Return AID Key Characters . . . . . . . . . . . . . . . . . . . . . . . Return Codes for Transmit and Receive . . . . . . . . . . . . Example of Transmit and Receive . . . . . . . . . . . . . . . . . Transmit Only On RS-232 Port (#P) . . . . . . . . . . . . . . . . . . . Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Return Codes for Transmit Only . . . . . . . . . . . . . . . . . . . Example of Transmit Only . . . . . . . . . . . . . . . . . . . . . . . . Receive Only On RS-232 Port (#G) . . . . . . . . . . . . . . . . . . . . Return Codes for Receive Only . . . . . . . . . . . . . . . . . . . . Example of Receive Only . . . . . . . . . . . . . . . . . . . . . . . . . Set Parameters (#H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Return Codes for Set Parameters . . . . . . . . . . . . . . . . . . Example of Set Parameters . . . . . . . . . . . . . . . . . . . . . . . Return Version (#V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tone (#T) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-1 9-2 9-7 9-7 9-9 9-10 9-11 9-14 9-14 9-16 9-17 9-20 9-21 9-22 9-25 9-26 9-27 9-27
5250 Terminal Emulation Programmer’s Reference Guide vii
Page 10
CONTENTS "
Scan Bar Code Parameters (#S) . . . . . . . . . . . . . . . . . . . . . . . Control Character Byte 1 . . . . . . . . . . . . . . . . . . . . . . . . . Control Character Byte 2 . . . . . . . . . . . . . . . . . . . . . . . . . Control Character Byte 3 . . . . . . . . . . . . . . . . . . . . . . . . . Bar Code Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EAN Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Plessey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Codabar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code 93 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code 128 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Straight or Computer Identics 2of5 . . . . . . . . . . . . . . . . Interleaved 2of5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Return Codes for Scan Bar Code Parameters . . . . . . . Example of Scan Bar Code Parameters . . . . . . . . . . . . . Encoded Code 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terminating Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Escape Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-29 9-30 9-31 9-32 9-33 9-33 9-34 9-35 9-36 9-36 9-37 9-38 9-38 9-39 9-40 9-41 9-41 9-43 9-48 9-49 9-50
APPENDIX A Bar Code Scanning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Enable Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Scanning Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Encoded Code 39 Exception . . . . . . . . . . . . . . . . . . . . . . How Stream Scan Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Scan All Fields Works . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Scan Individual Fields . . . . . . . . . . . . . . . . . . . . . . . . What Scan Ahead Allows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the Host Gets Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . .
A-1 A-2 A-3 A-3 A-4 A-5 A-5 A-6 A-6
APPENDIX B viii
Conversion Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1
Decimal to Hexadecimal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Binary to EBCDIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1 B-5
5250 Terminal Emulation Programmer’s Reference Guide
Page 11
CONTENTS "
APPENDIX C System/36 Line Generations . . . . . . . . . . . . . . . . . . . . . . . . .
C-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Line Generations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-1 C-1
APPENDIX D System/38 Line Generations . . . . . . . . . . . . . . . . . . . . . . . . .
D-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-1
APPENDIX E AS/400 Line Generations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multipoint Line Configuration Example . . . . . . . . . . . . . . . 5394 Description Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Description Example . . . . . . . . . . . . . . . . . . . . . . . . . . Sample Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-1 E-2 E-6 E-9 E-13
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1 FIGURES Figure 1-1 Controller Emulating 5394 Control Units for AS/400 Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1-2 Controller Emulating 5294 Control Units for System/36 or System/38 Host . . . . . . . . . . . . . . . . . . Figure 1-3 Sample UHF Radio Network . . . . . . . . . . . . . . . Figure 1-4 Sample SST Radio Network With Ethernet Medium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1-5 Sample Open Wireless LAN . . . . . . . . . . . . . . . .
1-9 1-10 1-13 1-14 1-15
Figure 2-1 RT3210 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . Figure 2-2 RT3210 Windowing Mode . . . . . . . . . . . . . . . . . .
2-7 2-13
Figure 3-1 RT1100 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . Figure 3-2 RT1100 Windowing Mode . . . . . . . . . . . . . . . . . .
3-6 3-12
5250 Terminal Emulation Programmer’s Reference Guide ix
Page 12
CONTENTS " x
Figure 4-1 RT1700 57-Key Keyboard . . . . . . . . . . . . . . . . . . Figure 4-2 RT1700 37-Key Keyboard . . . . . . . . . . . . . . . . . . Figure 4-3 RT1700 Windowing Mode . . . . . . . . . . . . . . . . . .
4-7 4-8 4-15
Figure 5-1 RT5900 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . Figure 5-2 RT5900 Windowing Mode . . . . . . . . . . . . . . . . . .
5-7 5-13
Figure 6-1 PEN*KEY 6400 51-Key Keyboard . . . . . . . . . . Figure 6-2 PEN*KEY 6400 41-Key Keyboard . . . . . . . . . . Figure 6-3 PEN*KEY 6400 Windowing Mode . . . . . . . . . .
6-7 6-8 6-17
Figure 7-1 PEN*KEY 6500 Keyboard . . . . . . . . . . . . . . . . . Figure 7-2 PEN*KEY 6500 Windowing Mode . . . . . . . . . .
7-6 7-12
TABLES Table 2-1 RT3210 Special Characters . . . . . . . . . . . . . . . . . Table 2-2 RT3210 AID-Generating Keys . . . . . . . . . . . . . . . Table 2-3 RT3210 Signal Keys . . . . . . . . . . . . . . . . . . . . . . . . Table 2-4 RT3210 Special Control Keys . . . . . . . . . . . . . . . . Table 2-5 RT3210 Special Host Keys . . . . . . . . . . . . . . . . . . Table 2-6 Other RT3210 Keys and Operations . . . . . . . . . Table 2-7 RT3210 Key Repeat . . . . . . . . . . . . . . . . . . . . . . . .
2-9 2-12 2-15 2-15 2-17 2-17 2-19
Table 3-1 RT1100 Special Characters . . . . . . . . . . . . . . . . . . Table 3-2 RT1100 AID-Generating Keys . . . . . . . . . . . . . . . Table 3-3 RT1100 Signal Keys . . . . . . . . . . . . . . . . . . . . . . . . Table 3-4 RT1100 Special Control Keys . . . . . . . . . . . . . . . . Table 3-5 RT1100 Special Host Keys . . . . . . . . . . . . . . . . . . Table 3-6 Other RT1100 Keys and Operations . . . . . . . . .
3-8 3-11 3-14 3-14 3-16 3-17
Table 4-1 RT1700 Letters, 37-Key Keyboard . . . . . . . . . . . Table 4-2 RT1700 Special Characters . . . . . . . . . . . . . . . . . Table 4-3 RT1700 AID-Generating Keys . . . . . . . . . . . . . . . Table 4-4 RT1700 Signal Keys . . . . . . . . . . . . . . . . . . . . . . . . Table 4-5 RT1700 Special Control Keys . . . . . . . . . . . . . . . . Table 4-6 RT1700 Special Host Keys . . . . . . . . . . . . . . . . . . Table 4-7 Other RT1700 Keys and Operations . . . . . . . . . Table 4-8 RT1700 Key Repeat . . . . . . . . . . . . . . . . . . . . . . . .
4-10 4-11 4-13 4-17 4-18 4-19 4-20 4-22
5250 Terminal Emulation Programmer’s Reference Guide
Page 13
CONTENTS "
Table 5-1 RT5900 Special Characters . . . . . . . . . . . . . . . . . Table 5-2 RT5900 AID-Generating Keys . . . . . . . . . . . . . . . Table 5-3 RT5900 Signal Keys . . . . . . . . . . . . . . . . . . . . . . . . Table 5-4 RT5900 Special Control Keys . . . . . . . . . . . . . . . . Table 5-5 RT5900 Special Host Keys . . . . . . . . . . . . . . . . . . Table 5-6 Other RT5900 Keys and Operations . . . . . . . . . Table 5-7 RT5900 Key Repeat . . . . . . . . . . . . . . . . . . . . . . . .
5-9 5-12 5-15 5-16 5-17 5-17 5-19
Table 6-1 PEN*KEY 6400 Letters, 51-Key Keyboard . . . Table 6-2 PEN*KEY 6400 Letters, 41-Key Keyboard . . . Table 6-3 PEN*KEY 6400 Special Characters . . . . . . . . . . Table 6-4 PEN*KEY 6400 Special Characters, Alpha Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 6-5 PEN*KEY 6400 AID-Generating Keys . . . . . . . Table 6-6 PEN*KEY 6400 Function Keys, Alpha Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 6-7 PEN*KEY 6400 Signal Keys . . . . . . . . . . . . . . . . Table 6-8 PEN*KEY 6400 Special Control Keys . . . . . . . . Table 6-9 PEN*KEY 6400 Special Host Keys . . . . . . . . . . . Table 6-10 Other PEN*KEY 6400 Keys and Operations . Table 6-11 PEN*KEY 6400 Key Repeat . . . . . . . . . . . . . . . .
6-10 6-11 6-12
Table 7-1 PEN*KEY 6500 Special Characters . . . . . . . . . . Table 7-2 PEN*KEY 6500 AID-Generating Keys . . . . . . . Table 7-3 PEN*KEY 6500 Signal Keys . . . . . . . . . . . . . . . . Table 7-4 PEN*KEY 6500 Special Control Keys . . . . . . . . Table 7-5 PEN*KEY 6500 Special Host Keys . . . . . . . . . . . Table 7-6 Other PEN*KEY 6500 Keys and Operations . . Table 7-7 PEN*KEY 6500 Key Repeat . . . . . . . . . . . . . . . . .
7-8 7-11 7-14 7-15 7-16 7-16 7-18
Table 8-1 Input Commands and Hex Codes . . . . . . . . . . . . Table 8-2 Output Commands and Hex Codes . . . . . . . . . . . Table 8-3 Write to Display Control Byte 1 . . . . . . . . . . . . . Table 8-4 Write to Display Control Byte 2 . . . . . . . . . . . . . Table 8-5 Write to Display Command Orders . . . . . . . . . . Table 8-6 Field Format Word for Start of Field Order . . . Table 8-7 Field Control Words . . . . . . . . . . . . . . . . . . . . . . . . Table 8-8 Start of Field Control Word . . . . . . . . . . . . . . . . . Table 8-9 Start of Field Attributes . . . . . . . . . . . . . . . . . . . . Table 8-10 Function Key Bit Switches . . . . . . . . . . . . . . . . . Table 8-11 Resequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-3 8-4 8-23 8-24 8-25 8-30 8-31 8-36 8-36 8-39 8-39
6-14 6-15 6-16 6-19 6-20 6-21 6-22 6-24
5250 Terminal Emulation Programmer’s Reference Guide xi
Page 14
CONTENTS " xii
Table 8-12 System Codes and Descriptions . . . . . . . . . . . . Table 8-13 Parameter Errors . . . . . . . . . . . . . . . . . . . . . . . . .
8-42 8-44
Table 9-1 Transmit and Receive Characters . . . . . . . . . . . . Table 9-2 Return AID Keys . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9-3 Transmit Only Characters . . . . . . . . . . . . . . . . . . Table 9-4 Receive Only Characters . . . . . . . . . . . . . . . . . . . . Table 9-5 Set Parameters Characters . . . . . . . . . . . . . . . . . Table 9-6 Return Version Characters . . . . . . . . . . . . . . . . . . Table 9-7 Tone Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9-8 Scan Bar Code Parameters . . . . . . . . . . . . . . . . . . Table 9-9 Control Byte 1 Characters . . . . . . . . . . . . . . . . . . Table 9-10 Control Byte 2 Characters . . . . . . . . . . . . . . . . . Table 9-11 Control Byte 3 Characters . . . . . . . . . . . . . . . . . Table 9-12 Bar Code Length . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9-13 UPC Bar Code Characters . . . . . . . . . . . . . . . . . Table 9-14 EAN Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9-15 Code 39 Algorithms Characters . . . . . . . . . . . . Table 9-16 Plessey Characters . . . . . . . . . . . . . . . . . . . . . . . . Table 9-17 Codabar Characters . . . . . . . . . . . . . . . . . . . . . . . Table 9-18 Plessey Check Digit Characters . . . . . . . . . . . . Table 9-19 Code 11 Characters . . . . . . . . . . . . . . . . . . . . . . . Table 9-20 Code 93 Characters . . . . . . . . . . . . . . . . . . . . . . . Table 9-21 Code 128 Characters . . . . . . . . . . . . . . . . . . . . . . Table 9-22 2of5 Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 9-23 Interleaved 2of5 Characters . . . . . . . . . . . . . . . . Table 9-24 Key Press Sequences for Encoded Code 39 . . .
9-4 9-7 9-12 9-17 9-22 9-27 9-28 9-29 9-30 9-31 9-32 9-33 9-34 9-35 9-35 9-36 9-36 9-37 9-38 9-38 9-38 9-39 9-40 9-44
Table A-1 Bar Code Data String Formats . . . . . . . . . . . . . .
A-7
5250 Terminal Emulation Programmer’s Reference Guide