
www.advantech.com/products
Online Download
6-11
8
5
44
10
9
IPC Chassis
8
7
Video Surveillance
6
Serial Comm. Cards
Device Servers
Display Solutions
3
Panel Computers
2
Fanless Panel PCs
1
Operator Panels
11
Industrial Motherboards
12
Embedded IPCs
13
Mobile Computers
14
IPC Peripherals
15
DAQ
16
Ethernet Switches
Signal Conditioning
17
USB DAQ
18
SBCs and Backplanes
Pre-Configured Systems
Modbus Gateway Solutions
Introduction
Ethernet networks have become increasingly vital for industrial automation applications. Many control devices today do not have an Ethernet port and can only communicate with a
dedicated local PC or control panel. Advantech’s revolutionary network-enabling technology is now allowing control devices with serial ports to connect to the Ethernet and share
networks quickly and cost-effectively. The EKI-1221 and EKI-1222 are network-based, Modbus Gateways for integrating new and existing Modbus/RTU or Modbus/ASCII serial devices
to newer Modbus/TCP networked-based devices. Manufacturers, system integrators, and end users can now take advantages of the EKI-1221 and EKI-1222 to create networked
applications for remote managing and accessing data for control devices that was not possible before.
Modbus Protocol
Originally developed for PLCs in automation and manufacturing control applications, Modbus has become one of the most popular open standard protocols worldwide. When it
comes to planning data communications for open, multi-vendor industrial control systems, Modbus is the first choice of end-users and system integrators alike. Although it is not
the most powerful protocol available, its rare simplicity allows not only rapid implementation, but also remains flexible enough to be applied in virtually all industrial situations. The
communication modes of Modbus include ASCII, RTU or TCP/IP. The EKI-1221 and EKI-1222 are used to support applications such as protocol conversion between serial (Modbus/
ASCII or Modbus/RTU) and networked (Modbus/TCP) Modbus devices or it can be used to bridge Modbus serial devices over Ethernet TCP/IP network.
The Modbus/RTU and Modbus/ASCII protocols define how a “master” device polls one or more “slave” devices to read and write real-time data over RS-232, RS-422, or RS-485
serial data communication.
During Modbus network communications, the protocol determines how each controller will know its device address, recognize a message addressed to it, determine the kind of action to
be taken, and extract any data or other information contained in the message. If a reply is required, the controller will construct the reply message and send it back using Modbus protocol.
The way controllers communicate with each other is by using a master-slave technique, in which only one device (the master) can initiate queries. The other devices (slaves) respond
by supplying the requested data to the master, or by taking the action requested in the query. Typical master device includes host processors and programming panels. Typical slaves
include programmable controllers.
The master can address individual slaves and initiate a broadcast message to all slaves. On the other hand, slaves return a response to queries that are addressed to them individually.
Responses are not returned to broadcast queries from the master.
The Modbus protocol has a definite format for the master’s query, which incorporates the device address, a function code defining the requested action, any data to be sent, and an
error-checking field. The slave’s response message, which is also constructed using Modbus protocol, contains fields confirming the action taken, any data to be returned, and an
error-checking field. If an error occurred in receipt of the message, or if the slave is unable to perform the requested action, the slave will construct an error message and send it as
its response.
Comentarios a estos manuales