This article introduces a Modbus TCP PLC data acquisition system developed based on .NET. The system defines acquisition rules through flexible configuration files and is suitable for various .NET platforms (.NET Standard 2.0, .NET Standard 2.1). It supports simultaneous real-time data acquisition from multiple devices, featuring efficient communication, modular design, data storage, and error handling, making it ideal for industrial automation scenarios. ### Core Features Highlights1. Efficient Communication: Achieves stable data transmission based on the Modbus TCP protocol, ensuring the real-time and reliability of data acquisition.2. Message Queue: Supports writing acquisition results to RabbitMQ, Kafka, or local queues for high-concurrency processing.3. Data Storage: Supports local SQLite databases and various cloud databases to meet different storage needs.4. Logging: Allows custom logging policies for troubleshooting and auditing.5. Multi-PLC Data Acquisition: Supports periodic reading from multiple PLC devices simultaneously.6. Error Handling: Provides mechanisms for reconnection and timeout retries to ensure system stability.7. Frequency Control: The acquisition frequency is configurable, with a minimum support of millisecond-level.8. Dynamic Configuration: Flexibly defines table structures, column names, and frequencies through configuration files.9. Multi-Platform Support: Compatible with .NET Standard 2.0 and 2.1, running on Windows, Linux, and macOS. ### Technical Advantages and Application Value1. Industrial Equipment Monitoring: Real-time visualization of equipment status, such as monitoring the temperature and pressure parameters of welding robots in automotive manufacturing plants, enhancing the efficiency of manual inspections.2. Performance Analysis and Optimization: Through high-frequency data acquisition (e.g., vibration frequency data from wind power equipment), combined with TimescaleDB and Grafana for predictive maintenance, reducing operational costs.3. Fault Diagnosis and Root Cause Analysis: Stores historical data, supports SQL queries, quickly locates the causes of equipment failures, and reduces unplanned downtime losses.4. Edge Computing and Cloud Collaboration: Lightweight deployment on edge devices (e.g., Raspberry Pi), locally stores data and periodically synchronizes it to the cloud, meeting data sovereignty and compliance requirements. ### Value of the Open Source ProjectThis open-source system redefines the paradigm of industrial data acquisition through the design philosophy of “minimal configuration and high-performance acquisition”—allowing engineers to focus on business logic rather than low-level communication details. Whether for enterprise users or educational institutions, this system can quickly build industrial IoT platforms or serve as a laboratory tool for industrial automation courses, promoting technology dissemination and innovation.