This project has moved and is read-only. For the latest updates, please go here.

4 word counts

Apr 4, 2017 at 7:57 PM
Edited Apr 4, 2017 at 7:58 PM
Hello Sir,
How do you get the numeric value when the Modbus library reads from a four word counts address area. Do you convert it somehow using the ByteArrayHelper class?

Here is an example of four count data I am receiving from a device

Value 1 = 17633
Value 2 = 0
Value 3 = 11232
Value 4 = 778

I presume each address is 8 bit of data and somehow those four 8 bits combine together to create 32bit integer. Any idea?