Opticon ECB-1000 Manual de usuario

Users Manual
ECB-1000
Opticon Ethernet Converter
RS232 ↔Ethernet ↔Internet / PC / RS232

2
-
Opticon Ethernet Converter
CAUTION: This users manual may be revised or withdrawn at any time without prior notice.
Copyright 2009
Opticon Sensors Europe BV
All rights reserved.
This manual may not, in whole or in part, be copied, photocopied, reproduced, translated or converted to any
electronic or machine readable form without prior written consent of Opticon Sensors Europe BV
BY OPENING THE PACKAGE OF THIS PRODUCT YOU AGREE TO BECOME BOUND BY THE LIABILITY
AND WARRANTY CONDITIONS.
IN ALL CIRCUMSTANCES THIS MANUAL SHOULD BE READ ATTENTIVELY, BEFORE INSTALLING
AND/OR USING THE PRODUCT.
Serial number
A serial number appears on all Opticon products. This official registration number is strictly related to the device
purchased. Make sure that the serial number appearing on your Opticon device has not been removed.
Removing the serial number might affect the warranty conditions and liability disadvantageously, so please be
strict at maintaining the label with serial number on the Opticon product.
Warranty / Warranty period / Liability
Unless otherwise agreed in a contract, all Opticon products are warranted for a period of two years after
purchase, covering defects in material and workmanship. Opticon will repair or, at its opinion, replace products
that prove to be defective in material or workmanship under proper use during the warranty period. Opticon will
not be liable in case the customer made modifications. In such case the standard repair charge will be
applicable. The standard charge for repair will also be applicable in cases where no defect is found at all. These
rules also apply for products that are still under warranty. Under no circumstance Opticon Sensors Europe BV
will be liable for any direct, indirect, consequential or incidental damages arising out of use or inability to use
both the hardware and software, even if Opticon has been informed about the possibility of such damages.
Packaging
The packing materials are not harmful for the environment. We recommend that you save all packing materials,
as it should be used whenever you need to transport your scanner (e.g. for service). Damage caused by
improper repacking is not covered by the warranty.
Trademark
Trademarks used are property of their respective owners.
Version 03-2009

Opticon Ethernet Converter - 3
Table of contents
1 INTRODUCTION 4
1.1 D
ETAILED VIEW
4
1.2 S
UPPORTED
O
PTICON
H
ANDHELD
T
ERMINALS
4
1.3 H
ANDLING
I
NSTRUCTIONS
5
2 GETTING STARTED 6
2.1 C
ONNECTING THE CABLES AND POWER SUPPLY
6
2.1.1 P
OWER SUPPLY
6
2.1.2 RS232 C
ABLE
6
2.1.3 E
THERNET CABLE
6
3 CONFIGURATION OF THE ETHERNET CONVERTER BOX 6
3.1 M
ETHOD
1: U
SING THE
S
YSTEM MENU VIA
RS232 7
3.2 M
ETHOD
2: U
SING
AT-
COMMANDS VIA
RS232 9
3.3 M
ETHOD
3: U
SING THE CONFIGURATION PAGE OF THE EMBEDDED
HTML-
SERVER
11
4 ESTABLISHING A TCP/IP CONNECTION WITH OPTICON HANDHELD TERMINALS 14
5 ESTABLISHING A (VIRTUAL) RS232 CONNECTION OVER ETHERNET 15
5.1 S
UPPORTED PROTOCOLS
15
5.2 F
INDING REMOTE
E
THERNET
C
ONVERTERS
15
5.3 C
ONNECTING TO A REMOTE
PC
OR
E
THERNET
C
ONVERTER
16
5.3.1 C
ONFIGURING THE PORT NUMBERS
16
5.4 C
ONNECTING SERIAL BARCODE READERS TO AN
E
THERNET
C
ONVERTER BOX
17
5.4.1 C
ONFIGURING YOUR BARCODE READER
17
5.4.2 C
LIENT OR
S
ERVER
17
5.4.2.1 Ethernet box as Client (for both LAN & Internet) 18
5.4.2.2 Ethernet box as Server (for LAN only) 18

4
-
Opticon Ethernet Converter
1 Introduction
The Opticon Ethernet Converter box makes it possible to connect your Opticon Handheld terminals to the
Ethernet and the Internet.
Using the integrated TCP/IP stack it is possible to transmit and receive files from your Opticon Handheld
terminal to any local or remote FTP-server, send and receive emails or simply synchronize time by using an
NTP server.
Alternatively it is also possible to connect one of more Ethernet Converter boxes to the Ethernet and have all
your barcode readers and/or terminals transmit their data to a remote PC that can be located anywhere on your
LAN or even somewhere on the Internet
1.1 Detailed view
1.2 Supported Opticon Handheld Terminals
The Ethernet Converter box has been designed as replacement for applications of Opticon Handheld terminal
that make use of TCP/IP dialup connections by 56k modems and GPRS/GSM modems without having to
change the software of the application itself.
For this purpose the following Opticon Handheld terminals are currently supported:
OPL97xx
PHL1700
PHL1300
PHL2700
OPH100x
H13
To be able to use the TCP/IP capabilities of the Ethernet Converter box you'll need to the following TCP/IP
libraries for these terminals:
OPL97xx: LMAV020Y or higher (or LNAV020Y for IrDA)
PHL1700: CMWV020Y or higher
PHL1300: CMWV020Y or higher (or CQWV020Y for IrDA)
PHL2700: CMWV020Y or higher (or CQWV020Y for IrDA)
OPH1003: XMAV020Y or higher
OPH1004: XPAV0306 or higher
H13: XPAV0306 or higher
Notes
Older versions of the TCP/IP libraries will also work, so it is not necessary to rebuild existing applications,
however they will work with a slower communication speed.
It is recommended to use the latest TCP/IP library available at all times (= currently v.0307)
The TCP/IP libraries and further info can be found on the 'C-development kit for Opticon Handheld Terminal'

Opticon Ethernet Converter - 5
1.3 Handling Instructions
Temperature conditions
•Do not use in freezing areas.
•Do not use in area’s with temperatures higher than 40°C
•Avoid contact with water.
Shock
•Do not expose the scanner to strong impact, do not throw or drop the box from great heights.
•Do not present mechanical shocks to the product.
•Do not leave the bar code data collector in an area where static charge is accumulated or near devices where
electromagnetic emission is generated.
Maintenance
•There are no user-serviceable parts inside the scanner. So do not try to take it apart.
•In case of serious malfunction, please consult your local dealer or Opticon.
Recycling & Disposal instructions
•The icon on the product or package indicates that the product should not be thrown in the home waste bin.
The product must be recycled as an electronic product. For proper treatment of end-of-life products consult the
section for Environmental care on www.opticon.com.

6
-
Opticon Ethernet Converter
2 Getting Started
2.1 Connecting the cables and power supply
2.1.1
Power supply
Insert the included 6.0V power supply in the power connector. If the converter box is powered the orange power
indicator will be on and the green 'run' LED will be blinking.
2.1.2
RS232 Cable
If you want to connect an Opticon Handheld terminal or a barcode reader to the Opticon Ethernet Converter you
can use the standard RS232 cable that was included with your Opticon terminal or barcode reader.
Note:
If you want to replace an existing Internet solution, with analog or GSM modems, by the Opticon Ethernet
converter, it is possible that you'll need to add/remove a Null-modem to/from the cable that's currently
connected to the modem or replace the current cable by a standard RS232 cable.
2.1.3
Ethernet cable
Connect an Ethernet cable between your local network and the Ethernet Converter box. If an Ethernet signal is
detected, the orange (link) LED on the connector will be turned on. If any data is received, the green (data) LED
on the connector will blink.
3 Configuration of the Ethernet Converter box
Two different kinds of settings can be configured in the Ethernet Converter
Serial settings Changing the baud rate (default is 115200bps)
Network settings Configuring the local IP, DNS servers, Gateway, Subnet mask and DHCP
If the Ethernet network has a DHCP server (DHCP is enabled by default) configuration is often not even
necessary since all required network settings and local IP-address are all received automatically.
If the Ethernet network does not have a DHCP server, you will have to disable DHCP and set the local IP, DNS
servers, Gateway and Subnet mask manually.
In total there are 3 different methods to configure the Ethernet Converter. All 3 will be described on the following
pages.

Opticon Ethernet Converter - 7
3.1 Method 1: Using the System menu via RS232
Connect your Ethernet Converter box to the serial port of a PC or Laptop and open an RS232 monitor (i.e.
Hyperterminal or Appload) using the following serial settings:
115200 baud (8 data bits, no parity, 1 stop bit)
Enter the system menu by powering up the Ethernet box with the set-up button pressed. After that, the following
menu will be shown:
1: Show current settings
2: Set Board Host Name
3: Set default IP address
4: Set default gateway address
5: Set default subnet mask
6: Set default Primary DNS server addr.
7: Set default Secondary DNS server addr.
8: Enable DHCP
9: Disable DHCP
A: Set default serial-over-TCP port
B: Set default serial-over-UDP port
C: Enable Remote Configuration (by HTTP)
D: Disable Remote Configuration (by HTTP)
E: Set Barcode reader Mode
F: Set default remote IP addr.
0: Save & Quit
Enter a menu choice (1-0):
While being in the system menu, pressing the corresponding key will give the following results:
1: Show current settings
Settings of the RS232-to-Ethernet Converter Box
Version: HACV0200
Board name: OSE_ETHERNETBOX
MAC Address: 00-12-6A-00-00-02
Local IP Address: 169.254.254.254
Gateway Address: 169.254.254.1
Subnet mask: 255.255.0.0
Primary DNS server address: 169.254.254.2
Secondary DNS server address: 169.254.254.3
DHCP: Enabled
Baud rate: 115200
Default serial-over-TCP port: 31313
Default serial-over-UDP port: 31314
Remote configuration: Disabled
Barcode reader Mode: Disabled
Default remote IP address: 0.0.0.0
IP addresses shown in the overview above are the default IP-addresses. When using DHCP these addresses will be
overruled by the received addresses from the DHCP server, but be aware that the DHCP protocol is not yet
executed while still being in this system menu).
2: Change Board Host Name
Host Name (OSE_ETHERNETBOX): <enter new host name>
3: Set default IP address
Default IP Address (169.254.254.254): <enter IP address>
4: Set default gateway address
Default Gateway Address (169.254.254.1): <enter IP address>
5: Set default subnet mask
Default Subnet Mask (255.255.0.0): <enter IP mask>
6: Set default Primary DNS server address

8
-
Opticon Ethernet Converter
Primary DNS Server Address
(169.169.169.2): <enter IP address>
7: Set default Secondary DNS server address
Secondary DNS Server Address
(169.169.169.3): <enter IP address>
8: Enable DHCP
DHCP Enabled
9: Disable DHCP
DHCP Disabled
A: Set default serial-over-TCP port
Default serial-over-TCP port: <enter port number>
B: Set default serial-over-UDP port
Default serial-over-UDP port: <enter port number>
C: Enable Remote configuration (by HTTP)
Remote configuration Enabled
D: Disable Remote configuration (by HTTP)
Remote configuration Disabled
E: Set Barcode reader Mode
Barcode reader mode (0=Off; 1=Client; 2=Server): <enter 0,1 or 2>
F: Set default remote IP addr.
Default remote IP Address (0.0.0.0):
<enter remote IP address>
0: Save & Quit
Now running application...
Pressing of set-up button for 4 seconds
All settings have been restored to default. Press '0' to cancel, remove power to confirm.

Opticon Ethernet Converter - 9
3.2 Method 2: Using AT-commands via RS232
It is also possible to configure the Ethernet box by sending modem (AT-)commands via RS232. You can send
these commands manually via an RS232 monitor (i.e. Hyperterminal or Appload) or for a quicker setup you can
also connect an (RS232) barcode reader and scan configuration barcodes.
The following AT-commands can be send to configure the Ethernet box.
Option Command Example + barcode
Default host name AT+NAME<string 1-16>
Default IP-address AT+IP<address>
Default Gateway IP AT+GATE<address>
Default DNS servers IP
Note: configures both the
primary and secondary DNS
server
AT+DNS<address>
Default Primary DNS
servers IP AT+PDNS<address>
Default Secondary DNS
servers IP AT+SDNS<address>
Default subnet IP mask AT+MASK<address>
Disable/enable DHCP AT+DHCP<boolean>
Baud rate AT+BAUD<baud rate>
Remote configuration
(by HTTP)
(See Chapter 2.2.2)
AT+RCONF<boolean>
(0: disabled, 1: enabled)

10
-
Opticon Ethernet Converter
Default serial-over-TCP
port number
(See Chapter 2.2.4)
AT+TCPP<port number>
(Range: 0 – 32768)
Default serial-over-UDP
port number
(See Chapter 2.2.4)
AT+UDPP<port number>
(Range: 0 – 32768)
Barcode reader mode
(See Chapter 2.2.5)
AT+BCRM<0, 1 or 2>
0: Disabled
1: Client mode
2: Server mode
Default remote IP addr.
(for a serial-over-Ethernet
connection)
(See Chapter 2.2.5)
AT+RMIP<IP address>
Important notes:
All commands must be terminated with a carriage return <CR>
Make sure you send the commands at the correct baud rate (default is 115200bps)
To review the current settings use the following command: AT?
If a command is accepted the Ethernet box will respond with <CR><LF>OK<CR><LF>
If a command is not accepted the Ethernet box will respond with <CR><LF>ERROR<CR><LF>
If a command is unknown the Ethernet box will respond with <CR><LF>OK<CR><LF> (for compatibility
reasons).
If the Ethernet box does not respond anymore due to an incorrectly configured baud rate, then it's still
possible to reset the Ethernet box or change the baud rate using Method 1.
Tabla de contenidos
















