Académique Documents
Professionnel Documents
Culture Documents
Support
Technical Papers
Home
Sitemap
Contact Us
Give Us Feedback
Change Country (USA)
Modbus Guide
MODBUS Guide
This technical paper will answer all your questions on what is MODBUS, how does it work, and where
can I find more information.
1/ What is MODBUS?
MODBUS is a commonly used industrial communications protocol which enables the
exchange of data between process control equipment and computers or HMIs
(Human Machine Interface). It was originally designed for Modicon PLCs
(Programmable Logic Controllers) and has become widely used by many process
control vendors.
(set) a value. The values are ether analogue (numeric) or digital (on/off). The
Master would normally be the PC / HMI running SCADA software which
communicates with each of the slave devices.
The slaves respond by supplying the requested data to the master, or by taking the
action requested. A request to an individual slave will prompt a reply from that
slave back to the master. A broadcast message can be sent to all slaves but no
acknowledgement (reply) is received, as all the slaves would transmit at the same
time, causing errors.
The Modbus protocol establishes the format for the master's query address, a
function code defining the requested action, any data to be sent, and an errorchecking field. If the master request is not a broadcast message, the slave's
response message is also constructed using the Modbus protocol. It 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.
electrically isolated 2-wire RS485 interface. Some of the older instruments can also
be used in 4-wire (RS422 / RS485) mode.
9/ What are RS-232, RS-422 and RS-485 and how are they
different?
These are standards for serial communications that define the wiring, signal levels,
transmission baud rates and parity checking.
RS-232 only allows for one master and one slave and is limited to wiring distances of up
to 15 meters. It is also more sensitive to errors generated by electrical "noise".
RS-422 can address up to 10 slaves using four wires (full duplex) to a maximum wiring
distance capacity of 1200 meters.
RS-485 can address up to 32 slaves using either a two-wire (half duplex) system or
four-wire system (full duplex) to a maximum wiring distance capacity of 1200 meters.
There is no advantage to 4-wire (full duplex) mode when using Modbus as the
protocol defines that only one device can transmit at a time.
Do not confuse the electrical standard (e.g. RS485) with the protocol (e.g. Modbus).
Protocols define how the data is organised while the electrical standards determine
how the data is physically transmitted. There are many different protocols that can
be used on serial RS-232, RS-422 and RS-485 wired systems.
10/ How can I have more than 32 slaves on the RS485 network?
There are RS485 repeaters commercially available. A repeater replaces the 32nd
device and then another 32 devices can be connected bringing the total to 61
slaves. Further repeater/slaves can be connected however the communication speed
should be considered. If the master software allows two serial ports to be used
simultaneously then this may be a better method of expanding the network.
15/ How far away can devices be separated from each other?
On RS485 connections, the maximum distance is 1200 meters without repeaters.
Trackers treat both the two analogue types (A0 to Annn) as the same and the two
logic types as the same (L0 to Lnnn).
There are both read and write functions but some locations may be read only (e.g.
a measured value) or the instrument can be set to write protected mode by the
user during configuration.
Products
Applications
About Us
Support
How To Buy
Distribution Partners
Get In Touch
Contact Us
Locate Distributor
Application Notes
PID Control
Signal Conditioning
Data Acquisition
Tank Contents
Measurement
Data Track, the authority onDigital Panel Meters
Legal Information
Privacy
Approvals
Admin