Modbus defines which byte two devices send on the same wire. It does not define what that byte means in an engineering unit. The map is the document that writes the meaning. Without a map, the host software and the device read different quantities at the same address.
MODBUS Application Protocol Specification V1.1b3 defines a holding register as 16 bits and separates the function codes for reading and writing. Function 3 reads registers. Function 16 writes several registers. The specification does not say whether your address 40001 holds a temperature or a status word. Whether the numbering is zero-based or one-based is a frequent mix-up between devices. The map puts the address on the wire and the address the user sees in separate columns.
A 32-bit value spans two registers. If the map does not say which register is the high word, one end assembles the number backwards. Scale is the same problem. A raw value of 253 is not known to be 25.3 °C or 253 mV without a multiplier and a unit. A signed value is stated separately, as two's complement.
On the serial side, MODBUS over Serial Line V1.02 defines the timing of an RTU frame and the address byte. Baud, parity and stop bits sit outside that document, at the top of the map. If one end is 8E1 and the other is 8N1, the frame never decodes. The fault is not in the scale.
On a FenergyTech field device the map is versioned with the firmware. Adding a register is allowed. Changing the meaning of an existing register changes the map's version number.
One map row fixes enough. Address on the wire 0, address the user sees 40001. Function 3 reads, function 16 writes. The value is int16, two's complement, unit 0.1 °C, so a raw 253 means 25.3 °C. The high word comes first. Without these six columns one end reads 253, another thinks 25.3, a third assembles the bytes backwards.
A 32-bit counter spans two registers. The map says which register is the high word. If it does not, 0x00010000 is 1 on the other side, or 65536. The gap ships as "the counter jumps now and then".
Baud and parity sit on the first line of the map. If one end is 19200 8E1 and the other is 19200 8N1, the frame never decodes. The bytes are there on the scope and the software sees a timeout. The timeout is not hunted in the scale line.
The map carries the same version number as the firmware. Adding a register does not break an old end. Changing the unit of an existing register does, and it raises the version.
Sources: Modbus Organization, MODBUS Application Protocol Specification V1.1b3, 2012. Modbus Organization, MODBUS over Serial Line Specification and Implementation Guide V1.02, 2006.
Planning a similar project?
We can talk through how the topic in this article applies to your product.