MangoAutomation / modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.
GNU General Public License v3.0
897 stars 370 forks source link

Write holding register MSB/LSB only #34

Open tuzilj1 opened 4 years ago

tuzilj1 commented 4 years ago

If you are using holding register and ONE_BYTE_INT_UNSIGNED_LOWER / ONE_BYTE_INT_UNSIGNED_UPPER the result of write function is 0x00 or 0x00.