You are on page 1of 27

Cover

Configuration of Frequency
Converters with the APL Channel
Block “FbDrive” in SIMATIC PCS 7
SIMATIC PCS 7 V8.0

Application Example Ÿ October 2012

Applications & Tools


Answers for industry.
Siemens Industry Online Support
This document is an article from the Siemens Industry Online Support. The
following link takes you directly to the download page of this document:
http://support.automation.siemens.com/WW/view/en/64181993

Caution:
The functions and solutions described in this entry are mainly limited to the
realization of the automation task. In addition, please note that suitable security
measures in compliance with the applicable Industrial Security standards must be
taken, if your system is interconnected with other parts of the plant, the company’s
network or the Internet. For further information on this issue, please refer to Entry
ID 50203404.
http://support.automation.siemens.com/WW/view/en/50203404

Please also use our technical forum from the Siemens Industry Online Support
actively in this context. Add your questions, suggestions and problems and discuss
Copyright ã Siemens AG 2012 All rights reserved

them in our large forum community:


http://www.siemens.com/forum-applications

Configuration of frequency converters


2 V 1.0, Enry ID: 64181993
Description of the task
and solution 1
s
APL channel block
“FbDrive” 2

Configuration 3

Links 4

History 5
SIMATIC PCS 7 V8.0

Configuration of Frequency
Converters with the APL Channel
Copyright ã Siemens AG 2012 All rights reserved

Block “FbDrive” in SIMATIC PCS 7


Application Example

Configuration of frequency converters


V 1.0, Entry ID: 64181993 3
Warranty and Liability

Warranty and Liability

Note The application examples are not binding and do not claim to be complete
regarding configuration, equipment and any eventuality. The application
examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. The application examples do not
relieve you of the responsibility to use sound practices in application, installation,
operation and maintenance. When using these application examples, you
recognize we will not be liable for any damage/claims beyond the liability clause
described. We reserve the right to make changes to these application examples
at any time without prior notice. If there are any deviations between the
recommendation provided in this application example and other Siemens
publications (e.g. catalogs), the contents of the other documentation shall have
priority.

We accept no liability for information contained in this document.


Any claim against us – based on whatever legal reason - resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
Copyright ã Siemens AG 2012 All rights reserved

not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in cases of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or violation of fundamental contractual obligations (“wesentliche
Vertragspflichten”). The damages for a breach of substantial contractual obligations
are, however, limited to the foreseeable damage, typical for the type of contract,
except in the event of intent or gross negligence or injury to life, body or health.
The above provisions do not imply a change in the burden of proof to your
detriment.

Any form of duplication or distribution of these application examples or excerpts


hereof is prohibited without the express consent of Siemens Industry Sector.

Configuration of frequency converters


4 V 1.0, Enry ID: 64181993
1 Fehler! Kein Text mit angegebener Formatvorlage im Dokument.

Table of Contents
Warranty and Liability ..............................................................................................4
1 Description of the task and solution .............................................................6
1.1 Task ..................................................................................................6
1.2 Solution .............................................................................................6
1.2.1 Main contents....................................................................................6
1.2.2 Restriction .........................................................................................7
1.2.3 Validity ..............................................................................................7
2 APL channel block “FbDrive” ........................................................................8
2.1 Channel block....................................................................................8
2.2 Template ...........................................................................................9
3 Configuration................................................................................................11
3.1 Requirement....................................................................................11
3.2 Importing the EDD/GSD file ............................................................. 11
3.3 Hardware configuration.................................................................... 12
3.4 CFC engineering .............................................................................18
3.5 OS runtime ......................................................................................26
4 Links .............................................................................................................27
Copyright ã Siemens AG 2012 All rights reserved

5 History ..........................................................................................................27

Configuration of frequency converters


V 1.0, Entry ID: 64181993 5
1 Description of the task and solution

1 Description of the task and solution


1.1 Task
In modern automation projects, not all the components are supplied by the same
company. You often have the situation that the supplier of the process control
system is not the same as the supplier of the drives.
Moreover, not every customer needs the complete and extensive range of
functions for the drives, which can be retrieved by specifically tailored block
libraries, most of them chargeable.

1.2 Solution
For the integration of the frequency-controlled drives Siemens therefore offers a
modern motor channel block “FbDrive”, which is part of the PCS 7 standard library
Advances Process Library (APL) allowing for an integration of all drives which
support the telegram type 1 or 20 into PCS 7. The specifications of the telegram
types 1 and 2 are described in detail in the “Profiles Drive Technology
PROFIdrive”.
In addition, this variant is also interesting for the integration of Siemens drives such
Copyright ã Siemens AG 2012 All rights reserved

as SINAMICS and MICROMASTER. As the complete performance range is not


always needed.
By interconnecting the motor channel block “FbDrive” with the APL function block
“MotSpdCL”, the complete function range of the PCS 7 operation, monitoring and
supervision is available.
The configuration, parameterization and commissioning of the drives takes place in
the usual PCS 7 environment.

1.2.1 Main contents

The integration of a frequency-controlled drive is explained and completely


configured as an example with a SINAMICS CU240S DP F and a prefabricated
template, which is also a part of the PCS 7 Advanced Process Library (APL).
The focus will be on the following issues:
· Channel block “FbDrive”
· Telegram type 1 and 20
· Integration of the template
· Hardware configuration
· CFC engineering
· Extension of the APL template

Configuration of frequency converters


6 V 1.0, Enry ID: 64181993
1 Description of the task and solution

1.2.2 Restriction

This configuration instruction describes the integration of frequency-controlled


drives which support the standard telegram types. As an example the Siemens
drive SINAMICS CU240S DP F is configured, all the other drives will be configured
in exactly the same way.
This application does not refer to the DriveES PCS 7 APL library which is available
separately for a fee and covers the complete performance range of the SINAMICS
and MICROMASTER drives.

1.2.3 Validity

This Application Example is valid for PCS 7 8.0 and higher.

All drives which support the standard telegram types 1 or 20 of the technical
specification “Profiles Drive Technology PROFIdrive” and of which a compatible
Electronic Device Description File (EDD) or a General Station Description (GSD) is
available, can be integrated in PCS 7 V8.0.
Copyright ã Siemens AG 2012 All rights reserved

Configuration of frequency converters


V 1.0, Entry ID: 64181993 7
2 APL channel block “FbDrive”

2 APL channel block “FbDrive”


With the APL channel block „FbDrive“ all frequency-controlled drives which support
the norm telegram types 1 or 20 of the specification "Profiles Drive technology
PROFIdrive” can be integrated in PCS 7.
This enables you to integrate frequency-controlled drives from different
manufacturers into PCS 7.
The channel block is part of the PCS 7 Advanced Process Library (APL), therefore
there will be no further costs from buying an add-on or an external library.
In addition the frequency converters, wherever they come from, are configured in
the same way in the PCS 7 environment.

2.1 Channel block


The channel block “FbDrive” was developed strictly according to the profiles
described in the specification “Profiles Drive Technolog PROFIdrive”.
The channel block supports the telegram type 1 and telegram type 20.

Telegram type 1
The telegram type 1 contains 2 input words and 2 output words, which are
Copyright ã Siemens AG 2012 All rights reserved

represented by the inputs PZDIn1, PZDIn2 and the output PZDOut1 and PZDOut2
in the channel block “FbDrive”.

Word Output word Input word


1 Control word Status feedback
2 Setting the speed Speed feedback

Telegram type 20
In addition to the input and output words of the telegram type 1, telegram type 20
contains 4 more output words (PZDIn3 to PZDIn6), which provide the motor
current, the torque, the power and the Namur messages.

Word Output word Input word


1 Control word Status feedback
2 Setting the speed Speed feedback
3 Motor current

4 Torque

5 Power

Namur messages or a user-configurable


6
additional analog value

The fourth word for the Namur messages can also be used for the representation
of a user-configurable analog value. The choice between an additional analog
value or the Namur messages is made via the feature bit 28.

Configuration of frequency converters


8 V 1.0, Enry ID: 64181993
2 APL channel block “FbDrive”

If the feature bit 28 = 0, the display of an additional user-configurable analog value


has been selected.
If the feature bit 28 = 1, the display of the Namur messages is activated.
Copyright ã Siemens AG 2012 All rights reserved

Both the additional analog value and the Namur messages must be additionally
configured with a configuration tool directly in the motor.

2.2 Template
The template provided by the Advanced Process Library (APL) represents a
complete configured CFC plan, where the APL channel block “FbDrive” is logically
connected with the APL function block “MotSpdCL”, thus offering a ready-to-use
automation solution with the following functions:
· APL faceplates for PCS 7-conform operator control & monitoring.
· Switching between local and remote control
· The same operator control & monitoring – no matter which motor manufacturer
· No additional libraries required

Optional functions (only with telegram type 20)


· Representation of the Namur messages or an additional analog value
· Display of the power in the faceplate
· Display of the torque in the faceplate
· Display of the motor current and monitoring the user-selectable motor current
thresholds

The template is based exclusively on the PCS 7 APL blocks, which are available as
a standard from PCS 7 V8.0 onwards.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 9
2 APL channel block “FbDrive”
Copyright ã Siemens AG 2012 All rights reserved

The template contained in the Advances Process Library is applicable for telegram
type 1 and telegram type 20. However, for the complete range of functions of
telegram type 20, other interconnections and configuration steps have to be
performed (framed in red).
In the template, the channel block “FbDrive” is interconnected with the motor block
“MotSpdCL” for a motor that can be switched on in forward and reverse mode.
Three interlock blocks are provided for the interlocking with acknowledgment
(Protect), interlocking without acknowledgement (Interlock) and the permit for
switching on (Permit)

Where to get the template and the channel block


The channel block and the template are part of the PCS 7 V8.0 and do not require
an additional installation.

Configuration of frequency converters


10 V 1.0, Enry ID: 64181993
3 Configuration

3 Configuration
3.1 Requirement
A prepared PCS 7 project is required, where at least the CPU, the communication
processor and the DP master line, and all the communication paths have already
been configured.

3.2 Importing the EDD/GSD file


In the Siemens device catalog you will find a great variety of field devices. If you
cannot find a field device you use in this catalog, you can install the EDD or GSD
file of your field device. After the installation, the field device will be available in the
device catalog with an object symbol, just as you know it.
You can almost always get the EDD or GSD file from your field device supplier.

Difference between EDD and GSD files


The General Station Description (GSD) contains DP slave transmission features in
a standard form. The use of a GSD file facilitates the configuration and integration
of field devices of different manufacturers in a DP master system.
Copyright ã Siemens AG 2012 All rights reserved

The Electronic Device Description (EDD) always contains the GSD file and adds
the device features of the field device. The EDD files are read in by the
configuration tools, e.g. SIMATIC PDM and simplify the configuration,
commissioning and maintenance of the filed devices.

NOTICE When a frequency converter is to be integrated by means of a GSD file, it cannot


be configured by means of the PDM, but only by means of a configuration tool or
on site by means of an input module.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 11
3 Configuration

3.3 Hardware configuration

1. Open the hardware configuration (HW Config).


2. In the device catalog, change the profile to “Standard”.
The device tree then only lists those field devices which support the standard
protocols.
Copyright ã Siemens AG 2012 All rights reserved

3. In the device catalog, select the direct starter you use, for example
“PROFIBUS DP > Additional Field Devices > Drives > SINAMICS CU240S DP
F V32”.

4. Drag and drop your frequency converter to the PROFIBUS master system.

Configuration of frequency converters


12 V 1.0, Enry ID: 64181993
3 Configuration

5. Assign the new PROFIBUS address.

6. Select the telegram type 20 and drag and drop it to the respective slot.
Copyright ã Siemens AG 2012 All rights reserved

Configuration of frequency converters


V 1.0, Entry ID: 64181993 13
3 Configuration

7. Select the line with the input addresses, open the Object Properties with the
right mouse button and select “Object Properties…”-
Copyright ã Siemens AG 2012 All rights reserved

8. Assign the start address of the input addresses.

Note The “FbDrive” block must be incorporated in the same cycle (OB) as the
respective hardware.

Configuration of frequency converters


14 V 1.0, Enry ID: 64181993
3 Configuration

9. Select the line with the output addresses, open Object Properties with the right
mouse button and select “Object Properties…”-
Copyright ã Siemens AG 2012 All rights reserved

10. Assign the start address of the input addresses.

NOTICE Make sure that the start addresses of the input and output addresses begin with
the same start value.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 15
3 Configuration

Assign a symbolic address


11. Select the line with the output addresses and open the “Edit Symbols…“
window with a click on the right mouse button
Copyright ã Siemens AG 2012 All rights reserved

12. Assign the symbolic names of the output addresses in the “Symbol” column.

Configuration of frequency converters


16 V 1.0, Enry ID: 64181993
3 Configuration

13. Select the line with the input addresses and open the “Edit Symbols…“ window
with a click on the right mouse button
Copyright ã Siemens AG 2012 All rights reserved

14. Assign the symbolic names of the input addresses in the “Symbol” column.

15. Save your configuration settings.


16. Load the hardware configuration.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 17
3 Configuration

3.4 CFC engineering


1. Switch to the SIMATIC Manager.
2. Select “File > Open…” in the menu bar.
Copyright ã Siemens AG 2012 All rights reserved

3. In the window “Open Project” go to the tab “Libraries” and select the
“PCS 7 AP Library V80”.

4. In the PCS 7 Library V80, select the “Templates” folder.

Configuration of frequency converters


18 V 1.0, Enry ID: 64181993
3 Configuration

5. Select the “Drive” template, open the context menu and select “Copy”.

6. Go to the technical hierarchy and add the copied template with the right mouse
button and “paste”.
Copyright ã Siemens AG 2012 All rights reserved

7. Now the template is copied.


8. Rename the template.
9. Open the template.
10. Select the “MotSpdCL” block, click on the right mouse button and select
“Object Properties”.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 19
3 Configuration

11. Assign a meaningful name under “Name:”


Copyright ã Siemens AG 2012 All rights reserved

Adding additional functions to the template


The APL template is applicable for the telegram type 1 and also for the telegram
type 20. Therefore, the additional values provided by telegram type 20 are not
interconnected in the template and have to be interconnected manually when
telegram type 20 is used.
In this example, the telegram type 20 is used so that you perform the following
interconnections:

12. Select the “FbDrive” block, click on the right mouse button and select “Object
Properties”.

Configuration of frequency converters


20 V 1.0, Enry ID: 64181993
3 Configuration

13. Switch to the tab “I/Os”.


Copyright ã Siemens AG 2012 All rights reserved

14. Switch the following outputs to visible, by removing the tick in the column
“Invisible”:
· “CurrentLi” (motor current)
· “CurrentScale”
· “CurrentUnit”
· “Power1Li” (torque)
· “Power1Scale”
· “Power1Unit”
· “Power2Li” (power)
· “Power2Scale”
· “Power2Unit”
· “FreeLi” (user-configurable analog value or Namur messages)
· „FreeScale“
· „FreeUnit“
15. Select the “MotSpdCL” block, click on the right mouse button and select
“Object Properties”.
16. Switch to the tab “I/Os”.
17. Switch the following inputs to visible, by removing the tick in the column
“Invisible”:
· “UserAna1”
· “UA1unit”
· “UserAna2”
· “UA2unit”
· “AV”

Configuration of frequency converters


V 1.0, Entry ID: 64181993 21
3 Configuration

The motor current is monitored in the extended template for user-configurable


threshold values.
Please proceed as follows:

18. Go to the CFC plan.


19. Open the „Advanced Process Library“.
20. Drag and drop the “AV” block to the CFC plan.

21. Make the following interconnections:


“AV” block à “MotSpdCL” block
Copyright ã Siemens AG 2012 All rights reserved

Output “AV_Tech” (motor current) à Input “AV”

NOTICE Always interconnect the output „AV_Tech“ of the “AV” block with the “AV” input
of the “MotSpdCL” block.
People often make the mistake of using the output “AV_Out” of the “AV” block.
While it can be connected, the output “AV_Out” is no structure so that the
expected function will fail.

22. For the monitoring of the motor current, carry out the following
interconnections:
Block “FbDrive” à “AV” block
Output “CurrentL” (motor current) à Input “AV”
Output „CurrentS“ (measuring range) à Input “AV_Sca”
Output “CurrentU” (unit) à Input “AV_Unit”

23. For the power and the torque, carry out the following interconnections:
Block “FbDrive” à “MotSpdCL” block
Output “Power1Li” (torque) à Input “UserAna1”
Output “Power1Un” (unit) à Unit “UA1unit”
Output “Power2Li” (power) à Input “UserAna2”
Output “Power2Un” (unit) à Unit “UA2unit”

Configuration of frequency converters


22 V 1.0, Enry ID: 64181993
3 Configuration
Copyright ã Siemens AG 2012 All rights reserved

You can assign instance-specific texts to the values “UserAna1.Value”,


“UserAna2Value” and “AV_Out.value”, which will be represented in the faceplate.

24. Select the “MotSpdCL” block, select “Properties” and change to the “I/Os” tab.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 23
3 Configuration

25. In the column “Identifier”, assign the instance-specific texts for the following
inputs:
Name of the input: Identifier
UserAna1.Value Torque
UserAna2.Value Power
AV_Out.Value Current
Copyright ã Siemens AG 2012 All rights reserved

Configuration of frequency converters


24 V 1.0, Enry ID: 64181993
3 Configuration

Interconnect a symbolic address


26. In the CFC plan, select the input “PZDIn1” of the “FbDrive” block. Open the
context menu with the right mouse button, and select “Interconnection to
Address…”.
27. Select the first input word of the process image of your SINAMICS, in this case
“IW512_SINA”.
All the other input and output words are automatically connected by the driver
wizard.
Copyright ã Siemens AG 2012 All rights reserved

Note The telegram type used must also be stored in the frequency converter. You can
make this setting by means of the respective configuration tool or when you
integrated the EDD via PDM.
The driver wizard checks the number of input data, compares it with those stored
in the device and if they don’t match, it generates an error message.

Compiling and loading of the AS and OS


28. Compile and load the AS.
29. Compile and load the OS.

Configuration of frequency converters


V 1.0, Entry ID: 64181993 25
3 Configuration

3.5 OS runtime
In OS Runtime you operate and monitor the field device via the usual faceplate of
the “MotSpdCL”.
The operator always sees and operates the same faceplates, no matter how many
different drives of different manufacturers are integrated in the system operation.
This guarantees a uniform operating concept, a clearer structure and avoids
operating mistakes.

Faceplate of the “MotSpdCL” block


Copyright ã Siemens AG 2012 All rights reserved

Faceplate of the “AV” block

Configuration of frequency converters


26 V 1.0, Enry ID: 64181993
4 Links

4 Links
The following list is by no means complete and only provides a selection of
appropriate information.

Table 4-1

Topic Title

1 Reference to this document http://support.automation.siemens.com/


WW/view/en/64181993
2 Siemens Industry Online Support http://support.automation.siemens.com
3 PCS 7 quick start http://support.automation.siemens.com/
(start page, landing page) WW/view/en/63481413
4 Configuration of SINSAMICS and http://support.automation.siemens.com/
MICROMASTER drives with WW/view/en/58007228
Drive ES in PCS 7.

5 History
Copyright ã Siemens AG 2012 All rights reserved

Table 5-1

Version Date Change


V1.0 10/2012 First issue

Configuration of frequency converters


V 1.0, Entry ID: 64181993 27

You might also like