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 5 of 15

PowerWedge 20 User's Guide: Programming the PowerWedge 20, pages 33 to 42

Pages 33 to 42 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 33

Programming the PowerWedge 20

Figure 8. On-Screen Programming Options CODABAR/Ames 0 ENABLE=1 1 MIN LENGTH=04 2 MAX LENGTH=20 3 TRANSMIT START/STOP=0 4 CODABAR TO CLSI CONVERSION=0 5 INTERCHARACTER GAP CHECK=0 MSI 6 ENABLE=0 7 MIN LENGTH=04 8 MAX LENGTH=10 9 2ND CHECKSUM REQUIRED=0 A 2ND CHECKSUM MOD 11=0 B TRANSMIT CHECKSUM=0 CODE93 C ENABLE=1 D MIN LENGTH=02 E MAX LENGTH=20 (0-B):

Notice that the parameters in this list are also identified by numbers and letters. The value following the equals sign (=) in each line is the current setting for that parameter (0 means off, and 1 means on). The last line is the input prompt.

To return to the previous menu level, press the Backspace key on your keyboard. NOTE

5. Type the I.D. of the parameter whose setting you want to change, and press Enter. A prompt will display the valid settings for the parameter in parentheses and separated by a “pipe” character (¦), as shown in the following example: ENABLE CODABAR/AMES (0¦1):

User’s Guide

27

Page 34

Programming the PowerWedge 20

6. Type the setting you want to use, and press Enter. The list of options will be redisplayed to verify the change you made. 7. Select another option from the list, or press the Backspace key to return to the main menu.

To leave on-screen programming without saving any changes, type EF and press Enter. NOTE

8. When you are finished checking or changing parameter settings, type EE at the prompt and press Enter. This will save your changes and exit on-screen programming. 9. Press Ctrl+Z to return to the DOS prompt.

Displaying and Printing Current Settings While you are in on-screen programming mode, you can display the current settings for all the parameters. At the main menu prompt, type E and press Enter, and then type D and press Enter again. At the next prompt (ECHO SETTINGS TO SCREEN), type 1 and press Enter. A list of all the parameters will appear on your screen. You can pause the display of the list at any time by pressing the PAUSE key on your keyboard; then press any key to continue the display. If you are using a text editor, you can use commands in the editor’s menu to print the list of settings or save it to a file. If you are working from the DOS prompt, you can also save or print the list of settings. To print or save the list, follow steps 1 through 9 above, with the following changes in step 2:

28

•

To print the list, use the following command: copy con prn.

•

To save the list as a file, use the following command: copy con filename.

PowerWedge® 20

Page 35

Programming the PowerWedge 20

Serial Batch Programming The serial batch method of programming involves creating an ASCII file of programming commands and then transmitting the ASCII file to the PowerWedge 20. The decoder’s serial parameter settings must match the host’s settings, and the setting for start-program enable (I.D. #B0) must be either 01 or 03. Follow these guidelines when creating ASCII files for serial batch programming: •

The first line of the file must begin with $+$-. This is the decoder’s “trigger” to enter programming mode.

•

Valid characters for the first character in a line (except the first line) are programming variables or a semicolon.

•

A semicolon as the first character in a line indicates the beginning of a comment. A semicolon anywhere else in a string is treated as a normal character. An end-of-line character (CR or CR/LF) marks the end of the comment. (Comments contain information useful to you or anyone else reading the file. They have no effect on the decoder.)

•

Data must appear in a line in a specific order: the programming I.D. number for the parameter followed by a value for the parameter setting. If the parameter type is a string, the string characters must be followed by two slashes (//) to terminate the string. (You can use strings as values for preambles, postambles, and extra fields in input editing.)

For Code 39 and ASCII equivalents for serial characters, see Table 1. NOTE

•

User’s Guide

You must enter control or “action” characters (for example, tabs, line feeds, or function keys) as a “mnemonic” word enclosed in parentheses (see Full Keyboard Support on page 112). For example, to enter a horizontal tab, you would type (TABR).

29

Page 36

Programming the PowerWedge 20

•

The file must end with EE followed by an end-of-line character (CR or CR/LF) for the programming changes to be saved and the decoder to exit programming mode.

The following is an example of an ASCII file used for serial batch programming: $+$;This is a file example with comments ;The first line started programming mode ;Use predefined default D0 D0 ;Enable Code 39--00 is Code 39 enable/disable, ; 1 = enable 001 ;Set Code 39 minimum length (01) TO 4 (04) 0104 ;Set postamble (B7) to a right tab B7(TABR)// ;Save changes and exit programming mode EE

The last line of the file is blank, because a carriage return ended the line before it. The following example would have the same results when used to program the decoder: $+$-D00010104B7(TABR)//EE

30

PowerWedge® 20

Page 37

Programming the PowerWedge 20

Code 39 and ASCII Equivalents for Serial Characters Table 1 provides Code 39 and ASCII equivalents for serial characters. For Code 39, ASCII, and mnemonic equivalents of keyboard keys, See “Full Keyboard Support” on page 112.

Table 1. Code 39 and ASCII Equivalents for Serial Characters Character

Code 39

ASCII Value

Character

Code 39

ASCII Value

Character

Code 39

ASCII Value

NUL

%U

80

VT

$K

0B

SYN

$V

16

SOH

$A

01

FF

$L

0C

ETB

$W

17

STX

$B

02

CR

$M

0D

CAN

$X

18

ETX

$C

03

SO

$N

0E

EM

$Y

19

EOT

$D

04

SI

$O

0F

SUB

$Z

1A

ENQ

$E

05

DLE

$P

10

ESC

%A

1B

ACK

$F

06

DC1

$Q

11

FS

%B

1C

BEL

$G

07

DC2

$R

12

GS

%C

1D

BS

$H

08

DC3

$S

13

RS

%D

1E

HT

$I

09

DC4

$T

14

US

%E

1F

LF

$J

0A

NAK

$U

15

User’s Guide

Terminate string: //

31

Page 38

Programming the PowerWedge 20

Cloning Cloning is a way to copy the setup from one PowerWedge 20 to another. Once you have programmed the first PowerWedge 20, you can use it as a master to turn other PowerWedge 20s into clones of the first one. To program the PowerWedge 20 using cloning . . .

If you are using a PowerWedge 20 Dual as the master for cloning, you can connect the bar code reader to INPUT 2. The cloning cable, however, must be connected to INPUT 1. NOTE

1. Connect a bar code reader to the connector labeled INPUT 1 on the programmed PowerWedge 20 (the “master”), and set the On/Off/ Program switch to the ON position (see Figure 1). 2. Scan the following bar code:

*$+$-EC* Cloning will work only if the master and slave are the same model. For example, you cannot use a PowerWedge 20 Dual as the master and a standard PowerWedge 20 as the slave. NOTE

You can also use the bar code menu on the bottom of the PowerWedge 20 to enter cloning mode. Scan the labels for START, E, and C, in that order. To make your own cloning cable, see the pinout diagram on page 132. table

This puts the programmed PowerWedge 20 into cloning mode. While the decoder is in cloning mode, the red and green light-emitting diodes (LEDs) alternate flashing twice (that is, the flashing sequence is green-green-red-red, green-green-red-red, and so on).

32

PowerWedge® 20

Page 39

Programming the PowerWedge 20

3. Remove the bar code reader from the master, and connect the cloning cable (part number 00-874-25) to INPUT 1 on the master. 4. The PowerWedge 20 that you want to program is called the “slave.” Set the On/Off/Program switch on the slave to the OFF position. 5. Connect the free end of the cloning cable to INPUT 1 on the slave. 6. Set the On/Off/Program switch on the slave to the PRGM position. The parameter settings from the master PowerWedge 20 will immediately be copied into the slave. The slave will indicate successful programming by beeping three times and repeatedly flashing its green LED twice. 7. Turn the slave off and disconnect the cable from it. 8. Repeat steps 4 through 7 to make additional clones.

User’s Guide

33

Page 40

Programming the PowerWedge 20

General Programming Parameters Table 2 describes some of the general parameters for programming the PowerWedge 20. Page references indicate where to find bar codes for setting the parameters. For descriptions of serial parameters, see page 36. For information about magnetic stripe programming parameters, see page 44. For a complete list of parameters and defaults, see Programming Options on page 60. Table 2. General programming parameters for the PowerWedge 20 I.D. #

34

PARAMETER

DESCRIPTION

05

Code 39 full ASCII (page 77)

Supports the Code 39 extended ASCII character set (see Full Keyboard Support on page 112). For example, a character string encoded in Code 39 as +A is transmitted as a lowercase a. This allows every key of the keyboard to be encoded in a Code 39 bar code.

25

Codabar wide intercharacter gaps (page 89)

Allows reading of Codabar bar codes printed with large gaps between characters.

33, 36

UPC conversion (starting on page 95)

Converts UPC-A bar codes to EAN-13 (I.D. #33), and converts UPC-E bar codes to UPC-A (I.D. #36).

3C– 3E

UPC/EAN/JAN extensions (starting on page 97)

Reads two-digit (I.D. #3C) and five-digit (I.D. #3D) extensions if the decoder is programmed to allow them. Doesn’t read UPC, EAN, or JAN bar codes if the decoder is programmed to require extensions (I.D. #3E) and no extensions are present.

B1

Autoterminator (page 100)

Appends an ASCII character to each transmission. You can program the ASCII value for any single character (see Full Keyboard Support on page 112). The factory default is a carriage return (the Enter key). Programming a value of 00 disables the autoterminator so that the decoder transmits only the bar-coded data.

B2

ASCII capital to lowercase (page 100)

Changes scanned capital letters to lowercase (or lowercase to uppercase if your caps lock is enabled).

PowerWedge® 20

Page 41

Programming the PowerWedge 20

Table 2. General programming parameters for the PowerWedge 20 I.D. #

PARAMETER

DESCRIPTION

B3

Intercharacter delay (page 101)

Adds 1 to 99 milliseconds between transmissions of ASCII characters. Use a larger number if characters are omitted when transmitted to the host.

B4

CCD/laser redundancy (page 101)

Requires charge-coupled devices (CCDs) and lasers to obtain two identical reads in a row before transmitting the decoded data. This is an error-checking feature. Only one read's worth of data is transmitted.

B5

Symbology identifiers (page 101)

Precedes the encoded data with a character identifying the type of bar code (see page 68).

B6, DA B7, DB

Preamble Postamble

Precedes data with a preamble (I.D. #B6 or DA) or appends a postamble (I.D. #B7 or DB). Enter a character string ending with //. (I.D. numbers DA and DB are for the second bar code scanner on the Dual model.)

B8– BC

Beeper (page 102)

Controls the decoder's beeper. You can select one of eight pitches for the decoder's good-read beeps (I.D. #B8) and program the number of beeps (I.D. #B9), the duration of each beep (I.D. #BA), and the beep volume (I.D. #BC). You can enable an end-of-transmission beep (I.D. #BB) to indicate that the decoder is ready to scan again.

BF

Numeric keypad (page 103)

Transmits numeric keypad values instead of the number keys in the top row of the keyboard. (Some applications recognize a difference between a number typed on the top row of the keyboard and the same number typed on the keyboard’s numeric keypad.)

C0

Host device (page 107)

Identifies the host computer type. This setting is not affected by the predefined defaults (D0–D2).

User’s Guide

35

Page 42

Programming the PowerWedge 20

Serial Programming Parameters You can use batch programming to set serial parameters for both models of the PowerWedge 20. This section describes the parameters; bar codes for setting them begin on page 108. (For a complete listing of parameters and defaults, see Programming Options on page 60.)

Data Type (I.D. #C0)

Bar codes for setting data type are on page 108. NOTE

This parameter determines the data content transmitted to or received from the host. The ASCII setting transmits and receives the standard ASCII character set (with the exception of the null character, ASCII 00h, which is received as 80h). The PC SCAN CODES setting transmits the press-andrelease codes for the keys on a PC keyboard.

Baud Rate (I.D. #C1)

Bar codes for setting baud rate are on page 109. NOTE

This parameter determines the communication speed. The setting you use for the decoder must match the setting that the host uses.

36

PowerWedge® 20