The text of a manual · part 2 of 16
Universal menu book: bar code configuration and commands manual, pages 11 to 20
Pages 11 to 20 of 151
The original document is the PDF (662 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 NFT-2100, Opticon NFT-7175 and Opticon OPT-6125
Page 11
OPTICON Universal menu book
U4
Page 12
OPTICON Universal menu book
1. DEFAULTS This option allows you to undo all previously configured options and bring the reader's configuration back to factory default settings. These factory default settings are printed in bold.
1 Defaults
Note that differences may occur depending on the type of interface as will be mentioned in the text. Select only the correct default settings corresponding to your hardware "defaults" label. The interfaces supported depend on the reader model and software release. Please consult your sales office for not listed interfaces.
U5
Page 13
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-SPP
SO
_SO_
Bluetoooth-HID IEEE 802.15.4-HID
C02
_C02_
IEEE 802.15.4-VCP
SM
_SM_
END
_ZZ_
U6
Page 14
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 15
OPTICON Universal menu book
2.1. RS232 options TxD: Transmitted Data: Transmits data from the reader to the host. This connection is mandatory.
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.
FG TxD RxD RTS CTS SG
1 2 3 4 5 7
1 2 3 4 5 7
FG TxD RxD RTS CTS SG
HOST
SCANNER
DB25S DB25P
CTS: Clear To Send: A general purpose input to the bar code reader, used for hardware flow control. This connection is optional. SG: Signal Ground: Reference point for power supply and interface signals. This connection is mandatory.
Fig. 2.02. RS232 options DB9
TxD RxD SG RTS CTS
3 2 5 7 8
3 2 5 7 8
TxD RxD SG RTS CTS
HOST
SCANNER
DB9S DB9P
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 16
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 17
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
(3) START
7 Bit Data
PARITY
(4) START
7 Bit Data
PARITY
(5) START
8 Bit Data
(6) START
8 Bit Data
(7) START
8 Bit Data
PARITY
(8) START
8 Bit Data
PARITY
STOP 2 STOP
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
STOP 2 STOP STOP 2 STOP STOP 2 STOP
Page 18
OPTICON Universal menu book
2.1.3. Handshaking 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.
Fig. 2.05. HandShaking Modem mode
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 OFF
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.
CTS
ON 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.
Fig. 2.04. HandShaking Busy/ready
RTS
ON OFF
TxD
5. ACK/NAK: After data has been transmitted, the reader expects to receive one of the following responses from the host:
ON OFF
CTS
Response: "ACK" (ASCII: Hex Ø6) Action: The reader completes transmission with the good-read buzzer.
ON OFF ON
TxD
Response: "NAK" (ASCII: Hex 15) Action: The reader sends the data again.
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 U11
2 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 19
OPTICON Universal menu book
Response: "None" Action: If there is no response within one second then the reader terminates transmission with an error buzzer. See figure 2.06.
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.
Fig. 2.06. HandShaking ACK/NAK
Response: "ACK" (ASCII: Hex Ø6) Action: The reader completes transmission with the good-read buzzer.
Start of transmission
Response: "NAK" (ASCII: Hex 15) Action: The reader sends the data again. Transmit data
Response: "DC1" (ASCII: Hex 11) Action: The reader completes transmission without a good-read or error buzzer.
Start 1 sec. timer
Answer received
No
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.
Yes
No
Answer = NAK
Timer ended
No
Yes
Fig. 2.07. HandShaking ACK/NAK no response
Yes
Answer = ACK
Yes
No
Answer = DC1
Start of transmission
Yes
No ERROR Buzzer
ERROR Buzzer
Transmit data
GOOD READ Buzzer
Start 100 ms. timer END
Answer received
No
Yes
No
Answer = NAK
Timer ended
No
Answer = ACK
Yes
Yes
Yes
No
Answer = DC1
Yes
No ERROR Buzzer
GOOD READ Buzzer
END
U12
GOOD READ Buzzer
Page 20
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