Modbus TCP 通信程序 源代码
This article explains a Modbus TCP common driver class. This class implements a modbus TCP master driver.
It supports the following commands:
Read coils
Read discrete inputs
Write single coil
Write multiple cooils
Read holding register
Read input register
Write single register
1