Skip to main content

Modbus Communication



Modbus is a serial communications protocol published by Modicon and generally used with PLCs(programmable logic controllers). It has now become a factory standard for communications protocols in industry, and is the most commonly used means of communicating industrial devices.

The main reasons for the extensive use of Modbus over other communications protocols are:

  •  It is open source protocol and it’s free.
  •  It is simple to understand, easy to implement.
  •  It moves raw bits or words without placing many restrictions on vendors

 Modbus allows for serial communication between many third party devices connected to the same network, for e.g. a system that measures temperature and humidity and communicates the results to a computer or number of VFDs communicating to PLC over a single Modbus serial line. 


Modbus is often used to connect a supervisory computer with a remote terminal unit (RTU) in supervisory control and data acquisition (SCADA) systems. Modbus protocol is available for serial and Ethernet ports.


Each device intended to communicate using Modbus is given a unique address. Maximum of 247 stations can be connected on a Modbus network. Maximum length of wire is limited to 1200mtr. Generally Master/slave configuration used for Modbus. 

Any device can send out a Modbus command, although usually only one master device does so. A Modbus command contains the Modbus address of the device it is intended for. Valid range for address is 0 to 247. An address equals to 0 means a broadcast to all devices in the network. Only the intended device will act on the command, even though other devices might receive it. All Modbus commands contain checking information, ensuring that a command arrives undamaged. The basic Modbus commands can instruct an RTU to change a value in one of its registers, as well as commanding the device to send back one or more values contained in its registers.

  
Specification
Modbus
Governing Standard(s)
EN1434-3 ,IEC870-5

Communication Methods
Master/Slave
Communication Speed
9.6 -115.2 kb/s
Max. Data Size
250 bytes (125 register)
Max. Stations
247
Maximum Cable Length
1200 mtr.
For Reference only

Comments

Popular posts from this blog

Digital Fan Regulator Circuit Diagram

This is the project of Digital Fan Regulator Circuit diagram. The circuit presented here can be used to control the speed of  fans using induction motor. The speed control is nonlinear, i.e. in steps. The current step number is displayed on a 7-segment display. Speed can be varied over a wide range because the circuit can alter the voltage applied to the fan motor from 130V to 230V RMS in a maximum of seven steps.  The triac used in the final stage is fired at different angles to get different voltage outputs by applying short-dura-tion current pulses at its gate. For this pur-pose a UJT relax-ation oscillator is used that outputs sawtooth waveform. This waveform is coupled to the gate of the triac through an optocoupler (MOC3011) that has a triac driver output stage.  Pedestal voltage control is used for varying the firing angle of the triac. The power supply for the relaxation oscillator is derived from the rectified mains via 10-kilo-ohm, 10W series dropping/limit-ing...

Using the SG3525 PWM Controller Explanation and Example Circuit Diagram Schematic of Push Pull Converter

PWM is used in all sorts of power control and converter circuits. Some common examples include motor control, DC-DC converters, DC-AC inverters and lamp dimmers. There are numerous PWM controllers available that make the use and application of PWM quite easy. One of the most popular of such controllers is the versatile and ubiquitous SG3525 produced by multiple manufacturers – ST Microelectronics, Fairchild Semiconductors, On Semiconductors, to name a few. SG3525 is used extensively in DC-DC converters, DC-AC inverters, home UPS systems, solar inverters, power supplies, battery chargers and numerous other applications. With proper understanding, you can soon start using SG3525 yourself in such applications or any other application really that demands PWM control. Before going on to the description and application, let’s first take a look at the block diagram and the pin layout. Pins 1 (Inverting Input) and 2 (Non Inverting Input) are the inputs to the on-board error amplifier. If you a...

Automatic Intruder Alarm Circuit Diagram

Description: This is a simple single-zone burglar alarm circuit. Its features include automatic Exit and Entry delays and a timed Bell/Siren Cut-Off. It's designed to be used with the usual types of normally-closed input devices such as - magnetic reed contacts - micro switches - foil tape - and PIRs. But it can be Easily Modified to accept normally-open triggering devices - such as pressure mats. Circuit Diagram   Notes:   It's easy to use. First check that the building is secure and that the green LED is lit. Then move SW1 to the "set" position. The red LED will light. You now have about 30 seconds to leave the building. When you return and open the door - the Buzzer will sound. You then have about 30 seconds to move SW1 to the "off" position. If you fail to do so - the relay will energize and the Siren will sound. While at least one of the switches in the normally-closed loop remains open - the Siren will continue to sound. However, about 15-minutes aft...