The text of a manual · part 4 of 15
PowerWedge 20 User's Guide: Programming the PowerWedge 20, pages 23 to 32
Pages 23 to 32 of 148, from PowerWedge 20 User's 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 PSC Powerwedge 20 and Datalogic Powerwedge 20
Page 23
Programming the PowerWedge 20
Programming the PowerWedge 20 See Programming Options on page 60 for the default settings for all code parameters. NOTE
The PowerWedge 20 is configured with certain default parameter settings before it is shipped from the factory. These predefined defaults will work for most applications. However, you may need to customize your settings for the specific types of bar codes you will be scanning. The following methods can be used to program the PowerWedge 20:
User’s Guide
•
Predefined-default programming - see page 18
•
Auto-Learn - see page 19
•
Menu programming - see page 21
•
Bar code batch programming - see page 23
•
On-screen programming - see page 25
•
Serial batch programming - see page 29
•
Cloning - see page 32
17
Page 24
Programming the PowerWedge 20
Predefined Defaults The PowerWedge 20 has the following three sets of default parameters: •
Predefined Default 0 (D0) turns every on/off parameter off and sets all minimum and maximum lengths to zero (00). Menu programming remains enabled. This default set makes it easy for you to start with everything off and then enable only the bar code symbologies and parameters you wish to use. This can prevent unwanted data entry to your applications.
The host device setting (C0) is not affected by the predefined default sets. NOTE
•
Predefined Default 1 (D1) turns every on/off parameter on and sets all maximum lengths as high as possible. It also sets bar code and magnetic stripe preambles and postambles. This default set gives you the best chance of reading an unknown bar code symbology, and it also identifies the bar code type for you.
•
Predefined Default 2 (D2) is the default set that was installed in the decoder at the factory. This default set meets most users’ needs.
You can reset your PowerWedge 20 to one of the predefined default sets by scanning one of the following bar codes:
18
D0
*$+$-D0EE*
D1
*$+$-D1EE*
D2
*$+$-D2EE*
PowerWedge® 20
Page 25
Programming the PowerWedge 20
Auto-Learn Auto-Learn is the simplest method of customizing the PowerWedge 20. With Auto-Learn, you “teach” the decoder to accept the types of bar codes you use. The current settings for the PowerWedge 20 remain unchanged unless they are explicitly set during Auto-Learn programming. For example, enabling Code 11 does not affect other symbologies. To disable all symbologies except the ones you want to use, program the decoder to use Predefined Default 0 (see page 18) before starting Auto-Learn. To program the PowerWedge 20 using Auto-Learn . . .
The Auto-Learn feature does not affect terminators or checksums. To set them, use one of the other programming methods described in this section. NOTE
1. Scan the START bar code below. (The bar code also appears on the bottom of the PowerWedge 20.) START
*$+$-*
2. Scan a sample of each of your bar code labels. Be sure the decoder beeps after each read. It is important that you scan each type of label (e.g., Code 39, UPC) as well as the smallest and largest bar codes (e.g., 6 characters and 10 characters) that you want the decoder to read.
User’s Guide
19
Page 26
Programming the PowerWedge 20
To quit Auto-Learn mode without saving the setup, scan the following bar codes (E first, F second):
NOTE
*E* *F* 3. Save the setup by scanning the bar code labeled E below (or on the bottom of the PowerWedge 20) twice. After the first scan, the decoder should beep once and the red LED should flash. After the second scan, the decoder should beep five times and the green LED should be lit. E
20
*E*
Scan this twice.
PowerWedge® 20
Page 27
Programming the PowerWedge 20
Menu Programming This programming method makes use of a “menu” of bar codes found on the bottom of the PowerWedge 20. You can use these bar codes to enter the programming I.D. numbers and settings listed in Programming Options on page 60. To program the PowerWedge 20 using the bar code menu . . .
NOTE
If you make a mistake or “get lost” while in programming mode, scan the ESC bar code. This will reset the decoder to expect a code I.D. number, ignoring any entries you made since you were last at the base level of programming mode. To quit programming mode without saving any changes, scan the E bar code and then the F bar code.
1. Scan the START bar code on the bottom of the PowerWedge 20. 2. Look in Programming Options on page 60 for the identification number (I.D. #) of the parameter you want to change. Scan the bar codes for the digits of that I.D. number. Then scan the bar codes for the setting you want to make or string you want to enter. 3. For example, the I.D. number for enabling Codabar is 20, and the code for On is 1. So to turn on Codabar, you would scan 2 and 0 (for 20) and then scan 1 (for On). (For other examples, see “Entering Values,” “Entering Strings,” and “Setting an Autoterminator,” below.) 4. After making all your changes, save the setup by scanning the bar code labeled E on the bottom of the PowerWedge 20 twice. After the first scan, the decoder should beep once and the red LED should flash. After the second scan, the decoder should beep five times and the green LED should be lit.
User’s Guide
21
Page 28
Programming the PowerWedge 20
Entering Values To enter a value setting, you must scan two bar codes for the I.D. number and two more for the value. For example, to set a minimum length of 6 for Code 128, you would scan 4 and 1 (for I.D. #41, Code 128 minimum length) and then 0 and 6 (for the value 06).
Entering Strings To enter a string, look in Full Keyboard Support on page 112 for the ASCII values of the characters you want to enter, and then scan the bar codes for those values. End the string by scanning the bar code for //, which is the end-ofstring character. For example, to include a tab at the beginning of every block of data you read, you would set a bar code preamble by scanning the bar codes for the following characters:
B6 09 // I.D. number for bar code preamble
ASCII value for the tab character
End-of-string character
Setting an Autoterminator An autoterminator is an ASCII character that the decoder places at the end of each data transmission. You can use autoterminators to separate input with tabs, carriage returns, punctuation, or other ASCII characters. To set an autoterminator (I.D. #B1), scan the bar codes for the ASCII value of a single ASCII character with no string terminator (//). For example, to set an autoterminator of CR (carriage return), you would enter B10D. To set no autoterminator, you would enter B100.
22
PowerWedge® 20
Page 29
Programming the PowerWedge 20
Bar Code Batch Programming The bar code batch method uses bar codes that program the PowerWedge 20 with a single scan. Each batch bar code contains commands to place the decoder into programming mode, set one or more parameters, save the settings, and exit programming mode. When you successfully scan a batch bar code, your decoder programs itself to your settings, beeps five times, and automatically returns to read mode, ready to go to work. To program the PowerWedge 20 using batch programming . . .
NOTE
To accept batch programming, the PowerWedge 20 must be programmed to use the extended (or full ASCII) Code 39 character set. The decoder was shipped from the factory ready to read the extended character set. If you have changed the default, use the bar code menu or on-screen programming to set I.D. #05 to on.
1. Find the batch bar codes you need in Programming Bar Codes on page 74, or create custom bar codes containing the programming I.D. numbers and parameters you want to set. You can create the bar code with a bar code printing program, a word-processing program, a desktop publishing program, or any other program that can use and print a Code 39 font. See the guidelines below. 2. Use a wand, laser, or CCD connected to the PowerWedge 20 to read the bar codes. The decoder beeps five times when programming is successful. If a bar code contains an invalid programming entry, the decoder beeps twice and ignores the programming instructions in the entire bar code.
User’s Guide
23
Page 30
Programming the PowerWedge 20
Guidelines for Creating Batch Bar Codes Keep the following in mind when creating bar codes for batch programming: •
Create your programming bar codes using the standard Code 39 character set, not the full ASCII character set. (You must read the bar codes in full ASCII Code 39 mode, however.)
•
The first and last character of each bar code must be an asterisk (*), the start and stop character for Code 39. (Most label-printing software programs automatically place the asterisks in Code 39 bar codes.)
•
The first asterisk of each bar code must be followed immediately by the characters $+$-. This lets the decoder know that it is reading programming information rather than data.
•
Each bar code must end with EE and the final asterisk.
•
String data must appear in a programming bar code after the I.D. number for the code parameter. Use two slashes (//) to terminate the string. (Parameters that accept string data include preambles and postambles.)
•
You must enter control or “action” characters (for example, tabs, line feeds, or function keys) by encoding their Code 39 equivalents (see Full Keyboard Support on page 112). For example, to enter a horizontal tab, you would include the character pair $I in the bar code.
The following bar code provides an example of batch programming. Scanning it will turn off the autoterminator and set the maximum length for Interleaved 2 of 5 labels to 15.
*$+$-B1%U0A35EE* Like all Code 39 bar codes, this one starts and ends with an asterisk (*). $+$- starts programming mode. B1 specifies the autoterminator parameter, and %U is the Code 39 equivalent of the null character, which turns it off. 0A specifies the Interleaved 2 of 5 maximum-length parameter, and 15 sets it to 15 characters per label. EE saves the new settings and exits programming mode.
24
PowerWedge® 20
Page 31
Programming the PowerWedge 20
On-Screen Programming This programming method lets you display programming parameters and settings on your screen. You can select parameters and change their settings using the computer’s keyboard.
NOTE
For on-screen programming of either model of the PowerWedge 20 installed with a serial cable, you must use a communications program (such as Procomm). Be sure the decoder’s serial parameters settings (baud rate, parity, etc.) match the settings of the communications program. For keyboard wedge installation, on-screen programming is available via cable 00-001-00 for AT-compatible computers, or cable 00-061-00 for PS/2 style computers.
To program the PowerWedge 20 on-screen . . . 1. Open a text editor (for example, the DOS EDIT utility), or go to the DOS prompt. 2. If you are using a text editor, use Courier or another monospaced font. If you are programming from the DOS prompt, type copy con nul and press Enter. 3. Move the switch on the PowerWedge 20 to the PRGM position (see Figure 1), and then press the Enter key on your keyboard. The decoder should beep three times, and the on-screen programming menu should appear on your screen, as shown in Figure 7. The menu is arranged in categories and subcategories identified by numbers and letters. Two or more categories or subcategories can share a single number or letter; for example, Code 39 and Interleaved 2 of 5 both use 0 (zero). The last line of the menu prompts you for input.
User’s Guide
25
Page 32
Programming the PowerWedge 20
Figure 7. Main Menu for On-Screen Programming ***** POWERWEDGE 20 VER 1.X MAIN MENU ***** BAR CODEMAG. STRIPECOMMUNICATIONS --------------------------------0 CODE394 CHANNEL 1 & 2C HOST SELECTION 0 I2of55 CHANNEL 3C SERIAL OPTIONS 1 M2of55 CA DL CONVERT 1 S2of5INPUT EDITINGD DEFAULTS 1 CODE116 EXTRA FIELDSD MORE CONTROLS 2 CODABAR/AMES7 DEFINITION 1 2 MSI8 DEFINITION 2E SHOW/EXIT 3 UPC-A9 DEFINITION 3E CLONING 3 UPC-EA DEFINITION 4 3 EAN/JANA ALLOW QUAL ONLY 4 CODE128B OTHER CONTROLS 5 LCODE-4/55 SYMBOLOGY IDS USE BACKSPACE TO EXIT MODES (0-E):
4. Type the I.D. of the category or subcategory you want to display or change, and press Enter. For example, enter 2 to display the current parameter settings for Codabar bar codes. This will also display the parameters and settings for the other symbologies having 2 as an I.D., as shown in Figure 8.
26
PowerWedge® 20