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

Opticon Universal Menu Book: bar code configuration and commands manual, pages 11 to 20

Pages 11 to 20 of 147

The original document is the PDF (593 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.

Filed in the catalog under the Opticon LG-K1WE5SP, Opticon 25-WEDGE-06 and Opticon HLT-1120 ELT-1120

Page 11

OPTICON UNIVERSAL MENU BOOK

1. Defaults

SET

_ZZ_

RS232

U2

_U2_

Serial TTL

SS

_SS_

AT wedge

UB

_UB_

USB-HID

SU

_SU_

USB-VCP

C01

_C01_

Bluetooth

SO

_SO_

IEEE 802.15.4

SM

_SM_

END

_ZZ_

U6

Page 12

OPTICON UNIVERSAL MENU BOOK

2. INTERFACE This chapter describes the configurable transmission options for your reader. Some options may not be relevant to the type of reader you have. An attempt to configure the reader for such options does not affect its operation and usually results in the reader producing an error tone, indicating you tried to make an illegal configuration entry.

2 Interface

U7

Page 13

OPTICON UNIVERSAL MENU BOOK

TxD: Transmitted Data: Transmits data from the reader to the host. This connection is mandatory.

2.1. RS232 options This paragraph describes the specific options for a reader with an RS232 interface. Bar code readers with an RS232 interface are normally supplied with either a DB25 or DB9 female connector. Both connectors are fitted with an external power connector. See figure 2.01 or 2.02.

RxD: Received Data: Receives data from the host to the reader. This connection is required if you want to send commands to the bar code reader or if software handshaking or acknowledgement control is used.

Fig. 2.01. RS232 options DB25

RTS: Request To Send: A general purpose output to the host, used for hardware flow control. This connection is optional.

1 2 3 4 5 7

1 2 3 4 5 7

FG TxD RxD RTS CTS SG

CTS: Clear To Send: A general purpose input to the bar code reader, used for hardware flow control. This connection is optional.

HOST

SCANNER

DB25S DB25P FG TxD RxD RTS CTS SG

SG: Signal Ground: Reference point for power supply and interface signals. This connection is mandatory.

Fig. 2.02. RS232 options DB9

3 2 5 7 8

3 2 5 7 8

TxD RxD SG RTS CTS

HOST

SCANNER

DB9S DB9P TxD RxD SG RTS CTS

Other connectors and/or connections are available by special order. Pin functions as seen from the bar code reader. FG: Frame Ground: This is normally connected to the "chassis ground" at the host computer. In the RS232 specification the use of FG is optional.

U8

Page 14

OPTICON UNIVERSAL MENU BOOK

2.1.1. Baud rate settings

The baud rate is the rate at which bits are transmitted from the reader to the host, and vice versa. Both the reader and the host should be set to the same baud rate

_ZZ_

150 baud

K0

_K0_

300 baud

K1

_K1_

600 baud

K2

_K2_

1200 baud

K3

_K3_

2400 baud

K4

_K4_

4800 baud

K5

_K5_

9600 baud

K6

_K6_

19200 baud

K7

_K7_

38400 baud

K8

_K8_

57600 baud

K9

_K9_

115200 baud

SZ

_SZ_

END

_ZZ_

U9

2 Interface

SET

Page 15

OPTICON UNIVERSAL MENU BOOK

2.1.2. Data, parity and stop bits The data characters may be transferred in one of the following formats:

Fig. 2.03. Data, parity, stop bits

A parity bit may be added to every character so that the total number of 1's in the data bits, together with the parity bit, is odd for odd parity or even for even parity. See figure 2.03.

(1)

START

7 Bit Data

(2)

START

7 Bit Data

START

7 Bit Data

PARITY

START

7 Bit Data

PARITY

START

8 Bit Data

START

8 Bit Data

START

8 Bit Data

PARITY

START

8 Bit Data

PARITY

(3) (4) (5) (6) (7)

STOP 2 STOP STOP 2 STOP STOP 2 STOP STOP

(8)

SET

_ZZ_

7 data bits

L0

_L0_

8 data bits

L1

_L1_

No parity

L2

_L2_

Even parity

L3

_L3_

Odd parity

L4

_L4_

1 stop bit

L5

_L5_

2 stop bits

L6

_L6_

END

_ZZ_

U10

2 STOP

Page 16

OPTICON UNIVERSAL MENU BOOK

ON the reader is allowed to transmit data. When all data has been transmitted, the reader will turn RTS OFF. In response, the host should turn OFF the reader's CTS. If, while RTS is ON, the CTS line is not ON for a certain configurable period, the reader will terminate the transmission with an error indication of the buzzer. See figure 2.05.

2.1.3. Handshaking

1. No handshake: Does not employ any handshaking: data is transmitted regardless of the control signals. This option will undo any handshake and flow control options selected.

RTS

ON

TxD

OFF

4. XON/XOFF: The reader sends data until an XOFF (ASCII DC3, Hex 13) character is received from the host. Only when the reader receives an XON (ASCII DC1, Hex 11) character, the reader continues to send its data. 5. ACK/NAK: After data has been transmitted, the reader expects to receive one of the following responses from the host:

ON

Response: "ACK" (ASCII: Hex Ø6) Action: The reader completes transmission with the good-read buzzer.

OFF ON OFF

Response: "NAK" (ASCII: Hex 15) Action: The reader sends the data again.

ON

TxD

ON OFF

Fig. 2.04. HandShaking Busy/ready

CTS

ON OFF

CTS

2. Busy/ready: The reader's RTS is ON as soon as the power is supplied to the reader and will stay ON while the reader can receive data from the host. The host will keep the reader's CTS ON while it is ready to receive data from the reader. While CTS is ON the reader is able to transmit data. The reader will abort transmission with an error indication of the buzzer when the CTS is not ON within a certain configurable period. The reader may drop RTS to OFF during transmission if it can not receive data simultaneously. See figure 2.04.

RTS

2

Fig. 2.05. HandShaking Modem mode

OFF

Response: "DC1" (ASCII: Hex 11) Action: The reader completes transmission without a good-read or error buzzer.

3. Modem mode: The reader's RTS is OFF as soon as power is supplied to the reader. The reader will turn RTS ON when it wants to transmit data to the host. The host should respond by putting CTS ON when it is ready to receive data. While CTS is

Response: "None" Action: If there is no response within one second then the reader terminates transmission with an error buzzer. See figure 2.06. U11

Interface

Data flow control is available using either hardware (Modem, Busy/Ready) or software (XON/XOFF). In addition, an optional acknowledgement control is available (ACK/ NAK with or without error response). Flow control may be combined with acknowledgement control. The RS232 voltage levels employed by most readers for transmission are either -10V (OFF) or +10V (ON).

Page 17

OPTICON UNIVERSAL MENU BOOK

Fig. 2.06. HandShaking ACK/NAK

Fig. 2.07. HandShaking ACK/NAK no response

Start of transmission

Start of transmission

Transmit data

Transmit data

Start 1 sec. timer

Answer received

No

Start 1oo ms. timer

Yes Answer received

No

Answer = NAK

Timer ended

No

Yes No

No

Answer = NAK

Timer ended

No

Yes

Yes

Answer = ACK

Yes

Yes

Answer = ACK

Yes

Yes

No No Answer = DC1

Yes Answer = DC1

Yes

No No ERROR Buzzer

ERROR Buzzer

GOOD READ Buzzer

ERROR Buzzer

GOOD READ Buzzer

END END

6. ACK/NAK no response: The difference from the ACK/NAK mode is that when no response from the host is received within 100 ms, the reader assumes that the data has been received correctly by the host. Response: "ACK" (ASCII: Hex Ø6) Action: The reader completes transmission with the good-read buzzer. Response: "NAK" (ASCII: Hex 15) Action: The reader sends the data again. Response: "DC1" (ASCII: Hex 11) Action: The reader completes transmission without a good-read or error buzzer. Response: "None" Action: If there is no response within 100 ms then the reader terminates transmission with a good read buzzer. See figure 2.07. U12

GOOD READ Buzzer

Page 18

OPTICON UNIVERSAL MENU BOOK

2.1.3. Handshaking

_ZZ_

No handshake

P0

_P0_

Busy/ready

P1

_P1_

Modem

P2

_P2_

XON/XOFF

ZG

_ZG_

ACK/NAK

P3

_P3_

ACK/NAK NO RESPONSE

P4

_P4_

Flow Control time out indefinitely

I0

_I0_

Flow Control time out 100ms

I1

_I1_

Flow Control time out 200ms

I2

_I2_

Flow Control time out 400ms

I3

_I3_

END

_ZZ_

U13

2 Interface

SET

Page 19

OPTICON UNIVERSAL MENU BOOK

2.1.4. Intercharacter delay for RS232 The intercharacter delay introduces a configurable time delay after each character transmitted. This may be used if the connected computer or terminal does not support flow control and is not capable of handling the received data.

SET

_ZZ_

No delay

KA

_KA_

20 ms delay

KB

_KB_

50 ms delay

KC

_KC_

100 ms delay

KD

_KD_

END

_ZZ_

U14

Page 20

OPTICON UNIVERSAL MENU BOOK

With keyboard: Use this mode in case a keyboard is connected to the PC wedge Y-cable. The wedge is only listening in case the computer is booting or when the wedge is idle.

2.2. Keyboard wedge/USB options This paragraph describes the options which are relevant to readers with a wedge or USB interface. The following parameters can be configured: • keyboard language • special options • intercharacter delay Because these options are interdependent, it is important to perform the configuration in the sequence given. Please consult your sales office for keyboard layouts and language currently supported. Keyboard wedge operation modes: This mode enables or disables responses from PC wedge to the computer during booting. In normal cases, the keyboard handles the responses to the computer. The PC wedge is only listening in order to be aware of the keyboard state.

The wedge is responding to all commands from the computer. The ‘without keyboard’ option is only supported for PC/AT wedges.

SET

_ZZ_

With keyboard

KM

_KM_

Without keyboard

KL

_KL_

END

_ZZ_

U15

2 Interface

Without keyboard: Use this mode in case no keyboard is connected to the PC wedge Y-cable. In some cases this mode is required in case only a PC USB keyboard is connected. If this option is enable, the computer can detect the wedge as a keyboard. In case the computer reports a keyboard error or in case no data is displayed, try this option. It is required to power OFF the PC, wait 10 seconds and power ON the PC again. Do not enable this option in case a keyboard is connected to the Y-cable.