DOCA0384EN-01

Readout Examples

Readout Example of a Legacy Dataset Register

The table below shows how to read the rms current on phase 1 (I1) in register 12016.

  • The address of register 12016 equals 12016 - 1 = 12015 = 0x2EEF.

  • The Modbus address of the Modbus server is 1 = 0x01.

Request from the Client

Response from the Server

Field Name

Example

Field Name

Example

Modbus server address

0x01

Modbus server address

0x01

Function code

0x03

Function code

0x03

Address of register to be read (MSB)

0x2E

Data length in bytes

0x02

Address of register to be read (LSB)

0xEF

Register value (MSB)

0x02

Number of registers (MSB)

0x00

Register value (LSB)

0x2B

Number of registers (LSB)

0x01

CRC (MSB)

0xNN

CRC (MSB)

0xNN

CRC (LSB)

0xNN

CRC (LSB)

0xNN

The content of register 12016 (address 0x2EEF) is 0x022B = 555.

The rms current on phase 1 (I1) is thus 555 A.

Readout Example of the Table of Legacy Dataset Common Registers

The table below shows how to read the table of legacy dataset common registers. This table starts at register 12000 and consists of 114 registers.

  • The address of register 12000 = 0x2EDF.

  • The table length is 114 registers = 0x72.

  • The number of bytes is 114 x 2 = 228 bytes = 0xE4.

  • The Modbus address of the server is 1 = 0x01.

Request from the Client

Response from the Server

Field Name

Example

Field Name

Example

Modbus server address

0x01

Modbus server address

0x01

Function code

0x03

Function code

0x03

Address of the first register to be read (MSB)

0x2E

Data length in bytes

0xE2

Address of the first register to be read (LSB)

0xDF

Value of register 12000 (MSB)

0xNN

Number of registers (MSB)

0x00

Value of register 12000 (LSB)

0xNN

Number of registers (LSB)

0x72

Value of register 12001 (MSB)

0xNN

CRC (MSB)

0xNN

Value of register 12001 (LSB)

0xNN

CRC (LSB)

0xNN

0xNN

0xNN

Value of register 12113 (MSB)

0xNN

Value of register 12112 (LSB)

0xNN

CRC (MSB)

0xNN

CRC (LSB)

0xNN

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?