Site icon RCR Wireless News

What is Modbus and how is it used in IoT?

IIoT

What is Modbus?

Modbus is a serial communication protocol for use with programmable logic controllers. It is typically used to transmit signals from instrumentation and control devices back to a main controller; or data gathering system, for example a system that measures temperature and humidity and communicates the results to a computer, according to Simply Modbus.

How does it work, and why use it for IoT?

The method is used for transmitting information over serial lines between electronic devices. The device requesting information is called “master” and “slaves” are the devices supplying information. In a standard Modbus network, there is one master and up to 247 slaves, each with a unique slave address from 1 to 247.

According to Intel, communication between a master and a slave occurs in a frame that indicates a function code. The function code identifies the action to perform, such as read a discrete input; read a first-in, first-out queue; or perform a diagnostic function. The slave then responds, based on the function code received, with a response indicated by a set of bytes. Slaves can therefore be intelligent devices or simple devices that represent a single sensor.

Because of this operation, systems based on the protocol are critical parts of the industrial “internet of things” for automation and control, housing valuable information that can be unlocked and used by analytics and enterprise systems.

The protocol is commonly used in IoT as a local interface to manage devices. It is an open protocol that is free for manufacturers to build their equipment into, and is now the most commonly available means of connecting industrial electronic devices, according to Simply Modbus.

Benefits of using Modbus

These are some advantages of using Modbus, as outlined by the Modbus Organization:

Exit mobile version