Modbus Data Provider for Automation Researcher Using C#
-
Published:2023-07-19
Issue:
Volume:
Page:1-7
-
ISSN:2581-6942
-
Container-title:International Journal of Case Studies in Business, IT, and Education
-
language:en
-
Short-container-title:IJCSBE
Author:
Chakraborty Sudip1, Aithal P. S.2
Affiliation:
1. D.Sc. Researcher, Institute of Computer Science and Information Sciences, Srinivas University, Mangalore-575 001, India 2. Vice Chancellor, Srinivas University, Mangalore, India
Abstract
Purpose: Modbus is a popular protocol for data exchange between devices in industrial automation. It has several advantages over other protocols, like noise immunity, long-distance coverage, and easy integration with the microcontroller's serial module. Sometimes we need a device that provides data for our research work. Here we demonstrate a procedure so researchers can create a virtual Modbus client to get Modbus data for their research work. We created a Modbus client in C# language In Visual Studio. We added a couple of modules, Like the Modbus client, serial module, and message display. We added a couple of graphical user interface elements to control the application. The project code is available on GitHub. The researcher can get and customize according to their needs.
Design/Methodology/Approach: We created an application in C#. The application has several modules. The main module is the Modbus client. The external device is connected through USB to RS485 converter. When our application starts, the COM object is created. One timer is also started. Its interval is one millisecond. It checks whether the data is reached or not. Once the serial object receives the data, the packet is passed to that Modbus client. The Modbus client starts parsing the received packet. If the packet is OK, then, Extract the command. According to the received command, it created a response packet and added the data of the requested register. Calculate the CRC and add it at the end of the packet. After preparing the packet, send a response back to the master.
Findings/Result: Sometimes, the automation researcher does not have the device to provide the research data. Through this research work, we provide a procedure so the researcher can create a virtual Modbus client to provide the data for their research work. So it can be helpful to the researcher to get the data using their working system. We tested it several times with the baud rate of 9600. It is working perfectly without any issues. Researchers can use it for their research work as a software tool.
Originality/Value: Several software programs are available to provide the data over the Modbus. Sometimes we need to customize the software according to our requirements. Most of the software is not open source, so here we provide an application so that researchers can optimize and customize the code for their research work so it can provide them with some valuable resources.
Paper Type: Experimental-based Research.
Publisher
Srinivas University
Reference10 articles.
1. Herath, H. M., Ariyathunge, S. V.., & Priyankara, H. D. (2020). Development of a data acquisition and monitoring system based on MODBUS RTU communication protocol. Development, 5(6), 433-440. 2. Tofani, K. M., Permana, P. A., Harsono, B. A., Jintaka, D. R., & Mangunnkusumo, K. H. (2020, October). SCADA system implementation for small system electricity. In 2020 2nd International Conference on Industrial Electrical and Electronics (ICIEE) (pp. 57-61). IEEE. 3. Bajer, M. (2014). Dataflow in modern industrial automation systems. Theory and practice. Int. J. Appl. Control Electr. Electron. Eng, 2(4), 01-11. 4. Ungurean, I., Gaitan, N. C., & Gaitan, V. G. (2016). A Middleware-Based Architecture for the Industrial Internet of Things. KSII Transactions on Internet & Information Systems, 10(7), 2874-2891. 5. Phuyal, S., Bista, D., Izykowski, J., & Bista, R. (2020). Design and implementation of a cost-efficient SCADA system for industrial automation. International Journal of Engineering and Manufacturing, 10(2), 15-28.
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Go Green: ReUse LED Tube Light and Make it WhatsApp Enabled Using ESP Module, Twilio, and ThingESP;International Journal of Case Studies in Business, IT, and Education;2024-05-17 2. WhatsApp Based Notification on Low Battery Water Level Using ESP Module and TextMeBOT;International Journal of Case Studies in Business, IT, and Education;2024-03-19 3. Autonomous Fever Monitoring System For Child Using Arduino, ESP8266, WordPress, C# And Alexa;International Journal of Case Studies in Business, IT, and Education;2024-02-26 4. Let Us Build a MQTT Pub-Sub Client In C# For IoT Research;International Journal of Management, Technology, and Social Sciences;2024-02-02 5. Communication Channels Review For ESP Module Using Arduino IDE And NodeMCU;International Journal of Applied Engineering and Management Letters;2024-01-25
|
|