Elo TouchSystems E222 Manuel utilisateur

Communication adapter
RS485/422 over the Ethernet
ELO E222
User manual

ELO E222ZKE001
2
Table Of Content:
1.0 Introduction............................................................................3
1.1 Application ........................................................................ 3
2.0 How does it works?................................................................4
3.0 Installation..............................................................................4
3.1 Ethernet connection...........................................................4
3.2 RS485/RS422 connection..................................................5
3.3 Power supply.....................................................................6
3.4 Driver installation..............................................................6
3.5 Virtual COM port installation............................................ 7
3.6 Uninstalling the adapter drivers ........................................9
3.7 Virtual Port settings...........................................................9
3.8 Adapter configuration over the web interface................... 9
3.9 Serial Port profiles...........................................................12
3.10 Setting to a RS485 mode...............................................14
4.0 Testing..................................................................................16
5.0 Troubleshooting ...................................................................17
6.0 Ordering info........................................................................ 17
7.0 Technical info.......................................................................18

ELO E222ZKE001
3
1.0 Introduction
Ethernet as a communication medium becomes widely used not only in
commercial domain, but becomes more popular in industry automation
too. A RS485/422 interfaces are intended to connect multiple devices for
distances up to 1600m; RS485 allows half-duplex communication, while
RS422 full-duplex. An adapter E222 allows to integrate the RS485 or
RS422 devices into the Ethernet network thereby bridge long distances.
Bellow described adapter allows to connect RS485/RS422 devices
together over the Ethernet network; it also allows to connect more devices
to a single network gateway (i.e. computer).
1.1 Application
This communication device altogether with supplied software allows
setting up following profiles:
1) Real Port profile. Adapter allows to connect a device with
RS485/422 interface straight to computer via Ethernet protocol
with virtual port application installed on,
2) Serial Bridge profile. Adapter connects two devices with
RS485/422 interfaces like they were connected by cable; it is
technique so called “serial tunneling”
3) TCP socket profile. Configured as TCP client or TCP server,
establishes connection among these devices
4) UDP socket profile. Configured as UDP client or UDP server,
establishes connection among these devices.
5) Custom profile. Experienced user can access all settings both
network and serial interfaces.
2.0 How does it works?
The adapter converts RS485/422 signaling to the Ethernet interface. In
half-duplex mode selected, it can drive the transmitting direction
automatically. RS485/422 interface is presented with DB9M (D-SUB,
Canon, male), whereas Ethernet is lead out via standard Ethernet RJ-45
socket.

ELO E222ZKE001
4
Adapter can operate with half/full duplex with maximal bitrate 230kbps.
The Ethernet layer can communicate with 10 and 100Mbps.
It should be considered, that data stream can be packetized and possible
delayed because of the nature of the Ethernet and its anticollision
mechanism.
3.0 Installation
This chapter describes the adapter E222 installation process. The
process is divided to two sub-processes - software and hardware
installation.
3.1 Ethernet connection
Adapter meets IEEE 802.3 specification and is to be plugged in to the
network with straight UTP cable. When connecting two devices together,
the cross-over cable should be used instead.
For the first time, the adapter is configured to acquire IP address from
DHCP server, so in the network must be such a service to dedicate IP
address (e.g. AP – access point, router...). It can be later changed to the
fixed IP address.

ELO E222ZKE001
5
3.2 RS485/RS422 connection
A DB9M (D-SUB 9 pin Male) connector is wired as shown on Pic. 1.
The brief description of the signal names is given in Tab. 1.
Signal Abbrev. DB9M
Direction Mode
Transmitted Data + Tx+ 2 OUT
Transmitted Data - Tx- 7 OUT
Received Data + RxTx+ 3 IN
Received Data - RxTx- 8 IN
RS422
Data + RxTx+ 3 OUT/IN
Data - RxTx- 8 OUT/IN
RS485
Ground GND 5 - Both
Tab. 1: DB9M Pin description
Tx+
R
x+
/
RxTx+
GND
/
GND
RS485/RS422 connector - front view
Pic. 1
Tx
-
R
x
-
/
RxTx
-

ELO E222ZKE001
6
The operation mode can be selected by DIP-switches located near the
Power connector. Their meaning is shown on the converter's labels, and
on the Pic. 2.
Switch No. 1 switches between RS485 and RS422 mode.
No. 2 enables passive termination of the Rx bus when in
RS422 mode or of the all RS485 bus
No. 3 nad 4 - active terminator when in RS485 mode
No. 5 enables passive termination of the Tx bus @ RS422
mode
Rx and Tx activity is indicated by LED indicators.
3.3 Power supply
The adapter can be powered with DC voltage source (range 9 to 24V)
with DC connector (outer/inner diameter is 5.5/2.1 mm), inner pin should
have positive polarity. The adapter can be powered via DB9M connector
too – positive is pin No.9, negative (ground) is pin No.5. Powered status is
indicated with green LED. The adapter is secured against the polarity
change.
3.4 Driver installation
The adapter's configuration software can operate on computers under
Operation systems both MS Windows and Linux/Unix, but only Windows
software is enclosed. Supported are version from Win98 to Win7.
Unix/Linux software can be downloaded from following address:
Pic.
1: DIP-switch description

ELO E222ZKE001
7
http://www.digi.com/support/productdetl.jsp?pid=2469&osvid=0&s=54&tp=1
A RealPort drivers you can find on supplied CD-ROM in
E220_drivers directory. The drivers can be downloaded from web pages
www.elo.cz too. If virtual COM port on PC is applicable, it is neccessary
to install the RealPort application. In other cases, utilities DigiConf and
DigiWiz would be used instead.
3.5 Virtual COM port installation
When connected to the network, and link device to a PC is required, it is
neccessary to install Virual Port application. Bellow described process is
for Windows XP, for other Windows version the procedure is similar.
1) Start the DigiWiz application on the dedicated computer, which
will guide throuhgt all installation process; computer must be
connected to the network and capable to reach IP address of the
adapter.
2) The „Welcome to the Digi device Setup Wizard” screen will
appear. Click “Next”
3) On the next screen “Discover Device” the adapter with IP and
MAC address should be seen. If not, check power, cabling and
DHCP service, and click “Refresh” then. Check off the adapter
and click “Next”.
4) Window “Configure Network Settings” appears. Leave DHCP or
set fixed IP address,mask and gateway. Click “Next”.

ELO E222ZKE001
8
5) In window “Select scenario” from a scroll menu choose
“RealPort (COM port redirection)”. Click “Next”.
6) In the window “Configure RealPort Settings” (see Pic. 3) choose
“Install Digi RealPort on this computer” and click “Next”.
7) These settings can be verified in following window “Verify
configuration” eventually corrected by clicking “Next”. To
acknowledge, click “Next”
8) On the screen “Save settings” is saved configuration and started
installation of “Serial adapter Digi Connect ME” and “COM
port Digi Connect ME (COMx)”; these device can be found in
Device Manager of the computer.
9) Successful installation ends with screen “Congratulation!” with
report about end of the installation. Click “Finish”, and wizard
ends.
Pic. 2: Installation procedure

ELO E222ZKE001
9
3.6 Uninstalling the adapter drivers
Driver can be uninstalled in Device Manager, caption „Multiport serial
adapter” right click on device “Digi connect Wi-ME”, in menu select
“Uninstall”. After this procedure the devices “Digi connect ME” from
captions “Ports (COM & LPT)”and “Multiport serial adapter”
disappear.
3.7 Virtual Port settings
User can change settings in Device Manager. There should be
“Multiport serial adapter” caption, under the “Digi connect Wi-ME”
device. Select “Properties”, tab “Advanced”, button ”Properties”. Here
user can change a device name, COM port, IP address and port (assign
device with IP address to the COM port; you can list all devices in the
network by clicking “Browse”), enable ciphering.
Caption “Digi Connect Wi-ME (COMx)” allows to change proprietary
communication protocol (speed, parity and so on), but usually it is not
necessary as application overrides these settings.
3.8 Configuring the adapter over the web interface
The adapters network layer (Ethernet) can be configured either with web
browser or by an utility. It can be accessed by a Telnet too. Bellow
described is the web-interface. Notice, that entries may differ version by
version.
1. Start configuration utility DigiConf. Here user can see the
configuration, change settings, start Telnet or web session and
restart the adapter. Double click the device or click “Open web
interface”
or put the interface's IP address straight to the address line of the
web-browser.
2. Fill the name and password (default is: root/dbps).Then
configuration window appears (Pic. 4).

ELO E222ZKE001
10
3. Startup window “Home” offers overview of the settings
and there is link to tutorial too.
4. A ”Network”section contains:
IP Settings – IP address assignment
Network Services Settings – offers some network services
Advanced Network Settings – other settings
Every settings change must be confirmed with “Apply” button.
5. A “Serial Ports” section allows to set up device profile as
described in chapter 3.9. User can choose among RealPort,
TCP/UDP sockets, Serial bridge and others.
6. In a “GPIO” section the setting are not applicable for this
adapter.
7. “Alarms” can be set if either any GPIO inputs state combination
comes or required pattern in serial data flow appears.
8. “System” section stores network ID strings – adapter's name,
administrator contact..
Pic. 3: Configuration window of the LAN interface
Table des matières
Autres manuels Elo TouchSystems Adaptateur



















