modbus rtu quick guide

9
 11/2012 Modbus RTU Quick Guide 1   Bonfiglioli-Vectron ReSC 26.11.2012

Upload: hernangyc

Post on 13-Apr-2018

235 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 18

112012 Modbus RTU Quick Guide 1

983117983151983140983138983157983155 983122983124983125

983121983157983145983139983147 983111983157983145983140983141

Bonfiglioli-Vectron ReSC

26112012

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 28

2 Modbus RTU Quick Guide 112012

Content

Content 2 1 Introduction 3 2 Modbus (RTU) 4

21 Single readwrite parameter 4 211 Frame Description 4 212 Examples5

22 Block Read Function6 221 Predefine Block read Parameter 6 222 Frame Description 6 223 Factory Settings 7 224 Examples8

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 38

112012 Modbus RTU Quick Guide 3

1 Introduction

Modbus definitions for readingwriting data in a device do not fit directly to parameter access of inverters(independent of inverter manufactures)Therefore it is necessary to map the register to the parameter num-ber

The current inverter software supports access to 16-Bit and 32-Bit parameters via Modbus Function Code0x03 Read Holding Registers

The Modbus Block Read function allows the user to read up to 32 16-Bit parameters in one RTU block trans-fer

If 32-Bit parameters have to be read via block read they are converted to 16-Bit value which means that theaccuracy is not as good as it could be

For the Block Read function a different access method is required which does not conflict with the currentmethod of accessing parameters

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 48

4 Modbus RTU Quick Guide 112012

2 Modbus (RTU)

21 Single readwrite parameter

211 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

Read response

Address Function No Bytes Parameter Value CRC

The whole code is written in hexadecimal digits

The Address field contains the slave-address in the Modbus message Valid slave node addresses are therange of 1-247 A master addresses a slave by placing the slave address in the address field of the messageWhen the salve returns its response it places its own address in the response address field to let the master

know which slave is respondingThe Address is set in Parameter 1376

The Function Code indicates to the inverter what kind of action to perform The most important functionsfor Bonfiglioli Inverter areFunction 03 (0x03) to read out 16 and 32bit parameterFunction 06 (0x06) to write single 16bit parameterFunction 101 (0x65) to write single 32bit parameter

DatasetParameter is using the following algorithmDataSetParameter = parameter number + (data set 4096)

The Datasets are connected as followed

EEPROM RAM

Dataset 0 Dataset 5

Dataset 1 Dataset 6

Dataset 2 Dataset 7

Dataset 3 Dataset 8

Dataset 4 Dataset 9

The actual Values are always stored in Dataset 0 respectively Dataset 5For example to read dataset 5 of parameter 222 (222 + 54096 = 20702) you have to put ldquo50 DErdquoIf it is necessary to write parameter permanentlyautomatically to the inverter it is indispensable to writethem to dataset 5678 or 9 These Datasets are located on the internal RAM which will be erased after arebootshutdown of the inverter If you would write continuously to dataset 0 to 4 you would write to theinternal EEPROM which is limited to 1000000 writings The only exception is when you have to set a pa-rameter manuallyonce to a value to do adjustments or similarFor automatic write processes it is necessary to use dataset 5-9 and you must not use dataset 0-4 Other-wise you will destroy the controller of the AEC and it needs to be replacedThe inverter is always working in data set 1 respectively 6 To write parameters it is recommend to use dataset 6

NoBytes For 16bit values there will be 2 Bytes for 32bit values there will be 4 Bytes

Number of Register To read out or to write 16bit values the number of register is 1 For 32bit values thenumber of register is 2

Parameter Value The value of the read out value or the new value of the parameter

The CRC is the result of a ldquoRedundancy Checkingrdquo calculation that is performed on the message contentsTo calculate the Cyclic R edundancy Check please check httpwwwsimplymodbusca

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 58

112012 Modbus RTU Quick Guide 5

212 Examples

2121 Read 16bit RegisterParameter

Example read parameter 213 Active Power (16bit) Dataset 0 of Inverter with Address 1

Request Address Function DatasetParameter Number of Register CRC

01 03 00 D5 00 01 95 F2

Response of Inverter with Address 1 with 30kW

Address Function NoBytes Parameter Value CRC

01 03 02 00 1E 38 4C

2122 Write 16bit RegisterParameter

Example set parameter 1020 Power reduction reference value (16bit) Dataset 5 of Inverter with Address 1

to 50

Request

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

Response

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

2123 Read 32bit RegisterParameter

Example read parameter 850 frequency (32bit) Dataset 0 of Inverter with Address 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 03 52 00 2 65 9E

Response of Inverter with Address 1 with 5000Hz

Address Function NoBytes Parameter Value CRC

01 03 04 00 00 C3 50 AA FF

2124 Write 32bit RegisterParameter

Example set parameter 891 Filter Capacity Sinus Filter (32bit) Dataset 5 of Inverter with Address 1 to10000 mH

Request

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

Response

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 2: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 28

2 Modbus RTU Quick Guide 112012

Content

Content 2 1 Introduction 3 2 Modbus (RTU) 4

21 Single readwrite parameter 4 211 Frame Description 4 212 Examples5

22 Block Read Function6 221 Predefine Block read Parameter 6 222 Frame Description 6 223 Factory Settings 7 224 Examples8

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 38

112012 Modbus RTU Quick Guide 3

1 Introduction

Modbus definitions for readingwriting data in a device do not fit directly to parameter access of inverters(independent of inverter manufactures)Therefore it is necessary to map the register to the parameter num-ber

The current inverter software supports access to 16-Bit and 32-Bit parameters via Modbus Function Code0x03 Read Holding Registers

The Modbus Block Read function allows the user to read up to 32 16-Bit parameters in one RTU block trans-fer

If 32-Bit parameters have to be read via block read they are converted to 16-Bit value which means that theaccuracy is not as good as it could be

For the Block Read function a different access method is required which does not conflict with the currentmethod of accessing parameters

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 48

4 Modbus RTU Quick Guide 112012

2 Modbus (RTU)

21 Single readwrite parameter

211 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

Read response

Address Function No Bytes Parameter Value CRC

The whole code is written in hexadecimal digits

The Address field contains the slave-address in the Modbus message Valid slave node addresses are therange of 1-247 A master addresses a slave by placing the slave address in the address field of the messageWhen the salve returns its response it places its own address in the response address field to let the master

know which slave is respondingThe Address is set in Parameter 1376

The Function Code indicates to the inverter what kind of action to perform The most important functionsfor Bonfiglioli Inverter areFunction 03 (0x03) to read out 16 and 32bit parameterFunction 06 (0x06) to write single 16bit parameterFunction 101 (0x65) to write single 32bit parameter

DatasetParameter is using the following algorithmDataSetParameter = parameter number + (data set 4096)

The Datasets are connected as followed

EEPROM RAM

Dataset 0 Dataset 5

Dataset 1 Dataset 6

Dataset 2 Dataset 7

Dataset 3 Dataset 8

Dataset 4 Dataset 9

The actual Values are always stored in Dataset 0 respectively Dataset 5For example to read dataset 5 of parameter 222 (222 + 54096 = 20702) you have to put ldquo50 DErdquoIf it is necessary to write parameter permanentlyautomatically to the inverter it is indispensable to writethem to dataset 5678 or 9 These Datasets are located on the internal RAM which will be erased after arebootshutdown of the inverter If you would write continuously to dataset 0 to 4 you would write to theinternal EEPROM which is limited to 1000000 writings The only exception is when you have to set a pa-rameter manuallyonce to a value to do adjustments or similarFor automatic write processes it is necessary to use dataset 5-9 and you must not use dataset 0-4 Other-wise you will destroy the controller of the AEC and it needs to be replacedThe inverter is always working in data set 1 respectively 6 To write parameters it is recommend to use dataset 6

NoBytes For 16bit values there will be 2 Bytes for 32bit values there will be 4 Bytes

Number of Register To read out or to write 16bit values the number of register is 1 For 32bit values thenumber of register is 2

Parameter Value The value of the read out value or the new value of the parameter

The CRC is the result of a ldquoRedundancy Checkingrdquo calculation that is performed on the message contentsTo calculate the Cyclic R edundancy Check please check httpwwwsimplymodbusca

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 58

112012 Modbus RTU Quick Guide 5

212 Examples

2121 Read 16bit RegisterParameter

Example read parameter 213 Active Power (16bit) Dataset 0 of Inverter with Address 1

Request Address Function DatasetParameter Number of Register CRC

01 03 00 D5 00 01 95 F2

Response of Inverter with Address 1 with 30kW

Address Function NoBytes Parameter Value CRC

01 03 02 00 1E 38 4C

2122 Write 16bit RegisterParameter

Example set parameter 1020 Power reduction reference value (16bit) Dataset 5 of Inverter with Address 1

to 50

Request

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

Response

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

2123 Read 32bit RegisterParameter

Example read parameter 850 frequency (32bit) Dataset 0 of Inverter with Address 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 03 52 00 2 65 9E

Response of Inverter with Address 1 with 5000Hz

Address Function NoBytes Parameter Value CRC

01 03 04 00 00 C3 50 AA FF

2124 Write 32bit RegisterParameter

Example set parameter 891 Filter Capacity Sinus Filter (32bit) Dataset 5 of Inverter with Address 1 to10000 mH

Request

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

Response

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 3: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 38

112012 Modbus RTU Quick Guide 3

1 Introduction

Modbus definitions for readingwriting data in a device do not fit directly to parameter access of inverters(independent of inverter manufactures)Therefore it is necessary to map the register to the parameter num-ber

The current inverter software supports access to 16-Bit and 32-Bit parameters via Modbus Function Code0x03 Read Holding Registers

The Modbus Block Read function allows the user to read up to 32 16-Bit parameters in one RTU block trans-fer

If 32-Bit parameters have to be read via block read they are converted to 16-Bit value which means that theaccuracy is not as good as it could be

For the Block Read function a different access method is required which does not conflict with the currentmethod of accessing parameters

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 48

4 Modbus RTU Quick Guide 112012

2 Modbus (RTU)

21 Single readwrite parameter

211 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

Read response

Address Function No Bytes Parameter Value CRC

The whole code is written in hexadecimal digits

The Address field contains the slave-address in the Modbus message Valid slave node addresses are therange of 1-247 A master addresses a slave by placing the slave address in the address field of the messageWhen the salve returns its response it places its own address in the response address field to let the master

know which slave is respondingThe Address is set in Parameter 1376

The Function Code indicates to the inverter what kind of action to perform The most important functionsfor Bonfiglioli Inverter areFunction 03 (0x03) to read out 16 and 32bit parameterFunction 06 (0x06) to write single 16bit parameterFunction 101 (0x65) to write single 32bit parameter

DatasetParameter is using the following algorithmDataSetParameter = parameter number + (data set 4096)

The Datasets are connected as followed

EEPROM RAM

Dataset 0 Dataset 5

Dataset 1 Dataset 6

Dataset 2 Dataset 7

Dataset 3 Dataset 8

Dataset 4 Dataset 9

The actual Values are always stored in Dataset 0 respectively Dataset 5For example to read dataset 5 of parameter 222 (222 + 54096 = 20702) you have to put ldquo50 DErdquoIf it is necessary to write parameter permanentlyautomatically to the inverter it is indispensable to writethem to dataset 5678 or 9 These Datasets are located on the internal RAM which will be erased after arebootshutdown of the inverter If you would write continuously to dataset 0 to 4 you would write to theinternal EEPROM which is limited to 1000000 writings The only exception is when you have to set a pa-rameter manuallyonce to a value to do adjustments or similarFor automatic write processes it is necessary to use dataset 5-9 and you must not use dataset 0-4 Other-wise you will destroy the controller of the AEC and it needs to be replacedThe inverter is always working in data set 1 respectively 6 To write parameters it is recommend to use dataset 6

NoBytes For 16bit values there will be 2 Bytes for 32bit values there will be 4 Bytes

Number of Register To read out or to write 16bit values the number of register is 1 For 32bit values thenumber of register is 2

Parameter Value The value of the read out value or the new value of the parameter

The CRC is the result of a ldquoRedundancy Checkingrdquo calculation that is performed on the message contentsTo calculate the Cyclic R edundancy Check please check httpwwwsimplymodbusca

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 58

112012 Modbus RTU Quick Guide 5

212 Examples

2121 Read 16bit RegisterParameter

Example read parameter 213 Active Power (16bit) Dataset 0 of Inverter with Address 1

Request Address Function DatasetParameter Number of Register CRC

01 03 00 D5 00 01 95 F2

Response of Inverter with Address 1 with 30kW

Address Function NoBytes Parameter Value CRC

01 03 02 00 1E 38 4C

2122 Write 16bit RegisterParameter

Example set parameter 1020 Power reduction reference value (16bit) Dataset 5 of Inverter with Address 1

to 50

Request

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

Response

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

2123 Read 32bit RegisterParameter

Example read parameter 850 frequency (32bit) Dataset 0 of Inverter with Address 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 03 52 00 2 65 9E

Response of Inverter with Address 1 with 5000Hz

Address Function NoBytes Parameter Value CRC

01 03 04 00 00 C3 50 AA FF

2124 Write 32bit RegisterParameter

Example set parameter 891 Filter Capacity Sinus Filter (32bit) Dataset 5 of Inverter with Address 1 to10000 mH

Request

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

Response

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 4: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 48

4 Modbus RTU Quick Guide 112012

2 Modbus (RTU)

21 Single readwrite parameter

211 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

Read response

Address Function No Bytes Parameter Value CRC

The whole code is written in hexadecimal digits

The Address field contains the slave-address in the Modbus message Valid slave node addresses are therange of 1-247 A master addresses a slave by placing the slave address in the address field of the messageWhen the salve returns its response it places its own address in the response address field to let the master

know which slave is respondingThe Address is set in Parameter 1376

The Function Code indicates to the inverter what kind of action to perform The most important functionsfor Bonfiglioli Inverter areFunction 03 (0x03) to read out 16 and 32bit parameterFunction 06 (0x06) to write single 16bit parameterFunction 101 (0x65) to write single 32bit parameter

DatasetParameter is using the following algorithmDataSetParameter = parameter number + (data set 4096)

The Datasets are connected as followed

EEPROM RAM

Dataset 0 Dataset 5

Dataset 1 Dataset 6

Dataset 2 Dataset 7

Dataset 3 Dataset 8

Dataset 4 Dataset 9

The actual Values are always stored in Dataset 0 respectively Dataset 5For example to read dataset 5 of parameter 222 (222 + 54096 = 20702) you have to put ldquo50 DErdquoIf it is necessary to write parameter permanentlyautomatically to the inverter it is indispensable to writethem to dataset 5678 or 9 These Datasets are located on the internal RAM which will be erased after arebootshutdown of the inverter If you would write continuously to dataset 0 to 4 you would write to theinternal EEPROM which is limited to 1000000 writings The only exception is when you have to set a pa-rameter manuallyonce to a value to do adjustments or similarFor automatic write processes it is necessary to use dataset 5-9 and you must not use dataset 0-4 Other-wise you will destroy the controller of the AEC and it needs to be replacedThe inverter is always working in data set 1 respectively 6 To write parameters it is recommend to use dataset 6

NoBytes For 16bit values there will be 2 Bytes for 32bit values there will be 4 Bytes

Number of Register To read out or to write 16bit values the number of register is 1 For 32bit values thenumber of register is 2

Parameter Value The value of the read out value or the new value of the parameter

The CRC is the result of a ldquoRedundancy Checkingrdquo calculation that is performed on the message contentsTo calculate the Cyclic R edundancy Check please check httpwwwsimplymodbusca

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 58

112012 Modbus RTU Quick Guide 5

212 Examples

2121 Read 16bit RegisterParameter

Example read parameter 213 Active Power (16bit) Dataset 0 of Inverter with Address 1

Request Address Function DatasetParameter Number of Register CRC

01 03 00 D5 00 01 95 F2

Response of Inverter with Address 1 with 30kW

Address Function NoBytes Parameter Value CRC

01 03 02 00 1E 38 4C

2122 Write 16bit RegisterParameter

Example set parameter 1020 Power reduction reference value (16bit) Dataset 5 of Inverter with Address 1

to 50

Request

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

Response

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

2123 Read 32bit RegisterParameter

Example read parameter 850 frequency (32bit) Dataset 0 of Inverter with Address 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 03 52 00 2 65 9E

Response of Inverter with Address 1 with 5000Hz

Address Function NoBytes Parameter Value CRC

01 03 04 00 00 C3 50 AA FF

2124 Write 32bit RegisterParameter

Example set parameter 891 Filter Capacity Sinus Filter (32bit) Dataset 5 of Inverter with Address 1 to10000 mH

Request

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

Response

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 5: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 58

112012 Modbus RTU Quick Guide 5

212 Examples

2121 Read 16bit RegisterParameter

Example read parameter 213 Active Power (16bit) Dataset 0 of Inverter with Address 1

Request Address Function DatasetParameter Number of Register CRC

01 03 00 D5 00 01 95 F2

Response of Inverter with Address 1 with 30kW

Address Function NoBytes Parameter Value CRC

01 03 02 00 1E 38 4C

2122 Write 16bit RegisterParameter

Example set parameter 1020 Power reduction reference value (16bit) Dataset 5 of Inverter with Address 1

to 50

Request

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

Response

Address Function DatasetParameter Parameter Value CRC

01 06 53 FC 00 32 D9 6B

2123 Read 32bit RegisterParameter

Example read parameter 850 frequency (32bit) Dataset 0 of Inverter with Address 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 03 52 00 2 65 9E

Response of Inverter with Address 1 with 5000Hz

Address Function NoBytes Parameter Value CRC

01 03 04 00 00 C3 50 AA FF

2124 Write 32bit RegisterParameter

Example set parameter 891 Filter Capacity Sinus Filter (32bit) Dataset 5 of Inverter with Address 1 to10000 mH

Request

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

Response

Address Function DatasetPara Parameter Value CRC

01 65 53 7B 00 00 27 10 46 94

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 6: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 68

6 Modbus RTU Quick Guide 112012

22 Block Read Function

The Modbus Function 0x03 Read Holding Registers will be extended for the reading of up to 32 (RTU in-verter parameters (16-Bit) in a single block transfer This is used to reduce the Bus traffic

The Modbus Block Read Function will allow the reading of up to 32 Inverter Parameters which correspond to

contiguous Modbus Register from RegNo 0xF01 to 0xF20 (3841-3872 dec) As the register numbers do not directly refer to the inverter parameter numbers a mapping of the registerto inverter parameters is required

This will carried out using an Index-Parameter with 32 indices each containing an inverter parameter num-ber selected from a choice list The indices 1 ndash 32 refer to the register numbers 0xF01 ndash 0xF20 respectively

All parameters corresponding to the Registers defined in the request are read in sequence and the data val-ues then stored in the ldquoDatardquo field of the Response Frame

221 Possible Block Read Parameter

In VTable it is easy to define Index 1-32 of parameter 1282 (Block Read Parameter) via dropdown choice

list It is possible to set the following parameter

983120 21983091 983105983139983156983145983158983141 983120983151983159983141983154

983120 222 983108983107983085983116983145983150983147 983126983151983148983156983137983143983141

983120 29830930 983108983145983143983145983156983137983148 983113983150983152983157983156983155

983120 2983093983093 983112983141983137983156 983123983145983150983147 983124983141983149983152983141983154983137983156983157983154983141

983120 2983093983094 983113983150983155983145983140983141 983124983141983149983152983141983154983137983156983157983154983141

983120 29830940 983107983157983154983154983141983150983156 983109983154983154983151983154

983120 98309101 983105983139983156983145983158983141 983109983150983141983154983143983161

983120 9830969830930 983110983154983141983153983157983141983150983139983161

983120 9830969830932 983120983151983159983141983154 983123983157983152983152983148983161 983107983157983154983154983141983150983156

983120 983096983093983091 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141

983120 983096983093983093 983108983107 983120983151983159983141983154

983120 9830969830940 983108983107 983107983157983154983154983141983150983156

983120 983096983094983091 983107983157983154983154983141983150983156 983137

983120 983096983094983092 983107983157983154983154983141983150983156 983138

983120 983096983094983093 983107983157983154983154983141983150983156 983139

983120 983096983094983094 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983137

983120 983096983094983095 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983138

983120 983096983094983096 983120983151983159983141983154 983123983157983152983152983148983161 983126983151983148983156983137983143983141 983139

983120 983096983094983097 983105983139983156983145983158983141 983120983151983159983141983154 983137

983120 9830969830950 983105983139983156983145983158983141 983120983151983159983141983154 983138

983120 9830969830951 983105983139983156983145983158983141 983120983151983159983141983154 983139

983120 9830969830952 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983137

983120 983096983095983091 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983138

983120 983096983095983092 983122983141983137983139983156983145983158983141 983120983151983159983141983154 983139

983120 983096983095983093 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983137

983120 983096983095983094 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983138

983120 983096983095983095 983105983152983152983137983154983141983150983156 983120983151983159983141983154 983139

983120 983096983095983096 983122983141983137983139983156983145983158983141 983120983151983159983141983154

983120 983096983095983097 983105983152983152983137983154983141983150983156 983120983151983159983141983154

983120 109830970 983123983151983148983137983154983085983123983156983137983156983141

983120 119830941 983122983141983142983141983154983141983150983139983141 983126983137983148983157983141 983122983141983137983139983156983145983158983141 983120983151983159983141983154

The Inverter Parameter P301 and P850 are 32-bit Parameter which are converted to 16-Bit

The frequency (P850) value has 4 decimal places and is transferred without the decimal point ie the value

is multiplied by 10000 (eg a frequency value of 500025 Hz is stored as 500025 which corresponds to0x7A139 in HEX format

In order to convert this value in 16-Bits it will be cut to two decimal places ie the stored value will be di-vided by 100 Using the example above 500025 (500025Hz) will be transferred as 5000 (5000Hz) thusloosing the last two decimal places

The Active Energy (P301) has no decimal places The convention is done by dividing the value by 1000respectively by changing from kWh to MWh (eg a active Energy value of 6189 kWh will be transferred as6MWh

222 Frame Description

Request

Address Function DatasetParameter Number of Register CRC

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 7: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 78

112012 Modbus RTU Quick Guide 7

01 03 0F 01 00 04 16 DD

Response

Address Function NoBytes Data CRC

01 03 04 00 50 AA FF

Address and Function see above

DatasetParameter Startposition to read out the predefined Block read Parameter 1282

ldquo0F 01rdquo for Index 1 ndash ldquo0F 20rdquo for Index 32

Number of Register Among of parameter to read out

NoBytes depends on the among of the requested parameters (0x02 ndash 0x40)

Data

Hi-Byte

1st

Par

Lo-Byte

1st

Par hellip

Hi-Byte

NthPar

Lo-Byte

Nthpar

N = No of Registers

223 Factory Settings

P1282

Index

Factory Setting Corresponding

Modbus RegNo

1 213 ndash Active Power 0xF01

2 222 - DC-Link Voltage 0xF02

3 255 ndash Heat Sink Temperature 0xF034 256 ndash Inside Temperature 0xF04

5 260 ndash Current Error 0xF05

6 852 ndash Power Supply Current 0xF06

7 855 ndash Power Supply Voltage 0xF07

8 855 ndash DC Power 0xF08

9 879 ndash Apparent Power 0xF09

10 1090 ndash Solar Status 0xF0A

11 850 ndash Frequency 0xF0B

12 250 ndash Digital Inputs 0xF0C

13 860 ndash DC Current 0xF0D

14 301 ndash Active Energy 0xF0E

15 875 ndash Apparent Power a 0xF0F

16 876 ndash Apparent Power b 0xF10

17 877 ndash Apparent Power c 0xF11

18 869 ndash Active Power a 0xF12

19 870 ndash Active Power b 0xF13

20 871 ndash Active Power c 0xF14

21 863 ndash Current a 0xF15

22 864 ndash Current b 0xF16

23 865 ndash Current c 0xF17

24 866 ndash Power Supply Voltage a 0xF1825 867 ndash Power Supply Voltage b 0xF19

26 868 ndash Power Supply Voltage c 0xF1A

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC

Page 8: Modbus RTU Quick Guide

7272019 Modbus RTU Quick Guide

httpslidepdfcomreaderfullmodbus-rtu-quick-guide 88

8 Modbus RTU Quick Guide 112012

27 872 ndash Reactive Power a 0xF1B

28 873 ndash Reactive Power b 0xF1C

29 874 ndash Reactive Power c 0xF1D

30 878 ndash Reactive Power 0xF1E

31 1161- Reference Value Reac-

0XF1F

32 222 - DC-Link Voltage 0xF20

224 Examples

2241 Read 4 Parameter in one Block transfer starting at Index 1

Request

Address Function DatasetParameter Number of Register CRC

01 03 0F 01 00 04 16 DD

Response Address Function NoBytes Data CRC

01 03 08 02 6C 15 85 02 46 01 A1 57 56

With factory settings

P213 = 02 6C 620 620kW

P222 = 15 85 5509 5509V

P255 = 02 46 582582degC

P256 = 01 A1 417417degC