Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device
The primary function of a distributed bus is to connect sensors, actuators, and control units that are used for an acquisition process. Application domains, such as industrial monitoring and control systems, manufacturing processes, or building automation, present different requirements that are not...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2022-12-01
|
Series: | Mathematics |
Subjects: | |
Online Access: | https://www.mdpi.com/2227-7390/10/24/4686 |
_version_ | 1797456452317609984 |
---|---|
author | Ionel Zagan Vasile Gheorghiță Găitan |
author_facet | Ionel Zagan Vasile Gheorghiță Găitan |
author_sort | Ionel Zagan |
collection | DOAJ |
description | The primary function of a distributed bus is to connect sensors, actuators, and control units that are used for an acquisition process. Application domains, such as industrial monitoring and control systems, manufacturing processes, or building automation, present different requirements that are not exactly invariable and coherent. Updating data from Modbus-type devices involves updating data through a technique called polling, which involves repeatedly scanning the registers from each device. This paper highlights the performance of Modbus communication, considering scenarios in which distributed devices are integrated and accessed registers are or are not at consecutive addresses. The Modbus protocol allows reading one or more holding-type data registers. If the registers are not at consecutive addresses, multiple requests are required, with implications for the real-time characteristics of the data acquisition system. We studied the data update times within the SMARTConvert application when variable numbers of registers are accessed, and we designed an extension for the Modbus protocol. The major reason Modbus is used in current research is that no assumptions are required about application semantics, and the performance/resource ratio for generic services is excellent. |
first_indexed | 2024-03-09T16:08:02Z |
format | Article |
id | doaj.art-4f4339483337470cad165f998fea014f |
institution | Directory Open Access Journal |
issn | 2227-7390 |
language | English |
last_indexed | 2024-03-09T16:08:02Z |
publishDate | 2022-12-01 |
publisher | MDPI AG |
record_format | Article |
series | Mathematics |
spelling | doaj.art-4f4339483337470cad165f998fea014f2023-11-24T16:28:00ZengMDPI AGMathematics2227-73902022-12-011024468610.3390/math10244686Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded DeviceIonel Zagan0Vasile Gheorghiță Găitan1Faculty of Electrical Engineering and Computer Science, Stefan Cel Mare University, 720229 Suceava, RomaniaFaculty of Electrical Engineering and Computer Science, Stefan Cel Mare University, 720229 Suceava, RomaniaThe primary function of a distributed bus is to connect sensors, actuators, and control units that are used for an acquisition process. Application domains, such as industrial monitoring and control systems, manufacturing processes, or building automation, present different requirements that are not exactly invariable and coherent. Updating data from Modbus-type devices involves updating data through a technique called polling, which involves repeatedly scanning the registers from each device. This paper highlights the performance of Modbus communication, considering scenarios in which distributed devices are integrated and accessed registers are or are not at consecutive addresses. The Modbus protocol allows reading one or more holding-type data registers. If the registers are not at consecutive addresses, multiple requests are required, with implications for the real-time characteristics of the data acquisition system. We studied the data update times within the SMARTConvert application when variable numbers of registers are accessed, and we designed an extension for the Modbus protocol. The major reason Modbus is used in current research is that no assumptions are required about application semantics, and the performance/resource ratio for generic services is excellent.https://www.mdpi.com/2227-7390/10/24/4686Modbusremote terminal unit (RTU)acquisition cycleindustrial Internet of Thingscommunication |
spellingShingle | Ionel Zagan Vasile Gheorghiță Găitan Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device Mathematics Modbus remote terminal unit (RTU) acquisition cycle industrial Internet of Things communication |
title | Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device |
title_full | Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device |
title_fullStr | Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device |
title_full_unstemmed | Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device |
title_short | Enhancing the Modbus Communication Protocol to Minimize Acquisition Times Based on an STM32-Embedded Device |
title_sort | enhancing the modbus communication protocol to minimize acquisition times based on an stm32 embedded device |
topic | Modbus remote terminal unit (RTU) acquisition cycle industrial Internet of Things communication |
url | https://www.mdpi.com/2227-7390/10/24/4686 |
work_keys_str_mv | AT ionelzagan enhancingthemodbuscommunicationprotocoltominimizeacquisitiontimesbasedonanstm32embeddeddevice AT vasilegheorghitagaitan enhancingthemodbuscommunicationprotocoltominimizeacquisitiontimesbasedonanstm32embeddeddevice |