Technical Information - Communication via SMA Modbus ...

16
SI-Modbus-TI-en-10 | Version 1.0 ENGLISH Technical Information Communication via SMA Modbus SI4.4M-12 / SI6.0H-12 / SI8.0H-12 / SI4.4M-13 / SI6.0H-13 / SI8.0H-13

Transcript of Technical Information - Communication via SMA Modbus ...

Page 1: Technical Information - Communication via SMA Modbus ...

SI-Modbus-TI-en-10 | Version 1.0ENGLISH

Technical InformationCommunication via SMA ModbusSI4.4M-12 / SI6.0H-12 / SI8.0H-12 / SI4.4M-13 / SI6.0H-13 / SI8.0H-13

Page 2: Technical Information - Communication via SMA Modbus ...

Legal Provisions SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-102

Legal ProvisionsThe information contained in these documents is the property of SMA Solar Technology AG. Any publication, whetherin whole or in part, requires prior written approval by SMA Solar Technology AG. Internal reproduction used solely forthe purpose of product evaluation or other proper use is allowed and does not require prior approval.

TrademarksAll trademarks are recognized, even if not explicitly identified as such. Missing designations do not mean that aproduct or brand is not a registered trademark.

SMA Solar Technology AGSonnenallee 134266 NiestetalGermanyTel. +49 561 9522-0Fax +49 561 9522-100www.SMA.deEmail: [email protected] of: 3/29/2021Copyright © 2021 SMA Solar Technology AG. All rights reserved.

Page 3: Technical Information - Communication via SMA Modbus ...

Table of ContentsSMA Solar Technology AG

Technical Information 3SI-Modbus-TI-en-10

Table of Contents1 Information on this Document..................................................................................................... 4

1.1 Validity ............................................................................................................................................................. 41.2 Target Group ................................................................................................................................................... 41.3 Content and Structure of this Document......................................................................................................... 41.4 Levels of Warning Messages.......................................................................................................................... 41.5 Symbols in the Document................................................................................................................................ 51.6 Typographical Elements in the Document ...................................................................................................... 51.7 Additional Information..................................................................................................................................... 5

2 Safety ............................................................................................................................................ 62.1 Intended Use.................................................................................................................................................... 62.2 IMPORTANT SAFETY INSTRUCTIONS......................................................................................................... 62.3 SMA Grid Guard code................................................................................................................................... 7

3 System Requirements................................................................................................................... 8

4 Application Examples .................................................................................................................. 94.1 Reading of Modbus Registers ........................................................................................................................ 94.2 Parameterization.............................................................................................................................................. 104.3 Power Specification......................................................................................................................................... 11

5 Preparing Communication via Modbus ..................................................................................... 13

6 Example for Power Specification................................................................................................ 14

Page 4: Technical Information - Communication via SMA Modbus ...

1 Information on this Document SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-104

1 Information on this Document1.1 ValidityThis document is valid for:

• SI4.4M-12 (Sunny Island 4.4M) from firmware version 3.0xx.R• SI6.0H-12 (Sunny Island 6.0H) from firmware version 3.0x.xx.R• SI8.0H-12 (Sunny Island 8.0H) from firmware version 3.0x.xx.R• SI4.4M-13 (Sunny Island 4.4M) from firmware version 3.0xx.R• SI6.0H-13 (Sunny Island 6.0H) from firmware version 3.0x.xx.R• SI8.0H-13 (Sunny Island 8.0H) from firmware version 3.0x.xx.R

1.2 Target GroupThe tasks described in this document must only be performed by qualified persons. Qualified persons must have thefollowing skills:

• Detailed knowledge of the grid management services• Knowledge of IP-based network protocols• Knowledge of the Modbus specifications• Training in the installation and configuration of IT systems• Knowledge of and compliance with this document and all safety information

1.3 Content and Structure of this DocumentThis document names the possible applications of the SMA Modbus interface on the Sunny Island and, for anapplication example, describes the procedure when setting up this interface (for information on mounting, installation,commissioning, operation, configuration, troubleshooting, decommissioning of the Sunny Island see the operatingmanual of the inverter).

1.4 Levels of Warning MessagesThe following levels of warning messages may occur when handling the product.

DANGER

Indicates a hazardous situation which, if not avoided, will result in death or serious injury.

WARNING

Indicates a hazardous situation which, if not avoided, could result in death or serious injury.

CAUTION

Indicates a hazardous situation which, if not avoided, could result in minor or moderate injury.

NOTICE

Indicates a situation which, if not avoided, can result in property damage.

Page 5: Technical Information - Communication via SMA Modbus ...

1 Information on this DocumentSMA Solar Technology AG

Technical Information 5SI-Modbus-TI-en-10

1.5 Symbols in the DocumentSymbol Explanation

Information that is important for a specific topic or goal, but is not safety-relevant

☐ Indicates a requirement for meeting a specific goal

☑ Desired result

✖ A problem that might occur

Example

1.6 Typographical Elements in the DocumentTypography Use Example

bold • Messages• Terminals• Elements on a user interface• Elements to be selected• Elements to be entered

• Connect the insulated conductorsto the terminals X703:1 toX703:6.

• Enter 10 in the field Minutes.

> • Connects several elements to beselected

• Select Settings > Date.

[Button][Key]

• Button or key to be selected or pressed • Select [Enter].

# • Placeholder for variable components(e.g., parameter names)

• Parameter WCtlHz.Hz#

1.7 Additional InformationFor more information, please go to www.SMA-Solar.com.

Title and information content Type of information

Mounting, installation, commissioning, operation, configuration, troubleshootingand decommissioning of the inverter

Operating manual

"Application for SMA Grid Guard Code" Form

"SMA GRID GUARD 10.0 - Grid Management Services via Inverter and SystemController"

Technical Information

"Modbus® parameters and measured values"Device-specific list of the Modbus register

Technical Information

"SMA Modbus® Interface"Device-independent information on the commissioning and configuration of theSMA Modbus interface

Technical Information

Page 6: Technical Information - Communication via SMA Modbus ...

2 Safety SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-106

2 Safety2.1 Intended UseThe Modbus interface of the supported SMA products is designed for industrial use and has the following tasks:

• Remote control of grid management services• Remote-controlled querying of measured values• Remote-controlled changing of parameters

The battery inverter only supports the Modbus profile developed by SMA.All components must remain within their permitted operating ranges and their installation requirements at all times.Use SMA products only in accordance with the information provided in the enclosed documentation and with thelocally applicable laws, regulations, standards and directives. Any other application may cause personal injury orproperty damage.Alterations to the SMA products, e.g., changes or modifications, are only permitted with the express written permissionof SMA Solar Technology AG. Unauthorized alterations will void guarantee and warranty claims and in most casesterminate the operating license. SMA Solar Technology AG shall not be held liable for any damage caused by suchchanges.Any use of the product other than that described in the Intended Use section does not qualify as the intended use.The enclosed documentation is an integral part of this product. Keep the documentation in a convenient, dry place forfuture reference and observe all instructions contained therein.This document does not replace and is not intended to replace any local, state, provincial, federal or national laws,regulations or codes applicable to the installation, electrical safety and use of the product. SMA Solar Technology AGassumes no responsibility for the compliance or non-compliance with such laws or codes in connection with theinstallation of the product.

2.2 IMPORTANT SAFETY INSTRUCTIONSKeep the manual for future reference.This section contains safety information that must be observed at all times when working.The product has been designed and tested in accordance with international safety requirements. As with all electricalor electronical devices, there are residual risks despite careful construction. To prevent personal injury and propertydamage and to ensure long-term operation of the product, read this section carefully and observe all safetyinformation at all times.

NOTICE

Damage of SMA products due to cyclical changing of parametersThe parameters of SMA products that can be changed with writable Modbus registers (RW) are intended for long-term storage of device settings. Cyclical changing of these parameters leads to destruction of the flash memory ofthe SMA products. These parameters are marked with in the device-specific register HTML file.Parameters for grid management services to control and limit the nominal PV system power are an exception. Suchparameters can be changed cyclically. These parameters are marked with in the device-specific register HTMLfile.

• Do not change device parameters cyclically.• Use the parameters for grid management services for the automated remote control.• Observe the explanations of symbols in the legend within the device-specific register HTML file.

Page 7: Technical Information - Communication via SMA Modbus ...

2 SafetySMA Solar Technology AG

Technical Information 7SI-Modbus-TI-en-10

NOTICE

Manipulation of system data in networksYou can connect the supported SMA products to the Internet. When connected to the Internet, there is a risk thatunauthorized users can access and manipulate the data of your system.

• Set up a firewall.• Close unnecessary network ports.• If absolutely necessary, only enable remote access via a virtual private network (VPN).• Do not use the port forwarding feature. This also applies to the used Modbus ports.• Disconnect system components from other network components (network segmentation).

Access to data points after activating the Modbus interfaceThe read-only access to data points is possible after activating the Modbus interface. The read-only access to alldata points (which are not protected by the SMA Grid Guard code) are possible without further input of apassword via Modbus after activating the Modbus interface.

• Ensure that the Modbus interface is still active after resetting the SMA product to default settings.

2.3 SMA Grid Guard codeCertain parameters are protected by the personal SMA Grid Guard code. If you would like to changes theseparameters, you must first unlock the individual SMA inverters via a personal SMA Grid Guard code. When unlocked,the SMA inverter changes its configuration mode to the Grid Guard mode. Changes to the grid management serviceparameters in Grid Guard mode will be recorded by the SMA inverter. These parameters are marked with in thedevice-specific register HTML file.With an SMA Grid Guard code, only one person, communication device or software tool can log into the SMAproduct. If you want to change parameters via your Modbus client, you are not allowed to use the sameSMA Grid Guard code via Sunny Explorer, user interface of an SMA inverter or via SMA data logger at the sametime.You can obtain the SMA Grid Guard code via SMA Service or via the "Application for SMA Grid Guard Code" atwww.SMA-Solar.com.The SMA Grid Guard code as well as the code for logging out of the Grid Guard mode are described in the Modbusregister 43090 under the Unit ID 3. If an SMA inverter is restarted during Grid Guard mode, the SMA Grid Guardcode must be transmitted again. The Grid Guard mode is ended with the code 0. Login with the Grid Guard code isonly possible with the IP address used during login.For more information on accessing an SMA product via Grid Guard code, see manual of the SMA product. Forparameters that are Grid Guard-protected, see product pages or Modbus page at www.SMA-Solar.com.

Page 8: Technical Information - Communication via SMA Modbus ...

3 System Requirements SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-108

3 System RequirementsMachine☐ Required: Modbus master to establish a Modbus connection to the Sunny Island☐ Recommended: SMA Data Manager M for reading of the Modbus registers of a multicluster system☐ The SMA Data Manager M allows the querying of aggregated power and energy values as well as the state of

charge of the entire multicluster system.

Network and router:☐ Required: Stable network connection to the Sunny Island☐ Recommended: fixed assignment of the IP address to the MAC address of the Sunny Island (see DHCP settings of

the network router)☐ Recommended: deactivation of IGMP-snooping

Page 9: Technical Information - Communication via SMA Modbus ...

4 Application ExamplesSMA Solar Technology AG

Technical Information 9SI-Modbus-TI-en-10

4 Application ExamplesThere are the following application examples for the SMA Modbus interface on the Sunny Island:

Application Stand-alone mode(off-grid)

Parallel grid oper-ation (on-grid)

Reading of Modbus registers ●* ●*

ParameterizationParameter changes must be made individually on each master deviceof the multicluster in a multicluster system.

●* ●*

Power specification ○** ●*

* Application is permitted in the operating mode.** Application is not permitted in the operating mode.

The application examples are described in more detail in the following sections.

4.1 Reading of Modbus RegistersBy means of the SMA Modbus interface various values of the Sunny Island can be read (see technical information"Modbus® parameters and measured values" of the Sunny Island). This includes, for example, operating states, currentpower values and set parameters.A Sunny Island can supply the values of a single-phase single system (individual device) or of a three-phase single-cluster system. The values of a single cluster are queried via the master device of the single cluster.To read aggregated system measured values (e.g. AC power, total state of charge) of a multicluster system, theSMA Data Manager M is required in addition. If no SMA Data Manager M is present, the values must be readindividually via the master devices of the multicluster and aggregated themselves.

Page 10: Technical Information - Communication via SMA Modbus ...

4 Application Examples SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-1010

Reading of Modbus registers via the interface is possible in parallel grid operation and stand-alone mode.

SMAENERGY METER

SMA DATAMANAGER M

ModbusSpeedwire

SLAVE 1SLAVE 2SLAVE 1SLAVE 2

MASTER ofMAIN CLUSTER

MASTER ofEXTENSION CLUSTER

MODBUSMASTER

Multicluster systemSingle cluster system

Single system

Reading of Modbus registers of an individual device

Reading of Modbus registers of a system

Reading of Modbus registers of an individual device

Figure 1: Reading of Modbus registers in PV systems and individual devices

Querying of battery measured values: Compatibility overview

Modbus Sunny Island Modbus Data Manager M

Sunny Island (single-phase) ●* ●*

Sunny Island (three-phase as single-cluster system) ●* ●*

Sunny Island (three-phase as multicluster system) ○** ●*

* Compatible** Not compatible

4.2 ParameterizationThe second application example for the SMA Modbus interface is the setting of the parameters of end devices.Different from reading Modbus registers, there is no system-wide parameterization possible via the Modbus interfaceof the Data Manager M. Parameter changes must be made individually on each master device of the multicluster in amulticluster system (see technical information "Modbus® parameters and measured values" of the Sunny Island).

Parameters with GridGuard symbolIf commissioning of the device occurred more than 10 hours ago, the GridGuard code must be entered to be ableto change parameters with the GridGuard symbol . The current order form for the individual GridGuard code isavailable in the download area under Service & Support on sma.de and can be found using the search term"Gridguard".

Page 11: Technical Information - Communication via SMA Modbus ...

4 Application ExamplesSMA Solar Technology AG

Technical Information 11SI-Modbus-TI-en-10

SMAENERGY METER

SMA DATAMANAGER M

Speedwire Modbus

SLAVE 1SLAVE 2SLAVE 1SLAVE 2

MASTER ofMAIN CLUSTER

MASTER ofEXTENSION CLUSTER

MODBUSMASTER

Parameterization single system /

single-cluster system

Multicluster systemSingle cluster system

Single system

Reading of Modbus registers of a system

Figure 2: Parameterization of systems and individual devices

4.3 Power SpecificationThe third possible application of the SMA Modbus interface is the specification of the active power on the ACterminals of the Sunny Island.Analogous to the parameterization, a system-wide power specification can be made via the SMA Data Manager M.The power specification via the interface is only possible during parallel grid operation.

Maximum usable powerThe maximum usable power with the power specification via Modbus is the continuous rated power of the device(e.g. 6 kW for a Sunny Island 8.0H-13).

External power specificationIn case of external power specification, the inverter receives the setpoint from a higher-level control unit. Thedynamic behavior for the implementation of the setpoint and the fallback behavior for the absent external powersetpoint can be adjusted via parameters (see Section 6, page 14).The setpoint is specified in the form of maximum and minimum value. Thus, limitations for the set operating modeof the inverter (e.g. increased self-consumption) and also exact operating points can be specified.

Page 12: Technical Information - Communication via SMA Modbus ...

4 Application Examples SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-1012

Speedwire Modbus

SMAENERGY METER

SMA DATAMANAGER M

SLAVE 1SLAVE 2

MASTER of theCLUSTER

MODBUSMASTER

Single cluster system

Single system

Active power setpoints

Reading of Modbus registers only

Figure 3: Power control

Power control: Compatibility overview

Power control via Modbus inter-face of the Sunny Island

Power control via Data Man-ager M

Sunny Island in parallel grid opera-tion (single-phase)

●* ○**

Sunny Island in parallel grid opera-tion (three-phase as single-cluster sys-tem)

●* ○**

Sunny Island in stand-alone mode(single-phase)

○** ○**

Sunny Island in stand-alone mode(three-phase as single-cluster system)

○** ○**

Sunny Island in stand-alone mode(three-phase as multicluster system)

○** ○**

* Compatible** Not compatible

Page 13: Technical Information - Communication via SMA Modbus ...

5 Preparing Communication via ModbusSMA Solar Technology AG

Technical Information 13SI-Modbus-TI-en-10

5 Preparing Communication via ModbusThe following preparations must be made prior to the first use of the SMA Modbus interface.

1. Commission the Sunny Island master device (see operating manual of the Sunny Island).2. Select the parameter group External communication via the user interface of the Sunny Island or in the

parameter list of the Data Manager.3. Enable the Modbus interface. Proceed as follows:

• In the group Modbus > TCP server select the drop-down list Activated.• In the drop-down list Activated, select the entry Yes.• In the group Modbus > UDP server select the drop-down list Activated.• In the drop-down list Activated, select the entry Yes.

4. Only for power specification: Configure the Sunny Island in one of the following operating modes:• SelfConsOnly: To configure the Sunny Island in this operating mode, install an SMA Energy Meter or SMA

Home Manager 2.0 on the grid connection.• BackupOnly: To configure the Sunny Island in this operating mode, install a backup or switch box.• SelfCsmpBackup: To configure the Sunny Island in this operating mode, install an SMA Energy Meter or

SMA Home Manager 2.0 on the grid connection. In addition, install a backup or switch box.

Page 14: Technical Information - Communication via SMA Modbus ...

6 Example for Power Specification SMA Solar Technology AG

Technical InformationSI-Modbus-TI-en-1014

6 Example for Power SpecificationThe power specification is described in this section using the example of the following application:You want to completely remote-control a single-cluster system with 3x Sunny Island 8.0H via your own system controlwith the help of the SMA Modbus interface in parallel grid operation.

NOTICE

Damage of SMA products due to cyclical changing of parametersThe parameters of SMA products that can be changed with writable Modbus registers (RW) are intended for long-term storage of device settings. Cyclical changing of these parameters leads to destruction of the flash memory ofthe SMA products. These parameters are marked with in the device-specific register HTML file.Parameters for grid management services to control and limit the nominal PV system power are an exception. Suchparameters can be changed cyclically. These parameters are marked with in the device-specific register HTMLfile.

• Do not change device parameters cyclically.• Use the parameters for grid management services for the automated remote control.• Observe the explanations of symbols in the legend within the device-specific register HTML file.

The Sunny Island can now be cyclically controlled via specification of the minimum and maximum active power. Theoriginally configured operation mode (e.g. increased self-consumption) is carried out within the limits.

75

100

50

25

-50

-75

-100

-25

[%]44039:

44041:

A B C

Maximum output active power

Maximum discharge power

Minimum discharge power

Minimum active power Self-consumption

Cha

rge

Dis

cha

rge

Figure 4: Control of the Sunny Island via specification of the minimum and maximum active power

Example Explanation

A If the system is to provide increased self-consumption via the full nominal charge and nominaldischarge power, select the following settings:

• 44041: Minimum active power to -100%• 44039: Maximum active power to 100%

Page 15: Technical Information - Communication via SMA Modbus ...

6 Example for Power SpecificationSMA Solar Technology AG

Technical Information 15SI-Modbus-TI-en-10

Example Explanation

B If the system is to provide between 20% and 80% of the nominal discharge power, select thefollowing settings:

• 44041: Minimum active power to 20%• 44039: Maximum active power to 80%

If, with these settings, a load greater than 20% of the nominal power of the system is presentat the point of interconnection, the discharge power continues to increase until the load ex-ceeds 80% of the nominal discharge power.

C If the system is to supply an exact power, specify an identical value for the minimum andmaximum active power.If the system is to provide exactly 50% of nominal discharge power, for example, select thefollowing settings:

• 44041: Minimum active power to 50%• 44039: Maximum active power to 50%

Requirements:☐ The Sunny Island is prepared (see Section 5, page 13).

Procedure:1. Enable and configure the general external active power setpoint. To do this, set the following parameters:

• Set the parameter 40210: Operating mode active power to 1079: External specification.• Set the parameter 41195: External active power specification, Timeout to 1 s to 8000 s.• Set the parameter 41193: External active power specification, fallback behavior to 2506: Keep

values or 2507: Adopt fallback values.• Set the parameter 44037: External active power specification, fallback value of the maximum

active power to 0 W to 10000 W.2. Set the ramps of the internal control to external active power specifications:

• Set the parameter 44029: External active power specification, limitation of the ramp rate to 303:Off or 308: On.

• Set the parameter 44031: External active power specification, ramp-up rate to 0.1%/s to 10000%/s.

• Set the parameter 44033: External active power specification, reduction rate to 0.1%/s to 10000%/s.

3. Set the cyclical specification of the minimum and maximum active power (as explained in the precedingexamples).

4. Make sure that a new active power setpoint is transmitted no more than every 500 ms. Otherwise, the device maynot accept the setpoints.

5. Possibly no discharge of the battery due to current state of chargeThe Sunny Island dynamically changes the limit for the discharge protection of the battery. As a result, thebattery of the Sunny Island can have a state of charge in which discharge is temporarily not possible (e.g.with deep discharge protection).

• While the Sunny Island is remotely controlled, permanently monitor the limit for the state of charge. Todo this, read the current limit via 31009: Lower discharge limit for self-consumption area (forfurther information on the battery management see operating manual of the Sunny Island).

Page 16: Technical Information - Communication via SMA Modbus ...

www.SMA-Solar.com