P
I was wondering why there is a byte count field in the packet format when there is "Number of Registers" information is available?
Below shows the Query format
(Ref. PI-MBUS-300 Rev. J)
byte 0 Slave Address
byte 1 Function
byte 2 Starting Address Hi
byte 3 Starting Address Lo
byte 4 No. of Registers Hi
byte 5 No. of Registers Lo
byte 6 Byte Count
byte 7 Data Hi
byte 8 Data Lo
byte 9 Data Hi
byte 10 Data Lo
byte .. Error Check (LRC or CRC)
Does it intended to tell that there can be data length which might not be 2 * Number of Registers?
Below shows the Query format
(Ref. PI-MBUS-300 Rev. J)
byte 0 Slave Address
byte 1 Function
byte 2 Starting Address Hi
byte 3 Starting Address Lo
byte 4 No. of Registers Hi
byte 5 No. of Registers Lo
byte 6 Byte Count
byte 7 Data Hi
byte 8 Data Lo
byte 9 Data Hi
byte 10 Data Lo
byte .. Error Check (LRC or CRC)
Does it intended to tell that there can be data length which might not be 2 * Number of Registers?