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

PowerWedge 20 User's Guide: Programming the PowerWedge 20, pages 43 to 50

Pages 43 to 50 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 43

Programming the PowerWedge 20

Data Bits (I.D. #C2)

Bar codes for setting data bits are on page 109. NOTE

This parameter specifies the number of data bits in each character.

Parity (I.D. #C3)

Bar codes for setting parity are on page 110. NOTE

This parameter specifies the parity of the data characters.

Stop Bits (I.D. #C4)

Bar codes for setting stop bits are on page 110. NOTE

This parameter selects the minimum space between data characters.

User’s Guide

37

Page 44

Programming the PowerWedge 20

Xon/Xoff Handshaking (I.D. #C5)

Bar codes for setting this parameter are on page 110. NOTE

This parameter is used for software data-flow control. The host can send the Xon character (ASCII 11h) to allow transmission and send the Xoff character (ASCII 13h) to stop transmission.

Enable Auxiliary Serial Input (I.D. #C7)

Bar codes for setting this parameter are on page 110. NOTE

This parameter is used to let the decoder know if it is going to send data received at the auxiliary serial input jack to the host. This allows data from a serial ASCII output device (for example, a scale or voice-input device) to pass through the decoder and appear to the host as if it had been typed in at the keyboard. Each auxiliary serial data record input can be up to 125 characters long (including the end-of-record character). You can edit auxiliary serial data just as if the data came from bar codes or magnetic stripes (see Input Editing on page 45).

The decoder will not accept bar code or magnetic stripe data while it receives data from the auxiliary device. NOTE

38

PowerWedge® 20

Page 45

Programming the PowerWedge 20

Since host keyboard interfaces are slower than most serial devices, the decoder buffers (stores) the data as much as it can. The decoder will try to stop the auxiliary device's data transmission by signaling on the hardwarehandshake-out line (pin 5 of the auxiliary serial interface cable's connector). It is very important that your auxiliary device support hardware handshaking or ACK/NAK protocol if you plan to transmit large files through the auxiliary port. The decoder will transmit data when the Clear to Send (CTS) signal is high and will not transmit data when the CTS signal is low. Since the CTS input has an internal pullup, no connection is required if transmission does not need to be controlled. The decoder can receive data when the Ready to Send (RTS) signal is high and will not receive data when the signal is low.

Protocol (I.D. #CA)

Bar codes for setting protocol are on page 111. NOTE

This parameter specifies the format of the data records (groups of data characters) transmitted and received. In EOR-only protocol, a record consists of data characters followed by the end-of-record (EOR) character. (The Xon/Xoff command characters are received with no EOR character appended.) When the protocol parameter is set to 00 (EOR only), the data records are received according to both the EOR-character (I.D. #CC) and timeout (I.D. #CD) settings. Records received with the EOR character appended are processed immediately. If the timeout setting is between 01 and 99 (10 to 990 milliseconds), then the data is processed if either an EOR character is received or a timeout occurs.

User’s Guide

39 table

Page 46

Programming the PowerWedge 20

In ACK/NAK protocol, a record consists of data characters followed by the end-of-record (EOR) character and a check character. This protocol transmits and receives ASCII ACK/NAK (ACK = 06h, NAK = 15h) characters for data integrity control. A data record must have an EOR character and a check character (mod 256 sum of all data characters and the EOR character) appended to be considered good. (The EOR-character setting, I.D. #CC, cannot be 00.) If the record is good, an ACK character is transmitted to inform the host that the data arrived successfully. If the record is bad, a NAK character is transmitted to the host. If the NAK character is received or a timeout occurs, the data record is retransmitted. Up to ten attempts will be made. If a communications error occurs, a nine-beep error signal is issued and the decoder is reset. The interfunction delay setting (I.D. #BE; the default is 00) determines the delay between the receipt of the data record and the transmission of the ACK/NAK response. The length of time the decoder will wait before checking for a valid record after each character is received is determined by the timeout setting. If the timeout setting is between 01 and 99, the delay is between 10 milliseconds and 990 milliseconds; if the timeout setting is 00, the delay is 2.55 seconds.

Require Host Response (I.D. #CE)

Bar codes for setting this parameter are on page 111. NOTE

Host response records can be either host-controlled indicator records (see below) or serial batch programming records (see page 28). If this parameter is set to on, the decoder will wait after sending a packet of data, and the host must respond with a host-controlled indicator record before the decoder can continue decoding.

40

PowerWedge® 20

Page 47

Programming the PowerWedge 20

Host-Controlled Indicators (I.D. #CF)

Bar codes for enabling and disabling host-controlled indicators are on page 111. NOTE

Host-controlled indicator (HCI) data consists of special ASCII records either transmitted to the decoder through the serial communications interface or sent to the system through output redirection (see Redirecting Output on page 54). Turning this parameter setting to on provides the host with a method to indicate, through the serial port, the status (good or bad) of a read by changing the light-emitting diode (LED), sounding the beeper, or both. You can also use HCI to include delays between LED and beep events. The decoder can receive up to 125 bytes of control data. The host-controlled data can be sent from the host at any time. After a bar code or magnetic stripe has been read successfully, the red LED on the decoder lights up, the decoder beeps (unless the volume setting is 0), and the data is sent to the host. If the require-host-response parameter is set to on, the decoder will wait for the host to respond with a valid packet of data before returning to reading bar code or magnetic stripe input. Table 3 lists HCI command assignments. All commands are human-readable ASCII characters. An example of a host-controlled indicator command block appears after the table.

User’s Guide

41

Page 48

Programming the PowerWedge 20

Table 3. Host-Controlled Indicator Commands TYPE

Delay (control character D followed by one to three numeric characters from 0 through 254, representing 10-millisecond increments)

Beep volume (control character B followed by one numeric character from 0 through 3)

Beep tone (control character T followed by one numeric character from 0 through 7)

LED (control character L followed by one numeric character from 0 through 2)

CTRL high/low for pin 10 on 25-pin connector (control character C followed by 0 or 1)

42

COMMAND

MEANING

D0

No delay

D1

10-millisecond delay

D254

2,540-millisecond delay

B0

Off

B1

Low

B2

Medium

B3

Loud

T0

2400Hz

T1

2618Hz

T2

2880Hz

T3

3200Hz

T4

3600Hz

T5

3840Hz

T6

4114Hz

T7

4430Hz

L0

Off

L1

Red

L2

Green

C0

Low

C1

High

PowerWedge® 20

Page 49

Programming the PowerWedge 20

The following example of a host-controlled indicator command block will set the decoder’s tone to 3840Hz, turn the beeper on at full volume, turn the green LED on, wait 50 milliseconds, turn the green LED off, wait 50 milliseconds, turn the green LED on again, wait 50 milliseconds, turn the LED off, wait 50 milliseconds, and turn the beeper off: T5B3L2D5L0D5L2D5L0D5B0

User’s Guide

43

Page 50

Programming the PowerWedge 20

Magnetic Stripe Programming Parameters Table 4 describes the options for programming the magnetic stripe channels for both models of the PowerWedge 20. Each of the options works with any channel. Bar codes for setting these parameters begin on page 98. (For a complete listing of parameters and defaults, see Programming Options on page 60.) Table 4. Magnetic Stripe Parameters for the PowerWedge 20 I.D. #

44

CH. 1

CH. 2

CH. 3

44

4A

54

45

4B

55

48 49

4E 4F

58 59

5A

5A

5B 5C

PARAMETER

DESCRIPTION

Enable

Allows the decoder to accept data on the enabled channel or channels.

Required

Specifies that the channel must have valid data before any channel’s data will be transmitted.

Preamble Postamble

Can be used to identify which channel data is entering from. Preambles and postambles assigned to bar code data are ignored when magnetic stripe data is transmitted.

5A

Auxiliary serial and magnetic stripe symbology identifiers

Identifies which track the magnetic stripe data comes from or whether it comes from auxiliary serial input.

5B

5B

Bar code symbology identifiers

Identifies the bar code symbology in which the data is encoded.

5C

5C

California DL/ID alpha conversion

Can be used to convert the seventh and eighth characters of the California driver’s license identification to their alphanumeric equivalents.

PowerWedge® 20