OPC 30141 - UA CS For PROFIenergy v1.00
OPC 30141 - UA CS For PROFIenergy v1.00
F O U N D A T I O N
OPC 30141
Release 1.00
2021-03-15
Specification Industry Standard Comments:
Type: Specification
Document Revisions
Unrestricted
CONTENTS
1 Scope ............................................................................................................................. 8
2 Normative references ...................................................................................................... 8
3 Terms, abbreviated terms and conventions ..................................................................... 9
3.1 Overview ................................................................................................................ 9
3.2 OPC UA for PROFIenergy terms ............................................................................ 9
3.2.1 PE Energy Management .................................................................................. 9
3.2.2 Standby Management ................................................................................... 10
3.2.3 Standby Management Entity .......................................................................... 10
3.2.4 Energy Saving Mode ..................................................................................... 10
3.2.5 Energy Measurement .................................................................................... 10
3.2.6 Metering Point ............................................................................................... 10
3.2.7 Sleep Mode WOL .......................................................................................... 10
3.3 Abbreviated terms ................................................................................................ 10
3.4 Conventions used in this document ...................................................................... 10
3.4.1 Conventions for Node descriptions ................................................................ 10
3.4.2 NodeIds and BrowseNames .......................................................................... 13
3.4.3 Common Attributes ....................................................................................... 13
4 General information to PE Energy Management and OPC UA ....................................... 15
4.1 Introduction to PE Energy Management ................................................................ 15
4.1.1 General ......................................................................................................... 15
4.1.2 Standby Management ................................................................................... 15
4.1.3 Energy Measurement .................................................................................... 16
4.1.4 Sleep Mode WOL .......................................................................................... 17
4.2 Introduction to OPC Unified Architecture .............................................................. 18
4.2.1 What is OPC UA?.......................................................................................... 18
4.2.2 Basics of OPC UA ......................................................................................... 18
4.2.3 Information modelling in OPC UA .................................................................. 19
5 Use cases ..................................................................................................................... 24
6 PE Energy Management Information Model ................................................................... 26
7 PROFIenergy Service Access Point Information Model ................................................. 28
8 OPC UA ObjectTypes .................................................................................................... 30
8.1 Standby Management ........................................................................................... 30
8.1.1 EnergyStandbyManagementType .................................................................. 30
8.1.2 EnergySavingModesContainerType ............................................................... 33
8.1.3 EnergySavingModeStatusType ...................................................................... 33
8.1.4 EnergySavingModeType ............................................................................... 33
8.2 Energy Measurement ........................................................................................... 36
8.2.1 Overview ....................................................................................................... 36
8.2.2 EnergyMeasurementType.............................................................................. 36
8.2.3 Interfaces for EnergyProfiles ......................................................................... 36
8.3 Sleep Mode WOL Functionality ............................................................................. 41
8.3.1 EnergyDevicePowerOffType .......................................................................... 41
8.4 PeServiceAccessPointType .................................................................................. 42
9 OPC UA VariableTypes ................................................................................................. 43
Unrestricted
OPC UA for PROFIenergy ii Release 1.00
FIGURES
Figure 1 – Standby Management State Model ...................................................................... 16
Figure 2 – The Scope of OPC UA within an Enterprise ......................................................... 19
Figure 3 – A Basic Object in an OPC UA Address Space ...................................................... 20
Figure 4 – The Relationship between Type Definitions and I nstances ................................... 21
Figure 5 – Examples of References between Objects ........................................................... 22
Figure 6 – The OPC UA Information Model Notation ............................................................. 22
Figure 7 – Structural organization of PE Energy Management related functionality ............... 26
Figure 8 – Relationship to functional application model ........................................................ 27
Figure 9 – PROFIenergy OPC UA Object structure ............................................................... 28
Figure 10 – Example of the structure with two PE Entities represented by two submodules .. 29
Figure 11 – Implementing different EnergyProfiles ............................................................... 38
Figure 12 – RegularTimeToOperate vs. CurrentTimeToOperate ........................................... 47
Figure 13 – Basic PE object model (see [PE CAP], chapter 7.1) ........................................... 61
Figure 14 – Basic PE state model (see [PE CAP], Figure 4) ................................................. 62
OPC UA for PROFIenergy iv Release 1.00
TABLES
Table 1 – Examples of DataTypes ........................................................................................ 11
Table 2 – Type Definition Table ............................................................................................ 12
Table 3 – Examples of Other Characteristics ........................................................................ 12
Table 4 – <some>Type Additional References ...................................................................... 12
Table 5 – <some>Type Additional Subcomponents............................................................... 13
Table 6 – Common Node Attributes ...................................................................................... 14
Table 7 – Common Object Attributes .................................................................................... 14
Table 8 – Common Variable Attributes ................................................................................. 14
Table 9 – Common VariableType Attributes .......................................................................... 15
Table 10 – Common Method Attributes ................................................................................. 15
Table 11 – Use Cases and related Companion Specification contributions ........................... 24
Table 12 – EnergyStandbyManagementType Definition ........................................................ 30
Table 13 – Defined elements of EnumStrings array of StandbyManagementStatus Variable . 30
Table 14 – EnergyStandbyManagementType Attribute values for child Nodes ...................... 31
Table 15 – Possible Method result codes ............................................................................. 33
Table 16 – Possible ReturnCode parameter Values .............................................................. 33
Table 17 – EnergySavingModesContainerType Definition ..................................................... 33
Table 18 – EnergySavingModeStatusType Definition ............................................................ 33
Table 19 – EnergySavingModeType Definition ..................................................................... 34
Table 20 – EnergyMeasurementType Definition .................................................................... 36
Table 21 – Interfaces for EnergyProfiles ............................................................................... 37
Table 22 – IEnergyProfileE0Type Definition ......................................................................... 38
Table 23 – IEnergyProfileE0Type Attribute values for child N odes ........................................ 38
Table 24 – IEnergyProfileE1Type Definition ......................................................................... 39
Table 25 – IEnergyProfileE1Type Attribute values for child Nodes ........................................ 39
Table 26 – IEnergyProfileE2Type Definition ......................................................................... 39
Table 27 – IEnergyProfileE2Type Attribute values for child Nodes ........................................ 39
Table 28 – IEnergyProfileE3Type Definition ......................................................................... 40
Table 29 – IEnergyProfileE3Type Attribute values for child Nodes ........................................ 40
Table 30 – IEnergyProfileD0Type Definition ......................................................................... 41
Table 31 – IEnergyProfileD0Type Attribute values for child Nodes ....................................... 41
Table 32 – EnergyDevicePowerOffType Definition ................................................................ 41
Table 33 – PeServiceAccessPointType Definition ................................................................. 42
Table 34 – MeasurementValueType Definition ...................................................................... 43
Table 35 – Values for AccuracyDomain variable ................................................................... 44
Table 36 – Coding of percent values .................................................................................... 44
Table 37 – Coding of function performance classes and system performance classes (1) ..... 45
Table 38 – Coding of function performance classes and system performance classes (2) ..... 45
Table 39 – StandbyModeTransitionDataType Structure ........................................................ 46
Table 40 – StandbyModeTransitionDataType Definition ........................................................ 46
Table 41 – EnergyStateInformationDataType Structure ........................................................ 47
Table 42 – EnergyStateInformationDataType Definition ........................................................ 47
OPC UA for PROFIenergy v Release 1.00
AGREEMENT OF USE
COPYRIGHT RESTRICTIONS
This document is provided "as is" by the OPC Foundation and the PROFIBUS Nutzerorganisation e.V..
Right of use for this specification is restricted to this specification and does not grant rights of use for referred
documents.
Right of use for this specification will be granted without cost.
This document may be distributed through computer systems, printed or copied as long as the content remains
unchanged and the document is not modified.
OPC Foundation and the PROFIBUS Nutzerorganisation e.V. do not guarantee usability for any purpose and shall
not be made liable for any case using the content of this document.
The user of the document agrees to indemnify OPC Foundation and the PROFIBUS Nutzerorganisation e.V. and
their officers, directors and agents harmless from all demands, claims, actions, losses, damages (including
damages from personal injuries), costs and expenses (including attorneys' fees) which are in any way related to
activities associated with its use of content from this specification.
The document shall not be used in conjunction with company advertising, shall not be sold or licensed to any party.
The intellectual property and copyright is solely owned by the OPC Foundation and the PROFIBUS
Nutzerorganisation e.V..
PATENTS
The attention of adopters is directed to the possibility that compliance with or adoption of OPC or PROFIBUS
Nutzerorganisation e.V. specifications may require use of an invention covered by patent rights. OPC Foundation or
PROFIBUS Nutzerorganisation e.V. shall not be responsible for identifying patents for which a license may be required by
any OPC or PROFIBUS Nutzerorganisation e.V. specification, or for conducting legal inquiries into the legal validity or scope
of those patents that are brought to its attention. OPC or PROFIBUS Nutzerorganisation e.V. specifications are prospective
and advisory only. Prospective users are responsible for protecting themselves against liability for infringement of patents.
WHILE THIS PUBLICATION IS BELIEVED TO BE ACCURATE, IT IS PROVIDED "AS IS" AND MAY CONTAIN ERRORS OR
MISPRINTS. THE OPC FOUDATION NOR PROFIBUS Nutzerorganisation e.V. MAKES NO WARRANTY OF ANY KIND,
EXPRESSED OR IMPLIED, WITH REGARD TO THIS PUBLICATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTY
OF TITLE OR OWNERSHIP, IMPLIED WARRANTY OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR A
PARTICULAR PURPOSE OR USE. IN NO EVENT SHALL THE OPC FOUNDATION NOR PROFIBUS Nutzerorganisation
e.V. BE LIABLE FOR ERRORS CONTAINED HEREIN OR FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
CONSEQUENTIAL, RELIANCE OR COVER DAMAGES, INCLUDING LOSS OF PROFITS, REVENUE, DATA OR USE,
INCURRED BY ANY USER OR ANY THIRD PARTY IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE
OF THIS MATERIAL, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
The entire risk as to the quality and performance of software developed using this specification is borne by you.
This Specification is provided with Restricted Rights. Use, duplication or disclosure by the U.S. government is subject to
restrictions as set forth in (a) this Agreement pursuant to DFARs 227.7202 -3(a); (b) subparagraph (c)(1)(i) of the Rights in
Technical Data and Computer Software clause at DFARs 252.227 -7013; or (c) the Commercial Computer Software Restricted
Rights clause at FAR 52.227-19 subdivision (c)(1) and (2), as applicable. Contractor / manufacturer are the OPC Foundation,
16101 N. 82nd Street, Suite 3B, Scottsdale, AZ, 85260 -1830
COMPLIANCE
The combination of PROFIBUS Nutzerorganisation e.V. and OPC Foundation shall at all times be the sole entities that may
authorize developers, suppliers and sellers of hardware and software to use certification marks, trademarks or other special
designations to indicate compliance with these materials as specified within this document. Products developed using this
specification may claim compliance or conformance with this specification if and only if the software satisfactorily meets th e
certification requirements set by PROFIBUS Nutzerorganisation e.V. or the OPC Foundation. Products that do not meet
these requirements may claim only that the product was based on this specification and must not claim compliance or
conformance with this specification.
OPC UA for PROFIenergy vii Release 1.00
TRADEMARKS
Most computer and software brand names have trademarks or registered trademarks. The individual trademarks have not
been listed here.
GENERAL PROVISIONS
Should any provision of this Agreement be held to be void, invalid, unenforceable or illegal by a court, the validity and
enforceability of the other provisions shall not be affected thereby.
This Agreement shall be governed by and construed under the laws of Germany.
This Agreement embodies the entire understanding between the parties with respect to, and supersedes any pri or
understanding or agreement (oral or written) relating to, this specification.
Release 1.00 8 OPC UA for PROFIenergy
1 Scope
This document specifies the OPC UA Information Model to represent the Objects and services
that comprise PROFIenergy (PE) Energy Management as defined in chapter 4.1. The PE Energy
Management Information Model is based on PROFIenergy [PE CAP].
OPC Foundation
OPC is the interoperability standard for the secure and reliable exchange of data and
information in the industrial automation space and in other industries. It is platform independent
and ensures the seamless flow of information among devices from multiple vendors. The OPC
Foundation is responsible for the development and maintenance of this standard.
The PROFIBUS and PROFINET user organization (PNO: Profibus Nutzerorganisation e. V.)
was founded in 1989 and is the largest automation community in the world and responsible for
PROFIBUS and PROFINET, the two most important enabling technologies in automation today.
The PNO is member of PROFIBUS and PROFINET International (PI).
The common interest of the PNO global network of vendors, developers, system integrators and
end users covering all industries lies in promoting, supporting and using PROFINET. Regionally
and globally about 1,400 member companies are working closely together to the best
automation possible. No other fieldbus organization in the world has the same kind of global
influence and reach.
2 Normative references
The following referenced documents are indispensab le for the application of this document. For
dated references, only the edition cited applies. For undated references, the latest edition of
the referenced document (including any amendments and errata) applies.
[OPC 10001-11], OPC Unified Architecture V1.04 - Amendment 11: Spatial Types
http://www.opcfoundation.org/UA/Amendment11/
[PE CAP] Common Application Profile PROFIenergy – Version V1.3 – Date: September 2019 –
Order No.: 3.802
[OPC PN] OPC UA for PROFINET – Release V1.0 – Date: January 2020 –
Order No.: 30140
3.1 Overview
It is assumed that basic concepts of OPC UA information modelling and PROFIenergy [PE CAP]
are known to understand this document. This document will use these concepts to describe the
PE Energy Management Information Model. For the purposes of this document, the terms and
definitions given in [OPC 10000-1], [OPC 10000-3], [OPC 10000-4], [OPC 10000-5], [OPC
10000-7], and [OPC 10000-100] as well as the following apply.
Note that OPC UA terms and terms defined in this document are italicized.
PE Energy Management comprises all services allowing to retrieve Energy Measurement data
and all services allowing to change the operational state with respect to its energy consumption:
Release 1.00 10 OPC UA for PROFIenergy
Standby Management and Sleep Mode WOL. PE Energy Management services are offered by
devices implementing the PROFIenergy Common Application Profile (See [PE CAP]).
Energy Measurement comprises the services to retrieve energy related data from a Metering
Point.
A Metering Point defines a specific location or function block to which a set of Energy
Measurement values belongs.
Sleep Mode WOL is a functionality affecting the whole device. It allows to switch off a device
entirely and to switch on again by sending a special WOL network packet.
Attributes are defined by providing the Attribute name and a value, or a description of the value.
OPC UA for PROFIenergy 11 Release 1.00
References are defined by providing the ReferenceType name, the BrowseName of the
TargetNode and its NodeClass.
If the TargetNode is a component of the Node being defined in the table the Attributes
of the composed Node are defined in the same row of the table.
The DataType is only specified for Variables; “[<number>]” indicates a single-
dimensional array, for multi-dimensional arrays the expression is repeated for each
dimension (e.g. [2][3] for a two-dimensional array). For all arrays the ArrayDimensions
is set as identified by <number> values. If no <number> is set, the corresponding
dimension is set to 0, indicating an unknown size. If no number is provided at all the
ArrayDimensions can be omitted. If no brackets are provided, it identifies a scalar
DataType and the ValueRank is set to the corresponding value (see [OPC 10000-3]).
In addition, ArrayDimensions is set to null or is omitted. If it can be Any or
ScalarOrOneDimension, the value is put into “{<value>}”, so either “{Any}” or
“{ScalarOrOneDimension}” and the ValueRank is set to the corresponding value (see
[OPC 10000-3]) and the ArrayDimensions is set to null or is omitted. Examples are
given in Table 1.
If the NodeId of a DataType is provided, the symbolic name of the Node representing the
DataType shall be used.
Nodes of all other NodeClasses cannot be defined in the same table; therefore, only the used
ReferenceType, their NodeClass and their BrowseName are specified. A reference to another
part of this document points to their definition.
Release 1.00 12 OPC UA for PROFIenergy
Table 2 illustrates the table. If no components are provided, the DataType, TypeDefinition and
Other columns may be omitted and only a Comment column is introduced to point to the Node
definition.
Attribute Value
Attribute name Attribute value. If it is an optional Attribute that is not set ”--” is used.
The Other column defines additional characteristics of the Node. Examples of characteristics
that can appear in this column are show in Table 3.
If multiple characteristics are defined, they are separated by commas. The name or the short
name may be used.
To provide information about additional References, the format as shown in Table 4 is used.
3.4.2.1 NodeIds
The NodeIds of all Nodes described in this standard are only symbolic names. [OPC 10000-6]
defines the actual NodeIds.
The symbolic name of each Node defined in this document is its BrowseName, or, when it is
part of another Node, the BrowseName of the other Node, a “.”, and the BrowseName of itself.
In this case “part of” means that the whole has a HasProperty or HasComponent Reference to
its part. Since all Nodes not being part of another Node have a unique name in this document,
the symbolic name is unique.
The NamespaceUri for all NodeIds defined in this document is defined in Annex A. The
NamespaceIndex for this NamespaceUri is vendor-specific and depends on the position of the
NamespaceUri in the server namespace table.
Note that this document not only defines concrete Nodes, but also requires that some Nodes
shall be generated, for example one for each Session running on the Server. The NodeIds of
those Nodes are Server-specific, including the namespace. But the NamespaceIndex of those
Nodes cannot be the NamespaceIndex used for the Nodes defined in this document, because
they are not defined by this document but generated by the Server.
3.4.2.2 BrowseNames
The text part of the BrowseNames for all Nodes defined in this document is specified in the
tables defining the Nodes. The NamespaceUri for all BrowseNames defined in this document is
defined in Annex A.
If the BrowseName is not defined by this document, a namespace index prefix like
‘0:EngineeringUnits’ or ‘2:DeviceRevision’ is added to the BrowseName. This is typically
necessary if a Property of another specification is overwritten or used in the OPC UA types
defined in this document. Table 70 provides a list of namespaces and their indexes as used in
this document.
3.4.3.1 General
The Attributes of Nodes, their DataTypes and descriptions are defined in [OPC 10000-3].
Attributes not marked as optional are mandatory and shall be provided by the Server. The
following tables define if the Attribute value is defined by this document or if it is server-specific.
For all Nodes specified in this document, the Attributes named in Table 6 shall be set as
specified in the table.
Release 1.00 14 OPC UA for PROFIenergy
Attribute Value
DisplayName The DisplayName is a LocalizedText. Each server shall provide the DisplayName identical to the
BrowseName of the Node for the LocaleId “en”. Whether the server provides translated names for
other LocaleIds are server-specific.
Description Optionally a server-specific description is provided.
NodeClass Shall reflect the NodeClass of the Node.
NodeId The NodeId is described by BrowseNames as defined in 3.4.2.1.
WriteMask Optionally the WriteMask Attribute can be provided. If the WriteMask Attribute is provided, it shall set
all non-server-specific Attributes to not writable. For example, the Description Attribute may be set to
writable since a Server may provide a server-specific description for the Node. The NodeId shall not be
writable, because it is defined for each Node in this document.
UserWriteMask Optionally the UserWriteMask Attribute can be provided. The same rules as for the WriteMask
Attribute apply.
RolePermissions Optionally server-specific role permissions can be provided.
UserRolePermissions Optionally the role permissions of the current Session can be provided. The value is server-specific and
depends on the RolePermissions Attribute (if provided) and the current Session.
AccessRestrictions Optionally server-specific access restrictions can be provided.
3.4.3.2 Objects
For all Objects specified in this document, the Attributes named in Table 7 shall be set as
specified in the table. The definitions for the Attributes can be found in [OPC 10000-3].
Attribute Value
EventNotifier Whether the Node can be used to subscribe to Events or not is server-specific.
3.4.3.3 Variables
For all Variables specified in this document, the Attributes named in Table 8 shall be set as
specified in the table. The definitions for the Attributes can be found in [OPC 10000-3].
Attribute Value
MinimumSamplingInterval Optionally, a server-specific minimum sampling interval is provided.
AccessLevel The access level for Variables used for type definitions is server-specific, for all other Variables
defined in this document, the access level shall allow reading; other settings are server-specific.
UserAccessLevel The value for the UserAccessLevel Attribute is server-specific. It is assumed that all Variables can be
accessed by at least one user.
Value For Variables used as InstanceDeclarations, the value is server-specific; otherwise it shall represent
the value described in the text.
ArrayDimensions If the ValueRank does not identify an array of a specific dimension (i.e. ValueRank <= 0) the
ArrayDimensions can either be set to null or the Attribute is missing. This behaviour is server-specific.
If the ValueRank specifies an array of a specific dimension (i.e. ValueRank > 0) then the
ArrayDimensions Attribute shall be specified in the table defining the Variable.
Historizing The value for the Historizing Attribute is server-specific.
AccessLevelEx If the AccessLevelEx Attribute is provided, it shall have the bits 8, 9, and 10 set to 0, meaning that
read and write operations on an individual Variable are atomic, and arrays can be partly written.
3.4.3.4 VariableTypes
For all VariableTypes specified in this document, the Attributes named in Table 9 shall be set
as specified in the table. The definitions for the Attributes can be found in [OPC 10000-3].
OPC UA for PROFIenergy 15 Release 1.00
Attributes Value
Value Optionally a server-specific default value can be provided.
ArrayDimensions If the ValueRank does not identify an array of a specific dimension (i.e. ValueRank <= 0) the
ArrayDimensions can either be set to null or the Attribute is missing. This behaviour is server-specific.
If the ValueRank specifies an array of a specific dimension (i.e. ValueRank > 0) then the ArrayDimensions
Attribute shall be specified in the table defining the VariableType.
3.4.3.5 Methods
For all Methods specified in this document, the Attributes named in Table 10 shall be set as
specified in the table. The definitions for the Attributes can be found in [OPC 10000-3].
Attributes Value
Executable All Methods defined in this document shall be executable (Executable Attribute set to “True”), unless it is
defined differently in the Method definition.
UserExecutable The value of the UserExecutable Attribute is server-specific. It is assumed that all Methods can be
executed by at least one user.
4.1.1 General
PE Energy Management comprises all services allowing to obtain energy related information
and to control the state of all energy manageable entities contained in the PE Energy
Information Model. The PE Energy Information Model is based on the PROFIenergy profile [PE
CAP]. The PE Energy Management functions defined in this specification are separated into
three main categories: Standby Management, Energy Measurement, and Sleep Mode WOL.
Standby Management allows a device or parts of a device to switch into an Energy Saving Mode
if not in operation or engaged. If a Standby Management Entity supports more than one Energy
Saving Mode (with different levels of energy consumption), transitions from one Energy Saving
Mode into another might be possible. For the smooth integration of devices with Standby
Management functionality into a production process, Standby Management offers commands
to issue the transition into an Energy Saving Mode and the termination of an Energy Saving
Mode with switchback to normal operation.
Devices might also support Sleep Mode WOL functionality allowing to completely switch off a
device. If this Sleep Mode WOL functionality is active, the device in Sleep Mode WOL is not
reachable for network communication and can only be ‘awa kened’ by receiving a ‘WOL magic
packet’.
Standby Management defines a state model determining the possible state transitions. Figure
1 shows the state model.
Release 1.00 16 OPC UA for PROFIenergy
Energy saving
disabled
wake up complete
start pause Ready to operate
go sleep mode WOL state change complete
Energy saving
state change complete end pause
mode
Wake up WOL
Moving to sleep
Sleep Mode WOL WOL magic packet
mode WOL
When in ‘Energy saving disabled’ state, the device is in normal operation and does not accept
standby commands. In the ‘Ready to operate’ state the device accepts standby commands.
When in transition to or from an Energy Saving Mode, the device has a ‘Moving to …’ transition
state. Thus the state model reflects the physical properties of a real-world device: Changes in
energy consumption imply changes of some physical process es which will always be time
consuming.
Standby Management is made available for OPC UA Clients with the ObjectTypes defined in
chapter 8.1 ”Standby Management”.
Status information functionality of Standby Management provides information about the current
state of a Standby Management Entity, the current energy consumption, the available Energy
Saving Modes and their detailed characteristics.
The current state information of a Standby Management Entity is made available for OPC UA
Clients with the EnergySavingModeStatusType (chapter 8.1.3) referenced by the
EnergyStandbyManagementType.
Energy Measurement functionality allows the retrieval of energy related measurement values.
Possible Energy Measurement values offered are energy counters, current power consumption,
active and reactive power, frequency, voltage, current, information about maximum and
minimum values of the former, and more. Furthermore, the Energy Measurement is not limited
to electrical energy. In addition, different Metering Points of a device can be distinguished.
OPC UA for PROFIenergy 17 Release 1.00
In general, the number and type of Energy Measurement values provided are vendor specific.
For simplification and standardization, specific EnergyProfile types are defined which comprise
a predefined set of measurement values together with a guaranteed measurement accuracy.
However, when proxying the PROFIenergy Profile, additional measurement values are already
defined (See [PE CAP] for details).
Energy Measurement is made available for OPC UA Clients with the ObjectTypes defined in
chapter 8.2 ”Energy Measurement”.
The Sleep Mode WOL functionality allows to entirely switch off the device, including the network
interface, and to switch on again by using the standard WOL (Wake-on-LAN) mechanism. The
transition to the Sleep Mode WOL state is initiated by invoking the SwitchOffWOL Method of
the EnergyDevicePowerOffType.
If the switched off device contains the OPC UA server, the connection of the OPC client to the
server disconnects. The server will be reachable again after a wake up of the device by Wake-
on-LAN (sending the WOL magic wake-up packet).
Release 1.00 18 OPC UA for PROFIenergy
OPC UA is an open and royalty free set of standards designed as a universal communication
protocol. While there are numerous communication solutions available, OPC UA has key
advantages:
OPC UA has a broad scope which delivers for economies of scale for application developers.
This means that a larger number of high-quality applications at a reasonable cost are available.
When combined with semantic models such as PROFIenergy, OPC UA makes it easier for end
users to access data via generic commercial applications.
The OPC UA model is scalable from small devices to ERP systems. OPC UA Servers process
information locally and then provide that data in a consistent format to any application
requesting data - ERP, MES, PMS, Maintenance Systems, HMI, Smartphone or a standard
Browser, for examples. For a more complete overview see [OPC 10000-1].
OPC UA is an open standard based on internet technologies like TCP/IP, HTTP, Web Sockets.
As an extensible standard, OPC UA provides a set of Services (see [OPC 10000-4]) and a basic
Information Model framework. This framework provides an easy manner for creating and
exposing vendor defined information in a standard way. More importantly all OPC UA Clients
are expected to be able to discover and use vendor -defined information. This means OPC UA
users can benefit from the economies of scale that come with generic visualization and historian
applications. This specification is an OPC UA Information Model designed to meet the needs of
developers and users.
OPC UA Clients can be any consumer of data from another device on the network to browser
based thin Clients and ERP systems. The full scope of OPC UA applications is shown in Figure
2.
OPC UA for PROFIenergy 19 Release 1.00
OPC UA provides a robust and reliable communication infrastructure having mechanisms for
handling lost messages, failover, heartbeat, etc. With its binary encoded data, it offers a high-
performing data exchange solution. Security is built into OPC UA as security requirements
become more and more important especially since environments are connected to the office
network or the internet and attackers are starting to focus on automa tion systems.
4.2.3.1 Concepts
OPC UA provides a framework that can be used to represent complex information as Objects
in an AddressSpace which can be accessed with standard services. These Objects consist of
Nodes connected by References. Different classes of Nodes convey different semantics. For
example, a Variable Node represents a value that can be read or written. The Variable Node
has an associated DataType that can define the actual value, such as a string, float, structure
etc. It can also describe the Variable value as a variant. A Method Node represents a function
that can be called. Every Node has a number of Attributes including a unique identifier called a
NodeId and non-localized name called as BrowseName. An Object representing a ‘Reservation’
is shown in Figure 3.
Release 1.00 20 OPC UA for PROFIenergy
Reservation
Method Nodes
Cancel define complex
behaviors
Object Nodes
convey semantics
and structure
When
Who
End
4:00PM
Start
2:00PM
Variable Nodes
provide access to data
Last Name
Smith
First Name
John
Object and Variable Nodes represent instances and they always reference a TypeDefinition
(ObjectType or VariableType) Node which describes their semantics and structure. Figure 4
illustrates the relationship between an instance and its TypeDefinition.
The type Nodes are templates that define all of the children that can be present in an instance
of the type. In the example in Figure 4 the PersonType ObjectType defines two children: First
Name and Last Name. All instances of PersonType are expected to have the same c hildren
with the same BrowseNames. Within a type the BrowseNames uniquely identify the children.
This means Client applications can be designed to search for children based on the
BrowseNames from the type instead of NodeIds. This eliminates the need for manual
reconfiguration of systems if a Client uses types that multiple Servers implement.
OPC UA also supports the concept of sub-typing. This allows a modeller to take an existing
type and extend it. There are rules regarding sub-typing defined in [OPC 10000-3], but in
general they allow the extension of a given type or the restriction of a DataType. For example,
the modeller may decide that the existing ObjectType in some cases needs an additional
Variable. The modeller can create a subtype of the ObjectType and add the Variable. A Client
that is expecting the parent type can treat the new type as if it was of the parent type. Regarding
DataTypes, subtypes can only restrict. If a Variable is defined to have a numeric value, a sub
type could restrict it to a float.
OPC UA for PROFIenergy 21 Release 1.00
Structure and
BaseObjectType semantics can
be inherited
from other types
PersonType
ObjectType Nodes
First Name are templates that
describe the structure
[String] of an instance
Last Name
[String]
Who
References allow Nodes to be connected in ways that describe their relationships. All
References have a ReferenceType that specifies the semantics of the relationship. References
can be hierarchical or non-hierarchical. Hierarchical References are used to create the structure
of Objects and Variables. Non-hierarchical are used to create arbitrary associations.
Applications can define their own ReferenceType by creating subtypes of an existing
ReferenceType. Subtypes inherit the semantics of the parent but may add additional
restrictions. Figure 5 depicts several References, connecting different Objects.
Release 1.00 22 OPC UA for PROFIenergy
Non-
Hierarchical
Organizes
Breeds
Reference Types
Owns can be created
from other reference types
HasBreed
Has
Classification
LivesIn
Farmers Animals
The figures above use a notation that was developed for the OPC UA specification. The notation
is summarized in Figure 6. UML representations can also be used; however, the OPC UA
notation is less ambiguous because there is a direct mapping from the elements in the figures
to Nodes in the AddressSpace of an OPC UA Server.
Standard
<TypeName> <TypeName> <TypeName>
References
A complete description of the different types of Nodes and References can be found in [OPC
10000-3] and the base structure is described in [OPC 10000-5].
OPC UA specification defines a very wide range of functionality in its basic Information Model.
It is not required that all Clients or Servers support all functionality in the OPC UA specificati ons.
OPC UA includes the concept of Profiles, which segment the functionality into testable
certifiable units. This allows the definition of functional subsets ( that are expected to be
implemented) within a companion specification. The Profiles do not restrict functionality, but
generate requirements for a minimum set of functionality (see [OPC 10000-7])
4.2.3.2 Namespaces
OPC UA allows information from many different sources to be combined into a single coherent
AddressSpace. Namespaces are used to make this possible by eliminating naming and id
conflicts between information from different sources. Each namespace in OPC UA has a
globally unique string called a NamespaceUri which identifies a naming authority and a locally
unique integer called a NamespaceIndex, which is an index into the Server's table
of NamespaceUris. The NamespaceIndex is unique only within the context of a Session
between an OPC UA Client and an OPC UA Server- the NamespaceIndex can change between
Sessions and still identify the same item even though the NamespaceUri's location in the table
has changed. The Services defined for OPC UA use the NamespaceIndex to specify the
Namespace for qualified values.
There are two types of structured values in OPC UA that are qualified with NamespaceIndexes:
NodeIds and QualifiedNames. NodeIds are locally unique (and sometimes globally unique)
identifiers for Nodes. The same globally unique NodeId can be used as the identifier in a Node
in many Servers – the Node's instance data may vary but its semantic meaning is the same
regardless of the Server it appears in. This means Clients can have built-in knowledge of what
the data means in these Nodes. OPC UA Information Models generally define globally unique
NodeIds for the TypeDefinitions defined by the Information Model.
QualifiedNames are non-localized names qualified with a Namespace. They are used for the
BrowseNames of Nodes and allow the same names to be used by different Information Models
without conflict. TypeDefinitions are not allowed to have children with duplicate BrowseNames;
however, instances do not have that restriction.
5 Use cases
Table 11 lists possible use cases of interest for OPC UA Clients. Typically, the use case
implementation consists of data retrieval with OPC UA, utilisation of OPC UA standard
mechanisms like subscriptions and downstream data processing on the client site.
The use cases are supported by OPC UA Servers running directly on the device or by proxy
Servers offering OPC UA access for devices discovered with PROFINET services (according to
the Edge gateway use case in [OPC PN], chapter 5.2.2).
The PE Energy Management functionality and the Energy Measurement data are accessible
for Clients directly when browsing the components of the “EnergyManagement” folder. Figure
7 shows an overview of the structural organization of the energy related functionality.
The EnergyDevicePowerOffType Object provides access to the devices’ Sleep Mode WOL if
supported. Clients can initiate the transition into the Sleep Mode WOL by invoking the
SwitchOffWOL Method.
EnergyManagement
0 .. n EnergyMeasurementType
Organizes
0 .. n
Metering Point X
MeasurementValueType
Measurement n
0 .. n
Organizes EnergyStandbyManagementType
Standby Management Entity X
EnergySavingModesContainerType
EnergySavingModes
0 .. n StartPause
Organizes
EndPause
EnergyDevicePowerOffType
PowerOff Device X
SwitchOffWOL
Figure 8 shows the relationship between the PE Energy Management model and the other
functional parts of the application model. HasEnergyMeasurement References connect the
functional parts of the model with related EnergyMeasurementType Objects providing Energy
Measurement values. HasEnergyStandbyManagement References connect the functional parts
of the model offering Standby Management functions with related
EnergyStandbyManagementType Objects. The EnergyDevicePowerOffType Object has no
Reference to a functional part since the entire device is affected by power off.
Figure 8 shows a device with two main functional parts: The DriveConveyor Object is a
functional part supporting Energy Measurement only. The Heating Object is a functional part
supporting Energy Measurement and Standby Management.
Functions Organizes
Organizes
EnergyManagement
EnergyMeasurementType
Organizes HasEnergyMeasurement DriveConveyor
Metering Point DriveConveyor
MeasurementValueType
AcActivePower
EnergyMeasurementType
HasEnergyMeasurement Heating
Metering Point Heating
MeasurementValueType
DcCurrent
EnergyStandbyManagementType
HasEnergyStandbyManagement
Standby Management Heating
EnergySavingModesContainerType
EnergySavingModes
EnergySavingModeType
Standby Mode S
Legend:
Energy Management
EnergyDevicePowerOffType
PowerOff Other Functional Models
Figure 9 shows the detailed PE Energy Management’s Information Model with the whole Object
structure and the related type definitions. The figure contains the three basic independent root
Objects for energy Standby Management, Energy Measurement and Sleep Mode WOL.
EnergyManagement 0:FolderType
AcCurrent MeasurementValueType
EnergySavingModes EnergySavingModesContainerType
Standby EnergySavingModeType
EnergySavingModeStatus EnergySavingModeStatusType
StartPause
SwitchToEnergySavingMode
EndPause
Limit access to method call and
PauseTime write access to one client
Lock DI:LockingServicesType
PowerOff EnergyDevicePowerOffType
SwitchOffWOL
A connection of the PE Energy Management Information Model with the PROFINET model using
PESAP Objects as shown in Figure 10 may be provided. The PESAP@PN Object represents
the PROFIenergy Entity (PE Entity). A PE Entity comprises all PE Energy Management services
accessible through one service access point (SAP). For a PROFINET device, a dedicated
submodule is the service access point for the PROFIenergy functionality of one PE Entity. The
connection with the PROFINET submodule is provided with a HasAddin Reference.
One device can have more than one service access points thus containing more than one PE
Entity.
The ‘Represents’ References pointing to the Standby Management Object, the Energy
Measurement Objects and the PowerOff Object allow to browse the PN Submodule representing
OPC UA for PROFIenergy 29 Release 1.00
the PROFIenergy service access point (PESAP) from the PE Energy Management Information
Model.
The properties attributed to a specific PE Entity in the PROFIenergy Object model like
PROFIenergy version and PROFIenergy class are available through a PESAP Object.
PN Domain EnergyManagement
PN Device HasEnergyPowerOff
Organizes
Metering Point Drive
Conveyor
PN Module
Organizes
Represents
PN Submodule
HasAddin PESAP@0x1 Represents PowerOff Organizes
0x1
Version
Represents Organizes
PN Submodule
HasAddin PESAP@0x2 Represents Standby Management Heating
0x2
Version Represents
optional
Class Metering Point Heating
Legend:
PROFINET model
PESAP object
Energy Management model
Figure 10 – Example of the structure with two PE Entities represented by two submodules
Release 1.00 30 OPC UA for PROFIenergy
8 OPC UA ObjectTypes
8.1.1 EnergyStandbyManagementType
Attribute Value
BrowseName EnergyStandbyManagementType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasComponent Variable StandbyManagementStatus Byte 0:MultiStateDiscreteType M, RO
0:HasComponent Object EnergySavingModeStatus EnergySavingModeStatusType M
0:HasComponent Object EnergySavingModes EnergySavingModesContainerType O
0:HasComponent Variable PauseTime 0:Duration 0:BaseDataVariableType M, RW
0:HasComponent Object 2:Lock 2:LockingServicesType O
0:HasComponent Method StartPause O
0:HasComponent Method EndPause O
0:HasComponent Method SwitchToEnergySavingMode O
The StandbyManagementStatus Variable shall contain the current state of the Standby
Management. The value of this Variable shall be consistent with the content of the
EnergySavingModeStatus Object.
The values of the 0:EnumStrings of the StandbyManagementStatus shall follow the definition
of Table 13. Each instance shall have the values 0 to 8. Element numbers 9-15 are reserved
for future use. If vendors add specific elements, the range 9 -15 shall be filled with ‘null’-strings.
Writing the PauseTime Variable can be used to update the pause time alternatively to the
StartPause Method. Setting the PauseTime Variable with a value not equal to 0 shall have the
same effect as invoking the StartPause Method passing the PauseTime value. Setting the
PauseTime Variable with a value equal to 0 shall have the same effect as invoking the
EndPause Method. An additional benefit is that the Variable PauseTime can be used in a
PubSub communication scenario where the PauseTime is distributed by a central time
management client using a broadcast telegram to which every Standby Management Entity
subscribes.
The Lock Object ensures exclusive write access and Method call for one client. Write access
and Method calls from Clients shall be blocked unless the client has locked the Object by
invoking the InitLock Method of the Lock Object.
The StartPause Method starts the transition to an Energy Saving Mode. The
SwitchToEnergySavingMode allows the transition into a specific Energy Saving Mode. The
EndPause Method ends the Energy Saving Mode.
A RepresentedBy Reference may connect the Object to the representing PROFIenergy service
access point Object (see PeServiceAccessPointType). The BrowseName of the Reference shall
be “PESAP”.
StartPause Method
Signature
StartPause (
[in] 0:Duration PauseTime
[out] 0:Byte ModeID
[out] 0:Duration CurrentTimeToDestination
[out] 0:Duration RegularTimeToOperate
[out] 0:Duration TimeMinLengthOfStay
[out] 0:Byte ReturnCode
);
Release 1.00 32 OPC UA for PROFIenergy
Argument Description
PauseTime Requested pause time.
ModeID ID of the destination Energy Saving Mode if successful, otherwise 0.
CurrentTimeToDestination Time needed to reach the Energy Saving Mode if successful, otherwise 0.
Time needed to reach “Ready to operate” again if the destination Energy Saving Mode will be
RegularTimeToOperate
regularly terminated if successful, otherwise 0.
TimeMinLengthOfStay Time of minimum stay in the destination Energy Saving Mode if successful, otherwise 0.
ReturnCode Return code. See Table 16.
The Method Result Codes (defined in Call Service) are defined in Table 15 .
SwitchToEnergySavingMode Method
Signature
SwitchToEnergySavingMode (
[in] 0:Byte ModeID
[out] 0:Byte EffectiveModeID
[out] 0:Duration CurrentTimeToDestination
[out] 0:Duration RegularTimeToOperate
[out] 0:Duration TimeMinLengthOfStay
[out] 0:Byte ReturnCode
);
Argument Description
ModeID ID of the requested Energy Saving Mode.
EffectiveModeID ID of the effectively chosen Energy Saving Mode if successful, otherwise ID of current mode.
CurrentTimeToDestination Time needed to reach the destination Energy Saving Mode if successful, otherwise 0.
Time needed to reach “Ready to operate” again if the destination Energy Saving Mode will be
RegularTimeToOperate
regularly terminated if successful, otherwise 0.
TimeMinLengthOfStay Time of minimum stay in the destination Energy Saving Mode if successful, otherwise 0.
ReturnCode Return code. See table Table 16.
The Method Result Codes (defined in Call Service) are defined in Table 15 .
EndPause Method
Signature
EndPause (
[out] 0:Duration CurrentTimeToOperate
[out] 0:Byte ReturnCode
);
Argument Description
CurrentTimeToOperate Time needed to reach “Ready to operate” if successful, 0.
ReturnCode Return code. See table Table 16.
The Method Result Codes (defined in Call Service) are defined in Table 15 .
Table 15 shows the possible values for the Method call result codes.
OPC UA for PROFIenergy 33 Release 1.00
Table 16 shows the possible values for the out parameter ReturnCode.
ReturnCode Description
0x00 Success.
0x50 No suitable energy-saving mode available.
0x52 No switch to requested energy-saving mode because of invalid mode ID.
0x53 No switch to Energy Saving Mode because of state operate.
0x54 Service or function not available due to internal device status.
8.1.2 EnergySavingModesContainerType
Attribute Value
BrowseName EnergySavingModesContainerType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasComponent Object <EnergySavingModes> EnergySavingModeType MP
8.1.3 EnergySavingModeStatusType
Attribute Value
BrowseName EnergySavingModeStatusType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasComponent Variable CurrentTransitionData StandbyModeTransitionDataType 0:BaseDataVariableType O, RO
0:HasComponent Variable StateInformation EnergyStateInformationDataType 0:BaseDataVariableType M, RO
The CurrentTransitionData Variable contains details for the state transition indicated by the
StateInformation Variable.
The StateInformation Variable contains details for the actual Energy Saving Mode state.
8.1.4 EnergySavingModeType
The EnergySavingModeType provides detailed information for a specific Energy Saving Mode.
Release 1.00 34 OPC UA for PROFIenergy
Attribute Value
BrowseName EnergySavingModeType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasProperty Variable ID 0:Byte 0:PropertyType M, RO
0:HasProperty Variable DynamicData 0:Boolean 0:PropertyType M, RO
0:HasComponent Variable TimeMinPause 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable TimeToPause 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable TimeMinLengthOfStay 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable TimeMaxLengthOfStay 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable RegularTimeToOperate 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable ModePowerConsumption 0:Float 0:AnalogUnitType M, RO
0:HasComponent Variable EnergyConsumptionToPause 0:Float 0:AnalogUnitType M, RO
0:HasComponent Variable EnergyConsumptionToOperate 0:Float 0:AnalogUnitType M, RO
The BrowseName shall contain a unique name for the Energy Saving Mode.
The ID Variable shall contain a unique mode ID for the Energy Saving Mode. The mode ID’s
0x00, 0xF0, 0xFE and 0xFF are reserved for predefined states.
DynamicData shall indicate whether the time, energy consumption and power values can vary
(slightly) during runtime.
The TimeMinPause Variable shall contain the minimum pause time for this Energy Saving Mode.
The TimeToPause Variable shall contain the expected time to switch to this Energy Saving
Mode.
The TimeMinLengthOfStay Variable shall contain the time of minimum stay in this Energy
Saving Mode.
The TimeMaxLengthOfStay Variable shall contain the time of maximum stay in this Energy
Saving Mode.
The RegularTimeToOperate Variable shall contain the time value to reach ”Ready to operate”
(see Figure 1) if this Energy Saving Mode will be regularly terminated.
The ModePowerConsumption Variable shall contain the power consumption in this Energy
Saving Mode. Unit: [kW].
The EnergyConsumptionToPause Variable shall contain the energy consumption from ”Ready
to operate” to this Energy Saving Mode. Unit: [kWh].
The EnergyConsumptionToOperate Variable shall contain the energy consumption from this
Energy Saving Mode to ”Ready to operate”. Unit: [kWh].
8.2.1 Overview
The Energy Measurement Objects provide access to the Energy Measurement values. For each
Metering Point one EnergyMeasurementType Object shall exist.
8.2.2 EnergyMeasurementType
Attribute Value
BrowseName EnergyMeasurementType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType
0:HasProperty Variable PeObjectNumber 0:UInt16 0:PropertyType M, RO
0:HasComponent Variable <MeasurementValue> 0:Number MeasurementValueType MP, RO
0:HasComponent Method ResetEnergyCounter O
The PeObjectNumber Variable shall contain the Object number of the related PROFIenergy
measurement Object.
The MeasurementValue Variable contains one actual measurement value. For each
measurement value of a Metering Point one MeasurementValueType Variable shall exist.
A RepresentedBy Reference may connect the Object to the representing PROFIenergy service
access point Object (see PeServiceAccessPointType). The BrowseName of the Reference shall
be “PESAP”. If the PESAP is not part of the Information Model, the RepresentedBy Reference
in the EnergyMeasurementType Object is omitted.
Table 21 shows the definitions of the Interfaces for the standardized energy data profiles. The
EnergyProfiles represent standard Energy Measurement use cases and are therefore the
preferred way to represent Energy Measurement data. It is recommended to support at least
one of the EnergyProfiles.
OPC UA for PROFIenergy 37 Release 1.00
EnergyProfile MeasurementValue
Engineering DataType Accuracy
InterfaceType BrowseName Symbol
Unit
I L1
AcPeData
IEnergyProfileE0Type E0 AcCurrent I L2 A
Type
≤10%
I L3
IEnergyProfileE1Type E1 AcActivePowerTotal ∑P W Float ≤5%
AcActivePowerTotal ∑P W Float
P L1
AcPeData
AcActivePower P L2 W
Type
P L3
Q totL1
AcPeData
AcReactivePower Q totL2 var
Type
Q totL3
AcActiveEnergyTotalImportHp ∑↓E W·h Double
EnergyMeasurementType BaseInterfaceType
IEnergyProfileE0Type
HasInterface
EnergyMeasurement1 HasInterface IEnergyProfileE1Type
HasInterface IEnergyProfileE2Type
EnergyMeasurement2
HasInterface IEnergyProfileE3Type
8.2.3.1 IEnergyProfileE0Type
Attribute Value
BrowseName IEnergyProfileE0Type
IsAbstract True
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseInterfaceType defined in [OPC 10001-7]
0:HasComponent Variable AcCurrent AcPeDataType MeasurementValueType M
8.2.3.2 IEnergyProfileE1Type
Attribute Value
BrowseName IEnergyProfileE1Type
IsAbstract True
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseInterfaceType defined in [OPC 10001-7]
0:HasComponent Variable AcActivePowerTotal 0:Float MeasurementValueType M
8.2.3.3 IEnergyProfileE2Type
Attribute Value
BrowseName IEnergyProfileE2Type
IsAbstract True
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseInterfaceType defined in [OPC 10001-7]
0:HasComponent Variable AcActivePowerTotal 0:Float MeasurementValueType M
0:HasComponent Variable AcActiveEnergyTotalImportL 0:Float MeasurementValueType M
p
0:HasComponent Variable AcActiveEnergyTotalExportL 0:Float MeasurementValueType M
p
8.2.3.4 IEnergyProfileE3Type
Attribute Value
BrowseName IEnergyProfileE3Type
IsAbstract True
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseInterfaceType defined in [OPC 10001-7]
0:HasComponent Variable AcActivePower AcPeDataType MeasurementValueType M
0:HasComponent Variable AcReactivePower AcPeDataType MeasurementValueType M
0:HasComponent Variable AcActiveEnergyTotalImportH 0:Double MeasurementValueType M
p
0:HasComponent Variable AcActiveEnergyTotalExportH 0:Double MeasurementValueType M
p
0:HasComponent Variable AcReactiveEnergyTotalImpor 0:Double MeasurementValueType M
tHp
0:HasComponent Variable AcReactiveEnergyTotalExpor 0:Double MeasurementValueType M
tHp
0:HasComponent Variable AcVoltagePe AcPeDataType MeasurementValueType M
0:HasComponent Variable AcVoltagePp AcPpDataType MeasurementValueType M
0:HasComponent Variable AcCurrent AcPeDataType MeasurementValueType M
0:HasComponent Variable AcPowerFactor AcPeDataType MeasurementValueType M
8.2.3.5 IEnergyProfileD0Type
Attribute Value
BrowseName IEnergyProfileD0Type
IsAbstract True
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseInterfaceType defined in [OPC 10001-7]
0:HasComponent Variable DcCurrent 0:Float MeasurementValueType M
8.3.1 EnergyDevicePowerOffType
The EnergyDevicePowerOffType type provides access to the Sleep Mode WOL functionality of
the device if supported.
Attribute Value
BrowseName EnergyDevicePowerOffType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasComponent Variable RegularTimeToOperate 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable TimeMinPause 0:Duration 0:BaseDataVariableType M, RO
0:HasComponent Variable ModePowerConsumption 0:UInt32 0:BaseDataVariableType M, RO
0:HasProperty Variable WOLMagicPacket 0:ByteString 0:PropertyType M, RO
0:HasComponent Method SwitchOffWOL M
A RepresentedBy Reference may connect the Object to the representing PROFIenergy service
access point Object (see PeServiceAccessPointType). The BrowseName of the Reference shall
be “PESAP”. If the PESAP is not part of the Information Model, the RepresentedBy Reference
in the EnergyDevicePowerOffType Object is omitted.
The RegularTimeToOperate Variable shall contain the time value to reach the state “Ready to
operate” if the Wake-on-LAN sleep mode is terminated by a wake-up (see below).
The WOLMagicPacket Variable shall contain the 6 bytes MAC address to be used with the
magic packet sent for wake-up (see [PE CAP], chapter 7.3.4.9).
Release 1.00 42 OPC UA for PROFIenergy
The SwitchOffWOL Method initiates the transition into the Wake-on-LAN sleep mode. In this
mode the device is effectively switched off and unavailable for network communication. The
device can be awakened using the magic packet (see [PE CAP], chapter 7.3.4.9).
This Method starts the transition into the special Wake-on-LAN mode.
Signature
SwitchOffWOL (
[out] 0:Byte ModeID
[out] 0:Duration CurrentTimeToDestination
[out] 0:Duration RegularTimeToOperate
[out] 0:Duration TimeMinLengthOfStay
[out] 0:Byte ReturnCode
);
Argument Description
ModeID ID of the “Sleep Mode WOL” (0xFE) if successful, otherwise 0.
CurrentTimeToDestination Time needed to reach the Energy Saving Mode if successful, otherwise 0.
Time needed to reach “Ready to operate” again if the Wake-on-LAN sleep mode will be
RegularTimeToOperate
regularly terminated if successful, otherwise 0.
TimeMinLengthOfStay Time of minimum stay in the Wake-on-LAN sleep mode if successful, otherwise 0.
ReturnCode Return code. See Table 16.
The Method Result Codes (defined in Call Service) are defined in Table 15 .
8.4 PeServiceAccessPointType
Attribute Value
BrowseName PeServiceAccessPointType
IsAbstract False
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the BaseObjectType defined in [OPC 10000-5].
0:HasProperty Variable PeClass PeClassEnumerati 0:PropertyType O, RO
on
0:HasProperty Variable PeSubclass PeSubclassEnume 0:PropertyType O, RO
ration
0:HasProperty Variable PeVersion PeVersionDataTyp 0:PropertyType M, RO
e
The PeSubclass Property shall be provided in conjunction with the Class Property: If the Class
Property has the value PE_CLASS1 or the value PE_CLASS3, this Property is mandatory.
The PeVersion Property shall contain the implemented PROFIenergy version number.
OPC UA for PROFIenergy 43 Release 1.00
A Represents Reference with the BrowseName “Standby” is mandatory for PROFIenergy class
1 and class 3 and shall point to the EnergyStandbyManagementType Object representing the
Standby Management functionality.
9 OPC UA VariableTypes
9.1 MeasurementValueType
Attribute Value
BrowseName MeasurementValueType
IsAbstract False
ValueRank −2 (−2 = Any)
DataType BaseDataType
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the BaseDataVariableType defined in [OPC 10000-5]
0:HasProperty Variable PeMeasurementID 0:UInt16 0:PropertyType M, RO
0:HasProperty Variable AccuracyDomain AccuracyDomainEnumeration 0:PropertyType M, RO
0:HasProperty Variable AccuracyClass AccuracyClassEnumeration 0:PropertyType M, RO
0:HasProperty Variable EngineeringUnits 0:EUInformation 0:PropertyType O, RO
0:HasProperty Variable ValueBeforeReset 0:BaseDataType 0:PropertyType O, RO
The BrowseName should be the name of the measurement as defined in Table 21 like
“DcCurrent” or “AcReactivePower”.
The AccuracyDomain Variable shall contain the PE accuracy domain of this measurement value
encoded as AccuracyDomainEnumeration (See Table 53). Table 35 lists the meaning of the
possible PE accuracy domain values (see [PE CAP], Table 8).
Release 1.00 44 OPC UA for PROFIenergy
AccuracyDomain Meaning
The accuracy is given as percent of the full-scale reading. The percentage
ACCURACY_DOMAIN_PERCENT_FULL_SCALE
is coded according to Table 36 and is stored in AccuracyClass.
ACCURACY_DOMAIN_PERCENT_ACTUAL_RE The accuracy is given as percent of the actual reading. The percentage is
ADING coded according to Table 36 and is stored in AccuracyClass.
The accuracy is given according to IEC 61557-12. The function
performance classes for performance measurement and monitoring
ACCURACY_DOMAIN_IEC devices (PMD) without external sensors and system performance classes
for PMD with external sensors are coded according to Table 37 and stored
in AccuracyClass.
The accuracy is given as specified in the EN 50470-3, Chapter 8 , encoded
ACCURACY_DOMAIN_EN
according to Table 38 and stored in AccuracyClass.
The AccuracyClass Variable shall contain the PE accuracy class of this measurement value
encoded as AccuracyClassEnumeration (See Table 55). Table 36, Table 37 andTable 38 shows
the possible AccuracyClass values if the AccuracyDomain value is ACCURACY_DOMAIN_EN
(see Table 35).
Table 38 list the possible PE accuracy class values (see [PE CAP], tables 9, 10 and 11).
Table 37 – Coding of function performance classes and system performance classes (1)
Table 38 – Coding of function performance classes and system performance classes (2)
The EngineeringUnits Variable shall contain the mapped UNECE code of the OPC UA
EUInformation data type (see [OPC 10000-8], section 5.6.3) for the engineering unit of this
measurement value. If the value contains the power factor, no EngineeringUnits Property shall
be provided.
After the start of the device the ValueBeforeReset Variable and the value of the
MeasurementValueType Variable shall be equal and have the value 0. Further on, the value of
the ValueBeforeReset Variable shall not change unless a reset is performed.
The DataType of a MeasurementValueType value shall be one of the following: 0:Int32, 0:Float,
0:Double, AcPeDataType or AcPpDataType.
When reading the value of the MeasurementValueType Variable the status code shall be set to
“UncertainSensorValueNotAccurate” if the accuracy of the value cannot be guaranteed for some
reason, e.g. the calibration interval is overdue.
10 OPC UA DataTypes
10.1 Structures
10.1.1 StandbyModeTransitionDataType
The StandbyModeTransitionDataType holds information which might change when the device
is in a transition state to an Energy Saving Mode.
StandbyModeTransitionDataType Structure
IDDestination 0:Byte Mode ID of destination Energy Saving Mode.
CurrentTimeToDestination 0:Duration Time needed to reach the mode IDDestination. Shall be a “Worst case” value if
ongoing (dynamic) time value is not supported. Shall be 0 if destination Energy
Saving Mode is reached.
CurrentTimeToOperate 0:Duration Time needed to reach „Ready to operate“ if the Energy Saving Mode is not
regularly terminated. The server might update the value after reaching the
destination state as long as the TimeMinLengthOfStay of the destination state is
not reached.
EnergyConsumptionToDestina 0:Float Energy consumption for actual transition. Shall be 0 if not in a transition state.
tion
Attribute Value
BrowseName StandbyModeTransitionDataType
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Structure type defined in [OPC 10000-3]
10.1.2 EnergyStateInformationDataType
EnergyStateInformationDataType Structure
IDSource 0:Byte Mode ID of current Energy Saving Mode.
IDDestination 0:Byte Mode ID of destination Energy Saving Mode.
RegularTimeToOperate 0:Duration Time needed to reach „Ready to operate“ if the Energy Saving Mode is regularly
terminated. Shall be 0 if IDSource is equal to 0xFF (The StandbyManagementStatus
Variable has the value “Ready to operate”).
ModePowerConsumption 0:Float Power consumption in actual state.
Attribute Value
BrowseName EnergyStateInformationDataType
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Structure type defined in [OPC 10000-3]
If this StandbyManagementStatus Variable has the value 4 (“Energy saving mode”), IDSource
and IDDestination shall be equal and have the value of the ID Property of the
EnergySavingModeType Object representing the current Energy Saving Mode.
If this StandbyManagementStatus Variable has the value 3 (“Moving to energy saving mode”)
and if the previous value was 2 (“Ready to operate”), IDSource shall have the value 0xFF and
IDDestination shall have the value of the ID Property of the EnergySavingModeType Object
representing the destination Energy Saving Mode.
If this StandbyManagementStatus Variable has the value 3 (“Moving to energy saving mode”)
and if the previous value was 4 (“Energy saving mode”, the state transition takes place between
two Energy Saving Modes), IDSource shall be the value of the ID Property of the
EnergySavingModeType Object representing the source Energy Saving Mode. IDDestination
shall have the value of the ID Property of the EnergySavingModeType Object representing the
destination Energy Saving Mode.
10.1.3 PeVersionDataType
PeVersionDataType Structure
MajorVersion 0:Byte
MinorVersion 0:Byte
Revision 0:Byte
Attribute Value
BrowseName PeVersionDataType
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Structure type defined in [OPC 10000-3]
10.1.4 AcPeDataType
AcPeDataType Structure
A 0:Float Phase a-n
B 0:Float Phase b-n
C 0:Float Phase c-n
Attribute Value
BrowseName PeVersionDataType
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Structure type defined in [OPC 10000-3]
10.1.5 AcPpDataType
AcPpDataType Structure
A_b 0:Float Phase a-b
B_c 0:Float Phase b-c
C_a 0:Float Phase c-a
Attribute Value
BrowseName AcPpDataType
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Structure type defined in [OPC 10000-3]
10.2 Enumerations
10.2.1 PeClassEnumeration
This enumeration defines the possible values for the PeClass Property of the
PeServiceAccessPointType. The enumeration is defined in Table 49.
Attribute Value
BrowseName PeClassEnumeration
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Enumeration type defined in [OPC 10000-5]
0:HasProperty Variable 0:EnumValues 0:EnumValueType [] 0:PropertyType
10.2.2 PeSubclassEnumeration
This enumeration defines the possible values for the PeSubclass Property of the
PeServiceAccessPointType. The enumeration is defined in Table 51.
PE_SUBCLASS1 0 The PE Entity does not support a Standby Management disabled state.
PE_SUBCLASS2 1 The PE Entity supports a Standby Management disabled state.
Attribute Value
BrowseName PeSubclassEnumeration
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Enumeration type defined in [OPC 10000-5]
0:HasProperty Variable 0:EnumValues 0:EnumValueType [] 0:PropertyType
10.2.3 AccuracyDomainEnumeration
This enumeration defines the possible values for the AccuracyDomain Property of the
MeasurementValueType. The enumeration is defined in Table 53.
ACCURACY_DOMAIN_RESERVED 0 Reserved.
ACCURACY_DOMAIN_PERCENT_FULL_SCALE 1 The accuracy is given as percent of the full-scale reading.
ACCURACY_DOMAIN_PERCENT_ACTUAL_READING 2 The accuracy is given as percent of the actual reading.
ACCURACY_DOMAIN_IEC 3 The accuracy is given according to IEC 61557-12.
ACCURACY_DOMAIN_EN 4 The accuracy is given as specified in the EN 50470-3, Chapter 8.
Attribute Value
BrowseName AccuracyDomainEnumeration
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Enumeration type defined in [OPC 10000-5]
0:HasProperty Variable 0:EnumValues 0:EnumValueType [] 0:PropertyType
OPC UA for PROFIenergy 51 Release 1.00
10.2.4 AccuracyClassEnumeration
This enumeration defines the possible values for the AccuracyClass Property of the
MeasurementValueType. The enumeration is defined in Table 55.
ACCURACY_CLASS_0 0 Reserved.
ACCURACY_CLASS_1 1 .
ACCURACY_CLASS_2 2
ACCURACY_CLASS_3 3
ACCURACY_CLASS_4 4
ACCURACY_CLASS_5 5
ACCURACY_CLASS_6 6 Meaning of value depends on AccuracyDomain variable value.
ACCURACY_CLASS_7 7 See Table 36, Table 37 and Table 38.
ACCURACY_CLASS_8 8
ACCURACY_CLASS_9 9
ACCURACY_CLASS_10 10
ACCURACY_CLASS_11 11
ACCURACY_CLASS_12 12
ACCURACY_CLASS_13 13
ACCURACY_CLASS_14 14
ACCURACY_CLASS_15 15
Attribute Value
BrowseName AccuracyClassEnumeration
IsAbstract False
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Enumeration type defined in [OPC 10000-5]
0:HasProperty Variable 0:EnumValues 0:EnumValueType [] 0:PropertyType
Release 1.00 52 OPC UA for PROFIenergy
11 OPC UA ReferenceTypes
Attributes Value
BrowseName Represents
InverseName RepresentedBy
Symmetric False
IsAbstract False
References NodeClass BrowseName Comment
Subtype of NonHierarchicalReferences from [[OPC 10000-5]].
Attributes Value
BrowseName HasEnergyStandbyManagement
InverseName IsEnergyStandbyManagementOf
Symmetric False
IsAbstract False
References NodeClass BrowseName Comment
Subtype of NonHierarchicalReferences from [OPC 10000-5].
Attributes Value
BrowseName HasEnergyMeasurement
InverseName IsEnergyMeasurementOf
Symmetric False
IsAbstract False
References NodeClass BrowseName Comment
Subtype of NonHierarchicalReferences from [OPC 10000-5].
Source shall be a device Object of the PROFINET model offering Sleep Mode WOL
functionality. Target shall be an Object of the EnergyDevicePowerOffType.
Attributes Value
BrowseName HasEnergyPowerOff
InverseName IsEnergyPowerOffFor
Symmetric False
IsAbstract False
References NodeClass BrowseName Comment
Subtype of NonHierarchicalReferences from [OPC 10000-5].
Release 1.00 54 OPC UA for PROFIenergy
This chapter defines the corresponding Conformance Units for the OPC UA Information Model
for PE Energy Management.
12.2 Profiles
Table 62 lists all Profiles defined in this document and d efines their URIs.
Profile URI
PNEM Energy Management
http://opcfoundation.org/UA-Profile/PNEM/Server/EnergyManagement
Server Profile
PNEM PROFINET Energy http://opcfoundation.org/UA-
Management Server Profile Profile/PNEM/Server/PROFINETEnergyManagement
PNEM Energy Management
http://opcfoundation.org/UA-Profile/PNEM/Server/EnergyManagementControl
Control Server Profile
PNEM PROFINET Energy
http://opcfoundation.org/UA-
Management Control Server
Profile/PNEM/Server/PROFINETEnergyManagementControl
Profile
PNEM Energy Controller
http://opcfoundation.org/UA-Profile/PNEM/Server/EnergyController
Server Facet
OPC UA for PROFIenergy 55 Release 1.00
12.2.2.1 Overview
The following sections specify the Facets available for Servers that implement the PE Energy
Management companion specification. Each section defines and describes a Facet or Profile.
13 Namespaces
Table 68 defines the namespace metadata for this document. The Object is used to provide
version information for the namespace and an indication about static Nodes. Static Nodes are
identical for all Attributes in all Servers, including the Value Attribute. See [OPC 10000-5] for
more details.
The version information is also provided as part of the ModelTableEntry in the UANodeSet XML
file. The UANodeSet XML schema is defined in [OPC 10000-6].
Attribute Value
BrowseName http://opcfoundation.org/UA/PNEM/
References NodeClass BrowseName DataType Value
HasProperty Variable NamespaceUri String http://opcfoundation.org/UA/PNEM
HasProperty Variable NamespaceVersion String 1.00
HasProperty Variable NamespacePublicationDate DateTime 2020-03-11
HasProperty Variable IsNamespaceSubset Boolean Vendor-specific
HasProperty Variable StaticNodeIdTypes IdType [] {Numeric}
HasProperty Variable StaticNumericNodeIdRange NumericRange []
HasProperty Variable StaticStringNodeIdPattern String
Namespaces are used by OPC UA to create unique identifiers across different naming
authorities. The Attributes NodeId and BrowseName are identifiers. A Node in the UA
AddressSpace is unambiguously identified using a NodeId. Unlike NodeIds, the BrowseName
cannot be used to unambiguously identify a Node. Different Nodes may have the same
BrowseName. They are used to build a browse path between two Nodes or to define a standard
Property.
Servers may often choose to use the same namespace for the NodeId and the BrowseName.
However, if they want to provide a standard Property, its BrowseName shall have the
namespace of the standards body although the namespace of the NodeId reflects something
else, for example the EngineeringUnits Property. All NodeIds of Nodes not defined in this
document shall not use the standard namespaces.
OPC UA for PROFIenergy 57 Release 1.00
Table 69 provides a list of mandatory and optional namespaces used in an OPC UA for
PROFIenergy Server.
Table 70 provides a list of namespaces and their index used for BrowseNames in this document.
The default namespace of this document is not listed since all BrowseNames without prefix use
this default namespace.
Annex A
(normative)
This appendix defines the numeric identifiers for all of the numeric NodeIds defined in this
document. The identifiers are specified in a CSV file wit h the following syntax:
Where the SymbolName is either the BrowseName of a Type Node or the BrowsePath for an
Instance Node that appears in the specification and the Identifier is the numeric value for the
NodeId.
The BrowsePath for an Instance Node is constructed by appending the BrowseName of the
instance Node to the BrowseName for the containing instance or type. An underscore character
is used to separate each BrowseName in the path.
The CSV released with this version of the specification can be found here:
http://www.opcfoundation.org/UA/schemas/PNEM/1.0/NodeIds.csv
NOTE The latest CSV that is compatible with this version of the specification can be found here:
http://www.opcfoundation.org/UA/schemas/PNEM/NodeIds.csv
A computer processible version of the complete Information Model defined in this document is
also provided. It follows the XML Information Model schema syntax defined in [OPC 10000-6].
The Information Model Schema for this version of the document (including any revisions,
amendments or errata) can be found here:
http://www.opcfoundation.org/UA/schemas/PNEM/1.0/Opc.Ua.PnEm.NodeSet2.xml
NOTE The latest Information Model schema that is compatible with this version of the document can be found here:
http://www.opcfoundation.org/UA/schemas/PNEM/Opc.Ua.PnEm.NodeSet2.xml
_____________
OPC UA for PROFIenergy 59 Release 1.00
Annex B
(Informative)
B.1 PE Entity
A PE Entity comprises all PROFIenergy services and properties that are accessible with the
same PROFIenergy service access point (PESAP). According to the Object model defined in
[PE CAP], one device may have more than one PE Entity; see Figure 13 also.
However, the preferred Energy Management Object model follows the approach of independent
partial models (“facets”) chosen in [OPC PN]. The reason for this is that the PESAP is not
needed when accessing the energy functions of a device using OPC UA. The OPC UA Client
can find out the offered Energy Management functionality by browsing the Information Model
(See Figure 8 and Figure 10).
Since the PROFIenergy properties PE class and PE version are unique for each PE Entity, a
PeServiceAccessPointType Object provides this information.
A remote proxy server can provide OPC UA access to the device. In order to do so, the proxy
must know the PROFIenergy service access point to gain access to the PROFINET device, to
find out the PROFIenergy capabilities of the device and to create the Information Model for the
device. Further on, OPC UA Client accesses to PROFIenergy services are routed to the device
through the service access point.
Release 1.00 60 OPC UA for PROFIenergy
Annex C
(Informative)
PROFIenergy is a Common Application Profile of the Industrial Ethe rnet protocol PROFINET.
It enables the deployment of Energy Management strategies over PROFINET architectures.
The PROFINET address schema is used for the PROFIenergy service access point (PESAP)
only. Although the PROFIenergy services are defined based on PROFINET mechanisms (e.g.
record read/write), a PROFINET independent implementation accessible through a different
PESAP is possible. OPC UA provides a service access point independent of PROFINET.
PROFIenergy defines a state model characterizing the state of a device with respect to energy
consumption. The services defined by PROFIenergy are grouped into three main classes:
PROFIenergy defines a basic object model. The object model consists of PE objects and
defines how the objects shall be aggregated. Figure 13 shows the basic PE object model and
how the PE functionality accompanies the ‘standard’ device functionality.
A PE Entity is a unit of offered PE services and properties. A PROFIenergy device may offer
more than on PE Entity.
PROFIenergy defines a basic state model. The state model determines the possible modes of
a device regarding energy consumption. The state model also determines the p ossible changes
in energy consumption as state transitions. Figure 14 shows the PROFIenergy state model.
Each PE mode is identified by the PE Mode_ID. Table 71 gives a brief description of the modes
defined by the basic state model and their PE Mode_ID. Note the mode PE_power_off is not
part of the basic state model. For an in-depth description of the state model, especially the
constraints and possible state transitions, refer to [PE CAP].
The state transition modes do not have a distinctive PE Mode_ID, but are identified by differing
source Mode_ID and the destination Mode_ID. When in a non-transition state, the source
Mode_ID and the destination Mode_ID are identical.
OPC UA for PROFIenergy 63 Release 1.00
Source Destination
PE Mode Description
PE Mode_ID PE Mode_ID
The device is free from voltage and cannot
PE_power_off 0x00 communicate. When in a different mode, the mode
properties can be queried.
The device is in productive operation and Standby
Management is disabled. The device will not execute
PE_energy_saving_disabled 0xF0
commands requesting the transition into an energy-
saving mode.
Standby Management is enabled and the device is able
PE_ready_to_operate 0xFF
for a transition into an Energy Saving Mode.
Moving to PE energy-saving- 0x1-0x1F, The device is in transition to one of the supported
0x01-0x1F
mode 0xFF energy-saving modes.
Moving to 0x01-0x1F, The device is in transition from an energy-saving mode
0xFF
PE_ready_to_operate 0xFF, 0xFE to PE_ready_to_operate.
The device is in some standby operation mode saving
PE energy-saving-mode 0x01 – 0x1F energy. The supported modes are determined by the
manufacturer.
Moving to
0xFF 0xFE The device is in transition to the PE_sleep_mode_WOL.
PE_sleep_mode_WOL
The device is in Wake-on-LAN sleep mode and cannot
PE_sleep_mode_WOL 0xFE
communicate.
The following table is based on Table 24 Instantaneous measurements in the PROFI energy
specification.
PE
Data PNEM
Measurement Measurements Unit Phase
Type Mapping
ID
1 Voltage V Float32 a-n
AcVoltagePe
2 Voltage V Float32 b-n
(Structure)
3 Voltage V Float32 c-n
4 Voltage V Float32 a-b
AcVoltagePp
5 Voltage V Float32 b-c
(Structure)
6 Voltage V Float32 c-a
7 Current A Float32 a
AcCurrent
8 Current A Float32 b
(Structure)
9 Current A Float32 c
10 Apparent Power VA Float32 a
11 Apparent Power VA Float32 b
12 Apparent Power VA Float32 c
13 Active Power W Float32 a
AcActivePower
14 Active Power W Float32 b
(Structure)
15 Active Power W Float32 c
16 Reactive Power Qn var Float32 a
17 Reactive Power Qn var Float32 b
18 Reactive Power Qn var Float32 c
19 Power factor non Float32 a
AcPowerFactor
20 Power factor non Float32 b
(Structure)
21 Power factor non Float32 c
22 Reactive Power Qtot var Float32 a
AcReactivePower
23 Reactive Power Qtot var Float32 b
(Structure)
24 Reactive Power Qtot var Float32 c
…
30 Frequency Hz Float32 total
31 Voltage V Float32 average-ph-n
32 Voltage V Float32 average-ph-ph
33 Current A Float32 average-abc
34 Active Power W Float32 total AcActivePowerTotal
35 Reactive Power Qn Var Float32 total
36 Apparent Power VA Float32 total
37 Power factor non Float32 total
38 Reactive Power Qtot var Float32 total
OPC UA for PROFIenergy 65 Release 1.00
PE
Data PNEM
Measurement Measurements Unit Phase
Type Mapping
ID
200 Active Energy Import Wh Float32 total AcActiveEnergyTotalImportLp
201 Active Energy Export Wh Float32 total AcActiveEnergyTotalExportLp
Reactive Energy
202 varh Float32 total AcReactiveEnergyTotalImporttLp
Import
Reactive Energy
203 varh Float32 total AcReactiveEnergyTotalExportLp
Export
204 Apparent Energy VAh Float32 total
205 Active Energy Sum Wh Float32 total
206 Reactive Energy Sum Wh Float32 total
…
210 Active Energy Import Wh Float64 total AcActiveEnergyTotalImportHp
211 Active Energy Export Wh Float64 total AcActiveEnergyTotalExportHp
Reactive Energy
212 varh Float64 total AcReactiveEnergyTotalImporttHp
Import
Reactive Energy
213 varh Float64 total AcReactiveEnergyTotalExportHp
Export
214 Apparent Energy VAh Float64 total
215 Active Energy Sum Wh Float64 total
216 Reactive Energy Sum Wh Float64 total