The text of a manual · part 2 of 26
IRL Programming Reference Manual, pages 11 to 20
Pages 11 to 20 of 260
The original document is the PDF (666 KB). 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 9445, Intermec 9550, Intermec 9560 and Intermec 9512
Page 11
Contents
C
Sample IRL Programs Using the Sample Programs C-3 Binary Search Program C-3 TRAKKER Modem Program C-7
G I
Glossary
Index xi
Page 12
Page 13
Before You Begin
Before You Begin This section introduces you to standard warranty provisions, safety precautions, warnings and cautions, document formatting conventions, and sources of additional product information.
Warranty Information To receive a copy of the standard warranty provision for this product, contact your local Intermec sales organization. In the U.S. call 1-800-755-5505, and in Canada call 1-800-688-7043. Otherwise, refer to the Worldwide Sales & Service list shipped with this manual for the address and telephone number of your Intermec sales organization.
Cautions The cautions in this manual use the following format.
CAUTION
Caution A caution alerts you to an operating procedure, practice, condition, or statement that must be strictly observed to prevent equipment damage or destruction, or corruption or loss of data. Conseil Une précaution vous alerte d’une procédure de fonctionnement, d’une méthode, d’un état ou d’un rapport qui doit être strictement respecté pour empêcher l’endommagement ou la destruction de l’équipement, ou l’altération ou la perte de données.
About This Manual This manual covers Intermec’s Interactive Reader Language (IRL) version 2.X and version 4.X. This manual is intended for anyone using IRL to program an Intermec reader. It is a guide and tutorial for novice programmers of IRL, and a reference manual for experienced programmers. You must already understand the basics of programming and program structure to get the most out of this manual.
xiii
Page 14
IRL Reference Manual
Organization The manual is organized as follows:
xiv
Chapter
What You Will Find
1
Getting Started This chapter introduces bar code readers, explains the differences in IRL versions, and describes your options for writing IRL programs.
2
Learning to Program in IRL This chapter is a tutorial that walks you through three sample IRL programs, from simple to complex and explains many common IRL commands.
3
Programming Techniques This chapter covers the programming elements you use to design your programs. You learn how to use input and output commands, manipulate data, and control the program flow.
4
Programming With IRL Editor and IRL Monitor This chapter explains how to input, debug, and compile IRL programs in a reader.
5
Using IRL With JANUS Readers This chapter highlights the IRL version 4.X features. IRL version 4.X runs only on JANUS readers.
6
User Tips for All IRL Versions This chapter provides helpful tips for working with IRL.
7
IRL Command Descriptions This chapter describes the function, syntax, and use of each IRL command.
A
ASCII Charts This appendix lists the ASCII characters and their binary, hexadecimal, and decimal values.
B
Error Messages This appendix explains the IRL error messages.
C
Sample IRL Programs This appendix includes two sample IRL programs. The first demonstrates a binary search. Then second is an IRL version 2.X program for connecting to a host through a modem at 300 or 1200 baud.
G
Glossary The glossary defines terms relevant to data collection, networking, and programming.
I
Index
Page 15
Before You Begin
Suggested Reading Path If you have little programming experience, go through the programs covered in Chapter 2, “Learning to Program in IRL.” By the end of this tutorial, you will have a clear idea of how to write an IRL program. Next, read Chapter 3, “Programming Techniques,” to learn more IRL programming concepts. Software engineers, systems analysts, and others with IRL programming experience can skim through Chapter 3. You can move quickly to the commands in Chapter 7, or to the advanced information in the rest of the manual.
Terms and Conventions The following tables explain the specific terms and formatting conventions used throughout this manual.
Special Terms This Term
Means reader
An Intermec programmable bar code reader or vehicle mount unit. For example, the J2010 or the TRAKKER 9445.
JANUS device
The JANUS 2010, 2020, or 2050.
operator
Anyone who runs applications on the reader.
programmer
Anyone who writes applications for the reader.
keypad
The custom reader keyboard. A keypad may not have keys for all printable ASCII characters.
keyboard
A separate keyboard, such as the 1700 keyboard, or the keyboard of an attached terminal. A keyboard has keys for the entire alphabet, numbers, and printable ASCII characters.
procedure
A group of statements that work together to perform a specific task. From a programming point of view, there is nothing special about a procedure. It is simply a name this manual uses for a section of a program that begins with a label and is not a subroutine.
xv
Page 16
IRL Reference Manual
Keypad Input This Convention
Means bold text
Keys that you press on the keypad. All key names use first-letter capitalization.
Ctrl Enter F3
Control key Enter key F3 key
Icons
Keys that you press on a JANUS keypad are represented by a key icon.
c e n
Control key Enter key F3 key
Shift A
Keys listed together mean that you are required to press and release a series of keys in the order listed. For example, to enter the uppercase character A, press Shift A. To enter this character, you press and release the Shift key, and then press the key marked A.
Ctrl-Alt-Del
Keys connected by a dash mean that you are required to press more than one key at the same time. It is important that you press and hold the keys in the order they are listed in the text. For example, press Ctrl-Alt-Del to perform a warm boot on a standard PC.
Commands This Convention
Means
P (Prompt)
IRL command. Commands written in text are printed in bold, with the explanation in parenthesis. For example, “the P (Prompt) command displays a message on the reader.”
P"Do It"
IRL code example. All code examples are printed in Courier. For example: P"Do It"
COPY I*.* E:\
: Display the text “Do it”
DOS commands are printed in Courier. You can use uppercase or lowercase letters in DOS. For example: COPY INTERMEC.* E:\ copy intermec.* e:\ xvi
Page 17
Before You Begin
Other Conventions This Convention
Means italic type
A variable or syntax parameter where it is defined in text. Italic type also can indicate references to other manuals or important terminology.
nnH
Hexadecimal number, where nn is the two-digit hex value. Within text, hexadecimal numbers are followed by an uppercase H. For example, 03 hex is written as 03H.
0xnn
ASCII hex code in a code segment, where nn is the hexadecimal code for the ASCII character. For example, 0x0D represents a CR (carriage return).
Invalid entry. Try again.
Error or status message. Italic courier type is used for system messages.
Conventions for Bar Codes You can scan the bar codes listed in this manual to enter data or perform a command. Each bar code includes the name and human-readable interpretation. For example:
Change Configuration
Name
*$+*
Bar code (Code 39) Human-readable interpretation
*$+*
2010U.073 xvii
Page 18
IRL Reference Manual
Other Intermec Manuals You may need additional information for working with readers that you are programming. To order additional manuals, contact your local Intermec representative or distributor.
xviii
Manual
Intermec Part No.
Data Communications Reference Manual
044737
PC-IRL Reference Manual
049212
JANUS 2010 Hand-Held Computer User’s Manual
058426
JANUS 2020 Hand-Held Computer User’s Manual
059951
JANUS 2050 Vehicle-Mount Computer User’s Manual
062874
944X TRAKKER User’s Manual
049273
9450 Vehicle Mount Unit User’s Manual
053576
9465 Radio Frequency TRAKKER User’s Manual
055846
9512/9550 User’s Manual
050907
9560 Transaction Manager User’s Manual
059724
Page 19
1 Getting Started