net.wimpi.modbus.Modbus
时间: 2024-05-29 08:12:21 浏览: 201
net.wimpi.modbus
5星 · 资源好评率100%
The Modbus class is the main class of the Modbus library. It provides the methods to establish a Modbus connection, send Modbus requests and receive Modbus responses. The Modbus class implements the Modbus TCP and Modbus RTU protocols. The Modbus TCP protocol is used to communicate with Modbus devices over Ethernet networks, while the Modbus RTU protocol is used to communicate with Modbus devices over serial lines. The Modbus class also provides methods to read and write coils, discrete inputs, holding registers and input registers. The Modbus class can be used to communicate with a single Modbus device or with multiple Modbus devices at the same time.
阅读全文