Publication: Modbus tcpip implementation on raspberry PI
Loading...
Date
2024
Authors
Ho, Yong Yi
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Integrated Building Management Systems (iBMS) rely on efficient data retrieval and processing from Input/Output (I/O) devices for real-time environmental
control through IoT systems. iBMS unifies subsystems like HVAC, lighting, and security. MODBUS Transmission Control Protocol/Internet Protocol (TCP/IP),
established by Modicon, is commonly used in industrial control systems for its simplicity and support for TCP/IP layers, functioning on a client-server architecture.
A coil in the MODBUS protocol is defined as data storage that accommodates data. Current iBMS need a server system capable of seamlessly managing multiple clients for smooth data retrieval and responsiveness. The server must process data from diverse hardware using protocols like GPIO, handling Boolean, integer, and decimal data types. This research designs a modular MODBUS server system with plug-and play functionality and customizable I/O device coil onfigurations. Deployed on a Raspberry Pi using Node.js, it integrates with existing systems, including a web server that enables users to customize and display coil configurations stored in a MongoDB database. Local I/O devices, like LEDs and DHT22 sensors, connect to the Raspberry Pi, joining the IoT ecosystem. Tests showed it can handle 110 MODBUS clients concurrently in 3 minutes due to software limitation, with average CPU usage of 9.5% with browser activity and 9.2% without. The web server interface displayed error messages for issues such as missing parameters and overlapping configurations. The successful deployment of this Raspberry Pi-based MODBUS system using Node.js offers a cost-effective, user-configurable solution for iBMS