Vous êtes sur la page 1sur 1

WHITE PAPER

MODBUS OVERVIEW
Modbus is one of the most popular protocols used in the Modbus TCP
industrial world. Supporting traditional serial protocols Modbus/TCP is a much more recent development, created
of RS232/422/485 and Ethernet protocols allow industrial to allow Modbus ASCII/RTU protocols to be carried over TCP/
devices such a PLCs, HMIs and meters to use Modbus as their IP-based networks. Modbus/TCP embeds Modbus messages
communication method. When communicating with Modbus inside TCP/IP frames. Although the implementation is fairly
via serial and Ethernet networks, a communication gateway simple, characteristics associated with networking add some
is a necessity. Modbus serial servers from B+B SmartWorx challenges. For example, because Modbus masters expect and
enable smooth connectivity by translating Modbus/TCP to require responses to their polls within a certain time frame, the
Modbus/ASCII/RTU protocols. This allows devices such as non-deterministic (and other) aspects of TCP/IP networks have
PLCs to communicate to devices such as sensors, meters and to be considered.
instruments.
Modbus/TCP sets up connections between nodes on the
Modbus ASCII/RTU network, sending requests via TCP in a half-duplex fashion. TCP
The Modbus protocol emerged in the mid-1970s as an early allows multiple requests to be ‘pipelined’ or queued in a buffer
protocol for linking terminals with Modicon PLCs using a waiting to be serviced. Modbus/TCP has the capability to use
master/slave (sometimes called a “master/client”) relationship. transaction identifiers (sequence numbers), but some early
A simple, open, message-based protocol, it caught on quickly manufacturers of Modbus/TCP equipment did not use them.
and became a defacto standard in the industry. It supports
asynchronous point-to-point and multi-drop communications In some cases, this can create problems for Modbus/RTU devices
and can be used with a variety of serial interfaces (RS-232, RS- connected to the network through interfaces. If a request from
422, RS-485, modems, etc). a master is lost, or contains an improper function code, the
slave does not respond. The master may re-initiate the request,
The original Modbus specification included two possible or there may be other requests in the pipeline. Responses to
transmission modes: ASCII and RTU. Modbus RTU mode is the later or other requests may become out of sync and the master
most common implementation, using binary coding and CRC may match the wrong response with a request. The resulting
error-checking. Modbus ASCII messages (though somewhat symptoms could range from appearing to receive wrong data
more readable because they use ASCII characters) are less from a slave, to slaves going off-line, to a gradually slowing
efficient and use less effective LRC error checking. ASCII mode down of response time.
uses ASCII characters to begin and end messages whereas RTU
uses time gaps (3.5 character times) of silence for framing. The
two modes are incompatible, so a device configured for ASCII
mode cannot communicate with one using RTU.

Worldwide Headquarters Corporate Headquarters Cellular Product Group OEM & Product Modification
ADVANTECH 707 Dayton Road Sokolská 71, 562 04 Ústí nad Orlicí Ill. Phone: 815-433-5222
No.1, Alley20, Lane26, Rueiguang Road Ottawa, IL 61350 USA Czech Republic Fax: 815-433-5104
Neihu District, Taipei 11491 Phone: 1-815-433-5100 Phone: +420 465 524 421 Attn: Custom Dept.
Taiwan, R.O.C Fax: 1-815-433-5109 cellular.info@advantech-bb.cz custom@advantech-bb.com
Phone: 0800-777-111 orders@advantech-bb.com Custom Quote Request Form:
www.advantech.com www.advantech-bb.com http://advantech-bb.com/custom

European Headquarters
Oranmore, Co. Galway, Ireland
Middle East, UAE, Africa
mdeast-afrsales@advantech-bb.com
Latin America, Caribbean
latamsales@advantech-bb.com
advantech-bb.com
Phone: +353 91 792444 Mobile: +971 50 943 65 62 Phone: 1-727-797-0300 © B+B Smartworx, Inc
Fax: +353 91 792445 AG Silver Tower, JLT, P.O. Box 48777 Cell: 1-727-480-5920 All rights reserved.
eSales@advantech-bb.com Dubai, UAE ModbusOverview_3917wp14

Vous aimerez peut-être aussi