Ethernet Box As Client (For Both Lan & Internet); Ethernet Box As Server (For Lan Only) - Opticon ECB-1000 User Manual

Ethernet converter rs232 - ethernet - internet / pc / rs232
Table of Contents

Advertisement

5.4.2.1
Ethernet box as Client (for both LAN & Internet)
If you choose for your Ethernet box + barcode reader to be the client, this means that your Ethernet boxes will
establish a connection with the remote PC and reconnect in case the connection is lost.
To configure your Ethernet box as Client change the 'barcode reader mode' to 1. (See chapter 2.2)
When configured as client the Ethernet box will automatically try to (re)connect when the barcode reader
indicates it has data to send (by using it's RTS line).
To be able to do so, the IP-address of the remote PC as well as a TCP/IP port (default: 31313) at which it will be
listening for data must be configured. How the IP address of the 'remote server' as well as the TCP port number
can be configured is described in chapter 2.2.
The remote PC would have to be configured as server, meaning it would have to open a TCP/IP socket that
listens to configured TCP port number (default: 31313). An example program that can capture data from a
specific TCP/IP port is the 'monitor' of the program ECB Viewer (See chapter 2.2.3).
On the Internet more information can be found how to open a TCP socket and capture its data on a large variety
of platforms and using different programming languages or programs. In addition it's also possible to create a
TCP-to-serial bridge that can convert the received data to a virtual serial port. Multiple applications can be found
on the Internet that can create such a bridge.
5.4.2.2

Ethernet box as Server (for LAN only)

If you choose your Ethernet box + barcode reader to be the server, this implicates that your Ethernet box will
wait and listen for incoming connections from the remote PC. This will take away any hassle from the Ethernet
box related to establishing, maintaining and disconnecting the connection with the remote PC. However, this will
also mean that the remote PC will have to establish the connection itself by opening a TCP/IP socket that
connects to the Ethernet box.
To configure you Ethernet box as Server, change the 'barcode reader
mode' to 2. (See chapter 2)
An example program that can be used to open a TCP/IP socket that
connects to an Ethernet box is Hyperterminal, which is already
installed on most Windows PC's.
Reading the label above can configure your Ethernet box as Client
Reading the label above can configure
your Ethernet box as Server
-
18
Opticon Ethernet Converter

Advertisement

Table of Contents
loading

Table of Contents