Professional Documents
Culture Documents
Modbus Table Format and Data Types - PowerTag Link User Guide
Modbus Table Format and Data Types - PowerTag Link User Guide
Modbus Table Format and Data Types - PowerTag Link User Guide
/ PowerTag Link User Guide / EcoStruxure PowerTag Link Gateway – User Guide / Modbus Register Tables
/ Modbus Table Format and Data Types
DOCA0157EN-06
Modbus Table Format and Data Types
Table Formats
Register tables have the following columns:
Address Register No. RW X Unit Type Range Default Svd Function Applicable Description
Value Code Devices
Designation Description
Address 16-bit register address in hexadecimal. The address is the data used in the Modbus frame.
No Number of 16-bit registers that need to be read/written to access the complete information
X Scale factor:
A scale of 1 means that the value of the register is the right one with the unit indicated.
A scale of 10 means that the register contains the value multiplied by 10. The actual value
is therefore the value of the register divided by 10.
A scale of 0.1 means that the register contains the value multiplied by 0.1. The actual
value is therefore the value of the register multiplied by 10.
Range Range of permitted values for the variable, usually a subset of what the format allows. For
BITMAP type data, the content of this domain is “–”.
Svd Value saved when the power supply to the PowerTag Link gateway is switched off:
Applicable Devices Code indicating the types of devices for which the register is available.
Designation Description
Description Information about the register and the restrictions that apply.
Data Types
INT32 32-bit signed integer (2 words) -2 147 483 648...+2 147 483 647
INT64 64-bit signed integer (4 words) -9 223 372 036 854 775 808...9 223 372 036 854
775 807
UINT64 64-bit unsigned integer (4 words) 0 to 18 446 744 073 709 600 000
NOTE:
Float32 type data: Single precision float with sign bit, 8 bits exponent, 23 bits mantissa (positive and
negative normalized real)
For ASCII type data, the order of transmission of characters in words (16-bit registers) is as follows:
All registers (16-bit or 2 bytes) are transmitted with Big Endian coding:
32-bit variables saved on two 16-bit words (e.g. consumption meters) are in Big Endian format:
The most significant word is transmitted first, then the least significant.
64-bit variables saved on four 16-bit words (e.g. dates) are in Big Endian format:
DATETIME
DATETIME is a data type used to code date and time defined by the IEC 60870-5 standard.
Register Type Bit Range Description
7–15 – Reserved
5–7 – Reserved
12–15 – Reserved
6–7 – Reserved
13–15 – Reserved
The address of the first bit is constructed as follows: (register address x 16) + bit number.
Example: For functions 1, 2, 5, and 15, bit 3 of register 0x0078 should be addressed; the bit address is
therefore 0x0783.
NOTE: The register whose bit needs to be addressed should have an address ≤ 0x0FFF.
Response
Definition Number of Bytes Value Comment
Modbus Register
The address of register number n is n-1. The tables detailed in the following parts of this document provides
both register numbers (in decimal format) and corresponding addresses (in hexadecimal format). For example,
the address of register number 3000 is 0x0BB7 (2999).
NOTE: To know the description of the registers of each associated device (how to use them), print the PDF
report of Modbus registers using EcoStruxure Power Commission software (refer to EcoStruxure Power
Commission Online Help). This report gives a dynamic knowledge of all the registers potentially to be
integrated into the supervision systems including a description of each register.