摘要
本文介绍了采用S7-300PLC的串口通信模块CP340与Carrier冷冻机实现Modbus通信的方法。主要介绍了Modbus RTU通信协议,CP340的组态方法,以及如何编写CRC校验和通信程序。
This article describes the method of Modbus communication between CP340 and Carrier Chiller.Mainly describes Modbus RTU protocol,the configuration of CP340, and how to write CRC check and communication program.