Today, we will conduct a practical test to see how fast the communication speed is when implementing Modbus TCP communication with different brands of PLCs or boards.
Testing Interface
We used our self-developed communication library for testing. Different communication libraries may have slight differences, and the test results are for reference only and do not target specific products or manufacturers.
Below is our PLC platform, from which we selected several commonly used PLCs that support the Modbus TCP communication protocol for testing.

The design interface of the testing software is shown below:

The default port number for Modbus TCP is 502, so the only difference between devices is the IP address. To ensure data accuracy, we used a loop reading method, looping three sets, with each set reading continuously 10,000 times, observing the total time taken.
At the same time, the storage area we read is the same, reading 100 registers starting from area 4.
Siemens 200 Smart
For the Siemens 200 Smart PLC, we used the CPU ST40. As we all know, to support Modbus TCP communication with Siemens PLCs, a bit of PLC programming is required, as shown in the figure below:

The test results are shown below:

Siemens 1200
For the Siemens 1200 PLC, we used the CPU 1215C DC/DC/DC. The Siemens 1200 also requires a bit of PLC programming, as shown in the figure below:

The test results are shown below:

Siemens 1500
For the Siemens 1500 PLC, we used the CPU 1511-1 PN. The Siemens 1500 also requires a bit of PLC programming, as shown in the figure below:

The test results are shown below:

Mitsubishi FX5U
For the Mitsubishi FX5U PLC, we used the FX5U-32MT/ES. The Mitsubishi FX5U PLC directly supports Modbus TCP, but configuration is required to add the Modbus TCP connection device in the Ethernet configuration, with the port number set to 502.

The test results are shown below:

Schneider M241
For the Schneider PLC, we used the Schneider M241, which does not require additional PLC programming.
The test results are shown below:

Xinjie XD5E
For the Xinjie PLC, we used the Xinjie XD5E. Domestic PLCs have good support for the Modbus protocol and do not require additional PLC programming.
The test results are shown below:

Delta DVP
For the Delta PLC, we used the Delta DVP-32ES, which does not require additional PLC programming.
The test results are shown below:

Inovance AM600
For the Inovance PLC, we used the Inovance AM600-CPU1608TN, which does not require additional PLC programming.
The test results are shown below:

Inovance H5U
For the Inovance PLC, we used the Inovance H5U, which does not require additional PLC programming.
The test results are shown below:

Inovance EASY
For the Inovance PLC, we used the Inovance EASY521, which does not require additional PLC programming.
The test results are shown below:

Positive Motion Control Card
For the Positive Motion Control Card, we used the ECI1408, which does not require additional programming.
The test results are shown below:

Conclusion
From the above test results, we can draw the following conclusions:
1. Due to the different handling methods of Modbus TCP by different devices, the final communication speed varies, but the average cycle is within 10ms, which is the time for a single interaction.

2. The communication with the host computer is very stable, with no failures in continuous millions of interactions.

3. The time taken to read one register is not much different from the time taken to read 100 registers. In host computer development, it is advisable to use batch reading methods as much as possible.

Finally, if you find this article helpful, please give it a thumbs up to support! Your support is my motivation to continue sharing knowledge. If you have any questions or need further assistance, feel free to leave a message. You can also join the WeChat public account[DotNet Technology Craftsman] community to exchange ideas with other technology enthusiasts and grow together!
Author: Little Code Craftsman
Source: gitee.com/smallcore/DotNetCoreStatement: Online content is for learning purposes only, respecting copyright, and will be deleted upon infringement, apologies and thanks!ENDFacilitating communication, resource sharing, and mutual growthPure technical exchange group, if you want to join, please scan the code and note【Join Group】

Recommended ReadingWPF Electric Meter Data Collection System Development CommunityToolkit.Mvvm vs Prism Architecture Comparison PracticeLightweight and Efficient Inventory Management System Based on .NET 8 + React (Front and Back End Separation)WPF Real-time Industrial Monitoring Dashboard: ModBus Protocol Integration and Borderless Dynamic Visualization SolutionC#/.NET August Technical Review: WPF/WinForm, Machine Vision, and Industrial Host Computer PracticeGraphical Operation of Windows Services? This Open Source Tool Achieves It.NET 9.0 A Reusable WPF Interface FrameworkStep-by-step Guide to Designing WinForm High DPI Compatible Programs, Say Goodbye to Blurry Fonts and Disordered Controls
WPF + MVVM Self-service Inspection Report Printer Multi-framework Implementation
Why Does .NET Have a Very Large Memory Usage?
Building an Enterprise-level WinForm Framework from Scratch: Integrating SunnyUI Controls and SqlSugar ORMC# Deployment Yolov8 Complete Guide: OpenVINO and TensorRT Dual Engine AccelerationWPF A Universal Embedded Measurement and Control Host Computer (Flexible Configuration Without Repetition)C# What Surprised You?Avalonia UI vs Electron Which Has Better Performance?C# + Halcon Modular Industrial Vision General Image Processing Tool (Practical, Efficient, Full Scene Coverage)Open Source Industrial-grade WPF Data Dashboard: Practical Project Based on MVVM + HandyControlIs the Future of C# Avalonia?How to Create Beautiful Interfaces for Desktop Applications in C#?Free and Open Source! A Simple and Easy-to-Use Android Screen Projection Tool Based on WPF + ScrcpyHandwritten WinForm Chart Control: No Dependencies, Supports Curves, Pie Charts, Point Charts, and Object Line Charts, etc.How to Choose an Enterprise-level Desktop Architecture, MFC, WinForm, or WPF? This Article ClarifiesWinForm Control Auto-Scaling Algorithm: Simple Implementation for Adaptive Window SizeWPF and WinForm: The Future Battle on the .NET Platform, Who Will Win? (Vote)Recommended Content: Five Powerful .NET Open Source Workflow Systems, Ready to UseFull Stack .NET Low-Code Engine: Permissions, Workflows, API Dynamic Generation, Open Source Ready to UseA Lightweight ERP Inventory System Based on .NET: Scan for Storage, Order to Label, Direct to Delivery.NET 8 + Vue 3 Smart Factory MES Rapid Development Framework: Device Monitoring, Data Dashboard Full CoverageC# + OpenCvSharp Achieving Low-Cost Open Source Monocular Structured Light 3D Scanning.NET 9 + React Dynamic Routing + RBAC Permission Practical Based on DDD ArchitectureEnterprise-level WinForm Rapid Development Framework Based on SunnyUI, Ready to Use!No Hardware Solution! A Camera Scanning Tool Based on .NET (Supports Enter/Continuous Scanning)Industrial-grade MES System Development WPF + MVVM From Entry to Practical (Full Source Code/Collection Version)
C# Commonly Used Control Libraries in Industry
C# Easily Achieve Automatic Startup of Industrial Host Computer Programs
C# Industrial Vision Development Choose Halcon or OpenCV?
How to Learn Host Computer Development in C#? Suggestions for Automation Engineers
.NET Desktop Applications (WPF/WinForm) Efficient Automatic Update Solution
One Line of Code Quickly Develop AntdUI Style WinForm General Background Framework
WinForm + SQL Server + Modbus Implement Warehouse Temperature Control Host Computer System Development
Multi-functional Tool Developed in WinForm: Serial Communication, Encryption and Decryption, Image Conversion, etc.
.NET Open Source Free and Powerful Chart Library ScottPlot (Universal for WinForm/WPF)
C# + OpenCvSharp Common Image Processing Example Set for Industrial Vision (Ready to Use, Source Code Included)
If you found it beneficial, feel free to share it to benefit more people
Follow “DotNet Technology Craftsman“, to enhance technical strength together
Collect
Like
Share
Looking