Professional Documents
Culture Documents
01/2014
http://support.automation.siemens.com/WW/view/en/22078757
The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping 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. These application examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made 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 recommendations provided in these
application examples and other Siemens publications e.g. Catalogs the
contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims 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
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). The damages for a breach of a substantial
contractual obligation 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 of the burden of
proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of Siemens Industry Sector.
Security
information
Siemens provides products and solutions with industrial security functions that
support the secure operation of plants, solutions, machines, equipment and/or
networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a productspecific newsletter. For more information, visit
http://support.automation.siemens.com.
Table of contents
Table of contents
Warranty and liability ............................................................................................... 2
Preposition ............................................................................................................... 4
Validity ...................................................................................................................... 4
1
Contact.......................................................................................................... 11
History .......................................................................................................... 12
1 Application description
Preposition
Aim of the application
This application has been created in order to provide users with a possibility of
quickly and simply connecting a MICROMASTER 4 or a SINAMICS G120/G120D
drive converter with Control Units CU240S/D DP/DP-F or CU230P-2 to a SIMATIC
S7-300/400 control system via PROFIBUS DP. To do this, a STEP7 project
example has been created in which the FC14 function block is used to establish
communications between the MICROMASTER 4 and a SIMATIC S7-300/400
control system via PROFIBUS DP.
This application shows the possibilities that users have when using the FC14
function block and which parameters and interface signals can be exchanged
between the FC14 function block and the user program (AWP). This application
also shows how the STEP7 project example should be used.
Scope
The following main points are discussed in this application:
Description of the FC14 function block
Validity
The example applies to an implementation with STEP 7 V5.x for all PROFIBUScapable...
MICROMASTER 4
SINAMICS G120 / G120C / G120D
If you work with a SIMATIC S7-1200 or S7-1500 in the TIA Portal, you better use
FB SINA_SPEED (FB285) from "DriveLib_S71200/1500...". Function block,
description and instructions how to configure and to include you will find under
http://support.automation.siemens.com/WW/view/de/68034568.
1 Application description
Application description
Here, you will obtain an overview of the functions of the FC14 function block,
parameter settings of the drive and information on how to use the STEP7 project
example.
Overview
Using the FC14 function block it is now possible to quickly and simply couple a
MICROMASTER 4 or a SINAMICS G120/G120D drive converter with Control Units
CU240S/D DP/DP-F or CU230P-2 to a SIMATIC S7-300/400 control via
PROFIBUS DP. The block provides the user with a simple control and setpoint
interface. The signals used are comparable with the control and setpoint interface
via terminal strip.
The following parameters and interface signals are exchanged between the FC14
and the user program.
Table 1-1 Default assignment of interface FC14
Name
Type
Default
Designation
hw_config_I_O_address
INT
256
drive_on_off
BOOL
M 0.0
1 = ON
0 = OFF1
drive_reversing
BOOL
M 0.1
1 = setpoint inversion
0 = no setpoint inversion
drive_fault_ackn
BOOL
M 0.2
1 = acknowledge fault
0 = no significance
drive_f_setpoint
REAL
MD 2
drive_in_operation
BOOL
M 0.3
1 = operation enabled
0 = operation inhibited
drive_fault_active
BOOL
M 0.4
1 = fault
0 = no fault
drive_alarm_active
BOOL
M 0.5
1 = alarm
0 = no alarm
drive_f_act
REAL
MD 6
AWP
FC14
FC14
AWP
2 Parameter settings
Parameter settings
Set the following parameters in the drive converter:
Table 2-1 Parameter settings
NOTE
P-No.
Designation
Parameter
value
Note / Comments
P0700
Control source
P1000
Setpoint source
P0918
PROFIBUS address
P0922*
Selection of
PROFIdrive Standard
Telegram
1 = Standard Telegram 1
The PROFIBUS slave address can either be set using the DIP switch at the
PROFIBUS module or using parameter P0918.
The DIP switch setting has priority and is displayed using parameter P0918 if the
DIP switch is not = 0.
This means that the address defined in parameter P0918 is only valid if the DIP
switch = 0.
3 Additional information
3.1 1st step unzip the project example
Additional information
The following steps indicate the rough procedure for using the STEP 7 project
example FC14_PROFIBUS_DP_en:
3.1
3 Additional information
3.2 2nd step hardware configuration
3.2
If you use the hardware configuration in the project example, compare all of the
components, issues and PROFIBUS addresses with your actual configuration. If
required, adapt the configuration.
Download the hardware project into the S7-CPU. The hardware project must run,
error-free!
3 Additional information
3.3 3rd step STEP 7 program
3.3
NOTE
3.4
FC14 uses UDT11 and UDT33 and they may neither be deleted nor re-named.
The user-defined data types (UDT) have been generated for control word 1
UDT11 and status word 1 UDT33.
The function block can be simply operated using the VAT1 table of variables.
ON/OFF1 command
Frequency setpoint
NOTE
The user must set the maximum frequency P1082 and the reference frequency
P2000 in the frequency inverter.
Example:
Frequency setpoint
Actual frequency
Figure 4-1 Entering the reference frequency
10
5 Related literature
Related literature
Table 5-1
Subject area
Title
\1\
Siemens Industry
Online Support
http://support.automation.siemens.com
\2\
Download page of
this entry
http://support.automation.siemens.com/WW/view/en/22078757
\3\
SINAMICS G120
http://support.automation.siemens.com/WW/view/en/22339653/133300
\4\
\5\
SINAMICS G120D
Manuals
http://support.automation.siemens.com/WW/view/en/25021636/133300
MICROMASTER 4
http://support.automation.siemens.com/WW/view/en/10804923/133300
\6\
\7\
Application
\8\
FAQ
\9\
FAQ
\10\
FAQ
\11\
FAQ
\12\
Download
Contact
Siemens AG
Industry Sector
I DT MC PMA APC
Frauenauracher Strasse 80
91056 Erlangen
Germany
mailto: tech.team.motioncontrol@siemens.com
11
7 History
History
Table 7-1 History
Version
Datum
Change
03/2003
First edition
V2.0
12/2003
Second edition
V3.0
09/2008
V3.1
12/2008
V3.2
01/2014
V1.0
12