0% found this document useful (0 votes)
26 views75 pages

05 - Serial To Ethernet Data Gateway

The document discusses the advantages and functionalities of the Serial to Ethernet Data Gateway, highlighting its ability to upgrade serial connections to Ethernet, which allows for remote access and easier maintenance. It compares Transparent and Universal Gateways, detailing their operating modes such as Polling, Peer-to-Peer, and Event-handling. Additionally, it covers configuration utilities, the architecture of the EDG series, and the benefits of using wireless Ethernet data gateways.

Uploaded by

samee 692
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views75 pages

05 - Serial To Ethernet Data Gateway

The document discusses the advantages and functionalities of the Serial to Ethernet Data Gateway, highlighting its ability to upgrade serial connections to Ethernet, which allows for remote access and easier maintenance. It compares Transparent and Universal Gateways, detailing their operating modes such as Polling, Peer-to-Peer, and Event-handling. Additionally, it covers configuration utilities, the architecture of the EDG series, and the benefits of using wireless Ethernet data gateways.

Uploaded by

samee 692
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 75

Serial to Ethernet Data

Gateway
Agenda
ƒ Why use this module? (The Limitations of Serial
Ports)
ƒ Transparent Gateway v.s. Universal Gateway
ƒ Configuration and Mapping
ƒ Universal Gateway Operating Modes (Polling, Peer-
to-peer, Event-handling)
ƒ Startup of Wireless Ethernet Data Gateway
ƒ Infrastructure and Ad-Hoc mode
ƒ Device Server Applications
ƒ New Serial Device Server
Why use this module?
(The Limitations of Serial Ports)
The Limitations of Serial Ports
- Dedicated connections only
– Typically one PC or host per serial device
- Distance limitations
– RS-232: ~ 15 m
– RS-422/485: ~ 1200 m
- Installation cost
– Separate and dedicated cable per serial device
What if You Could …
ƒ Quickly and easily replace direct serial connections
with an anywhere/anytime network connection

Ethernet

RS-232
Device
Server

RS-232 RS-232
Why EDG Series ? Easy to Use…
Local
PC

Ethernet Data Gateway LAN


upgrades your data Easy to Use
from RS-232/422/485 to - transparent,
remote download
Ethernet. It brings the
advantage of Easy to
Use, cost-effective and Serial
remote internet Access
to devices.

Bar Code Reader PLC Semiconductor ADAM4K5K


Benefits of EDG Series

• Upgrade your system (Data) to Ethernet without


changing existing H/W or S/W

• Control, monitor on-site devices or transfer files to


serial devices via Ethernet

• Easy to maintain and diagnose via Ethernet

• Flexible to set RS-232/422/485 ports for different


applications
Advantech EDG Series Architecture
Transparent Gateway
v.s.
Universal Gateway
Transparent Ethernet Data
Gateway
Transparent Ethernet Data Gateway
ƒ ADAM-4571/70/71W/70W, EDG-4504/4508+/4516+
ƒ PC COM ports extension.
ƒ Customer doesn’t need to modify his software
application.
ƒ It is limited by our driver (EDG port mapping Utility).
(Our driver only support Windows base)

ƒ Auto-reconnection.
Transparent Mode: PC COM ports extension

ƒ Port Mapping software is installed on remote computer.


ƒ Software addresses the remote device as a serial port
ƒ Applications: most any Windows PC-based software application

Host Windows
Computer Legacy Application Software
Windows PC had
installed EDG port Native COM Virtual COM
mapping Utility Port Driver Port
Ethernet

Device
Server

RS-232
Universal Serial Device
Gateway
EDG for Universal O/S, Network

ADAM-4577/4579: 1/2-port Universal Device Networking Gateway

There is not "port" concept. It means no limited port for communication.


ADAM-4577/79 is base on socket procotol which is process on Host PC.
ADAM-4577/79 just convert the signal by PC's request and the reply from
device.

- O/S support (98/2000/NT/XP/linux)


Device Networked System
– Support standard networking API :
WinSock, Socket Ethernet

– Polling, Peer-to-peer, Event-handling


– TCP/IP, UDP protocol support
– Multiple Host Access
(for UDP support) RS-232/422/485
Universal gateway Operating Modes
There are several modes of operation, depending
on application requirements.

The ADAM-4577/79/77W/79W
ƒ Pair Configuration (Peer-to-Peer)
ƒ TCP Server (Polling Mode)
ƒ TCP Client (Event Handling
ƒ Modem emulation (Control mode)
ƒ Modbus gateway (Modbus/TCP to ASCII and RTU)
Configuration and Port Mapping
Configuration Utility-Search

1.Auto-detect
1.Auto-detectall
allADAM-4570/4571/EDG-4504s
ADAM-4570/4571/EDG-4504s
2.Configure
2.Configureall
alldevices
devicesin
inone
onestep
step
Configuration Utility-Find

1.1.Find
Findone
oneADAM-4570
ADAM-4570or orall
allADAM-4570
ADAM-4570or or all
allEDG
EDGseries
series
2.2.When
Whenyou
youselect
selectone,
one,then
thenclick
click“Locate”
“Locate”button.
button.
Then
ThenLEDLEDwill
willturn
turnon
on
3.3.Easy
Easytotofind
findwhere
wherethethedevices
devicesare
are
Configuration Utility --Network
Network

1.Auto-detect
1.Auto-detectSpeed
Speed(10/100M)
(10/100M)&&Duplex
Duplextypes
types
2.2.Key-in
Key-inFixed
FixedIP
IPaddress
address
Configuration Utility-Port

1.Select
1.SelectRS-232,RS-422,RS-485
RS-232,RS-422,RS-485&&PortPort
2.Select
2.Selectthe
thevalues
valuesatatrandom,
random,because
because“Parity,Flow
“Parity,Flowcontrol…”
control…”
will
willchange
changeby
byyour
yourapplication
application
EDG Comport Mapping Utility

ƒ Network enable existing COM-port based software


ƒ For Windows 98/NT/2000/XP
ƒ Supports up to 255 virtual COM ports
ƒ To be used with “transparent” models
(ADAM-4570/4571, etc)
ƒ Included on the product CD
that ships with ADAM-457x
and EDG units
Port Mapping Utility-Port Mapping

1.Assign
1.Assignunused
unusedhost
hostPC’s
PC’sCOMport
COMporttotoEDG’s
EDG’sport
port
2.Select
2.SelectADAM-4570/4571/EDG-4504
ADAM-4570/4571/EDG-4504
Port Mapping Utility-Port Mapping

1.Key-in
1.Key-inIPIPaddress
addressofofspecific
specificdevice
device
2.Select
2.Selectport
port
3.Click
3.Click“Add”
“Add”button
button
Port Mapping Utility-Test

1.Select
1.Selectwhich
whichport
porttotobe
betested
tested
2.Click
2.Click“Test”
“Test”button
button
Port Mapping Utility-Test

Connect
Connectaaloopback
loopbackon
onthe
theport
port
1.Signal
1.Signaltest:
test:
DSRÆ
DSRÆDTR, DSRÆRI,
DTR,DSR DSRÆDCD,
ÆRI,DSR RTSÆCTS
ÆDCD,RTS ÆCTS
2.Communication
2.CommunicationParameter
Parametertest:
test:
Stop/Data
Stop/Databits,
bits,Parity,
Parity,Baud
Baudrate.
rate.
Hands on
Objective : Install a virtual COMport in a Windows PC
Module : ADAM-4571/70, EDG-4504
Testing : Using virtual COMport to get data from a RS-485
device to
Universal Gateway Operating Modes
Mode: Peer-to-Peer
- Connection is initiated by either Device Server
- The IP address of each unit must be specified at
setup time
- Applications: extended serial over LAN/WAN
(Old devices have no RJ-45 interface)

Ethernet

Device Device
Server Server

RS-232 RS-232
How to set in 1st ADAM-4579 ?
ƒ For the first one, Choose prot1, set the com port as ‘DATA’ mode,
‘Listen on TCP Port’ as 5200. Then put the IP of the second ADAM-
4579 and the TCP port number of the com port you want to
communicate with into the ‘Peer for receiving Data’
How to set in 2nd ADAM-4579 ?
ƒ In the second ADAM-4579, you need well define the ‘Port’, and ‘Listen
on TCP port. However, for ‘Peer for Receiving Date’, we need to map it
to the first ADAM-4579
How to wiring ?
How to test
Step1 : After completing the Peer-to-peer Settings of two ADAM-4577
modules, you could open two Hyper-Terminal on both PCs.
Step2 : If you edit some characters on PC1's Hyper-Terminal , then
the PC2's Hyper-Terminal can get the same result.
Hand on
Objective : Utilize Peer-to-peer mode to send data to each
other
Module : ADAM-4579
Step : 1. Wiring
2. Configuration for Peer-to-peer Mode
3. Using HyperTerminal to send/receive data
Mode: Polling

ƒ In this mode, user can poll the RS-232 device from PC


actively through ADAM-4579.
ƒ Applications: some OPC servers & IP-aware software

Host
Computer

Ethernet

Device
Server

RS-232
How to set in polling mode?
ƒ Since in ‘Polling mode’ the network socket is controlled by PC,
the RS-232 on ADAM-4579 is used to pass data, so please
choose ‘Data’ mode for the serial port.
ƒ Since the TCP Port setting here is 5200, then the TCP port of
serial port1 is ‘5201’.
Set COMport as RS-232
ƒ Set the serial ports on the ADAM-4579. Since we are going to use the loop-back
function to test the polling mode, make sure you are choosing RS-232 mode
here.
Run “Polling” example
ƒ Connect a loop back connector on the port1 of ADAM-4579.
ƒ Please found the polling example in following
folder: ’ ..\Program_Files\Advantech\EDG Serial\Download and
Test Utility\Examples\Vc\Polling\Release\polling’. Executing
the ‘.exe’ file, it will send a string ‘123456789’ to the port1 of
ADAM-4579 and get it back. You can see the result on the
screen:
Mode: Event Handling
ƒ In this mode, you can connect the network socket form the PC
side and then the ADAM-4579 will transmit all the data received
form com port to the PC
ƒ Applications: barcode/RFID scanner, GPS receiver, etc.

Host
Computer

Ethernet

Device
Server

RS-232
How to set in Event-Handling mode?
ƒ Set the ‘Peer for Receiving Data’. If you want the ADAM-4579 to work as event
mode, it is necessary to set this option. Since the ADAM-4579 will
automatically connect to the host, you need to assign the IP and the TCP port
of the host PC here.
ƒ The TCP port ‘5301’ here is to match the TCP port which was declared in
program which is waiting for the ADAM-4579’s connection.
Run “Event” example
ƒ Run the following example: ‘..\Program Files\Advantech\EDG
Serial\Download and Test
Utility\Examples\Vc\Event\Release\Event.exe’. If you see the black
screen, that means the PC is now stand-by, and ready for the data
Mode: Controlling
.In controlling mode, the ADAM-4579 presents a modem
interface to the attached serial device: it accepts AT-style Serial line
modem commands to connect / disconnect to other LAN cable
networking device.
Connection 1
Connection 2

#3 Adam-4579

#1 Adam-4579 #2 Adam-4579 #3 Adam-4579

Adam-5510 Adam-5510 Adam-5510


How to set in Controlling mode?
ƒ Set the com port on the ADAM-4579 as ‘control’ mode. Please notice
that the ‘Peer for Receiving Data’ has became gray.
ƒ If you want to disconnect the network socket, you can send the
command ‘+++’ to achieve it.
How to test ?
ƒ Connect the Host PC to the com port1 on the ADAM-4579. Use
terminal emulation program, like TTY, to send the AT
command: ’ATDT172.18.1.75:5000\r’, where the ‘172.18.1.75’ is
the IP of the slave PC that tell the ADAM-4579 which device we
want to connect. The following ‘5000’ means the TCP port
used in the Slave PC.

ƒ If the connection is successful, you will get the reply:


‘\n\rCONNECT\n\r’. If not, you will get ‘\n\rFAIL\n\r’, and you
can try again by resending the command.
Mode: Modbus Gateway (ADAM-4572)

ƒ The Device Server converts Modbus/TCP on Ethernet


to serial RS-232/485 Modbus RTU or ASCII
ƒ Applications: SCADA, HMI, legacy Modbus integration
Host
Computer
Modbus/TCP

Ethernet

Device
Server
Modbus ACSII/RTU
Note: 8 devices max. RS-232/422/485
Startup of Wireless Ethernet Data
Gateway
Features

ƒ Supports 802.11b standard - is the most widespread


wireless LAN standard. (other newer standards such as
802.11a and 802.11g)
ƒ Supports Wireless LAN Ad-Hoc and Infrastructure modes
ƒ Auto-reconnection
ƒ Remote download of firmware
ƒ Easily-managed Port Mapping Utility
ƒ Supports Windows 98/NT/2000/XP driver
ƒ Surge protection for RS-485 line and power supply
ƒ Automatic RS-485 data flow control
Specifications

ƒ Protocol: TCP/IP
ƒ Network: 802.11b/g
ƒ Ports: ADAM-4571W: 1 RS-232/422/485 port
ƒ ADAM-4570W: 2 independent RS-232/422/485 ports
ƒ Connector: Serial: RJ-48 (RJ-48 to DB9 male cable
provided)
ƒ Transmission Speeds: 50 bps ~ 230 kbps (Baud rate)
ƒ Parity Bits: Odd, even, none, space, mark
ƒ Data Bits: 5, 6, 7, 8
ƒ Stop Bits: 1, 1.5, 2
ƒ Diagnostic LEDs: WLAN (Active, Quality), Serial (TX/RX)
and System (Status, Power)
ƒ Surge Protection: 15 kVESD
Infrastructure and Ad-Hoc mode
No more wiring for Ethernet Connection
- Two different wireless mode for option: Infrastructure mode (Basic
Service Set)/Ad hoc mode
- Easy for extending new devices

Router Ethernet
Internet

Access Point
BSS
(Basic Service Set)

RS-232 RS-422/485

Bar code Electronic


Reader Scales ADAM-5000
1 to 1 Diagnose & Configure without
Wiring
- wireless mode for option: AD-hoc mode
- Wireless communication without AP
- Simple to setup and debug

Wireless
Communication

RS-422/485 BSS
Lap Top

PLC HMI
Device Server Apps: OEM Telematics
Fleet management via local 802.11b wireless

Host
Computer
802.11b
Access Point

Ethernet
ADAM-4571W
Wireless Device Server
Benefits
• Rapid Time to Market – Quickly add wireless
access to any device with a serial port
• Time Savings – replace manual record keeping
keeping (fares, mileage, etc.) with automatic
download on returning to the depot
• Reduced Cost – optimize maintenance with
better access to vehicle performance data
Diagnostic Mode of Default Setting

Examination:
How to change the two
mode via SWITCH?
Configuration Utility-Network
ƒ General tab(1) – TCP/IP for Wireless module

1.1. Key-in
Key-inFixed
FixedIP
IPaddress
address
2.
2. Had
Hadconnected
connectedAP AP
Port Mapping Utility-Port Mapping

1.Assign
1.Assignunused
unusedhost
hostPC’s
PC’sCOMport
COMporttotoADAM-
ADAM-
4571W’s
4571W’sport
port
2.Select
2.SelectADAM-4570W/4571W
ADAM-4570W/4571W
Hands On
ƒ Try to use Infrastructure mode to communicate with
each other by using Hyper Terminal.
The Serial Device Server Configuration
Utility
Serial Device Server Configuration Utility

ƒ Supports all ADAM, EDG, and EKI Serial device


server products (Excepts ADAM-457xS)
ƒ Combines the functionalities of EDG Configuration
Utiltiy and COMPort Mapping Utility
ƒ Capable of search for the modules located in
different domain
Serial Device Server Configuration Utility
Serial Device Server Configuration Utility
Serial Device Server Configuration Utility
Serial Device Server Configuration Utility
Device Server Applications
Device Server Apps: Manufacturing
Remote PLC programming/diagnostics

Host Computer
with COM Port
Redirection

Ethernet

Benefits
• Time Savings – remote access from
your desktop or laptop (via VPN) ADAM-4571
• Increased Flexibility – access any Device Server

device from any desktop/laptop RS-232


• Reduced Cost – leverage existing IP
LAN/WAN infrastructure instead of
installing dedicated cabling
Device Server Apps: SCADA
Replace leased-line modems with an IP network

SCADA
System

Ethernet (Modbus/TCP)

Benefits
• Reduced Cost – replace costly ADAM-4572
dedicated leased-line modems Modbus Gateway

• Improved Performance – increase


Modbus RTU RS-485
update rates by replacing slow analog
connections with 100Mbps Ethernet
• More Flexibility – RTUs are available
from any device with IP access RTU #1 RTU #2 RTU #n
Device Server Apps: OEM Machine Mfgr.
HMI to remote machine controllers

HMI with
COM Port
Redirection

Ethernet

Section #1 Section #2
Benefits
• Reduced Cost – replace
dedicated serial cables
with no HMI changes
• Increased Flexibility – ADAM-4571 ADAM-4571
RS-232
Device Server RS-232
Device Server
position HMI for optimum
usage, and tie controls
together with Ethernet
Device Server Apps: OEM Display Mfgr.
Network enable serial-based information displays

Host Computer
with COM Port
Redirection

Ethernet

Benefits
• Increased Revenue – incremental
sales opportunity to extend the ADAM-4571
product line with add-on functionality Device Server

• Rapid Time to Market – no product RS-232


redesign required and immediate
integration with existing software
Device Server Benefits
Remotely monitor, manage and control serial-based
devices over IP networks …
ƒ Increased Flexibility – break the 1-host to 1-device
constraint with network-enabled devices, and gain
anywhere/anytime access
ƒ Save Time – quickly and easily connect to remote
devices wherever there is network access
ƒ Cost Savings – leverage existing IP-based LAN/WAN
infrastructure, eliminating the need to install dedicated
cabling and related maintenance
Overview: Device Servers
„ ADAM-4571W „ ADAM-4570W

Wireless
802.11b

„ ADAM-4571 (RS-232/422/485) „ ADAM-4570 (RS-232/422/485)


„ ADAM-4571S (Secure) „ ADAM-4570S (Secure)
Wired „ ADAM-4571L (RS-232) „ ADAM-4570L (RS-232)
„ ADAM-4577 (Universal) „ ADAM-4579 (Universal)
Ethernet „ ADAM-4572 (Modbus) „ EDG-4504 „ EDG-4508+ „ EDG-4516+
10/100M (RS-232/422/485) „ EDG-4508R+ „ EDG-4516R+
(RS-232/422/485) (RS-232/422/485)

1 Port 2 Port 4 Port 8 Port 16 Port


New Serial Device Server
New EKI-152x Dual-LAN Device Servers
ƒ Configurations: 1, 2 and 4 ports
ƒ Everything customers have asked for
9 New EKI thin-DIN form-factor
9 Combined VCom and TCP/UDP operation
9 DB9 serial ports
9 Web browser based setup coming in Q2
ƒ Rugged and familiar EKI-2xxx chassis and specs
ƒ Dual LAN ports with redundant COMport redirector
ƒ Multiple simultaneous host connections (4)
ƒ Multihost operation (up to 16 hosts)
ƒ Ultra-fast throughput of under 10ms
Overview: EKI Device Servers
EKI-1521M / EKI-1522M EKI-1524M
Modbus Gateway Modbus Gateway

Wired Dual 10/100 Ethernet Dual 10/100 Ethernet


Modbus 1x / 2x RS- 4x RS-232/422/485
232/422/485 Modbus/TCP -> ASCII/RTU
Gateway Modbus/TCP ->
(Not ASCII/RTU
Released Yet)
EKI-1521 / EKI-1522 EKI-1524

Wired
Device Dual 10/100 Ethernet Dual 10/100 Ethernet
Servers 1x / 2x RS-232/422/485 4x RS-232/422/485
VCOM & TCP/UDP VCOM & TCP/UDP

EKI-1351 / EKI-1352 EKI-1546 / EKI-1548 (Not Released Yet)


Wireless
Device
802.11b/g
Servers 1x / 2x RS- 4 x 10/100 Ethernet
232/422/485 8x / 16x RS-232/422/485
VCOM & TCP/UDP

1 Port 2 Port 4 Port 8 Port 16 Port


Why EKI?
Competitors: Device Servers
Comtrol Perle Systems
Minneapolis , MN Nashville, TN

Digi International Precidia Technologies


Minnetonka ,MN Ontario, Canada

FieldServer Technologies Prosoft Technology


Milpitas, CA Bakersfield, CA

Korenix (Ethernet Direct) Quatech


Taipei, Taiwan Hudson, OH

Lantronix, Inc. Sealevel Systems


Irvine, CA Liberty, SC

Moxa Group Sixnet


Taipei, Taiwan Clifton Park, NY
Q&A
Thanks~~~

You might also like