Design of Multi-sensor Data Acquisition System Based on Modbus RTU Protocol
In this paper,a data acquisition system was developed on existing ECM machine tools.The system mainly consis-ted of sensors,data acquisition modules and host computers.The data acquisition module took the STM32F103RCT6 microcon-troller as the core,collected multiple sensor data through four RS485 interfaces,and sent the collected data to the host computer through RS232,using the Modbus RTU protocol for data transmission in message format.C#language was used to write software and interface design for the host computer in the Visual Studio development environment.It can display and save sensor data in real time,and had functions such as limit alarm,status judgment,and fault monitoring for sensor data.The test results show that the system operates stably,has high data collection efficiency and correct data transmission.
data acquisition modulemultiple sensorSTM32F103RCT6Modbus RTU