FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14088 questions

16729 answers

27457 comments

53741 members

0 votes
133 views 0 comments
by
I've read register 193 (Mobile data received this month (SIM1)) with a python modbus client.

The result was an array of 2 16 bit values (0:773, 1:35134).

Now I'm struggeling in how to interpret those values? What is the byte order of the read response? What is the scaling of the mobile data (bytes, KB, MB, ...)?

1 Answer

0 votes
by
Hello,

The data is in Bytes.

The data used is saved in 2 16 registers, so both of them are needed to know the data sent. Basicaly you need to write the HEX values of both register in a single line and then convert it to int to know the number of bytes send and received
Best answer