Profinet Driver en
Profinet Driver en
Profinet Driver en
Introduction 2
System requirements 3
SIMATIC
Configuring 4
Process Control System PCS 7
PROFINET driver blocks SIPROTEC 5 5
Blocks
08/2021
A5E51115894-AA
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage
to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices
referring only to property damage have no safety alert symbol. These notices shown below are graded according to
the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may
be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this
publication is reviewed regularly and any necessary corrections are included in subsequent editions.
1 Security information.............................................................................................................................. 5
2 Introduction ........................................................................................................................................... 7
2.1 Environment........................................................................................................................ 7
2.1.1 Hardware............................................................................................................................. 7
2.1.2 Software.............................................................................................................................. 7
2.2 Overview of blocks............................................................................................................... 8
3 System requirements............................................................................................................................. 9
3.1 Hardware............................................................................................................................. 9
3.2 Software.............................................................................................................................. 9
4 Configuring .......................................................................................................................................... 11
4.1 Configuration in DIGSI 5 ..................................................................................................... 11
4.2 Hardware configuration in HW Config ................................................................................. 11
4.3 Installation and interconnection of the driver blocks in CFC ................................................ 13
4.4 Mapping example .............................................................................................................. 14
4.4.1 Diagnostics ........................................................................................................................ 15
4.4.2 Circuit breaker - interlock, switching command and feedback ............................................. 18
4.4.3 Device operating hours and switching cycles ...................................................................... 22
5 Blocks................................................................................................................................................... 27
5.1 General functionalities ....................................................................................................... 27
5.1.1 Inputs................................................................................................................................ 27
5.1.2 Outputs ............................................................................................................................. 28
5.1.3 Mapping ............................................................................................................................ 28
5.1.3.1 Parameter changes in the mapping .................................................................................... 29
5.1.3.2 CMD_MAP ......................................................................................................................... 30
5.1.3.3 MEAS_MAP ........................................................................................................................ 30
5.1.3.4 BSTR_MAP ......................................................................................................................... 30
5.1.3.5 DIAG_MAP ......................................................................................................................... 31
5.1.4 Commands ........................................................................................................................ 31
5.1.5 Troubleshooting................................................................................................................. 31
5.1.6 Diagnostic outputs............................................................................................................. 32
5.1.7 Divisor for measured values ............................................................................................... 32
5.1.8 Converting energy pulses................................................................................................... 33
5.1.9 System functions used ....................................................................................................... 33
5.1.10 Initialization following hardware change ............................................................................ 33
5.2 SIP5_FEEDER...................................................................................................................... 34
5.3 SIP5_Line........................................................................................................................... 34
5.4 SIP5_TRAFO ....................................................................................................................... 34
5.5 SIP5_SYNC ......................................................................................................................... 34
The PROFINET driver blocks for PCS 7 PowerControl form the interface between SIPROTEC 5
protection devices with a PROFINET interface and the technological objects of the PowerControl
Library (PCL). The blocks can only be used in connection with the blocks of the PCL.
This manual must be used in conjunction with the PCL and DIGSI 5 manuals and requires
knowledge of this documentation.
2.1 Environment
2.1.1 Hardware
The PROFINET driver blocks operate together with the technological blocks of the PCL on the
PCS 7 controller (AS). They access the data of the devices connected to PROFINET via the process
image input of the CPU and write commands via the process image output of the CPU.
2.1.2 Software
The PROFINET driver blocks for PowerControl are configured in the user program of the
automation system using the CFC editor and connected to the blocks of the PCL. Special
structures that exchange all necessary data between the technological blocks and the driver
blocks are available for this connection.
A driver block can only be connected to the corresponding technological block. A driver block
cannot be connected to multiple technological blocks.
The data points of the driver block must be mapped in accordance with the respective SIPROTEC
device. The DIGSI 5 software must be used to assign parameters for this mapping in the
SIPROTEC 5 device. The mapping can be freely configured and is not predefined.
The screenshot below shows a CFC chart with a driver block and a technological block:
3.2 Software
The PROFINET drivers were developed with GSDML-V*-SIEMENS-SIPROTEC5-*.XML and the
GSDML "GSDML-V2.32-Siemens-SIPROTEC5-20191012" is also supported and are only approved
in conjunction with these GSDMLs.
The PROFINET driver blocks have been released for the PCS 7 version 9.1.
The required modules can now be dragged onto the slots of the device. The order of the modules
does not matter.
You can select:
These modules are used to exchange data between the CPU and the SIPROTEC. The signals are
mapped via the "communication assignment" in DIGSI and via the inputs "ALRM_MAP",
"DIAG_MAP", "MEAS_MAP", "CMD_MAP", and "BSTR_MAP" at the driver block. Section 4.4
(Page 14) explains the mapping using an example.
Section 7.1.5 in the SIPROTEC 5 Communication Protocols manual in the internet link (https://
support.industry.siemens.com/cs/ww/en/view/109742443) provides a very clear description of
the assignment of I/O modules to SIPROTEC 5 data objects. This manual also provides detailed
information about the modules described and the data types used.
NOTICE
A module error will occur if more modules of a data type are configured in HW Config than
are required by the configuration in DIGSI.
Figure 4-2 Interconnection in the CFC chart using the FEEDER example
The input "Start_In" of the driver block is connected to the first bit of the first input module of the
SIPROTEC 5 device (here EB10).
If the chart is compiled using the option "Generate module drivers", the inputs "Mod_Data" and
"RAC_DIAG" of the driver block are automatically connected by the driver wizard.
4.4.1 Diagnostics
The diagnostics is mapped first. To do this, the "Communication assignment" must be opened in
DIGSI 5. In the example image (Figure 4-5 Mapping the diagnostics in DIGSI 5), the signals of the
sections "General" -> "State" and "Standby" are assigned to the single messages 1-6 (indicated by
the "PLC" type).
It is important to know that the mapping is performed using values rather than input and output
addresses. The values are assigned to logical addresses fully automatically in the background.
The values do not need to be consecutive, and can be freely selected within the limits of the
respective type. Make sure that enough modules of the respective type are configured in HW
Config.
"Health" -> "OK" has been assigned to the value 1 in the example image (Figure 4-5 Mapping the
diagnostics in DIGSI 5). This represents the first single message of the first module "Single
message 16" in HW Config (see Figure 4-1 Hardware configuration) in the section Hardware
configuration in HW Config (Page 11). With the current configuration consisting of 2 * "single
messages 16" and 1 * "single messages 32", the maximum value of 64 may be assigned to signals
of the "PLC" type in the communication assignment. For the changes to be accepted, the new
configuration must be loaded into the device.
The input DIAG_MAP is used for the mapping on the driver block (Figure 4-6 Mapping the
diagnostics on the driver block). In this structure, the values set in DIGSI can be assigned to the
corresponding signals. The respective maps CMD_MAP, ALRM_MAP, etc. are used for mapping
commands, alarms, etc. An unmapped signal has the value "-1" by default. It can be assigned
again at any time in order to remove a mapping.
If the mapping is made in the test mode of the CFC editor, the changes take effect immediately.
If the changes are made offline, the chart must be recompiled and reloaded.
This completes the mapping of these 6 signals. The two "DIAG_MAP" elements "Dev_Rdy" and
"Dat_Val" must also be mapped. Otherwise, the block will report a device error. In this example,
both elements are mapped to "Device" -> "Life contact".
As soon as all "DIAG_MAP" elements are correctly mapped, the two indicators in the lower left
corner of the faceplate change their value from N/A to the values transferred by SIPROTEC. In this
example, the values are "Device OK" and "Protect On" (Figure 4-7 Faceplate with mapped device
and protection status).
The switching command is linked to double command 1 via "Circuit-breaker 1" -> "Control" ->
"Command with feedback". For this, a "double commands" module must be configured in HW
Config.
The feedback of the switch position is linked to double message 2 via "Circuit breaker 1" ->
"Circuit breaker" -> "Position". For this, a "double messages" module must be configured in HW
Config.
As shown in the previous example, the maps at the driver block must be adapted. The interlocks
and the switch position are mapped via "ALRM_MAP":
NOTICE
Unlike the other values in ALRM_MAP, double messages, such as feedback from switches,
are imported by a double message module instead of a single message module.
Depending on the driver block, the last 4 or 8 elements in ALRM_MAP are interpreted as
a double message. The other elements are interpreted as single messages.
Figure 4-13 Mapping of the feedback of a circuit breaker at the driver module png
As a result of this mapping, the two interlock symbols "Op" and "Cls" turned green, and the circuit
breaker can now be actuated. The feedback of the current switch position is displayed correctly
by the "Open" indicator.
The following table summarizes which signals must be mapped in order to control the circuit
breaker:
It would be intuitive to select the "Counter value (BCR)" type for the auxiliary signals, since the
two signals are mapped at the driver block via "BSTR_MAP". However, this is not possible because
this type is not available when creating new signals. Therefore, the "Measured value (MV)" type
is selected and the two signals, "Device operating hours_MV" and "Switch cycle counter_MV", are
created newly. These are also mapped directly to the values 3 and 4.
These newly created signals can now be described in a function diagram using the signals of the
"INS" type. This requires a "SPLIT_INS" block and a "BUILD_XMV" block in each case. The
interconnection is shown in Figure 4-20 (Function diagram for INS MV type conversion):
As in the previous example, the corresponding "Map" at the driver block must be adapted. The
two signals are mapped via "BSTR_MAP":
Figure 4-21 Mapping the device operating hours and switching cycles at the driver block
This mapping allows the two signals "OpHours" and "Switch count" to be displayed in the
faceplate.
Figure 4-22 Faceplate with mapped device operating hours and switching cycles
5.1.1 Inputs
The inputs of the four driver blocks differ only slightly. All of them are therefore described in this
section. The description specifies whether a block is equipped with a specific input or not.
UN_kV REAL Rated voltage UN in kV. It is used to calculate the work based on count
pulses (section 5.1.8 (Page 33)).
IN_A REAL Rated current IN in A. It is used to calculate the work based on count pulses
(section 5.1.8 (Page 33)).
5.1.2 Outputs
The outputs of the four driver blocks differ only slightly. All of them are therefore described in this
section. The description specifies whether a block is equipped with a specific output or not.
5.1.3 Mapping
All data exchanged between SIPROTEC and PCS 7 is included in data packets that are cyclically
transferred via PROFINET. The mapping is used to determine which data this is and to which
address it is written.
The mapping in DIGSI 5 takes place via the "Communication assignment" mask (Figure 4-5
Mapping the diagnostics in DIGSI 5).
Mapping is performed in the driver block corresponding to the mapping at the SIPROTEC end.
This mapping is used to assign the data of the PROFINET data packets to the elements in the
block. This mapping is performed using various structure inputs on the block drivers:
NOTICE
Double messages (e.g. feedback of switches) in SIPROTEC occupy two bits in the data
packet in PROFINET. Therefore, unlike the other values in ALRM_MAP, they are imported
by a double message module instead of a single message module. Depending on the
driver block, the last 4 or 8 elements in ALRM_MAP are interpreted as a double message.
The remaining elements are interpreted as a single message.
5.1.3.2 CMD_MAP
The CMD_MAP structure maps the commands of the technological blocks to the SIPROTEC
device. Similar to double messages, double commands occupy two bits in the SIPROTEC device.
All elements in CMD_MAP are interpreted as double command. PN driver blocks do not use single
command modules.
The following commands can be configured, depending on the block:
• Q0 (circuit breaker)
• Q1 (disconnector)
• Q2 (additional switch)
• Q8 (grounding switch)
• Q9 (additional switch)
• Freely configurable switches ("CmdX", "CmdX")
5.1.3.3 MEAS_MAP
The "MEAS_MAP" structure maps measured values to the technological block. They are imported
via measured value modules.
The following objects are included, depending on the block:
• Voltages ("U_X")
• Currents ("I_X")
• Frequency ("F")
• Power ("P","Q","S")
• Power factor cos phi ("PF")
• Other measured values Freely configurable measured values ("REAL_spx")
5.1.3.4 BSTR_MAP
The "BSTR_MAP" structure maps counter values to the technological block. With the exception
of "OpTm" and "SwCount", they are imported via counter value modules. "OpTm" and "SwCount"
are imported via measured value modules, since this requires a workaround (see section 4.4.3
(Page 22)).
5.1.3.5 DIAG_MAP
The "DIAG_MAP" structure addresses status signals of the SIPROTEC device that are displayed in
block outputs (e.g., "QTEST") and used for status displays in WinCC.
The following status signals can be configured:
• Device status ("DEV_*")
• Status of protection and test function ("Prot_*")
• Valid device data ("Dat_Val")
5.1.4 Commands
Setting of the outputs is edge-triggered. The minimum duration of an edge is 0.5 s and can be
extended using the "CMD_LEN" input (duration = CMD_LEN x 0.5 s). Only one command can be
active at any given time to avoid unwanted states.
In the case of a rack or device error, all command outputs are set to 0.
5.1.5 Troubleshooting
The following configuration errors have been detected in the mapping structures "ALRM_MAP",
"BOOL_MAP", "BSTR_MAP", "CMD_MAP", "DIAG_MAP", and "MEAS_MAP":
• An element is assigned a higher value than is possible for the number of modules configured
in HW Config. (For example, 25 is assigned to an element in "MEAS_MAP", even though only
two "measured value 12" modules are configured)
• An element is assigned a higher value than the one intended by DIGSI for this type (e.g. PLC:
1 to 500, MV: 1 to 100)
In these cases, the block indicates an error at the corresponding output "ERR_MAPA",
"ERR_MAPBOOL", "ERR_MAPB", "ERR_MAPC", "ERR_MAPD", or "ERR_MAPM". The error is also
reported in the WinCC signaling system. The block continues to run as usual, and the quality
code of the incorrectly mapped element is set to "0x18: Incorrect configuration".
The other outputs for displaying errors are described in the following table:
ERR_DEV BOOL 1 = Device error. It is set if one of the two diagnostic outputs
"QVALID" = 0 or "QDEVRDY" = 0.
QRACKF BOOL 1 = Rack error. It is determined by evaluating the structure
input "RAC_DIAG".
In the case of a rack or device error, the quality codes of all mapped signals (except diagnostics)
are set to "0x08: Not connected".
5.2 SIP5_FEEDER
The block serves as a driver block for the transmission of data packets between a SIPROTEC 5
device and PCS 7. It also forms an interface to the technological block PC_FEEDER.
Since the functions of the four driver blocks are very similar, they are described in general in
section 5.1 (Page 27).
5.3 SIP5_Line
The block serves as a driver block for the transmission of data packets between a SIPROTEC 5
device and PCS 7. It also forms an interface to the technological block PC_LINE.
Since the functions of the four driver blocks are very similar, they are described in general in
section 5.1 (Page 27).
5.4 SIP5_TRAFO
The block serves as a driver block for the transmission of data packets between a SIPROTEC 5
device and PCS 7. It also forms an interface to the technological block PC_TRAFO.
Since the functions of the four driver blocks are very similar, they are described in general in
section 5.1 (Page 27).
5.5 SIP5_SYNC
The block serves as a driver block for the transmission of data packets between a SIPROTEC 5
device and PCS 7. It also forms an interface to the technological block PC_SYNC.
Since the functions of the four driver blocks are very similar, they are described in general in
section 5.1 (Page 27).