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?
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?