The text of a manual · part 17 of 57
JANUS 2020 Hand-Held Computer User's Manual, pages 161 to 170
Pages 161 to 170 of 570
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 J2020 and Intermec JR2020
Page 161
NF
BC Configuring the Reader
5
This chapter discusses the reader’s configuration parameters and files, explains how to configure the reader, describes how to restore the default configuration, and concludes by listing the configuration parameters.
About the Configuration Parameters You can customize many operating characteristics of the JANUS reader, such as the volume of its beeper and the bar code symbologies it decodes. These characteristics are governed by configuration parameters. The values you set for the parameters determine how the reader operates. By customizing the reader’s configuration, you can set up the JANUS 2020 to operate easily and efficiently within your data collection system. Note: To learn the purpose and syntax of each configuration command, see Chapter 12, “Configuration Command Reference.” The commands are listed alphabetically. The configuration parameters can be organized into three groups, which are discussed in the next sections: bar code symbologies, communications, and general operation. Therefore, when you configure the reader, you are performing one or more of these tasks: •
Choosing the Symbologies the Reader Will Decode
•
Specifying How the Reader Will Communicate
•
Controlling How the Reader Will Operate
Choosing the Symbologies the Reader Will Decode This list contains all the bar code symbologies the reader can decode: Codabar
Code 2 of 5
Interleaved 2 of 5 (I 2 of 5)
Code 11
Code 39
MSI
Code 128
Code 49
Plessey
Code 16K
Code 93
UPC/EAN
To ensure that the reader can operate quickly and efficiently, you should enable only the bar code symbologies that you are going to scan. If you enable multiple symbologies, the reader may on rare occasions decode a bar code according to the wrong symbology and produce erroneous results. When you enable each bar code symbology, you may need to set a check digit, the length of the bar code label, or other options. For help, see Chapter 12, “Configuration Command Reference.”
5-3
Page 162
JANUS 2020 Hand-Held Computer User’s Manual NF BC
Specifying How the Reader Will Communicate Before you can use the reader to communicate with another computer device, you must specify how the reader will transmit and receive data. For an introduction to networking concepts, see “Planning the Network Connection” in Chapter 6. To learn how to configure the reader to fit into your network, see “Configuring the Reader for Communications” in Chapter 6.
Controlling How the Reader Will Operate The operating parameters let you adjust the way the reader operates. By customizing the operating parameters, you can:
5-4
• set the reader to automatically shut off after a specified length of time.
• modify bar coded data using preambles, postambles, and the key code look-up table.
• enable or disable specific reader commands.
• change the duration, frequency, and volume of the beeper.
• control the display contrast, mode, setup, viewport movement, and backlight timeout.
• enable or disable the keypad clicker, Ctrl key functions, numeric keypad, and keypad caps lock.
• customize the way the scanner operates by selecting scan ahead data buffering, type of scanner devices, decode security level, scanner timeout value, and trigger modes.
Page 163
NF
BC Configuring the Reader
5
About the Configuration Files The parameter settings that are currently enabled on the reader comprise what is called the reader’s current configuration or its online configuration. This current configuration may or may not be saved in a configuration file. A configuration file is an ASCII text file that contains settings for some or all of the reader’s configuration parameters. To see a sample configuration file and its format, see “Editing a Configuration File” later in this chapter.
Configuring the Reader With Configuration Files To configure the reader with a configuration file, you load the file into IC.EXE and let IC.EXE configure the reader to match the parameters in the configuration file. You can use IC commands at the DOS prompt, or you can start the menu-driven IC.EXE application. This manual uses the phrase “load the configuration file” to indicate this process of configuring the reader with a configuration file, even though technically you do not load the configuration file into the reader’s memory. A configuration file can contain settings for all the configuration parameters, or just a few. When you load a configuration file, only those parameters contained in the file are changed in the reader’s current configuration. If the configuration file does not contain a setting for a parameter, the current setting remains in effect on the reader.
Creating Configuration Files You can use the menu-driven IC.EXE to create configuration files. For help, see “Using the Interactive Configuration Application” later in this chapter. Or you can type this command at the DOS prompt to create a configuration file that contains the reader’s current configuration: ic /s path\filename where: /s is the IC.EXE switch that saves the current configuration to a file.
path is the drive and directory where you want to store the file.
filename is the name of the configuration file.
5-5
Page 164
JANUS 2020 Hand-Held Computer User’s Manual NF BC
For example, type this command: ic /s e:\network\reader\janus.ini
The reader checks if the filename already exists. If it does, the reader prompts you to overwrite the existing file. If you choose Yes, the reader saves the current configuration in the file. If you choose No, the reader does not save the current configuration.
Creating Multiple Configuration Files You can create multiple configuration files as long as each has a unique name and the .INI extension, such as JANUS.INI. Each configuration file can be customized for a specific application, environment, or task. For example, you can create a file that contains the current configuration and edit the file to delete all parameters except the ones that specify the bar code symbologies the reader decodes. Now you can use this file to change the symbologies enabled on the reader without changing other parameters. You can create several configuration files, each of which enables a different set of symbologies. You can also create configuration files that contain a subset of parameters: DISPLAY.INI for display parameters, NETWORK.INI for communications parameters, and BEEP.INI for beeper parameters.
Backing Up Your Configuration Files You should create a backup copy of your configuration files to ensure that you have a record of each reader’s configuration. Store the backups on a host computer, disk, or PC card for safekeeping. You can also use the tables at the end of this chapter to record the options you select for each parameter.
5-6
Page 165
NF
BC Configuring the Reader
5
How to Configure the Reader You can configure the JANUS 2020 by using any of the methods described in detail in the next sections: Using the Interactive Configuration Application (IC.EXE) With menus and dialog boxes, the Interactive Configuration application (IC.EXE) lets you view the current configuration, modify parameters, create configuration files, and configure the reader with any configuration file. Configuring the Reader by Scanning Bar Codes You can change the reader’s current configuration by scanning Code 39 or Code 93 bar code labels that contain configuration commands. This is a fast, easy way to change the reader’s configuration. You can scan the bar code labels in this manual, or you can create your own bar code labels. Configuring the Reader With IRL Z Commands You can change the reader’s current configuration by running IRL programs that contain Z commands that modify the reader’s configuration. Configuring the Reader With PSK Functions You can change the reader’s current configuration by running PSK applications that contain IM_COMMAND functions that modify the reader’s configuration. Sending Commands From a Host Computer You can change the reader’s current configuration by sending configuration commands from a host computer to the reader. The host computer must be running an application that lets you send commands to the reader. The reader must be running an application that accepts configuration commands, such as the IRL Desktop or an application that uses the Reader Services input manager. Editing a Configuration File You can manually edit a configuration file with a standard ASCII text editor on a host computer or reader. Then you load the configuration file from the DOS prompt, or use IC.EXE to load the file. Loading a Configuration File From the DOS Prompt You can change the reader’s current configuration by typing an IC.EXE command at the DOS prompt that configures the reader with the configuration file you specify. Loading a Configuration File Whenever You Boot You can add a command to AUTOEXEC.BAT that configures the reader with the configuration file you specify when you warm or cold boot the reader. If you do not use this feature, the reader returns to its default configuration during a boot.
5-7
Page 166
JANUS 2020 Hand-Held Computer User’s Manual NF BC
Using the Interactive Configuration Application The Interactive Configuration application (IC.EXE) is a menu-driven application that lets you create configuration files, configure the reader, and view system information. To start IC.EXE, type this command at the DOS prompt and press :
e ic
Or scan this bar code:
*IC* *IC*
The main menu appears, displaying four menu options:
Configuration File
Sym
Com
Op
2020U.065
File Select the File menu to load or save configuration files, or return to the default configuration. You can also display software versions, equipment information, and available memory. You quit IC.EXE by selecting Exit from this menu. Sym Select the Sym menu to choose the bar code symbologies that the reader can decode. For some symbologies, you must also configure the check digit and label length. Com Select the Com menu to choose a communications protocol for each COM port, define the parameters for each protocol, and activate one protocol. Op Select the Op menu to change the operating parameters for the reader. These parameters include automatically turning the reader on and off, display options, beeper control, keypad options, reader commands, and scanner operation. Note: After you select a menu, you can press l to display the online help screen.
You can use the keystrokes described next to move around in IC.EXE, or you can scan bar code labels. For help, see “Scanning Bar Codes to Select Menu Options” in Appendix C.
5-8
Page 167
NF
BC Configuring the Reader
5
Selecting Menus and Commands g i e iie
Press or to select a menu name from the IC.EXE main menu. Then press to display the commands in the selected menu. In this example, you press to display the Op menu:
Configuration File
Sym
Com
Configuration
Op
File
Sym
Com
Op
Amble... Beeper... Reader Cmds Display... Keypad... Viewport... Scanner... IRL... Power Mgmt... Key Codes
2020U.213
2020U.068 h j
Press or to select a command or option from a menu, and then press to execute the command or option.
e
Note: The Sym, Com, and Op menus list the configuration parameters you can configure. An asterisk (*) on the Sym or Com menu indicates that the symbology or protocol is active.
Filling In Fields, Marking Check Boxes, and Saving Changes Screens list the options for each configuration parameter. Below each option name is either a toggle field or an entry field:
g or i to view the options for that field.
•
In a toggle field, you press
•
In an entry field, you type a value into the field.
j or f s or m. To move to the previous
To move to the next field, press field, press or or .
h ffs n
To learn how to enter ASCII control characters into fields, see “Entering ASCII Control Characters” in Appendix C. You can use ASCII control characters for some communications protocol characters, preambles, and postambles. Some screens contain check boxes. Check boxes are used when more than one option can be selected at a time. Press to mark or clear check boxes.
s
When you exit a screen, you can save or discard your changes:
e or choose OK. • To exit a screen without saving the changes, press d or choose CANCEL. •
To exit a screen and save the changes, press
5-9
Page 168
JANUS 2020 Hand-Held Computer User’s Manual NF BC
Using a Series of Screens to Configure a Parameter Sometimes IC.EXE presents a series of screens for one parameter. You must fill in fields or select options on each screen to configure the parameter. For example, when you configure the User-Defined protocol for COM1, IC.EXE displays five screens of options for the protocol. Here are the first two screens in that series:
Configuration COM1/User-Defined (1 of 5) BAUD: 9600 PARITY: Even DATA BITS: 7 STOP BITS: 1
Configuration COM1/User-Defined (2 of 5) DELAYS INTERCHARACTER: 0 ms TURNAROUND: 0 ms TIMEOUT: 10 sec TRANSMIT ABORT 00000 ms
NEXT NEXT ?
PREV
?
2020U.296
2020U.063
You can tell that a screen is part of a series when you see the Next and Prev commands at the bottom of the screen. Next and Prev let you move forward to the next screen or back to the previous screen.
e
Pressing while the cursor is in any field is the same as choosing Next. As described earlier, you press or or to move to the next field in the screen. You press or or to move to the previous field.
j fs m h ffs n
Using Multiple Configuration Files This example illustrates how to create and use multiple configuration files. Your JANUS reader will be used in two settings: in a tool room, where it is very quiet, and on the warehouse floor, where there is a substantial level of noise. You decide to create two INI files, one with the beeper volume set low and one with the beeper volume set high. To create two INI files with different beeper volumes 1. Start IC.EXE, choose the Beeper command from the Op menu, and set the beeper volume to Quiet.
5-10
Page 169
NF
2. Choose the Save As command from the File menu and press . The Configuration screen appears.
e
Configuration File
3. Specify a unique DOS filename for the INI file, such as QUIET.INI. Make sure the filename includes a path with a drive that you can write to, such as drive E:
5
BC Configuring the Reader
Sym
Com
Op
Load... Load Default Save Save As... About Exit
2020U.109 e:\quiet.ini
Note: If you store the configuration file on drive E, the file will be erased when you cold boot the reader, load flash memory, put the reader in Storage mode, or execute CONFIG.SYS after changing the command that creates drive E. 4. Choose Exit from the File menu. This screen prompts you to update the online configuration before you exit. The online configuration (also called the current configuration) is the set of parameters currently enabled on the reader.
Configuration Information Update online configuration?
Yes
No Cancel e
5. Press to choose Yes and apply the changes to the reader. The reader now beeps very quietly.
2020U.179
6. Restart IC.EXE, choose Beeper from the Op menu, and change the beeper volume to Very Loud. 7. Choose Save As from the File menu, and specify a unique DOS filename for the INI file, such as VERYLOUD.INI. 8. Choose Exit from the File menu. Again, IC.EXE prompts you to update the online configuration before exiting.
i
9. Press to select No and press quietly.
e . The reader is still configured to beep
5-11
Page 170
JANUS 2020 Hand-Held Computer User’s Manual NF BC
To configure the reader with the other INI file When you are ready to make the reader beep very loudly, you need to configure the reader with the VERYLOUD.INI file. Follow either method: •
You can type this command at the DOS prompt and press e:
ic /l e:\veryloud.ini
For help, see “Loading a Configuration File From the DOS Prompt” later in this chapter. •
You can use IC.EXE, as follows: 1. Start IC.EXE. 2. Choose Load from the File menu and press e.
3. Select VERYLOUD.INI from the list of filenames and press 4. Choose Exit from the File menu and press e.
e.
5. When the reader prompts you to update the online configuration, press to choose Yes. The reader is now configured to beep loudly.
e
Configuring the Reader by Scanning Bar Codes You can configure the reader by scanning bar code labels listed in this manual or by creating your own Code 39 or Code 93 bar code labels. For help, see Chapter 12, “Configuration Command Reference.” You can create bar code labels that contain more than one configuration command. For example, you can configure a reader for User-Defined protocol (PS0) on COM1 (IS1), with a baud rate of 2400 (IA4), even parity (IB1), 8 data bits (II8), and 2 stop bits (IC2) by scanning three bar codes. Each bar code starts with $+ (the Change Configuration command) followed by the syntax and option for each parameter. Configure for COM1, Configure User-Defined Protocol
*$+IS1PS0* *$+IS1PS0*
Set to 2400 Baud, Even Parity, 8 Data Bits, and 2 Stop Bits
*$+IA4IB1II8IC2* *$+IA4IB1II8IC2*
Activate User-Defined Protocol
*$+PA0* *$+PA0*
5-12