Академический Документы
Профессиональный Документы
Культура Документы
http://support.automation.siemens.com/WW/view/en/22078757
Warranty and liability
Note 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,
Siemens AG 2014 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion 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 product-
specific newsletter. For more information, visit
http://support.automation.siemens.com.
Table of contents
Warranty and liability ............................................................................................... 2
Preposition ............................................................................................................... 4
Validity ...................................................................................................................... 4
1 Application description .................................................................................. 5
2 Parameter settings ......................................................................................... 6
3 Additional information ................................................................................... 7
3.1 1st step – unzip the project example .................................................. 7
3.2 2nd step – hardware configuration ..................................................... 8
3.3 3rd step – STEP 7 program ............................................................... 9
3.4 4th step – operation ........................................................................... 9
4 Entering the reference frequency ................................................................ 10
5 Related literature .......................................................................................... 11
6 Contact.......................................................................................................... 11
7 History .......................................................................................................... 12
Siemens AG 2014 All rights reserved
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
Use of the STEP7 project example
Exclusion
Siemens AG 2014 All rights reserved
Validity
The example applies to an implementation with STEP 7 V5.x for all PROFIBUS-
capable...
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
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.
2 Parameter settings
Set the following parameters in the drive converter:
NOTE The PROFIBUS slave address can either be set using the DIP switch at the
PROFIBUS module or using parameter P0918.
Siemens AG 2014 All rights reserved
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.
*
Set only for SINAMICS G120/G120D
3 Additional information
The following steps indicate the rough procedure for using the STEP 7 project
example „FC14_PROFIBUS_DP_en“:
Download the hardware project into the S7-CPU. The hardware project must run,
error-free!
NOTE 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.
ON/OFF1 command
Frequency setpoint
NOTE The user must set the maximum frequency P1082 and the reference frequency
P2000 in the frequency inverter.
Example:
Siemens AG 2014 All rights reserved
Frequency setpoint
Actual frequency
5 Related literature
Table 5-1
Subject area Title
\1\ Siemens Industry http://support.automation.siemens.com
Online Support
\2\ Download page of http://support.automation.siemens.com/WW/view/en/22078757
this entry
\3\ SINAMICS G120
http://support.automation.siemens.com/WW/view/en/22339653/133300
\4\ SINAMICS G120D
http://support.automation.siemens.com/WW/view/en/25021636/133300
Manuals
\5\ MICROMASTER 4
http://support.automation.siemens.com/WW/view/en/10804923/133300
\6\ MICROMASTER PROFIBUS Optional Board
http://support.automation.siemens.com/WW/view/en/6586565
\7\ Application Reading and writing parameters of the frequency inverters
SINAMICS G120/G120D, ET200S FC and ET200pro via
PROFINET and PROFIBUS
http://support.automation.siemens.com/WW/view/en/29157692
\8\ FAQ Are there program examples for the Instruction Manual of the
MICROMASTER PROFIBUS option module?
Siemens AG 2014 All rights reserved
http://support.automation.siemens.com/WW/view/en/22813212
\9\ FAQ How do I read / write parameters using PROFIBUS on the
MICROMASTER 4 and CU240S/D DP/DP-F and PROFINET on
the CU240S/D PN/PN-F?
http://support.automation.siemens.com/WW/view/en/8894584
\10\ FAQ Can the PKW mechanism be used for SINAMICS G120 /
G120D?
http://support.automation.siemens.com/WW/view/en/23689387
\11\ FAQ How can I use SFC58 and SFC59 to read parameters from my
G120?
http://support.automation.siemens.com/WW/view/en/23990917
\12\ Download Startdrive und DriveLib
http://support.automation.siemens.com/WW/view/en/68034568
6 Contact
Siemens AG
Industry Sector
I DT MC PMA APC
Frauenauracher Strasse 80
91056 Erlangen
Germany
mailto: tech.team.motioncontrol@siemens.com
7 History
Table 7-1 History
Version Datum Change
V1.0 03/2003 First edition
V2.0 12/2003 Second edition
V3.0 09/2008 The text was revised, comments in English and
German inserted in the S7 project example
V3.1 12/2008 Expanded for SINAMICS G120/G120D
V3.2 01/2014 Link to implementation with S7-1200/1500 in TIA
Portal; editorial revision;
Siemens AG 2014 All rights reserved