0% found this document useful (0 votes)
22 views117 pages

DCC Programming - PDF en-US

This document is a programming and operating manual for the SINAMICS/SIMOTION DCC editor, detailing safety guidelines, qualified personnel requirements, and prescribed usage. It includes comprehensive instructions on DCC editor functionality, project creation, block handling, and system integration for both SINAMICS and SIMOTION. Additionally, it provides information on technical support and documentation resources available through Siemens AG.

Uploaded by

Gabriel Souza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views117 pages

DCC Programming - PDF en-US

This document is a programming and operating manual for the SINAMICS/SIMOTION DCC editor, detailing safety guidelines, qualified personnel requirements, and prescribed usage. It includes comprehensive instructions on DCC editor functionality, project creation, block handling, and system integration for both SINAMICS and SIMOTION. Additionally, it provides information on technical support and documentation resources available through Siemens AG.

Uploaded by

Gabriel Souza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 117

Preface

Introduction 1

DCC editor functionality 2


SINAMICS / SIMOTION
DCC for SINAMICS 3
SINAMICS/SIMOTION DCC editor 4
DCC for SIMOTION
description
Appendix A
Programming and Operating Manual

03.2007
6SL3097-2AN00-0BP0
Safety Guidelines
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
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.

CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.

NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
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 device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.

Prescribed Usage
Note the following:

WARNING
This device may only be used for the applications described in the catalog or the technical description and only
in connection with devices or components from other manufacturers which have been approved or
recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage,
positioning and assembly as well as careful operation and maintenance.

Trademarks
All names identified by ® are registered trademarks of the 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.

Siemens AG Ordernumber: 6SL3097-2AN00-0BP0 Copyright © Siemens AG 2006, 2007.


Automation and Drives Ⓟ 07/2007 Technical data subject to change
Postfach 48 48
90327 NÜRNBERG
GERMANY
Preface

SIMOTION Documentation
An overview of the SIMOTION documentation can be found in a separate list of references.
This documentation is included as electronic documentation with the supplied SIMOTION
SCOUT.
The SIMOTION documentation consists of 9 documentation packages containing
approximately 60 SIMOTION documents and documents on other products (e.g.
SINAMICS).
The following documentation packages are available for SIMOTION V4.1:
● SIMOTION Engineering System
● SIMOTION System and Function Descriptions
● SIMOTION Diagnostics
● SIMOTION Programming
● SIMOTION Programming - References
● SIMOTION C2xx
● SIMOTION P350
● SIMOTION D4xx
● SIMOTION Supplementary Documentation

SINAMICS documentation
The SINAMICS documentation is organized into 2 parts:
● General documentation/catalogs
● Manufacturer/service documentation
A current overview of the documentation in the available languages can be found on the
Internet:
http://www.siemens.com/motioncontrol
Select the menu items "Support" --> "Technical Documentation" --> "Overview of
Publications."
The Internet version of DOConCD (DOConWEB) is available on the Internet:
http://www.automation.siemens.com/doconweb
Information on the range of training courses and FAQs (Frequently Asked Questions) are
available on the Internet:
http://www.siemens.com/motioncontrol

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 3
Preface

Follow the menu item "Support".

Further documentation for the DCC editor


● SINAMICS/SIMOTION DCC Block Description Function Manual

If you have any technical questions, please contact our hotline (worldwide):
A&D Technical Support:
● Phone: +49 (180) 50 50 222
● Fax: +49 (180) 50 50 223
● E–mail: [email protected]
● Internet: http://www.siemens.de/automation/support-request
If you have any questions, suggestions, or corrections regarding the documentation, please
fax or e-mail them to:
● Fax: +49 (9131) 98 63315
● E–mail: [email protected]

Siemens Internet address


The latest information about SIMOTION/SINAMICS products, product support, and FAQs
can be found on the Internet at:
● General information:
– http://www.siemens.com/simotion
– http://www.siemens.com/sinamics.

SINAMICS/SIMOTION DCC editor description


4 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
Table of contents
Preface ...................................................................................................................................................... 3
1 Introduction................................................................................................................................................ 9
2 DCC editor functionality ........................................................................................................................... 11
2.1 Overview ......................................................................................................................................11
2.2 Requirement.................................................................................................................................12
2.3 Establish the project requirements ..............................................................................................13
2.3.1 Create a project............................................................................................................................13
2.3.2 Inserting a device into a project ...................................................................................................14
2.3.3 Inserting the DCC chart in a project.............................................................................................14
2.3.4 Creating hierarchical charts .........................................................................................................17
2.4 Library handling ...........................................................................................................................17
2.4.1 Importing block libraries ...............................................................................................................17
2.4.2 Checks (import)............................................................................................................................18
2.4.3 Inserting block types ....................................................................................................................18
2.4.4 Updating the block library ............................................................................................................18
2.4.5 Changing the block library language ...........................................................................................19
2.4.6 Removing block libraries from the configuration..........................................................................19
2.5 Handling blocks............................................................................................................................20
2.5.1 Introduction ..................................................................................................................................20
2.5.2 Inserting blocks ............................................................................................................................20
2.5.2.1 Inserting blocks in the DCC editor ...............................................................................................20
2.5.2.2 Interconnecting blocks .................................................................................................................22
2.5.2.3 Interconnection of global operands..............................................................................................23
2.5.3 Deleting blocks.............................................................................................................................23
2.5.4 Editing block connections ............................................................................................................23
2.5.4.1 General ........................................................................................................................................23
2.5.4.2 Block connection properties.........................................................................................................23
2.6 Compiling .....................................................................................................................................25
2.6.1 Consistency check without code generation................................................................................25
2.6.2 Compiling in the DCC editor with code generation ......................................................................26
2.7 Editing configurations further .......................................................................................................28
2.7.1 Editing programs further: overview ..............................................................................................28
2.7.2 Changing the block library ...........................................................................................................28
2.7.3 Copying of charts or chart sections .............................................................................................29
2.8 Test mode ....................................................................................................................................30
2.8.1 Enabling the value and trend display during a test......................................................................30
2.8.2 Activating test mode.....................................................................................................................30
2.8.3 Monitoring test mode ...................................................................................................................31
2.8.4 Deactivating test mode ................................................................................................................31
2.8.5 Test modes ..................................................................................................................................32
2.9 Reference data ............................................................................................................................33
2.9.1 Chart reference data ....................................................................................................................33

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 5
Table of contents

2.9.2 List of block type cross references.............................................................................................. 33


2.9.3 Cross References List Execution Groups (only for DCC-SIMOTION)........................................ 33
2.9.4 List of operand cross references................................................................................................. 34
2.10 Know-how Protection .................................................................................................................. 35
2.10.1 Information on know-how Protection........................................................................................... 35
2.11 Startup behavior.......................................................................................................................... 37
2.11.1 Information on the restart behavior ............................................................................................. 37
3 DCC for SINAMICS ................................................................................................................................. 39
3.1 Overview ..................................................................................................................................... 39
3.1.1 Introduction ................................................................................................................................. 39
3.1.2 Software requirements ................................................................................................................ 39
3.1.3 SINAMICS system integration..................................................................................................... 40
3.1.3.1 Applications and features............................................................................................................ 40
3.1.3.2 Execution groups in the DCC editor............................................................................................ 41
3.1.3.3 Execution sequence order, creating new execution groups ....................................................... 48
3.1.3.4 Creating customer-specific parameters ("declare") .................................................................... 49
3.1.3.5 Interconnection with SINAMICS parameters .............................................................................. 53
3.1.3.6 Computing time load ................................................................................................................... 54
3.1.3.7 Copy charts within a project ........................................................................................................ 56
3.1.3.8 Copy charts between projects..................................................................................................... 56
3.2 Working with DCC SINAMICS .................................................................................................... 57
3.2.1 Preliminary remarks on configuration ......................................................................................... 57
3.2.2 Creating a new project ................................................................................................................ 58
3.2.3 Inserting the DCC chart in the project......................................................................................... 59
3.2.4 Inserting blocks in a DCC chart .................................................................................................. 61
3.2.5 Interconnecting blocks ................................................................................................................ 62
3.2.6 Parameterizing DCB connections in the chart ............................................................................ 62
3.2.7 Declaring DCB connections as parameter.................................................................................. 64
3.2.8 Compiling the DCC chart in the DCC editor................................................................................ 65
3.2.9 Setting execution sequence within an execution group.............................................................. 66
3.2.10 Setting sampling time for an execution group............................................................................. 67
3.2.11 Loading the DCC technology option onto the CF card of the drive device................................. 67
3.2.12 Downloading compiled DCC chart into the drive ........................................................................ 69
3.2.13 Display online values for declared parameters ........................................................................... 70
3.2.14 Record with the trace signals from the DCC chart...................................................................... 71
3.2.15 Archiving a project....................................................................................................................... 72
3.2.16 Creating documentation .............................................................................................................. 72
3.3 Connecting the DCC to the drive ................................................................................................ 75
3.3.1 Calculating a DCC chart with per-unit variables ......................................................................... 75
3.3.2 Calculating a DCC chart with absolute variables........................................................................ 76
3.3.3 Interconnecting DCC signals with communication interfaces IF1 and IF2 ................................. 78
3.3.3.1 Interconnecting received process data with DCC....................................................................... 78
3.3.3.2 Interconnecting sent process data with DCC.............................................................................. 78
3.4 DCC SINAMICS specifications ................................................................................................... 79
3.4.1 Rules for assigning names in the DCC editor ............................................................................. 79
3.4.2 Field/name lengths and conventions .......................................................................................... 80
3.4.3 Representation of the dynamic value display ............................................................................. 80
3.4.4 Interconnectability of data types ................................................................................................. 81
3.5 Faults and warnings .................................................................................................................... 81

SINAMICS/SIMOTION DCC editor description


6 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
Table of contents

4 DCC for SIMOTION ................................................................................................................................. 83


4.1 Overview ......................................................................................................................................83
4.1.1 Introduction ..................................................................................................................................83
4.1.2 Software requirements.................................................................................................................83
4.1.3 SIMOTION system integration .....................................................................................................84
4.1.3.1 Execution level, execution group and execution sequence.........................................................84
4.1.3.2 HMI variables (publication of variables and @Parameter)) .........................................................86
4.1.3.3 Interconnecting with SIMOTION variables...................................................................................88
4.1.4 Creating block libraries ................................................................................................................90
4.1.4.1 Fundamentals ..............................................................................................................................90
4.1.4.2 Creating comments for block libraries you have created yourself ...............................................92
4.1.4.3 Special features of the 1:N interconnection of chart interface inputs ..........................................93
4.1.4.4 Reliance of the generated block on the underlying block libraries ..............................................94
4.1.5 Changing SIMOTION online ........................................................................................................95
4.1.5.1 Deleting an interconnection online...............................................................................................95
4.1.5.2 Establishing an interconnection online ........................................................................................95
4.1.5.3 Changing parameters online........................................................................................................95
4.1.5.4 Inserting a block online ................................................................................................................96
4.1.5.5 Deleting a block online.................................................................................................................96
4.1.6 DCC and SIMOTION Trace .........................................................................................................96
4.1.6.1 Description of Trace.....................................................................................................................96
4.2 Working with DCC SIMOTION.....................................................................................................97
4.2.1 Preliminary remarks on configuration ..........................................................................................97
4.2.2 Creating a project.........................................................................................................................98
4.2.3 Inserting a chart ...........................................................................................................................98
4.2.4 Inserting blocks ..........................................................................................................................100
4.2.5 Interconnecting blocks ...............................................................................................................101
4.2.6 Default connection values for delta downloads .........................................................................102
4.2.7 Compiling in the DCC editor with code generation ....................................................................103
4.2.8 Downloading a DCC program ....................................................................................................105
4.2.9 Starting the CPU ........................................................................................................................105
4.2.10 Monitoring in laboratory mode ...................................................................................................105
4.2.11 Monitoring in process mode.......................................................................................................105
4.2.12 Logging on/logging off connections for testing ..........................................................................106
4.2.13 Activating/deactivating connection monitoring...........................................................................106
4.2.14 "Enable" attribute .......................................................................................................................107
4.2.15 Creating documentation.............................................................................................................107
4.3 DCC SIMOTION specifications..................................................................................................108
4.3.1 Rules for assigning names in the DCC editor............................................................................108
4.3.2 Field/name lengths and conventions .........................................................................................109
4.3.3 Representation of the dynamic value display ............................................................................110
4.3.4 Interconnectability of data types ................................................................................................110
4.3.5 Data type abbreviation in the DCC for connection and transformer blocks...............................111
4.4 Faults and warnings...................................................................................................................112
4.4.1 Notes on error message display ................................................................................................112
A Appendix................................................................................................................................................ 113
A.1 List of abbreviations ...................................................................................................................113
Index...................................................................................................................................................... 115

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 7
Introduction 1
The Drive Control Chart editor (called DCC editor in the following) offers a modular, scalable
technology option, which has chiefly been developed for drive-related, continuous open-loop
and closed-loop control engineering tasks. SIMOTION controllers and SINAMICS drives can
be configured graphically with the DCC editor. The DCC editor has no restrictions with
regard to the number of usable Drive Control Blocks (called DCB in the following).
Combinational logic, which connects several states (e.g. access control, plant status) to a
control signal (e.g. ON command), is required for controlling the drive system in a wide
variety of applications.
As well as logic operations, a number of arithmetical operations / storing elements are
increasingly becoming a requirement in drive systems. This kind of functionality is available
on drive objects of the SINAMICS drive system and the SIMOTION control system in the
form of a DCC.
The DCC editor is activated on each of the individual drive objects. DCC can be activated
simultaneously on several drive objects on a drive unit. Drive-related tasks can be solved
directly in the converter with the DCC editor.
A comprehensive programming of control structures is possible in conjunction with
SIMOTION. These can then be combined with other program sections to form an overall
program.
The DCC editor provides a large number of DCBs with identical functions in DCC SINAMICS
and DCC SIMOTION.
The DCC editor has the following performance features:
● Block library with management blocks, arithmetic function blocks, control loop blocks,
logic blocks and complex blocks.
● Graphic component connection editor with various editing, macro, help, search,
comparison and print functions.
● Simple configuration of axial winder functions, PI controller, ramp-function generator or
wobble generator.
● Execution environment for SIMOTION with sampling times that can be selected and
mixed, and consistent data transfer between sampling times.
● Execution environment for SINAMICS with the option of embedding technology in
SINAMICS using BICO technology so that applications can be set via configured
parameters.
● Diagnostics environment with signal display, diagnostic and trace functions.
● Scalability with different performance features and quantity structures in DCC SIMOTION
and DCC SINAMICS.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 9
Introduction

Note
The DCC editor is a programming system based on CFC (Continuous Function Chart). The
following sections will describe the principles of DCC operation that have not already been
covered in the manual titled "CFC Manual for S7".

Note
Further references for the DCC editor:
SINAMICS/SIMOTION DCC Block Description Function Manual

SINAMICS/SIMOTION DCC editor description


10 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality 2
2.1 Overview
The product offers a modular, scalable technology option, which has chiefly been developed
for drive-related, continuous open-loop and closed-loop control engineering tasks.
The DCC technology option for SIMOTION controllers and SINAMICS drives can be
configured graphically using the Drive Control Chart editor (referred to below as DCC editor),
which is based on CFC. The following figure illustrates the data flow of the configuration data
when configuring with the DCC technology option:

'&& &)&

$GG

0XO

&RQILJXULQJ &RPSLOLQJ

6&28767$57(5

%ORFNW\SHLPSRUW /RDG

6,027,21'&%OLEUDU\ 6,027,21

6,1$0,&6'&%OLEUDU\ 6,1$0,&6

Figure 2-1 Flow of configuration data

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 11
DCC editor functionality
2.2 Requirement

1. When a new chart is created, the block types are taken from the device-specific block
library and inserted in the DCC editor's block manager.
2. The DCC editor is used to create charts, in which you can insert, parameterize and
interconnect blocks.
3. When you compile the charts, an intermediate code is created.
4. This is downloaded to the device or drive unit using STARTER/SCOUT.

2.2 Requirement
Open the SIMOTION SCOUT/STARTER application and insert a device or drive unit in the
project.
Create a new chart in the project. To do this, use the Insert DCC chart command. You
should then select the DCB library to be used. No blocks are available for selection in the
DCC editor when a block library is not selected here.
In the Import DCB Library dialog box, select the desired language version of the blocks via
the Language with which the DCBs are imported drop-down list box.
It is currently possible to configure the following devices using DCC:
● SIMOTION P, C and D, Version 4.1 or higher
● SINAMICS Integrated of the SIMOTION D, Version 2.5 or higher
● SINAMICS S120, S150, SM150, G130, G150, GM150, GL150, Version 2.5 or higher

Note
Configuration should not be carried out in SIMATIC Manager, but directly using
SCOUT/STARTER. SIMATIC Manager uses a type of syntax for naming new charts that
causes an error when they are compiled in SIMOTION SCOUT.
If errors occur when charts are being compiled in SIMOTION SCOUT, it is possible to
generate a comprehensive error report by compiling them again in the DCC editor.

Note
The DCC editor is installed automatically with the SIMOTION SCOUT engineering
system. An appropriate program license is required for the DCC editor.

Note
It is only possible to print DCC charts in the DCC editor, but not in SIMOTION
SCOUT/STARTER.

Note
Only context-sensitive help is available for the DCC blocks, i.e. the descriptions cannot
be accessed from the main help page.

SINAMICS/SIMOTION DCC editor description


12 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.3 Establish the project requirements

2.3 Establish the project requirements

2.3.1 Create a project


Before using the DCC Editors, you must create a new project in the SIMOTION
SCOUT/STARTER Engineering System.

Procedure
Proceed as follows to create a project:
1. Start the SIMOTION SCOUT engineering system?
2. Execute the Project > New function from the menu bar.
3. In the New Project window, enter the name of the project in the Name field.

Figure 2-2 Window - New Project

4. Click OK to close the window.


The new project is created and then automatically opened.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 13
DCC editor functionality
2.3 Establish the project requirements

Note
Convention for assigning names for projects
The project name may contain a maximum of 24 characters. The folder name is generated
using the first eight characters of the project name. It is therefore important to ensure that the
first eight characters of the project name are unambiguous.

2.3.2 Inserting a device into a project


Proceed as follows to insert a device into a project:
1. Open an existing project in SIMOTION SCOUT.
2. Execute the Create new device command.

Figure 2-3 Create new device

3. In the Create new device window, select the required device and close the window with
OK.
All requirements for creating a DCC chart in the project have now been met.

2.3.3 Inserting the DCC chart in a project


You can now insert a DCC chart into the existing project.

Procedure
1. Select a device from the project.
2. Execute the Insert DCC chart function from the PROGRAM subitem of the device.

SINAMICS/SIMOTION DCC editor description


14 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.3 Establish the project requirements

Figure 2-4 Inserting a DCC chart

3. The Insert DCC chart window appears.

Figure 2-5 Insert DCC chart window

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 15
DCC editor functionality
2.3 Establish the project requirements

4. Assign a name to the DCC chart.


The DCC chart has now been created.
If you have selected the Open editor automatically option in the Insert DCC chart window
then the DCC Editor opens automatically. When opening the DCC chart for the first time, the
Import DCB library window is automatically displayed.

Explanation of the various types of chart


There are three different types of chart:
● Basic chart
● Chart partition
● Subchart
Charts that are visible within SIMOTION STARTER/SCOUT or the SIMATIC Manager are
designated as basic charts. Every basic chart had up to 26 chart partitions and each of these
partitions comprises six sheets. Embedded charts - the subcharts - can be used within each
sheet. Each of these subcharts may also have its own chart partitions and subcharts. A
maximum number of eight nesting levels with subcharts is possible.
Subcharts are not visible as charts in SIMOTION STARTER/SCOUT or in the SIMATIC
Manager.
The following graphic clarifies the connection between the three types of chart.

6KHHW

6XEFKDUW

&KDUWSDUWLWLRQV

Figure 2-6 Connection between the types of chart in the DCC Editor

SINAMICS/SIMOTION DCC editor description


16 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.4 Library handling

2.3.4 Creating hierarchical charts


You can create hierarchical charts in the DCC Editor.

Requirement
You have already created a DCC chart in the SIMOTION SCOUT engineering system which
is opened in DCC Editor.

Procedure
1. Use View > Overview to switch from page view to the chart overview. The six chart
partitions of the DCC chart selected are now shown.
2. You can use the Insert new chart menu item from the context menu to insert new sub-
charts. Double-click on them to open them.

2.4 Library handling

2.4.1 Importing block libraries


When creating a chart in SCOUT/STARTER, where necessary you will be prompted to
import the standard block library for the selected device platform. The block types are
imported in the language that has been set. You can select this in the dialog box. If the
desired language is not available, English is used instead.
Other block libraries can be imported if required and will then be available for all charts
relating to the configuration.
How to import block libraries:
● Open a chart from the relevant configuration and click Options > Block types.
The Import window appears. Click OK to close the window. The block libraries that are
installed on your programming device are listed under Available libraries in the Import
DCB Library window. The libraries that have already been imported into this configuration
are listed under Imported libraries.
● Select the library to be imported under Available libraries and click >>. The import
process is triggered when you click Accept.
Checks are performed when a block library is imported.
The names of the block libraries are defined on the basis of a naming convention. The
individual parts of the name are explained in the following table. The part in question is
shown in bold each time.

Table 2-1 Naming convention for block libraries

Part of the block library name Meaning


TPdcblib_SIMOTION_4_1.2.0 [7.0] General part of the name
TPdcblib_SIMOTION_4_1.2.0 [7.0] Target platform

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 17
DCC editor functionality
2.4 Library handling

Part of the block library name Meaning


TPdcblib_SIMOTION_4_1.2.0 [7.0] Target system version
TPdcblib_SIMOTION_4_1.2.0 [7.0] Library version
TPdcblib_SIMOTION_4_1.2.0 [7.0] BuildVersion

2.4.2 Checks (import)


The library to be imported is checked to see whether it contains a block type that has already
been imported with another library.

Error log
If an error is detected when a library is being imported, an error log with details of the causes
of the error is displayed.

2.4.3 Inserting block types


Open the chart. You will find the directories for the block families, as well as the directories
All blocks (containing all blocks) and Other blocks (blocks that are not assigned to a family),
in the block catalog.

Note
The Chart > New function generates new basic charts in the DCC editor which are visible in
SIMOTION STARTER/SCOUT!

Procedure
You can use drag-and-drop to insert the required block type in the chart from the open
directory.
The New text icon for free text is displayed above the block type directories. You can insert
the text field in the same way as a block.

2.4.4 Updating the block library


You can update the block libraries via the menu Options > Block types.
How to update block libraries:
● Open a chart from the relevant configuration and click Options > Block types.
● The Import window is displayed. Click OK to close the window. The block libraries that
are installed on your programming device are listed under Available libraries in the Import
DCB Library window. The libraries that have already been imported into this configuration
are listed under Imported libraries.

SINAMICS/SIMOTION DCC editor description


18 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.4 Library handling

● Check whether a new version has been installed for each of the libraries that have
already been imported by looking at the library versions under Available libraries and
Imported libraries.
● Select the library to be updated under Available libraries and click >>.
● Select the library to be removed under Imported libraries and click <<.
● Click Accept.
● The progress of the update is displayed in a window.

Note
In SIMOTION, the library is automatically loaded to the device when required. This action
must be performed explicitly for SINAMICS.

2.4.5 Changing the block library language


You can customize the language of the block type comments via the menu Options > Block
types.
How to change the language of the block types in a block library:
Checks are performed when a block library is updated.
● Open a chart from the relevant configuration and click Options > Block types.
● The Import window opens. You must close this window by clicking OK.
● The Import DCB libraries window appears. The block libraries that are installed on your
programming device are listed under Available libraries. The libraries that have already
been imported into this configuration are listed under Imported libraries.
● Select the required language from the selection list next to the Language with which the
DCBs are to be imported. The selected language affects all imported libraries.
● Click Accept.
● The progress of the update is displayed in a window.

Note
When the language is changed, the block type comments will not change unless they
have already been changed within the context of instantiation.

2.4.6 Removing block libraries from the configuration

You can delete block libraries whose block types are no longer required in the configuration
concerned via the menu Options > Block types.
How to delete block libraries:
● Ensure that the block types from the block library to be deleted are no longer to be used
at all in the charts of the configuration.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 19
DCC editor functionality
2.5 Handling blocks

● Open a chart from the relevant configuration and click Options > Block types.
● The Import window appears. Click OK to close the window.
● The Import DCB libraries window appears. The block libraries that are installed on your
programming device are listed under Available libraries. The libraries that have already
been imported into this configuration are listed under Imported libraries.
● Select the library to be deleted under Imported libraries and click <<. The deletion
process is triggered when you click Accept.
Checks are performed when a block library is deleted. All unused block types of the library
will be removed from the selection list of the block types in the DCC editor; used block types
remain in the list. The chart cannot be compiled without the imported library.

2.5 Handling blocks

2.5.1 Introduction
In this section, you will learn which block types are available and how you can insert blocks
in a DCC chart and delete them. You will also learn how to edit block connections.

Note
The online help provides detailed information (incl. timing diagram and plant view) for the
individual blocks. To start the help, select the required block in the chart and press the F1
key.

2.5.2 Inserting blocks

2.5.2.1 Inserting blocks in the DCC editor

Block types in the DCC editor


The block type inventory featured in the block catalog depends on both the device type and
the version of the library. The block types are sorted according to family. The names of the
block families in the DCC editor are always in English.

SINAMICS/SIMOTION DCC editor description


20 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.5 Handling blocks

Insert block
You can position the block catalog anywhere on the screen.

Figure 2-7 Inserting blocks

● Open a block family in the Closed-loop control family with the closed-loop control blocks.
● Select the required block and insert it in the chart using drag-and-drop. The outline of the
block is represented by a dashed line. Release the mouse button at the required point.
The block (actual size) is displayed on the chart.
● To search for a block, enter its name in the input field of the block catalog and click the
magnifying glass icon. The search process begins. Once the block has been found, insert
it in an empty space on the chart using drag-and-drop.

Note
If blocks are superimposed on the chart with other elements, such as other blocks or the
sheet bar, the superimposed block will be displayed in gray and its connections will not
be visible. You must reposition the blocks to ensure that all block information can be
viewed.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 21
DCC editor functionality
2.5 Handling blocks

Specifying execution properties


You can display or change the execution properties for all of the program's instantiated
blocks. You can display the properties in the function bar via Edit > Execution sequence or
via the icon.
In this window you can also change the installation position in the execution sequence.
To do this, select the required block in the overview or in the chart, and select the function
Previous insert position. The standard position of new blocks is then changed when they are
inserted.
The active execution position is displayed in the status bar.

Changing to the page view


To change to the page view from the overview representation, right-click an empty space in
the chart and select Display this page in the context menu that appears. The names of the
block connections are displayed in this enlarged view.
You can also switch to the page view and back to the overview again by double-clicking an
empty area on a page.

Configuring the block display


You can change the display of the blocks. You can change the block width using Options >
Settings > Blocks / sheet bars width.... You can change the designation of the inputs and
outputs of the blocks using Options > Settings > Display in the Connections submenu.
The block type can be displayed in the form of both text and graphics. This can be
configured via Options > Settings > Display in the submenu Block headers.

2.5.2.2 Interconnecting blocks


Blocks can be interconnected with one another.

Requirement
The inputs and outputs of the blocks must possess compatible data types so that they can
be interconnected.

Procedure
Connect the output of the first block (source) with the input of the second block (sink). You
can create this connection either by using drag-and-drop or by latching them together
(clicking the relevant input connection and output connection once).
The autorouter creates the connecting lines between the inputs and outputs and they are
then interconnected.

SINAMICS/SIMOTION DCC editor description


22 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.5 Handling blocks

2.5.2.3 Interconnection of global operands


Global operands are connection partners located outside of the CFC charts, e.g. global data
blocks, I/O signals, flags, timers, counters. You can enter the operands either symbolically or
absolute. Certain conventions must be observed here.
Interconnections to global operands are entered in the sheet bar.
Where DCC is concerned, the interconnection of global operands serves as an interface to
the basic system. You use this function to connect to ST/IO/system variables (in the case of
DCC SIMOTION) or BICO parameters (in the case of DCC SINAMICS) in the drive.

2.5.3 Deleting blocks


If you want to delete a block from the chart, select it and click Edit > Delete. You can also
delete blocks using the context menu.
When blocks are deleted, the connections to the block connections are also removed.
If you delete a block whose outputs are interconnected with inputs of other blocks, the values
for the default settings will be reentered at the inputs of these blocks.

2.5.4 Editing block connections

2.5.4.1 General
There are two types of block connection (inputs and outputs), each of which has a distinct
function and is edited in a particular way.
The following sections contain further information about handling the block connections in
the DCC.

2.5.4.2 Block connection properties


With DCC, the connections can have additional properties.
You can double-click each of the individual connections to parameterize it. This displays the
Connection properties window.
However, it is easier to parameterize the inputs as follows:
● Double-click a block header. The Block properties window appears. You can also open
the Block properties window using the Object properties context menu item of the block.
● Click the Connections tab. The parameters in fields with a gray background cannot be
changed.
● Enter the required values in the table and click OK to close the dialog box.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 23
DCC editor functionality
2.5 Handling blocks

Input values
At the block inputs, an initialization value can be entered in the Value field of the properties
dialog box. This value is present at the input in the first cycle. Where this refers to an input
that is not interconnected, the value will be present here during subsequent calculation
cycles as well.

Output values
At the block outputs, an initialization value can be entered in the Value field of the properties
dialog box. This value is present at the output in the first cycle. During subsequent
calculation cycles, this initialization value will be overwritten with a computed value.

Note
NB: Hidden block connections
In the DCC editor, you can hide block connections to improve the clarity of the configured
charts. However, the hidden block connections remain active in the CFC, so their values will
still be analyzed.
It should also be noted that the inputs of these blocks must be interconnected consecutively,
starting from the first connection.
The following generic blocks exist: AND, ADD, MAS, MIS, MUL, NAND, NOR, SUB, OR,
XOR
In the current version of the DCC editor, four connections are always functionally evaluated
for all generic blocks.
The note above also applies to data-type-specific variants of the blocks listed above.

Pseudo comments
Block connection comments beginning with @ are pseudo comments and are taken into
account during compilation in DCC. Pseudo comments affect the function of the block
connection.
Further information about pseudo comments is contained in the following sections:
● @parameter (SIMOTION) (Page 86)
● Creating customer-specific parameters ("declare") (Page 49)

Help for block types


For more detailed information on a block, select it and press F1.

Block I/O units


The block I/O units that can be set in the Properties dialog serve only as comments in the
DCC editor - the values are not used for automatic conversions.

SINAMICS/SIMOTION DCC editor description


24 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.6 Compiling

2.6 Compiling

2.6.1 Consistency check without code generation

General
Some of the conditions that have to be met if a valid configuration is to be created from DCC
charts can only be checked once charts have been created.
This procedure is carried out automatically at certain points, e.g. when a project or charts are
compiled.

Performing a consistency check


The content of DCC charts can be checked at any time.
To check consistency, click Chart > Check consistency > Charts as program... .
The Logs dialog box will be displayed automatically when the compilation task completes.
Here, errors are indicated by an "E" and warnings by a "W".

Error log
You can also display the result of the consistency check via Options > Logs in the
Consistency check tab.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 25
DCC editor functionality
2.6 Compiling

2.6.2 Compiling in the DCC editor with code generation

Compiling

Figure 2-8 SIMOTION: Compiling a DCC chart

You can begin compiling with Chart > Compile > Charts as program... or via the icon.
The Logs dialog box will be displayed automatically when the compilation task completes
(also for the consistency check). Here, errors are indicated by an "E" and warnings by a "W".

Note
You can check a selected device in the engineering system using the Select technology
packages function in the context menu, which enables you to see whether all necessary
block libraries and technology packages are activated.

Compilation options
You have a choice of three different compilation options:
● Scope: Only compile changes
Only those parts of the configuration that have been changed since the last compilation
are recompiled. When recompiling, this option reduces compilation time by around 25%.

SINAMICS/SIMOTION DCC editor description


26 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.6 Compiling

Note
All the configuration charts will be checked for consistency, even if you select the Only
compile changes option.

● Scope: Compile all


The entire contents of the configuration are compiled, regardless of whether the
configuration has been changed since the last compilation.
● Scope: Compile individual chart
The selected chart is compiled, regardless of whether the configuration has been
changed since the last compilation.
Additionally, you can select whether a map listing is to be generated and whether it should
be canceled in the event of an error occurring in a chart. A map listing is a list of the global
objects, the cross reference and the blocks used in the chart.
The map listing is saved in subfolder U7\debug in the project path.

Figure 2-9 SINAMICS: Compiling a DCC chart

After compilation
On completion of the compilation procedure, a detailed compilation log appears.
● To navigate to the block that caused the error, select the error line in the log and click Go
to, or double-click the error line.
● The log can be displayed again at a later point via the menu Options > Logs and, if
necessary, can also be printed out.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 27
DCC editor functionality
2.7 Editing configurations further

2.7 Editing configurations further

2.7.1 Editing programs further: overview


This section describes more options for editing an existing program.
The following subjects are covered:
● Changing the block library
● Copy and paste charts or block groups between drive devices

2.7.2 Changing the block library


If you want to transfer an existing configuration to a new software version, you can change
the software version at a later point. The blocks will be adapted accordingly.

Procedure
1. Click Options > Block types.
2. The Import window opens. You must close this window by clicking OK.
3. The Import DCB libraries window appears. The block libraries that are installed on your
programming device are listed under Available libraries. The libraries that have already
been imported into this configuration are listed under Imported libraries.
4. Now select the new version of the library from the Available libraries list.
5. The old library must be removed from the previous version.

Behavior
The changes made compared with the old version are transferred to your existing
configuration.
If block type connections that you have positioned in your charts also change, this can affect
the appearance of the blocks. This is because all connections that have recently been
added, or whose properties (such as the data type) have changed, become invisible in the
DCC.
When the parameter lists are read back, the declared parameters and the HMI variables will
not be automatically updated in the chart. The parameter values will be synchronized as part
of the upload/download of the expert list, however, only while no further compilation of the
chart is performed, because this would be overwritten otherwise.
Press function key F5 to update the screen content and display the changes.

Note
If you want to see the connections in the block display again, highlight the block and select
Object properties. You can display them again in the Connections tab.

SINAMICS/SIMOTION DCC editor description


28 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.7 Editing configurations further

2.7.3 Copying of charts or chart sections


In the SIMOTION SCOUT engineering system, charts can be copied within a drive object or
between drive objects. It is also possible to select block groups and add them to other charts
of the same device family using copy&paste.

Note
The copying of charts or block groups between SINAMICS devices and SIMOTION devices
and vice versa is not supported.

Copying a chart in SIMOTION SCOUT


To copy a chart in SIMOTION SCOUT, proceed as follows:
1. Open the SIMOTION SCOUT engineering system.
2. Select the source device from the project view.
3. Open the PROGRAMS subitem of the device.
4. Select an existing DCC chart and select the Copy command in the context menu of the
chart.
5. Select the target device from the project view.
6. Open the PROGRAMS subitem of the device.
7. Select the Paste command in the context menu of the PROGRAMS subitem of the
device.
The chart has been copied from the source device to the target device.

Copying block groups in the DCC editor


In the DCC editor, you can copy parts from one chart and insert them in another chart. To do
this, you must open the source chart and the target chart in the DCC editor.
1. Use the lasso function to select the subsection of the source chart to be copied and
select the Edit > Copy command in the menu bar.
2. Change to the target chart.
3. Select the Edit > Paste command in the menu bar.
The block group has been pasted into the target chart.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 29
DCC editor functionality
2.8 Test mode

2.8 Test mode

2.8.1 Enabling the value and trend display during a test


In test mode, you can use the value and trend display to analyse the input and output values
of modules.

Enabling the value and trend display


You can open the value and trend display using the Display > value display and Display >
trend display commands in the menu bar of the DCC editor. Each of these is an autonomous
program window. The windows can be arranged using the minimise and maximise functions.
The block interfaces can now be added to the value or trend display using the Insert in value
display and Insert in trend display commands in the context menu.

Figure 2-10 Inserting a block pin into the value or trend display

2.8.2 Activating test mode


To activate test mode, proceed as follows:
● Click the Test mode icon in the function bar.

or click Test > Test mode.


Test mode is activated. The menu item is identified by a check mark. Depending on the
selected test operating mode, the text Test: RUN(laboratory) or Test: RUN(process mode) is
displayed in the status bar with a green background. Any menu functions that are not
permitted in test mode are displayed as deactivated (grayed out).

SINAMICS/SIMOTION DCC editor description


30 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.8 Test mode

Note
The use of test mode requires an online connection to the device.

2.8.3 Monitoring test mode


In test mode, the values of the connections that have been logged on for monitoring are
displayed with a yellow background.

Logging on connections for testing


You must explicitly log on to test the connections to be tested. The log on to the test can be
performed either using the Log on connection button in the menu bar or using the context
menu of the block connection. Select the Object properties item in the context menu of the
connection. In the now opened Connection properties window, activate the For test option.

Monitoring input values


You can also change all values of non-interconnected inputs in test mode. To show how
changing a value affects execution, assign a new value to an input as follows:
● Double-click the input to be monitored.
● The Connection properties window appears. Enter the new value for the block input and
confirm with OK.
● In the chart, you can now see how the value of the corresponding output takes much
longer to change.

2.8.4 Deactivating test mode


Deactivate test mode to return to edit mode.
● Click the Test mode icon in the function bar.

or click Test > Test mode.


Edit mode is reactivated.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 31
DCC editor functionality
2.8 Test mode

2.8.5 Test modes


There are two types of test mode:
● Process operation
When test mode is activated, all blocks are set to the status Monitoring off. In this test
mode, you must select the relevant block connections and explicitly log them on for
monitoring.
● Laboratory mode
Laboratory mode is used for convenient, efficient testing and commissioning. When test
mode is activated, all blocks are set to the status Monitoring on.
You can select the desired test mode in edit mode using the menu commands in the Test
menu. Once a test mode has been selected it is not possible to switch between them.

Test settings
You can specify the Monitoring cycle via the menu Test > Test settings. This displays the
Test settings window.

Figure 2-11 Test settings

In this window, you can set the monitoring cycle for the objects that have been logged on for
testing, i.e. the cycle time for updating these objects. The monitoring cycles can be set in 1
to 100 steps each of 100 milliseconds.

Note
If you have logged on many objects for the test, it is better to use a slower updating cycle.

SINAMICS/SIMOTION DCC editor description


32 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.9 Reference data

2.9 Reference data

2.9.1 Chart reference data


As well as displaying the following information graphically in the DCC, you can use the
"Chart reference data" (Options > Chart reference data) function to display it in the form of a
list and print it out:
● Cross references of accesses to different objects.
● Execution sequence
Graphic representation of the entire run sequence of a CPU.
You can use this to check your configuration structure.
You can display and print out the following lists of chart reference data:
● Operand cross references
This list displays all global operands used on the CPU along with the elements that
access them.
● Execution group cross references
This list displays the existing accesses of any DCC charts for all execution groups.
● Block type cross references
This list displays the block types used and the positions (on the DCC chart) where they
are used.

2.9.2 List of block type cross references


The list of block types shows where they are used. This can be useful in the management of
blocks, e.g., before deleting a block that is presumed not to be in use, the cross reference list
can be checked to show whether it actually is in use after all.
You can generate this list via Options > Reference data > View > Block types.

Column heading Meaning


Block type Block name (e.g. ADD)
Chart Name of the DCC chart in which the block is used
Block Name of the block instance (e.g. Integrator1)
Block comment Block comment

2.9.3 Cross References List Execution Groups (only for DCC-SIMOTION)


This list shows for all execution groups of the active CPU the existing accesses for any DCC
charts to the "Enable" attribute of the execution group.
You can generate this list using Options > Reference data > View > Chart element cross
references > Execution group.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 33
DCC editor functionality
2.9 Reference data

Column heading Meaning


Execution group Group name
(R/W) Read (R) or write (W) access
Chart DCC chart name
Chart element Name of the interconnected block and connection
Element comment Block comment
Type Block type (e.g. ADD)

Note
The names selected in the execution system (i.e. the names of the execution groups and
execution levels) for each device must be unique.

2.9.4 List of operand cross references


This is a list of the global operands used on the CPU or the drive device, along with the block
connections that they are connected to.
You can generate this list using Options > Chart reference data > View > Chart element
cross references > Operands.

Table 2-2 Global operands

Column heading Meaning


Icon Name of the global operand
Operand Blank
Data type Keyword of the data type used
(R/W) Always W, i.e. write access
Chart DCC chart name
Chart element Name of the interconnected block and connection
Element comment Block comment
Type Block type (e.g. ADD)

SINAMICS/SIMOTION DCC editor description


34 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.10 Know-how Protection

2.10 Know-how Protection

2.10.1 Information on know-how Protection


The SIMOTION SCOUT/STARTER Engineering System provides know-how protection
functions. This protects DCC charts to prevent unauthorised access to chart information.

Enabling the know-how protection function


A chart can be protected as follows:
● Select the chart in the SIMOTION SCOUT/STARTER.
● In the context menu of the DCC chart, execute Know-how protection > Set.

Figure 2-12 Enabling know-how protection for a DCC chart

● When using the know-how protection function for the first time, you will be prompted to
enter the required access data (user name and password) for protection of the plan in the
Know-How manager window. Close the Know-How manager window via the Closebutton.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 35
DCC editor functionality
2.10 Know-how Protection

Figure 2-13 Know-how manager

● Click OK to close the window.


The know-how protection is successfully enabled.

Deactivating the know-how protection function


You can deactivate the know-how protection of a chart as follows:
1. Select the chart in the SIMOTION SCOUT/STARTER.
2. In the context menu of the DCC chart, execute Know-how protection > Delete.
The know-how protection is successfully enabled.

Note
The know-how protection is not automatically reactivated in SIMOTION SCOUT/STARTER
when you close the DCC chart.

SINAMICS/SIMOTION DCC editor description


36 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC editor functionality
2.11 Startup behavior

2.11 Startup behavior

2.11.1 Information on the restart behavior


As regards block connections, a distinction has to be made between the INIT phase and the
cyclic phase during run time. During each phase, different values can be present at the block
connections.

Starting procedure
The block behavior for the initialization between SIMOTION and SINAMICS was previously
different and has now been matched. For this purpose, the start process of a block was
divided into two phases - Init and Startup. The processing of the individual blocks is
performed in accordance with the level priority (T1, T2, ... T5) and the sequence of the
blocks in the execution groups. The Init and the Startup of a block are called after the
instantiation of the block immediately after each other in a single pass. Only the Startup
phase is performed for the subsequent start processes of the block.
As part of the start process, all blocks will be processed, even those in deactivated execution
groups.
If during the start process of the block an access is made to the connections of other blocks,
this access should be performed in the Startup phase. The Init phase is provided for internal
data initializations.
For interconnected blocks, access to the output value of the upstream block connection is
always possible during the Init and Startup phase (even between levels).

Note
The value of the upstream block connection depends on whether or not this block has
calculated the output pin. In the first case, the calculated value is used, otherwise the initial
value of the output.

Details on the behavior of a block can be found in the block description.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 37
DCC for SINAMICS 3
3.1 Overview

3.1.1 Introduction
This product brief is intended for first-time users who are not yet familiar with the DCC
program package. Using a short example, you will find out how to create a project after
starting up STARTER/SCOUT, create a DCC chart, interconnect DCBs (drive control blocks;
function blocks), compile the chart, download it to the target device and test it.

Note
In most cases, there are a number of options for working with the DCC editor (e.g., using the
keyboard). In this example, one option is used. Apart from a few exceptions, no alternative
methods of operation are explored here.

3.1.2 Software requirements


The software requirements for DCC are the same as those for SINAMICS STARTER.
You will additionally need:
● DCC SINAMICS software option package

Note
The DCC SINAMICS option package contains on a USB stick the Step7 CFC license
required for the DCC editor. The installation is made using the Step7 Automation License
Manager (refer to the help of the Step7 Automation License Manager). The Step7
Automation License Manager program is installed automatically together with STARTER.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 39
DCC for SINAMICS
3.1 Overview

3.1.3 SINAMICS system integration

3.1.3.1 Applications and features

Applications
Combinational logic, which connects several states (e.g. access control, plant status) to a
control signal (e.g. ON command), is required for controlling the drive system in a wide
variety of applications.
As well as logic operations, a number of arithmetical operations / storing elements are
increasingly becoming a requirement in drive systems.
Drive Control Chart (DCC) functionality is available for every drive object of the drive device
listed in the following table.

Features
When the product is supplied, the DCC technology option is not yet available on the drive
device. The DCC technology option must be loaded onto the drive device's CF card in a
separate operation using SIMOTION SCOUT or STARTER. The SINAMICS CU3xx or
SIMOTION D4x5 then has to be switched off and on. Only then can the DCC charts be
downloaded and run on the drive objects.
There is only ever one DCC chart on a drive object. This DCC chart consists of up to 6
pages. DCC can be activated simultaneously on several drive objects on a drive unit. The
DCC technology option is available on the following drive object types:

Table 3-1 Drive object types for DCC SINAMICS

Drive object type Object number (r0107) Meaning


CU_S 1 Control Unit SINAMICS S (SINAMICS
S120/S150)
CU_G 2 Control Unit SINAMICS G (SINAMICS
G130/G150)
CU_I 3 Control Unit SINAMICS Integrated
CU_CX32 4 Controller Extension for boosting the
computing performance
CU_GM 5 Control Unit SINAMICS GM
CU_GL 7 Control Unit SINAMICS GL
A_INF 10 Active infeed control
SERVO 11 Servo control
VECTOR 12 Vector control
VECTORMV 13 Vector control for SINAMICS GM
VECTORGL 14 Vector control for SINAMICS GL
S_INF 20 Smart infeed control
B_INF 30 Basic infeed control
A_INFMV 40 Active infeed control for SINAMICS SM150
B_INFMV 41 Basic infeed control for SINAMICS GM150

SINAMICS/SIMOTION DCC editor description


40 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

Drive object type Object number (r0107) Meaning


TB30 100 Terminal Board 30
TM31 200 Terminal Module 31
TM41 201 Terminal Module 41
TM15DI/DO 204 Terminal Modules 15 (for SINAMICS)

Note
This additional functionality increases the computing time load. This means that the
maximum possible configuration for a Control Unit is restricted.

3.1.3.2 Execution groups in the DCC editor

Description
Exactly one (1) DCC chart can be created per drive object (DO = drive object). Although this
DCC chart can contain many execution groups, only the first ten execution groups in the
DCC editor can be assigned to fixed or free execution groups of the drive object.

Execution groups in the DCC editor


Execution groups are groups of DCBs (Drive Control Blocks) that are calculated in the same
sampling time and at a specific point in time.
For each drive object (DO), a total of ten execution groups (execution groups 1 to 10) are
available, which can be assigned in the STARTER project navigator (context menu of the
chart, Set execution groups ... menu item) to execution groups of the drive object. Each drive
object is assigned just one DCC chart.
Note that the execution groups created in the chart are visible in the Set execution groups
window only after the chart has been compiled.
in the offline mode of the STARTER / SCOUT V4.1.x, r21002 and r21003 are always
displayed with the value 0 in the Set execution groups window.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 41
DCC for SINAMICS
3.1 Overview

Figure 3-1 Set execution groups window

The execution groups created in the DCC editor must be assigned to the "Fixed execution
groups" and the "Free execution groups" of the SINAMICS drive object.

Fixed execution groups


A "fixed execution group" is called at a fixed position in the system execution using the
sampling time of the corresponding system function.
The following execution groups are available for SINAMICS FW Version 2.5:

● Read in AFTER digital inputs


This execution group is called after the current values of the digital inputs have been read
in on this drive object type and the corresponding binector outputs have been written.
The sampling time of this execution group corresponds to the sampling time of the CU
inputs/outputs (p0799) or the digital inputs/outputs of the TB30, TM31 and TM41
(p4099[0]).
● Output BEFORE digital outputs
This execution group is called before the digital outputs are output on this drive object
type.
The sampling time of this execution group corresponds to the sampling time of the CU
inputs/outputs (p0799) or the inputs/outputs of the TB30, TM31 and TM41 (p4099[0]).

SINAMICS/SIMOTION DCC editor description


42 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

● Read in AFTER analog inputs


This execution group is called after the current values of the analog inputs have been
read in on this drive object type and the corresponding binector outputs have been
written.
The sampling time of this execution group corresponds to the sampling time of the
inputs/outputs of the TB30, TM31 and TM41 (p4099[1]).
● Output BEFORE analog outputs
This execution group is called before the analog outputs are output on this drive object
type.
The sampling time of this execution group corresponds to the sampling time of the
inputs/outputs of the TB30, TM31 and TM41 (p4099[1]).
● BEFORE speed controller
This execution group is called before the speed controller additional setpoint values
"n_reg n_set1" (p1155) and "n_reg n_set2" (p1160) are read into FP3080. The sampling
time of the speed controller (p0115[1]) produces the call, but a minimum sampling time of
1 ms is required.
● BEFORE speed setpoint channel
This execution group is called before function charts 3010, 3020, 3030, 3040 and
subsequent charts are calculated, if the setpoint channel has been activated (p0108.8 =
1). If no setpoint channel has been configured (p0108.8 = 0), calculation takes place
before function chart 3095. The setpoint channel sampling time produces the call
(p0115[1]).
● BEFORE position controller
This execution group is called after the actual position value preparation (function chart
4010) has been calculated and before the position controller (function charts 4015, 4020
and 4025) is calculated. The sampling time of this execution group corresponds to the
sampling time of the position controller (p0115[4]).
● BEFORE basic positioner
This execution group is called before the basic positioning function module (function
charts 3610 to 3650) is calculated. The sampling time of this execution group
corresponds to the sampling time of the basic positioning function module (p0115[5]).
● BEFORE standard technology controller
This execution group is called before the technology controller function module is
calculated (p0108.16 = 1) (function charts 7950, 7954 and 7958). The sampling time of
this execution group corresponds to the sampling time of the technology controller
(p0115[6]).
● Receive AFTER IF1 PROFIdrive PZD 1)
This execution group is called after cyclic process data has been received via
communication interface IF1 (e.g., via the integrated PROFIBUS interface) and output to
connector outputs r2050[0...31] and r2060[0...30] and binector outputs r2090 and r2091.
The sampling time of this execution group corresponds to the PROFIdrive PZD sampling
time. In the case of SINAMICS FW Version 2.5 or higher, communication interface IF1
(Interface 1) is always used by the PROFIBUS interface inside the CU or, if a CBE20 has
been inserted in the option slot, PROFINET.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 43
DCC for SINAMICS
3.1 Overview

Non-isochronous operation (r2043.1 = 0):


In the case of non-isochronous cyclic communication at communication interface IF1, the
execution group is called cyclically with the sampling time of communication interface IF1
(p2048) once data has been received, the connector outputs for the process data (PZD)
r2050, r2060, r2090, r2091, r2092 and r2093 have been written and the connector
binector transformer has been calculated in function chart 2460.
Isochronous operation (r2043.1 = 1):
In isochronous operation, the times at which the data is received from the master (To), the
data is sent to the master (Ti) and the DP cycle clock (TDP) are configured in the master.
Regarding times Ti and To within a DP cycle clock, only integer multiples of the shortest
drive sampling time (p0115[0] ≥ 125 µs) can be set for the drive. If the drive's current
controller sampling time Ta falls below 125 µs, the Ti and To setting remains restricted to n
* 125 µs.
Ti = ni * Ta:
– for p0115[0] ≥ 125 µs -> Ta = p0115[0]
– for p0115[0] < 125 µs -> Ta = 125 µs
To = no * Ta = n0 *k*p0115[0]

Received data (sent by the master) is always processed and made available at the end of
the sampling time (no*k-1) p0115[0], so that the received process data remains valid until
time To = no * k * p0115[0] at r2050, r2060, r2090, r2091, r2092 and r2093, i.e. in the last
(shortest) sampling time before To. Once the received data has been written to the BICO
outputs, the execution group "Receive AFTER IF1 PROFIdrive PZD" is calculated. The
processing of data that has been received and execution group "AFTER IF1..." are
calculated in the same sampling period Ta.
The calculation must be completed within sampling time p0115[0]; otherwise, warning
A01053 "System overload detected" or a time-slice overflow (F01205) will occur. For this
reason, only the absolute minimum number of DCBs that are necessary for the required
function should be calculated in this execution group.
The CPU time available for this execution group falls the more drive axles are calculated
on the CU since the current controller (and the speed controller if needed) of the drive
axles are also calculated in sampling time p0115[0].
If you want to calculate a larger number of DCBs, please check whether you would not do
better to configure this using the "Receive AFTER IF1 PROFIdr. flexible PZD" execution
group.

● Send BEFORE IF1 PROFIdrive PZD 1)


This execution group is called before cyclic process data is sent via communication
interface 1 (IF1, e.g., the integrated PROFIBUS interface) and before connector inputs
p2051 and p2061 are read in.

Non-isochronous operation (r2043.1 = 0):


The following takes place:
1. The execution group is called, then
2. The binector -> connector converter is calculated in function chart 2472, then

SINAMICS/SIMOTION DCC editor description


44 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

3. Connector inputs p2051 and p2061 are read in and data is sent.
The sampling time of this execution group corresponds to the IF1 PROFIdrive PZD
sampling time p2048.

Isochronous operation (r2043.1 = 1):


In isochronous operation, the times at which the data is received from the master (To), the
data is sent to the master (Ti) and the DP cycle clock (TDP) are configured in the master.
For times Ti and To within a DP cycle clock, only integer multiples of the shortest drive
sampling time (p0115[0] ≥ 125 µs) can be set for the drive. If the drive's current controller
sampling time falls below 125 µs, the setting of Ti and To remains restricted to n * 125 µs.
Ti = ni * Ta:
– for p0115[0] ≥ 125 µs -> Ta = p0115[0]
– for p0115[0] < 125 µs -> Ta = 125 µs
To = no * Ta = k*p0115[0]
The execution group is calculated at the end of the sampling time beginning at Ti = (n0*k)
* p115[0]. Connector inputs p2051 and p2061 are then read in and data is sent.
The calculation must be completed within sampling time p0115[0]; otherwise, warning
A01053 "System overload detected" or a time-slice overflow (F01205) will occur. For this
reason, only the absolute minimum number of DCBs that are necessary for the required
function should be calculated in this execution group.
● Receive AFTER IF2 PZD 2)
In SINAMICS V2.5, communications interface 2 (IF2) is used by the CU's CAN LAN
interface CBC10 and PROFIBUS interface (see SINAMICS S Lists Manual, description
p8839[]). This execution group is available only on the CU_S, CU_G, CU_GM, CU_GL,
SERVO, VECTOR, VECTORMV and VECTOR_GL drive object types.
The execution group is called after connectors r8850 and r8860 have been written with
the received data. The sampling time of this execution group corresponds to the IF2 PZD
sampling time of 4 ms.
● Send BEFORE IF2 PZD 2)
In SINAMICS V2.5, communications interface 2 (IF2) is used by the CU's CAN LAN
interface CBC10 and PROFIBUS interface (see description p8839[]). This execution
group is available only on the CU_S, CU_G, CU_GM, CU_GL, SERVO, VECTOR,
VECTORMV and VECTOR_GL drive object types.
The execution group is called before connector inputs r8851 and r8861 have been written
with the sent data. The sampling time of this execution group corresponds to the IF2 PZD
sampling time of 4 ms.

● Receive AFTER IF1 PROFIdr. flexible PZD 1)


This execution group is called after cyclic process data has been received via
communication interface IF1 (e.g., via the integrated PROFIBUS interface) and output to
connector outputs r2050[0.. 31] and r2060[0.. 30] and binector outputs r2090 and r2091.
The sampling time of this execution group corresponds to the PROFIdrive PZD sampling
time.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 45
DCC for SINAMICS
3.1 Overview

The only difference from the Receive AFTER IF1 PROFIdrive PZD execution group is the
way in which the execution group behaves in isochronous mode. Even in isochronous
mode, this execution group is called using the PROFIdrive PZD sampling time configured
in the Master as with any other time slot. This means that initially all time slots with a
shorter sampling time are called at time To depending on the validity of the receive data
(current controller, if need be speed controller). This execution group is only called first
once the PROFIdrive PZD sampling time starts to be processed. You basically do not
know how often the higher priority, shorter sampling times of the current and speed
controller are calculated before this execution group starts to be processed. Processing
of this execution group is also interrupted by shorter sampling times.
The benefit of this execution group is that considerably more DCBs can be calculated
than in the Receive AFTER IF1 PROFIdrive PZD execution group because the
calculation does not have to be completed after current controller sampling time p0115[0].
If several rated values from this execution group are forwarded to the speed or current
controller in a shorter sampling time, if necessary, the consistency of this data has to be
ensured because an interrupt caused by the shorter sampling times may occur at any
time.

1) IF1 is the abbreviation for communication interface 1. With SINAMICS V2.5 and
SIMOTION V4.1, this refers to the integrated PROFIBUS interface or - if a CBE20
has been inserted in the option slot - the PROFINET interface. IF1 supports the
PROFIdrive profile and isochronous operation.
2) IF2 is the abbreviation for communication interface 2. In the case SINAMICS V2.5,
IF2 can only be used by the CAN bus when a CBC10 module has been inserted in
the option slot.

Not every fixed execution group is available on every drive object type. This means that, for
instance, SERVO, VECTOR, VECTORMV... drive object types do not contain any digital or
analog inputs; therefore, the fixed execution groups for the digital inputs/outputs and analog
inputs/outputs are not available here.
Please ensure that the sampling time for DCC SINAMICS is restricted to below 1 ms. As a
property of an execution group, select a fixed execution group in which the sampling time for
the assigned system function is < 1 ms. This execution group will thus only be called with the
sampling time of 1 ms, and will thereby deviate from the assigned system function. Warning
A51004 (see r2122) is set to indicate this deviation. The warning value of the warning
(r2124) + 1 gives the number of the execution group where the deviation has occurred.
Example:
On the SERVO drive object type, select "BEFORE speed controller" as a fixed execution
group.
The system function corresponding to this is the speed controller.
The sampling time of the speed controller is p0115[1] = 125 µs in the factory setting of p0112
= 3.
Please also refer to the description of parameter p0112 in the SINAMICS List Manual.

Free execution groups


The "free execution groups" are only defined by their sampling time (p21000 = 1 to 256 and
p21000 = 1001 to 1096). The sampling times are provided centrally for all drive objects on a
SINAMICS drive device. A sampling time can be used simultaneously by several drive
objects and several DCC execution groups. The sampling times are created in two different

SINAMICS/SIMOTION DCC editor description


46 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

ways. The two methods have different limits for the maximum possible number of different
sampling times.
● Free execution groups whose sampling times are created in the hardware:
With the hardware sampling times, in p21000[0...9] each integer multiple of the basic
sampling time (read-only in r21002) ranging from 1 * r21002 to 256 * r21002 can be
generated with the following limits:
– Minimum sampling time = 1 ms
– Maximum sampling time = r21003 - r21002 < r21003 (approx. 8 ms; on the D410 of
the DP cycle)
– On the D410 drive device, r21003 always matches the DP cycle (PROFIBUS T_DP
cycle clock) or with the send cycle clock for PROFINET. If 1 ms is configured as DP
cycle / send cycle for PROFINET, this means no hardware sampling times (but only
software sampling times) from DCC are used on this device.
– On a CU or D4xx, a maximum of 13 different hardware sampling times can be used by
DCC and by the drive objects. Consequently, the number of different hardware
sampling times on a drive unit (i.e. for all DCC charts on the drive unit) is limited to a
maximum of five. A sampling time can be used simultaneously by several DCC charts.
Note that the limit on the number of different hardware sampling times for the
configuration in STARTER is not monitored.
– The assignment of the hardware sampling times (sampling time < r21003) can be
fetched from r21008. The 13 available sampling times are displayed in indices 0 - 12
of r21008. If the value of r21008[k] = 0, the sampling time Tk can still be freely
assigned.
If the value of r21008[k] ≠ 0, the value gives the sampling time Tk in milliseconds. If all
indices from r21008[i] ≠ 0, the CU cannot provide any other hardware sampling time
that is different from r21008[0] - r21008[12]. As far as the selection in r21000 is
concerned, only those execution groups (with a sampling time that is < r21003) whose
sampling time is already provided in r21008[0] - r21008[12] can be used. The same is
true for the selection of the execution group in STARTER in the project navigator (left-
hand side) with the context menu of the chart (select the chart and call the context
menu using the right mouse button) from Set execution groups…

Note
As regards offline configuration using STARTER commissioning software, values 0 -
256 can be entered in p21000[0..9], even if this violates the limits stated above for the
hardware sampling times from 1 ms ... r21003 - r21002. This will only be detected
once the Control Unit has been downloaded, and will result in the use of a
replacement value and the F51004 fault. If the set value is too small, 1 ms will be set
as replacement value; if it is too large, r21003 will be set as replacement value.

● Free execution groups whose sampling times are created in the software:
The software sampling times are generated as an integer multiple of the basic value for
software sampling times (read out in parameter r21003).
The possible set values for the software sampling times (1 * r21003 - 96 * r21003) can be
taken from the parameter description for p21000 (see SINAMICS/SIMOTION DCC block
description in the Function Manual, as an appendix to the chapter titled "Parameters" ).

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 47
DCC for SINAMICS
3.1 Overview

3.1.3.3 Execution sequence order, creating new execution groups


When a CFC is created, a new execution group with the same name as the chart will be
created automatically. All DCBs inserted into the chart will be automatically assigned in the
insertion sequence of this execution group.
The computing sequence of the DCBs within the execution group is specified by the
configuration. If no other execution sequence is specified by the user, the execution
sequence corresponds to the installation sequence of the DCBs within an execution group.
If the execution sequence with this execution group is to be changed, new execution groups
added or the assignment of DCBs to the execution groups changed, these properties can be
changed in the execution editor. To do this, go offline in the STARTER and then open the
chart. In the DCC editor, the execution sequence button can be used to activate and
deactivate the execution editor.
The center column of the execution editor contains the chart with its chart name. The
execution group(s) are arranged hierarchically below. If you want to create additional
execution groups, select the Insert execution group… item from the context menu of the
chart (click the chart with the right mouse button). The individual DCBs can be moved
between the execution groups or within an execution group using drag&drop.

Figure 3-2 Context menu, Insert execution group...

Note
1. The assignment of identical names for DCC charts in different drive objects is not
permitted.
2. The assignment of identical names for execution groups in different drive objects is not
permitted.

SINAMICS/SIMOTION DCC editor description


48 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

If the same fixed or free execution group of the drive object is assigned to several execution
groups in the DCC editor, the execution groups of the DCC editor will be calculated in the
sequence from top (calculated first) to bottom (calculated last) as shown in the "Set
execution groups (sampling times)" window.

3.1.3.4 Creating customer-specific parameters ("declare")


The properties of the input and output connections for DCBs can be edited in the DCC editor
in the properties window of the DCB connection. Input connections may not be
interconnected in the default setting of the DCC editor. The properties window of the
connection is opened by double-clicking the connection or by selecting Object properties in
the context menu of the connection.

Figure 3-3 Properties windows - connection of the connection S (= Set) of the DCB INT (=
INTegrator)

Where SINAMICS is concerned, input and output connections of DCBs can be declared as
parameters. "Declare" means that the users create the parameters themselves (parameter
numbers and parameter text). This is the prerequisite in order to interconnect the DCB
connections using BICO parameters to the basic system in order to assign the values to the
input connections using setting parameters and to monitor the values of the output
connections using parameters. The parameter number 251 in the above figure and in the
following figure is arbitrary.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 49
DCC for SINAMICS
3.1 Overview

3DUDPHWHUQXPEHU )XOOSDUDPHWHUQDPH

# 6WDUW
7KHRSWLRQDODVWHULVNGHQRWHVD%,&2SDUDPHWHU 6SDFH
,IQRDVWHULVNLVSUHVHQWDVHWWLQJSDUDPHWHULVFUHDWHG

Figure 3-4 Structure of the DCB connection comment

The full parameter name, which is separated from the parameter number by a space, is
displayed in the STARTER expert list.
The data type of the declared input/output is transferred by the DCB connection.
For the "declaration" of DCB inputs, a differentiation must be made between setting
parameters (without asterisk) and BICO parameters (with asterisk).
For the "declaration" of DCB outputs, the following differentiation must be made:
● Without asterisk: pure monitoring parameter that can be used to record the trace function.
● With asterisk: as for the case without asterisk, but additional interconnection possible.
DCB inputs to be declared may not be already interconnected in the default setting of the
DCC editor. If necessary, an existing interconnection must first be deleted. To do this, click
with the mouse on the interconnection in the chart to mark it and select Delete
interconnection(s) in the context menu. In this DCC editor setting, the comment shown for a
DCB input interconnected with a different DCB is always that of the connected DCB output.
If you want to remove this constraint, select Options > Settings > Display ... in the DCC
editor and deactivate the Interconnection comment checkbox under Parameters and close
the window with OK. Already interconnected DCB inputs can now be declared without having
to delete the interconnection first.
If the parameters configured on the DCB connections are to be displayed in the DCC editor,
then select Options > Settings > Display ... and select Comment under Connections. The
first eight characters of the comment are then displayed at the respective DCB connections
in the DCB symbols.
If you want to display more than the first eight characters of the comment, then select
Options > Settings > Block / sheet bar width. Then in the Blocks / Sheet Bars window, set
the block width to Wide. The first twelve characters of the comment are now displayed at the
connection.
A parameter number may only be used just once in a chart. The DCC editor does not check
when the parameter number is entered in the properties window of the connection whether
this parameter number is already used in the chart. The multiple use of the parameter
numbers will be indicated as error only when the chart is compiled.
The parameter numbers of the charts are represented on the number range from p21500 to
p25999 of the expert list of the STARTER. With each DCC chart, it is possible to specify
where the parameter range of the chart is to begin. This can be performed in the Parameters
tab in the properties window of the chart in STARTER, using the parameter number base.

SINAMICS/SIMOTION DCC editor description


50 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

Figure 3-5 Property window of the dccReg1 chart for setting the parameter number base

The parameter number in STARTER has the following form:


● Parameter number in the chart + base parameter number + 21500;
where 21500 is the first parameter number available for DCC. The parameter number
base must always be >= 0.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 51
DCC for SINAMICS
3.1 Overview

ᆰ )URPWKH6,1$0,&6EDVLF 7RWKH6,1$0,&6EDVLF
V\VWHP V\VWHP
$''
&RQQHFWRURXWSXW &RQQHFWRULQSXW
%,&2SDUDPHWHU ; < %,&2SDUDPHWHU

#  # 
%,&2VHWWLQJSDUDPHWHU %,&2GLVSOD\SDUDPHWHU

ᆱ ᆲ
$'' $'' $'' $''
; < ; < ; < ; <

#  #
%,&2GLVSOD\SDUDPHWHU 'LVSOD\SDUDPHWHU

ᆳ ᆴ
$'' $'' $''
; < ; < ; <

# #  # 


6HWWLQJSDUDPHWHU %,&2GLVSOD\SDUDPHWHU %,&2VHWWLQJSDUDPHWHU

%,&2 FRQQHFWDEOH
 2XWSXWPXVWEHGHFODUHGVLQFHLQSXWLVGHFODUHGDWWKHVLQN

Figure 3-6 Examples of parameter definitions

Example 1: For an interconnection of the DCB connection with the SINAMICS basic system,
the connection must be declared as BICO parameter.
Example 2: Each DCB output connection can be declared as BICO parameter. The signal on
this output can be recorded with the trace.
Example 3: Each DCB output connection can be declared as (not interconnectable) display
parameter. The signal on this output can be recorded with the trace.
Example 4: The DCB input connection X of the DCB ADD 1 is declared as setting parameter.
Example 5: Because the DCB input connection X of the ADD 2 is declared as BICO
parameter, the DCB output connection interconnected with it must also be declared as BICO
parameter. It is, however, possible in the DCC editor to interconnect ADD 1 Y with ADD 2 X
when only the DCB input ADD 2 X is declared. This results in an error message when the
chart is compiled.

Note
No help function can be created for @parameters.

SINAMICS/SIMOTION DCC editor description


52 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

3.1.3.5 Interconnection with SINAMICS parameters


You can interconnect with SINAMICS BICO parameters in the DCC editor.

Procedure
Interconnection can be performed as follows:
1. Creating customer-specific parameters ("declare", @Parameter); see previous section.

Note
In the DCC editor, block connections can initially be connected with the drive's BICO
parameters without the need to declare them as parameters. However, this will cause
errors when compiling the chart, since only block connections that have been declared as
@parameters can be connected to the drive's BICO parameters.

2. Select the DCB connection to be interconnected.


3. Right-click and select Interconnection with operand... from the context menu. The DCC
signal selection window appears.

Figure 3-7 Signal selection

4. Select the parameter to be interconnected.


5. Click OK to close the window.
From this point on, the selected DCB connection is interconnected with the SINAMICS
parameter and the parameter is displayed in the sheet bar of the DCC editor.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 53
DCC for SINAMICS
3.1 Overview

3.1.3.6 Computing time load

Description
The processing of DCBs requires computing time. This means for the activation of the DCC
editor that it is no longer possible to calculate the maximum quantity structure for drive
objects of a CU3xx, D4x5 and CX32.
The resulting computing time load is dependent on the following:
● Number of calculated execution groups
● Sampling time of execution groups
● Number of calculated DCBs
● For some DCBs, it depends on parameterization (e.g. the setting of release connections)

Parameter r9976 (system load; can be found on the CU's drive object) is available in the
system as an online tool. The average value for the computing time load in r9976[1] should
always fall below 85 %. Likewise, the maximum value for the computing time load in r9976[5]
should always fall below 85 %. Exceeding the computing time load limit of 90 % triggers
warning A50512. The warning is reset if the computing time load falls below 88%.
If the computing time load increases to the point that it is no longer possible for all DCBs and
system functions assigned to a sampling time to be completed within this sampling time, the
drive unit switches off and outputs fault F01205: "CU: Time-slice overflow".
Offline mode enables the SIZER engineering tool to make an approximate statement
regarding whether a configuration can be calculated on a CU3xx/D4xx. The additional
computing time load is not taken into account by activating the DCC charts.

NOTICE
The computing time load reaches its maximum value when the following conditions are
met:
• All necessary function modules are activated.
• All drives and infeeds are in the operational status.
• Closed-loop control in the final configuration is approved on all drives and infeeds.
• Configured isochronous data transfer is used.
The values displayed in r9976 are thoroughly smoothed internally. A change in the
computing time load is therefore only displayed in full in r9976 after 2 - 3 minutes.

If, during OFFLINE configuration, it is not certain whether the limit value for the computing
time load of 85% (r9976[1] and r9976[5]) will be adhered to, you can initially call the
execution groups being used in a very large sampling time (e.g. 96 * r21003). After checking
the actual system load in r9976, you can then gradually select execution groups with shorter
sampling times right through to the execution group that is intended for the application in
question.
During OFFLINE configuration, the following should be carried out:
● Activate all necessary function modules on the drive objects.
● Assign all necessary DCBs to their execution groups.

SINAMICS/SIMOTION DCC editor description


54 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.1 Overview

● Establish all connections, both between the DCBs and to the drive objects (as long as
this still makes sense even if an increased sampling time is being used).

The following applies as a rough configuration aid to SERVO drives:


If a (1) A-INF infeed is configured on a SINAMICS CU320 or SIMOTION D4x5 with the
sampling times set in the factory (p0112 = 2 == LOW → p115[0] = 250 µs) and three SERVO
drive axles are configured with the speed and current controller sampling times set in the
factory (p0112 = 3 == STANDARD → p0115[1] = p0115[0] =125 µs) and the function
modules and without isochronous PROFIBUS/PROFINET communication set in the factory,
one DCC chart with 50 DCBs can be calculated on each of the 3 drive objects in an
execution group with a sampling time of 2 ms.
The following (functional simple) DCBs have been used in a chart in this case:
AND, OR, XOR, NOT, BF, CTR, MUX8, NAND, NCM, SH_DW, ADD, SUB, MUL, DIV, AVA,
MAS, MIS, PLI20, DEL, DEZ, SUB_D, SUB_I, MUL_D, MUL_I, DIV_D, DIV_I, AVA_D, SII,
STM, DLB, DX8, DX8D, MFP, PCL, PDE, PDF, PST, RSR, DFR, BSW, NSW, LIM, PT1,
INT, DIF, LVM, LIM_D, PC, PIC, RGE

In a sampling time of 1 ms, only around half the DCBs can be calculated. Around twice as
many can be calculated in a 4 ms sampling time.
A SERVO axis with standard sampling times omitted from the maximum configuration thus
permits the use of approximately 50 DCBs (of the above-mentioned types) for a sampling
period of 2 ms.
Approximately 50 DCBs (of the above-mentioned types) in an execution group increase the
computing time load of the CU by approximately 11%.

The following applies as a rough configuration aid to VECTOR drives:


If a (1) A-INF infeed is configured on a SINAMICS CU320 or SIMOTION D4x5 with the
sampling times set in the factory (p0112 = 2 == LOW → p115[0] = 250 µs), two VECTOR
drive axles are configured with the speed controller sampling times p0115[1] = 2000 ms and
the current controller sampling times p0115[0] = 500 µs (p0115[2] = p0115[3] = p0115[4] =
2000 µs) and the function modules and without isochronous PROFIBUS/PROFINET
communication set in the factory, one DCC chart with approx. 70 DCBs (for type selected
see above for SERVO) can be calculated on two drive objects in an execution group with a
sampling time of 2 ms.
This means approx. 70 DCBs (type selection, see above for SERVO) increase the
computing time load by approx. 15%.
In a sampling time of 1 ms, only around half the DCBs can be calculated. Around twice as
many can be calculated in a 4 ms sampling time.

The following generally applies:


You can of course use any DCBs you want in your project. Using other DCB types may
produce other results in terms of the number of DCBs that can be calculated and the
computing time load. DCBs with a very extensive functionality of course require a greater
computing time. Note that the computing time needed for some DCBs also depends on the
values configured at the connections, e.g. whether a release connection is set.
When measuring the computing time load, all connections should therefore be set to their
final configuration values wherever possible.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 55
DCC for SINAMICS
3.1 Overview

When commissioning a configuration, the current computing time load must always be
checked online on the drive device for compliance with the limits stated at the start for
r9976[1] and r9976[5].

3.1.3.7 Copy charts within a project


In STARTER, DCC charts can be copied from one drive object to other drive objects.
1. Open your project in STARTER.
2. Open in the project navigator the drive object with the source chart.
3. Select the source chart and select the Copy command in the context menu of the chart.
4. Mark the target drive object.
5. Select the Paste command in the context menu of the target drive object.
The chart has been copied from the source drive object to the target drive object.

NOTICE
After the copy, be sure to check whether the interconnections of declared DCB connections
in the chart copy must be changed to another drive object because of the copy. During the
copy, no automatic change of the interconnections of the chart copy is made to the base
system or to other DCC charts.

3.1.3.8 Copy charts between projects


In STARTER, DCC charts can be copied from one (source) project into another (target)
project.
1. Open your project with the source chart in STARTER.
2. Open STARTER a second time and open there the target project in which the chart is to
be copied.
3. Open in the project navigator the drive object with the source chart.
4. Select the source chart and select the Copy command in the context menu of the chart.
5. Mark the target drive object in the target project.
6. Select the Paste command in the context menu of the target drive object.
The chart has been copied from the source project to the marked drive object of the target
project.

NOTICE
After the copy, be sure to the check whether the interconnections of declared DCB
connections in the chart copy must be changed to another drive object because of the
copy. During the copy, no automatic change of the interconnections of the chart copy is
made to the base system or to other DCC charts.

SINAMICS/SIMOTION DCC editor description


56 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

3.2 Working with DCC SINAMICS

3.2.1 Preliminary remarks on configuration

Configuration example
The requirement for this example is that there must be a STARTER or SCOUT version
suitable for your SINAMICS SW version installed on your computer. Your computer must
also have a CFC license for using DCC Editor. You can install this license from the USB
stick provided with the help of the Step7 Automation License Manager.
The configuration example deals with a straightforward oscillating circuit that creates
sinusoidal oscillation at its output.
It will only take you a few minutes to create the chart; then you can execute it in test mode as
a demonstration.
The following Drive Control Blocks (DCBs) are used:
● 2 integrators (INT)
● 1 subtractor (SUB)
As indicated by the differential equation f"(x) = - f(x), the oscillating circuit is comprised of two
integrator blocks that are linked by negation.
The frequency of the oscillating circuit is determined by the integrating time constant at the
integrators.
The oscillation amplitude is specified by the initial value at the integrator output.

Configuration example structure


The configuration example is divided into the following steps:
1. Creating a new project.
2. Inserting the DCC chart in the project.
3. Inserting blocks in a DCC chart.
4. Interconnecting blocks.
5. Parameterizing DCB connections in the chart.
6. Declaring DCB connections as parameter.
7. Compiling the DCC chart in the DCC editor.
8. Setting execution sequence within an execution group
9. Setting sampling time for an execution group
10.Loading the DCC technology option on to the drive device's CF card.
11.Downloading compiled DCC chart into the drive.
12.Display online values for declared parameters.
13.Record signals with the trace from the DCC chart.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 57
DCC for SINAMICS
3.2 Working with DCC SINAMICS

14.Archiving a project.
15.Creating documentation.

3.2.2 Creating a new project


● Create a new project in the SCOUT or STARTER engineering system, e.g. dcc_ex.
● Create a new device. To do this, insert a "SINAMICS S120 CUxxx" in the STARTER or
SCOUT by double-clicking on the "Insert single drive device" symbol. Select "xxx" to suit
your existing hardware (CU320, CU310DP, CU310PN).
Insert a D4x5 in the SCOUT using "Create new device". Then open the D4x5 folder in the
project navigator.
● Highlight the SINAMICS S120 CU3xx drive device (for a CU3xx) or SINAMICS_Integrated
(for a D4x5).
● Right-click on the device highlighted to call the context menu and select the Select
technology packages item.

Figure 3-8 Context menu of the drive unit

● Highlight the technology package in this window and confirm by selecting OK.
● You can now insert a chart.

SINAMICS/SIMOTION DCC editor description


58 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

3.2.3 Inserting the DCC chart in the project


Insert your first DCC chart as follows:
● Open the drive device's folder in the project navigator and the control unit in this.
● In the project navigator, double-click Insert DCC chart under the relevant drive unit (in our
example under the CU).

● The Insert DCC chart window opens and you can enter a new name (of no more than 8
characters) for the chart (in our example dccReg1) and comments. Please note that all
characters after a "_" in the chart name can only be digits.
● Then click on OK, the window closes and the DCC Editor is automatically opened with
the plan. For this to happen, the Option Editor must be set to remain open automatically
(bottom left above the OK button).
Alternatively, you can open the chart at any time by double-clicking on the chart symbol in
the project navigator.
● When first creating a chart in a project, you will be asked to import a DCB library.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 59
DCC for SINAMICS
3.2 Working with DCC SINAMICS

● In the Import DCB libraries window, highlight the DCB library in the "Existing libraries"
column on the left. Click on the >> button to move the library into the "Imported libraries"
column on the right.
● Close the window by clicking on Accept. The DCB library is loaded and the DCC Editor
opened with the chart.

This creates the project structure and a chart. All that remains is to create some activity
within the chart, i.e., by inserting blocks and interconnecting them.

SINAMICS/SIMOTION DCC editor description


60 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

3.2.4 Inserting blocks in a DCC chart


● In the block catalog, open the Closed-loop control family with the closed-loop control
blocks.

Figure 3-9 DCC Editor with opened Closed-Loop-Control DCB family

● Select the required block and insert it in the chart using drag-and-drop. The outline of the
block is represented by a dashed line. Release the mouse button at the required point.
The block (actual size) is displayed on the chart.
● To search for a block, enter its name in the input field of the block catalog and click the
magnifying glass icon. The search process begins. Once the block has been found, insert
it in an empty space on the chart using drag-and-drop.
● Drag the two integrators (INT) and one subtractor (SUB) needed for the example into the
chart.

Note
If one block superimposes another block in the chart, the superimposed block will be
displayed in gray and its connections will not be visible. You must reposition the blocks to
ensure that all block information can be viewed.
The names of the block families are not available in languages other than English.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 61
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Changing to the page view


To change to the page view from the overview representation, right-click an empty space in
the chart and select Display this page in the context menu that appears. The names of the
block connections are displayed in this enlarged view.
You can also switch to the page view and back to the overview again by double-clicking an
empty area on a page.

Configuring the block display


You can change the display of the blocks and sheet bar. You can change the block width via
Options > Settings > Block/Sheet bar width ....
Use Tools > Settings > Display to open the Display settings window. In this window, you can
switch between the connection name display (e.g. X) and comments display (e.g. input) by
selecting Connections. The published parameter numbers are only shown when in the
comments setting.
Under Block headers, you can choose whether the DCB header shows block type and
abbreviation (e.g. INT for integrator) and the first 8 characters of the name (e.g. INTEGRAT)
or whether this is indicated by the control icon.

3.2.5 Interconnecting blocks

Procedure
● Select the Y output of the left-hand INTegrator, followed by the X input of the right-hand
INTegrator.
● Select the Y output of the right-hand INTegrator, followed by the X2 input of the
SUBtractor.
● Select the Y output of the SUBtractor, followed by the X input of the left-hand INTegrator.
The autorouter creates the connecting lines from the outputs to the inputs and they are then
interconnected.

3.2.6 Parameterizing DCB connections in the chart


For the left-hand integrator INT 1/1, the following initial values should be assigned to the
connections: LL = -10.0, LU = 10.0, SV = 1.0, Ti = 100 ms
For the right-hand integrator INT 1/2, the following initial values should be assigned to the
connections: LL = -10.0, LU = 10.0, Ti = 100 ms
Double-click the associated DCB connection to open the Connection properties window.
Enter the initial value for Value and click OK to close the window. Note that for the input of
the values for Ti, the "ms" unit must follow the numeric value 100 without any spaces.
Because the above-mentioned connections are not interconnected, the configured initial
value always remains valid.

SINAMICS/SIMOTION DCC editor description


62 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Figure 3-10 Properties window of the "LU" DCB connection

Figure 3-11 Chart "dccReg1" with interconnected DCBs. Some connections have been assigned initial values that differ
from the factory setting.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 63
DCC for SINAMICS
3.2 Working with DCC SINAMICS

3.2.7 Declaring DCB connections as parameter


To monitor and trace the output signals of the two integrators, they must be declared as
interconnectable parameters (i.e. as BICO parameters). To excite the oscillating circuit once,
an integrator input must be declared as parameter. The parameter numbers used in the
following section have been chosen arbitrarily.
To declare the connection Y (output ) for INT 1/1 as interconnectable parameter, open (with
a double-click on the connection) the properties window of the connection Y of the left-hand
integrator, enter "@*19 output" in the comment field and click OK to close the window. Enter
"@*20 output" in the comment field in the properties window of the connection Y of the right-
hand integrator.
Enter "@1 start" in the comment field of the connection S (set) of the left-hand integrator.
Because the default setting of the parameter number base of a chart in the initialization is
always 0, when the chart is compiled, the new parameters 20501, 20519 and 20520 will be
created and displayed in the expert list of the CU drive object in STARTER.
To make this assignment of the @ parameters to the connections in the chart visible, the
display form of the connections in the DCC editor must be changed To do this, open the
Display settings window in Tools > Settings > Display, change there under Connections the
display from Name to Comment and click OK to close the window.
The chart will then be compiled.

Figure 3-12 Display settings window

SINAMICS/SIMOTION DCC editor description


64 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Figure 3-13 View from the expert list with the parameters defined in the DCC chart

3.2.8 Compiling the DCC chart in the DCC editor

Compiling

You can begin compiling from the DCC Editor with Chart > Compile > Charts as program...
or via the icon.

You can also start the process of compiling and saving a chart from the STARTER by
clicking on the icon.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 65
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Compilation options
For detailed information about the compilation options, please see the Section Compiling
(Page 25).

Note
The Redeclare parameter interface option enables you to reassign the addresses for all
BICO parameters currently defined in the chart. BICO parameters that are still available in
the interface, but are no longer used in the charts, are deleted.

After compilation
On completion of the compilation procedure, a detailed compilation log appears.
● If error messages are displayed: To access the relevant DCB that is causing an error,
select the error line in the log and click Go to.
● The log can be called again at a later point via the menu Options > Logs... and, if
necessary, can also be printed out.

3.2.9 Setting execution sequence within an execution group


These are automatically assigned to execution group 1 when the DCBs are inserted in a new
chart. Execution group 1 is automatically given the name of the chart. The sequence
corresponds to the order in which they are inserted in the chart. You can display and edit the
sequence in the execution editor using Edit > Execution sequence or using . The right-
hand section and DCB list are only opened when you double-click on a DCB (in the diagram
dccReg1\1) from the central column. The details given in the Pos column (e.g. 1 / 2)
correspond to the name in the bottom line in the right-hand part of the DCB header with a
colored background. The 1st digit stands for the execution group (between 1… 10) and the
2nd digit for the sequence within the execution group. The execution sequence can be
changed by dragging & dropping into the center column.

Figure 3-14 Execution editor with open execution group dccReg1

You can return to the DCC chart by again selecting Edit > Execution sequence or by again
clicking on .

SINAMICS/SIMOTION DCC editor description


66 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

3.2.10 Setting sampling time for an execution group


The sampling time for an execution group is always set in the STARTER. The DCC chart
you want is highlighted in the project navigator and the Set execution groups item called
from the chart's context menu. The Set execution groups window opens.
Our chart was created on the CU drive object. r21002 = 4 ms in this case. The dccReg1
execution group is therefore assigned a sampling time of 1*r21002.
in the offline mode of the STARTER / SCOUT V4.1.x, r21002 and r21003 are always
displayed with the value 0 in the Set execution groups window. The r21002 value is identical
with the p0115[0] value on the associated drive object.
When setting the sampling time, note that the minimum sampling time in the drive for DCC
execution groups is 1 ms. Only times that are shorter than or equal to r21003 may be chosen
as a multiple of r21002.
Please re-compile the chart once you have set the sampling time.

3.2.11 Loading the DCC technology option onto the CF card of the drive device
When the drive device is supplied, the DCC technology option will not yet be present on the
CF card of the drive unit. This is loaded onto the CF card with the aid of SIMOTION SCOUT
or SINAMICS STARTER.
To do this, call e.g. the STARTER and link to the drive device online. STARTER is in online
mode.
In the drive device's context menu, then select the Select technology packages... item.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 67
DCC for SINAMICS
3.2 Working with DCC SINAMICS

In the Select technology packages window, select the DCB library you want and select
Download for this library in the action column. Then click on Run in the bottom right of the
window.

SINAMICS/SIMOTION DCC editor description


68 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

A progress bar shows how the downloading process is progressing. Once the downloading
process is complete, the button in the bottom left changes from Cancel to OK.
The window is closed by double-clicking on OK.

NOTICE
Once the technology package has been downloaded, the drive device has to be switched
off and on again once. Only once the supply voltage to the CU3xx and/or D4xx has been
switched back on and it has been powered up can DCC charts be downloaded to the drive
device and run.

3.2.12 Downloading compiled DCC chart into the drive


To be able to operate the DCC program on a drive object, it must have first been
downloaded to the drive device.
Connect the PC, on which you have run configurations to date, to the drive device via
PROFIBUS (or PROFINET). In our example, a 24V CU320 (or CU310) without DRIVE CLiQ
connections to other components (e.g. power modules) is sufficient.
A CF card with SINAMICS firmware V2.5 SP1 or higher must be plugged into the CU.
Once the CU has powered up (RDY LED is green), you can go online with the STARTER.
If the online connection fails, in the starter you can use Tools > Set PC/PG interface >
Diagnostics to determine whether and under which bus address your CU3xx is recognized.
Compare this bus address with the drive device bus address currently set in the project. To

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 69
DCC for SINAMICS
3.2 Working with DCC SINAMICS

do this, highlight the drive device in the project navigator and call Properties from the context
menu. The bus address specified in the SINAMICS properties window in the Drive
device/bus address tab must match the value previously established from diagnostics. If
necessary, set the bus address to the value found and close the window by clicking on OK.
Again try to go online.
If the connection has been successful, click on the Download button in the Online/offline
comparison window.
Downloading can take place in STARTER at any time via the Download function.
Once the download is complete, the DCC chart is calculated in cycles on the CU drive
object.

3.2.13 Display online values for declared parameters


In online mode of the STARTER, the DCC editor can display online the values for declared
(@) parameters on the DCB outputs.
In our example, the output values Y (r20519, r20520) of the two integrators should be
displayed. To do this, open successively in the DCC editor with a double-click on the
connection of the Properties – Connection window and with a mouse click set a tick for For
test on the right-hand side in the middle. This registers these outputs for display in test
mode. Then use Test > Test mode or Ctrl-T or in the DCC editor to switch to test mode.
The values of the two DCB outputs will be displayed marked yellow and updated with a
monitoring cycle of 2 seconds.

Figure 3-15 Display of the DCC chart dccReg1 in test mode

To make the oscillator vibrate, it must be excited once. To do this, set the p20501 parameter
in the expert list of the STARTER once to "1" (the set value SV = 2.0 is located at the output
of the left-hand integrator, r20519 = 2.0) and then reset to "0". The oscillator vibrates and the
output values of the integrators show changing values in the chart and in the expert list
(r20519, r20520).

SINAMICS/SIMOTION DCC editor description


70 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

If you want to make further changes to the chart, you must leave the test mode with Test >
Test mode or by clicking the button. It can take several tens of seconds before the test
mode of the DCC editor is exited.

3.2.14 Record with the trace signals from the DCC chart
The integrator outputs declared as interconnectable parameters act like any other REAL
connector output of the SINAMICS base unit. This means these signals can also be
recorded with the trace. The trace is called in STARTER with Target system > Trace or .
In this example, the r20519 and r20520 parameters (i.e. the outputs of the two integrators in
the DCC chart) will be recorded with a cycle of 1 ms. The recording can be started with the
button.

Figure 3-16 Parameterization of the trace

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 71
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Figure 3-17 Display of the recorded signals as timing diagram

3.2.15 Archiving a project


If during or after the commissioning, you want to archive the project, including the DCC
charts, on a data medium, as previously in STARTER, this is possible with Project > Archive.

3.2.16 Creating documentation

Complete documentation
The example has been successfully configured and tested. You can now create the
complete documentation for this short example.

Execution editor
The execution editor displays the execution groups with the block types and the execution
sequence. In the function bar of the function bar of the DCC editor, click: and open the
execution editor. Open the chart and the execution group in the middle column. Double-click
on one of the DCBs (yellow). The DCBs of the execution group in the sequence of the call
are listed in the right-hand window. To begin printing, click:

SINAMICS/SIMOTION DCC editor description


72 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Then close the execution editor with a click on .

Figure 3-18 Execution editor with open execution group dccReg1

Chart reference data


Alternatively, the chart reference data also displays the execution groups with the block
types and the execution sequence . Use Tools > Chart reference data in the DCC editor to
open the chart ref.
In the Chart ref window, click the button to also display the DCBs in the configured
execution groups. To begin printing, click:

Figure 3-19 Chart ref. window: Display chart reference data

Printing a chart
You should also print the chart to document the interconnection of the DCBs. Because only
one page was used on this chart, it suffices to print the current page. To begin printing,
click:
If your chart consists of several pages, we recommend that you print them individually in the
page view. Click the button to change to the page view.
Click or to customize the display so that all DCBs are shown on a single page on the
PC monitor.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 73
DCC for SINAMICS
3.2 Working with DCC SINAMICS

Assignment of execution groups


To document the assignment of the execution groups, select the Set execution groups
command in STARTER in the context menu of the chart. The Set execution groups window
will open. Print a screenshot.

Figure 3-20 Set execution groups window

The change of the hardware sampling times r21002 base sampling time displays the value
for p0115[0] in the CU startup of 1 ms. Here p0115[0] was changed from 4000 µs (factory
setting) in offline mode to 1000 µs and then downloaded to the CU.

SINAMICS/SIMOTION DCC editor description


74 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.3 Connecting the DCC to the drive

3.3 Connecting the DCC to the drive


Only DCB connections of a DCC chart declared as BICO parameters can be connected to
the connector inputs (CI) and connector outputs (CO) of the drive.
All block interfaces declared as BICO parameters are per-unit variables. This means that
calculations are performed with per-unit signal values within DCC. (1.0 corresponds to
100%). The conversion to the connector units of the drive is performed automatically.

3.3.1 Calculating a DCC chart with per-unit variables


Example 1 (interconnecting input value)
Go offline with STARTER.
– p1020 = 1 and
– p1021 = p1022 = p1023 = 0
(function block diagram 2505) are set on a drive object of the SERVO (the "Extended
setpoint channel" function module must be activated) or VECTOR type. Fixed speed setpoint
1 (p1001 in function block diagram 3010) is then output on r1024 (Speed setpoint active).
The following are also set:
– p1001 = 1500 rpm and
– p2000 = 3000 rpm (reference speed).
Double-click Insert DCC chart on the drive object in the project navigator (left side), assign a
name and confirm with OK. (A DCC chart must not already exist on this drive object!)
A DCB of the ADD type is inserted in the DCC chart. Connections X1 and Y of the DCB ADD
are declared as (connectable) BICO parameters. To do this, connection X1 (top addend) is
double-clicked. The "Properties" dialog for this connection is displayed. Enter the expression:
"@*10 speed input" in the comment and confirm with OK. This declares this input as
connector input (CI) p20510. In the same way, the DCB output "Sum" is declared as
connector output r20511 with the comment "@*11 per-unit speed output".
Right-click twice in succession on input X1. The context menu opens. Select Interconnection
to operand…. In the DCC Signal Selection window, now select r1024 (CO: Fixed speed
setpoint active) and confirm with OK.
Compile the chart by selecting Chart > Compile > Charts as program….
Right-click the chart in STARTER, select Set execution groups…, set the only execution
group that is present, for example, to 20 * r21003 and confirm with OK.
Go online with STARTER and download the project to the target system.
Then online in the DCC editor, switch the test mode on with Test > Set test mode. Now right-
click the output of the adder and select Log on connection in the context menu.

Figure 3-21 Log on connection context menu

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 75
DCC for SINAMICS
3.3 Connecting the DCC to the drive

The current output value (= per-unit speed setpoint = 1500 rpm / 3000 rpm = 0.5) is then
displayed.

Figure 3-22 Connection value is displayed

3.3.2 Calculating a DCC chart with absolute variables


Example 1 (interconnecting input value)
If you want to work with absolute variables in the DCC chart (in our example using speed
values), you have to convert the referenced value to which the variables are automatically
converted by the drive into an absolute variable (in our example, a speed) using the
reference variable. For DCC, the reference variables are provided as visualization
parameters r2700… r2707 which have no units and can be interconnected. Parameters
r2700… r2707 have the special feature that the value is transferred 1:1 to DCC without being
divided by the reference variable.
On SERVO type (the "Extended setpoint channel" function module must be activated) or
VECTOR type drive objects,
– p1020 = 1 and
– p1021 = p1022 = p1023 = 0
(function block diagram 2505) are set. Fixed speed setpoint 1 (p1001 in function block
diagram 3010) is then output on r1024 (speed setpoint active, function block diagram 3010).
The following are also set:
– p1001 = 1500 rpm and
– p2000 = 3000 rpm
r1024 (speed setpoint active, function block diagram 3010) then assumes the value 1500
rpm.
The interconnectable visualization parameter for the r2700 reference speed indicates a value
of 3000 in the expert system.
A multiplier for real values (= floating point values) MUL is used in the chart.
The 1st factor is published as a BICO parameter and interconnected with r1024. → Factor 1
= 0.5 (referenced speed setpoint active)
The 2nd factor is published as a BICO parameter and interconnected with r2700. → Factor 2
= 3000.0 (value of reference variable p2000)
At the multiplier output this results in:
0.5 * 3000.0 = 1500.0
The speed setpoint r1024 is available again in DCC in rpm.

SINAMICS/SIMOTION DCC editor description


76 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.3 Connecting the DCC to the drive

The DCB was automatically assigned to an execution group when inserted into the chart.
The free execution group 20 * r21003 (selected at random) has been assigned to the
execution group in the Set execution group menu.

Example 2 (interconnecting output value)


Absolute values are used in the DCC chart to calculate the torque in Nm units. The torque
setpoint calculated is to be passed on to the "Extra torque M_extra 2" (p1513, function block
diagram 6060) connector input. For this to happen, the absolute value must be converted
into a referenced torque while still in the DCC chart. When connecting a real type (== floating
point) connector output (CO) from the DCC with connector input (CI) p1513 M_extra 2
[torque in the Nm unit] on the drive, the automatic conversion in the BICO connection always
assumes that DCC is providing a referenced signal.
The LIM type DCB supplies the absolute torque of 0.204625 Nm calculated in the chart at its
Y output. This absolute value is now divided by the reference variable for torque r2703 =
0.8185 Nm and the referenced torque value for interconnecting with the drive is thereby
calculated. The referenced torque value is available at the DCB DIV's output and is
published as BICO parameter r20530 (value = 0.2499 = 0.204625 / 0.8185). DCB NOP1 has
only been inserted so that the value of reference torque r2703 can be shown in the chart at
its r20527 output published as a BICO parameter.
Visualization parameter r1515 (total extra torque, function block diagram 6060) is only
calculated if the speed controller is released and the drive is magnetized (r0056.4 = 1 = yes).
(A machine must be connected to the motor modules and be running for this purpose.)
Otherwise the value is set to zero.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 77
DCC for SINAMICS
3.3 Connecting the DCC to the drive

Figure 3-23 Interconnecting output value

3.3.3 Interconnecting DCC signals with communication interfaces IF1 and IF2
The basic system can be connected to process data interfaces IF1 and IF2 via free telegram
configuration using BICO (p0922 = 999) or via (standard) telegrams depending on p0922. To
interconnect with the basic system, the DCC connections needed must be published as
BICO parameters. These DCC parameters should always be interconnected with the basic
system in the DCC Editor by calling the context menu Interconnection to operand.

3.3.3.1 Interconnecting received process data with DCC


When interconnecting the received PZD data (see SINAMICS S List Manual, function block
diagrams 2490 and 9204), the particular way in which the connector outputs (COs) of PZD
processing behave (for IF1 r2050, r2060 and for IF2 r8850 and r8860) should be noted.
These COs (connector outputs) can either provide their signals in whole numbers (integers)
or as floating point values (REAL), but not as both data types at the same time. The data
type provided is determined by the first signal linked to this CO. This can also be determined
by a standard telegram having been selected (p0922 |= 999) on a drive object. The PZD
COs are thereby automatically interconnected according to the definition of the telegram
selected. This interconnection is not cancelled when resetting p0922 = 999 == free telegram
configuration with BICO.
p1070 = 2060[2] is set for example. r2060[2] (PZD received word 3 and 4) is thereby
connected to the main setpoint (in function block diagram 3030) of a REAL variable of the
basic system. This means that only connector inputs from DCC with the REAL signal data
type can be interconnected on r2060[2].
Note that a connection to integer inputs can be made in DCC Editor both offline and online
and that the interconnection will only be rejected when the chart is downloaded.

3.3.3.2 Interconnecting sent process data with DCC


The send data is interconnected as with any other BICO connection.

SINAMICS/SIMOTION DCC editor description


78 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.4 DCC SINAMICS specifications

3.4 DCC SINAMICS specifications

3.4.1 Rules for assigning names in the DCC editor


Names are used for data exchange between SCOUT/STARTER and the DCC editor.
The names in the DCC editor must therefore abide by the following rules:
● Basic chart:
– No keyword or previously defined name permitted
– Must start with a letter or underscore
– May contain numbers, letters and "_"
– "_" must be followed by a number
● Subchart:
– Must start with a letter or underscore
– May contain numbers and letters
– "_" is not permitted
– Keyword or previously defined name permitted
– In the DCC editor, a check is performed to determine whether the name has
previously been defined.
● DCB instance:
– Can start with a number
– May contain numbers and letters
– "_" is not permitted at the beginning
– Keyword or previously defined name permitted
– In the DCC editor, a check is performed to determine whether the name has
previously been defined.
● Execution group:
– Keyword or previously defined name permitted
– In the DCC editor, a check is performed to determine whether the name has
previously been defined.
● BICO parameter:
– No previously defined parameter numbers permitted
– In the DCC editor, a check is performed to determine whether the parameter number
has previously been defined.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 79
DCC for SINAMICS
3.4 DCC SINAMICS specifications

3.4.2 Field/name lengths and conventions

Field/name lengths and conventions

Object Length Comment


Chart name 22 *) May not contain the following
characters:
\.:/*?"<>|#%
Use of the "_" character is
subject to particular
specifications.
Chart comment 255 All ANSI characters are
permitted.
Runtime group 22 Character set as for Chart,
including "_"
DCB type 6 Determined by DCC.
DCB instance comment 80 All ANSI characters are
permitted.
Parameter comment 80 All ANSI characters are
permitted.
DCB name (instance name) 16 *) May not contain the following
characters:
\.:/*?"<>|#%
Use of the "_" character is
subject to particular
specifications.
Global operand max. 49 Interconnection with BICO
parameter
*) The chart name and DCB name must jointly consist of a maximum of 24 characters,
including separating characters.

3.4.3 Representation of the dynamic value display


The values are output next to the connections, according to their data type. They are
displayed on the screen with a colored background.

Table 3-2 Representation of the dynamic value display

Representation Meaning
Blue on white Representation of the values in edit mode
(offline)
Black asterisks on yellow Values during transfer to the dynamic display
Black value on yellow Representation of the values read from the drive
object in test mode
#### on a red background Representation of values while the dynamized
values required from the drive object are missing
(fault, overload)

SINAMICS/SIMOTION DCC editor description


80 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SINAMICS
3.5 Faults and warnings

3.4.4 Interconnectability of data types


In the case of DCC SINAMICS, not only can connections of an identical type be
interconnected, but also:
● INT ⇔ WORD
● UINT ⇔ WORD
● UINT ⇔ INT
● UDINT ⇔ DINT
● SINT ⇔ BYTE
● USINT ⇔ BYTE
● DINT ⇔ DWORD
● UDINT ⇔ DWORD
● Enums ⇔ DINT

3.5 Faults and warnings


The DCC SINAMICS parameters and alarms are contained in the appendix of the
SINAMICS/SIMOTION DCC Block Description Function Manual.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 81
DCC for SIMOTION 4
4.1 Overview

4.1.1 Introduction
This product brief is intended for experienced SIMOTION users who are not yet familiar with
the DCC program package. Using a short example, you will find out how to create a project
after starting up SIMOTION SCOUT, create a DCC chart, interconnect blocks, compile the
chart, download it to the target device and test it online.

Note
In most cases, there are a number of options for working with the DCC editor (e.g. using the
keyboard). In this example, the quickest or most suitable option is used. Apart from a few
exceptions, no alternative methods of operation or procedures are explored here.

4.1.2 Software requirements


The software requirements for DCC are the same as those for SIMOTION SCOUT.
You require an appropriate license to use the DCC editor.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 83
DCC for SIMOTION
4.1 Overview

4.1.3 SIMOTION system integration

4.1.3.1 Execution level, execution group and execution sequence

DCC tasks and execution groups

&\FOLFH[HFXWLRQOHYHO
F\FOH

'&&WDVN 8VHUWDVN 6\VWHPWDVN

'&% '&% '&% '&% '&% '&%

5XQWLPHJURXS 5XQWLPHJURXS

&DQEHVZLWFKHGRQRII

Figure 4-1 Sequence model for blocks

Task
One or more tasks are available in each execution level for user programming.
The main features of the tasks are:
● Start behavior: When and under what conditions a task is started?
● Priority: Which task is interrupted by which other task?

Execution groups
The available tasks (scan and order of sequence in the system: T1 to T5) are arranged in
run-time groups. The blocks are embedded into these run-time groups. The run-time groups
therefore allow the task to be structured or divided as required by the user; e.g. dancer
control, setpoint processing, etc. The run-time groups are embedded sequentially into the
blocks. Only blocks from one basic chart may be included in within a run-time group.

SINAMICS/SIMOTION DCC editor description


84 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

You can use the "Enable" attribute to activate and deactivate an execution group. In the
normal case, run-time groups are processed in cycles; however, the enable attribute can be
used for switching single run-time groups on and off.
A BOOL-type block output can be connected to enable a run-time group or a block group. To
do this, highlight the connection to be interconnected and select the Interconnect with
execution group command in the context menu.

Execution sequence
Where tasks are concerned, The "run sequence" corresponds to the sequence in which run-
time groups and blocks are integrated within a task.
The same applies to groups: The sequence in which the individual blocks are integrated is
the run sequence within the run-time group.
You can change the execution sequence.

Setting system cycle clocks


The properties that determine the execution behavior of a task are configured in SIMOTION.
You can carry out parameterization in the properties dialog box of the CPU under Expert
execution system > Set system cycle clocks.

No multiple insertion of blocks in different tasks


Integrating a block multiple times in different tasks is not permissible.

Changing the execution sequence


● Click Edit > Execution sequence or the icon.
The Execution sequence window appears: In the left-hand side of the window, you will see
the structure of the task. In the right-hand window, the content is displayed. The default
integration position of the blocks is in cyclic task T2, in the default execution group that has
the same name as the chart.
To move blocks that have already been inserted from task T2 to higher-priority task T1:
● Double-click the T1 icon
● The execution groups are displayed in the right-hand window:
– When you highlight the execution group, the blocks it contains are displayed (including
the chart/block name, comment and position).
– Highlight the execution group that you want to move in task T2 and use drag-and-drop
to pull it to the task T1 icon in the left-hand window. The right-hand window is now
empty.
– When you double-click task T1 to open it, the execution group that you have moved
will be displayed there.
● Close the window via Chart > Close and proceed to the next step.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 85
DCC for SIMOTION
4.1 Overview

4.1.3.2 HMI variables (publication of variables and @Parameter))

HMI variables
You can declare block inputs and outputs as HMI variables. It is also possible to implement
an interface that is largely static from an HMI point of view, i.e. not every change made to the
DCC configuration demands that the address information of the HMI system be reimported.
The memory image with the HMI variables is not automatically deleted during compilation. It
is only deleted on request.
HMI variables that are removed from the DCC when the block that defined them is deleted
remain in the memory image until reorganization is requested during compilation in the DCC.

&RQWURO

0HPRU\LPDJH
ZLWK+0,
YDULDEOHV
'&&FKDUWV
2SHUDWRU3DQHO
HJ:LQ&&IOH[LEOH

Figure 4-2 HMI variables

@parameter (SIMOTION)
Block inputs and outputs can be declared. The variables/parameters declared by the user
are expanded in the map listing. Declaration allows you to to create an interface that is as
static as possible. Consequently, a change to the DCC configuration does not necessitate
reimporting of the address information for the HMI system.

Structure of @parameters
In the comment, block inputs and outputs are declared by the variable name preceded by @.

Table 4-1 Structure of comments in SIMOTION

Comment Meaning
SIMOTION: The connection is entered as an HMI variable in
@name <<parameter comment>> SIMOTION. The name is inserted before the first
space (here, you must adhere to ST
conventions).
The text which follows the variable name (separated by a space), is transferred as a
parameter comment. It is then displayed in the SIMOTION STARTER expert list, for
example. The parameter identifier results from the variable name.

SINAMICS/SIMOTION DCC editor description


86 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

The data type of the declared input/output is transferred by the block connection. Where
necessary, it is mapped onto the appropriate data type of the engineering system.
No help function can be created for @parameters.

Exporting to WinCC

Procedure
A created DCC chart can be exported to WinCC, whereby the export specifications of the
SIMOTION SCOUT also apply for DCC charts. However, for this to happen the OPC-XML
export must be activated in the Properties dialog box of the chart in SIMOTION SCOUT.
In the engineering system, right-click the chart and select Properties in the context menu.
The export is activated via Enable OPC-XML on the Compiler tab.

Figure 4-3 DCC chart properties - OPC-XML export

The export can be performed in SIMOTION SCOUT via Options > Export OPC data.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 87
DCC for SIMOTION
4.1 Overview

4.1.3.3 Interconnecting with SIMOTION variables

Interconnecting with SIMOTION variables


You can interconnect with global operands (SIMOTION variables) in the DCC editor.

Note
Please observe the specifications for assigning names in DCC SIMOTION.

Procedure
Interconnection can be performed as follows:
1. Select the block connection to be interconnected.
2. Execute the Insert > Interconnection to operand command in the menu. The
interconnection to a global operand can also be performed via the context menu of the
block. The Symbol input help window appears.

Figure 4-4 Symbol input help window

SINAMICS/SIMOTION DCC editor description


88 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

3. You can now navigate in the CPU or drive object assigned to the chart and select the
device variable to be interconnected – the application highlights compatible device
variables in bold-face type.
4. Click OK to close the window.
From this point on, the selected block connection is interconnected with the global operand
and the global operand is represented by a sheet bar variable in the DCC editor.

Note
The global variables and the IO variables must first be created and then the interconnection
performed.

Note
You can search by variable name, parameter number or parameter text (with DCC-
SINAMICS) in the search box in the Icon input aid dialog box.

Interconnection to array elements


You can interconnect array elements of ST programs in the DCC editor.

Procedure
Interconnection can be performed as follows:
1. Create a new ST program with an array variable in the SIMOTION SCOUT engineering
system using the Insert ST program command.
2. Right-click and select Interconnection with operand from the context menu. The Symbol
input help window appears.
3. Select the array variable to be interconnected.
4. Enter the number of the array element to be interconnected.
5. Click OK to close the window.
From this point on, the selected block connection is interconnected with the array element
and the array element is represented by a sheet bar variable in the DCC editor.

Alias parameter
You can assign alias identifiers in the DCC editor for parameters. The reason for assigning
an alias may be that a name is too long - the DCC Editor only accepts a maximum of 49
characters for identifiers.

Procedure
An alias can be created as follows:
1. Right-click on the block connection and select Interconnection with operand from the
context menu. The Symbol input help window appears.
2. Select the connection that is to be defined by the alias.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 89
DCC for SIMOTION
4.1 Overview

3. Click on the symbol from the alias definition area

.
4. Enter the alias name in the entry field.
5. Close the window.
The alias has been successfully created and can now be used - the computer now resolves
the alias as required, e.g. within the framework of the compilation.

4.1.4 Creating block libraries

4.1.4.1 Fundamentals
The DCC editor offers a function for saving a chart as a block library. This kind of chart
relates to a connection created by the user, which features an interface so that it can be
reused and is saved in a library. The charts as block library function therefore includes the
option of know-how protection, since the configured DCC charts are only available as a
transparent block within a block library. The DCC chart configuration that has been created
is hidden. The DCC chart that has been created for a block can be definitively deleted via the
Remove chart source... function in the context menu of the library. This command is only
available if all blocks in the library have been compiled without errors. If it is executed, all the
corresponding chart sources are deleted leaving only what has been compiled in the project.
You cannot undo the action.

Prerequisites
You have already created a new DCC library in the SIMOTION SCOUT Engineering System.

Figure 4-5 Inserting a DCC library

There is already a DCC chart available for saving in the block library.
The chart connections are displayed.

Note
You can display the chart connections via the icon in the toolbar.

SINAMICS/SIMOTION DCC editor description


90 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

Rules for creating block libraries


● It is only possible to compile charts in block libraries.
● The chart may be hierarchical (plan-in-plan)
● Interconnections between charts in the library are not permitted.
● No HMI variables or @parameters may be configured at the chart interface connections
of the basic chart or of the blocks that it contains.
● If a chart interface input is interconnected with several (internal) block inputs, a suitable
NOP block needs to be connected between them.
● All blocks may only by integrated into the same execution level/execution group. Here,
the chart blocks must directly follow one another.
● Inside the chart folder that needs to be compiled, all of the blocks from a basic chart must
be placed in the execution group with the same name as the chart.
● Global operands are not permitted. Instead, these must be modeled as an input or output
at the chart interface.

Procedure
In the project, first click Insert DCC library in the project navigation tree to create a new
library.
Following this, click Insert DCC chart to create a new DCC chart for the library. You can then
model the DCC chart in the DCC editor.
Insert e.g. an ADDer and a PI controller (PIC) in the chart and interconnect them.
The block connections can be interlinked to the chart connections in two ways.
The first way is to select the interface type (IN, OUT, IN_OUT) from the left pane and then
drag the block connection you want into the right pane using drag & drop.

Figure 4-6 Screenshot showing chart connections area of the window

The second way is to press and hold down the Ctrl key and drag the block connection to be
interconnected to the interface type required directly into the left pane using drag & drop.
Each assignment is displayed in the variables sheet bar of the DCC editor.
The block interface is defined as part of assigning block connections to the interface.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 91
DCC for SIMOTION
4.1 Overview

Figure 4-7 Example: Creating a chart as a block type

Following successful configuration, the DCC chart can be compiled as a block type. To do
this, select Chart > Compile > Chart as block type. A new block with the defined inputs and
outputs will now be created in the selected block library.
The newly created library is available in the menu under Extras > block types in the DCC
Editor. The library is not shown in the SIMOTION SCOUT; only native libraries are shown
there.

4.1.4.2 Creating comments for block libraries you have created yourself
In the SIMOTION SCOUT engineering system, you can save additional information on
individual blocks for a block library that you have created yourself.

Procedure
1. Select the block library you want to edit in the SIMOTION SCOUT engineering system.
2. In the context menu of the block library, select the Block type properties item.
3. In the Block type properties window, select the DCC chart to be edited and click on the
Extra block type properties button.
4. Now enter the information you require and then close the window with OK.

SINAMICS/SIMOTION DCC editor description


92 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

4.1.4.3 Special features of the 1:N interconnection of chart interface inputs


If you have defined an interconnection of a chart interface input with blocks for a chart, there
are two different scenarios. First, there is the scenario of a 1:1 interconnection, which can be
carried out without problems. However, the following must be noted for a multiple
interconnection (1:N) of a chart interface input to several blocks.

Figure 4-8 Connection example for a 1:N interconnection without NOP block

If there is a 1:N interconnection at an input within a hierarchical chart or block type, an


NOP_x block must be used in the chart for consistency reasons - refer to the following
example:

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 93
DCC for SIMOTION
4.1 Overview

Figure 4-9 Connection example for a 1:N interconnection with NOP block

4.1.4.4 Reliance of the generated block on the underlying block libraries


A chart saved as a block library is created using blocks from other block libraries. Even after
it has been converted, the chart contains a reference to the block libraries being used. This
can lead to problems if the library produced is ported from the creation system to one or
more target systems where the block libraries used are not available. Under these
circumstances, the block library cannot be used.
Use Copy and Paste to port a self-created block library. To do this, you must start two
instances of SIMOTION SCOUT. Select the library to be copied in the first SIMOTION
SCOUT instance and switch to the second instance. Now paste the library to make it
available here.

Note
Before copying into the SIMOTION SCOUT target instance, you must activate the
technology packages needed if no corresponding chart has yet been produced.

SINAMICS/SIMOTION DCC editor description


94 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.1 Overview

4.1.5 Changing SIMOTION online

4.1.5.1 Deleting an interconnection online

Procedure
In the DCC chart, highlight the block connection whose interconnection you wish to
disconnect. Then select Edit > Delete to delete it.

Result
The connecting line between the connections disappears and the last value that was
transferred to the connection appears as a parameter value at the connection.

Note
It is now no longer possible to recreate or delete connections to global operands online.

4.1.5.2 Establishing an interconnection online

Procedure
In the DCC chart, highlight the block connection from which you want to establish a
connection.

Result
The connecting line between the selected connections is established and the current
parameter value that has been transferred appears at the output.

4.1.5.3 Changing parameters online

Procedure
Double-click to select the block input whose parameter value is to be changed. The
Connection Properties dialog box appears. You can change the value here.

Result
The effect of the change can immediately be seen in the DCC chart.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 95
DCC for SIMOTION
4.1 Overview

4.1.5.4 Inserting a block online

Procedure
Call the block catalog using the View > Catalog command. Open the block family and use
drag-and-drop to move the selected block to the working area.

Note
Not all blocks can be inserted online. This depends on the total system behavior, for
example, is a save request only possible during ramp-up.
Further information is available under "Configuration data" in the online help for the block.

4.1.5.5 Deleting a block online

Procedure
Select the block and use the Edit > Delete command to remove it.

4.1.6 DCC and SIMOTION Trace

4.1.6.1 Description of Trace


As accustomed with SIMOTION-based devices, you can trace each block interface as a
variable or use it in the trigger condition in the DCC editor.

SINAMICS/SIMOTION DCC editor description


96 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

4.2 Working with DCC SIMOTION

4.2.1 Preliminary remarks on configuration

Preliminary remarks
Before we go any further, the intention here is to provide a brief explanation of what you will
be configuring in this chart.

Configuration example
The configuration example deals with a straightforward oscillating circuit that creates
sinusoidal oscillation at its output.
It will only take you a few minutes to create the chart; then you can execute it in test mode as
a demonstration.
The following blocks are used:
● 2 integrators (INT)
● 1 subtractor (SUB)
As indicated by the differential equation f"(x) = - f(x), the oscillating circuit is comprised of two
integrator blocks that are linked by negation.
The frequency of the oscillating circuit is determined by the integrating time constant at the
integrators.
The oscillation amplitude is specified by the initial value at the integrator output.
The DCC editor can be started via the SIMOTION SCOUT engineering system.

Configuration example structure


The configuration example is divided into the following steps:
1. Creating a new project
2. Inserting the DCC chart in the project
3. Inserting blocks in the DCC chart
4. Interconnecting blocks in the DCC chart
5. Compiling the DCC chart in the DCC editor
6. Downloading the compiled DCC program to a CPU
7. Starting the CPU
8. Switching between process and laboratory mode
9. Setting test mode/test mode types
10.Monitoring values in laboratory and process modes
11.Logging on and logging off connections for monitoring

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 97
DCC for SIMOTION
4.2 Working with DCC SIMOTION

12.Using the "Enable" attribute for execution group control


13.Creating complete documentation for the example
14.Information on function chart reference data

4.2.2 Creating a project


● Create a new project in the SIMOTION SCOUT engineering system, e.g. dcc_ex.
● Create a new device, e.g. a CPU C230-2 V4.1, using Create new device.
● Select the package TPdcblib_SIMOTION_4_1.2.0 [x.y] and close the window.
● You can now insert a chart.

4.2.3 Inserting a chart


Insert your first DCC chart as follows:
● In the project navigator, double-click Insert DCC chart under Programs.
● Now give your chart another new name. The text field for the DCC name is selected
automatically and the cursor is activated.
● Edit the new name here: dcc_reg1.
● If the Open editor automatically option is activated, the DCC will be started automatically.
Alternatively, you can open the DCC by double-clicking dcc_reg1.
● If a library has not yet been imported, at this point you will be prompted to import one:
Select TPdcblib_SIMOTION_4_1.2.0 [x.y] in the left-hand window, then click >> and
finally Close.

SINAMICS/SIMOTION DCC editor description


98 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

Figure 4-10 Inserting a chart

This creates the project structure and a chart. All that remains is to create some activity
within the chart, i.e. by inserting blocks and interconnecting them.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 99
DCC for SIMOTION
4.2 Working with DCC SIMOTION

4.2.4 Inserting blocks


You can position the block catalog anywhere on the screen.

Figure 4-11 Inserting a block

● Open a block family in the Closed-loop control family with the closed-loop control blocks.
● Select the required block and insert it in the chart using drag-and-drop. The outline of the
block is represented by a dashed line. Release the mouse button at the required point.
The block (actual size) is displayed on the chart.
● To search for a block, enter its name in the input field of the block catalog and click the
magnifying glass icon. The search process begins. Once the block has been found, insert
it in an empty space on the chart using drag-and-drop.

Note
If blocks are superimposed on the chart with other elements, such as other blocks or the
sheet bar, the superimposed block will be displayed in gray and its connections will not
be visible. You must reposition the blocks to ensure that all block information can be
viewed.

SINAMICS/SIMOTION DCC editor description


100 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

Changing to the page view


To change to the page view from the overview representation, right-click an empty space in
the chart and select Display this page in the context menu that appears. The names of the
block connections are displayed in this enlarged view.
You can also switch to the page view and back to the overview again by double-clicking an
empty area on a page.

Configuring the block display


You can change the display of the blocks. You can change the block width using Options >
Settings > Blocks / sheet bars width.... You can change the designation of the inputs and
outputs of the blocks using Options > Settings > Display in the Connections submenu.
The block type can be displayed in the form of both text and graphics. This can be
configured via Options > Settings > Display in the submenu Block headers.

4.2.5 Interconnecting blocks


We will now deal with the subject of interconnection.

Procedure
● Select the Y output of the left-hand INTegrator, followed by the X input of the right-hand
INTegrator.
● Select the Y output of the right-hand INTegrator, followed by the X2 input of the
SUBtractor.
● Select the Y output of the SUBtractor, followed by the X input of the left-hand INTegrator.
The autorouter creates the connecting lines from the outputs to the inputs and they are then
interconnected.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 101
DCC for SIMOTION
4.2 Working with DCC SIMOTION

4.2.6 Default connection values for delta downloads


Changes made to the default values of the block connections at a later date are only
transferred to SIMOTION if the option highlighted in the following image is activated:

Figure 4-12 Settings for SIMOTION data transfer

SINAMICS/SIMOTION DCC editor description


102 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

4.2.7 Compiling in the DCC editor with code generation

Compiling

Figure 4-13 Compiling a dialog in the DCC editor

You can begin compiling with Chart > Compile > Charts as program... or via the icon.
If errors occur during compilation, the Logs dialog box will automatically be displayed at the
end of the procedure (just as in the case of the consistency check).

Note
You can check the selected device in the engineering system using the Select technology
packages function, which enables you to see whether all necessary block libraries and
technology packages are activated. The basic DCBADM package must always be activated,
the dcblib technology package must be activated if you are using the blocks of the standard
library.

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 103
DCC for SIMOTION
4.2 Working with DCC SIMOTION

Figure 4-14 Window - Select technology packages

Compilation options
For detailed information about the compilation options, please see the chapter titled
"Compiling".

Only valid for SIMOTION


The Reorganize HMI variable interface option enables you to reassign the addresses for all
@ variables currently defined in the chart. @ variables that are still available in the interface,
but are no longer used in the charts, are deleted.

After compilation
On completion of the compilation procedure, a detailed compilation log appears.
● To access the relevant block that is causing an error, select the error line in the log and
click Go to.
● The log can be called again at a later point via the menu Options > Logs and, if
necessary, can also be printed out.

SINAMICS/SIMOTION DCC editor description


104 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

4.2.8 Downloading a DCC program


To be able to operate the DCC program on a CPU, it must have first been downloaded to the
CPU.
Downloading can only take place in SIMOTION SCOUT.

Note
The DCC editor assigns the configured DCBs to tasks T1 to T5 in the execution system.
When the project is downloaded, the DCBs are active immediately if the CPU is in RUN.

4.2.9 Starting the CPU


To execute the DCC program, the CPU must be switched to RUN.

4.2.10 Monitoring in laboratory mode


When test mode is activated, the Monitoring on function, or , will also be activated for
DCC charts in Laboratory mode.
This means that, in test mode, you can also display the development of the values for those
block connections that are logged on for display, i.e. the values will be read out and
displayed cyclically. You can change the options relating to this dynamic value display and
the connection parameters in test mode.

Saving settings
The logging on of blocks for monitoring is rejected when the online test is exited. The
settings of the block interfaces with regard to the test are saved in the project.

Display of values during the test


Current values of block interfaces are displayed when they are logged on for the test and
their block is logged on for monitoring.

4.2.11 Monitoring in process mode


In process mode, the Monitoring off function, or , is activated. This means that you must
first select the blocks that you want to monitor (by highlighting them in the chart) before
dynamic display can take place. You then need to execute the menu command Monitoring
on.
Conversely, you can exclude individual blocks from being monitored if there are too many
(highlight the block and execute the menu command Monitoring off).

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 105
DCC for SIMOTION
4.2 Working with DCC SIMOTION

NOTICE

If the monitoring function has been deactivated and you highlight a connection in order to
log it on for testing via , monitoring is activated for this connection and for all previously
logged-on connections of this block.

By activating test mode, connections are also established with the CPU for all connections
listed within a value display window. Activate monitoring by selecting the individual
connections in the Monitoring column.

4.2.12 Logging on/logging off connections for testing


In edit mode or test mode (process or laboratory mode), you can log on individual block or
chart connections for testing:
● Highlight the connection and select Test > Log on connections or click the icon in the
function bar.
When this is performed in test mode, monitoring is also activated, i.e., the connection is
displayed with a yellow background and with its current value. If monitoring had been
deactivated for this block, it will also be activated for all connections that were logged on for
testing prior to this.
In edit mode or test mode (process or laboratory mode), you can log off individual block or
chart connections for testing:
● Select Test > Log off connections or click the icon in the function bar.

Note
Alternatively, it is also possible to log on/log off all connections of a block for testing in
edit mode by highlighting a block, selecting Object properties via the context menu, and
selecting or deselecting the individual connections in the For testing column of the
Connections tab.

4.2.13 Activating/deactivating connection monitoring


You can activate/deactivate monitoring (displaying the current values at the connection) of
the block connections logged on for testing:
● Automatically, by activating test mode in laboratory mode.
● Via Test > Monitoring on or via the icon in the function bar. In laboratory mode, this
function applies to all blocks; in process mode, only to the blocks that have been selected
in the chart.
● You can deactivate monitoring (meaning that values at the connections will no longer be
updated) via Test > Monitoring off or by using the icon. In laboratory mode, this
function applies to all blocks; in process mode, only to the blocks that have been selected
in the chart.

SINAMICS/SIMOTION DCC editor description


106 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.2 Working with DCC SIMOTION

All input and output values that have been activated for monitoring purposes are updated in
accordance with the set monitoring cycle.

4.2.14 "Enable" attribute


The "Enable" attribute enables or disables an execution group (enable = 1; disable = 0).
The "Enable" attribute is set to 1 by default. However, it can also be set dynamically. The
output value of a block determines whether the group is to be enabled or disabled. To this
end, you can interconnect the digital output of a block with the execution group.

4.2.15 Creating documentation

Complete documentation
The example has been successfully configured and tested. You can now create the
complete documentation for this short example.

Chart reference data


In this case, the chart reference data is the block type cross references and the execution
sequence. In the function bar, click:
You can open the Chart Ref: Display Chart Reference Data window via Options > Reference
data in the menu. In this window, you can use the icons in the function bar to create and
display the relevant lists. To begin printing, click:
Then close the dialog box with Reference data > Exit.

Note
The Chart Ref: Display Chart Reference Data window can only be opened when the window
of the execution editor is not open.

Printing a chart
You also wish to print out the chart. Since only one page has been used on this chart, a
single page display is recommended for printing. The chart is now set to Page view. To
begin printing, click:

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 107
DCC for SIMOTION
4.3 DCC SIMOTION specifications

4.3 DCC SIMOTION specifications

4.3.1 Rules for assigning names in the DCC editor


Variables are used for data exchange between SCOUT and the DCC editor. The variable
names used are subject to the same restrictions regarding names in SIMOTION.

Note
In the DCC editor, the length of the name is restricted to a maximum of 49 characters. In
SIMOTION, however, longer names are supported. Where this arises, it is necessary to
either use aliases or interpose ST variables.

The names in the DCC editor must therefore abide by the following rules:
● Basic chart:
– No keyword or previously defined name permitted
– Must start with a letter or underscore
– May contain numbers, letters and "_"
– "_" must be followed by a number
● Subchart:
– Must start with a letter or underscore
– May contain numbers and letters
– "_" is not permitted
– Keyword or previously defined name permitted (during compilation, a check is
performed to determine whether this is unique)
– During compilation in the DCC editor, the name is checked to determine whether it is
unique
● Block instance:
– Can start with a number
– May contain numbers and letters
– "_" is not permitted at the beginning
– Keyword or previously defined name permitted
– In the DCC editor, a check is performed to determine whether the name has
previously been defined
● Execution group:
– Keyword or previously defined name permitted
– In the DCC editor, a check is performed to determine whether the name has
previously been defined
● Chart interface variable:
– No keyword or previously defined name permitted

SINAMICS/SIMOTION DCC editor description


108 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.3 DCC SIMOTION specifications

– In the DCC editor, a check is performed to determine whether the name has
previously been defined

4.3.2 Field/name lengths and conventions

Field/name lengths and conventions

Object Length Remark


Chart name 22 *) May not contain the following
characters:
\.:/*?"<>|#%
Use of the "_" character is
subject to particular
specifications.
Chart comment 255 All ANSI characters are
permitted.
Execution group 22 Character set as for Chart,
including "_"
Block type 6 Determined by DCC.
Block instance comment 80 All ANSI characters are
permitted.
Parameter comment 80 All ANSI characters are
permitted.
Block name (instance name) 16 *) May not contain the following
characters:
\.:/*?"<>|#%
Use of the "_" character is
subject to particular
specifications.
Global operand Max. 49 If names from SIMOTION are
too long, an ALIAS must be
defined.
*) The chart name and block name must jointly consist of a maximum of 24 characters,
including separating characters.

See also
● Rules for assigning names in the DCC editor (Page 108)

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 109
DCC for SIMOTION
4.3 DCC SIMOTION specifications

4.3.3 Representation of the dynamic value display


The values are output next to the connections, according to their data type. They are
displayed on the screen with a colored background.

Table 4-2 Representation of the dynamic value display

Representation Meaning
Blue on white Representation of the values in edit mode
(offline)
Black asterisks on yellow Values during transfer to the dynamic display
Black value on yellow Representation of the values read from the
SIMOTION RT in test mode
#### on a red background Representation of values while the dynamized
values required from the SIMOTION RT are
missing (fault, overload)

4.3.4 Interconnectability of data types


In the case of DCC SIMOTION, not only can connections of an identical type be
interconnected, but also:
● BYTE ⇔ SINT
● BYTE ⇔ USINT
● WORD ⇔ INT
● WORD ⇔ UINT
● DWORD ⇔ DINT
● DWORD ⇔ UDINT
● SINT ⇔ USINT
● INT ⇔ UNIT
● DINT ⇔ UDINT
● REAL ⇔ SDTIME
● Enums ⇔ DINT

See also
● Interconnection of global operands (Page 23)

SINAMICS/SIMOTION DCC editor description


110 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
DCC for SIMOTION
4.3 DCC SIMOTION specifications

4.3.5 Data type abbreviation in the DCC for connection and transformer blocks

Table 4-3 Table of data types

Abbreviation Keyword Name Bits


BO BOOL Logical number 8
BY BYTE Sequence of 8 bits 8
DI DINT Double integer 32
DW DWORD Sequence of 32 bits 32
I INT Integer 16
PC LREAL Double floating-point 64
number
Accuracy according to
IEEE754
R REAL Floating-point number 32
SI SINT Signed short integer 8
TS SDTIME The SDTIME data type 32
is derived from the
REAL data type; 1.0
corresponds to 1.0 ms
Negative values are not
defined.
UD UDINT Unsigned double 32
integer
UI UINT Unsigned integer 16
US USINT Unsigned short integer 8
W WORD Sequence of 16 bits 16

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 111
DCC for SIMOTION
4.4 Faults and warnings

4.4 Faults and warnings

4.4.1 Notes on error message display

Notes on error message display


If an error message or warning appears in the DCC, there will be special characters that
draw your attention to names or parts of names. You can double-click these characters to
proceed directly to the relevant site of the error.
The characters have the following meanings:
● Block instance or block input/block output
– Represented as:
"\." <instance name> [ "." <pin name> ]
– Example:
Interconnection of "_device\ST_1.i" with "._DCC_6_CFC1_1.x_1" cannot be achieved;
invalid type
● Interconnection with chart interface
– Represented as:
"<" <variable name> ">"
– Example:
The input connection DCC_5\<interconn_add_1_x_1> from the chart 'DCC_5' is not
interconnected with a sink.
● Execution level/execution group
– Represented as:
"{" <group name> "}"
– Example:
Empty execution group {EG}

SINAMICS/SIMOTION DCC editor description


112 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
Appendix A
A.1 List of abbreviations

Abbreviation Description
DCB Drive Control Block
DCC Drive Control Chart
DO Drive Object / Antriebsobjekt

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 113
Index
Naming convention, 17
Updating, 18
" Block type
Comment, 19
"Enable" attribute, 107
Plant view, 20
Execution group, 107
Timing diagram, 20

@ C
@parameters, 86
Changing parameters online, 95
Chart as block type, 90
Dependencies, 94
A
Multiple interconnection, 93
Abbreviations of the data types, 111 Chart partition, 16
Alias identifier, 89 Chart reference data
Array and name lengths, 109 Cross References Block Types, 33
SIMOTION, 109 Cross References Execution Groups, 33
Cross References Operands, 33
Comment
B Block type, 19
Compiling, 26
Basic chart, 16
Configuration example
Block
SIMOTION, 97
Block I/O units, 24
Configuring the block display, 22
Configuring the display, 22
Connection
Connection properties, 23
Declaring, 50
Delete, 23
Create new device, 14
Deleting online, 96
Creates a new project, 13
Execution properties, 22
Cyclic part
Execution sequence, 22
Startup behavior, 37
Generic blocks, 24
Hidden connections, 24
Inserting online, 96
D
Interconnect, 22
Pseudo comment, 24 Data types
superimposition, 21 Abbreviations, 111
Block catalog, 18, 21 DCB library
Find, 21 Change, 28
Magnifying glass, 21 DCC chart
New text, 18 Changing parameters online, 95
Block help, 12 Compiling, 26
Block library Consistency Check, 25
Changing the language, 19 Copy, 29
Delete, 19 Copying block groups, 29
Import, 17 Deleting a block online, 96

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 115
Index

Deleting an interconnection online, 95 G


Establishing an interconnection online, 95
Generic blocks, 24
Exporting to WinCC, 87
Global operand
Insert block, 20
Interconnection, 88
Inserting a block online, 96
Global operands, 23
Map listing, 27
Sheet bar, 23
Reference data, 33
DCC editor
Rules for assigning names (SIMOTION), 108
H
Software requirements, 83
DCC Editor, 16 HMI variable, 86
Import DCB library, 16
Page view, 22
Sheet bar, 23 I
DCC SINAMICS
Import DCB library, 16
Applications and features, 40
Init, 37
DCC task, 84, 89
Initialization
Declaring
Startup behavior, 37
Connection, 50
Inserting a DCC chart, 14
Interconnectability
Data types, 110
E
Interconnection
Error log, 25 Array elements, 89
Example of a SIMOTION configuration Creating online, 95
Block catalog, 100 Data types, 110
Chart reference data, 107 Deleting online, 95
Compiling a DCC chart, 103 Global operand, 88
Configuring the block display, 101 ST program, 89
Create a project, 98 Interconnection to array elements, 89
Creating the complete documentation, 107 Interconnection to global operands, 88
Data transfer in SIMOTION, 102
Insert block, 100
Inserting a chart, 98 K
Interconnecting blocks, 101
Know-how Protection, 35
Laboratory mode, 105
Monitoring in test mode, 106
Page view, 101
M
Printing a chart, 107
Process mode, 105 Map listing, 27
Reorganising B&B variable interfaces, 104
Selecting Technology Packages, 103
Execution group O
"Enable" attribute, 107
OPC XML export, 87
Execution sequence, 85
Change, 85
Execution system
P
Change execution sequence, 85
Execution sequence, 85 Parameter
Run-time group, 84 Alias, 89
Task, 84 Pseudo comment, 24

SINAMICS/SIMOTION DCC editor description


116 Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0
Index

R Trace, 96
Trend display, 30
References, 3
Typical, 90
Representation of the dynamic value display, 110
Dependencies, 94
Rules for assigning names
Multiple interconnection, 93
Basic chart (SIMOTION), 108
Rules of creation, 91
Block instance (SIMOTION), 108
Chart interface variables (SIMOTION), 108
Execution group (SIMOTION), 108
V
SIMOTION, 108
Subchart (SIMOTION), 108 Value display, 30
Run-time group, 84

S
Set system cycle clock, 85
SIMOTION
Configuration example, 97
SIMOTION SCOUT
Adding a Device, 14
Copy DCC chart, 29
Create a project, 13
Inserting a DCC chart, 14
Know-how Protection, 35
Selecting Technology Packages, 26
SIMOTION trace, 96
Software requirements, 83
Starting procedure
Init, 37
Start-up, 37
Start-up, 37
Startup behavior, 37
Cyclic part, 37
Init, 37
Initialization, 37
Start-up, 37
Subchart, 16

T
Task, 84
Test mode, 30
Laboratory mode, 32
Log on connection, 31
Monitoring, 31
Monitoring cycle, 32
Operating Modes, 32
Process mode, 32
Switching off, 31
Switching on, 30
Trend display, 30
Value display, 30

SINAMICS/SIMOTION DCC editor description


Programming and Operating Manual, 03.2007, 6SL3097-2AN00-0BP0 117

You might also like