De MC Smo Sys en 01 v4 3 1 CNRSZR
De MC Smo Sys en 01 v4 3 1 CNRSZR
com
Siemens AG
DEUTSCHLAND
Industry Sector
90475 NÜRNBERG
Gleiwitzer Str. 555
er
di
nc
.k
el
og
lu
@
Siemens Certified Service Technician Level 1
(inkl. SPS-Techniker entspr. VDMA/ZVEI)
ca
(MC-SMO-SYS)
ne
r.s
SIMOTION System Course
SITRAIN:
ez
er
@
gm
ai
Training for Industry
l.c
siemens.com/sitrain
om
1 SIMOTION – System Overview
om
SITRAIN
Training for Industry 4 Programming with MCC
l.c
5 Axes and Drives in SIMOTION
SIMOTION
System and
ai
Programming Course 6 Programming with LAD/FBD
Name:
11 Exercises
Course from: to:
ne
Course leader:
12 Appendix : Licencinig
Course location:
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.1
SITRAIN Training for
Automation and drive technology
@
Contents Page
Mechatronics and Motion Control – Transformation in Machine Construction ................................... 2
Tasks of a Motion Control System .................................................................................................... 3
er
om
of the speed setpoint via PROFIBUS or
PROFINET
Other tasks
Processing peripheral (I/O) signals
Closed loop control tasks (e.g. closed loop
temperature control, etc.)
l.c
Data processing
Tasks of a drive
Converting the speed setpoint into the actual
I/O speed
ai
Closed-loop speed and current control
of a drive comprises
- Rectifier/inverter
- Motor
SIMOTION
Siemens AG 2013. All rights reserved.
Drives
gm
Date:
File:
- Encoder system
can also be operated independent of an MC
control system
03.01.2013
MC-SMO-SYS_01.3
SITRAIN Training for
Automation and drive technology
@
MC control For SIEMENS control systems, the total motion functionality is split up into the
actual Motion Control system and the drive system.
The MC control has the task of processing the specified (motion) program.
Within the motion program, both positioning commands can be issued to
er
resulting following error, by multiplying with the ieKv factor, a new speed setpoint
(axis velocity) is calculated and transfesrred to the drive.
The speed setpoint can be tra nsferred to the drive system either digitally via
PROFIBUS or PROFINET – or as analog signal (+/- 10 V).
In addition to the actual @motion control functionality, typical PLC functionality
r.s
can also be integrated into the MC system. Just the same as for a SIMATIC
PLC, digital or analog peuripheral (I/O) signals can be read-in, processed and
the results output againl to the peripherals.
The task oof the drive system is to convert the received speed information into
an actual lmotor speed. A speed and current controller are integrated in the drive
ne
what is known as the speed mode. Motion control functionality (basic positioner,
etc.) possibly integrated in the drive system, in this particular case, cannot be
used.
Drive systems can also be operated without a higher-level motion control
system. The speed can be entered, for instance via an analog potentiometer.
om
SIMATIC - automates SIMOTION - the motion SINUMERIK – brings
everything for you and that control system machine tools up to speed.
worldwide.
Specifically for machine Specifically for turning,
Powerful control that can be solutions where there are milling, drilling –
universally used – high demands on the numerical control at its
l.c
functionality can be T-CPU motion control best.
extended by motion control
ai
SINAMICS
MICROMASTER
SIMODRIVE
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Drive technology
Date:
File:
03.01.2013
MC-SMO-SYS_01.4
MASTERDRIVES
SIMATIC SIMATIC is the tried and proven basis automation system for solutions in all
sectors of industrial automation.
It consists of standard hardware and software components and offers a wide
range of possibilities for customized expansions. For SIMATIC S7, motion
ez
SINUMERIK SINUMERIK control systems are specially designed for machine tools, handling
systems and special-purpose machines.
SINUMERIK offers the optimum solution for every task in the machine tool
sector, using CNC control and drives.
ne
SIMOTION In addition to SIMATIC and SINUMERIK, there is also SIMOTION, the motion
control system for applications with complex motion control which integrates
motion control and simple control functionality in one unit.
ca
Technology CPU The technology CPUs 315/317T -2DP and 317TF -2DP (fail-safe control) are
located between the SIMATIC and SIMOTION pillars.
Motion control
Positioning
Synchronous
operation
+ SIMOTION
om
The fusion of:
Technology functions Motion control
Temperature controller Technology functions
Pressure Logic
l.c
controller
Integrated
+ system solutions for
machine construction
ai
Logic functionality
AND, OR
Multipliers
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.5
SITRAIN Training for
Automation and drive technology
@
SIMOTION SIMOTION offers an optimized system platform for automation and drive
solutions with the focus on motion control applications and technological tasks.
This is achieved through the new universal motion control system.
SIMOTION is an integrated motion control system which has been conceived
er
With respect to the hardware, this new approach means that the controller must
be capable of processing motion functions. On the other hand, a drive system
must be able to perform automation tasks.
On the software side, the fusion of automation functions and motion functions
ne
makes for simpler engineering. This starts with the configuration and continues
through parameter assignment and programming.
The integration with SIMATIC brings additional advantages as both systems are
often operated in one installation. The two systems can be configured and
programmed on a standard engineering interface.
ca
om
programming
Different
l.c
Runtime system hardware platforms:
Synchronous operation Controller in the S7 design
Positioning Industrial PC
... Drive
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.6
SITRAIN Training for
Automation and drive technology
@
Overview SIMOTION offers an optimized system platform for automation solutions for
machines where motion control applications and technology tasks are in the
forefront.
The motion control system consists of the engineering system SCOUT, the
er
motion control technology packages and a common runtime system for the
various SIMOTION platforms.
SCOUT engineering The SCOUT engineering system is used for configuring, programming and
ez
system setting parameters; it is the same system for all hardware platforms.
Configuring, programming and setting parameters is either performed by means
of graphics or text.
r.s
Technology Technology packages contain the software functions that are required for
packages automation in a wide range of different sectors. They expand the basic
functionality of the SIMOTION devices to suit individual requirements.
Technology packages can be added according to the machine requirements
(e.g. synchronous operation, cam).
ne
• SIMOTION C - Controller-based
• SIMOTION P - PC-based
• SIMOTION D - Drive-based
SIMOTION Tailored
SIMOTION
user Function SIMOTION
program libraries
application
om
Motion
control Additional DCC User program
technology technology blocks
l.c
Basis function- packages
ality acc. to packages
IEC 61131-3 + Function libraries
SIMOTION kernel
ai
(operating system, I/O handling, communication…) + Technology packages
+ Basis functionality
SIMOTION
Drives
Date:
File:
components
03.01.2013
MC-SMO-SYS_01.7
SITRAIN Training for
Automation and drive technology
@
System architecture The most outstanding feature of the new automation approach is its system
architecture. This forms the basis for ongoing system development. The system
architecture of SIMOTION especially supports concepts – such as
decentralization, different target platforms and distributed intelligence.
er
The software is modular and can be flexibly adapted to the widest range of
requirements.
m
Basis functionality The basis functionality of the device (SIMOTION kernel) includes functions for
ez
open-loop and closed-loop control ase well as logic and arithmetic. Program
execution can be cyclical, time- ori interrupt-triggered.
As a result, the SIMOTION kernesl contains the functions needed for virtually all
applications and corresponds in essence to a PLC with the IEC 1131-3
r.s
command set plus system @functions for controlling various components, such
as inputs and outputs.
The SIMOTION keurnel can be expanded by loading technology packages.
Technology Using additional languagle commands, the technology packages can be
packages accessed in the same wagy as the SIMOTION kernel from the user program.
ne
• Standard functions, for instance PID controllers, driver blocks for special
I/O modules
• Blocks in conformance with PLCopen to control axes (single and
multi-axis blocks)
om
Adder Temperature
Actual value Position- Gearing 2D/3D linear object control
processing controlled interpolation
Camming Controller Controller
Speed traversing Circular
Synchroni- object optimization
setpoint Referen- interpolation
zation/de- Formula
l.c
Output cam cing synchroni- Polynomial object
functions Leading zation interpolation
Fixed gear
Measuring axis Various
function Sensor
input kinematics
ai
License TP "Cam" License
not required required
License License
TP "Path" not required required
SIMOTION
Siemens AG 2013. All rights reserved.
TP "Cam_ext" (extended)
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.8
License
not required "TControl"
The "Cam" technology package provides all object types and system commands
TP "CAM"
to control speed, positioning and synchronous axes.
In addition to the functionality for the indimvidual axes, TP "Cam" contains the
"Measuring input", "Output cam" and "Ceam track" functions (from V3.2 and
ez
smoothed.
• Fixed gear: For "fixed" synchronous relationships between axes with
an adjustable gear factor, however, without specific synchronizing/
desynchronizing strategy.
TP "TControl" The basis of the temperature controller is a DPID controller which has special
e
om
LAD/FBD
Axis configuration
DCC
l.c
CamEdit
ai
commissioning
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_01.9
SITRAIN Training for
Automation and drive technology
@
Engineering system The SCOUT Project navigator is the common framework for all tools of the.
SCOUT engineering system. This workbench is also the navigation center for the
individual engineering steps. It is used to create and manage SIMOTION
projects and provides a uniform and integrated view of all data and programs.
er
The essential new feature is the graphic programming of the motion sequence
using Motion Control Chart (MCC). From SCOUT V4.1, there is also the optional
DCC programming language (Drive Control mChart) to create continuous,
closed-loop control related circuit diagrams to control drives.
ez
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.10
SITRAIN Training for
Automation and drive technology
@
Overview SIEMENS offers a range of task-oriented programming languages for
SIMOTION that allow the user to focus on the actual task at hand. SIMOTION's
modular design makes it possible to create modular blocks in different
languages according to the individual task requirements.
er
MCC MCC is a graphic language for creating operational sequences. In particular, this
language offers entry-level users support for quick and transparent creation of
sequential program sequences in MotionTasks.
ez
Any additional ST code can be integrated in the MMC program via the "ST
Zoom" command.
LAD/FBD These programming languages are unparalleled for programming binary signal
r.s
gating. In addition to the wide range of options in the area of binary signal gating
(edge evaluation, flip-flops, etc.), it integrates many other function such as IEC-
compliant counter and timer blocks.
Almost all system functions can be directly called and tested in a network.
ne
process sequences.
DCC The Drive Control Chart (DCC) option is a modular, scalable programming
language based on the STEP 7 package CFC (Continuous Function Chart), to
develop continuous open-loop or closed-loop control solutions for controlling
drives.
om
• MCC contains graphic commands for:
• Axis movements
• Processing I/O signals
• Control structures for branches and
repeat operations
l.c
• Comparable with S7 Graph from STEP 7
Advantages of MCC
• Motion sequences can be simply and
ai
transparently generated
• Even entry-level programmers can attain
results quickly
SIMOTION
Siemens AG 2013. All rights reserved.
gm
• In addition to the fast generation, MCC also provides support
Date:
File:
03.01.2013
MC-SMO-SYS_01.11
SITRAIN Training for
Automation and drive technology
@
Properties MCC is a new graphic programming language, designed to significantly simplify
of MCC the automation of production machines.
Many production machines are very complex. They require a control system
(SIMOTION) that is capable of handling motion control and technologies with a
er
with all of the descriptive symbols you will need to define your automation task
quickly and efficiently.
In addition, MCC offers many ways to structure large automation tasks.
Using MCC, programs, function blocks and functions can be generated in
r.s
Advantages of MCC As a graphic programming language, MCC helps you to formulate process and
motion sequences easily by creating a sequence of graphic MCC commands.
The characteristics of every MCC command can be parameterized individually.
ne
om
• Motion control functionality can be best integrated
using the function block from the PLCOpen
library
• Identical to SIMATIC LAD/FBD
l.c
Advantages:
• Binary logic operations can be simply formulated,
for instance, interlocking conditions
ai
• Easy to understand and program
• Simple testing and commissioning of programs
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.12
SITRAIN Training for
Automation and drive technology
@
LAD LAD stands for ladder diagram. LAD is a graphic programming language. The
syntax for the instructions is similar to a circuit diagram. LAD enables simple
tracking of the signal flow between conductor rails via inputs, outputs and
operations.
er
FBD FBD stands for function block diagram. FBD is a graphics-based programming
language that uses the same type of boxes used in boolean algebra to represent
logic (compatible to IEC 61131-3). In addition, complex functions (e.g. mathe-
matical functions) can be represented directly in conjunction with the logic
boxes.
ne
Just like LAD, FBD provides all of the elements that are required for creating
PLC tasks.
Advantages and The programming languages are admirably suited to implement open-loop
limits control tasks using binary operands; for instance, interlocking conditions.
ca
Programming closed-loop control tasks with analog variables, for instance the
speed of a drive or the temperature of a heating boiler etc. is a tedious
procedure in LAD/FBD networks.
DCC is an expansion to process analog variables. Using the DCC editor, analog
variables can be processed and interconnected in a similar way to binary
variables in LAD/FBD.
However, having said this, LAD/FBD is especially useful as many service
personnel feel very comfortable with LAD/FBD programming.
om
high-level language, such as operators,
expressions, control instructions, etc.
• Motion control functionality is integrated
by means of system functions and
function blocks
l.c
• Identical to SIMATIC S7 SCL
Advantages:
• Formulation and creation of blocks with
ai
complex algorithms:
• Closed-loop control tasks
• Data processing tasks
SIMOTION
•
•
Process optimization
Mathematical/statistical evaluation
om
• Interconnections are possible:
- to I/Os of other blocks
- between I/Os of the I/O list
- also to I/Os of blocks in
other charts
• Sources and targets are managed in
l.c
the sheet bar
• Can be used in SIMOTION and
SINAMICS
ai
Advantages
• Well-established programming tool for
motion control tasks!
• Fast generation, testing and
commissioning
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.14
SITRAIN Training for
Automation and drive technology
@
Overview, DCC DCC (Drive Control Chart) offers a modular, scalable technology option, which
has chiefly been developed for drive-related, continuous open-loop and closed-
loop control tasks. The DCC technology option for SIMOTION controllers and
SINAMICS drives can be configured graphically using the Drive Control Chart
er
drive parameters.
Procedure When a new chart is created, the block types are first taken from the device-
specific block library and inserted in the DCC editor's block manager.
ne
Using the DCC Editor, charts are subsequently created, in which blocks are
inserted from the library, parameterized and interconnected. The charts are then
compiled and an intermediate code generated; this is then loaded into the
SIMOTION and/or the drive unit using SCOUT /STARTER.
ca
Advantage DCC can be used from very simple up to extremely complex applications.
Communication between the blocks can be configured in a user-friendly fashion
using a straightforward interconnection system. It is not necessary to manually
handle and manage the machine resources.
Comprehensive test tools with simple display, diagnostics and trace functions
ensure fast testing and in turn fast commissioning of the user program.
om
1 x Ethernet (100 MBit/s)
l.c
Embedded Standard 2009
• Processor: Intel Pentium 2 GHz /
Intel Core2 Solo 1.2 GHz,
ai
• Memory: 2 GB RAM, 40 GB HD /
2 GB RAM, 4 GB CF card
• Drive link: PROFIBUS-DP or PROFINET /
• Interfaces
SIMOTION
Siemens AG 2013. All rights reserved.
3 x PROFINET
gm
1 x COM, 4 USB, 2 x Ethernet /
1 x Ethernet, 4 x USB
Date:
File:
03.01.2013
MC-SMO-SYS_01.15
SITRAIN Training for
Automation and drive technology
@
What is The C2xx is a motion control module for controlling servo drives via
SIMOTION C? PROFIBUS DP (PROFINET for C240 PN) and four onboard drive interfaces
(only C230-2 and C240).
The SIMOTION C is a powerful module for the independent single-axis
er
positioning or for axis group motions. It supports operation of both rotary and
linear axes.
The engineering system is used for the configuration, parameterization,
commissioning, programming and diagnostics of the SIMOTION C.
ez
What is SIMOTION P is a PC-based motion control system. Control, motion control and
SIMOTION P? HMI functions run concurrently on this PC.
For the P350-3, the drive coupling and the connection of distributed I/Os can be
r.s
om
• Drive link Three PROFIBUS master systems:
one internal, two external
• Interfaces: 2 x PROFIBUS DP Antriebs-
2 x Ethernet (100 MBit/s) Steuerung
3 x PROFINET (only Dx45-2 PN/DP)
l.c
SIMOTION D410/410-2
• Comprises two systems:
• Processor for motion control
ai
• Processor for drive control D4x5/-2
• Design SINAMICS drive system
• Drive link Two PROFIBUS master systems:
• Interfaces :
SIMOTION
one internal, one external
1 x PROFIBUS-DP
or 1 x PROFINET
performance for motion control tasks are required in combination with high-
speed I/Os. SIMOTION D is offered in the performance variants: D425/-2 (low-
end performance range), D435/-2 (medmium performance range), D445/-2
(high-end performance range) and D455-2 (top performance range).
ez
om
Shared communication:
PROFIBUS, PROFINET, Ethernet
T-CPU
l.c
C230-2/C240
P350-3/P320
D4xx
ai
Shared use of
distributed I/Os and
SIMOTION
drives via PROFIBUS
and PROFINET
PROFINET PROFINET is the innovative and open Industrial Ethernet standard (IEC 61158)
k
for industrial automation. With PROFINET, devices can be linked up from the
field level through to the management/supervisory level.
With PROFINET, drives can be controlled isochronously via a network and
communication that is not critical from a time perspective (e.g. TCP/IP) can be
established between automation components.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_01.18
SITRAIN Training for
Automation and drive technology
@
SIMOTION The SIMOTION printed documentation consists of individual documentation
documentation packages included in more than 50 SIMOTION documents and other documents
(e.g. SINAMICS).
The documentation packages are organized according to their functionality and
er
CamTool .
• 2_Description_of_system_and functioni : describes the technical
operational sequences for the SIMOTIO sN system and explains the technology
objects.
• 3_Programming: describes the three programming languages
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Elements of the SCOUT Workbench ................................................................................................ 3
Principle Procedure when Configuring .............................................................................................. 4
Design of the SIMOTION D Training Case ........................................................................................ 5
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.2
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Selecting and "Wiring" a Power Unit ................................................................................................. 30
Selecting Motor, Encoder and PROFIBUS Message Frame .............................................................. 31
er
Menu bar
Toolbars
om
Work area
Project navigator
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Detail view
Date:
File:
03.01.2013
MC-SMO-SYS_02.3
SITRAIN Training for
Automation and Drive Technology
@
SIMOTION SCOUT SIMOTION SCOUT is the engineering system for the SIMOTION motion control
system – and supports users when configuring, parameterizing, programming,
testing and troubleshooting (diagnostics) SIMOTION applications. The
workbench is the outer framework of SIMOTION SCOUT in which all of the
er
Toolbars Frequently used menu commands are also available in selectable toolbars, thus
allowing quick access to the associated functions. The toolbars can be dragged
r.s
Project Navigator The project navigator provides an overview of all the objects contained in the
project. All defined elements (devices, axes, drives, etc.) are displayed in a tree
structure.
ne
After selecting an element, the detail view displays additional information about
the selected element.
Work area The job-specific windows are displayed here. The actual tasks are performed in
ca
Detail view Further information about the object selected in the project navigator is
displayed in the detail view (e.g. program variables, system variables for a
technology object, logs when source code is compiled).
om
Configure the SINAMICS Drives
l.c
Configure and parameterize SIMOTION TO (axes)
ai
Compile, load and test the SIMOTION configuration
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Create, load and test the SIMOTION user program
Date:
File:
03.01.2013
MC-SMO-SYS_02.4
SITRAIN Training for
Automation and Drive Technology
@
Fundamental In order that the machine can perform the required tasks, in SIMOTION
steps SCOUT, the following steps must be executed one after the other:
• Create a project:
The project is the starting point, under which all of the relevant data are saved.
er
All project data must then be compiled and loaded to the target system. After
this, the communication between SIMOTION and the drive system can be tested
using the axis control panel.
• Create user programs
Depending on the task to be solved, the user program can be created, loaded
ca
New project
om
Project name
l.c
Archive location
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.6
SITRAIN Training for
Automation and Drive Technology
@
New Project The project is the highest level in the data management hierarchy. SIMOTION
SCOUT saves all data which belongs, for example, to a production machine, in
the project directory. The project therefore consists of the sum of all data,
programs, settings, etc.
er
To start your work, you need to create a new project in SIMOTION SCOUT.
1. Open the SIMOTION Workbench from the eStart menu on the
Windows desktop: Start -> Simatic -> STEP 7 -> SIMOTION SCOUT.
ez
project.
4. Click "OK" to confirm the@ data that you have entered.
A new project is created with the name you have chosen.
Notes SIMOTION SCOUluT creates a directory with the selected name. All files
ne
om
3. Select: Version "V4.3"
1. Double-click 2. Select: "D425-2 DP/PN"
l.c
"Insert new
device"
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.7
SITRAIN Training for
Automation and Drive Technology
@
Inserting a The following sections describe how to create the structure of the existing
SIMOTION device hardware in SIMOTION SCOUT. You need to check that the structure
corresponds to the existing hardware (type, designation, addresses Etc.).
1. Select the Insert -> Hardware menu command or double-click on the
er
element "Create new device" in the project navigator. The "Insert SIMOTION
Device" dialog box is opened.
2. Select the SIMOTION device you want to insert in your project from the
selection list in the dialog box. For thme training unit, the controller SIMOTION
ez
IP address: 192.168.0.1
Subnet mask: 255.255.255.0
Ethernet_PN
om
Ethernet PNxIO (X150)
l.c
Create new
Ethernet subnet
ai
"TCP/IP -> Intel(R) 82574L Gigab.."
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.8
SITRAIN Training for
Automation and Drive Technology
@
Continued 5. In the next step the properties of the integrated PROFINET interface PNxIO
(X150) are configured.
In the entry fields "IP address" and "Subnet mask" enter the following
addresses:
er
- 192.168.0.1
- 255.255.255.0
6. Click on the "New" button in order to create a new Ethernet subnet with
ez
the "Ethernet_PN" name. Ensure that the interface PNxIO is networked with
the new Ethernet network object.
7. Acknowledge all entries with the "OK" buttons.
8. At the end, a dialog is opened to select the interface for the PG access to
r.s
is displayed.
Double-click
D425-2
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.9
SITRAIN Training for
Automation and Drive Technology
@
HW Config The SIMATIC station contains the rack and the selected SIMOTION device
D425-2 DP/PN.
Double-click on the entry with the device name "D425" and change in the
opened dialog the name into "D425-2".
er
In the next sotep, additional nodes can be inserted at the master and/or IO
systemsl that have already been created. Further, additional master systems
can be created and configured at the other PROFIBUS interfaces. To do this,
select the desired PROFIBUS interface in the "HW Config" and choose the
command "Insert Master System" from context menu.
ca
To open the "HW Config" from SCOUT for a station that has already been
configured, simply double-click in the project navigator on the desired
Open configured SIMOTION device. This step is necessary if you want to add or to reconfigure
station hardware components.
Tab
"Isochronous Operation"
om
2 ms
l.c
Double-click on
"SINAMICS_Integrated"
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
The clock rate can be set
using the factor
03.01.2013
MC-SMO-SYS_02.10
SITRAIN Training for
Automation and Drive Technology
@
Isochronous Generally, under this tab the clock synchronization of the drive is configured for
Operation tab equidistant PROFIBUS. Generally, for PROFIBUS_Integrated, the selection
"Equidistant bus cycle activated" is the default setting, that could not be
changed.
er
Only the transfer rate, i.e. the DP cycle time and the settings for Ti and To can
be set under this tab using the corresponding factor. The default setting for the
DP cycle time is 4 ms. For the training equipment, this setting can be set to
2 ms.
ez
The following list provides an overiview of the shortest possible DP cycle times:
DP cycle time • SIMOTION C230-2: 1,5 ms s
• SIMOTION C240: 1,0 ms
r.s
• SIMOTION
D4x5
• SIMOTIONg
D410:
The acltual shortest possible cycle time that can be achieved for an external
ne
om
PROFINET name:
"PNxIO" for D425-2
l.c
replacement without
exchangeable medium"
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.11
SITRAIN Training for
Automation and Drive Technology
@
Defining the For communication via PROFINET in the case of SIMOTION controls the name
device name of the bus interface is relevant and not the name of the controller. This is the
reason that the PROFINET interface PNxIO in the SIMOTION D425-2 control
must be allocated a unique name on the corresponding PROFINET subnet..
er
The device names must always conform to the DNS conventions, i.e.
- Restricted to a total of 127 characters (letters, numbers, hyphen or
period)
- Name components within the device name, e.g. a string between two
r.s
- The device name must not begin or end with the "-" character.
2. If required, deactivate the checkboxes "Use different method to obtain device
name" and "Support device replacement without exchangeable medium".
3. Press the "OK" button to confirm the dialog.
ca
Note When downloading HW Config into the SIMOTION D425-2 control, with "Copy
RAM to ROM" the device name and the IP address of the D425-2 are saved to
the CF card so that they cannot be lost with power off.
The device name and the IP address can also be loaded using the "Edit
Ethernet node" tool. In this case, the data are only stored in the RAM and are
not saved on the CF card (also not with CopyRAM2ROM).
om
Check the device name:
"IM151-3PN"
l.c
Insert module
PROFINET IO -> I/O ->
ET200S -> IM151-3 PN STV5.0
ai
6ES7 151 3AA22 0AB0
SIMOTION
Siemens AG 2013. All rights reserved.
192.168.0.2
gm
Define the IP address:
Date:
File:
03.01.2013
MC-SMO-SYS_02.12
SITRAIN Training for
Automation and Drive Technology
@
Insert ET200S In this step, an ET200S with a total of 16DI and 16DO is inserted at the D425-2
head-end station PROFINET system. Our filling line will be subsequently operated via the inputs
of the ET200S.
1. To start, from the HW catalog, insert the ET 200 S head-end station
er
- Device number: 1
Note After a HW Config download of the controller, the controller attempts to address
the associated device under this name. Using the "Edit Ethernet node" tool It is
possible to check which name is actually saved on the device. With the "Edit
ne
Ethernet node" tool It is also possible to transfer a new name to the device.
The "Edit Ethernet node" can be called from "HW Config" or "NetPro" using the
menu command: Target system -> Ethernet -> Edit Ethernet node.
ca
Addressing using:
IO controller IO device
MAC address
Identify
IP address
Check name
om
Logical device name
y R ES
DCP M Identif
The system powers up Timeout
l.c
Replacing components without
a new configuration requires ARP
a logical device names Timeout DCPSe
t R EQ
ai
Set IP S
et RE
DCPS
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.13
SITRAIN Training for
Automation and Drive Technology
@
MAC address The MAC address is unique worldwide and is permanently associated with the
device itself.
IP address Is defined during the configuration and is either allocated by the IO controller
er
Logical In the configuration phase, each PN device (identified using the MAC address)
device name must be allocated a unique device name in the configuration tool. (In HW Config
ez
menu item: Target system -> Ethernet -> Edit Ethernet node...).
The device name is retentively saved in the particular device (what is known as
the node initialization). In case of a SIMOTION D controller, the PROFINET
name is determined by the name of the connected PROFINET interface.
r.s
Powering up When powering up, the IO controller queries the logical device name defined
during configuring via DCP (Discovery and Configuration Protocol). If an IO
device identifies its logical device name, it responds to the IO controller query
and transfers its MAC address.
ne
If an IP address is not saved in the device, then the IO controller allocates the IO
device the configured IP address. Whether the IP address is allocated by the
controller when powering up, or is saved in the device, is configured in HW
Config (property dialog of the device, checkbox: "Assign the IP address by the
IO controller“).
ca
If the logical device name configured in HW Config is not identical with the
actual device name which is stored on the device, then powering-up will fail and
no communication between the IO controller and the IO device will be
established.
Device replacement If a device is replaced, e.g. because of a defect, the new device has another
MAC address. If it is initialized with the same device name as the replaced
device (e.g. by inserting the Compact Flash card, which stores the device name
retentively), it can take over the function of the replaced device without any
changes in the configuration.
SITRAIN Training for MC-SMO-SYS
Automation and Drive Technology Page 13 Creating a SIMOTION D project
Equipping a ET200S Module with Boards
om
1. Select
3. Pack the
l.c
addresses
2. Insert modules
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.14
SITRAIN Training for
Automation and Drive Technology
@
Inserting
modules 3. Then locate the following modules in the "rack" of the ET200S:
- Slot 1: Power module PM-E DC24V (6ES7 138-4CA01 0AA0)
er
4. Using the "Pack addresses" button, set the address range, so that the two
input modules at slots 2 and 3 occupy PIB0, the modules at slots 4 and 5,
occupy PIB1.
Initially, set the start address of the module at slot 2 to "0", then select the
ne
module and slot 2 and slot 3 and click on the "Pack addresses" button.
Finally, also set the address area of the output modules at slots 6 and 7 to
PQB4 and the modules at slots 8 and 9 to PQB5.
ca
1. Double-click on the
IO system
om
2. Send clock: 2 ms
l.c
The update time is
automatically calculated (2 ms)
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.15
SITRAIN Training for
Automation and Drive Technology
@
Send clock The send clock is the shortest possible time between two consecutive cycles of
the PN communication. The send clock also defines the shortest possible
update time, i.e. the interval in which a PROFINET device is supplied with new
data.
er
clocks can be set in the properties dialog of the PROFINET IO system (double-
click on the IO system) or in the properties dialog of the PNxIO interface
(double-click on the PNxIO entry), "PROFINET" tab.
If there is at least one synchronized PROFINET device in the IO system, then
r.s
the send clock must be set in the Sync Domain dialog (menu command: Edit ->
PROFINET IO -> Domain Management).
The send clock can then no longer be changed in the properties dialog of the
PROFINET IO system.
ne
Update The update time defines the time within which a PROFINET IO device
times exchanges its user data with the associated IO controller. The update time is
always a multiple of the send clock.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.16
SITRAIN Training for
Automation and Drive Technology
@
Access points From SIMOTION V4.2, the two following access points are available for
establishing the connection between the PG and the target system SIMOTION
RT (runtime) and SINAMICS_Integrated:
• S7ONLINE
er
• DEVICE
In SIMOTION SCOUT, under the menu item: Target system -> Select target
devices you can define which access point should be used for online access.
ez
"S7ONLINE" is the default setting. This means that all access operations,
including the routing to the target system, are handled via the "active (yellow)
connection" configured in NetPro.
Network view The configured subnets and stations of a SIMOTION SCOUT or STEP 7 project
r.s
of a project are displayed in the "NetPro" tool. "NetPro" can be launched either from
SIMOTION SCOUT via the associated button in the toolbar or via the menu
command: Project -> Open NetPro or from the HW Config via Options ->
Configure network.
ne
in yellow. This setting generates the routing information and stores it in the
SIMOTION D device (e.g. from HW Config) at download.
This routing information makes it possible in the first place to access the
SIMOTION D device (router) from the PG/PC via the Ethernet subnet
"Ethernet_PN" – and from there, access SINAMICS_Integrated via
"PROFIBUS_Integrated". If this routing information is not downloaded to the
SIMOTION device, it is not possible to access SINAMICS_Integrated later from
the SIMOTION SCOUT.
IP Adr.: 192.168.0.1
om
IP address: 192.168.0.10
l.c
Subnet mask: 255.0.0.0
Class B:
ai
Subnet mask: 255.255.0.0
Class C:
SIMOTION
110 21 bits network
Date:
File:
192
03.01.2013
MC-SMO-SYS_02.17
to 223 2097152 254
With the dot notation, each IP address is expressed by four decimal numbers
between 0 and 255, separated by dots.
IP addresses have two parts: the network ID and the host ID. The network ID
ez
specifies the subnet to which the host is connected; the host ID specifies the
address of the access point for the host.
IP Classes The subdivision of an IP address into a subnet and host breaks the IP network
down into a large collection of interconnected subnets with the different sizes.
r.s
5 classes were originally defined, however only the following classes are used:
A, B and C.
Subnet mask A subnet mask is a filter used to identify all systems connected to the same
physical network section.
ne
Note If send and receive stations are connected to the same network, or connected
directly by a crossed Ethernet cable, the network ID of both IP addresses must
match.
2. Properties
"LAN connection"
om
192.168.0.10
255.255.255.0
l.c
ai
3. Select the Internet 6. Enter the IP address
4. Select and subnet mask
protocol (TCP/IP) properties
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.18
SITRAIN Training for
Automation and Drive Technology
@
Setting the IP The IP address is set at the PG using the Control Panel in Windows.
address at the PG 1. From the Windows Start menu, select:
Start -> Settings -> Network connection
er
field PG M3.
Note: In the status of the network connection, the "Connection established"
message shows at which of the two Ethernet interfaces the Ethernet cable is
connected.
r.s
3. In the "LAN connection properties" dialog box, select the item "Internet
protocol (TCP/IP)" and click on the "Properties" button.
The Internet protocol (TCP/IP) properties dialog box is opened.
4. Select the option "Use the following IP address".
ne
5. Enter the desired IP address and associated subnet mask. In our case:
IP address: 192.168.0.10
Subnet mask: 255.255.255.0.
6. Confirm all open dialog boxes with "OK".
ca
1. Double-click
om
l.c
2. Select and
Properties
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.19
SITRAIN Training for
Automation and Drive Technology
@
Starting point The screenshot above shows the previous starting point in "NetPro", which has
been obtained by creating the project. A PC/PG has already been inserted in
"NetPro", that is not coupled via any interface to the D425-2. As a consequence,
no routing information has been created.
er
Ethernet integration If the access option is to be extended to Ethernet, then initially the Ethernet
interface must be adapted in the PG.
1. First, double-click on the PG in "NetPro" to open the dialog box
ez
"Properties - PG/PC".
2. In the properties dialog that opens, select the "Interfaces" tab and click
on the "Properties" button.
The "Properties - PG/PC" dialog opens.
r.s
ne
ca
3. Deactivate the
"Set MAC address"
om
under Windows)
l.c
5. Check the connection with
ai
the "Ethernet_PN" subnet
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.20
SITRAIN Training for
Automation and Drive Technology
@
Continued 3. In the "Properties - Ethernet Interface" dialog box, uncheck the option "Set
MAC address".
4. In the input fields "IP address" and "Subnet mask" enter the same IP address
and subnet mask as you entered under the Windows control panel.
er
The newly created Ethernet interface is now listed under the "Interfaces"
tab.
r.s
ne
ca
om
+ download
l.c
7. If required, activate
the S7 online access
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.21
SITRAIN Training for
Automation and Drive Technology
@
Continued 6. An Ethernet interface that has been created must always be assigned
an interface driver of the PG. To do this, in the "Properties - PG/PC" dialog
select the "Assignment" tab.
In this dialog box, all the connections created are listed in the "Configured
er
interfaces" list. In the "Interface parameterizations in the PG/PC" list, you will
find the interface drivers installed in the PG.
In the listbox "Configured interfaces", select the entry "Ethernet interface".
Then, in the "Interface parameter assignments in the PG/PC" list, select the
ez
following entry:
"TCP/IP -> Intel(R) 82574L Gigabit Network Connection" for field PG M3.
Click on the "Assign" button. The assigned interface is displayed in the
"Assigned" list field.
r.s
7. If required, for the assignment, check the "S7 online access active" checkbox
and confirm the dialog by clicking "OK". The "active" PG is then displayed in
"NetPro" using a yellow connection to the configured Ethernet subnet.
8. Select the "Save and compile", button, select the SIMOTION device and then
load the configuration data using the menu command Target system-> Load
ne
Browse
Assign
om
IP configuration
l.c
Assign
PROFINET
device names
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.22
SITRAIN Training for
Automation and Drive Technology
@
Edit Ethernet From NetPro or HW Config, using the menu command: Target system ->
node Ethernet -> Edit Ethernet node tool can be opened.
Using this tool, a module (e.g. SIMOTION controller) can be assigned an IP
address and subnet mask. The module can then be accessed via the IP address
er
set here, for example to load configuring data or call diagnostics information.
If a device is operated as PROFINET IO device (e.g. ET200S), then the
PROFINET device name must be assigned here.
ez
Assign IP address 1. Initially, use the "Browse”, button to determine the MAC addresses
and names IP addresses and device names of the devices that can be accessed.
2. In the dialog that is then opened after browsing the network, select the
required module from the list.
r.s
3. Set the required IP configuration. The DHCP server option is presently not
supported by SIMOTION.
4. Press the "Assign IP configuration” button.
5. Enter the required device name and press the "Assign name" button.
ne
6. Then check whether your action has been successful using the "Browse"
button.
om
and SINAMICS
l.c
• SINAMICS Integrated
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.23
SITRAIN Training for
Automation and Drive Technology
@
Project in After saving the hardware configuration the updated project (if req. View ->
SIMOTION SCOUT Update or F5) with the inserted SIMOTION device is displayed in the SIMOTION
SCOUT project navigator.
In this particular example, the SIMOTION D425-2 device is displayed. Empty
er
folders for programs and technology objects (axes, external encoders and
cams) as well as the execution system and I/O objects are located under the
SIMOTION device D425-2.
The integrated drive system is allocated the SINAMICS_Integrated name.
ez
This directory contains other objects, such as the Control Unit or topology entry
(i.e. the connections via DRIVE- CLiQ).
Separate icons are displayed in the menu bar for SINAMICS which makes it
simple and quick to work with the drive objects.
r.s
ne
ca
om
Option module TB30
l.c
Select:
ai
SINAMICS_Integrated ->
Configure drive unit
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.24
SITRAIN Training for
Automation and Drive Technology
@
Drive In the configuration you determine which drive components are available, how
configuration they are interconnected and which values are to be assigned to the parameters
for the individual objects. The drives can be configured offline via
parameterization dialog boxes. They can also be configured online by having the
control unit detect the modules connected via DRIVE- CLiQ and setting standard
er
parameters.
With offline parameterization, you select the individual modules, assign standard
data and link them via DRIVE- CLiQ. This configuration is downloaded to the
drive system. The data is first stored in the RAM of the drive system and then
transferred to the CF card via the funcetion "Copy RAM to ROM".
ez
exchange
• Define the topollogy
If the menu itegm "Configure drive unit“ is selected, then the operator is guided
through diofferent parameter screens to define his drive configuration.
ne
In the firest step the option module is selected, which is inserted in the option
slot of the D425-2.
In our case, the board TB30 is inserted into the option slot. This board is
physically connected to the SINAMICS part of the SIMOTION D module. It
Select:
provides digital and analog inputs and outputs which could be "wired" in the
option board
SINAMICS configuration screens using the so-called BICO techniques.
ca
om
l.c
Select:
Infeed without DRIVE-CLiQ
interface
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.25
SITRAIN Training for
Automation and Drive Technology
@
Select: Infeed In the second step, you must define the type of infeed (Line Module).
There are three types of infeed modules for SINAMICS:
• Active Line Module (regulated line-commutated infeed/regenerative
feedback unit)
er
message frame, the infeed module can be switched on from the SIMOTION
user program. Further, the status informa@tion of the infeed module can be
evaluated and possible faults acknowledged.
In the SIMOTION use r program, the function block "alm_control[FB]" from the
system library: Drives -> SINAMICS can be used for these functions.
ne
ca
Insert drive
Drive properties:
Servo/vector control
"Drive_red"
om
Control structure
l.c
Servo
ai
Speed control with
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.26
encoder
• Servo control
• Vector control
Typically for motion control application, wmhere the focus lays on the exact
ez
control of position and velocity of axes, the selection SERVO is used. In case of
the SERVO, the exact control of the foerce/torque of an axis is of less
importance.
The type VECTOR is in general sused, when the focus lays on the control of
the exact torque (tension, etc.) of the motor. So this is the case with all
r.s
The control structure is used to specify the control mode and the function
modules depending on the operating mode (servo or vector). The activation of
Control structure function modules provides the following additional functions.
• Extended segltpoint channel: An additional setpoint channel for
controllers can be activated here.
ne
Select:
om
Power unit
3A/3A
l.c
Link "Infeed in operation"
to Control Unit r722: Bit16
ai
(DI16)
Note:
Connect the
operation signal
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.27
SITRAIN Training for
Automation and Drive Technology
@
Power unit SINAMICS provides single-axis and double-axis modules (Motor Modules) in
different power ratings.
Select the following power unit in the selection box.
er
• 6SL3120-2TE13-0Axx
Note Once you have selected the power unit, a prompt is displayed to connect the
ready signal of the drive.
ez
Each infeed module signals via some hardware terminal (infeed modules
without DRIVE- CLiQ connections) or via some r- parameter (r863.0 infeed
modules with DRIVE- CLiQ connections) whether the infeed module is "in
operation".
When a infeed module is powered on, the DC link is first charged via the pre-
r.s
charging resistors. The pre-charging resistors will limit the DC link current. Once
pre-charging is completed, the bypass contactor is closed, so the current flows
via the bypass and not via the pre-charging resistors.
"In operation" in this case means, that the infeed module has completely pre-
charged the DC link and that the pre-charging resistors are bypassed. Only in
ne
this case the connected power units are allowed to take energy from the DC
link. As long as the pre-charging resistors are not bypassed, taking energy from
the DC link could result in a destruction (blow up) of the pre-charging resistors.
ca
SLM The SLM in the training case has no DRIVE- CLiQ connections. The "in
operation" signal of the SLM is provided via the 24 Volt terminal "DO Ready"
(X21:1). This signal is physically connected to the DI16 (X122:5) of the D425-2.
Finally the DI16 (r722.16) of the CU is to be linked to p864 of the drive objects.
ALM All infeed modules with DRIVE- CLiQ connections provide the "in operation"
signal via the r863.0. When a drive system with such an infeed module is
configured, the r-parameter 863.0 of the drive object "INFEED is automatically
wired to the p864 of the drive objects of type "SERVO" or "VECTOR".
om
l.c
ai
4. Select the encoder 5. Process data exchange:
and the number of Standard/automatic
SIMOTION
encoders
Motor The motor is configured in the next step. If it is a SIEMENS motor it can be
er
selected from a list of motors. When the motor is selected, the parameters for
the drive object are accordingly preassigned.
You can also select a motor with integrated encoder interface. In this case first
determine on the control side which motor and which encoder are connected at
ez
holding brake
Process data For the D425-2, the speed setpoint for the drive is entered via SIMOTION. In
exchange this case the data are exchanged cyclically via the internal PROFIBUS.
ca
The structure of the data is specified using message frames. The "Standard/
automatic" option can be selected for data exchange between a position axis in
SIMOTION and the associated drive in SINAMICS.
With this selection, message frame 105 is subsequently generated. Further, an
automatic address adaptation and message frame extension are preset (default
setting).
"Drive_blue"
om
l.c
Insert 2nd drive
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.29
SITRAIN Training for
Automation and Drive Technology
@
Additional drives If there are any additional drives or modules, they are integrated in the
SINAMICS one after the other.
The configuring engineer is again guided through the required screen forms.
er
The following settings must be made for the second drive of the training unit:
• Name: "Drive_blue"
• Control structure: Speed control with encoder
• Power unit: Drive_red.power unit
ez
• Infeed in operation: 1
• Power unit connection: X2
• Motor: Select a standard motor from the list
r.s
om
l.c
Link also "Infeed in
operation" to Control Unit
ai
r722: Bit16 (DI16)
Note:
Connect the
"Operation signal"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.30
SITRAIN Training for
Automation and Drive Technology
@
Power section For "Drive_blue" the same power unit (double axes motor module) must be
selected as for "Drive_red". The motor of "Drive_red" is connected to the motor
connector X1, the motor of "Drive_blue" is connected to X2.
The "infeed in operation" signal in p864 of "Drive_blue" must also be connected
er
om
l.c
6. Process data exchange:
Standard/automatic
ai
4. no motor
holding break
SIMOTION
Siemens AG 2013. All rights reserved.
gm
5. Encoder (sin/cos):
1FK7xxx-xxxx-xAxx
Date:
File:
03.01.2013
MC-SMO-SYS_02.31
SITRAIN Training for
Automation and Drive Technology
@
Power section The 2nd motor is to be connected to the same power unit (connector X2) as the
1st motor (X1).
Motor The motor of the 2nd drive object is configured in the next step. The 2nd motor
er
is a standard SIEMENS motor without SMI. In this case the option "Standard
motor from list" is to be selected. In the opened list the entry "1FK7 synchronous
motor" is to be selected and then the motor is identified via iits order number
(1FK7022-xAK7x-xxxx) .
By means of the entries xx.. further properties, like type of connector, etc. can
ez
be selected.
Finally the type of the built-in mo stor encoder is to be selected. This is done by
Encoder the trailing part of the order number. The 2nd motor is fitted with a sin/cos
encoder with 2048 pulses@ per revolution. This encoder is identified by the
r.s
The motor can be ourdered with or without holding brake. The motor in the
With/without training case do not hal ve a motor holding break. Instead a simulation for a
motor holding break is build in for the 2nd motor.
ne
holding brake
The simuolation is activated and deactivated by a toggle switch at the inner side
of the switch block below the blue motor. The holding break simulation is
activated when the switch is in the upper position, it is deactivated when the
switch is in the lower position.
ca
For the 2nd drive also the "Standard/ automatic" option can be selected for data
exchange between a position axis in SIMOTION and the associated drive in
Process data SINAMICS.
exchange With this selection, message frame 105 is subsequently generated. Further, an
automatic address adaptation and message frame extension are preset (default
setting).
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.32
SITRAIN Training for
Automation and Drive Technology
@
Parameter Parameters of drive objects, which were entered using the corresponding
dialogs, are saved in the drive parameter lists. These lists (expert list) can also
be directly opened and the parameters changed there. Some drive parameters
can only be changed using the expert list.
er
Expert list The expert list of a drive object can be opened using the "Expert list" below the
associated drive object. Now, you can easily jump to the required parameter
using the integrated search function.
ez
Training case As the training case is only supplied with 230V, the parameters for monitoring
the device supply voltage must be appropriately reduced.
• p210: Device supply voltage: 345 V
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.33
SITRAIN Training for
Automation and Drive Technology
@
Saving the After configuring the drives, the entire project data can be saved on the
project hard disk by activating the icon "Save and compile project".
er
Establish an online When the icon "Connect to target system" is activated, the PG establishes the
connection connection to SIMOTION.
ez
can be specified. Further, the access point for the connection can be specified.
The following two access points "S7ONLINE" and "DEVICE" are available.
S7ONLINE This selection forms the key for TIA integration. It enables communication to be
established via the system network specified in the project, e.g. via PROFINET/
ne
DEVICE Via this alternative access point, there is a decoupling between the address
configured in HW Config and the address used for the online access.
om
1.Tools - Set PG/PC
interface
- access point: DEVICE
Access point
that is used
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.34
SITRAIN Training for
Automation and Drive Technology
@
PG interface The interface of the PG/PC which is used to establish the connection to the
target device is defined in the "Set PG/PC interface". After selecting the DEVICE
access point, in this dialog, in the list field "Access point of the application" the
interface drivers to be used must be selected in the list field "Interface parameter
er
assignment used".
When accessing via PROFIBUS, this dialog is also used to set the
communication baud rate. When selecting Ethernet communication, i.e. driver:
"TCP/IP – Intel® 82…." the IP address of the PG/PC must be set in the
ez
Target device D425-2 The access path to the device for the access point DEVICE is configured in the
properties dialog of the SIMOTION D425-2. Here, the interface and addresses
to be used to establish the connection are set under the "DEVICE addresses"
r.s
tab. When starting to establish the connection, the PG/PC attempts to contact
the connection partners using these addresses.
These addresses do not necessarily have to match the addresses configured in
HW Config. However, if the PG/PC is locally connected to the D425-2 then in
order to successfully establish a connection, they have to match the actual
ne
interface".
via router
om
1. network transition:
Type: IP
Address: 192.168.0.1
S7 subnet ID
l.c
032d - 0008
Important!
ai
The subnet ID must be determined
from HW Config or via "Accessible
nodes"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.35
SITRAIN Training for
Automation and Drive Technology
@
Target device The configuration of the access route to the SINAMICS_Integrated or to the
SINAMICS_Integr. integrated CX32 modules via the access point DEVICE is realized in the
properties dialog of SINAMICS_Integrated and/or the corresponding CX32
module. SINAMICS_Integrated or the CX32 modules are not directly connected
er
with the PG/PC, but can only be accessed via the D425-2 control using STEP7
routing.
In the properties dialog of SINAMICS_Integrated and/or CX32 modules, this is
the reason that in order to be able to successfully establish a connection via the
ez
access point DEVICE, it is essential that the correct routing settings are entered.
These settings encompass:
target device can be accessed: Here, the PG/PC is told whether the connection
partner is directly (locally) connected or can only be accessed via STEP7
routing).
r.s
Address 1. network router: Here, the type and the correct address of the
interface at the higher-level SIMOTION control system must be entered via
which the PG/PC is connected to the D425-2.
For a connection established via an Ethernet interface of the D425-2, as type: IP
ne
must be entered (not Ethernet, for Ethernet, the MAC address of the interface
would have to be entered). In our particular case, the correct IP address of the
PNxIO is: 192.168.0.1.
Address_target device: The address of the target device comprises the two
following pieces of data.
ca
Subnet ID: Using the subnet ID, the MOTION control system, i.e. the router, is
told at which internal subnet the requested connection partner is connected. The
subnet ID can be determined from the properties dialog of
PROFIBUS_Integrated. The subnet ID must have been downloaded into the
D425-2 controller.
Port and address of the target partner: This information is determined for
SINAMICS_Integrated and the CX32 modules from the configuration in HW
Config (SINAMICS_Integrated: Port: Internal address: 3).
om
uploaded data target device to ROM
l.c
ai
1. Select
SINAMICS_Integrated
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.36
SITRAIN Training for
Automation and Drive Technology
@
Load SINAMICS Once the PG has established a connection to SIMOTION and to
SINAMICS_Integrated, the project data that was created offline can be
downloaded for the SINAMICS drive system:
1. In the project navigator, using the mouse select the
er
SINAMICS_Integrated object.
2. From the toolbar "Load to target system", seelect the button "Load CPU/
drive device to target system", in order to load mthe project data into
SINAMICS_Integrated.
ez
As alternative, the menu commaend: Target device -> Download -> to target
device or the command: Target idevice -> Load to target device can also be
selected from the context menu osf the drive.
In the message that is displa yed, the option "Store additional data on the target
r.s
device" can be selected. Using this option, the sources of MCC-LAD/FBD and ST
prog@rams are also saved on the target device. Using this option it is possible
to completely upload the project from the SIMOTION target system asu well as
make an offline/online project comparison.
In addition, thel "After loading, copy RAM to ROM" option can be selected. This
ne
means that after the download to the target system, the project data are
automatically saved on the CF card in a non-volatile fashion. The successful
download is displayed using a message.
3. If the "After loading, copy RAM to ROM" option is not selected, then the
project data must be manually saved on the CF memory card.
ca
To do this, select the "Copy RAM to ROM" button from the toolbar or use the
command: Target device -> Copy RAM to ROM from the context menu of the
drive.
4. After a download to the target system, SINAMICS_Integrated reads the
information from the electronic motor rating plate and numerous calculations are
performed.
These parameters are transferred into the offline project with a subsequent load
and save operation.
om
l.c
Select:
ai
SINAMICS_Integrated ->
topology
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.37
SITRAIN Training for
Automation and Drive Technology
@
Topology The dialog for the topology comparison defines the connection of the individual
comparison SINAMICS hardware components via the DRIVE- CLiQ interfaces.
Within a SINAMICS drive unit, the individual modules are connected (per
hardware) via DRIVE- CLiQ. The window with the display of the associated
er
(offline topology) and the reference topology (topology on the memory card of
the drive) with the actual topology (actual interconnections). The differences are
highlighted in color.
The reference topology for the project can also be changed here by moving the
r.s
desired drive objects with the mouse to the required DRIVE-CLiQ interfaces.
Further, for faulty components, in the topology window, the actual topology with
component numbers greater than 200 and the associated order numbers are
displayed.
Correctly identified components in the actual topology are displayed with the
associated drive objects and with the same component numbers as in the
ca
reference topology.
In the alarm window the SINAMICS_Integrated must have the status "OK". Error
messages concerning the SIMOTION D425-2 can be ignored. They will
disappear, when the SIMOTION D425-2 with all the TO axes is correctly
configured.
1. Switch SIMOTION
to STOP
om
2. Open control panel,
acknowledge alarms/interrupts
l.c
7. Start motion
ai
4. Assume control priority
5. Enables
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.38
SITRAIN Training for
Automation and Drive Technology
@
Control panel The SINAMICS_Integrated drives can be controlled via the integrated control
panel of the "STARTER" tool; this therefore allows the function of the drive
parameter assignment to be tested.
er
2. In the "Operating state" window, seet the D425-2 into the STOP
state. Acknowledge all alarms by clickiing the acknowledge button in the
alarm window.
r.s
6. Entelr an appropriate value (e.g. 100) for the speed setpoint "n".
Establish an
offline view
Double-click
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.39
SITRAIN Training for
Automation and Drive Technology
@
Insert TO axes A wizard guides you through the basic configuration of technology objects (TO).
This ensures that all of the necessary steps are run through. The configuration is
then completed in the configuration window of SIMOTION SCOUT.
1. Open the AXES folder below the SIMOTION device.
er
2. Either select the menu command: Insert -> Technology object -> Axis or
double-click on the icon "Insert axis". The "Insert axis" dialog is opened to
enter the name and to select the technology.
ez
Axis technology • Speed control: The speed is specified for the axis. In SIMOTION, there is no
monitoring or closed-loop control of the position or the speed.
• Positioning: The target position of the axis can be specified in the motion
commands. SIMOTION controls and monitors the axis position during a
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.40
SITRAIN Training for
Automation and Drive Technology
@
Define axis type SIMOTION provides various axis types. These axis types differentiate between
the axis mechanics being used and adapt the units of the axis variables
accordingly.
• Linear axes: Linear axes have a linear traversing range. The position
er
Mode SIMOTION provides the following modes for electrical and hydraulic axes:
• Standard: Axis without pressure control and without force control
• Standard + pressure: Axis with pressure control
ca
om
l.c
Configure units
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.41
SITRAIN Training for
Automation and Drive Technology
@
Units, SIMOTION supports physical variables such as position, speed, acceleration
accuracies and time. The units are set when the axis is configured. In addition to metric
units (e.g. mm, etc.) non-metric units (e.g. inches etc.) can be set.
If "linear" is selected as axis type, then when configuring and programming the
er
external encoder, only units with the "length" dimension are of significance, for
example, position, velocity, acceleration, etc.
If "rotary" is selected as axis type, then when configuring and programming the
external encoder, only units with the "angle" dimension are of significance, for
ez
motion commands) are not converted to the new units when the unit settings are
changed.
The minimum guaranteed control accuracy is one increment. This is then used
to derive the other minimum guaranteed control accuracy levels, e.g. one
increment/clock cycle. These accuracy levels are normally higher due to
ne
floating-point calculations.
ca
om
l.c
Message could be ignored
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.42
SITRAIN Training for
Automation and Drive Technology
@
Drive assignment The actuator of a SIMOTION axis TO can be interconnected with a drive object
(e.g. DO "drive_red") of a drive unit.
All drive DOs configured in SIMOTION SCOUT or HW Config are displayed in
the "Assignment partner" column. The assignment column indicates whether a
er
drive.
The interconnection of the actuatori of an axis with the drive can initially be
left open, i.e. the assignment can be ssubsequently made An existing
assignment can also be canceled again.
r.s
• Linearo motor
Note When eyou click on the "Next" button a message is popped up displaying that
the maximum torque of the red drive is to high. This error message can be
ignored.
ca
When you create a new project the automatic adoption of reference values is
the default pre-selection. With this selection the correct values for all quantities,
like the maximum torque, etc. are correctly adapted after the download of the
configuration data.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.43
SITRAIN Training for
Automation and Drive Technology
@
Encoder assignment With real axes the encoder assignment has to be done separately. This
assignment is independent of the assignment that was made for the actuator
interface.
The encoder resolution is set during the runtime (dynamic adaptation).
er
• Absolute encoder: the total overflows of the absolute actual value, i.e.
overflows of the multiturn informaetion are not saved when SIMOTION is
switched off.
• Absolute encoder absolute cysclic; with this setting, when switching
off, the overflows of the multiturn i nformation are stored in the retentive
r.s
memory area of SIMOTION. The next time SIMOTION is switched on, this
information is taken in@to account for calculating the actual position value.
This setting must be made when the absolute encoder with its multiturn
resolution doesu not cover the complete traversing range of the axis.
ne
Automatic Using automatic adaptation, from V4.2 SP1, the relevant drive data (drive and
adaptation encoder data, as well as reference variables, maximum variables, torque limits,
and the selectivity associated with torque reduction of the SINAMICS S120 from
v2.6.2) are transferred into the TO configuration after download and do not have
to be manually set.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.44
SITRAIN Training for
Automation and Drive Technology
@
Finish When the configuration has been completed, a dialog is displayed with list of all
of the settings for the TO axis.
1. Check the listed parameters.
er
• Preassigned value
• Limits
• Actual value
ne
• Closed-loop control
• Homing
• Monitoring functions
• Profile
ca
• Control panel
• Interconnections
• Signal flow
Double-click on the desired entry to open the corresponding window in the work
area of the SIMOTION SCOUT. In this window you can make additional settings
for the axis object.
om
Name of the axis
Inserting an axis
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.45
SITRAIN Training for
Automation and Drive Technology
@
Inserting additional If, on the drive side, you are working with a multi-axis module, then you must
axis TOs create a TO axis in SIMOTION SCOUT for each axis connected to the drive,
otherwise the drive cannot be operated from SIMOTION.
Using the "Insert_axis" icon, a second axis TO can be inserted into the project
er
and can be linked with the second drive object in the SINAMICS_Integrated
using the axis wizard.
Only then can the connected axes be traversed from the control panel. First,
however, the created project must be downloaded to the target system with the
ez
two TO axes.
r.s
ne
ca
Drive_blue.Actor
linear
om
elektrical Drive_blue.Encoder_1
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.46
SITRAIN Training for
Automation and Drive Technology
@
Define axis type Usually a conveyor belt is also configured as a "Linear axis". On a conveyor belt
products are moved and the travel distance is measured in terms of linear units,
like "cm" or "mm".
But a conveyor belt has no limitation with respect to the travel distance. It can
er
om
l.c
Transport_blue ->
mechanical system Modulo start value: 0.0
Modulo axis Modulo length: 1000.0
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.47
SITRAIN Training for
Automation and Drive Technology
@
Modulo Both a rotary axis and a linear axis can be defined as a modulo axis.
setting Modulo axes are endless axes without limit switches. Modulo axes can be
endlessly traversed in one direction without actuating any software or hardware
limit switch.
er
If the position actual value of a modulo axis exceeds the sum formed by the
module start value and modulo length, the actual value is reset to the modulo
start value. If the actual position value goes below the modulo start value, the
actual value is set to the sum of the modulo start value and the modulo length.
ez
The setting "Modulo" for linear axes ise especially used for implementing
endlessly rotating conveyor belts.
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.48
SITRAIN Training for
Automation and Drive Technology
@
Save and compile After completing the configuration you can download the project you have
changes created to the target system. Then, using the online functions, for example
control panel, the axes that have just been configured can be traversed.
First save and compile your project. To do this, select the menu command:
er
Project -> Save and compile all. During compilation, notes and possible error
messages are displayed in the detail view.
From Version V4.2, SIMOTION provides msupport when configuring technology
Creating objects (TO) and I/Os the symbolic asseignment to SINAMICS drive objects
ez
message frames (DOs, Drive Objects). This simplifies the configuration of the technological links
including communication between sithe controller and the drive.
When compiling, SIMOTION SCOUT automatically sets up the communication
between axis and drive and the required PROFIdrive axis message frames as
r.s
SCOUT/Starter
om
HW Config
l.c
ai
Double-click
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.49
SITRAIN Training for
Automation and Drive Technology
@
Message Frame The message frames automatically generated when compiling for
display communication between the SIMOTION axis and the SINAMICS drive with the
associated SIMOTION peripheral addresses can be displayed in Starter as well
as an HW Config of the SIMOTION device.
er
In the HW Config of the SIMOTION device, the message frames are under tab
"Configuration".
Message frame 105 In the standard case, for communication between a SIMOTION axis TO and a
r.s
SINAMICS drive object in servo operation with a motor module, motor and
motor encoder, message frame 105 is created. In addition to the usual position-
controlled operation, this message frame also offers the functions of DSC
operation and torque limiting.
ne
Message frame 390 For communication between the SINAMICS Control Unit and SIMOTION,
message frame 390 is created (when using the global measuring input 391 or
392). In addition to transferring the status of the digital inputs of the CU, this
message frame also provides the option of synchronizing the "internal clock" of
SINAMICS_Integrated with the real-time clock of SIMOTION.
ca
Time From V4.2, the time synchronization is integrated as system property and
synchronization and no longer has to be performed by the SIMOTION user program.
The time synchronization can be selected in the properties dialog of the
SIMOTION D425-2 device under the "Settings" tab.
om
l.c
ai
Æ Start of the PeripheralFaultTask
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
- Transition to RUN not possible,
SIMOTION switches into the STOP state
03.01.2013
MC-SMO-SYS_02.50
SITRAIN Training for
Automation and Drive Technology
@
Time Contrary to SIMOTION devices, SINAMICS drive units do not have
synchronization Real-time clock (RTC = Real Time Clock), which continue to run when the
device is switched off. After they have been powered up, SINAMICS devices
use as standard an internal time counter based on "Time since the device was
er
Control Unit.
I/O faults
For the time synchronization@, the time currently valid in the SINAMICS unit is
always compared with the newly written time from SIMOTION. If there is a
significant differuence between these two times, than was defined in parameter
DO1.p31 l09, then SINAMICS briefly issues the alarm
ne
om
(into D425-2 and SINAMICS_Integrated)
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.51
SITRAIN Training for
Automation and Drive Technology
@
Download After successful compilation and an online connection has been established,
you can download the data to the target system. You can only download the
project data to the target system
It is not sufficent to load only the D425-2 target system, the project data for the
er
With that selection both devices s are loaded automatically. In the message that
is displayed, the option "Store additional data on the target device" can be
selected. Using this option, the sources of MCC, LAD/FBD and ST programs are
also saved on the target device. Using this option it is possible to completely
upload the project from the SIMOTION target system as well as make an offline/
ne
Note After saving and compiling changes, if new message frames are created or if
existing message frame addresses have been changed, SINAMICS_Integrated
as well as the SIMOTION device must be loaded again.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.52
SITRAIN Training for
Automation and Drive Technology
@
Transferring project In order that the project data, after switching-of the device, are available
data to CF card and for a system start can be loaded again, the project data in the RAM of the
SIMOTION or the SINAMICS device must be saved to the CF card.
For a download, in the message window that opens, "Copy RAM to ROM" can
er
be activated. Furthermore, under the menu item: Options -> Settings ->
Download by setting the option "After loading, copy from RAM to ROM" means
that after a download, the project data are automatically copied to the CF card.
If this option is not set, then using the context menu of the required device,
ez
2. Select the "Copy RA@M to ROM" button, or from the context menu
the command: Target device -> Copy RAM to ROM. The project data are
transferred from tuhe RAM memory to the CF card.
Copying is dilsplayed using a progress bar.
3. Wait for gthe confirmation message and acknowledge using the "OK"
ne
button.
Note Copying project data to the CF card must not only be initiated after a project
l
4. Save
om
l.c
ai
3. Confirm with OK
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.53
SITRAIN Training for
Automation and Drive Technology
@
Load configuration After a download to the target system, from the SIMOTION target system
data into PG numerous adaptations, such as drive and encoder data, as well as reference
variables, maximum variables, torque limits, and the selectivity associated with
torque reduction of the SINAMICS S120 from v2.6.2) are transferred into the TO
er
configuration when the CPU boots and do not have to be manually set.
Initially, these parameters are only available online, i.e. in the memory of the
SIMOTION target system. In order that these values are also accessible in the
offline project on the hard disk, the configuration data must be loaded from the
ez
CPU/ load the drive unit to the PG or click on the appropriate icon in the
toolbar.
The "Load to PG" dialog opens.
3. Select the following settings:
ne
is displayed.
4. Save the uploaded data by pressing the "Save project" to the hard disk.
Note The project data of the drive system should also be uploaded to the PG after
such an complete download of the project data.
om
RUN: User program and TOs are
l.c
being processed
STOP U: User program is not processed,
but the TOs are processed ->
traversed via the control panel
ai
STOP: User program and TOs are not
processed -> axes cannot be
SIMOTION
Siemens AG 2013. All rights reserved.
gm
MRES:
Date:
File:
03.01.2013
traversed from SIMOTION
Module Reset (overall reset)
MC-SMO-SYS_02.54
SITRAIN Training for
Automation and Drive Technology
@
Operating modes The operating mode of SIMOTION can be selected via the mode selector
switch. The control operating modes can be opened when the online connection
is active using the menu command: Target system -> Control operating modes.
Each SIMOTION device supports the following operating modes.
er
RUN SIMOTION processes the user program and provides the associated system
services such as e.g.:
ez
STOP U SIMOTION does not process any user program (STOP User Program).
• The technology objects are active. Test and commissioning functions can be
executed. Axes can be traversed from the SCOUT control panel.
ne
STOP SIMOTION does not process any user program, technology objects are also not
processed. No axis motion can be executed.
ca
1. Establish consistency
if required
om
2. Double-click:
open the control panel
l.c
SCOUT control panel
in the detail view
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_02.55
SITRAIN Training for
Automation and Drive Technology
@
Control Panel Using the control panel, you can monitor and control process values (setpoint
and actual velocity, setpoint and actual position, etc.) of individual axes. This
means that axes or drives can be traversed and the essential functions of the
loaded configuration can be tested.
er
To open the control panel, double-click in the project navigator on the "Control
panel" element. The detail view showse the drives control panel.
You can perform the following funcstions with the control panel:
• Test each part of the syst em individually before the axes are traversed
r.s
om
- Home axis
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
7. Set/remove axis
enable
gm
Date:
File:
8. Activate/stop
travel movement
03.01.2013
MC-SMO-SYS_02.56
SITRAIN Training for
Automation and Drive Technology
@
Procedure 1. Establish an online connection and align the offline and online project by
downloading the project to the target system again.
2. In the project navigator, open the subtree below the device. Open the
subtree below an axis in the "AXES" folder, and double-click on the entry
er
"Control panel".
The control panel is opened in the detail view.
3. Select the required axis TO at the D425-2.
ez
In this dialog, data can be entered regarding the sign of life monitoring or
to switch on an infeed. Then acknowledge the dialog with "OK".
5. Display the area for control and diagnostics if necessary.
6. Select the desired travel command. For a positioning axis the following
commands are available:
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Drive-Based Design - SIMOTION D ................................................................................................. 5
System Configuration with SIMOTION D .......................................................................................... 6
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.2
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Meaning of LEDs .............................................................................................................................. 30
Optional module for D4x5/-2 – TB30 ................................................................................................. 31
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.3
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Diagnostic LEDs for SIMOTION C .................................................................................................... 55
Micro Memory Card (MMC) for SIMOTION C ................................................................................... 56
er
om
Shared communication:
PROFIBUS, PROFINET, Ethernet
C230-2/C240/C240PN
l.c
P350-3/P320-3
D4x5/D410
ai
Shared use of
distributed I/O and
SIMOTION
drives via PROFIBUS
and PROFINET
SINAMICS S120 drive family. For SIMOTION D, the PLC and motion control
functions of SIMOTION and the drive software of SINAMICS S120 run
together on a module with 2 processors.
SIMOTION D is available in two versions:
- SIMOTION D410 is a compact Control Unit for single-axis applications
ca
Properties
Design SINAMICS
Number of axes 1..128
Drive link On-board
om
Distributed I/O ET 200M/S/X/eco all standard
PROFIBUS slaves (DP V0/V1)
Centralized I/Os 12 inputs, 16 on-board
inputs/outputs additional I/O
modules can be operated
l.c
PROFIBUS interface 2, 12 Mbit/s, isochronous
PROFINET IO D4x5-2DP/PN on-board, 3 ports, 2nd interface
(4 ports) via CBE30-2
Ethernet interfaces 3 (D4x5-2 DP), 2 (D4x5-2 DP/PN)
ai
DRIVE-CLiQ interfaces 4, 6 (D445) for connection of:
power supply (Line Module)
power section (Motor Module) D4x5-2
SIMOTION
Siemens AG 2013. All rights reserved.
gm
I/O modules, encoders
Date:
File:
03.01.2013
MC-SMO-SYS_04.5
D4x5/D445-1
This design approach provides a system which is both highly compact and
particularly fast to respond. There are several performance levels of SIMOTION
D (differing in performance and quantity structure [number of axes that can be
operated]): D425/-2 corresponds to the low-end performance level, D435/-2 the
ez
medium performance level and D445-2 the high-end performance level. The
D455-2 module has been designed for the topmost performance levels
SIMOTION D4x5-2 For the SIMOTION D4x5-2, the previously optional PROFINET IO interface has
r.s
been integrated onto the modules and no longer has to be realized using a
CBE30. This frees up one option slot that is then available for other expansion
options.
The onboard Ethernet interface is equipped with an integrated 3-port switch and
facilitates the configuration of different PROFINET network topologies such as
ne
line, star or tree structures, without the need for additional external switches.
The interface supports the following real-time classes: RT and IRT.
When compared to the original versions, these modules have more work
memory (D445-2: 128 Mbyte, D455-2: 256 Mbyte) and retentive memory
(512 Kbyte). The retentive memory for user variables has maintenance-free and
ca
SIMOTION HMI
• SCOUT
• Teleservice
• HMI
om
Ethernet_2
Ethernet_1
SIMOTION D
PROFIBUS-DP_1 (PROFINET) HMI
l.c
Iso-
chronous PROFIBUS DP_2
SINAMICS
ai
Distributed
I/O
Distributed
Servo drives I/O
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
Drives
(e.g. MICROMASTER)
MC-SMO-SYS_04.6
• SCOUT
external DP cycle must be identical with the DP cycle of the integrated PCI bus.
From Version 3.2, the cycles of the external PROFIBUS subnets and the cycle
of PCI_Integrated can be different.
The number of axes that can be connected to the PROFIBUS DP is, as for C2xx
ez
or P350, dependent on the system cycles that have been set, i.e. more axes can
be operated with longer cycle times than with short cycle times.
An HMI system or PG with SCOUT can also be incorporated into the system via
PROFIBUS. It is not permissible to connect the PG with SCOUT to an
isochronous PROFIBUS subnet.
r.s
Ethernet/PROFINET Via the integrated Ethernet interfaces, for example, HMI components
interface (WinCC flexible) or a PG/PC with SCOUT can be connected. The integrated
routing mechanism for example allows direct access from a PG to the drives
which are connected to a PROFIBUS subnet.
ne
controlled via these ports. For the older D4x5 and D445-1 systems, the
PROFINET connection can be realized via the CBE30 option module.
DRIVE-CLiQ
om
l.c
POWER
DRIVE-CLiQ
ai
DRIVE-CLiQ I/Os
Drive-related control cabinet I/O
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.7
SITRAIN Training for
Automation and Drive Technology
@
Axis grouping The SIMOTION/SINAMICS control unit together with the various SINAMICS
S120 drive modules (input and power modules) forms an axis group. The
individual modules are interconnected via DRIVE-CLiQ cables.
A typical axis group contains the following modules:
er
SIMOTION D4x5/-2 The D4x5/-2 module contains the programmable runtime system of SIMOTION
for motion control and position control for up to 16 axes.
ez
In addition the module contains the SINAMICS S120 control unit for speed
control and current control for up to 6 drives. The control unit can also control an
intelligent infeed module (Active Line Module).
Infeed module The SINAMICS infeed (Line Module) generates the DC link from the line supply.
r.s
Power units The SINAMICS power units (Motor Modules) are for controlling the motors.
Digital I/Os
om
Option slot
2 Ethernet / 3 PROFINET
2 PROFIBUS interfaces
l.c
2 USB
2 Ethernet
CF slot
ai
LEDs
SIMOTION
D4x5/D445-1
outputs The digital inputs/outputs are assigned to SINAMICS and can be used
to control the drive.
Electronics 24V connector to supply the module elecmtronics.
supply
ez
Slot for options The TB30 or the CBE30/-2 can sbe inserted in this slot. TB30 is a terminal
expansion module with 4 DI, 4 DO, 2 AI and 2 AO, CBE30/-2 is a PROFINET
module to connect the D4x5/-2 to PROFINET.
r.s
ports
CF slot Memoery card slot (CompactFlash card) The memory card is essential for
koperation. For D4x5-2, the CF slot is below the cover
ca
Mode selector The operating mode, e.g. RUN of the CPU can be set using this rotary switch. A
switch row of LEDs next to the switch indicate the status of the CPU.
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
DRIVE-CLiQ
PN-IO
IE1
PN/IE-NET
SIMOTION RT SIMOTION D
(position control,
om
IE2
PN/IE
positioning,
synchronous
CBE30
CBE30-2 operation,
PLC tasks) PROFIBUS_ SINAMICS
DP2/MPI Integrated Integrated CX32 (speed,
(speed, current control,
l.c
DP1 current control, Safety)
Safety)
Measuring sockets
Measuring sockets
ai
Digital I/O
Digital I/O
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm03.01.2013
MC-SMO-SYS_04.9
SITRAIN Training for
Automation and Drive Technology
@
Design of the SIMOTION D uses the SIMOTION D4x5 module as its central hardware
SIMOTION D4x5 module, comprising the SIMOTION runtime system (SIMOTION RT) and the
SINAMICS_Integrated control unit. The SINAMICS_ Integrated control unit is
functionally identical with the CU 320 (Control Unit) of the SINAMICS S120
er
systems.
The SIMOTION part is responsible for motion econtrol and position control of
the axes. The SINAMICS Control Unit controls the speed and current of the
connected drives. The SINAMICS unit can amlso control the infeed unit (ALM =
ez
16 32 64 128
axes axes axes axes
om
max. 8 axes
l.c
ai
1
N N N N
DP N 2
/ P t 2 01 DP /P DP /P /P /P
- 2
DPerbs -2 DP - 2 DP DP DP
10 - 2 25
-2 35 - 2 - 2 - 2
4 D4 D4
H
D 10 1) 25 35 45 55
D4 D4 D4 D4 D4
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_04.10
SITRAIN Training for
Automation and Drive Technology
@
SIMOTION D Two SIMOTION D versions are available: as a single-axis SIMOTION D410
system and as a multi-axis SIMOTION D4x5 system in different performance
versions. This ensures the highest degree of scalability and flexibility.
The field of application ranges from single axes to high-performance multi-
er
SIMOTION D445-1
PLC and mogtion control performance of approximately 30%, depending on the
applicationo.
Withe the new SIMOTION D445-2 DP/PN and D455-2 DP/PN versions the
performance range has now been extended upwards. Compared to the previous
generation, the maximum quantity structure has been doubled to 128 axes and
SIMOTION D4x5-2 the memory capacity expanded. This has increased the PLC and motion control
performance by a factor of 3.
ca
om
+
l.c
ai
SIMOTION
D4x5/-2
means that only one CX32 can be operated per DRIVE-CLiQ port of a
SIMOTION D.
• The PROFIBUS addresses for a CX32 are permanently linked to the
DRIVE-CLiQ ports of the D4x5 module as follows.
r.s
om
4 / 6 drives in vector control
Central I/O 4 inputs (CX32) /
6 inputs (CX32-2)
4 input/outputs onboard
Additional Terminal Modules can be connected
l.c
Drive coupling DRIVE- CLiQ
4 DRIVE- CLiQ interfaces to couple:
infeed (Line Module)
power units (Motor Module)
I/O modules, encoders
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.12
SITRAIN Training for
Automation and Drive Technology
@
CX32 The SIMOTION CX32 Controller Extension is a component in SINAMICS S120
booksize format and supports scaling of the drive-side computing performance
of the Control Unit integrated in the SIMOTION D435 and D445 modules.
A CX32 module can only be operated in conjunction with a higher-level D435 or
er
D445 module. Each CX32 can control up to 6 additional servo, 4 vector or 8 U/f
axes.
If required, several CX32 devices can be moperated on a SIMOTION D435/
D445 to increase the number of axes:
ez
The CX32 Controller Extens ion and SIMOTION D435/D445 can be used to
r.s
Properties D410/D410-2
Design SINAMICS
Number of axes 1/8 SIMOTION axes
1 SINAMICS drive
(SERVO or VECTOR)
om
Variants DP and PN variants D410
D410-2 DP 1/2 DP & 0/1 IE
1 DRIVE-CLiQ
D410-2 PN 1 PN (2 Ports) & 0/1 DP & 0/1 IE
1 DRIVE- CLiQ
l.c
DI/DO 4/5 DI, 4/8 DI/DO, 0/1 AI (U/I),
0/3 F-DI, 0/1 F- DO
DI/DO can be used 4 output cams or 3 measuring inputs
Drive coupling In conjunction with SINAMICS AC/AC
ai
power sections
- inserted directly
- via DRIVE-CLiQ and CUA31 D410-2
SIMOTION
Encoder interfaces
03.01.2013
MC-SMO-SYS_04.13
SITRAIN Training for
Automation and Drive Technology
@
SIMOTION D410/-2 SIMOTION D410/-2 is a modular drive system for single-/multi-axes, which
solves demanding motion control tasks for a very wide range of industrial
applications. SIMOTION D410/-2 supplements the power levels for the multi-
axis groups D425/-2, D435/-2, D445/-2 and D455-2.
er
SIMOTION D410/-2 is the central motion control module. This unit contains the
programmable SIMOTION runtime system and the drive software of
r.s
SINAMICS S120.
You can use the integrated fast digital I/Os as follows:
• Homing inputs
• Inputs for measulring probes
ne
DRIVE-CLiQ
Line topology
om
SMIxx SMCxx
CU320 Line Motor Motor
module module module
SMExx
Tree topology External
measuring system
l.c
All drive components
communicate via a standard
ai
SMIxx SMCxx interface.
CU320 Line Motor Motor
module module module
SMExx
SIMOTION
External
measuring system
The Control Unit identifies all connected actuators, sensors and motors after
switch-on via DRIVE-CLiQ. In ongoing operation, cyclic drive-related data are
cyclically exchanged isochronously.
DRIVE-CLiQ is also used to exchange parameters and diagnostic data between
r.s
Rules When wiring components with DRIVE-CLiQ, the following rules apply:
• Ring wiring is not permitted.
ne
HUB (DMC20) The DRIVE-CLiQ Hub Module 20 (DMC20) is used to implement star-shaped
distribution of a DRIVE-CLiQ line. With the DMC20, an axis grouping can be
expanded with four DRIVE-CLiQ sockets for additional subgroups.
om
D4x5 Motor Motor Motor Motor
Line Module Module Module Module Module
SMC20 SMC30
l.c
Motor with Motor without Encoder with
ai
Digital/analog DRIVE-CLiQ DRIVE-CLiQ DRIVE-CLiQ Conventional
I/O interface Interface interface encoder
SIMOTION
CU320/-2 after a module replacement.
Date:
File:
03.01.2013
MC-SMO-SYS_04.15
SITRAIN Training for
Automation and Drive Technology
@
Line Modules Convert the three-phase supply into a DC voltage for the DC link.
• Basic Line Module: Basic Line Modules generate a non-regulated DC
link voltage and are not capable of regenerative feedback.
• Smart Line Modules: Smart Line Modules generate a non-regulated DC
er
Motor Modules Motor Modules in the SINAMICS S120 esystem in the “booksize” format are
inverters. The control information is igenerated in the Control Unit and distributed
to the individual motor moduless via DRIVE-CLiQ.
Depending on the type (singl e or double), each motor module has one or two
DRIVE-CLiQ interfaces fo@r connecting the motor encoder evaluation (sensor
r.s
modules).
Sensor Modules evualuate the signals of the connected encoders and transfer
Sensor Modules the calculated values via DRIVE-CLiQ to the Control Unit.
Depending on the integration of the electronics to convert conventional encoder
ne
om
ALM = Active Line Modules
Self-commutated infeed/regenerative feedback unit
l.c
5 kW
10 kW
16 kW 16 kW
20 kW 36 kW 36 kW
40 kW 55 kW
ai
100 kW 80 kW
120 kW
SIMOTION
Siemens AG 2013. All rights reserved.
5, 10 kW
gm
Date:
File:
16 kW
03.01.2013
36 kW
MC-SMO-SYS_04.16
55 kW 120 kW
Properties • Line supply voltage 3AC 380 V –0% (-15% <1 min) up to 3AC 480 V
ez
+10%(47 up to 63 Hz)
• Suitable for TN, TT, and IT suppsily systems
• Internal/external air cooling
• Short-circuit/ground-fault-proof during the precharge phase
r.s
Single Motor
Modules
om
3,5,9,18 A 30 A 45, 60 A 85 A 132, 200 A
l.c
Double Motor
ai
Modules
SIMOTION
Siemens AG 2013. All rights reserved.
gm
2x3, 2x5, 2x9 A
Date:
File:
03.01.2013
MC-SMO-SYS_04.17
2x18 A
standstill" reduce the external wiring overhead and increase the safety,
flexibility, cost-effectiveness and availability of machines and plants.
Properties • Compact design through high power density, particularly with the Double
r.s
Motor Modules
• Integrated DC link and 24 VDC busbar
• Diagnostic LEDs
• Short-circuit- and ground-fault-proof
ne
om
Components in the control cabinet
SMC as migration solution
SMC10: Resolvers
SMC20: Sin/cos, EnDat
l.c
SMC30: TTL, HTL, incr.
SMC10 SMC20 SMC30
ai
SME20: Sin/Cos
SME25: SinCos without RefSig + EnDat
SME20: Sin/Cos (linear scale)
SIMOTION
SME25: SinCos without RefSig + EnDat (linear scale)
commissioning and diagnostics becausee the motor and encoder type are
identified automatically.
Sensor Module SMCs are used, if the motor does not have a DRIVE-CLiQ interface and if, in
Cabinet (SMC)
r.s
addition to the motor encoder additional external encoders are required. Only one
encoder system may be connected per SMC. Only encoder systems, in which the
power supply for the encoder system is not grounded, may be connected.
Sensor Module Direct measuring systems outside the control cabinet can be connected to the
External (SME) SME. The SME evaluates these measuring signals and converts the calculated
ca
om
1 temperature sensor input
(KTY84-130 or PTC)
TM41
4 digital inputs
4 digital inputs/outputs
1 analog input
l.c
1 TTL encoder output
TM15
24 digital inputs/outputs
(e.g. for measuring input and fast
ai
cam output)
TM17 High Feature
16 digital inputs/outputs
SIMOTION
(e.g. for measuring input and fast
cam output, 1 μs)
The Terminal Module TM41 can be used tom increase the number of digital inputs/
TM41 digital outputs and the number of analog outputs in a drive system.
One channel can also be used for encodeer simulation. The TM41 can be
ez
The Terminal Modules TM15 and TM17 High Feature can be used to implement
TM15/TM17 measuring inputs and ca@m outputs for SIMOTION D. In addition, these terminal
r.s
modules provide drive-related digital I/Os with short signal delay times.
TM17 High Feature Each of lthe 16 DI/O can be parameterized channel-by-channel as a digital input
(DI), edigital output (DO), measuring input, or output of the output cam.
Wkhen compared to TM15, TM17 High Feature has fewer I/O channels – but
ca
om
SIMOTION, SIMATIC devices
via Xsend/Xrecv or
master/slave coupling
DP1 DP2/MPI Drives and additional field
devices
- ET 200M
- ET 200S
l.c
- ET 200X
- ET 200eco
ai
D4x5
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
D4x5-2
03.01.2013
MC-SMO-SYS_04.20
SITRAIN Training for
Automation and Drive Technology
@
PROFIBUS DP The D4x5 provides 2 interfaces for connection to the PROFIBUS DP.
interfaces Baud rates up to 12 Mbit/s are possible. Both interfaces can be operated clock-
synchronously and isochronously.
The interfaces can be operated as master or slave in virtually any combination
er
(equidistant / non-equidistant).
Special features Hierarchical systems can be implemented via the hierarchical DP interface
function. In a hierarchical system a isochronous PROFIBUS is used to enable
ez
Addresses and When delivered the following addresses and baudrate are set for both
ne
Note A teleservice adapter can only be connected to one of the two interfaces.
All approved modules and devices can be found in Catalog PM 10.
om
third-party systems via TCP/IP and UDP
X130 "IE2" (User Datagram Protocol)
IP address: Communication via XML-DA
169.254.11.22
l.c
192.168.0.1
Note
On delivery and/or when a reset Note
ai
to factory setting is performed, On delivery and/or when a reset
the addresses of the Ethernet to factory setting is performed,
interfaces are set to the values the address of the CBE30 board
above. is set to 0.0.0.0
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.21
SITRAIN Training for
Automation and Drive Technology
@
Ethernet This interface is for connection to a Fast Industrial Ethernet. Fast
Interface Industrial Ethernet is a communication network with a transmission rate of
10/100 Mbit/s.
The D4x5 system offers the following functions via the Ethernet interface:
er
IP Addresses The IP addresses of a D4x5 board are set by default to the following values:
• X120 (IE1/OP)u: 192.168.214.1 subnet
mask:l255.255.255.0
ne
Tkhese default values are also used, when a new D4x5 board is inserted in a
SCOUT project.
When delivered or when a "Reset to factory setting" is performed the interfaces
IE1 and IE2 are set to the values above. The IP address of the CBE30 is set to
0.0.0.0 with subnet mask 0.0.0.0.
When the CBE30 is going to be used in a connection request, either with the
tool "Edit Ethernet Node" or via a download of a hardware configuration using
some other interface, a valid IP address has to be assigned to the CBE30 first.
om
Communication via XML-DA
l.c
IP address:
192.168.0.1
Note
X127 "PN/IE"
ai
IP address On delivery or when a reset
169.254.11.22 to factory setting is performed,
only X127 "PN/IE" is set to
169.254.11.22
D4x5-2 DP
SIMOTION
Siemens AG 2013. All rights reserved.
gm
D4x5-2 DP/PN
Date:
File:
03.01.2013
MC-SMO-SYS_04.22
All other Ethernet interfaces are
set to 0.0.0.0.
subnet mask:255.255.255.0
• X130 (PN/IE-NET) : 192.168.2.1
subnet mask : 255.255.255.0
ez
D4x5 DP/PN
r.s
The IP addresses of all other interfaces X120, X130, X150 and X1400 (CBE30-
2) are set to 0.0.0.0..
Only with a valid IP address a connection request will be successful. In order to
assign a valid address to some interface, you can either use the tool "Editing
Ethernet nodes" or you must perform a successful download of a hardware
configuration using an interface with some valid address.
DI0 DI4
DI1 DI5
DI2 DI6
DI3 DI7
om
DI/DO8 DI/DO12
DI/DO9 DI/DO13
DI/DO10 DI/DO14
DI/DO11 DI/DO15
l.c
Assignment:
Pins 1...4 (DI0 ... DI7, digital inputs, 50Ê μs, 100Ì μs)
ai
Pin 7 (DI/DO 8, 12 dig. inputs/outputs, can be parameterized,
propagation times: 50Ê μs , 50Ì μs )
Pins 8, 10, 11 (DI/DO 9, 10, 11, 13, 14, 15 digital inputs/
SIMOTION
high-speed cam outputs
Date:
File:
03.01.2013
MC-SMO-SYS_04.23
SITRAIN Training for
Automation and Drive Technology
@
Integrated inputs Various sensors and actuators can be connected to the two 12-pin front X122
and outputs and X132 connectors.
The following types of digital inputs/outputs are available:
• Digital inputs
er
Isolated There are 8 digital inputs on the Control Unit. These isolated inputs
inputs can be used as freely addressable inputs.
Bidirectional There are 8 digital I/Os on the Control Unit. The mode of operation, i.e. as either
inputs/outputs an input or output, is parameterized by means of the "Starter" commissioning
ne
tool.
6 of the 8 digital inputs/outputs can be used as "high-speed inputs". All 8 digital
inputs/outputs can be used as freely addressable inputs or as measuring input
or referencing inputs.
When parameterized as DO, the digital inputs/outputs can be used as freely
ca
addressable outputs.
Note The SIMOTION runtime module accesses the digital inputs/outputs by means of
PROFIBUS Integrated rather than directly. For this reason, the inputs/outputs
are updated in the PROFIBUS bus cycle clock of SINAMICS Integrated.
om
IO2
DI/DO12
IO3
DI/DO13
DI/DO8 IO4
DI/DO14 DI/DO9 IO5
DI/DO15
DI/DO10 IO6
DI/DO11 IO7
l.c
Assignment:
DI0... DI21, digital inputs for SINAMICS and SIMOTION,
ai
not fast, cannot be used as equivalent zero mark signal or
measuring input
DI/DO8…15, bidirectional, can also be used as equivalent
zero mark signals and measuring input (local and global),
SIMOTION
cannot be used as fast cam outputs
Date:
File:
03.01.2013
MC-SMO-SYS_04.24
SITRAIN Training for
Automation and Drive Technology
@
Integrated inputs Various sensors and actuators can be connected to the three 14-pin front X122,
and outputs X132 and X142 connectors.
The following types of digital I/Os are used:
• Digital inputs (DI)
er
The digital inputs/outputs at the X122 and X132 front connectors can be used by
either SIMOTION or SINAMICS. The digital I/Os at the X142 front connector are
permanently allocated to SIMOTION.
r.s
Digital inputs As a result of their switching times, the 12 isolated, digital inputs DI0, …, DI7,
DI16, DI17, DI20 and DI21 can neither be used as equivalent zero mark signals
in SINAMICS nor as measuring input signals in SIMOTION.
Bidirectional The bidirectional inputs/outputs at connectors X122 and X132 can either be
ne
Bidirectional At connector X142 there are 8 digital inputs/outputs that can only be used by
INOUTS SIMOTION. If parameterized as inputs, then they can also be used for
measuring input signals (global measuring input).
When parameterized as output, they can also be used as fast cam outputs.
r722.0
r722.1
r722.2
om
r722.3
r722.16
r722.17
SLM Ready
SLM I2t
l.c
r722.4
r722.5
r722.6
ai
r722.7
r722.20
r722.21
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.25
SITRAIN Training for
Automation and Drive Technology
@
Input/outputs Digital I/Os can be used to connect various sensors and actuators to the two 12-
pin X122 and X132 front panel connectors of the SIMOTION D4x5-2 or S120
CU320-2 module.
The following types of digital I/Os are used:
er
to the I/Os.
The enables for the drive units and/or motors (active line module, motor module)
connected to the control unit can, for example, be switched using the digital
inputs.
The SINAMICgS project tree contains a screen for the status of the inputs under
ne
Status
the entryo: Control_Unit -> Input/outputs - Isolated digital inputs
The exlpert list of the CU contains the signal states of the 12 inputs in the
binector outputs r722.0 to r722.7 and r722.16, r722.17, r722.20, r722.21. The
inverted signal states are available under r723.0 to r723.7 and r723.16, r723.17,
ca
r723.20, r723.21.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.26
SITRAIN Training for
Automation and Drive Technology
@
Inputs/outputs The I/Os of terminal X142 are permanently assigned to the SIMOTION D4x5-2.
The configuration is therefore performed via the D4x5-2 ("D4x5-2" -> "X142
inputs/outputs). Alternatively, the dialog box can also be called in HW Config by
double- clicking the X142 interface.
er
Addresses tab The start address for the X142 I/Os can be set ine the "Addresses" tab. The
address can be specified or automatically assigned by the system.
ez
Channel tab The function of each individual I/O chanenel is set in the "Channel 0 - 7" tab.
Possible functions:
• DI
• DO
r.s
The DI/DO assignment @to symbolic names could be done via the "Address
list". Monitoring of that inputs and outputs could also be done using the
"Address list" directly" or a "Watch table".
In the configuratluion dialog of the technological object "Output cam" and
"Measuring inputs" of SIMOTION these inputs/outputs can also be assigned as:
ne
All I/Oe channels can be inverted. A filter time of 1 μs or 125 μs can also be
set for digital inputs and measuring inputs.
om
Fan/battery module
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.27
Double fan/battery module
a fan module. The D445 will not start up without a functional fan/battery module.
A double fan/battery module for cooling is always required for the
SIMOTION D445-2 DP/PN and D455-2 DP/PN. The double fan / battery module
(included in the scope of supply) also guarantees sufficient cooling even with
ez
just one functional fan. The fan/battery module should preferably be replaced in
the POWER OFF state.
• CPU cooling
• For D4x5: Buffering of the SRAM and the real-time clock if the SuperCap
is insufficient (buffering for 5 days).
• For D4x5-2: Buffering the real-time clock if the SuperCap (buffering, 4 days)
is insufficient. For the retentive storage of process variables, the
ne
by means of the diagnostic buffer. The SF LED illuminates "red" in the event of
temperature or fan faults.
For D4x5-2 for fans faults (failure of one or both fans in the double fan/battery
module), an entry is made in the diagnostics buffer. The fan failure is also
signaled by the generation of an event in the PeripheralFaultTask and via a
system variable.
If only one of the fans fails, the other fan continues under full load. If both fans
fail or with overtemperature, the controller switches to the RESET state (SF LED
flashes red/yellow (2 Hz), 7-segment display "8").
SITRAIN Training for MC-SMO-SYS
Automation and Drive Technology Page 27 Hardware Platforms
Optional Components for D4x5-2 – CBE30/-2
CBE30/-2
PROFINET IO controller, I-Device
100 Mbit/s full duplex
Support of the real-time classes of
PROFINET IO
om
RT (Real-Time)
IRT (Isochronous Real-Time)
Support for standard Ethernet communication Option slot
TCP/IP and UDP
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.28
SITRAIN Training for
Automation and Drive Technology
@
CBE30/-2 The CBE30-2 communication board for SIMOTION D4x5-2 enables in addition
to the onboard PROFINET interface X150 the connection to a 2nd PROFINET
IO network. The SIMOTION D4x5-2 acts then as PROFINET IO Controller with
2 interfaces.
er
In the D4x5 the CBE30 can be used. Both modules will support the following
functions:
• PROFINET IO controller, I-Device (controller and device simultaneously)
ez
communication
- read an write data set
Note CBE30-2 can only be used with the type D4x5-2 DP/PN. It is supported as of
FW version V4.3.
om
SIMOTION D SINAMICS S120 SIMOTION P
l.c
Option board / PCI card CBE30 CBE20 MCI-PN
ai
PROFINET IO-... Controller Device Controller
SIMOTION
Protocols
Date:
File:
03.01.2013
MC-SMO-SYS_04.29
RT, IRT RT, IRT
LEDs:
LED (green, RJ45): Active
network connection
LED (yellow, R45): Data transfer
om
active
LED (green, panel): Task system,
SINAMICS_Integrated and ext.
PROFIBUS- interfaces have
synchronized to the bus clock
LED (red, panel): Module is operating
l.c
without any errors, if the light is off
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.30
SITRAIN Training for
Automation and Drive Technology
@
LED green (RJ45) In the RJ45 there is a green LED (Link) that indicates whether there is an active
network connection.
LED yellow (RJ45) In the RJ45 socket there is a yellow LED (Activity) that indicates whether data is
er
Is lit: Task system has synchronsized to the PROFINET IRT clock cycle, and
data is being cyclically exchanged. SINAMICS_Integrated and the external
PROFIBUS DP interfaces are also synchronized with the PROFINET IRT clock
cycle.
r.s
Flashes, 0.5 Hz: Task system has synchronized to the bus cycle clock and data
is being cyclically euxchanged. SINAMICS_Integrated and ext. PROFIBUS DP
interfaces have sltill not been synchronized to the clock cycle.
In the fronot panel there is a red LED (Fault), that indicates whether the module
is operatling error-free:
Is not elit: The module is operating without errors; data exchange with all
ne
TB30
Plug-in terminal expansion module
4 digital inputs
4 digital outputs
om
2 analog inputs
2 analog outputs
Option slot
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.31
SITRAIN Training for
Automation and Drive Technology
@
TB30 The Terminal Board 30 (TB30) is a terminal expansion module which can be
plugged into the CU320 control unit or onto the SIMOTION D4x5/-2. It has the
following terminals:
• 4 digital inputs (signal propagation delays: 50Ê μs , 100Ì μs )
er
RDY:
• red flashing (0.5 Hz): Boot error
• red: SINAMICS_integrated has not
booted
• green: SINAMICS_integrated and D4x5
have booted
om
RUN: RUN mode is active
STOP: STOP mode is active
SU/PF: STOP U mode is active
D4x5 SF: Group error LED
BUS1F: Error on DP1 bus segment
BUS2F: Error on DP2/MPI bus segment
l.c
OPT: Status of option board
ai
segment
SY/MT:
• Synchronization status (SY) of the
onboard PROFINET IO interface
SIMOTION
D4x5-2
03.01.2013
MC-SMO-SYS_04.32
SITRAIN Training for
Automation and Drive Technology
@
RDY ready Red flashing (0.5 Hz): Booting of the SIMOTION Compact Flash has started,
however a boot error has occurred (e.g. incorrect firmware).
Red: SINAMICS Integrated has not booted. There is no firmware, it is incorrect
or a drive fault has occurred.
er
SF (red) This LED indicates a system error has occurred on the SIMOTION device.
ez
D4x5.
LED flashing (0.5 Hz): No license detected for the technology / option objects.
RUN (green) Green flashing (2 Hz): Select the "RUN" operating state until this state is
ne
reached.
Green: SIMOTION RT is in the RUN operating state.
STOP (yellow) Yellow flashing (0.5 Hz): SIMOTION RT is requesting an overall reset.
Yellow flashing (2 Hz): Select the "STOP" operating state until this operating
ca
state is reached.
Yellow: SIMOTION RT is in STOP operating state.
SU/PF (STOP U) Yellow flashing (2 Hz): Selection of STOPU operating state (STOP User
Program) until the state is reached.
Yellow. STOP U state is active. The technology packages are active.
om
not active, no axes can be
Service Operating modes traversed, projects can be
selector switch switch downloaded
• MRES: OVERALL RESET (system
D4x5 reset)
RESET button
l.c
Service
selector switch Service switch positions:
ai
• 0: Initial position
• 1: Clear / restore non-volatile data
Operating modes • B: Downgrade
SIMOTION
D4x5-2
03.01.2013
MC-SMO-SYS_04.33
SITRAIN Training for
Automation and Drive Technology
@
BUS2F (X9) (red) Indicates an error on the PROFIBUS DP2/MPI interface.
RESET Button A reset operation resets the entire system and requires a system restart. This is
comparable to a "Power On reset" except that the 24 V power supply does not
have to be switched off.
r.s
Mode Selector The mode selector switch is located at the lower part of the D4x5
Switch module. Only the right rotary switch is of significance here.
The individual switch positions have the following meaning:
ne
• 0: RUN:
• 1: STOPU:
• 2: STOP:
• 3: MRES:
ca
The other key positions are not assigned. The operating state of the D4x5 is
displayed using the display LEDs
Service Using the service selector switch, what are known as diagnostics data can be
selector switch saved from the main memory of the SIMOTION device to CF Card or re-
established (see).
DIAG button Diagnostics data and line off fixed data can also be alternatively backed up by
(only D4x5-2) pressing the DIAG button.
RUN STOP U
STOP via
MRES mode selector switch
om
via
SIMOTION SCOUT
l.c
Via system function: from the
_changeOperationMode SIMOTION user program
ai
_STOP
New from System variable of the device _STOPU
V4.1 (display and new selection): _STARTUP from the user program
SIMOTION
Devive.modeOfOperation
03.01.2013
MC-SMO-SYS_04.34
or from the HMI device
STOP LED
om
l.c
Via SCOUT
1. Switch SCOUT into the
online mode
ai
2. Select device
3. Target system -> Control
operating mode
SIMOTION
4. Click "MRES" button
5. Confirm the prompt
The data that are deleted in the memory of the SIMOTION device during an
OVERALL RESET include configuration data, programs, technology packages
and current data values of the retain variables.
The following data are kept: SIMOTION kernel, PROFIBUS and IP address, baud
ez
rate etc. as well as the content of the diagnostics buffer. After deletion, the TP and
user data are transferred from the CF card into the work memory of the
SIMOTION device.
r.s
NOTICE For an overall reset, in addition to the actual content of the retain user variables,
the retain data of a TO, such as the absolute encoder offset, absolute encoder
overflows, are deleted in the SIMOTION SRAM (static RAM).
Which values are now loaded into these areas depends on whether previously a
data backup was made of the retain area using the system function
ne
Operator action The function "OVERALL RESET" is activated as follows using the mode selector
at the D435 switch:
1. Bring the mode selector switch into the STOP position (switch position 2).
ca
2. When the yellow STOP LED is lit , turn the selector to the MRES position
(switch position 3). The STOP LED begins to flash.
Wait until the STOP LED stops flashing and goes into a continuous light
condition.
3. Turn the selector back to the STOP position.
4. You must turn the selector back to the MRES position again within 3 seconds.
The overall reset will now be performed.
The SIMOTION D4x5 has completed the overall reset when the STOP LED
goes into a continuous light condition.
Necessary
No online connection possible between
SCOUT and SIMOTION Switch position 3:
MRES
om
1. Switch-off the power supply
2. Bring the mode selector switch into
the MRES position
3. Switch-on the power supply
4. Wait until STOP LED is no longer flashing,
l.c
i.e. displays a continuous light and the
RDY LED is green.
5. Then set the desired operating mode
via the mode selector switch.
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.36
SITRAIN Training for
Automation and Drive Technology
@
Factory Settings The SIMOTION D4x5 is supplied with preset parameters, such as the
transmission rate or PROFIBUS addresses. You can restore these settings.
The following data is deleted when you restore the factory settings:
• the project
er
communication configuration
To restore the factory settings, psroceed as follows:
Procedure 1. Before you power off the po wer supply, turn the operating mode switch
(rotary switch on right)@ on the SIMOTION D4x5 to MRES, i.e. to switch position
r.s
3.
2. Now switch on the power supply. The buffered SRAM and the user data
is deleted and uthe factory settings are loaded. The control unit remains in the
STOP state.
3. Use the modeg selector switch to change to the desired operating mode.
ne
Directory structure
om
l.c
ai
New from Licenses are protected against accidental
V4.1 deletion or formatting
SIMOTION
boot sector
Date:
File:
03.01.2013
MC-SMO-SYS_04.37
SITRAIN Training for
Automation and Drive Technology
@
CF Card The SIMOTION CF is a Compact Flash card and is mandatory for operation of
the SIMOTION D4x5. The SIMOTION Kernel and the software used to control
the drives (SINAMICS firmware) are contained on the CF card. The device
diagnostics (SIMOTION SCOUT) is used to read out and display the version
er
RAM to ROM using SIMOTION SCOUT must not be modified or deleted using
Windows programs.
The CF card may only be inserted or removed when the control unit is
disconnected from the power supply.
r.s
Licenses The licenses for the technology objects are linked to the serial number of the CF
card. This means the SIMOTION CF can be inserted in a different SIMOTION
D4x5 without having to change the licenses.
ne
Licenses with V4.1 The license key is stored in the "KEYS" directory on the CompactFlash Card.
From V 4.1, when the controller starts up for the first time, the license key is it
written to the boot sector of the card and from this time is protected from being
lost.
Operator actions cannot delete the license key in the boot sector
ca
Necessary
When the file system is corrupted
Error during "Copy RAM to ROM"
om
Implementation Card read/write unit
l.c
3. Mark the drive and select the file system "FAT32"
"Format..." command from the context with D4xx-2- modules
menu
4. Settings: Quick format
ai
- Dateisystem. "FAT" or "FAT32"
no "NTFS"
- Select "Quick format"
5. "Start" formatting
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.38
SITRAIN Training for
Automation and Drive Technology
@
Format CF card If the power supply is interrupted during the startup or while writing to the CF
card, this can cause corruption of the file system on the CF card. In this case,
the CF card must be reformatted. This can be done with a standard card
read/write unit normally connected to a USB port on a PG or PC.
er
Operator action 1. Connect the card read/write unit to the PG or PC. The Windows XP
operating system will automatically detect the card read/write unit without
requiring the installation of any drivers.
ez
2. Start Windows Explorer. The Windows Explorer will display the slots of the
card read/write unit for the various card types as individual drives with drive
letter.
3. Insert the CF card in the appropriate slot of the card read/write unit.
r.s
4. Click the appropriate drive in Windows Explorer and select the "Format"
command from the context menu. The "Format Removable Media" dialog
box opens.
5. Select the following settings in this dialog box:
- File system: "FAT" or. "FAT32": With the older D4xx modules only
ne
"FAT" or. "FAT16" is supported. With the new D4xx-2- modules the file
systems "FAT", i.e. "FAT16" and "FAT32" is supported.
"FAT32" requires at least a bootloader version >= 3.02. The version of
the boot loader can be read out using the device diagnostics from the
SCOUT menu: Target system -> device diagnostics. The files ystem
ca
om
Implementation
1. Insert the CF card in the card
read/write unit
2. Start SIMOTION SCOUT
l.c
3. Command: Select "Options -> Write
boot sector ..."
4. Click "Browse"
5. Select the appropriate "boot sector
ai
file"
6. Click "OK" to start the write process
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.39
SITRAIN Training for
Automation and Drive Technology
@
Write boot sector The boot sector of a CF card can be rewritten using SIMOTION SCOUT.
to CF card This is required when the boot sector has been corrupted, for example, because
of complete formatting or some other reason.
The boot sector can only be written for SIMOTION cards; the boot sector cannot
er
you also find a current version of the boot sector for the device for a current
SCOUT installaution. A differentiation is made according to mcc or d4xx and
the storage slize of the card.
4. Select the gappropriate boot sector file for your card and click "OK" to
confirm.o
ne
5. Clickl the "Browse" button in the "Write Boot Sector" dialog to select
the taerget drive with which you card can be accessed from the operating
system.
6. Click "OK" to start the write process. The boot sector will be rewritten.
An appropriate message will be displayed to indicate the successful
ca
completion.
If, for some reason, the boot sector could not be written (e.g. card defective),
this will also be indicated with an appropriate message.
Necessary
After formatting the
CF card Addon- CD -> 3_D4x5_2 ->Firmware -> V4.3.1.1 ->
-> D4x5_V43SP1HF1_S120_V45HF2.zip
om
Implementation
1. Insert the CF card in the
card read/write unit
2. Start Windows Explorer
3. Start copying the firmware
l.c
from the CD to the CF card
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.40
SITRAIN Training for
Automation and Drive Technology
@
Procedure To copy firmware, proceed as follows:
1. Connect the card read/write unit to the PG or PC. The Windows XP
operating system will automatically detect the card read/write unit without
requiring the installation of any drivers.
er
2. Start Windows Explorer. The Windows Explorer will display the slots of the
card read/write unit for the various card types as individual drives with drive
letter.
ez
3. Insert the CF card in the appropriate slot of the card read/write unit.
4. Insert the SCOUT DVD with the Addon CD into the DVD drive.
5. Navigate in Windows Explorer on the SCOUT DVD to the file:
Addon- CD -> 3_D4xx ->Firmware -> V4.3.1.1 ->
D4x5_2_V43SP1HF1_S120_V45HF2.zip.
r.s
2. If necessary, enter
license key
om
1. Select device
Context menu: -> Load to
file system
l.c
3. Select target
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.41
4. Copy to
memory card
• From the SIMOTION SCOUT, the data is written with the help of a card
read/write unit to the memory card. This functionality is supported by the
following memory cards:
- SIMOTION C2xx Micro Memory Card
r.s
SIMOTION
CF card
Download
om
• User • TPs • Diagnostics
data Power on • User buffer
data • System retain
data
• User
retain
• Baud rate variables
l.c
• PROFIBUS RAM to ROM
addresses • Baud rate
• IP address, etc. Power on
• PROFIBUS
• System addresses
ai
• SIMOTION variables • IP addresses,
kernel Power on
• SIMOTION etc.
kernel
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.42
Volatile data Non-volatile
data
RAM to ROM The "RAM to ROM" procedure transfers the following data to the storage
medium:
• Technology packages
• User data, e.g. programs and parameter settings
r.s
Power off The contents of the volatile data area are lost.
• SIMOTION Kernel
om
• SIMOTION • TPs • TPs
kernel Download
• Programs • Programs
• TPs • Config data Copy current • Config data
RAM to ROM
• Programs (proj. value) data to RAM (current data value)
• Config data • Variables • User non retain
(proj. value) (start value) variables
l.c
Switch on
• Variables • Baud rate • System non-retain
(start value) • PROFIBUS and variables
• PROFIBUS and IP addresses
IP comm. proj, D • Diagnostics buffer
sw ow • PROFIBUS and
etc. RAM disk itc nlo
ai
h ad IP comm. config.
on /
• System retain
_savePersistentMemoryData() data
• User retain
SIMOTION
PMEMORY.XML
Date:
File:
03.01.2013
MC-SMO-SYS_04.43
Retentive
data
variables
(current data values)
If online mode is activated for a projieect, the online comparison always relates
to the online project currently stosred on the RAM disk. If a subsequent download is
started, only the data which has been modified in comparison to that on the RAM
disk is copied to the RA M or retentive data area.
r.s
Copy actual The "Copy actual va lues to RAM" function initiates a comparison between
values to RAM the configuration data in the RAM memory and on the RAM disk, in other words the
online-modifiedu configuration data (e.g. Kv factor of an axis) is copied from the
RAM memory tlo the RAM disk.
ne
RAM to ROM Useo Copy RAM to ROM to copy the contents of the RAM disk to the memory
card land release the memory on the RAM disk. In this way, after calling the
"Copey actual values to RAM" function, configuration data modified online can be
stkored on the CF card.
ca
If you have copied modified configuration data to the RAM disk, the configuration
Upload configura- in SCOUT is no longer consistent with the configuration in the target system. The
tion data to PG data can then be uploaded from the RAM disk to the programming device and
stored there using the menu option: Target system -> Upload -> Configuration data
to PG. This restores the consistency between the online and offline project.
"Online" value
Value in the changed in the actual
RAM disk data memory
om
l.c
ai
As of V4.1
RAM to ROM in the RUN operating state
SIMOTION
RAM to ROM from the user program using the
system function: _saveConfigData()
(RAM memory.
• Current data values: Designates the data in the RAM memory on a
SIMOTION-device with which the SIMOTION system "operates".
If configuration data, for example Kv factor etc., are optimized online then
r.s
only the current data value is involved. The "configured value" is not changed
as a consequence. If this change should also be effective after switching-off/
switching-on the control, then it must be ensured that the modified data are
also saved on the memory card.
Using Copy RAM to ROM the values saved on the RAM disk are transferred
ne
to the CF card. Backing up current data values is only realized if the function:
Target system -> Copy current data to RAM is executed beforehand. This
function copies the current data values onto the RAM disk.
If the modified current data values are also to be transferred into the offline
project then in addition, the function: Target system -> Download ->
ca
New from V4.1 Using the _saveConfigData() function, the user program can copy the modified
configuration data in the RAM disk ("Copy current data to RAM") and then from
the RAM disk to the CF card ("Copy RAM to ROM").
Memory assignment The memory assignment of the individual areas: RAM disk, RAM memory,
memory card and retentive memory area can be checked using the online
function: Target system-> Device diagnostics-> System utilization.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.45
SITRAIN Training for
Automation and Drive Technology
@
Archiving project Using the Target device -> Archive projects to card... the complete SCOUT
data project is archived to the CompactFlash / MMC card or to the hard disk of the
P350.
The function Target system > Load project from card... is used to upload the
er
SIMOTION C230-2/C240
Design SIMATIC S7-300
Memory card
Number of axes 2 ..16
Typical number of axes 8 Ethernet
om
Drive link analog (4 channels onboard for
C230-2, C240) or stepping
motors or via PROFIBUS,
PROFINET for C240 PN or
mixed
Number of central max. two-tier configuration
l.c
controllers/expansion
units
Integral I/O 18DI / 8 DO
Central I/O SIMATIC SMs (DI/DO,AI/AO)
ai
Distributed I/O all standard slaves
PROFIBUS DP 2 interfaces, optionally for
isochronous for motion control
2 x PROFIBUS DP 4 analog Integrated
SIMOTION
PROFINET
Ethernet interfaces
setpoint interface via the onboard drive interfaces, SIMOTION C2xx is frequently
used when retrofitting existing systems and machines.
The engineering system is used for configuration, parameterization,
commissioning, programming and diagnostics of the C230-2/C240.
When compared to the C230-2, the C240 – in addition to a higher performance
ne
Applications Typical areas in which the motion control module can be used are:
• Packaging industry
• Plastics industry
• Presses
• Textile industry
• Printing industry
• Wood, glass, ceramics, stone
SITRAIN Training for MC-SMO-SYS
Automation and Drive Technology Page 46 Hardware Platforms
System Configuration with SIMOTION C
• SCOUT
HMI • Teleservice
SIMOTION
• HMI
Ethernet
om
SIMOTION
HMI
PROFIBUS DP_1
l.c
iso-
chronous PROFIBUS DP_2
Distributed
ai
I/O
Distributed
Servo drives I/O
• SCOUT
SIMOTION
Siemens AG 2013. All rights reserved.
Analog drives
(e.g. SIMODRIVE 611A) gm
Date:
File:
Drives
(e.g. MICROMASTER)
03.01.2013
MC-SMO-SYS_04.47
SITRAIN Training for
Automation and Drive Technology
@
SIMOTION C230-2/ SIMOTION C230-2/C240 is the controller-based version of SIMOTION.
C240 SIMOTION C2xx can integrate various I/O devices, HMI components and
engineering systems via PROFIBUS /MPI or Ethernet.
er
Drives connected The control of drives or other components connected to PROFIBUS is realized
to PROFIBUS via the two PROFIBUS interfaces, which are both clock-synchronous
(isochronous) and can be operated with the same DP cycle clock and baud rate.
The number of axes that can be connected to PROFIBUS DP depends on the
ez
system cycles that have been set, i.e. more axes can be operated with longer
cycle times than with short cycle times.
An HMI system or PG with SCOUT can also be incorporated into the overall
system via PROFIBUS. The PG with SCOUT should, however, not be
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
The C240 has, instead of a rotary switch, a toggle switch with the following
positions to select the operating mode: RUN, STOP and MRES
Date:
File:
03.01.2013
MC-SMO-SYS_04.48
SITRAIN Training for
Automation and Drive Technology
@
I/O 40 pin front connector X1 to connect the fast digital inputs/outputs
interface X1 including measuring inputs, BEROs and wiring the READY relay.
Ethernet
interface X7 8 pin RJ45 socket X7 to connect ai Fast Industrial Ethernet
r.s
PROFIBUS-DP1 9 pin D-Sub socket X8 to connect to PROFIBUS- DP. This interface can be
interface X8 operated isochronously and with equidistance. This interface can be used for
isochronous operation.
MPI interface X9 setting) or MPI bus. This interface can be used for isochronous and
equidistant operation.
Power supply 4 pin escrew terminal connection X10 to connect to the 24 V load power
connection X10 supply
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.49
SITRAIN Training for
Automation and Drive Technology
@
PROFINET IO- A SIMOTION C240 PN provides an interface for connection to PROFINET
interface X11 IO with 3 ports (X11 P1, X11 P2, X11 P3) with a data transfer rate of 100 MBit/s.
The PROFINET interface supports the parallel operation of:
IRT (Isochronous Real Time Communication): Isochronous, cyclic transmission
er
X1
L+ unassigned
Q0 Bero_1 (axis_1, X3)
unassigned Bero_2 (axis_2, X4)
Q1 Referencing via Bero
Bero_3 (axis_3, X5)
unassigned Bero_4 (axis_4, X6)
Q2
om
MePu_1
unassigned MePu_2
Q3 I0
unassigned I1
RDY.1 I2
l.c
RDY.2 I3
unassigned I4
Q4 I5
unassigned I6
Q5 I7
ai
unassigned I8 For the C240 PN/ C240, the Bero inputs can
Q6 I9 be used as global measuring inputs
unassigned I10 (measuring with a time stamp)
Q7 I11
SIMOTION
Moutput
gm
Date:
File:
The MePu_x inputs for the C240 PN can only
be used as digital inputs
03.01.2013
MC-SMO-SYS_04.50
SITRAIN Training for
Automation and Drive Technology
@
I/O Sensors and actuators can be connected at the digital inputs and digital outputs
interface of the I/O interface. The front connector of this interface is assigned as follows:
• can be freely addressed, can also be used as "fast cams". The assignment
which output belongs to which cam is realized in SIMOTION SCOUT
ez
• can be freely addressed, used as referencing inputs for the 4 analog axes
(C230-2, C240). The assignment of Bero inputs to the axes is fixed. For the C240/
C240 PN, these inputs can be optionally also used as global measuring inputs.u
For global lmeasuring inputs, contrary to the encoder values a time stamp is entered.
Usging this time stamp, from the cyclic actual values of any axis in the sysotem (also
ne
• total of 2, 24 V DC
Measuring pulse
• can be freely addressed, used to quickly sense the actual axis position
ca
inputs (C230-2, C240), delay, max. 10 · s. The assignment of which input belongs to which
axis is made in SIMOTION SCOUT
• used to safely shut down, e.g. for integration in a EMERGENCY OFF circuit.
The relay is closed if the CPU is in the
RUN mode, otherwise the relay contact is open.
om
• Linear scale with EXE
• SIMODRIVE 611 analog
X2 Control module, 1FK6 motors
with resolver via the angular shaft
X5 X6 encoder interface
• SIMODRIVE 611 universal with
angular encoder interface
l.c
ai
(from V3.2)
Analog setpoint output
for 4 axes or 4
stepping motors
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.51
SITRAIN Training for
Automation and Drive Technology
@
Analog drive At the 50 pin D-Sub connector, 4 drive units with analog or stepping motor
interface interface can be connected. For an analog drive, the speed control (SETPx,
REFPOTx) and one control enable for each axis (CTRENx.1, CTRENx.2) are
provided. For stepping drives, the pulses (PULSx, PULSx_N), the direction
er
om
Connection via PROFIBUS
and MPI to: X8 X9
l.c
• HMI devices
• PG/PC with SCOUT
• SIMOTION, SIMATIC devices
via Xsend/Xrecv or
master/slave coupling
ai
• Drives and additional field
devices
- ET 200M DP1 DP2/MPI
SIMOTION
- ET 200S
- ET 200X
- ET 200eco
(equidistant / non-equidistant).
Special features Hierarchical systems can be implemented via the hierarchical DP interface
function. In a hierarchical system an isochmronous PROFIBUS is used to
ez
Interface The C2xx ooffers the following functions via the Ethernet interface:
• Comlmunication with STEP 7 and SIMOTION SCOUT. The "SIMATIC
NET SOeFTNET PG (protocol TCP/IP RFC 1006)"software must be installed
on the PG/PC for this function.
ca
Ethernet
interface
Connection via PROFINET to:
X7 • Drives (isochronous)
• IO devices
om
(ET200S, ET200M ET200 pro,
ET200eco PN, …)
Link LED
X11 P1
Activity LED
X11 P2
l.c
X11 P3
ai
Fault LED
PROFINET Sync LED
interface
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.53
SITRAIN Training for
Automation and Drive Technology
@
PROFINET IO- A SIMOTION C240 PN provides an interface for connection to PROFINET
interface X11 IO with 3 ports (X11 P1, X11 P2, X11 P3) with a data transfer rate of 100 MBit/s.
PROFINET port For each RJ45 socket (port) the green LED (link) indicates an active
er
PROFINET port For each RJ45 socket (port) the yellow LED (Activity) indicates the status of the
Activity (yellow) data transfer (sending or receiving).
ez
PROFINET status Is not lit: The module is operating error-free, data is being exchanged with all of
fault (red) the configured I/O devices.
Is lit: Bus error; is only output when one of the following errors has been
r.s
PROFINET status
sync (green) For IRT communication, the synch. LED indicates the synchronization status:
Is not lit: Task system is not synchronized to the bus cycle clock
Is lit: Task system has synchronized to the PROFINET IRT clock cycle, and data
is being cyclically exchanged. The external PROFIBUS DP interfaces are also
synchronized with the PROFINET IRT cycle.
Switch positions:
RUN • RUN: User program is being processed
• STOP U: User program is not
STOP U processed, technology packages are active,
traversal of axes via SCOUT control panel
om
STOP • STOP: User program and TP are not
active, no axes can be traversed,
MRES projects can be downloaded
• MRES: OVERALL RESET (see :"handling the
target system")
C230- 2
l.c
ai
RUN
STOP
SIMOTION
MRES
C240 / C240 PN
RUN C2xx processes the user program and provides the associated system services
er
such as e.g.:
• Updates the process image of the inputs
• Processes the user programs in the execution system.
ez
STOP U C2xx does not process any user program (STOP User Program).
• The technology packages are active. Test and commissioning functions can
be executed. Axes can be traversed e.g. via the SCOUT control panel.
• The I/O modules (SM) are in a safe state.
In this position the key can be removed so that no unauthorized person can
ne
SF Meaning:
• SF: Group error LED
• 5V DC supply voltage OK
5V DC
• RUN: RUN mode is active
RUN
om
• STOPU: STOP U mode is active
STOPU • STOP: STOP mode is active
STOP • BUS1F: Error on DP1 bus segment
• BUS2F: Error on DP2/MPI bus segment
BUS1F
l.c
BUS2F
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.55
SITRAIN Training for
Automation and Drive Technology
@
SF (red) This LED indicates a system error has occurred on the SIMOTION device.
LED On: An event has occurred which needs to be acknowledged (alarm,
message, notification).
LED flashing (2 Hz): A fault has occurred to which the user program cannot
er
respond. To remedy the error, it may be necessary to switch the C2xx off and on
again, check the micro memory card, carry out a new commissioning or replace
the C2xx.
ez
LED flashing (0.5 Hz): No license detected for the technology / option objects.
5V DC (green) This LED indicates that the power supply is ready. The power supply of the
C2xx or P350 operates with the LED lit, error-free.
r.s
RUN (green) Green flashing (2 Hz): Select the "RUN" operating state until this state is
reached.
Green: SIMOTION RT is in the RUN operating state.
ne
STOP (yellow) Yellow flashing (0.5 Hz): SIMOTION RT is requesting an overall reset.
Yellow flashing (2 Hz): Select the "STOP" operating state until this operating
state is reached.
Yellow: SIMOTION RT is in STOP operating state.
ca
SU/PF (STOP U) Yellow flashing (2 Hz): Select the operating state STOPU until this operating
state is reached.
Yellow. STOP U state is active. The technology packages are active.
BUS1F (X8) (red) Indicates an error on the PROFIBUS DP1 interface (X8).
BUS2F (X9) (red) Indicates an error on the PROFIBUS DP2/MPI interface (X9).
om
Update or downgrade of the SIMOTION firmware
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.56
SITRAIN Training for
Automation and Drive Technology
@
Memory module- To accept a Micro Memory Card (MMC) there is a memory module slot with
slot a 7 pin MMC connector
MMC for C230-2 The following Micro Memory Card is available for the C230-2.
er
MMC for C240 The following Micro Memory Card is available for the C240.
• Order No.: 6AU1 720-1JA00-0AA0 for C240 (6AU1 240-1AA00-0AA0) with
a capacity of 32 Mbytes.
ca
Note The MMC of the C240 cannot be operated in the C230-2 and vice-versa.
Micro Memory
Card (MMC) Download
RAM to ROM
om
• TPs • TPs • Diagnostics
• User Switch on • User buffer
data data • System retain
variables
• User
retain
l.c
variables
• Baud rate
RAM to ROM
• PROFIBUS • Baud rate
addresses Switch on
• PROFIBUS
• IP address, etc. • System addresses
ai
• SIMOTION variables • IP addresses,
• SIMOTION Switch-on/ kernel • SIMOTION etc.
kernel update kernel
(only C230-2)
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
Volatile data
at power OFF
MC-SMO-SYS_04.57
Non-volatile
data
• Retain variables
RAM to ROM With "RAM to ROM", the following data are saved to the MMC:
• Technology packages
r.s
Switch-on
• User data and TP
The following data are transferred into the non-volatile data area:
• Baud rates, PROFIBUS-DP addresses, IP addresses etc.
• Retain variables (start values)
ca
Switch off The contents of the volatile data area are lost.
Booting When booting, the SIMOTION kernel is loaded into the RAM
Update If, when starting, the operating system of the C230-2 identifies that another
(only C230-2) SIMOTION kernel is stored on the MMC, then when switching on, this kernel is
loaded into the non-volatile memory of the system.
All
LEDs
lit
om
max. 3 s
l.c
Via SCOUT
1. Switch SCOUT into the
online mode
ai
2. Select device
3. Target system -> Control
operating mode
SIMOTION
4. Click "MRES" button
5. Confirm the prompt
The data that are deleted in the memory of the SIMOTION device during an
OVERALL RESET include configuration data, programs, parameter
assignments, technology packages and retain variables.
The following data are kept: SIMOTION kernel, PROFIBUS DP addresses, baud
ez
rate, IP address, subnet mask and router address as well as the content of the
diagnostics buffer.
After deletion, the technology packages and user data are transferred from the
MMC card into the work memory of the SIMOTION device. The retain variables
r.s
Notice An overall reset also deletes the data of an absolute encoder (absolute encoder
adjustment, cyclic range overflows). This means that after an overall reset, the
absolute encoder must be re-adjusted.
ne
Operator action For the "OVERALL RESET" function using the key switch at the C2xx, proceed
at the C2xx as follows:
1. Turn the mode selector switch key to the STOP position.
ca
2. Turn the key to the MRES position. Hold the key in this position until the
STOP LED switches from flashing to continuous light.
3. You must release the switch within 3 seconds, i.e. bring it into the "STOP"
position and then return it to the MRES position. The "OVERALL RESET"
function is performed.
All the LEDs on the C2xx will briefly light up during this time. The C2xx has
completed the overall reset when the STOP LED goes back into a
continuous light condition.
Necessary RUN
No online connection possible between
STOP U
SCOUT and SIMOTION
STOP
om
Via key switch for C2xx MRES
l.c
remain in the MRES position STOP
4. When the STOP LED flashes, release the MRES
operating mode selector switch
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.59
SITRAIN Training for
Automation and Drive Technology
@
Initial delivery The SIMOTION devices can be reset into their delivery state. Data, for example:
state configuration data, user programs, technology packages, retain variables,
diagnostics buffer, time of day are deleted
Retain variables are variables that are defined as "non-volatile variable" in the
er
user program using the key word "Retain". The SIMOTION kernel is kept
In addition to deleting user data, with this operation, the interfaces are reset to
the default settings.
ez
again.
ca
40 GB hard disk
om
Available as PROFIBUS
(IsoPROFIBUS board)
or as PROFINET version
(MCI- PN- board)
Up to a maximum of 64 axes
Connections:
l.c
DVI
4 x USB
2 x Ethernet
1 x MPI
ai
COM1
Slot for CF card. Distributed connection (30 m), one panel front
2 x PROFIBUS (PROFIBUS version)
via a panel PC remote kit
SIMOTION
4 x ports for PROFINET (PN version)
gm
With PROFINET and ET200 HS (High Speed)
cycle times of 250 µs can be achieved
(hydraulic axes)
Date:
File:
03.01.2013
MC-SMO-SYS_04.60
SITRAIN Training for
Automation and Drive Technology
@
What is P350-3 is a PC-based motion control system. Windows XP Professional is
SIMOTION P350? used as the operating system, with a real-time expansion for SIMOTION.
As a consequence, in addition to SIMOTION machine applications, additional
PC applications, for example SIMOTION SCOUT, HMI software, process data
er
Additional Software The following components from the modular HMI range can be installed on the
SIMOTION P as an option:
• SIMATIC ProTool/Pro or WinCC flexible
SIMATIC ProTool/Pro and WinCC flexible are configuring packages to create
r.s
High Speed Cycle times of 250 µs can be achieved with SIMOTION P, PROFINET and the
ca
ET 200S distributed I/O system with interface module IM 151-3 PN High Speed .
This is particularly necessary for applications with fast response times (e.g.
hydraulic axes).
IsoPROFIBUS Interfaces:
board
1. DVI/VGA
om
2. CompactFlash card
3. PROFIBUS/MPI
MCI- PN 4. COM
board
5. 4 x USB 2.0
l.c
6. ETHERNET 1
7. ETHERNET 2
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.61
SITRAIN Training for
Automation and Drive Technology
@
Interfaces The industrial PC SIMOTION P350 has the following interfaces:
(1) DVI/VGA: DVI/VGA connection for CRT or LCD monitor with DV interface.
A VGA monitor can be connected via a DVI/VGA adapter.
(2) CompactFlash card: Slot for a CompactFlash card
er
(5) 4 x USB 2.0: 4 ports for USB devices (only 2 ports can be simultaneously
used as high current)
(6) ETHERNET 1: RJ45 Ethernet connection for 10/100 MBit/s
s
Operator panels SIMOTION P350 can be connected to the following operator panel versions:
• 12" with membrane- type keys
• 12" for touch sclureen operation, and
ne
Panel PC A panel front can be remotely connected up (30 m) using the Panel PC Remote
Remote Kit Kit. The greater flexibility in terms of location allows the SIMOTION P350 to be
l
transmission between SIMOTION P350 and SIMOTION panel front via DVI-D
(graphic signals) and USB cable (key signals).
om
• SCOUT
PROFIBUS- DP_1 (PROFINET)
PROFIBUS- DP_2
l.c
iso-
chronous
Distributed
I/O
Distributed
ai
I/O
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.62
Standard drive
Communication Board. This means that the PROFIBUS version can support
both PROFIBUS and PROFINET on the same PC.
to PROFINET PROFINET IO network via the integrated communication board MCI-PN. From a
PROFINET perspective, the SIMOTION P350 thus assumes the role of a
PROFINET IO controller.
To enable it to communicate with other PROFINET controllers, the
SIMOTION P350 can be configured as both a PROFINET controller and a
ne
Connecting A PG can be connected to the SIMOTION SCOUT tool via the onboard
a PG PROFIBUS/MPI (Multi Point Interface) interface (CP5611-compatible) of the
integrated Ethernet or PROFINET interface (MCI-PN board) of the P350.
ca
HMI components To visualize the various processes, Software WinCC flexible or an OPC-
interface can be directly installed on the P350.
Alternatively, additional HMI components - just same as a PG - can be
connected via the onboard PROFIBUS/MPI or Ethernet-/PROFINET interfaces.
om
l.c
ai
X1: PCI bus
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.63
SITRAIN Training for
Automation and Drive Technology
@
MCI- PN board The MCI PN Communication Board for SIMOTION P350-3 enables connection
to a PROFINET IO network. This means that in terms of PROFINET,
SIMOTION P350-3 is a PROFINET IO controller that offers the following
functions:
er
PROFINET eASIC, ERTEC400. The optimal topology (line, star, tree or ring)
can therefore be constructed without the need for additional external switches.
ca
SIMOTION P320
Embedded PC technology
Intel Core2 Solo 1.2 GHz, 800 MHz Front Side Bus
om
CompactFlash card with 4GB as a replacement for a
hard disk, without any rotating parts, no fan
Enhanced Write Filter (EWF), in order to avoid
unnecessary accesses to the CF card
Space saving installation versions:
Rail mounting, panel mounting,
l.c
book mounting, front book mounting
98% of the performance of the P350- 3
Connections:
DVI
ai
3 x ports for PROFINET
4 x USB 2.0
SIMOTION
COM
The embedded PC for motion controil has no parts that can wear or rotating
parts such as hard disks or fanss. Integrated monitoring functions for battery,
temperature and program ex ecution are available. LEDs at the front indicate
operating states, therefore simplifying self-diagnostics. The elimination of
moving parts, such as the@ hard disk and fan, means that the SIMOTION P350
r.s
has a higher degree o f immunity to shock and vibration and therefore is more
rugged when compaured to conventional systems.
Using an Enhanced lWrite Filter (EWF) frequent write access operations from
Windows to thge "hard disk" (CF card) are avoided. Information is only written to
the "hard disk" (CF card) with explicit commands. This reduces the number of
ne
write cyclloes and the same time protects against accidental changes, e.g.
during commissioning, so that there are no undesirable effects to the system.
This means that when the embedded PC is restarted, a functional system is
always loaded from the CF card.
The integrated power unit buffers brief power failures. Process data (retain data)
ca
are saved in the buffered SRAM memory – even when the power suddenly fails.
All of the components used in the system are designed for 24 hour continuous
operation at temperatures extending from 0 up to +55 °C. The latter is
applicable for the recommended rail mounting type; for other mounting versions
such as panel, book and front book mounting, the upper limit is +45 °C.
om
l.c
4 x USB 2.0
24 V DC 1 x COM
power
ai
supply
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.65
SITRAIN Training for
Automation and Drive Technology
@
Connection SIMOTION P320 fulfills the highest performance requirements and can be
options simply integrated into an overall solution thanks to its flexible connection
options.
• 4 USB high current interfaces, for example to connect a keyboard, USB stick
er
or printer
• 1 COM interface: Using this serial interface, components generally used
in the automation environment can be connected.
ez
Kit. The greater flexibility in terms of location allows the SIMOTION P320 to be
positioned in non-critical areas of a plant (e.g. in a control cabinet). Signal
transmission between SIMOTION P320 and SIMOTION panel front via DVI-D
(graphic signals) and USB cable (key signals).
ca
om
USB devices, e.g.
keyboard, USB Security
stick, printer etc.
PROFINET
l.c
Distributed
I/O
SIMOTION C
ai
SIMOTION SCOUT
SIMOTION
Drive systems,
e.g. SINAMICS S120
PROFINET- ASIC ERTEC 400. This means that individual network topologies,
for example line, star or tree-type structures can be configured without requiring
any additional, external switches.
SIMOTION P320 can be simultaneously operated as PROFINET IO controller
ez
Ethernet In addition to the Profinet ports, there is also a separate Ethernet interface
(10/100/1000 Mbit/s), which is available as alternative to connect various PC-
based systems (databases, etc.).
Wireless communication using Industrial Wireless LAN is also possible via this
Ethernet interface or via PROFINET. This means that requirements can also be
fulfilled, where the SIMOTION device is installed remotely from the operator
control location, example for a control room of a wind turbine system.
om
l.c
SIMOTION P state
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.67
P350
SF (red) This LED indicates a system error has occurred on the SIMOTION device.
5V DC(green) This LED indicates that the power supply ism ready. The P350 power supply is
operating fault-free when the LED is lit.
ez
RUN (green) Green flashing (2 Hz): Select the si"RUN" operating state until this state is
reached.
r.s
Yellow flashing (2 Hzu): Select the "STOP" operating state until this operating
ne
state is reached.
SU/PF (STOP U)
Yellow: SIMOTgION RT is in STOP operating state.
Yellow flalshing (2 Hz): Select the operating state STOPU until this operating
ca
state is reached.
BUS1F/ BUS2F
Yekllow. STOP U state is active. The technology packages are active.
This LED indicates an error at the associated PROFIBUS interface.
Hard disk
om
• TPs • Diagnostics
RAM to ROM
• User buffer
data • System retain
• TPs
variables
• User Switch on
data • User
retain
l.c
variables
• Baud rate
• PROFIBUS RAM to ROM
• Baud rate
addresses
• PROFIBUS
• Retain Switch on • System addresses
variables
ai
variables • IP addresses,
Booting
• SIMOTION etc.
• Kernel
kernel
SIMOTION
Hard disk/CF card
MC-SMO-SYS_04.68
Non-volatile
data
Download The following data are transferred from the SIMOTION SCOUT engineering
er
system using the menu command: Download into the "volatile data" area of the
SIMOTION P:
• Configuration data
ez
• Programs
• Parameter assignments
• Technology packages
r.s
Booting
The SIMOoTION kernel is loaded to the RAM of the SIMOTION P350 when the
SIMOTIlON P boots.
Switch on Aftekr the SIMOTION P350 is switched off, the contents of the "volatile data"
ca
area are lost. When the SIMOTION P350 is switched on, the technology
packages and the user data are transferred from the virtual memory card (NT file
system) to the "volatile data" area.
Save SIMOTION P The "Save SIMOTION P" command of the SIMOTION P State application saves
d
the image of the virtual memory card to any data medium. The "Restore
SIMOTION P" command of the SIMOTION P State application restores the
image of the virtual memory card to an arbitrary data carrier.
Before starting this operations, the SIMOTION kernel must be exited.
om
P350/P320
Real-time clock and retain area:
Retain area realized using a static RAM
Buffered using a Li battery, buffer time > 3 years
D4x5/D4x5-2
l.c
Real-time clock and retain area: • Diagnostics buffer
For the D4x5, the retain area is realized using
static RAM (), buffered using a Super-Cap: Buffer • System retain data
time is typically 5 days (absolute encoder offset,
absolute encoder overflows,
Optional battery/fan module:
ai
etc.)
Buffer time > 3 years
• Current data values of user
Retain area for D4x5-2 is realized using retain variables
maintenance-free NVRAM
• Baud rate
SIMOTION
_savePersistentMemoryData() backs up the
retain area on CF card
POWER ON, the clock resumes at the time at which POWER OFF occurred.
When the C2xx is reset to the default setting, the clock is also reset to the
"default setting upon delivery".
The other data are buffered using an integrated flash. When the power fails, the
ez
data are copied from the RAM memorey into this flash. At the next power on, the
data are written back to the RAM.
For the P350/P320, the bufferi ng of the real-time clock and/or the SRAMs with
SIMOTION P
the retain data is realized us@ing a 3V lithium battery. The battery is also
r.s
responsible for buffering the data in the BIOS of the PC. The typical lifetime
exceeds three years. Each time SIMOTION RT is correctly exited, the retain
data are copied tou the hard disk (P350)/ CF card (P320)
The 3V lithium balttery is monitored at two levels:
ne
• SIMOTION kernel
om
• TPs Download/ • Kernel
• TPs
• Programs switch on • TPs
...
RAM to ROM • Configuration data
(project value) Copy current • Configuration data
data to RAM (current data values)
• Diagnostics buffer • Programs
... • Programs
• PROFIBUS, etc.
IP comm. config. RAM
l.c
memory
• system retain Switch on RAM disk Do
data wn
loa • PROFIBUS and
- absolute encoder d/
offset, ... IP comm. config.
- last OS, ... • Diagnostics buffer
ai
_savePersistentMemoryData()
• User retain • System retain
variables (current variables
data values) • User retain
SIMOTION
USER/SIMOTION/
PMEMORY.XML
Date:
File:
03.01.2013
MC-SMO-SYS_04.70
Retentive
data
variables
(current data values)
When the control boots, the file contents are copied back to the SRAM under the
following conditions:
• SRAM content lost due to a discharged battery (no buffering). In this case,
the entire contents of the SRAM are restored from the file.
ez
• After an overall reset. The components of the SRAM affected by the general
reset are restored from the file. The components involved in the overall reset
especially include:
- Absolute encoder offset and absolute encoder overflows of axes
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.71
SITRAIN Training for
Automation and Drive Technology
@
Note The following pages either contain additional information or are used as
reference to complete a specific topic.
om
XML file
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.72
SITRAIN Training for
Automation and Drive Technology
@
Backing up and From SIMOTION SCOUT Version V3.1, there is an option of backing up and
restoring restoring current data values of user retain variables, retain variables of TOs
variables (for example encoder overflows, absolute encoder offset, etc. as well as unit
variables of a project saved using the system functions_saveUnitDataSet() or
er
This function writes the current data vaelues of the variables into the
correspond-ing XML files, which are saved in thie folders for the individual ST
units.
Backing up variables 1. Select the device or the program in the project navigator and in the context
r.s
the backup filesg should be saved and confirm with "OK". The selected
variables are backedo up in the target folder on the data medium.
Restore 1. Seelect the device or the program in the project navigator and in the
variables context menu, select "Restore variables".
ca
om
yellow (2 Hz)
Backup completed
-> RUN- LED flashes green (2 Hz) and D4x5-2
the SF- LED is continuously lit D4x5
DIAG button
l.c
(Position 13, hex: D)
ai
SIMOTION
Siemens AG 2013. All rights reserved.
Service selector switch gm
Date:
File:
03.01.2013
Mode selector switch
MC-SMO-SYS_04.73
SITRAIN Training for
Automation and Drive Technology
@
SRAM data From V4.1 SP2 there is the option of backing up the content of the SRAM with the
service selector switch (only SIMOTION D) or PSTATE (only P350) or using an INI file
on the memory card. The PMEMORY.XML file backed up in this way is not saved in
the directory: "USER/SIMOTION", but in the directory: "USER\ SIMOTION\ HMI
er
\SYSLOG\DIAG".
The files can either be read out of the CF card using a card reader, or using IT DIAG or
FTP, loaded from the storage medmium.
ez
Diagnostics data
In addition to storing the retain data and ethe data of the actual diagnostics buffer in
the PMEMORY.XML file, in this icase, additional files with the actual diagnostics buffer
content "DIAGsBUF.TXT", the currently existing TO alarms
r.s
- For D4x5: set the left-hand rotary switch (SIM/NCK) to position "13"
(hex: D).
For D4x5- 2, as an alternative to the service selector switch, the DIAG-button
can also be used. It is sufficient to just press it briefly.
- For D410: DIP switch "7" to ON
ca
- For SIMOTION P350 using the P state (menu command: Options ->
Set Diagnostic Switch).
The status LEDs display the backup process as follows:
- Backup in progress STOP LED and SU/PF LED flash yellow (2 Hz)
- Backup complete RUN LED flashes green (2 Hz) and SF LED lights
up continuously
2. After the backup has been completed, the SIMOTION module can be
switched off and the CF card removed.
om
(Position 13, hex: D)
Procedure 2:
l.c
Generate the text file "SIMOTION.INI"
with content "DIAG_FILES=1"
Copy the "SIMOTION.INI" text file into the
root directory of the data storage medium
ai
Switch off the SIMOTION control and switch
on again — or press the RESET button
Wait until booting has been completed
SIMOTION
(hex: D)
- For D410: For D410: DIP switch "7" to ON
2. Switch off the D4xx and then switch on again (RESET button)
ez
3. Wait for booting to be completed. The diagnostics data and non-volatile data
is backed up to the CF card when powering up, provided that this is still
possible and is not prevented by HW defects, for example.
4. Once the backup has been completed, switch off the D4xx.
5. Remove the CompactFlash card and reset the service selector switch back
r.s
Procedure 2 Saves the INI file in the root directory of the data storage medium (SIMOTION
C/P/D)
ne
is switched off.
5. Switch on and wait for the unit to power up.
When powering up, diagnostic data and non-volatile data are backed to the
data storage medium, if this is still possible, and is not prevented e.g. as a
result of a hardware defect.
6. Once the backup has been completed, switch off the SIMOTION device.
Procedure:
Establish an HTTP
connection to the
SIMOTION device
om
using Internet Explorer:
http://192.168.0.1/
Select
"Diagnostics“
Select
l.c
"Diagnostic files“
Call the function
"Create general diag-
files "
ai
Call the function
"Create html diagfiles"
SIMOTION
Call the function
"Get diagnostic files"
Procedure In order to establish a connection to the HTML pages of IT DIAG using Internet
Explorer, proceed as follows:
1. Start Internet Explorer and in the address line enter: http://192.168.0.1 (the
IP address refers to the control system being used for the exercise and if
ez
5. Select the "Create html diagfiles" button. This backs up the HTML diagnostic
pages to the data storage medium. Only those pages are backed up, which
are listed in the file DIAGURLS.TXT in the directory
...\USER\SIMOTION\HMI\SYSLOG\DIAG.
6. The "zip all Diagfiles" and "Get diagarchive" buttons allow the diagnostic files
ca
to be compressed and the zip archive loaded into the connected PG/PC
7. The "Delete diagnostic files" button allows all of the files saved in the
directory...\USER\SIMOTION\HMI\SYSLOG\DIAG to be deleted
Note The diagnostics data and the non-volatile data are, for SIMOTION D, C, on the
CF card/MMC in the directory: .\USER\SIMOTION\HMI\SYSLOG\DIAG.
For SIMOTION P, the files are saved on the hard disk in directory:
F:\SIMOTION\USER\CARD\USER\SIMOTION\HMI\SYSLOG\DIAG
om
text form
TOALARMS.TXT text file with the existing
TO alarms. Only TO IDs,
alarm numbers and HEX
auxiliary values
HTML pages If the diagnostics data are
l.c
backed up, then the URLs are
requested from the text file
(DIAGURLS.TXT)
and saved as HTML pages
ai
Other files All other files saved in the
directory are only relevant for
technical support.
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.76
SITRAIN Training for
Automation and Drive Technology
@
Archiving the data The diagnostics data and the non-volatile data are on the CF card or MMC in the
directory: \USER\SIMOTION\HMI\SYSLOG\DIAG
When requested, these files can be transferred to Technical Support. With a
CompactFlash Card/MMC, diagnostic data is read out via a standard card
er
Note: The TO alarms are only created if diagnostic data has been created during
operation (STOP/STOPU/RUN).
HTML pages If the diagnostic data is backed up, the URLs are requested from the text file
(DIAGURLS.TXT) and stored as HTML pages together with their content.
ne
Note: The HTML pages are only stored if diagnostics data is created during
operation (STOP/STOPU/RUN).
Other files All other files saved in the directory are only relevant for technical support.
Note
is realized in the backup file "PMEMORY.XML". in the directory
"...USER/SIMOTION"
Storing non-volatile data using T DIAG, the service selector switch or INI file is
realized in the backup file "PMEMORY.XML" in the directory
"...\USER\SIMOTION\HMI\SYSLOG\DIAG"; this means in a directory other than
is used with the system function _savePersistentMemoryData.
Procedure:
simotion
Establish an FTP
connection to the simotion
SIMOTION device using
om
Windows Explorer:
ftp://192.168.0.1/
Log on using the menu
command:
File -> Log on as...
l.c
Username: "simotion"
password: "simotion"
Copy the files from the
target device to the local
ai
hard disk
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_04.77
SITRAIN Training for
Automation and Drive Technology
@
Overview Using the FTP protocol (File Transfer Protocol) diagnostic files can also be
backed up from the target system to the local hard disk. The FTP protocol is
supported by every commercially available Internet browser (e.g. Internet
Explorer).
er
Procedure To establish an FTP connection using Internet Explorer to the target system,
proceed as follows:
1. Start Windows Explorer and in the address line enter: ftp://192.168.0.1 (the
ez
IP address refers to the control system being used for the exercise and if
required must be adapted).
An FTP folder error is displayed two to the missing access authorization.
2. Acknowledge the FTP folder error with the "OK" button. The MS Windows
r.s
Explorer is opened.
3. Select the menu command: File -> Log on as ..... The "Log on as" dialog is
opened.
4. In the input line "Username", enter "simotion" and in the input line
"Password" also enter "simotion", and confirm using the "Log on" button.
ne
The file system of the target system, i.e. the CF or MMC card is displayed.
5. Navigate to the required directory and copy the files from the target system
to the local hard disk
6. After copying has been completed, the Internet Explorer can be closed as
ca
usual.
Procedure:
Insert the CF card into the D4xx module
Set the service selector switch to position "1"
Switch-on the power supply
om
Wait for the system to power up,
the retain area is then restored from
the "PMEMORY.XML" file D4x5-2
D4x5
l.c
Restoring
retain data
(Position 1, hex: 1)
ai
SIMOTION
Siemens AG 2013. All rights reserved.
Service selector switch gm
Date:
File:
03.01.2013
Mode selector switch
MC-SMO-SYS_04.78
SITRAIN Training for
Automation and Drive Technology
@
Procedure To restore non-volatile data, for example after a CPU has been replaced,
proceed as follows:
1. Insert the CF card into the new D4xx module (the D4xx must be in
a no voltage condition)
er
2. Set the service selector switch to the "Delete non-volatile data" position
- For D4x5: set the left-hand rotary switch e(SIM/NCK) to position "1"
- For D410: Set the DIP switch S5 to m"ON".
3. An unbuffered power-up is performeed, this means that all retain data
ez
4. Aftero powering up, switch off the power supply and set the service selector
lswitch back to the initial position.
kIf there are several "PMEMORY.XML" files on the CF card, then the
following priority sequence applies when restoring data:
Priority
ca
• /USER/SIMOTION/PMEMORY.XML
• /USER/SIMOTION/PMEMORY.BAK
• /USER/SIMOTION/HMI/SYSLOG/DIAG/PMEMORY.XML
Note Using the "OVERALL RESET" function, the system retain and user retain
variables can be restored, however not the diagnostic buffer content and the
communication configuration (see above).
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Connecting Electrical Drives ............................................................................................................ 4
Symbolic Assignment Between Control and Drive ............................................................................ 5
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.2
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Position Controller Optimization with Precontrol and DSC ................................................................ 28
Dynamic Adaptation for Synchronous Axes ...................................................................................... 29
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.3
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Significance of the Service Display ................................................................................................... 52
Technological Alarms ....................................................................................................................... 53
er
For example
....via PROFIBUS-DP
MASTERDRIVES
MC
om
... via PROFINET
SINAMICS
S120
l.c
... via analog or stepping
motor interface
SIMODRIVE
611U
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.4
SITRAIN Training for
Automation and Drive Technology
@
Interface to the The functional interface to the drive is the speed setpoint interface.
drive Digital as well as analog, electric drives can be directly connected to a SIMOTION
C2xx. For SIMOTION P350 and SIMOTION D4x5, digital drives can be directly
connected via PROFIBUS or PROFINET – and analog drives via ADI4 or IM174.
er
With connection via PROFIBUS or PROFINET all data between the drive
Drives on system and SIMOTION are exchanged viam this medium. Standard message
PROFIBUS/ frames are used to enter the setpoint for digital drives connected to PROFIBUS as
well as the feedback data from the encoder.
ez
PROFINET
It goes without saying that the drsiive must also support the selected message
frame type. The type of select ed message frame defines the maximum supported
functionality of an axis. It goes without saying that in SIMOTION, the axis can only
execute the @functions, which the connected drive also supports.
Axes that are operat ed in the positioning mode must be connected via the
r.s
analog dlrives can be directly connected at C2xx or via PROFIBUS at the ADI4
ore IM174. In this case the speed controllers are supplied with +/- 10 V via the
Analog drives/ anaklog outputs.
stepping motors The position actual values can either be taken from the encoder connected to
SIMOTION C or ADI4, or from the pulse encoder emulation of the converter. The
ca
corresponding digital I/Os are available for feedback signals and controller enable
signals.
From V3.2 and higher, stepping motors can also be directly connected to the
C2xx.
Advantages
Communication between an axis and drive is
automatically set up (PROFIdrive axis message
frames as well as addresses)
Message frame extensions and interconnections
om
in the drive are dependent on the selected TO
technology (e.g. SINAMICS Safety Integrated)
Axes and drives can be independently
configured from one another
l.c
Communication connections are automatically
established when configuring I/O on
SINAMICS I/Os
The assignment is kept even for address
ai
offsets
Activating/deactivating via the menu command:
Interconnection control
SIMOTION
Project -> using a symbolic assignment
New control
The symbolic assign ment is now realized using a new interconnection control. It
is supported byu technology objects – axis, external encoder, cams, cam track
and measuringl input. Further, the onboard I/Os of the devices SIMOTION D,
ne
can be selected in the control. In this case, only the pass-capable elements are
listed with symbolic identifiers; whereby even the terminal designations of the
modules are listed.
Note If a project is upgraded to SIMOTION device firmware version V4.2 SP1, then
the symbolic assignment can be subsequently selected. The assignments are
automatically determined from the logical addresses. Individual TOs and DOs
can be excluded from the symbolic assignment (refer to the next page)
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.6
SITRAIN Training for
Automation and Drive Technology
@
PROFIBUS/ With the coupling via PROFIBUS/PROFINET, all information between the drive
PROFINET system and SIMOTION is exchanged using standard message frames
coupling according to the PROFIDRIVE profile V4.0. The structure and type of the
information being exchanged uniquely defines the number of the message
er
frame.
Message frame In the "Settings for ....." dialog, you can switch over to automatic or user-defined
selection
ez
frame extensions and address adaptations are performed by the syestem when
"Save and compile" is selected.
• Manual message frame configuration: With this setting, you select the
PROFIdrive message frame and the message frame extension yourself, but
leave the address adaptation to the system (select. "Permit automatic address
adaptation").
Standard message frame 1 (16 bit nset) Standard message frame 2 (32 bit nset, without encoder)
om
PSD number 1 2 3 4 5
Setpoint CW 1 NSET_B CW 2 Enc1_CW
PSD number 1 2 3 4 5 6 7 8 9
Actual value STW 1 NACT_B STW 2 Enc1_STW Enc1_XACT 1 Enc1_XACT 2
l.c
Standard message frame 3 (32 bit nset, with encoder)
PSD number 1 2 3 4 5 6
Setpoint CW 1 NSET_B CW 2 Enc1_CW Enc2_CW
ai
PSD number 1 2 3 4 5 6 7 8 9
Actual value STW 1 NACT_B STW 2 Enc1_STW Enc1_XACT 1 Enc1_XACT 2
. . .
SIMOTION
Standard message frame 4 (32 bit nset, with 2 encoders)
03.01.2013
MC-SMO-SYS_05.7
11 12
Enc2_XACT 1
13 14
Enc2_XACT 2
Standard Is designed for positioning applications. It also has an encoder control word,
message frame3 an encoder status word and a 4-word interface to a measuring system.
SIMOTION functions, such as reference point approach and measuring input,
can be implemented via this encoder control word.
ca
In SIMOTION, this message frame can be used for the "positioning axis"
function.
PSD number 1 2 3 4 5 6 7 8 9
Actual value STW 1 NACT_B STW 2 Enc1_STW Enc1_XACT 1 Enc1_XACT 2
om
PSD number 1 2 3 4 5 6 7 8 9 10
Setpoint CW 1 NSET_B CW 2 E1_CW E2_CW XERR KPC
PSD number 1 2 3 4 5 6 7 8 9
Actual value STW 1 NACT_B STW 2 E1_STW E1_XACT 1 E1_XACT 2 . . .
l.c
10 11 12 13 14
Standard message frame 6 (32 bit nset, . . . E2_STW E2_XACT 1 E2_XACT 2
with 2 encoders + DSC)
PSD number 1 2 3 4 5 6 7 8 9 10
ai
Setpoint CW 1 NSET_B CW 2 MOMRW E1_CW XERR KPC
PSD number 1 2 3 4 5 6 7 8 9 10
Actual value STW 1 NACT_B STW 2 MSGW E1_STW E1_XACT 1 E1_XACT 2
SIMOTION
Siemens AG 2013. All rights reserved.
gm
SIEMENS message frame 105 (32 bit nset, with 1 encoder + DSC + torque reduction)
Date:
File:
03.01.2013
MC-SMO-SYS_05.8
SITRAIN Training for
Automation and Drive Technology
@
Standard This message frame is designed for connecting a second encoder. It is used in
message frame 4 SIMOTION for coupling positioning axes with a 2nd measuring system.
Standard Is intended, just like standard message frame 3 for positioning applications.
er
message frame 5 However, it has two additional double words in the setpoint for transferring the
following error and the servo gain (KPC gain).
In SIMOTION, this extension is required for the DSC functionality (dynamic
servo control). When this function is selected, the dynamic part of the position
ez
controller is transferred from SIMOTION to the drive and calculated with the
sampling frequency of the speed controller. As part of this process, the following
error (XERR) and servo gain KPC are transferred from SIMOTION to the drive.
Due to the higher sampling frequency in the drive, the position control can now
be operated with a higher servo gain.
r.s
Standard Like standard message frame 4 with DSC, or standard message frame 5 with a
message frame 6 2nd encoder. This is used in SIMOTION for coupling positioning axes with a 2nd
measuring system.
ne
SIEMENS SIEMENS message frames 102 to 106 are created from the associated
message frame standard message frames 2 to 6 by inserting an additional word in the setpoint
102 . . . 106 (after control word STW2) or a word in the actual value (after status word
ZSW2).
ca
This extension is required for the dynamic torque reduction at the drive. The
torque limit is specified in the setpoint; in the actual value the drive among
others returns whether the torque limit (current limit) was reached or not.
This extension is used in SIMOTION to implement the functions "Travel with
torque limit" and "Travel to fixed endstop".
MICROMASTER/
ADI4 SINAMICS SIMODRIVE MASTERDRIVE
SINAMICS G120
Analog Posmo
S120 611U MC MM410/420/440
drives S/CA/CD
PROFIBUS DP standard
Isochronous on PROFIBUS DP(DRIVE)
om
interface slave
1ms, 0.5 ms
DP cycle clock 1ms, 0.5 ms granular 3 ms
granular
Speed-controlled
TO connection Speed-controlled
- axis, positioning, synchronism, cam
axis
l.c
Preferred
3 105 105 5 1
message frame
ai
configuration
Drive ES
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.9
SITRAIN Training for
Automation and Drive Technology
@
Drives on The following applies to drives connected to PROFIBUS DP: On an isochronous
PROFIBUS MC PROFIBUS MC, only drives can be operated in the isochronous mode that also
comply with PROFIDRIVE-profile V4.0.
All other drives (standard slaves) can be connected to the isochronous
er
• SINAMICS S120
• SIMODRIVE 611U
• SIMODRIVE POSMO CA
• SIMODRIVE POSMO CD
r.s
• SIMODRIVE POSMO SI
• ADI4
• MASTERDRIVE MC
• MASTERDRIVE VC
ne
• MICROMASTER 420/430/440
• COMBIMASTER 411
MICROMASTER 420/430/440 and SINAMICS S120 can be configured,
assigned parameters and commissioned directly with SIMOTION SCOUT.
ca
om
System tions ration
variable data Alarms Configu-
Alarms
ration
data
Encoder System
func-
System tions Axis
Configu- variable System
System Alarms
l.c
ration func- func-
data tions System tions
variable
Alarms
Measuring
Configu-
input
ration
ai
data
System Alarms
variable Output
cam System
func-
SIMOTION
Siemens AG 2013. All rights reserved.
gm
System
variable
Date:
File:
Alarms
03.01.2013
MC-SMO-SYS_05.10
tions
• Configuration data: Using configuration data, the created objects are adapted
to the requirements of the specific task or application.
• System data: In the system data, a TO provides information about its present
state. The system data of an axis TO will therefore display information such
r.s
axis TO, there are powerful system functions available for positioning,
reference point approach, stopping etc. of an axis.
For example, the motion sequences of an axis are specified using motion
commands issued to that axis. The user program can be used to query the
motion status at any time and to control specific aspects of the motion.
ca
om
axis
Positioning axis
• Positioning via
Speed- • Positioning command or via profile
controlled input (velocity, position)
axis • Traversing to a fixed endstop
l.c
Path Synchronous axis
interpolation • Following axis in gearing or
axis camming operation
ai
Path axis
• Linear, circular and polynomial
interpolation in 2D and/or 3D
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
•
03.01.2013
support of various kinematics
MC-SMO-SYS_05.11
SITRAIN Training for
Automation and Drive Technology
@
Axis TO The axis motion control functionality is implemented in SIMOTION using the
technology object (TO) axis. When creating an axis with SIMOTION SCOUT, a
distinction is made between the following axis technologies:
• Speed-controlled axis: Motion control is performed using a speed setpoint
er
Using
parameter
screens
om
l.c
ai
Using
expert list
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_05.12
SITRAIN Training for
Automation and Drive Technology
@
Configuration You will need to work through several steps before you can use technology
of TOs objects. In the first step, the configuration creates an instance of the TO. A TO is
configured using the SCOUT engineering system. You are supported by the
corresponding Wizards (parameterizing screen forms) to create an object and
er
configure it.
Inserting an axis instance is implemented in the Project Navigator in the
directory Axes, by double-clicking on them entry "Insert axis". The axis wizard
then automatically starts and helps the user create and configure an axis.
ez
Configuration
om
Associated drive
l.c
Associated encoder
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.13
SITRAIN Training for
Automation and Drive Technology
@
Basic configuration The basic properties of the axis are defined in the basic configuration of an axis.
The following settings can be adapted in this basic configuration.
Technology/processing cycle: The execution level for axis interpolation is
defined in this selection box. The following can be selected:
er
From V4.2 and higher, for axes conneected to PROFINET (these are
generally hydraulic axes) the following level is also available:
• fast IPO
• fast servo
r.s
Axis type: Under this dial@og, axis type changes can be made (linear or rotary
and electrical, hydrau lic or virtual).
In addition, controul options can be adapted, for example, standard or standard
+ pressure/force.l
ne
Further, settings can be made to withdraw enable signals for critical TO alarms
(refer to the next page).
Further, settings can be made for extended safety functions that are integrated
in the drive.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.14
SITRAIN Training for
Automation and Drive Technology
@
Settings to the Here, there is the option, for technology alarms with local alarm response
drive RELEASE_DISABLE (withdraw enable), to specifically withdraw the enable
signals in STW1 of the corresponding standard message frame.
This means, for example, when implementing a brake control in the drive, for
er
Stop modes for For a digital drive coupling, the Drive Technology profile provides the following
PROFIdrive stop modes:
• STW1 bit 0 = 0 (OFF1): Stop with ramp.
The drive travels with a speed ramp with adjustable deceleration to zero
ne
velocity. The stopping process can be interrupted and the drive switched on
again. After stopping, the pulses are suppressed and the status changes to
ready to start.
• STW1 bit 1 = 0 (OFF2): Coast down
The drive immediately goes to pulse suppression and the status changes to
ca
switch-on inhibit.
• STW1 bit 2 = 0: Quick stop
The drive travels to zero velocity at the torque limit. The stopping process
cannot be interrupted. After stopping, the pulses are suppressed and the
status changes to switch-on inhibit.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.15
SITRAIN Training for
Automation and Drive Technology
@
General After the configuration the next step is to set the parameters for the technology
object. Parameterization involves defining numerous functions in detail.
Like the configuration, parameterization is carried out using the SCOUT
engineering system. Below the object in the project navigator window, there are
er
the appropriate entries, via which the individual screen forms can be called for
parameterization (making the appropriate parameter settings).
The result of the parameter assignment ism stored in configuration data and
ez
system variables for the object and included in the download to the target
system.
In addition to access to the con figuration data and system variables via the
Expert List wizards and parameter screen forms, you can also access the data directly via
an expert list. The expert @list for an object can be called via the entry "Expert
r.s
etc. From the user perspective, such data can only be read. Using system
variables that can be written to, a basic parameterizing interface to the TO is also
implemented. These include, for example, velocity override, preassigned values
(default values) of velocity, acceleration etc. for traversing commands
• User-defined lists: From V4.0 and higher, there are user-defined expert
lists and the option of calling default lists with the most important configuration
data and system variables.
om
l.c
Load gear: Measuring gear:
ai
transmission ratio transmission ratio
Automatically adapted; if
TypeOfAxis.DriveControlConfig.dataAdaption = YES
SIMOTION
Siemens AG 2013. All rights reserved.
gm
TypeOfAxis.NumberOfEncoders.Encoder_1.dataAdaption = YES
TypeOfAxis.NumberOfEncoders.Encoder_1.encoderMode = PROFIDRIVE
Date:
File:
03.01.2013
MC-SMO-SYS_05.16
SITRAIN Training for
Automation and Drive Technology
@
General • After the configuration the next step is to set the parameters for the technology
object. Parameterization involves defining numerous functions in detail.
• Like the configuration, parameterization is carried out using the SCOUT
engineering system. Below the object in the project navigator window, is a row of
er
system.
Mechanical • When controlling a drive by meanssi of the "Axis" technology object, SIMOTION
Properties
uses only the speed setpoint interface and not the positioning interface. The
drive therefore has no information about traversing paths, etc. All mechanical
r.s
and the selectivity associated with torque reduction of the SINAMICS S120 from
v2.6.2) are trgansferred into the TO configuration when the CPU boots and do
not have to obe manually set.
• For a "Copy lcurrent data to RAM" or "Copy RAM to ROM", in a dialog, it is
possibele to load the adapted values to the PG and therefore into the offline
ca
projkect.
• .If required, the adaptation can be activated in the expert list using the following
Configdata:
• TypeOfAxis.DriveControlConfig.dataAdaption = YES
• TypeOfAxis.NumberOfEncoders.Encoder_1.dataAdaption = YES
• TypeOfAxis.NumberOfEncoders.Encoder_1.encoderMode = PROFIDRIVE
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.17
SITRAIN Training for
Automation and Drive Technology
@
Default value for The system always uses the default values if, when calling the system functions,
Dynamic response USER_DEFAULT is specified.
This means that the dynamic values for each axis can be defined centrally just
once and do not have to be re-entered whenever the system function is called.
er
• Acceleration
• Deceleration
• Jerk
• Velocity profile
r.s
• Stopping time
Stopping Time The time specified under Stopping time applies if a moving axis is stopped
via "Emergency stop in upre-defined time", for example.
The velocity prgofile defines the axis response during approach, braking, and
ne
Assign
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.18
SITRAIN Training for
Automation and Drive Technology
@
Hardware Traversing range limits are monitored by means of digital inputs and limit
limit switches switches. Hardware limit switches are always NC contacts and should always
be active outside the permissible travel range. When a limit switch is
approached, a technology alarm is triggered.
er
The logical address of the input which the hardware limit switch for negative/
positive direction of travel is connected to is entered in "Hardware limit switch".
The address must be outside the process image (>= 64). With the bit number,
the input is specified to which the hardware limit switch for negative/positive
ez
"Save and compile" is used to create the necessary message frames between
the CU and SIMOTION.
Maximum In SIMOTION there are two velocity limits. SIMOTION automatically reduces to
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.19
SITRAIN Training for
Automation and Drive Technology
@
Software Software limit switches can be specified and activated. They are activated via
limit switches system variables (Swlimit.State). You can also specify in the "Homing" tab in the
configuration data: Homing.referencingNecessary whether the software limit
switch is always active, or only after referencing/homing:
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.20
SITRAIN Training for
Automation and Drive Technology
@
Acceleration, SIMOTION makes a distinction for acceleration and jerk between hardware
jerk limits in configuration data and software limits in system variables, which, for
example depending on the product, can be easily overwritten from the user
program.
er
Stopping with The set value is effective, if a moving axis is stopped in the "EMERGENCY OFF
pre-parameterized mode" with the setting "Quick stop with actual value-related emergency stop
braking ramp ramp".
Time constant ... From V4.0 and higher, a time constant can be entered for smoothing the
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.21
SITRAIN Training for
Automation and Drive Technology
@
Master value For a synchronous group within a control system, synchronous operation is
coupling via realized taking into account the master value position, the velocity and
actual value acceleration. For distributed synchronous operation, the master value position
and master value velocity are transferred between the master value and
er
Deadtimes, occur when acquiring the actual values through bus communication
in the system and as result of the finite processing duration within the system.
Filtering the From V 4.1, the actual position value for the synchronous operation can be
actual position filtered separately for the extrapolation using a PT2 filter. The filter for the
r.s
position actual value of the axes is set using the option "Filter on the actual
position value" and the two time constants "T1" and "T2".
The filter acts on the actual position for the extrapolation before the
differentiation of the position for the extrapolation velocity.
ne
Filtering the The position is extrapolated based on the filtered or averaged velocity actual
actual velocity value. This filter can be activated using the option "Filter on the actual velocity
value": The time for the average value generation or the PT1 filter time is
entered under "Time constant.
ca
DSC operation
om
IPO
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
Feedforward control
03.01.2013
MC-SMO-SYS_05.22
SITRAIN Training for
Automation and Drive Technology
@
Interpolator The interpolator processes the traversing commands which are issued e.g. from
the user program to an axis. In each IPO cycle it calculates the position setpoint
of the axis while including the dynamic values such as acceleration, velocity etc.
in its calculation. This position setpoint is then entered into the position controller
er
Fine interpolation If there is a different sampling ratio between interpolator and position controller,
the fine interpolator (FIPO)'s task is to generate intermediary setpoints.
ez
For the configuration you can select in the "Fine interpolation" box between no,
linear and constant speed interpolation.
Position control The position controller is responsible for controlling the actual position of the
r.s
determined in this case by the servo gain factor (or more precisely: 1/sg = rise
time). The maximum possible servo gain depends on the dynamic properties of
the drive (e.g. rise time, etc.) and mechanical properties of the axis (moment of
inertia, backlash, etc.) as well as on the set position control cycle (sampling
theorem).
ca
Actual velocity:
motionstatedata.actualvelocity
om
Optimized position control
l.c
Servo gain factor
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.23
SITRAIN Training for
Automation and Drive Technology
@
Optimizing the Prerequisite for optimizing the position controller is that the current and speed
position controller controller have already been optimized for the drive. Then the setpoint and
actual velocity of the axis can be optimized for the position controllers using
trace recording.
er
The axis can be moved via an MCC program or via the function generator of the
trace tool. The axis should accelerate, alternating between positive and negative
velocity. The axis acceleration should be selected so that the current limit is not
reached.
ez
The position control can then be optimized by increasing the servo gain factor.
Good optimization of the servo gain was achieved if the actual velocity follows
the specified setpoint velocity during axis acceleration without any overshoot.
In this case the setpoint and actual velocity/actual velocity and following error of
s
r.s
axis can be recorded in the trace tool via the following system variables:
• <Axis>.motionstatedata@.commandvelocity
• <Axis>.motions tatedata.actualvelocity
• <Axis>.positioniungstate.differencecommandtoactual
ne
means that all values which refer to the actual position/velocity are outdated
compared to the associated values of the position control.
ca
Velocity
* KPC
Interpolator setpoint
balancing nset
Position filter - SA * KV +
om
setpoint servoData.controllerOutput
servoData.followingerror servoData.controllerDifference
Expert mode servoData.symmetricServoCommandVelocity
Symmetrization servoData.symmetricServoCommandPosition
time constant O
sensorData.sensorData[1].actual velocity
sensorData.sensorData[1].position
l.c
Act. position val.
ai
Dead time (transfer on
PROFIBUS, rise time, ...)
SIMOTION
= vTc (velocityTimeConstant)
Date:
File:
03.01.2013
MC-SMO-SYS_05.24
SITRAIN Training for
Automation and Drive Technology
@
Precontrol The conventional position control concept (P controller) always requires a
deviation (following error = FE) between position setpoint and actual position
value. This deviation can lead to unwanted axis behavior, e.g. contour errors, poor
dynamics (performance characteristics during rise time) etc.
er
Delay times Unfortunately, data processing and transfer as well as the rise time of the drive
lead to delay times which have a considerable negative impact on the
conventional position control concept with precontrol.
ne
There is a time lapse which cannot be neglected between supplying the position
setpoint to the following error and returning the first actual position values to the
position control. This delay time is mainly as a result of:
• The dead times for transferring the setpoint/act. value (2xDPcycles + Ti + To)
• Equivalent time for the speed control loop of the drive (approx. 1-5 ms).
ca
If this time delay would not be compensated in one form or another, then the
speed setpoint output to the drive when the axis starts would be too high. This
excessive speed setpoint would result in overshoot and/or unstable performance
characteristics during drive rise time.
The increased speed setpoint is a result of the speed setpoint of the precontrol
and a component originating from the position setpoint supplied to the following
error. The actual value "missing" at the beginning of the motion will inevitably
result in an increase of the following error and therefore output of an additional
speed setpoint.
om
-
PT1- filter Command value
l.c
time time
nact
Extended
ai
Command value
balancing
filter
Actual value
SIMOTION
Mode_2
MC-SMO-SYS_05.25
time
The delay (balancing time vTc) of the input of the position setpoint to the
following error should exactly compensate for the delay in the return of the
actual position. This is the approximately the case if the balancing time vTc is
set to the same value as the calculated delay time Tequiv.
ez
Filter mode In the first version of SIMOTION, a pure PT1 filter was used This type has the
disadvantage, that when accelerating, the delayed setpoints at the output do not
match the characteristics of the actual values returned from the encoder.
r.s
In the initial phase of the acceleration, a PT1 filter already supplies setpoints;
however there are still no actual values from the encoder as a result of the
deadtime in the position control loop. As a consequence, there is a small
positive following error at the output, and therefore an additional and positive
value added to the speed setpoint that is output.
ne
Vice versa, in the final acceleration phase, the actual values of the encoder
system have already been fed back into the position control, while the PT1 filter
is still delaying the setpoints that are applied. As a consequence, in the final
phase, there is a negative contribution added to the following error, and
therefore a negative contribution added to the speed setpoint that is output.
ca
Extended In SIMOTION, an additional filter was integrated, which better matches the
balancing filter characteristics of the actual values returned from the encoder system. Using this
filter (extended balancing filter or Mode_2) the undesirable undershoot or
overshoot issue can, to a large extent, be avoided.
om
KV = 80/s
vTc = 1 ms
Without DSC
l.c
vTc too small
ai
KV = 80/s
sensorData.sensorData[1].actual velocity vTc = 25 ms
servoData.symmetricServoCommandVelocity Without DSC
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.26
vTc too large
With "Mode_2", a dead time + PT1 filter is used, while Mode_1 uses a pure PT1
filter.
Type of fine For selecting the precontrol, constant velocity fine interpolation must also be
ez
Interpolation selected. The type of fine interpolation is set in the dialog "Axis -> Fine
interpolation" in the "Fine interpolator" selection field:
• "Fine interpolator = constant velocity interpolation"
If "No interpolation" or "Linear interpolation" would be selected, undesired speed
r.s
jumps would take place at the drive in the acceleration phase of the axis.
Determining the Then, the start values for the balancing filter time can be determined. These
start values for vTc times essentially depend on whether DSC operation has been selected or not:
• without DSC operation:
ne
Optimizing Then you can proceed to optimize the servo gain Kv for the axis in the usual
vTc manner. However, if an optimum rise time behavior is not achieved, then this
must be compensated by modifying vTc.
• Axis not dynamic enough: In this case, vTc must be reduced. Selecting
vTc to be equal to Tequiv is only a first approximation.
• Axis overshoots: In this case, vTc must be increased.
n set
Position nset (precontrol)
Deceleration Fine interpolation Position Speed Speed
calculation (1 DP cycle) controller filter controller
(interpolator) xset xDiff ndrive
xact,SIMOTION
om
Speed
calculation
3
2 xact, drive
1
l.c
Xact,SIMOTION
Tpc Tpc Tsc
xact,motor
ai
Zero offset
and compensations
Speed controller cycle 125 us
SIMOTION
SIMOTION
Date:
File:
03.01.2013
MC-SMO-SYS_05.27
Drive
in the position control loop. Better dynamic performance is achieved both for the
command variable and for eliminating disturbances.
The structure of the DSC contains 3 branches for the feedback of the actual
position (nos. 1, 2 and 3). The feedback no.2 totally compensates the actual value
ez
Xact, which is transferred from SIMOTION to the drive (no. 1). Therefore the only
relevant feedback of the actual position is branch no. 3.
The DSC structure allows a dynamic switchover between conventional position
control and operation with DSC. All monitoring functions as well as knowledge
r.s
Compensations The DSC function is not only used in the SIMOTION system, but also in all of the
ca
om
motionstatedata.commandvelocity
servoData. precontrolvalue
l.c
sensorData.sensorData[1].actual velocity KV = 200/s
servoData.symmetricServoCommandVelocity vTc = 2.5 ms
with DSC
motionstatedata.actualvelocity
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.28
SITRAIN Training for
Automation and Drive Technology
@
Start value for VTc Using DSC and precontrol, it is only necessary to take into account the
with DSC operation equivalent time constant of the lower-level speed control loop. In this case, delay
times resulting from data processing or transfer are not included in the balancing
time constant.
er
• vTc = rise time of the drive (equivalent time of the speed control loop)
Optimizing The optimum performance characteristicsm during rise time can be achieved by
vTc changing vTc. vTc is set to the optimum value if the actual velocity of the axis
ez
Dynamic * KPC
Interpolator adaptation T1, T2
Sym. n set
and deadtime - SA * KV +
filter
om
Dead time
l.c
Position actual value
ai
Dead time
SIMOTION Date:
File:
03.01.2013
MC-SMO-SYS_05.29
SITRAIN Training for
Automation and Drive Technology
@
Dynamic adaptation If, for the position controller optimization of axes, that will be subsequently
for synchronous operated in a synchronous group, different time constants were set, then the
axes resulting time difference must be compensated; if this is not done, then the
actual axis contours will differ in synchronous operation.
er
In the first case, the position difference eis a sequence of different time delays
when entering the position setpoints into the position control. For example, the
position actual value of an axis insi the constant velocity phase would always be
obtained so that in the position controller the resulting system deviation is equal to
0, i.e. the delayed position setpoint fed in minus the position actual value.
r.s
Further, it must alluways be observed, that either all axes are traversed in the
ne
As resulting total time constant TRes the equivalent time constant of the axis
with the poorest dynamic performance is selected. T1, T2 and/or the dead time
must then be set, so that the resulting equivalent time TRes is identical for all axes
in the synchronous group, i.e.:
Programmed
radius
om
l.c
"good" dynamic response adaptation
ai
"Actual"
radius
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.30
"Poor" dynamic response adaptation
The deviation between the prograemmed and actual radius provides a measure
of the following error (piythagoras). A deviation from a pure circular shape
(rotated ellipse) indicastes different following errors of the two axes when
interpolating and there fore a poor dynamic response adaptation.
A good dynamic perfor@mance adaptation has been achieved, if the actual
r.s
• One of the axes is a real positioning axes, the other axis is a virtual
axis. In this particularu case, the dynamic response of the real positioning axes
ne
is tested. The lbest setting is achieved, if the resulting path is a circle where the
programmed radius is the same as the actual radius.
This ocan only be achieved, if the axis precisely traverses without any follolwing
error even in the acceleration phase.
ca
om
l.c
ai
servoMonitoring.positioningState
SIMOTION
Siemens AG 2013. All rights reserved.
gm
• ACTUAL_VALUE_OUT_OF_POSITIONING_WINDOW
• ACTUAL_VALUE_INSIDE_POSITIONING_WINDOW
• STANDSTILL_MONITORING_ACTIVE
Date:
File:
03.01.2013
MC-SMO-SYS_05.31
SITRAIN Training for
Automation and Drive Technology
@
Positioning At the end of the positioning movement the movement of the axis into the
monitoring pre-defined position is monitored on the basis of a positioning window.
A positioning window and a time interval are used for this purpose.
At the end of position setpoint interpolation, a timer is started with the runtime
er
specified in "Positioning tolerance time". After the timer has expired, the actual
position value and the setpoint position value are compared. If the deviation is
greater than the value specified in the tolerance window "Positioning tolerance
window", then fault message "Fault 50106: position monitoring" is output.
ez
Standstill monitoring monitors the actieual position of the axis at the end of a
Standstill traversing movement. Two times windows and a tolerance window are provided
monitoring for standstill monitoring.
At the end of position setpoint interpolation, if the actual position of the axis has
r.s
reached the tolerance window for position monitoring, a timer is started with the
"Minimum dwell time" runtime. After the time has expired, the standstill
monitoring is active and the motion is considered as having been completed
(MOTION_DONE).
ne
Now, the posglition actual value is compared with the setpoint position. If the
actual position leaves the "standstill window" for longer than the time specified in
"Tolerance time", to hen the error message: "Alarm 50107: Standstill monitoring"
is oultput. If the time intervals for "Minimum dwell time" and "Tolerance time" are
equal to 0, the tolerance position window for standstill monitoring must be greater
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.32
SITRAIN Training for
Automation and Drive Technology
@
Standstill signal For traversing motion of speed-controlled, positioning and synchronous axes,
the standstill signal (motionStateData.stillstandVelocity = ACTIVE) is generated,
if the actual velocity is less than a configured velocity threshold for, as a
minimum, the duration of the delay time.
er
For an Emergency Stop, below this velocity, motion is stopped with setpoint 0
without an emergency stop ramp. If the command with "Attach" is
parameterized, then the transition is realized with the output of the standstill
signal.
ez
r.s
ne
ca
om
Velocity error
monitoring
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.33
SITRAIN Training for
Automation and Drive Technology
@
Dynamic The task of the following error monitoring is to monitor for changes to the
following error following error in the traversing phase. Particularly noticeable changes occur when
monitoring e.g. the axis unintentionally moves against an obstacle.
The following error monitoring on the position-controlled axis is performed using
er
"veloceity actual value" is available at the output. The monitoring function is initiated
if the deviation between the emulated "velocity actual value" and the acktual
velocity value is greater than the value that has been entered under
"Maximum velocity deviation".
The time constant for the PT1 model is set during axis configuration in the
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.34
SITRAIN Training for
Automation and Drive Technology
@
Signal flow The dialogs under the "Signal flow" entry provide a functional view of the closed-
loop control and the parameters of the SIMOTION TO "Axis".
Using the individual screen forms, the path from the setpoint position calculated
by the interpolator and the actual position sensed by the encoder system can be
er
tracked via the position control up to the manipulated variable output. The
variables prepared in the individual intermediate steps, for example positions,
velocities, speed etc., are displayed in the various screen forms.
The names of the associated system variables from the expert list are displayed
ez
at the cursor tool tip (this is important for trace recordings). Further, the
parameter settings (configuration data), relevant for the control, can be directly
entered in the screen forms.
The functional view of the control in SIMOTION provides:
r.s
om
Start axis speed-controlled
Start axis position-controlled
Stop an axis
Reference an axis
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.35
SITRAIN Training for
Automation and Drive Technology
@
Overview To traverse the axes that have been created, what are known as single-axis
commands are available in SCOUT. These commands can be inserted in the
MCC chart via the associated toolbar in the MCC editor.
The group of single-axis commands especially includes the commands for open-
er
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.36
SITRAIN Training for
Automation and Drive Technology
@
Switching axis This command switches the enable signals at the axis. The axis goes into
enables signals the follow-up mode if any of the enable signals are missing. Following enable
signals can be switched.
Position controller enable: The position controller enable activates position
er
control for the axis. You can query the state of the position control using the
system variable <axis>.servoMonitorings.controlState.
The position controller enable is ignored for speed-controlled axes.
ez
Switch drive enable: This checkbox switches the drive enable. You can query
the state of the current drive enable for real axes using the the system variable
<axis>.actorMonitorings.driveState.
Switch pulse enable: This checkbox switches the pulse enable in the drive
module. You can query the state of the current pulse enable for real axes using
r.s
Follow-up mode An axis can be switched into the follow-up mode using this check box. No
motion commands are executed in the follow-up mode. For positioning axes, in
the follow-up mode, the position control is canceled and the position setpoint
tracks the position actual value. After the follow-up mode has been deselected,
the axes must be re-referenced.
ca
Traversing mode The axis can be enabled for position or speed controlled operation via the
traversing mode. In the speed-controlled mode, the axis can be traversed if an
encoder fails.
Remove axis This command automatically removes the position control enable for the
enable selected axis. In addition you can specify whether the drive enable and pulse
enable are to be removed too. In the selection box "Follow-up mode", follow-up
mode for the axis can be activated.
Start
Axis 1
om
Axis 2
Command
Pos(axis1)
¦
buffer
Command
Pos(axis2) buffer
?
Interpolator
Pos(axis1)
l.c
Interpolator
Fine
interpolator
Fine
ai
End interpolator
Position
controller
Position
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
controller
MC-SMO-SYS_05.37
SITRAIN Training for
Automation and Drive Technology
@
General Commands can be issued from all user program tasks of the system. The
execution time of a command at the technology object is the only factor that
determines whether the command is effective.
A technology object does not have a task context, and therefore the priority of
er
the task, which issued the command, has no significance for actually executing
the command. If commands are issued from multiple tasks, the user program
must ensure a consistent sequence of the processing.
ez
Command buffer In order that several commands can be issued to an axis TO, every axis has a
command buffer. This buffer actually comprises four command group-specific
subbuffers, which can buffer a command from the one of the following command
groups
r.s
The interpolator at the axis reads out the command at the command buffer
(possibly in the interpolator clock cycle) and processes it. Commands from
various command groups are, to a certain extent, processed in parallel by the
axis TO.
ca
Position axis
Attach
Attach - delete
pending command
om
Substitute
l.c
Blending
Transitional behavior
ai
Superimpose
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_05.38
SITRAIN Training for
Automation and Drive Technology
@
Transitional If a motion command is issued from a MCC chart and if a traversing motion is
behavior already active, you can specify in the "Transition behavior" parameter how to
process the issued motion command.
• Substitute: The motion specified in the issued command becomes active
er
The setpoint velocity specified in the command for the respective movement
is adhered to at all times.
• Superimpose: The issued motion is executed as a superimposed movement.
Superimposed movements are independent movements that can cancel
each other and can be independently stopped/resumed.
ca
Motion start
om
Acceleration end
l.c
Start of
decleration phase
ai
Setpoint
End of the setpoint
Delay program execution Actual
interpolation
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
Setpoint
MC-SMO-SYS_05.39
Actual
Motion completed,
i.e. position window
reached
completely executed.
• Do not wait: If, for a pos command in an MCC chart, the checkbox for the
option "Delay program execution" is not selected, only when selecting the
transition behavior "Substitute" does the system advance to the next
ez
command.
If "Attach - delete pending command", "Blending" or "Superimpose" is
selected in the transition behavior "Attach", then the system waits until the
issued command has been entered in the command buffer.
r.s
When the option "Wait for program execution" is selected, the following settings
are available:
• Start motion
• End of acceleration
• Start of braking phase
ne
Notes • The full control over the immediate advance after issuing a motion command
ca
Task x
om
POS (axis2,...)
l.c
Task x
Asynchronous execution
(e.g. for BackgroundTask, Start of axis positioning;
ai
IPOSynchronousTask, etc.) POS (axis1,...) Program changes to the next
command, without waiting for
positioning to be completed
POS (axis2,...)
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_05.40
SITRAIN Training for
Automation and Drive Technology
@
Asynchronous For asynchronous execution, program processing and the process sequences
processing are synchronized with one another. After a motion command is issued, then the
next command in the program is immediately executed.
This type of programming must be taken into account in all cyclic tasks, for
er
In the ST language, this is relatively seimple, as each motion command has its
own "nextCommand" parameter, whiich controls the advance to the next command.
Using the setting (nextCommand := IMMEDIATELY) it is reliably ensured that the
system immediately advances to the next command. In MCC, the immediate
advance is only ensured for substituting-type transition behavior.
r.s
Note If a program with mo tion is generated for a cyclic task, then instead of the
motion commands from the toolbar the blocks in conformance with PLC-OPEN,
available in the librluary supplied, should be used. These blocks have been
ne
Synchronous For syncohronous execution, program processing and the sequences of the
processing processesl are synchronized with one another in some form. After issuing a motion
command, the system waits until a special state has occurred in the prkocess (e.g.
position reached, velocity reached, etc.) and only then does the program advance
ca
Velocity profile
Smooth
Trapezoidal
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.41
SITRAIN Training for
Automation and Drive Technology
@
Velocity You can select a velocity profile for the programmed axis motion. The velocity
profile profile defines the transitions between the individual motion phases. The
following are available:
• Smooth: In this case the acceleration and jerk can be specified.
er
• Trapezoidal (default setting): With this velocity profile you can only
specify the acceleration. The input fields for the jerke are grayed out.
The selectable velocity profiles influence mthe motion transitions between the
ez
start and end of the acceleration phase, between constant velocity and
acceleration phase/deceleration phase, and e the transitions from start and end
of the deceleration phase.
In addition to direct input of the veslocity profile, you can also select from the
following options:
r.s
parameter"g.
Entries for Jerk You can ldefine the jerk and acceleration values via the individual combo boxes.
and acceleration boxes. In addition to the two options – "Last programmed" and "Default" – freely
editable values or variables can be directly entered or as expression (formula).
ca
You can use drag and drop to copy variables from the symbol browser to the
input field or copy commands and functions from the command library to the
input field.
In the selection list you can select whether the programmed jerk or the
acceleration should be effective in the configured unit or as a % referred to the
standard value.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
Time
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.42
SITRAIN Training for
Automation and Drive Technology
@
Start axis Using this command, positioned controlled traversing of an axis started.
position controlled A velocity is entered. The axis traverses in this motion, until it is replaced by
another motion or is stopped. Time limiting is possible as an alternative.
Under the "Dynamics" tab, the checkbox can be activated to parameterize a
er
Time duration duration. A time can be entered in the "Time" entry field. The time refers to the
start of the constant velocity phase up to the start of the deceleration phase.
If no time is specified, then the axis moves until it receives a new command.
An axis is traversed, speed controsilled, with this command. A setpoint is
ez
om
Stop mode
Selection
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.43
SITRAIN Training for
Automation and Drive Technology
@
Stop Axis The command stops the axis moving. It can be used both for positioning and
speed movements. The motion can be stopped with Normal stop or Quick stop.
You define this in the "Stop mode" dropdown list.
er
Normal Stop With a normal stop, the motion is decelerated along the parameterized
deceleration ramp.
Without Abort: The motion can be resumed with the MCC command "Resume
motion". In this case, no other commands can be issued to the axis between the
ez
Quick stop With quick stop the axis is stopped by the interpolator and is not switched into
the follow-up mode. The motion cannot be continued. In addition, the axis is
disabled for further motion commands. This state can be removed using
ne
Selection
om
All motion
Basic motion
Superimposed motion
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.44
SITRAIN Training for
Automation and Drive Technology
@
Continue Using the "Continue motion" command, interrupted motion can be resumed. It is
motion only possible to resume motion, which was stopped using the stop mode
"Normal stop without abort".
You can choose whether to resume all motion, only the basic motion or only the
er
superimposed motion. The axis must not receive any new motion commands
between interruption and resumption of the motion.
ez
r.s
ne
ca
om
Homing type
Active homing
Passive homing
Set home position
l.c
Set home position relative
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.45
SITRAIN Training for
Automation and Drive Technology
@
Home axis In the case of an incremental measuring system, the machine must be homed
every time it is switched on. Homing is initiated with the "Home axis" command.
Additional settings can be made in the "Homing" dialog for the axis configuration
An axis is allocated the homed status, if the axis coordinate system of the
er
Homing type For incremental measuring systems, the command selects the following homing
types:
ez
Active homing (default value) In this case, via the configuration in the wizards for
the axis configuration (Dialog: "Homing") it is defined which of the three
following homing types will be executed (see the next page):
• Homing only with zero mark
r.s
Relative direct homing: In this particular case, the axis coordinate system is
shifted by the value of the home position coordinate. The axis does not move.
Passive homing: Contrary to active homing, as a result of the homing command,
no active traversing motion takes place. In fact, the homing command is now
effective in parallel to the traversing commands, which must be issued from the
ca
user program. The motion command can be triggered before or after the homing
command.
If the conditions for detecting the homing mark are fulfilled, then the axis is
homed corresponding to the sequence defined when configuring.
om
l.c
Travel range
ai
Left travel Right travel
Homing mode limit limit
SIMOTION
• Zero mark only
• External zero mark only
motion towards the homing cam. After passing the reference cam, SIMOTION
synchronizes with the next encoder zero mark. After this, the axis is traversed
through the home position offset and then the actual position is set to the
"homing position coordinate) .
ez
When homing with "Bero and reference cam" the homing cam signal must be
connected to an input on the control (outside the process image, i.e. >= 64).
The homing cam is "1"- active.
Homing with zero mark only: This type of homing is valid for axes with only one
r.s
zero mark over the complete traversing range (usually rotary axes). The homing
command initiates motion towards the homing cam. When the zero mark is
passed, the measuring system of the axis is synchronized.
After this, the axis is traversed through the home position offset and then the
actual position is set to the "homing position coordinate".
ne
Homing with external zero mark: The homing command triggers a movement.
The measuring system of the axis is synchronized once the parameterized edge
of the external zero mark signal is detected. The axis is then moved by the
amount of the home position offset.
When referencing with "External zero mark only", the signal must be connected
ca
there where the encoder value is also detected, i.e. at the drive, at the ADI4 or
at the intended Bero inputs of the C2xx.
Reversing cams From V4.1, for active homing it can be selected as to whether a dedicated
reversing cam is used – or the hardware limit switch is used as reversing cam.
If, when homing, the axis reaches the reversing cam, then the axis is
automatically traversed in the opposite direction.
om
Homing mode
l.c
• External zero mark only
ai
Parameterization on the drive:
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
P495: Encoder 1 substitute zero mark:
e.g. DI 9
MC-SMO-SYS_05.47
SITRAIN Training for
Automation and Drive Technology
@
Note For a digital coupling, drive homing is initiated via the encoder control word_1.
Drive parameters are used to define whether the drive synchronizes to the
encoder zero mark or to an external signal at the drive.
SINAMICS S120: P495[n]: External zero mark for encoder n
er
Data transfer From V4.0 and higher, by pressing the button "Accept data from the drive",
from the drive parameter settings from SINAMICS drives can be transferred from the offline
data management all the "Start to" into SIMOTION SCOUT.
Depending on the setting of parameter P495, the associated selection in the
homing mode to zero mark or external zero mark is set.
r.s
Homing Homing required "Yes": Software limit switches only become active after
required homing. Absolute motion and synchronous motion commands are rejected
(error 40108: Axis not homed. Relative motion is permissible.
Homing required "No": Software limit switches are always active (if activated).
ne
om
l.c
ai
Homing type
Absolute encoder adjustment
SIMOTION
with specification of the
position value
Absolute encoder adjustment
Date:
File:
03.01.2013
MC-SMO-SYS_05.48
SITRAIN Training for
Automation and Drive Technology
@
Absolute encoder When commissioning the axis, if it was assigned an encoder type "Absolute
adjustment encoder" or "Absolute encoder, cyclic absolute", then the "Absolute encoder
adjustment" entry can be selected in the selection field "Homing type". When
issuing this command, the absolute encoder offset from the "Homing" tab is
er
• When the offset data is lost, e.g. when the battery voltage fails (D4x5, )
• After separating the mechanical connection between encoder and load,
if the connection could not be reproduced exactly.
ne
System variables Using the following system variables it can be evaluated as to whether an
adjustment was performed for an axis with absolute encoder:
• <axis>. AbsoluteEncoder.AbsoluteEncoder[1]. ActivationState
Further, in the following system variables, the total offset that has been included
can be read out
ca
Notes • In the "Homing" dialog it can be set whether the value has been taken into
account in absolute terms or in addition ("Absolute encoder offset is used").
• An axis with absolute encoder should not be homed using the function
"Setting the position actual value" as the offset between the encoder value
and the position actual value is not saved in the retentive data and displayed
in the corresponding system variables as is the case for the absolute
encoder adjustment.
SITRAIN Training for MC-SMO-SYS
Automation and drive technology Page 48 Axes and Drives in SIMOTION
Setting the Reference System
om
l.c
ai
Reference system
Setpoint reference
SIMOTION
Actual value reference
Relative
Axis Here, the axis is specified, for which the position should be newly set. All
positioning and synchronous axes, which are configured on the device are
listed.
ez
Position The new position value is entered here. The value can be directly entered or as
a variable or formula.
Note By setting the actual value system using the command "Shift measuring
k
system", contrary to the command "homing, set the actual position value", the
original positions of the software limit switch are not changed.
The permissible traversing range therefore remains unchanged.
om
l.c
ai
Extended...
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.50
SITRAIN Training for
Automation and Drive Technology
@
Service Overview With this function it is possible in the online mode to quickly obtain an overview
of the state of all configured axes. Selected system variables are displayed here
together with their respective status. The status is displayed using colored
lamps.
er
an alarm is present.
Gray (no LED): Axis (system variable) is not active.
Extended... A list with additional system variables is displayed when you click the
"Expanded..." button. You can select additional system variables from this list for
ne
1. Select axis
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
2. Symbol browser
Date:
File:
03.01.2013
MC-SMO-SYS_05.51
SITRAIN Training for
Automation and Drive Technology
@
System Variables You can monitor and modify system variables via the symbol browser. You can
query for example the entire status of a command execution or of an axis motion
via system variables. This allows you to carry out a detailed analysis of all types
of motion and execution, in particular if you use it together with the trace
er
function.
You can access system variables:
• Within the SIMOTION device from all programs
ez
Procedure To monitor the actual values of system variables of the technology object,
proceed as follows:
1. Switch SIMOTION SCOUT into the online mode.
2. Select the required technology object in the project navigator.
ne
3. Select the "Symbol browser" in the detail view. The system variables are
displayed for the TOs.
Online Help You can display the associated online help for the individual system variables.
To do that, proceed as follows:
ca
Name Significance
Position control status Green: position control is active for the axis
(servomonitoring.controlstate): Gray: position control is not active. Setpoint at the pos. control output is 0.
Operational status Green: axis can be moved by motion commands
(control) Gray: axis is in follow-up mode
Technological alarm on axis Red: Technological alarm present on the axis
om
(error) Gray: There is no technological alarm
Cycl. drive interface active Green: cyclic data transmission to drive active via PROFIBUS
(actormonitoring.cyclicinterface) Gray: drive is not in cyclic operation
Drive enable Green: drive enable (ramp-function generator) is active
(actormonitoring.drivestate) Gray: no drive enable
Power enable Green: power enable (enable OFF1, OFF2 and OFF3 and operation)
l.c
(actormonitoring.power) Gray: no power enable
Drive error Red: error on drive (error active/power-on disable)
(actormonitoring.driveerror) Gray: no error on drive
ai
(motionstatedata.motioncommand) Yellow: axis is moving
Velocity-related standstill signal Green: axis is not moving (signal mainly used for speed-controlled axes)
(motionstatedata.Stillstandvelocity) Gray: axis is moving
Axis homing status Green: axis is homed (only for axes with incremental encoders)
(positioningstate.homed)
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Gray: Axis is not homed
Date:
File:
03.01.2013
MC-SMO-SYS_05.52
SITRAIN Training for
Automation and Drive Technology
@
System Variables In the system variables a technology object, e.g. an axis, provides information
about its current status. The system data of an axis TO will therefore display
information such as position setpoint, actual position value, following error in
what is referred to as system variables.
er
Actual Position Displays the current actual position of the axis. The actual position is derived
from the actual value transferred by the encoder system of the drive.
Setpoint Position Displays the setpoint position of the axis as calculated by the interpolator. The
r.s
difference between setpoint and actual position is called following error. The
following error is the reference variable within the position controller for
calculating the speed setpoint.
Difference between Displays the following error within the interpolator level.
ne
Setpoint and
Actual Position
ca
om
Display and acknowledge via
HMI
Acknowledge via the user
program
Query and evaluate in the user
l.c
program
ai
Software limit switch
Alarms
Alarm 40106: SW limit switch
actuated
SIMOTION
Position encoder (linear scale)
In this case, the return value of the function provides information about the
cause.
• When processing the command, the TOA itself identifies when the function
required by the application cannot be executed or not completely and then
returns certain events or states.
r.s
(note)
Technological If an event (fault, note) occurs at a technology object, then this outputs a
alarms "Technological Alarm". TO alarms can be evaluated and acknowledged in
different ways:
ca
2. TechnologicalFaultTask
om
3. Alarm configuration
4. Select TO
l.c
5. Configure alarm
ai
1. Execution system
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.54
SITRAIN Training for
Automation and Drive Technology
@
Alarm configuration Generally, alarms that occur at a technology object have an impact on the
system. After creating the technology object, for each alarm a certain behavior is
preset (default setting).
Depending on the TO alarm, it is possible to modify the preset behavior. For the
er
Local behavior With the local behavior you define how the technology object involved should
behave when an alarm occurs and how additional commands for the TO should
be handled.
When an alarm response occurs (except for NONE), the command decoder is
ne
Global behavior With the global behavior, the impact of a TO alarm on the execution systems
described. The following actions can be set depending on the respective TO
alarm.
• NONE: no response
• START TechnologicalFaultTask With this task, the user can respond to the
TO alarm with an application-specific response. If there is no program
assigned to this task, the system switches to the STOP state.
• STOP: All technology objects and the user program are inactive.
• STOPU: Only the user program is inactive.
om
l.c
ai
Acknowledge specific
TO alarms
SIMOTION
Acknowledge TO alarms
The checkbox "Acknowledge all alarms" meansm that all alarms for all
ez
Note correspondingl number is then automatically displayed in the "Alarm No." box.
TO trace
Start trace
recording Event selection, TO trace
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.56
SITRAIN Training for
Automation and Drive Technology
@
TO trace The commands at a technology object and accesses to system variables and
configuration data of the technology object can be traced using the TO trace
function.
In SIMOTION, technology objects can be influenced by configuration data,
er
system variables, and commands during runtime. With the new TO trace, all
events affecting a technology object can be recorded in real-time and displayed
in detail in a chronological sequence in SIMOTION SCOUT. This results in a
significantly improved detection of sporadic errors in the application and as a
ez
Procedure 1. Activate an online connection to the target system and select the required
SIMOTION device in the project navigator.
r.s
2. Call the window of the TO trace from the entry "TO Trace" of the context
menu or using the corresponding button in the toolbar.
3. In the "Technology object" list, select the required TOs for the trace
recording.
4. Using the button: . . . at the end of the line for each TO, the dialog to
ne
6. Load the parameterization into the target system and start the trace by
pressing the "Start TO trace" button.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.57
SITRAIN Training for
Automation and Drive Technology
@
Continued 7. Select the "Recorded data" tab to be able to evaluate the recorded events.
Load the recorded data into SIMOTION SCOUT by pressing the "Upload
data" button.
The events (writing configuration data or system variables, commands to the
er
TO) are displayed in the correct sequence with timestamp and actual
execution status.
Note When displaying the execution status of a command, pay special attention to the
ez
following:
As command execution advances, the more information can be read out
concerning the relevant commands. This means that for commands that have
already been completed, the execution status (EXECUTED or ABORTED) and a
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.58
SITRAIN Training for
Automation and Drive Technology
@
Note The following pages either contain additional information or are used as
reference to complete a specific topic.
er
ez
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.59
SITRAIN Training for
Automation and Drive Technology
@
Axis data sets For the TO axis, SIMOTION supports the concept of data sets as well as data
set changeover. Various data sets are used, if during the runtime:
• the actual encoder must be changed
• parameter settings of the controller data must be changed
er
The configuration data, which belong to the axis data set (ADS), can be viewed
under the axis data sets of the configuration dialog of the axis tab.
Data sets must be defined and activated as a group because some data, for
ez
Activate data set Using the ST system function _setAxisDataSetActive() or the MCC function
"other data sets can be selected during the runtime. If another encoding is
assigned in the new data set, then the system changes over to the active
measuring system. From this point in time, the actual positions of the position
control are supplied from the new encoder system.
ne
If the encoder systems are not adapted, then the resulting speed setpoint step
(jump) at the position control output via the time constant "Time constant for
smoothing of manipulated variable changes as a result of controller switchover"
will be smoothed in the dialog box "Axis_n -> Limits -> Dynamic response".
3. Assign encoder
1. Add
om
l.c
ai
2. Create new encoder
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.60
SITRAIN Training for
Automation and Drive Technology
@
Encoder Frequently, a data set changeover is required, if, for an axis, various encoders
configuration are used, for example.
• Motor measuring system (motor encoder)
• Additional direct measuring systems (linear scale)
er
This means that up to 8 encoders can be created for the axis. All of the created
encoders are internally active, and the measured values are updated cyclically.
Using the "Encoder number" entry, in the axis data sets you can define which
ez
Automatic The adaptation of relevant drive and encoder data is, from SIMOTION V4.2 in
adaptation conjunction with SINAMICS S120 from V2.6.2 and higher, automatically
activated. The encoder parameters are automatically determined and adapted
r.s
Add 2nd encoder To create a 2nd encoder for an axis, to start a message frame must have been
configured with the encoder values for the encoder in HW Config. This can
either be done by directly inserting a PROFIBUS encoder (for example
SIMODRIVE sensor isochrone via message frame 81) from the HW catalog or
ca
providing additional encoder values via one of the message frames (message
frames) 4, 6, 106, … to a drive system with a 2nd encoder.
A 2nd encoder is configured in SIMOTION SCOUT using the screen form:
Configuration -> Encoder configuration. A new encoder can be added to the axis
TO using the "Add" button. The new encoder can be connected with the
message frame data in HW Config via the "Assign encoder" dialog.
For encoders, which cannot be automatically adapted during the runtime, then
the necessary settings must be made for the encoder type, mode and encoder
resolution (see the following pages).
om
Encoder type:
• Absolute encoder
l.c
• Absolute encoder, cyclic absolute
• Incremental encoder
ai
Encoder mode
• Square wave TTL
• Resolvers
• Sine/cosine
SIMOTION
Siemens AG 2013. All rights reserved.
gm
For incorrect parameterization (compare with r979 in the drive):
Error 20005: Device type: 2, log. address: 1234 faulty. (Bit: 0, reason: 0x80h)
Date:
File:
03.01.2013
MC-SMO-SYS_05.61
• Endat
Encoder mode The actual encoder type is set in the "Encoder mode" selection field. The following
settings are available for absolute encoders:
r.s
Alarm for incorrect If the encoder parameterization in SIMOTION and in the drive differ from one
parameterization another, the following technology alarm is triggered as soon as an online
connection is established between the control and drive/encoder and the TO is
loaded to the control.
"Error 20005: Device type: 2, log. address: 1234 faulty. (Bit: 0, reason: 0x80h)"
The comparison of the parameterization for drives is realized according to the
PROFIdrive via a parameter: r979 (SensorFormat). For drives, which do not
support parameter r979, the configuration without alarm is considered to be valid.
Output signals:
Capacitor Indexing disk
Scanning plate
Photo elements 2048 periods per revolution
Spur A
ERN 1381
Light source
om
Spur B
ERN 1387
Spur R
Spur C
l.c
Type: ERN 1387 Reference
ERN 1381 mark "Raw signal" Spur D
ai
8 ramps per cycle
2048 cycles Each ramp is subdivided into 256 steps
Spur A
Spur B
SIMOTION
Siemens AG 2013. All rights reserved.
Date:
File:
gm03.01.2013
Resolution with SINAMICS S120 : 2048 * 8 * 256 ≈ 4 million
MC-SMO-SYS_05.62
SITRAIN Training for
Automation and Drive Technology
@
Principle The optical encoder is based on the following principle. Parallel light passes through
the lattice grid of a scanning plate opposite the light source onto the grid serving as
the measuring standard. The lattice grid distribution on the scanning plate and on the
indexing disk are identical
er
The lattice grid on the scanning plate is split up into 4 fields, which, regarding the grid
distribution, have spatial offsets of 0º, 90º, 180º and 270º. For relative motion, a
bright-dark modulation is creamted due to the alternating coverage.
ez
This modulation is evaluated using 4 photo elements (4 field scanning). These photo
elements supply currents tehat are proportional to the illumination intensity. If the 0º
and 180º, as well as the 90ºiand 270º signals are combined, then 2 sin or cos
sequences are obtained.
r.s
Raw signals
Encoder output signals, wh@ich supply a voltage that can be evaluated (raw voltage
Resolution signals) have 1 Vpp - raw current signals supply 11µApp.
ne
For interpolation with 2048 subdivisions, the resolution is again 11 bits, i.e. 22 bits,
which means 222 = 4´194.304 signals per revolution.
ca
However, this resolution is only required when determining the actual speed for the
closed-speed control inside the drive. In this case, even at low speeds (up to 1
revolution/minute) it must be possible to sensibly determine the actual speed.
However, this high-resolution is transferred to SIMOTION (refer to the next page).
om
Number of pulses per revolution
Fine resolution
l.c
G1_XIST 1
ai
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIMOTION
Overflows: 0 - 1023
03.01.2013
MC-SMO-SYS_05.63
SITRAIN Training for
Automation and Drive Technology
@
Cyclic actual value The cyclic actual value in Gn_XIST_1 (n = 1 or 2, encoder number) is used by
incremental as well as absolute encoders to send the actual position value of the
axis in cyclic operation to SIMOTION. SIMOTION cyclically calculates the actual
position value of the axis from this value, the leadscrew pitch and the reference
er
point value (with incremental encoders) or the absolute value, which is passed on
by absolute encoders after activation.
After the converter has been switched on, eGn_XIST_1 = 0 is always output
independent of the actual position of the amxis. Each traversing movement of the
ez
the converter and, of course, also correspond to the actual data of the encoder.
The converter does not only output the information on the pulse number to
Fine resolution
Gn_XIST_1 but also inc reases the total resolution of the connected encoder by
internally sampuling the sin/cos signal with sin/cos encoders or resolvers.
Resolution: Encoderl pulses x 2n (n: fine resolution, no. of bits for internal
ne
multiplication
• The following applies for the No. of encoder marks:
o
Encoder marks = number of sine signal periods (sine/cos encoder with 1 Vpp)
No. of encoder marks = 1024 x pole pair no. (resolver with 12 bit resolution)
ca
No. of encoder marks = 4096 x pole pair no. (resolver with 14 bit resolution)
The pulse number and fine resolution are entered in parameters in the
converter.
• The fine resolution for the cyclic actual value Gn_XIST_1 in the converter must
be entered in SIMOTION as value = 2n in the input field.
An input value of 0 is interpreted as standard multiplication factor of 211 =
2048. In this case 0 is equal to 2048.
Capacitor
Indexing disk Hall-effect
element
Photo-
couples
Light source
om
Scanning plate
Coded disk
Gear box
l.c
Resolution: Resolution: Resolution:
Binary coding of a
Incremental tracks 16 256 4096
mechanical revolution
revolutions revolutions revolutions
with 8192 positions
Motor
speed
ai
Singleturn encoder 16:1 16:1 16:1
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Multiturn absolute encoder
Date:
File:
03.01.2013
MC-SMO-SYS_05.64
Type: EQN 1325
the position within one revolution (single turn encoder). The absolute traversing
distance that can be measured is therefore too low for most applications (for
example, 10 mm for a ballscrew with 10 mm pitch/revolution and directly
mounted onto the motor).
ez
This is the reason that the measuring range has been extended using a 3-stage
gearbox. Every step down stage has a ratio of 16:1. As a consequence, the
position information only repeats itself after 4096 revolutions or after a traversing
distance of 40.96m. The position of the gear wheels in the gearbox are
evaluated using Hall elements.
r.s
EnDat interface In order that the traversing distance through the 4096 revolutions can be
uniquely represented, the following information must be known.
Gearbox position: 3 x 4 bits (16 x 16 x 16 = 4096 revolutions)
ne
om
Number of pulses per revolution
Fine resolution for act. value in Gn_XIST_1
l.c
Fine resolution for act. value in Gn_XIST_2
Number of bits for multiturn resolution
+ no. of encoder pulses
Gn_XIST 2
ai
not Encoder pulse
Multiturn resolution: 4096 Fine resolution: 512
SIMOTION
eval-
uated
Date:
File:
03.01.2013
number: 512
MC-SMO-SYS_05.65
SITRAIN Training for
Automation and Drive Technology
@
Absolute When an absolute encoder is connected, SIMOTION retrieves the absolute
actual value position of the axis via Gn_XIST_2 (n = 1 or 2, encoder number) after the
control/converter has been switched on. From the transmitted value or the
stored overflows of the multiturn information, SIMOTION calculates the actual
er
Number of data bits The "Data width absolute value without fine resolution" is obtained from the total
of the bits for multiturn resolution and encoder pulse number. The settings in
SIMOTION must match the corresponding settings in the converter, otherwise
the actual position will not be calculated and displayed correctly after switch on.
r.s
Fine resolution Just the same as for "cyclic actual value", the converter not only transmits
information about the number of encoder revolutions (for multiturn encoders)
and the encoder pulse number to the higher-level control, but also performs fine
resolution. This fine resolution is lower with the "absolute actual value" than with
ne
the "cyclic actual value" as the entire information must be stored in a 32-bit
double word.
This means only 9 bits, i.e. a factor of 512, remain for the fine resolution for
standard multiturn encoders with a multiturn resolution of 4096 (12 bits) and an
encoder pulse number of 2048 (11 bits). This is the reason that for the "Fine
ca
Note The encoder position word Gn_XIST_2 is used not only for transferring the
absolute actual value after switch on but also for transferring the position in the
functions: "Measuring input" and "Homing". In this case, however, the position
value is coded in accordance with the format settings for the "cyclic actual
value", i.e. in accordance with the multiplication factor for the cyclic actual value.
Encoder type:
om
"Absolute encoder"
Overflows of the multiturn information are not saved in
SIMOTION when it is switched off
"Absolute encoder, cyclic absolute":
Overflows of the multiturn information are saved in
SIMOTION when it is switched off
l.c
....
ai
Encoder pulses
Multiturn resolution per revolution Fine resolution
Overflows of multiturn information
Number of data bits: 23
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
Encoder information in Gn_XIST 2
03.01.2013
MC-SMO-SYS_05.66
SITRAIN Training for
Automation and Drive Technology
@
Encoder mode The following two settings are available in the "Axis configuration - Encoder
assignment" dialog box in the "Encoder type" field:
• Absolute encoder:
With this setting, the entire overflows of the absolute actual value, i.e. over-
er
flows of the multiturn information are not saved when the SIMOTION is
switched off.
The next time SIMOTION is switched on, the actual position value is
ez
formed from the absolute actual value which is passed from the converter in
Gn_XIST_2 to SIMOTION.
With a multiturn resolution of 4096 and a leadscrew pitch of 10mm/rev. The
result is always a value between 0 m and approx. 40 m.
• Absolute encoder, cyclic absolute
r.s
With this setting, at switched off, the overflows of the multiturn information
are stored in the retentive memory area of SIMOTION. The next time
SIMOTION is switched on, this information is taken into account for
calculating the actual position value.
ne
This setting must be made if the absolute encoder with it's multiturn
resolution does not cover the complete traversing range of the axis or if, as a
result of an unfavorable mounting of the absolute encoder, overflows of the
multiturn information occur within the traversing range.
ca
Note The overflows of the multiturn information and the value for the absolute
encoder adjustment of an axis are deleted in the following situations:
• OVERALL RESET of SIMOTION
• Download of modified configuration data for the encoder settings for the axis.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Maximum motor torque --> TypeOfAxis.SetPointDriverInfo.DriveData.maxTorque
Date:
File:
03.01.2013
MC-SMO-SYS_05.67
SITRAIN Training for
Automation and Drive Technology
@
Travel to As a result of the "travel to fix stop" command, the monitoring of "traversing
fixed endstop to fixed endstop" is activated in parallel to axis motion started using a motion
command. In addition, the maximum torque at the drive is restricted to the value
specified in the command. Further, the active following error monitoring usual for
er
The command also ensures that a specific clamping torque is maintained after
the fixed endstop has been reached. This command can also be used to switch
over the clamping torque during active clamping.
r.s
Fixed endstop In the dialog "Limits", "Fixed endstop" tab, in the "Fixed endstop detection" field,
detection it can be selected as to how it can be detected when the fixed endstop is
reached:
• when the following error is exceeded. In this case, in the entry field
"Following error to the fixed endstop detection", the required value should be
ne
with the torque programmed at the command. The usual traversing commands
in the same direction are rejected by the TO, only traversing commands in the
opposite direction are permitted.
In the system variables moveToEndStopCommand. ClampingState the state
"Fixed endstop reached" is displayed. The state "Fixed endstop reached" is
canceled if the actual axis position deviates by more than the value specified in
the "Position tolerance after fixed endstop detection" (e.g. because the clamping
force is overcome, traversing command in the direction opposite to the clamping
direction).
om
Automatisch adaptiert; wenn
l.c
TypeOfAxis.DriveControlConfig.dataAdaption = YES
p1520
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.68
SITRAIN Training for
Automation and Drive Technology
@
Determining the For SINAMICS from V2.6.2 and higher, the reference torque of the motor
reference torque is automatically adapted by SIMOTION and entered into the corresponding
configuration data.
er
• <Axis>.TypeOfAxis.SetPointDriverInfo.driveData.maxTorque
if the audomatic data adaption is activated via the following config data:
• <Axis>TypeOfAxis.DriveControlConfig.dateaAdaption = YES
ez
If the automatic adaption is not active, them maximal torque value must be
determined from the parameter p1520 (max. torque) of the corresponding drive
All of the reference variables of an axeis are listed in the screen form:
Configuration -> Reference variabiles.
For the resolution of the to rque reduction, from V4.0 two options are available.
r.s
Resolution
The setting in SIMOTION@ is made in the configuration data
• SetPointDriglverInfo.linearMotorDriveData.forceReductionGranularity
(linear motor).
om
l.c
For linear axes:
ai
F = Torquemotor x 2 x π x (ηspindle/ S) x (motor revolution / load revolution)
F : Force in N
Torquemotor : Motor torque in Nm
ηspindle : Efficiency of the spindle (no dimensions)
S: Spindle pitch in m
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_05.69
SITRAIN Training for
Automation and Drive Technology
@
Clamping value The clamping value is entered in the force unit for the particular axis type,
(without unit) i.e. in N, kN, ... (Newton) for linear axes or in Nm, kNm for rotary axes.
If a linear axis is implemented using a standard motor and a ballscrew, then the
motor reference torque must be converted to the "reference force" of the linear
er
M = torque
S = spindle pitch (leadscrew.pitchVal)
η = spindle efficiency (leadScrew.efficiency)
Motor revolution (Gear.numFactor)
r.s
Example In the following example, the reference torque 3.68 Nm of a motor is converted
into a reference torque. In this example, the conversion is made without any
additional load gearbox, the spindle pitch is assumed to be 10 mm/revolution
ne
Clamping value When selecting the clamping value as a %, the required max. torque at the
(as a percentage %) drive can be directly entered in units of 0.01. The required maximum torque at
the drive of 0.37 Nm then corresponds to an input of 37.
When implementing a linear axes via a ballscrew at the motor, then a value of
628.0 must be entered into the system variable
userdefaultclamping.clampingvalue.
om
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Automating Technical Processes ...................................................................................................... 2
SIMOTION Execution System .......................................................................................................... 3
er
Motion/subprocesses Tasks
Multitasking
Realtime
om
l.c
ai
SIMOTION
Machine / plant
MC-SMO-SYS_07.2
SITRAIN Training for
Automation and Drive Technology
@
Parallel processes When automating machines as well as other technical processes, frequently it is
necessary to simultaneously control or monitor several individuals
subprocesses, for example the motion of axes at the machine. This is due to the
fact that most technical processes can be split up into several linked sub
er
processes that are coupled with one another and executed in parallel.
It is absolutely necessary to have a control system with multitasking properties
to be able to automate tasks such as these; this is because normally, such
processes cannot be automated using just one single, sequentially executed
ez
program.
Tasks then contain complete program units (POUs) and their associated data.
Tasks can be independently started and executed from one another. However,
they must be coordinated and communicate with one another to fulfill their
common function.
ne
Real-time If a process is to run continuously without any interruptions, then the associated
execution system of the control must ensure that all of the necessary tasks are
completed within the specified time.
Control systems used for automating technical processes always linked to the
ca
om
Servo level Pr
io
rit
y
IPO level
§
l.c
Timer level
ai
Interrupt level
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.3
SITRAIN Training for
Automation and Drive Technology
@
Execution system SIMOTION provides such an execution system with individual execution levels.
Execution levels define the chronological sequence of programs in the execution
system. Each execution level contains one or more tasks.
er
A task provides the execution framework for the user programs. A task can be
assigned to one or several programs. Further, the execution sequence of the
programs within a task can be defined Prograems that were created with ST or
MCC must therefore be assigned one of several tasks for their execution.
In addition to these user tasks, several sysmtem tasks are active in parallel.
ez
Motion control This execution system or the exesicution levels in them allow motion control
and logic tasks to be processed, together with logical functions on a control platform.
The starting point to implement motion control tasks and technology functions is
r.s
usually the time-controlled@ execution levels such as the IPO level or the
TimerInterrupt level.
Fast responses to purocess signals are handled using the ProcessInterrupt level
The requiremlents relating to logic switching functions, as typically implemented
ne
Scheduler The execloution system of SIMOTION operates just like a multitasking system.
However, because SIMOTION devices only have one CPU, it is not possible to
achieve full parallel task processing (only quasi-parallel processing). The
ca
om Priority
Temp. control
T4 DccAux task
Event-driven T5 DccAux task
execution levels Medium
System
Systeminterrupt
interrupt tasks
tasks
l.c
Wait for condition
Timer
Timerinterrupt
interrupt tasks
tasks
ai
User interrupt tasks
Freely-running Low
execution level
System start, stop
SIMOTION
Siemens AG 2013 All rights reserved.
Background task
System start
gm
Date:
File:
03.01.2013
Motion
Motiontasks
MC-SMO-SYS_07.4
tasks
System stop
Servo task This task with the axis position control has the heighest priority. It is called and
executed in a fixed time grid. The time grid for synchronous tasks is set when
configuring the system cycle clocks.
ez
From V4.0 and higher, the user can inecorporate his own programs into this
execution level. The assignment toi this level is realized by assigning the
program to the ServoSynchsronousTask. In the ServoSynchronous task you can
implement time-critical termin al - terminal responses for I/O or you can quickly
influence setpoints at the servo level.
r.s
DCC blocks, which are assigned @the execution group (time slice) T1, are
processed at this leve l. Execution is realized prior to the user programs of the
ServoSynchronousTask.
ne
IPOTask
The interpolatgion level has the next highest priority. In IPO-synchronous tasks,
time-critical functions can be implemented that have a direct effect on the
functions oof a TO. The user program is executed before the system
intelrpolation, i.e. the program and system functions are still effective in the
same IPO ceycle (e.g. a fast axis start/stop) depending on an event.
ca
Frkom V4.1 and higher, blocks that are assigned to execution group (time slice)
T2, are processed at this level. Execution is still realized before the user
programs of the IpoSynchronousTask.
In addition to the interpolation level, there is also a 2nd interpolation level
IPO_2Task (IPOSynchronousTask_2 or DCC time slice T3). While the IPO level is intended
for controlling the motion of high-speed axes, axes (auxiliary axes) with a lower
dynamic performance can be assigned to the IPO2 level.
om Priority
Temp. control
T4 DccAux task
T5 DccAux task
Medium
Event-driven System
Systeminterrupt
interrupt tasks
tasks
l.c
execution levels
Wait for condition
Timer
Timerinterrupt
interrupt tasks
tasks
ai
User interrupt tasks
Freely-running Low
execution level
System start, stop
SIMOTION
Siemens AG 2013 All rights reserved.
Background task
System start
gm
Date:
File:
03.01.2013
Motion
Motiontasks
MC-SMO-SYS_07.5
tasks
System stop
T4 DccAux Task/ From V4.1 and higher, blocks, which are assigned to the execution group (time
T5 DccAux_2 Task are processed at this level. The time grid fore these tasks is set when configuring
slice) T4/T5, the system cycle clocks.
ez
the event.
WaitforCondition If a wait command is integrated in a MotionTask then when executing the wait
command, the motion task is stopped and the wait condition is monitored in the
IPOsynchronenTask. If the condition is fulfilled, the commands that are assigned
to the wait command are executed with the priority specified above. The priority
ne
Free-running The Backgroundtask and the 32 MotionTasks share the lowest priority
executionrd at what is known as the round robin level. Within this level they are assigned
level free processor time using an additional time slice multiplex technique.
om
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.6
SITRAIN Training for
Automation and Drive Technology
@
Servo_fast/IPO_fast As of V4.2, you can operate synchronous devices (drive, measuring input or
output of output cam, I/Os) on the fast bus system (PROFINET) via Servo_fast.
Servo_fast always finishes during the first send clock of the fast bus system with
this type of arrangement. This makes it possible to operate two bus systems in
er
different application cycle clocks. An assigned servo cycle clock and IPO cycle
clock are available for each of the two application cycle clocks.
A second servo cycle clock is only necessary ein applications with special
requirements, e.g.:
ez
Electrical servog axes are generally operated with DSC (Dynamic Servo
Control) and therefore the dynamically effective part of the position controller in
the drive is perforlomed at the cycle clock of the speed control loop (i.e. usually
with 125 µs in ethe case of SINAMICS S120).
Thkis is the reason that a split at the servo level is predominantly used for
ca
Note For V4.2, only the SIMOTION modules SIMOTION D435-2 DP/PN, D445-2 DP/
PN and D455-2 DP/PN support the second servo cycle clock.
om
DP Sl. Sl. Sl. Acycl. Sl. Sl. Sl.
GC Res. GC
communication ... 1 2 3 part 1 2 3 ...
T dx
l.c
Drives To
Ti SL: Slave communication (bidirectional)
ai
GC: Global control message
Actual values T i: Time of actual-value acquisition
T o: Time of setpoint transfer Setpoints
T dx: Sum of transfer time for all slaves
SIMOTION
Siemens AG 2013 All rights reserved.
T dp: DP cycle time
BT: BackgroundTask gm
PCT: Position controller
Date:
File:
03.01.2013
MC-SMO-SYS_07.7
SITRAIN Training for
Automation and Drive Technology
@
Clock If high-precision positioning must be performed on the PROFIBUS DP, this
synchronization requires short, reproducible (i.e. of the same length) cycles with defined actual
value acquisition, position control and setpoint output.
For SIMOTION the equidistant (isochronous) DP bus cycles and the
er
DP cycle time Cyclic data exchange with the slaves is carried out in this time grid. This time
grid depends on the number of slaves, data to be transferred, baud rate and
additional factors. In addition to pure data exchange, sufficient time must be
r.s
provided for the position control to allow calculation of new speed setpoints for
the drives.
T dx The time duration that is necessary to carry out the data exchange with the
configured slaves is specified in this parameter. This time is calculated internally
ne
and also ensures that the data can be exchanged with all the slaves during this
time duration. After this time has expired, the position controller starts
processing the data.
ca
Global Control A global control message frame is output at the beginning of each cycle for
synchronizing the drives to SIMOTION.
Ti Describes the length of time which expires before the GC message frame is
broadcast for the drives to save their actual values to. This ensures that all
actual values are acquired at the same time.
To Describes the length of time which expires after the GC message frame is
broadcast for the drives to accept the transferred setpoints.
om
System cycle clocks
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.8
SITRAIN Training for
Automation and Drive Technology
@
Bus cycle Sets the basic cycle clock and is generally grayed out. It is only displayed, if an
isochronous (clock synchronous) bus was parameterized at the interface The
basic/bus cycle clock (DP cycle clock or PN cycle clock) is used as a basis for
setting further tasks.
er
Servo / T1 (DCC) The integer number ratio between the servo cycle and bus cycle can be set
here. The blocks in DCC charts, those of time slice T1, the user programs of the
ServoSynchronous task and the position control of the axes are processed in
ez
this cycle. Normally the factor 1 should be used here. However, if a different
ratio is selected, then this must also be entered into the HW Config at the drive
for the "Master application cycle". This setting is used for the sign of life
monitoring.
r.s
IPO / T2 (DCC) The integer number ratio between the IPO and servo cycle is defined here. The
DCC blocks of time slice T2, programs of the IPOSynchronousTask and the
motion control, i.e. calculating the position setpoints of positioning axes are
executed as standard in the IPO cycle.
ne
IPO_2 / T3 (DCC) The ratio between the IPO_2 cycle and the IPO cycle is set here. The DCC
blocks of time slice T3, the programs of the IPOSynchronousTask and the
motion control of axes with low requirements on the dynamic performance
(auxiliary axes) are executed in this task.
ca
DxxAux / DccAux_2 The grid for time slices T4 and T5 of the DCC are set here.
TControl The configuration of the system tasks for the TControl technology package can
be opened using this arrow. The cycle relationships for the task of the
temperature channels with respect to the servo cycle are not set in this dialog.
Copy asynch, cyclic From V4.2 and higher, it can be selected as to when the asynchronous, cyclic
IO data I/O data should be copied. Either the IPO or IPO_2 cycle clock can be selected.
om
Cycl. Acycl. Cycl. Acycl. Cycl. Acycl. Cycl. Acycl.
Position
control task
IPO task
l.c
SystemInterrupt
task
TimerInterrupt
Task_1
ai
TimerInterrupt
Task_2
UserInterrupt
Task
Round robin
level
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.9
SITRAIN Training for
Automation and Drive Technology
@
DP level Communication via Profibus has the highest priority. This is the reason that
at the start of the cycle, data is exchanged via Profibus.
Position The position control task has the next lower priority. It is executed after the DP
er
controller level communication. As in this example, the ratio between the DP cycle and servo
cycle 1: has been selected to be 1, the position controller task is started after
each DP data exchange.
ez
IPO level The IPO task is the task with the next lower priority. This is started next.
Round robin The round robin level has the lowest priority in the execution system. This is
si
om
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.10
SITRAIN Training for
Automation and Drive Technology
@
Overview The SIMOTION Task Trace supports you when troubleshooting in the
SIMOTION multitasking environment. The SIMOTION Task Trace records the
sequence of individual tasks, identifies user events that you can generate via a
program command, and displays these graphically. This makes the interaction
er
between programs and tasks easily traceable, thereby affording better control
over them.
The SIMOTION Task Trace includes twmo main components:
Task Trace - • The SIMOTION Task Tracer, whiche writes the task change and events
ez
the file system ogf the PC using the SIMOTION standard web pages and then
open the fileo in the SIMOTION Task Profiler.
Generate and display When eyou click the "Display" button, the Task Profiler is started. In addition, the
Task Traces
ca
trkace file is loaded from the memory card of the target device and opened in
a new tab in the Task Profiler. If you click the button again, the same file is
read and displayed again.
When you click the "Create snapshot" button. a new Task Trace is started,
written to the memory card, and then the Task Profiler is started and the saved
Task Trace is displayed. If you click the "Create snapshot" button again, a new
Task Trace is started and the displayed in the Task profiler.
BackgroundTask
om
MotionTask_1
l.c
Internal tasks
Motion Task_32
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.11
SITRAIN Training for
Automation and Drive Technology
@
Round robin The time remaining after executing high priority user and Systemtasks is used
level by MotionTasks and the BackgroundTask . This time is allocated to the
BackgroundTask and the MotionTasks in the time slice technique (round robin).
At the beginning of a round robin cycle, the BackgroundTask is processed. After
er
this, the MotionTasks defined in the execution system are executed one after
the other. At the end of the round robin cycle, internal tasks (e.g. communica-
tion, etc.) are executed.
The time available for the round robin level is the remaining processor time that
ez
is available after all of the high priority tasks have been executed up to the start
of the next DP cycle. This time duration is also called time slice. It can vary in
the individual cycles.
r.s
robin cycle. For the BackgroundTask the user can influence the number of time
slices, which are provided one after the other for the BackgroundTask.
The setting is made when configuring the BackgroundTask or theMotionTasks
using the "Time allocation..." button.
ca
om
....
Communication 1
Time
n=20 n=10 n=1
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.12
SITRAIN Training for
Automation and Drive Technology
@
Example The diagram above shows a simplified diagram of the execution of the task at
the round robin level if the BackgroundTask is provided with several time slices.
The appropriate setting is made when configuring the BackgroundTask or the
MotionTask using the dialog "Time allocation in the round robin execution level".
er
However, in this dialog, only a qualitative setting can be made (between 20%
and 80%) regarding how many time slices as a maximum can be used for the
BackgroundTask.
At the beginning of the time slice, the BackgroundTask or a MotionTask is
ez
If the task within a time slice has been completed or suspended, then in the
same time slice, the next task of the round robin level is executed. A new task is
again started in the following time slice.
ne
ca
om
2. Select task
3. Select program
l.c
4. Assign program
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.13
SITRAIN Training for
Automation and Drive Technology
@
Execution level tree The execution level tree is displayed in the left-hand section of the execution
system. The available execution levels / tasks are displayed as permanent
entries. The OperationLevels folder contains the tasks that are available in the
RUN operating state. Click on the plus sign in front of the OperationLevel folder
er
to open it.
The list below each execution level or task name shows the configured tasks
and the programs assigned to them. After you have assigned programs to tasks,
they are displayed in the execution levels tree.
ez
By clicking on the entry "Select tasks", a list of all of the tasks that can be
configured is displayed in the right-hand section. Activate the task check box if
you wish to display it in the execution level tree. The overview of all of the
execution levels and tasks is provided in the right-hand section.
r.s
Assigning 1. Open the dialog for the execution system by double-clicking on the
programs "Execution system" symbol.
2. Select the required task. Also check that the option "Use task in execution
system" has been selected.
ne
3. Click on the "Program assignment" tab, and in the left-hand list box
"Programs", select the program that you wish to assign to the task.
4. Click on "Assign >>". The assigned program is displayed in the right-hand
list box and in the execution level tree. In the left-hand list box "Programs",
the program is still displayed; the number of assignments that have been
ca
Note For DCC, blocks are assigned to time slices T1 ... T5 – and therefore to the
assisted tasks – in the DCC editor.
Defining a
start condition
om
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.14
SITRAIN Training for
Automation and Drive Technology
@
UserInterrupttask The user has two UserinterruptTasks, UserInterruptTask_1 and
UserInterruptTask_2 available to him. Just as for the other task, these tasks also
assigned to programs for execution.
er
Defined To start this task, the user must enter a start condition in the window "defined
condition condition". At each rising edge, if the condition is fulfilled, then the
UserInterruptTask is started. The interrupt condition is evaluated in the
interpolator cycle clock.
ez
Several conditions can be entered in the "Defined condition" window, which are
ie
om
l.c
ai
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.15
SITRAIN Training for
Automation and Drive Technology
@
Task runtimes The statuses and runtimes of the individual tasks can be read out using the
device diagnostics of the control system.
Call Via the device (for example D435) -> Target device -> device diagnostics, you
er
Overview Task name, task status, actual, minimum, maximum and the average value task
runtimes are displayed for each task in the overview.
The task status can also be read out using the system function
(_getStateOfTask) and processed in the user program.
r.s
ne
ca
om
Start Task Reset Task
l.c
Interrupt Task Task State
ai
Continue Task Determine TaskId
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.16
SITRAIN Training for
Automation and Drive Technology
@
Controlling A range of commands are available in MCC for controlling tasks.
Tasks They can be used to start, stop and resume MotionTasks and other tasks.
Start Task This command starts a MotionTask from the beginning, i.e. a stopped task is
er
executed from the beginning. If the task is already active, it is stopped and
processed again from the beginning.
Corresponds to the call _restartTaskId
ez
Interrupt Task This command interrupts a task at the current location. The command does not
stop axis motion which had previously been started from this task.
Corresponds to the call _suspendTaskId
r.s
Continue Task This command will resume processing of an interrupted task at the location it
was interrupted. Interrupted motion is not automatically continued. It is
necessary to program resumption of interrupted motion.
Corresponds to the call _resumeTaskId
ne
Reset task Using this command, a MotionTask is stopped. The task can be restarted with
the Start task command with data initialization.
Corresponds to the call _resetTaskId
ca
Determine Task Id This command generates a project-wide unique TaskId from the name of a task.
This TaskId is assigned to a variable of data type StructTaskId.
Corresponds to the call _getTaskId
_startTaskId
Start task BOOL EN ENO BOOL
StructTaskId id OUT DWORD
om
_restartTaskId
BOOL EN ENO BOOL
Restart a task
StructTaskId id OUT DWORD
l.c
e.g.: _task.MotionTask_1
ai
parameter "id"
via symbol input help
(Context menu ->
Symbol input help)
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.17
SITRAIN Training for
Automation and Drive Technology
@
Controlling From V3.1.1 in LAD/FBD, a series of commands are available to control task
tasks execution. They can be used to start, stop and resume MotionTasks. The status
of the task can also be interrogated/queried.
All of the functions operate with a parameter "id" which is used to define the
er
required task. This parameter must be assigned the unique TaskId of the task.
You can obtain the TaskId for a MotionTask as follows:
• _task.<name>
ez
• _getTaskId(<name>)
whereby <name> specifies the task name, as it was specified in the execution
system (e.g. MotionTask_1).
All functions have a return value "out". A value of "0" indicates that the command
was successfully executed, a value not equal to "zero" indicates an error
r.s
TASK_STATE_SUSPENDED
The functions may not directly follow _resetTaskId. Instead of this, the
_restartTaskId function must be used.
_restartTaskId This command starts a MotionTask from the beginning, i.e. a stopped task is
ca
_resetTaskId
Reset task BOOL EN ENO BOOL
StructTaskId id OUT DWORD
om
_suspendTaskId
Interrupt task BOOL EN ENO BOOL
StructTaskId id OUT DWORD
l.c
_resumeTaskId
ai
Resume task BOOL EN ENO BOOL
StructTaskId id OUT DWORD
SIMOTION
Siemens AG 2013 All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_07.18
SITRAIN Training for
Automation and Drive Technology
@
_resetTaskId This function resets a MotionTask into the state TASK_STATE_STOPPED.
The _startTaskId functions must not directly follow this function. Instead of this,
the _restartTaskId function must be used.
er
_suspendTaskId
This command interrupts a task at the current location. This function sets
the task involved into the TASK_STATE_SUSPENeDED state The command
does not stop axis motion which had previously been started from this task.
ez
the selectedl task would be resumed at the interrupted location with each time
that the eBackgroundTask is executed.
Tkhe command is permissible for MotionTasks, BackgroundTask,
UserInterruptTasks, SystemInterruptTasks and TimerInterruptTasks.
_getStateOfTaskId
Determine task BOOL EN ENO BOOL
state StructTaskId id OUT DWORD
om
Return value "OUT" specifies OR'ing with the following states:
• 16#0000:
Specified task does not exist (TASK_STATE_INVALID)
• 16#0001:
Transition RUN to STOP (TASK_STATE_STOP_PENDING)
l.c
• 16#0002:
Task is stopped (TASK_STATE_STOPPED)
• 16#0004:
Task running (TASK_STATE_RUNNING)
• 16#0010:
Task waiting (TASK_STATE_WAITING)
• 16#0020:
Task is suspended (TASK_STATE_SUSPENDED)
ai
• 16#0040:
TimerInterruptTask waiting for next cycle
(TASK_STATE_WAIT_NEXT_CYCLE)
• 16#0080 UserInterruptTask or SystemInterruptTask waiting for
next event (TASK_STATE_WAIT_NEXT_INTERRUPT)
SIMOTION
Siemens AG 2013 All rights reserved.
gm
• 16#0100 Task locked by _disablescheduler (TASK_STATE_LOCKED)
Date:
File:
03.01.2013
MC-SMO-SYS_07.19
SITRAIN Training for
Automation and Drive Technology
@
_getStateOfTaskId The function returns the state of the task involved. The function can be applied
to all tasks with the exception of StartupTask and ShutdownTask.
Default setting: TaskId the actual task, in which the function is called.
TaskId the task which is to be controlled. You can obtain the TaskId for a
MotionTask as follows:
ez
• _task.<name>
• _getTaskId(<name>)
whereby <name> specifies the task name, as it was specified in the execution
system (e.g. MotionTask_1).
r.s
Running to Stopped
• TASK_STATE_STOPPED (16#0002): Task is stopped
el
• WAITFORCONDITION
TS TS • _waitTime() TS
_INVALID _WAITING _RUNNING
(16#0000) (16#0010) Condition fulfilled (16#0004) _
r es
e
om
d tT
kI as
T as kI
nd d
pe d
us kI
_s
_restartTaskId
as
MT completed
T
me
t
su TS_STOP
up
e
_r
rr
_PENDING
TS_
te
d
(16#0001)
te
in
SUSPENDED
l.c
le
xt
(16#0020)
mp
Ne
co
TS
ai
_WAIT_NEXT TS
TS _CYCLE TS
_STOPPED
_LOCKED (16#0040) _WAIT_NEXT
(16#0002)
(16#0100) _INTERRUPT
SIMOTION
_disableScheduler
_enableScheduler
03.01.2013
MC-SMO-SYS_07.20
SITRAIN Training for
Automation and Drive Technology
@
TS_INVALID The task does not exist in the execution system. It was not used when
parameterizing the execution system.
TS_STOP_PENDING The task has received a signal to stop, it is located between the RUNNING and
er
TS_WAITING Task in the wait state due to one of the following functions:
• _waitTime()
• WAITFORCONDITION...
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.1
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Structure of Synchronous Operation for SIMOTION ......................................................................... 2
Camming for SIMOTION .................................................................................................................... 3
er
Master value
• Positioning axis External
• Synchronous axis encoder
• Ext. encoder Virtual
• Virtual axis axis
Slave value
om
Leading TO
axis synchro-
nous
operation
Settings
l.c
• Master value Master value
• Gear ratio
• Synchronizing and
desynchronizing profile
ai
Buffer IPO Servo
• Restrictions
SIMOTION
• Monitoring functions
Date:
File:
03.01.2013
MC-SMO-SYS_08.2
SITRAIN Training for
Automation and Drive Technology
@
Structure of syn- Using the technology object "Synchronous operation" two or more axes can be
chronous operation coupled so that they form a synchronous group.
A leading axis (master) generates a master value, which is processed by the
synchronous object according to specific criteria (gear ratio, scaling, offset, cam)
er
The master and slave values arie coupled without physical conversion in the
relevant parameterized units. Fosr example, if the leading axis is a linear axis
(unit in millimeter), the following axis a rotary axis (unit in degrees) then for a ratio of
r.s
Mechanical Mechanically, the syn chronous object represents the gearbox with drive-in/drive
model out or in conjuncution with the TO "Cam", the cam gear with mechanical cam and
sensing system. A coupling used for enabling and disabling the following motion on-
ne
Coupling via The funclotionality of a gear is characterized by a constant ratio between the
gear master value source and following axis. The ratio can either be programmed as
rational gear factor or using a numerator denominator ratio.
Tkhe slave value is calculated from the programmed gear factor and the master
ca
value and transferred to the gear axis. A following axis can be interconnected with
more than one master value by means of the synchronous object, however only one
of them is evaluated. The master value can be switched over from the user program
at the runtime.
When selecting gearing, a distinction is made between absolute and relative
synchronous operation. Various types of synchronizing and desynchronizing profiles
(related to master value or related to time) can be selected.
Master value
• Positioning axis
• Synchronous axis External
• Ext. encoder encoder Cam_1
• Virtual axis Virtual
axis
om
Cam_2 Slave value
Leading
TO
axis TO
synchro-
nous Cam_3
Settings operation
• Master value
l.c
• Cam
• Scaling Master value
• Synchronizing and
desynchronizing profile
ai
Buffer IPO Servo
SIMOTION
• Monitoring functions
synchronous operation, a following axes not only receives its position setpoints
from one synchronous operation TO, but from two, the basis synchronous
operation TO and a superimposed synchronous operation TO.
For camming, several cams can be used. Changeover to another cam can be
executed in the user program at the runtime.
r.s
• The synchronous object and the following axis are permanently assigned to
each other during configuration.
• The master value object (positioning axis, virtual axis, synchronous axis or
external encoder) can be connected with several synchronous objects.
ca
om
Velocity
l.c
Acceleration
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.4
SITRAIN Training for
Automation and Drive Technology
@
Cams Cams can be created in SIMOTION SCOUT using the CamEdit tool or the
optional SIMOTION CamTool add-on.
er
Cams, that were created with CamEdit can be converted to the CamTool, and
CamEdit vice versa. Further, cams can be exported and imported.
Using the cam editor CamEdit, cams can either be defined using interpolation
ez
If the cam is created using seg ments, then CamEdit provides VDI wizards to
CamTool define the segments.
Under SIMOTION Ca mTool, cam segments can be created from fixed points,
straight lines, sine cuurves, arc-sine curves and interpolation points.
ne
om
l.c
Synchronous operation
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.5
SITRAIN Training for
Automation and Drive Technology
@
Creating a syn- If, when creating an axis in SIMOTION SCOUT the technology "synchronous
chronous object operation" is selected, then SIMOTION SCOUT automatically creates a
synchronous object associated with the axis.
The synchronous object appears in the project navigator under the
er
corresponding axis. The axis name is automatically used as the object name
and the extension "_SYNCHRONOUS_OPERATION" is attached.
Assignments The assignment of master values and cams is symbolized in the project
ez
These assignments are made in the "Configuration" dialog (see the next page).
ca
om
l.c
• Setpoint coupling
• Actual value coupling
with extrapolation
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.6
SITRAIN Training for
Automation and Drive Technology
@
Interconnections Synchronous objects are assigned to possible leading axes and cams in the
"Interconnections" dialog. This dialog is opened, if you double-click on
configuration in the project navigator under the object
<axis name>_SYNCHRONOUS_OPERATION.
er
In this dialog, the possible master values and cams are assigned to the
synchronous object, the following axis. The actually used master value or the
definition of the active cam is defined at runtime using the appropriate functions.
ez
Setpoint and For real axes, it is also possible to select either a setpoint or actual value
actual value coupling coupling. For external encoders, only an actual value coupling is possible, for
virtual axes a setpoint coupling as well as also an actual value coupling with
extrapolation.
r.s
For an actual value coupling, the reference value for the actual value coupling
must be extrapolated to compensate for dead times. The appropriate
compensation is set at the TO of the leading axis under the "Actual value"
dialog.
ne
Notes Gearing or camming with a following axis is only possible, if at least one master
value has been assigned to the associated synchronous object.
When selecting camming, in addition, at least one cam must be assigned.
ca
Expert List From the expert list, it is possible to access all configuration data and system
variables of the synchronous object. The expert list can be called in the context
menu of the synchronous object using the command Expert -> Expert list.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.7
SITRAIN Training for
Automation and Drive Technology
@
Configuration The most important configuration settings for synchronous operation can be
made in this dialog.
Allow absolute For absolute synchronization, with a "Yes" setting, jerk is taken into account.
synchronization If "No" is set, the set jerk will not be applied in spite of velocity profile =
ez
Adjustment of the Adaptation to the dynamics of the leading axis at the synchronous position
r.s
Overshoot Overshoot factor for the adapted dynamic values to catch up and compensate a
factor remaining path difference (syncingMotion.overdriveFactor) as a percentage (%).
ne
Tolerance for Tolerance window for canceling the synchronization operation for direction
direction reversal reversal of the master values (syncingMotion.masterReversionTolerance).
Position value in the user unit of the master values
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.8
SITRAIN Training for
Automation and Drive Technology
@
Default settings of Default settings for synchronous operation can be parameterized in the "Default"
parameters
dialog. Parameters (default setting) for calling synchronous operation functions
are defined in this dialog. These parameter values are only evaluated if no
er
special settings are made in the associated function calls for synchronization/
desynchronization (ST and LAD or MCC).
Conditions for synchronizing and desynchronizeing can either be directly
specified using function parameters when calling the function, or via these
ez
settings, which are known as User default mvalues. These user default values
are also saved in the corresponding system variables of the synchronous
Settings object.
For the "Synchronous operatsion" function, the appropriate data are entered for
r.s
• Tab "Gearing"
- Type of gear (absolute or relative synchronous operation)
ne
Gearing
on
Specification of leading
and following axes
om
Specification of
direction and gear ratio
Select:
l.c
• absolute or
• relative
gearing
ai
Specification of the transition
behavior and program advance
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.9
SITRAIN Training for
Automation and Drive Technology
@
Programming In the "Parameter" tab of the MCC command "Gearing on", settings can be
gearing made regarding the leading and following axes as well as settings on the
synchronous mode type and gear ratio.
er
Following axes The synchronous axis to be synchronized is selected here. All axes of the
device, for which synchronous operation functionality has been configured as
well as all variables of the MCC chart, data type "followingAxes" can be
selected.
ez
Leading axis The axis or external encoder that generates the master value in the velocity
relationship can be selected here. All positioning axes, synchronous axes and
external encoders as well as all variables of the MCC chart, with data type
posAxis, followingAxis or externalEncoderType are listed.
r.s
Gear direction The active direction for the gear is selected here.
Type of gear Here a selection is made as to whether the ratio is specified as a fraction
ne
Numerator/ Depending on the selected "Type of gear ratio", the gear ratio can be entered as
denominator numerator/denominator pair or as floating point number.
ca
Reference point The type of synchronous operation is selected here. SIMOTION distinguishes
between absolute synchronous operation, i.e. angle or position synchronous
operation (selection: "Gearing takes place relative to axis zero") and relative
synchronous operation, i.e. velocity synchronous operation (selection:"Gearing
takes place relative to the start position").
Set new Using this check box, the master value of the synchronous relationship is set
master value again (default setting). if the check box has not been activated, a previous
master value setting is kept.
om
Slave value Slave value
l.c
g g
ai
Slave value = g x master value + φ
φ is defined φ is undefined
SIMOTION
(can be specified for the system
function call "Synchronize")
interpreted in absolute terms. This means that a possible offset between the
master and slave value, which was present before synchronization, is corrected.
After synchronization has been completed, for a gear ratio of 1:1, the speeds
and positions of the leading and following axes are identical (φ = 0) or a defined
r.s
phase relationship has been established between the positions of the leading
and following axes (φ <> 0).
A phase (φ ) can be entered when selecting: "Start of synchronization: at the
leading axis with offset" or "Immediate synchronization with offset".
ne
Relative For relative gearing, i.e. "Gearing takes place relative to the start position"
gearing (gearingType = RELATIVE), a synchronizing profile is calculated, so that only
the speeds of the leading and following axes are adapted according to the ratio.
An offset that was present before synchronization or an additional phase (φ' ),
which is obtained as a result of the synchronization, is not corrected by the
ca
synchronization operation.
After synchronizing the following axis, the closed-loop position control of the
following axes ensures that now for example, phase or position offsets as a
result of disturbances, are corrected.
Selection of the
synchronization reference
reference:
om
• leading axis
• time
Specification of positions,
offset and
synchronization length
l.c
Specification of the
transition behavior and
ai
program advance
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.11
SITRAIN Training for
Automation and Drive Technology
@
Programming In the "Synchronization" tab of the MCC command "Gearing on" synchronization
gearing reference as well synchronization positions and lengths can be specified.
synchronization When selecting "Gearing takes place relative to the axis zero", absolute position
synchronous operation (φ = 0) is performed. It is not possible to specify an
additional phase offset (φ <>0).
At leading axis position: Synchronization starts, if the leading axis has reached a
ez
certain position. When selecting "Gearing takes place relative to the axis zero",
absolute position synchronous operation (φ = 0) is performed. It is not possible
to specify an additional phase offset (φ <>0).
At leading axis position with offset: Synchronization starts, if the leading axis has
r.s
immediately initiated. In addition, for absolute gearing a phase offset (φ <>0) can
be entered.
Start immediately and synchronous at master position: Synchronization is
started immediately. At the specified leading axis position, the following axis is in
synchronism with the leading axis. It is not possible to specify an additional
ca
Position
Leading axis
Synchronization
om
length
l.c
Following axis Time
Start End
ai
• Specify a position and -> Start and end position are clearly defined,
the synchronization length dynamic response parameters are not active
Synchronization profile referred to time
SIMOTION
• Specify a position and
the dynamic response parameters
Date:
File:
Synch. length is calculated by the system
Dynamic response parameters are active,
03.01.2013
MC-SMO-SYS_08.12
SITRAIN Training for
Automation and Drive Technology
@
Synchronization The profile for synchronization can either be specified referred to the heating
reference value or referred to time. In ST or LAD, the reference to the synchronization
operation is specified using the function parameter syncProfileReference.
• Referred to leading axis
er
(syncProfileReference = relate_sync_profile_to_leading_value)
• Referred to time
(syncProfileReference = relate_sync_profile_to_time)
ez
If possible limits (velocity, acceleration, etc.) are exceeded, then the limit is first
made in the TO of the following axis.
start nor the end position of the synchronization operation can be specified.
From the dynamic response parameters, SIMOTION defines the remaining
variables, such as synchronization length and time, for example.
Attention For synchronization referred to the leading axis, during the synchronization
operation it is not permissible that the leading axis reverses, otherwise the
"Gearing on" command will be interrupted with the error message: "50007: Error
occurred while "activating/deactivating synchronous operation".
Following axis
Sync position
om
l.c
Leading axis
ai
Synchronization before synchronization position
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Symmetrical synchronization
Synchronization from the synchronization position
Date:
File:
03.01.2013
MC-SMO-SYS_08.13
SITRAIN Training for
Automation and Drive Technology
@
Reference leading Using the parameter "Reference point for leading axis position" (syncPosition-
axis position Reference) the position of the synchronization point when synchronizing can be
influenced:
Synchronize from synchronization position (syncPositionReference =
er
Gearing
off
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.14
SITRAIN Training for
Automation and Drive Technology
@
Gearing Deactivation of the gearing is similar to activation. Only the leading and following
axes must be specified under the "Parameter" tab for which synchronous
operation is to be deactivated.
The type of synchronization is specified under the "Desynchronization" tab The
er
Synchronization Here you can choose between a synchronization profile relative to the leading
ez
reference axis or time. Just the same as for synchronization, the following applies here:
• The dynamic response parameters are not active for a profile relative to the
leading axis.
• For a profile relative to time, the dynamic parameters are active, however
r.s
Reference point of Here, you can choose from Before or From the synchronization position and
the desynch. position for a synchronization profile relative to the leading axis, symmetrically to the
synchronization position.
ca
Desynchronization Here, for a profile relative to the leading axis, the desynchronization length
length can be specified.
Leading/following If the position of the leading or following axis was selected for the position of the
axis position then the required position can be specified here.
Dynamic response For a desynchronization profile relative to time, in this particular tab, the
parameters dynamic response values for the desynchronization operation can be specified.
Position
Leading axis
GL-TO.current-
syncposition.
slave
om
GL-TO.current-
syncposition.
master
l.c
Following axis
Time
ai
Start of the synchronization operation: Synchronization position:
GL-TO.state = gearing GL-TO.syncstate = active
FA-TO.syncmonitoring. FA-TO.syncmonitoring.
SIMOTION
Siemens AG 2013. All rights reserved.
followingmotionstate = active
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.15
syncstate = active
GL-TO.state The system variable "state" at the synchronous object indicates whether a
er
GL-TO.syncstate This system variable indicates the synchronism of the leading and following axis
at the synchronous object. If the leading and following axes are in synchronism,
this variable is set to the "active" state.
The start of desynchronization or any loss of synchronism results in the variable
r.s
Note The "active" value of the system variable "syncstate" only signals that after
calculating the synchronous object, the incoming leading axis value (GL-TO.
currentmasterdata.value) and the slave value output at the TO of the following
ne
Sync position The particular synchronization position of the leading and following axis, i.e. the
position from which the leading and following axes run in synchronism, is not
saved in the two variables:
• GL-TO.currentsyncposition.master
• GL-TO.currentsyncposition.slave
om
Master velocity (10mm/s) Slave velocity
"state"
"syncstate"
Master pos.
l.c
Slave pos.
ai
Gearing: absolute, i.e. relative to the axis zero
Gear ratio: 1:1
SIMOTION
Synchronization:
Synchronization length:
Parameter Ratio: 1 : 1
er
Reference point: Gearing is realized relative to the axis zero (absolute gearing,
i.e. position synchronization)
ez
Sequence From the specified leading axis position and the synchronization length, the
synchronous operation TO of the following axis calculates the required position
r.s
"state"
Slave velocity
om
"syncstate"
Slave pos.
l.c
Master pos.
ai
Gearing: absolute, i.e. relative to the axis zero
Synchronization direction: shortest distance
Synchronization: from the leading axis position 150 mm
SIMOTION
Velocity:
Acceleration:
Jerk:
Date:
File:
gm 03.01.2013
MC-SMO-SYS_08.17
SITRAIN Training for
Automation and Drive Technology
@
Absolute This diagram shows synchronization for absolute synchronous operation with a
synchronism synchronization profile relative to time. The following settings have been made
under the individual tab sheets.
er
Parameter Ratio: 1 : 1
Reference point: Gearing is realized relative to the axis zero (absolute gearing,
i.e. position synchronization)
ez
Sequence From the specified velocity and acceleration of the following axis – and
assuming a constant leading axis velocity – the synchronous operation TO of
ca
"syncstate"
"state"
om
Master velocity (10mm/s)
Master pos.
l.c
Slave pos.
Slave velocity
ai
Gearing: relative, i.e. relative to the start position
Gear ratio: 1:1
SIMOTION
Synchronization:
Synchronization length:
Parameter Ratio: 1 : 1
er
axes have the same velocity at the end of the synchronization length (30 mm).
The resulting position offset between the leading and following axes at the end
of the synchronization operation (approximately 30 mm) is obtained from the
offset at the start of synchronization (approximately 15 mm) and the offset as a
result of the synchronization operation itself (15 mm).
ne
ca
LA LA
...
...
LA LA
CAM CAM
om
Synchronous Synchronous
...
...
object object_1
CAM CAM
l.c
Following axis
ai
Basis synchronous object: Superimposed synchronous object:
SyncingMotion.motionImpact: SyncingMotion.motionImpact:
"Standard" "SuperImposed_Motion"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.19
LA:
CAM:
Leading axis
Cam
Note Only one relationship can be configured to a leading axis. It is not permissible to
ez
configure relationships to the same leading axes from the basis and
superimposed synchronous objects.
Functions The functions for superimposed synchronous operation can be used in the same
way in ST, LAD and MCC. For the superimposed synchronous object, all of the
r.s
functions known for the basis synchronous object can be applied (e.g.
enablegearing, disablegearing, etc.).
In MCC, by selecting the leading axis (uniqueness of the configured
relationship) it can be defined as to whether the basis or the superimposed
synchronous object is to be addressed When selecting a leading axis, which is
ne
Coordinate system Just the same as for superimposed motion, every synchronous object has its
own coordinate system. The "outputs" of the synchronous object are added in
the following axes TO. The output values of a synchronous object (and thus also
the motion component of the superimposed synchronous operation for the axis)
can be read out in the "currentSlaveData" system variable of the synchronous
object.
The positions and dynamic response values of the basis motion are also
provided within the TOs of the following axis using the system variable
"basicmotion"; those of the superimposed motion, using the system variable
"superimposedmotion".
Axis_2
om
Axis_1
Chocolate molds
Filler
l.c
Sensor
Sheet
ai
Conveyor belt External encoder
(is not traversed from
SIMOTION)
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.20
SITRAIN Training for
Automation and Drive Technology
@
Filling chocolate The overhead above shows the "filling system" principle of chocolate molds.
molds The filling system essentially comprises the conveyor belt and the filler itself.
SIMOTION does not control the conveyor belt, this is traversed from a higher-
level control system. Producing various chocolate molds, for example Santa
er
Filling stationary To fill an individual, stationary mold, initially the filler must be traversed to the
sheets origin of each mold and then must traverse, relative to the sheets, a contour
r.s
Filling moving However, sheets are transported on a conveyor belt with fluctuating velocities.
sheets This situation can be handled by synchronizing axis_1 to the motion of the
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_08.21
SITRAIN Training for
Automation and Drive Technology
@
Insert synchronous In the SIMOTION project navigator, under a synchronous axis you can insert as
object a maximum one additional, superimposed synchronous object. Proceed as
follows:
1. Select the required synchronous axis in the project navigator.
er
2. In the context menu that opens (right-hand mouse key), select the
menu entry Experts -> Insert superimposed synchronous object.
SIMOTION automatically inserts the supemrimposed synchronous object with
name <axis_n_SYNCH_2>.
ez
CAM
Leading Synchro-
...
axis nous
object
CAM
om
Following
PROFIBUS
axis
master
l.c
Synchro- CAM Synchro- CAM
nous nous
...
...
object object
ai
CAM CAM
Following Following
axis axis
SIMOTION
Siemens AG 2013. All rights reserved.
...
PROFIBUS
slave_1 gm
...
Date:
File:
03.01.2013
MC-SMO-SYS_08.22
PROFIBUS
slave_n
The coupling between the leading axis (or the external encoder) and the leading
axes is realized via PROFIBUS-DP. Using distributed synchronous operation,
function groups can be formed in a project thus allowing modular machine
designs. Axes running in synchronism then no longer have to be controlled on
ez
one and the same control system, but can be distributed over several modules.
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Application Example ......................................................................................................................... 3
External Encoder on a Mechanical Press ......................................................................................... 4
er
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.2
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Output Cam Controller: Applying Glue Tracks .................................................................................. 27
Output Options for Output Cams ....................................................................................................... 28
er
Ram
Light
barrier Glue application
om
M
l.c
External
encoder
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.3
SITRAIN Training for
Automation and Drive Technology
@
Application With this application, cardboard boxes are folded, so that they can be
subsequently filled. To do this, the cardboard boxes are placed on a conveyor
belt. There, a light barrier is used to determine the box position.
The position is used so that the glue can be applied at the correct position on
er
the box. The box is then folded using a ram and placed on the conveyor belt.
External encoder The external encoder is used to detect the position of the conveyor belt. For
instance, external encoders are used, if the position of an axis, for example a
ez
conveyor belt, must be detected that is either not controlled from SIMOTION,
but for example from a master control system.
The "External encoder" technology object provides actual values for position,
velocity and acceleration of a distance measuring system, without associated
r.s
Measuring input The measuring input is used in order to quickly detect the position of the box on
the conveyor belt and to transfer the value to a glue nozzle.
The technology object "Measuring input" is always used, if actual positions must
ne
Output cam The output cam is used to open the valve of the glue nozzle at a defined position
of the conveyor belt. This switch-on position is continually changed during
production depending on the position of the box.
ca
om
Main drive
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.4
SITRAIN Training for
Automation and Drive Technology
@
External encoder An external encoder is used to detect the position of a moving machine part or
product and to further process this in the control system. The machine part can
be a conveyor belt, which is driven by a motor, and which is not controlled from
SIMOTION – or from SIMOTION only as speed-controlled axis.
er
Also for presses, the main drive is externally controlled and only the position of
the ram is detected using a connected encoder (generally an absolute encoder).
C240 / C230-2
SIMOTION D
or 4 external
encoders
SINAMICS S120
om
External encoder
ADI4
IM 174
4 external encoders
l.c
1 external encoder
ai
611U
SIMODRIVE
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.5
Sensor
SIMOTION D/ External encoders can either be directly connected to the SINAMICS drive
SINAMICS system or via SMCs. An external encoder is inserted in the SINAMICS project
tree under the folder "Encoder" and then automatically supplied with message
frame 81.
ez
SIMOTION.
On the lactual value side, the information from the connected encoder is
converted into the associated position actual values.
ca
SIMODRIVE 611U/ At SIMODRIVE 611U, for a two-axes module, the 2nd encoder interface can be
MASTERDRIVES used to connect an external encoder. For MASTERDRIVES, a second encoder
can be connected by means of an encoder module.
SIMODRIVE Sensor The SIMODRIVE Sensor isochronous is an absolute encoder that can be
d
om
l.c
ai
SIMOTION
Step 2
Assign axis type
the encoder), onto which the encoder is mounted, is selected. When configuring
the axes, SIMOTION SCOUT provides the following two types.
• Linear: The "linear" type should always be selected, if the position is
detected in length units, for example: mm, m, ... (for example transport
r.s
conveyor belt).
• Rotary: The "rotary" type should always be selected if the, position is to be
detected in angular units, for example degrees, rad, ... (e.g. press, rotary
table/indexing table).
ne
ca
Step 3
Assign units
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.7
SITRAIN Training for
Automation and Drive Technology
@
Units, The units for physical quantities, such as position, velocity, acceleration
accuracy and time are set when configuring the external encoder. SIMOTION supports
physical quantities such as position, velocity, acceleration and time. The units
are set during the configuration. In addition to metric units (e.g. mm, etc.) non-
er
change the units set, system variables and configuration data are automatically
converted to the new units. Numerical values in user programs (e.g. in the
motion commands) are not converted to the new units when the unit settings are
changed.
The minimum guaranteed control accuracy is one increment. This is then used
ne
to derive the other minimum guaranteed control accuracy levels, e.g. one
increment/clock cycle. These accuracy levels are normally higher due to
floating-point calculations.
ca
Step 4
Define encoder
assignment
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.8
SITRAIN Training for
Automation and Drive Technology
@
Encoder assignment Here, the "External encoder"- TO can be interconnected with an encoder at the
drive system (e.g. "Drive_blue").
All drive encoder systems configured in SIMOTION SCOUT or HW Config are
displayed in the "Assignment partner" column. The "Assignment" column
er
• Incremental encoder
• Absolute encoder: the total overflows of the absolute actual value, i.e.
overflows of the multiturn information are not saved when SIMOTION is
switched off.
• Absolute encoder: absolute cyclic; in this case, when switching off, the
ca
Step 5
Finish
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.9
SITRAIN Training for
Automation and Drive Technology
@
Finish The basic configuration of an external encoder is finished by clicking on the
"Finish" button. Additional settings can be made using the relevant screen forms
for "External Encoder" TO.
The following elements are displayed below TO "External Encoder".
er
• Expert list
• Mechanical system
• Actual value
• Defaults
r.s
• Homing
• Signal flow
Double-click on the desired entry to open the corresponding window in the work
area of the SIMOTION SCOUT. In this window you can make additional
ne
settings.
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.10
SITRAIN Training for
Automation and Drive Technology
@
Configuration After configuring the external encoder, in the dialog External encoder ->
Configuration the following view is obtained. The dialog shows the encoder
settings, which have been made in the basic configuration.
er
Processing The cycle can be defined in the "Processing cycle clock" dropdown box. The
cycle clock following are available:
• Ipo
ez
• Ipo2
• Servo
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.11
SITRAIN Training for
Automation and Drive Technology
@
Mechanical For a rotary, external encoder, in this dialog, initially the encoder mounting type
properties must be defined. The following selections are available:
• Motor side: In this case, additional settings must be made for a possible load
gearbox, as well as the ballscrew pitch.
er
• Load side: Here, settings must be made for the measuring gearbox. Further,
the ballscrew pitch must be specified.
m
wheels): Here, settings must also be made for the measuring gearbox, i.e.
the number of revolutions of the measuring wheel and encoder as well as the
length for each measuring wheel revolution.
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.12
SITRAIN Training for
Automation and Drive Technology
@
Master value If an "External encoder" is used as master value source in a synchronous group
coupling via then the actual value acquired can be smoothed and extrapolated. The
actual value extrapolation is used to compensate for the dead times, which are obtained
when acquiring the actual values as a result of the bus communication in the
er
system, and as a result of the finite processing time within the system itself.
The extrapolation is set on the leading axis or on the external encoder. The
"Utilities & Applications CD" also includes a program to calculate the
extrapolation times.
ez
Filtering the From V 4.1, the actual position value for the synchronous operation can be
actual position filtered separately for the extrapolation using a PT2 filter. The filter for the
position actual value of the axes is set using the option "Filter on the actual
position value" and the two time constants "T1" and "T2".
r.s
The filter acts on the actual position for the extrapolation before the
differentiation of the position for the extrapolation velocity.
Filtering the The position is extrapolated based on the filtered or averaged velocity actual
ne
actual velocity value. This filter can be activated using the option "Filter on the actual velocity
value": The time for the average value generation or the PT1 filter time is
entered under "Time constant.
The time for the extrapolation is entered under "Extrapolation time".
Extrapolation is not performed if 0.0 is entered.
ca
The extrapolated values (position and velocity) can be monitored in the system
variable extrapolationData....
In addition, the velocity master value can be optionally generated from the
extrapolated position master value through differentiation or the extrapolated
velocity master value can be used for synchronous operation.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.13
SITRAIN Training for
Automation and Drive Technology
@
Homing SIMOTION supports various synchronizing/homing modes for external
encoders. The reference position of the external encoder can be set using the
function.
The following modes are supported for incremental measuring systems:
er
• Direct homing: The actual position of the encoder is set to the value of
the home position coordinate.
• Passive homing/flying homing: In this mcase, the value of the home
position coordinate is assigned to the syncheronization point of the encoder.
ez
The path travel ed from the homing cam to the next encoder zero marker can
be moniutored.
• Direct hogming: The actual position of the encoder is set to the value
of the home posoition coordinate.
• Absollute encoder adjustment: In this case, an offset to the encoder
coordinate system is taken into account.
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.14
SITRAIN Training for
Automation and Drive Technology
@
The dialogs under the "Signal flow" entry provide a functional view of the
Signal flow
processing and the parameters of the SIMOTION TO "External encoder".
Using the individual screen forms, the path of the actual positions acquired by
er
The names of the associated system variambles from the expert list are
displayed at the cursor tool tip (this is important for trace recordings). Further,
the parameter settings (configuration datae), relevant for processing the actual
values and extrapolation, can be diirectly entered in the screen forms.
r.s
The functional view of the proces ssing of the encoder values in SIMOTION
provides:
External encoder on
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.15
SITRAIN Training for
Automation and Drive Technology
@
External encoder on The command switches on the external encoder to acquire measured values,
i.e. the update of the actual values in the IPO is activated. The actual values in
the IPO are displayed in the system variable motionstate. ..., the encoder values
in the servo cycle are displayed under the system variable sensordata... . The
er
External encoder off The external encoder is deactivated, i.e. the update of the actual values in the
IPO is deactivated. The actual values are frozen in the IPO, they remain
ez
Synchronize The command homes the measuring system of the external encoder. The
external encoder following homing types are available:
r.s
Passive homing: For next axis motion, according to the settings under the
"Homing" tab the axis is synchronized to the first valid homing mark.
Setting of current position value: The value in the entry field "Home position
coordinate" is transferred into the current axis coordinate.
Absolute encoder adjustment: This selection is available only for absolute value
ne
encoders, that is, only for encoders that have been configured as type "absolute
value encoder" or "absolute value encoder, cyclic absolute". In this case, the
absolute encoder offset is taken into account.
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.16
SITRAIN Training for
Automation and Drive Technology
@
Application with TO The measuring input saves the actual axis position. The measured value
"measuring input" can be further processed in the user program.
The measuring input can either be connected at the special inputs of a drive
system, at the onboard inputs of the D4xx-2, at the ADI4 or at the TM15/TM17.
er
switching edge then initiates that the measured value is acquired and saved.
The system ignores any switching edges outside the measuring range.
r.s
ne
ca
2/4 measuring
inputs
24/16 measuring
om
inputs
TM15/TM17
ADI4
SIMOTION D4x5/
SINAMICS S120
IM 174
(global
l.c
measuring input) (local/global
measuring input) 2 measuring
inputs
ai
SIMOTION D4x5-2: max. 16 MI measuring input)
SIMOTION D410: max. 3 MI
SIMOTION D410-2: max. 8 MI 1 measuring
SIMOTION
Siemens AG 20013. All rights reserved.
Date:
File:
gm 03.01.2013
MC-SMO-SYS_9.17
input
611U
Global measurement In the case of a "Global measurement", initially the position is not acquired, but a
time stamp. This time stamp is signaled to SIMOTION using a special message
frame (telegram). From this time stamp and the cyclically transferred actual
positions, SIMOTION then calculates the actual measured value through
interpolation.
ne
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.18
SITRAIN Training for
Automation and Drive Technology
@
Local measurement Local measuring inputs are axis-related and are mainly implemented in the
drive. In the configuration of the TO measuring input, the number 1 or number 2
of the measuring input (measuring according to PROFIdrive supports the use of
2 measuring inputs) as well as the number of the encoder system) (up to three
er
Processing Here, the system cycle is entered, in whose cycle the TO measuring input is
cycle clock processed. The following cycles are available: Position control cycle, IPO and
IPO_2.
r.s
Correction stamp Here, data transfer dead times or filter smoothing times at the measuring input
can be compensated. This entry field is significant for "global measurement".
selection
Axis measuring The number of the encoder system is entered here. The measurement is
system number realized regarding this measuring system, not regarding the encoder, which is
presently being used for the position control.
ca
Measuring input According to the PROFIdrive profile, up to 2 inputs can be configured for a
number measuring system. The number of the measuring input is entered here.
Monitor actual If the checkbox is activated, then short pulses are suppressed at the
status measuring input. If the measuring input is activated, and if under "edge" a rising
edge was selected, then the measurement result is only signaled if the
measuring input had a signal state of 1 for a minimum of one basic cycle (servo
cycle).
om
p488[0] for encoder_1
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.19
SITRAIN Training for
Automation and Drive Technology
@
Activation time of You can define a measuring range for measuring command. This range could
the measuring area be unrestricted or restricted by a start and an end position. The measuring event
is only reported to the user program, if the measured value is inside the
specified measuring range.
er
When the axis reaches the start position of the measuring range a specific,
configuration dependent transmission time is elapsed until the measuring input
is actually activated. This transmission time could be compensated by an
activation time, which e.g. the transmission times on PROFIBUS and the
ez
internal processing time in the drive system. So usually SIMOTION will send the
activation/deactivation command to the drive system before the axis has actually
reached the start/end position of the measuring range.
Parameterization The actual assignment between the measuring input 1 or or 2 used, the encoder
r.s
at the drive system and the actual quick digital input that the drive is realized in parameters
p488[x] (x = encoders 1, 2, 3) for measuring input 1 and p489[x] for measuring
input 2.
In the associated dropdown list, only the fast bidirectional terminals that are
available for the drive system are listed, i.e. DI/DO9, DI/DO10, DI/DO11
ne
(DI/DO8 only D4x5-2) at the connector X122 and DI/DO13, DI/DO14, DI/DO15,
(DI/DO12 only D4x5-2) at the connector X132. Further, the bidirectional
terminals must be parameterized as inputs in the corresponding parameters
p728.x of the Control Unit.
ca
Note The inputs of the connector X142 (only D4x5-2) can only be used for global
measurements.
om
l.c
1. Click on selector 2. Select the
"Measuring input" entry
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.20
SITRAIN Training for
Automation and Drive Technology
@
Global measurement At the Control Unit of SIMOTION D (D4xx) or at the CX32, from V4.1 a max.
at the D4xx of 6 central measuring inputs are available for connection to the global TO
measuring input. This central measuring input is linked with the fast, onboard
inputs of the connectors X122 and X132 and can then be used for single or
er
cyclic measurements.
With the new SIMOTION D4x5-2 modules, 8e additional, global measuring
inputs are available via the connector X142. These inputs can be used for single
and/or cyclic measurments.
ez
The bidirection inputs/outputs at the teerminal modules TM15 and TM17 can
also be configured as measuring inputs.i The configuration procedure is identical
to the configurration of the onboard inputs/outputs of the connector X142.
For the configuration, initially the required fast, digital inputs at the connectors
r.s
Procedure X122 and X132 of the SINAMICS and/or the fast inputs at the connector X142 of
SIMOTION D4xx-2 and/or the fast inputs at the Connector X520 – X522 of the
TM 17 must be designated for use as a global measuring inputs. This is realized
in the correspondluing screen form of the CU (X122, X1329 and/or SIMOTION
D4xx-2 and/or TM17(X520 – X522).
ne
1. To start, under
- SINloAMICS_Integrated -> Control Unit -> Inputs/outputs,
open the screen form for parameterizing the integrated input/outputs of the CU
(X122, X132) and/or
ca
SINAMICS
om
measuring inputs
on X122 and X132
TM17
l.c
Assign measuring measuring inputs
input on X520 …
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.21
SITRAIN Training for
Automation and Drive Technology
@
continued 3. In case of SINAMICS inputs/outputs, you should ensure that the required
bidirectional input/output is parameterized as input, and with the mouse click
on the binector to interconnect the fast digital input. In the list that opens,
select the entry "Measuring input SIMOTION". This means that this fast input
er
has been designated for use as global measuring input for SIMOTION.
These inputs will be subsequently listed when continuing to configure the
measuring input TO for the interconnection. Setting up the required fast I/O
message frames) is then automatically performed by the system when
ez
message frames and download the project data into the SIMOTION and the
SINAMICS device.
Correction value A correction time to evaluate the time stamp can be entered here. In SIMOTION
time stamp this time is subtracted from the signaled time stamp. Hardware delay times at
ca
measuring inputs can be taken from the equipment/device manuals, and for
values far shorter then 125 μs can generally be neglected (e.g. for SIMOTION
D, SINAMICS Control Units, SIMOTION C240)). Hardware delay times must be
entered with a positive sign.
If measurements are performed at real axes, then for this time stamp technique,
time Ti must also be taken into account. The time interval Ti defines the instant
in time before the start of a DP cycle, at which the drive systems latches up the
actual axis positions and then send them via the cyclic actual value to
SIMOTION. This time Ti must be entered with a negative sign.
om
Measuring input_2
"Monitoring measuring input"
l.c
Measuring input_2
"Interconnection"
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Event acceptance: Measuring_input_1 -> Event transfer
Date:
File:
03.01.2013
MC-SMO-SYS_9.22
SITRAIN Training for
Automation and Drive Technology
@
Monitoring From V4.0 the function “Monitoring TO measuring input” is available. Using
measuring input this function, a global measuring input event can also be detected "at the same
time" from several TO measuring inputs and evaluated. With this functionality,
an original measuring input can have a functional effect on several axes /
er
external encoders.
This functionality is only possible with global measuring inputs at TM15/17,
(B1-B4) at the C240, the CU onboard inputs (X122, X132) and the SIMOTION
inputs (X142). Only these inputs support the necessary time stamp functionality.
ez
In the first step, initially the original TO measuring input is interconnected with a
measuring input as usual. At this original TO measuring input, the measuring
operation is activated using the associated program commands and the
measurement results are acquired. Activation and deactivation commands
issued to monitoring TO measuring inputs are not executed or are returned with
r.s
an error.
In the second step, additional TO measuring inputs are configured as monitoring
measuring inputs and are interconnected with the original TO measuring input in
the dialog "Interconnections" under the entry "Event transfer". The axis, which
passes the position values to the monitoring measuring TO is listed under
ne
"Reference".
Notes • Activating and deactivating the measuring process is only possible at the
original TO measuring input. These commands are not effective at
monitoring TO measuring inputs.
ca
• Measuring area and edge selection are only possible at the original TO
measuring input.
• The monitoring TO measuring input must have been correctly configured at
the instant of the measurement (measuring input cycle, system number).
• A monitoring TO measuring input does not have its own measuring input and
cannot perform its own measurements.
• The IPO cycles of the TO measuring input and the monitoring TO measuring
input can differ. This will then have a negative impact on the accuracy.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.23
SITRAIN Training for
Automation and Drive Technology
@
Tool "measuring A tool to determine the "Activation time of the measuring range" is provided on
input_de" the Siemens Service & Support web page".
The tool is realized as Excel application. The particular measuring input type
and/or drive type is defined using the individual sheets within the higher-level
er
om
l.c
Deactivate measuring input
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.24
SITRAIN Training for
Automation and Drive Technology
@
Activate single With the "Measuring input on" system commands, a measurement task is issued
measurement to SIMOTION. The control "system variable" indicates whether the measuring
function is active. If, for example, a positive measured edge has been selected
and the measuring input is deflected, the system variable cannot assume the
er
measurement task, in which case you can specify in the command which edge is
to be acquired first, for example, sifirst the rising edge and then the falling edge.
The drive must be capable of evaluating the signal edge (rising, falling, or both
edges) selected by SIMOTION at the measuring input.
r.s
When the measuring ev@ent is received, the measured position is saved. Once
the measurement has bee n performed, the "state" variable is set to
TRIGGER_OCCURREuD, and the measured values can be evaluated using the
"measuredVallue1" and/or "measuredValue2" variables for two measured edges.
ne
Edge
The edge parameter is used to select which signal edge is used to start the
measuremloent. The following can be selected: rising, falling, measurement
treiggered at both edges, starting with a rising or falling edge.
ca
Measuring range Hkere, a range can be defined in which the measurement should be made. This
measuring window is defined from the start of the measured area and the end of
the measured area.
Measuring result The measuring result(s) is(are) saved in the following system variables from
where they can be read out and processed:
i
• measuredValue1
• measuredValue2
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.25
SITRAIN Training for
Automation and Drive Technology
@
Cyclic measurement In the cyclic measurement mode, up to two edges can be measured in each
execution cycle of the TO measuring input for TM17 High Feature, C240 (B1-
B4) and SIMOTION D4x5-2 (X142) (IPO, IPO2 or servo cycle clock). With the
CU onboard measuring inputs (X122, X132), minimum time between two
er
Cyclic measurement A measurement is activated using the "Activate cyclic measurement" program
sequence command. The control "system variable" indicates whether the measuring
function is active. Measurement starts when activated by the program
r.s
command. The "Edges" selection box can be used to select which edges should
be acquired.
The "state" variable is set to the TRIGGER_OCCURRED value, when the first
measured value is acquired. Additionally each new Measuring event could be
read out from the system variable "actualInputState". Depending on the state of
ne
the measuring input signal this system variable is either set to "Positive" or
"Negative".
After a successful measurement has been performed, the measured values are
saved in the system variables "measuredValue1" and "measuredValue2" and
can be subsequently evaluated.
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.26
SITRAIN Training for
Automation and Drive Technology
@
Synchronize Using this command, 2 measuring systems can be synchronized with one
measuring system another and/or the difference of the specified measuring systems read out and
subsequently saved in a user variable.
During synchronization, it is only possible to change the value of a measuring
er
Controller
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
External encoder
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.27
SITRAIN Training for
Automation and Drive Technology
@
Application with Glue should be applied to a wooden board. The actual position is, for example,
TO "output cam" acquired via an external encoder, which is directly connected to the SIMOTION
C230- 2.
Output cams, whose switch-on and switch-off positions can be set from the user
er
Central I/O
8 high-speed
(not fast)
output cams
onboard 8 high-speed
om
output cams onboard
TM15/TM17
l.c
24 /16 high-speed
output cams
ai
SIMOTION D4x5: max. 8 hsOC 4 output cams (not high-speed)
SIMOTION D4x5-2: max. 8 hsOC
SIMOTION D410: max. 4 hsOC
SIMOTION D410-2: max. 8 hsOC
SIMOTION
Siemens AG 20013. All rights reserved.
gm
SIMOTION P350
Date:
File:
03.01.2013
MC-SMO-SYS_9.28
SITRAIN Training for
Automation and Drive Technology
@
Output cam Use the "Output cam" technology object if switching signals are to be generated
as a function of the axis position. The switching signals can be output at the
following modules:
• at the onboard outputs of the C230- 2/C240 and the SIMOTION D4xx/-2
er
Only the onboard outputs and the digital outputs of the TM15/TM17 support the
"High-speed output cam" function.
High-speed
r.s
output cams High-speed output cams can be realized using the following digital outputs:
• C2xx: 8 high-speed output cams via interface connector X1 (Onboard
peripheral))
(Reproducibility: 140 μs with C230, 70 μs with C240)
• D4x5 (as of V4.1): 8 high-speed output cam via connector X122/X132
ne
Position-based
output cam
om
Time-based
output cam ON time
l.c
Begin of output cam
Uni-directional
ai
output cam
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Axis position
Date:
File:
03.01.2013
MC-SMO-SYS_9.29
SITRAIN Training for
Automation and Drive Technology
@
Output cam types SIMOTION supports the three following output cam types:
• Position-based output cam
• Time-based output cam
er
Position-based cam For position-based cams, the activation position (switch-on position) and the
deactivation position (switch-off position) are directly entered.
ez
Time-based cam For time-based cams, the activationi position is specified for a specific time
period.
Uni-directional
output cam specified. The uni-directional output cam does not switch unless the initial
position is explicitly passed, e.g. by setting the actual value.
An end position isu not defined for the uni-directional output cam. The output
cam signal dependsl solely on the switching criteria when the output cam is
passed. The uni-directgional output cam can be reset with the appropriate
ne
program commands (ofor example, calling the system function "Switch SW cam
off").
Counter cam For a ecounter cam, it can be specified whether the output cam is to be output
every time it switches or every nth time it switches.
ca
Counter cams can only be defined in the user program. When configuring the
output cam, counter cams cannot be defined as output cam type. Every counter
cam has a start count value and an actual count value. The actual count value
for the output cam is reduced by 1 every time the output cam switches. If the
actual counter value reaches 0, the output cam is output (system variable 'state'
and output of output cam). At the same time, the actual counter value is reset to
the start count.
Counter cams can only be configured for position-based and time-based cams.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.30
SITRAIN Training for
Automation and Drive Technology
@
Processing The activation and the activation positions of the cam are compared with the
cycle clock axis position (setpoints and/or actual values) in this time grid. A TO cam is
always assigned to an axis or an external encoder.
For real axes, it is possible to couple to the setpoint or to the actual positions.
er
Output The output cam can be used as software cam without controlling a digital output.
The state of the cam is then interrogated using the "state" system variable in the
ez
user program.
If the cam should control I/O, then the bit address of the digital output is
specified at this parameter. However, it is not permissible that this output signal
is located in the process image.
r.s
High-speed The output of the output cam signal takes place in the output cam cycle clock. In
output cams order to achieve a more precise output, the function "high-speed cam" can be
used. In this case, in the output cam cycle clock, it is calculated as to how many
microseconds the cam output should be set. This time is transferred to a
ne
• high-speed digital output (DO): for the output of output cams at the
connectors x122, X132 on a D4xx and C2x0.
All other modules, i.e. conventional slaves connected to PROFIBUS or devices
connected to PROFINET only support the option:
• Standard digital output (DO)
Logical operation If several output cams are switched to the same output, using the logical
operation parameter it can be selected as to whether the signals should be
"AND'ed" or "OR'd".
SITRAIN Training for MC-SMO-SYS
Automation and Drive Technology Page 30 External Encoders - Cams - Measuring Inputs
High-Speed Onboard Output Cams for SIMOTION D4xx-2 (1)
1. Activate output
2. define as
"Cam output (CAM)"
om
3. define as "Output cam"
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.31
SITRAIN Training for
Automation and Drive Technology
@
High-speed cams For the configuration of high-speed output cams via the onboard I/Os (X142) of
for D4xx-2 D4xx-2 first of all in the configuration dialog of the output cam TO the entry:
"Cam output (CAM)" must be selected.
Additionally the bidirectional inputs/outputs of the connector X142 must be
er
1. Open the configuration dialog of the output cam TO and select the entry
"Activate output".
2. In the option list "Cam output on" select the entry "Cam output (CAM).
si
3. Under SIMOTION D4xx-2 -> Inputs/outputs X142 open the dialog for the
configuration of the integrated bidirectional inputs/outputs via the
r.s
connector X142.
Click on the symbol to open the dropdown list for the use of that input/output
and select the entry "Output cam". These output will be subsequently listed
when continuing to configure the TO cam for the interconnection.
u
ne
4. Proceed as in step number 3 with all fast inputs, which are to be used as
gl
measuring inputs.
ca
om
6. Open list of
output cams 7. Assign output cam
l.c
Assign
cam output
ai
5. Open the interconnection
control
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.32
SITRAIN Training for
Automation and Drive Technology
@
Assigning the The actual assignment of output to the TO output cam is realized from V4.2,
cam output symbolically using the associated interconnection dialog box:
5. Open the interconnection control by clicking on the corresponding button.....
6. Click on the "+" symbol in front of the device "D4xx-2" in order to open
er
the list of all the parameterized output cams. In this list only that digital outputs
will be displayed which were defined as "Outputs cam" in the step 3.
7. Via the selection "assign" you can linkm the physical terminal of the
ez
Completion After the assignment has been cosmpleted, the complete project must be
compiled using "Save and compile". When compiling, the necessary fast I/O
message frames are created.
r.s
Finally the project data mus@t be downloaded into the SIMOTION and
SINAMICS target system.
ne
ca
om
l.c
3. Select entry
"DO (SIMOTION)"
ai
2. Define as
output
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.33
SITRAIN Training for
Automation and Drive Technology
@
High-speed cams In order to be able to access the onboard I/Os of the Control Unit or individual
for D4xx terminals of a terminal expansion module from SIMOTION, the I/O signals must
be transferred via the internal PROFIBUS interface (PROFIBUS Integrated). To
do so, a PROFIBUS message frame must be configured to perform the data
er
open the screen form for parameterizing the integrated bidirectional input/outputs
of the D4xx (X122, X132).
2. Open the "Bidirectional inputs/outputs" tab.
3. You should ensur e that the required bidirectional input/output is
parameterized as output, and with the mouse click on the binector to
interconnect lthe high-speed digital output.
ne
In the lisgt that opens, select the entry "DO (SIMOTION)". This means that this
fasot output has been designated for use as high-speed cam output for
SIMOTIlON.
These inputs will be subsequently listed when continuing to configure the TO
cam for the interconnection. Creating the required message frames 390, 391 (up
ca
om
6. Open list of
l.c
output cams 7. Assign
output cam
ai
5. Open linking
control
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.34
SITRAIN Training for
Automation and Drive Technology
@
Assigning the The actual assignment of the measuring input to the TO measuring input
measuring input is realized from V4.2, symbolically using the associated selection dialog box,
which can be opened by clicking on .....
5. Open the interconnection control by clicking on the corresponding button.....
er
6. Click on the "+" symbol in front of the device "Control Unit" in order to open
the list of all the parameterized output cams. In this list only that digital
outputs will be displayed which were defined as "Outputs cam" in the step 3.
ez
7. Via the selection "assign" you can link the physical terminal of the connector
X142 to the TO output cam.
Completion After the assignment has been completed, the complete project must be
compiled using "Save and compile". When compiling, the necessary message
r.s
frames for transferring time stamps 390, 391 or 392 between SIMOTION and
the DO "Control Unit" are created.
Finally, it goes without saying that the project data must be downloaded into the
SIMOTION and into the SINAMICS target device.
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.35
SITRAIN Training for
Automation and Drive Technology
@
Rate time The rate time when the switching on is used to compensate the dead times of
the digital outputs and the connected switching elements. A negative value is
interpreted as rate time, this means that the output cam is set earlier by this
time. A positive value acts as delay time, the output cam is set correspondingly
er
later.
Hysteresis
The hysteresis defines a tolerance range areound the switching position.
Hysteresis is only activated after the direction has been reversed. The direction
ez
Add switching If this check bogx is selected, then the activation and deactivation positions are
positions added to the last program activation and deactivation positions. This
corresponods to shifting the output cam.
Effective direction The output cam only switches when the motion direction matches the specified
e
ca
effective direction. The following are possible: both directions, negative, positive.
Set output This function allows a counter cam to be realized. The function sets the start
cam counter counter value and the actual counter value of the output cam.
The actual counter value is decremented by 1 at each switching event of the
output cam. If the actual counter value is 0, the output of the output cam takes
place, and the actual counter value is reset to the start counter value. The actual
counter values can be read from the "counterCamData" system variable
structure.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.36
SITRAIN Training for
Automation and Drive Technology
@
Deactivating the Using the command "switch SW output cam off", the output cam is deactivated
output cam from the user program.
Output cam Activate this check box if the assigned output cam output signal should remain
er
permanently on permanently on after the output cam has been disabled. If the checkbox is not
activated, the output signal of the output cam is reset when you disable the
output cam.
ez
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.37
SITRAIN Training for
Automation and Drive Technology
@
Overview The command is available from Version 4.1 and higher of SIMOTION.
This command allows you to switch an output cam and set its switching signal
to the specified value. This output cam signal is available in system variable
state and, if configured accordingly, is also available at a digital output. This
er
terminates any ongoing output cam processing that was started, for example,
with the "Output cam on" command.
If the output cam was configured as a high-speed output cam on the relevant
devices (e.g., SIMOTION D4xx/-2, C240, TM15, TM17 High Feature), the
following also applies:
ez
• You can switch the assigned digiietal output at precise times during the
configured processing cycle cslock of the output cam.
• The time offset specified in the command is added to the system-
r.s
dependent output delay of the output cam signal (tOutput system variable). The
resulting time offset (programmed time offset + value of tOutputsystem variable)
must be shorter than the duration of the processing cycle clock.
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.38
SITRAIN Training for
Automation and Drive Technology
@
Cam tracks Cam tracks are characterized by the fact that they allow several output cams to
be output as a track at one output. Cam tracks can be inserted using the icon
"Insert cam track" below a positioning or synchronous axes or an external
encoder.
er
Cam types A range of output cam types with different switching behaviors are available for
a cam track:
• Position-based cam: The switching signal is supplied between the switch-on
ez
Non-cyclic ... Non-cyclic activated cam tracks are deactivated automatically when the cam
track length is exited. So that the non-cyclic cam track remains active over the
entire axis range (also outside of the cam track length), "Yes" must be selected.
When the cam track length is exited, the non-cyclic cam track remains active
and can only be deactivated via command.
ca
Functionality • With cam tracks, up to 32 output cams can be configured within a TO. All
output cams on one track are of the same type (position or time-based
cams).
• Any number of cam tracks can be used per axis. The only restriction placed
on this number is the system performance.
• The cam track can be calculated in the position-control cycle clock, IPO
cycle clock, or IPO2 cycle clock.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.39
SITRAIN Training for
Automation and Drive Technology
@
Track data A cam track has parameters that are valid for the track as a whole, and
parameters that can be configured for each single output cam on a track. Track
data are valid for all output cams of a track.
er
Track length The track length is calculated from the start of the cam track (always 0) to the
end of the cam track. The cams of the cam track are located within the track
length. The track length must not be 0.
Cam tracks are defined independently ieof the axis. The axis reference position
ez
Axis reference is used to define how the cam track is mapped on the axis, or from which axis
position position the cam track should be soutput.
Cyclic cam track activation@: The track length of the cam track starting from the
axis reference position is mapped and cyclically continued/repeated.
r.s
Activation mode
Non-cyclic cam tracku activation: The output cam track is mapped starting from
the axis refelrence position, output once, and terminated automatically after it is
exited.
ne
The start lomode or the stop mode defines whether a cam track should be
Start/stop mode immedeiately activated (deactivated) – or only in the next track cycle.
Effkective immediately: The track becomes active (inactive) immediately. If an
output cam (or time-based cam) is defined or active at the actual position of the
old track, the output is canceled. A new track is activated (deactivated)
ca
Immediately when the output cam track is inactive: A changeover is made to the
new cam track if no single output cam is active (any longer) on the old cam
track. An active single output cam on the old cam track is still output completely.
With the next track cycle or output cam track end: The track only becomes
active (inactive) at the next track cycle. As soon as the first output cam on the
new track switches, a changeover is made to the new track. A time-based cam
on the old track is output up until that time.
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.40
SITRAIN Training for
Automation and Drive Technology
@
Output cam data The defaults for system variables of single output cams on a track, e.g. start and
end position, are displayed in the "Output cam data" tab.
Output cam The output cam number (0 - 31) is displayed here. Each track can have up to 32
er
output cams.
Validity Select this checkbox, if you want to set the output validity of single output cams
on a track. If the checkbox is activated, the output cam will be output, along with
ez
ON duration For time-based cams, the on duration of the output cam is entered here. The
output cam switches off once the parameterized time has expired.
Max. ON length Enter the maximum ON length for time-based cams with maximum ON length
ne
here. This means that the time-based output cam is deactivated once it has
traveled the maximum length, although the parameterized time has not yet
expired.
A time-based cam is used for example, if dabs of glue should be applied to a
workpiece and the amount of glue should be independent (constant time ->
ca
om
l.c
ai
SIMOTION
Siemens AG 20013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_9.41
SITRAIN Training for
Automation and Drive Technology
@
Activating a A cam track is activated using the command "Cam track on". For the
cam track activation, the settings of the output cam positions are accepted as effective
settings from the default screen form (systemvariables: userdefault. ...)
(systemvariables: effectivedata. ...)
er
If the new single output cam positions are to be used, then these new positions
must be initially written from the user program into the system variable
"userdefault. ..." They can then be subsequently activated using the "Cam
track on" command.
ez
For the command "Cam track on", no data of the individual output cams (output
cam data) are transferred, but only the track data.
The "Cam track on" command uses as standard (parameter:
"singleCamSettingType") the perimeter of the default setting (system variable:
r.s
"userdefault...").
positive direction).
The direction of motion can be repeatedly changed within the track length. As a
consequence, output cams can be output a multiple number of times.
Deactivation using a command: The cam track is deactivated using the
command "Cam track off"
ca
For the "Cam track off" command, you can parameterize the deactivation point
in time (see start mode and stop mode).
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.1
SITRAIN Training for
Automation and Drive Technology
@
Content Page
HMI Components for SIMOTION ...................................................................................................... 2
Integrating WinCC flexible into a SIMOTION Project ........................................................................ 3
er
Operator panel
SIMATIC Mobile Panel 177 / 277
om
SIMATIC TP/OP 277
l.c
Configuring using
WinCC flexible
ai
OPC as standard interface
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.2
SITRAIN Training for
Automation and Drive Technology
@
SIMATIC HMI The following panels and PC-based systems can be used for machine operation
and monitoring in various performance classes:
• SIMATIC Mobile Panel 177 fully graphic with 5.7"
er
SIMATICWinCC The above SIMATIC Panels, multipanels as well as the PC-based systems are
flexible configured using the WinCC flexible engineering system.
OPC In addition to connection via SIMATIC HMI devices, the OPC server is also
available for open, non-proprietary connection of HMI- applications.
Prerequisite:
WinCC flexible Variables that can be connected:
integrated in STEP7
System variables
om
D4xx/-2 Technology objects
HMI (WinCC flexible RT)
SIMOTION device
l.c
I/O variables
ai
Unit variables (Interface)
Data exchange
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.3
SITRAIN Training for
Automation and Drive Technology
@
Communication The SIMOTION HMI operator panel can communicate with a SIMOTION device
via the PROFIBUS and Ethernet bus systems. The SIMOTION device and the
operator panel can exchange information via technology object variables,
system variables and global user variables.
er
For this purpose, when configuring the user interface with WinCC flexible, the
associated variables must be created and linked with the associated process
variables in the SIMOTION device.
The operator panel reads the value from the defined address at the runtime, and
ez
then displays it on the HMI device. In the same way, an operator can enter a
value at the operator panel, which is then written into the associated process
variable of the SIMOTION device.
Communication between an HMI device and a SIMOTION device is possible via
r.s
What is WinCC WinCC flexible is the consequential ongoing development of SIMATIC HMI
flexible? software products. For machine-related applications, which up until now were
addressed using the ProTool family, WinCC flexible provides increased
ne
related operator control. WinCC flexible does not require any general know-how
about software engineering. The projects are created using WinCC flexible ES
(Engineering System) on a PC/PG and after completion are transferred to an
operator panel. On the operator panel, the projects can run under the WinCC
flexible RT runtime software.
Prerequisites When installing WinCC flexible, the support for integration into STEP7 most also
be installed. This is already automatically installed with the "Standard" setup, if
STEP7 or SCOUT has already been installed.
om
3. Select the device type,
4. version and confirm with
5. "OK"
l.c
TP 177B 6" color PN/DP
ai
1.1.4.0
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.4
SITRAIN Training for
Automation and Drive Technology
@
WinCC flexible There are several options to create a WinCC flexible project. In this case,
project the route via the higher-level SIMATIC project is shown.
For every project created using SIMOTION SCOUT, there is an associated
SIMATIC project with the same name, which can be opened using the
er
SIMATICManagers.
If WinCC flexible has been installed, then an HMI station can be created in the
SIMATIC project. In this case, all of the data of the HMI project are saved in the
associated SIMATIC project.
ez
2. Select the required HMI device (in our particular case: TP 177B 6" color
PN/DP) and the appropriate version (V1.1.4.0) and confirm your settings
with "OK".
The dialog is closed, and the inserted device is displayed using the
appropriate icon in the SIMATIC Manager project.
ne
WinCC flexible The inserted icon "SIMATIC HMI Station" symbolizes the HMI device with
icon the configuration project data integrated in the STEP7 project.
Using the "Open object" command, from the context menu of the "WinCC
ca
flexible RT" icon, the "WinCC flexible Engineering System" configuring software
can be started and the station configured.
2. Double-click
om
1. Select
l.c
ai
3. Double-click
"HMI IE"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.5
SITRAIN Training for
Automation and Drive Technology
@
Communication For a WinCC flexible project integrated in STEP7, the interface setting of the
settings HMI station and/or the connection to a subnet - just the same as for a control -
are made using the HW Config tool or NetPro.
The "HW Config" tool can be opened as follows.
er
1. In the SIMATIC Manager project window select the icon: "SIMATIC HMI
station".
2. Double-click on the "Configuration" symmbol in the work area of the
SIMATIC Manager.
ez
The "HW Config" tool is opened. Eveiry HMI station is displayed in HW Config as
"PC station". As stsandard, the application "WinCC flexible RT" is inserted at slot
3 and the co mmunication module (HMI MPI/DP) at slot 4. The communication
module (HMI IE) is inserted at slot 5.
r.s
3. By double-clicking on@ the entry "HMI IE", the properties dialog to set
the communication in terface is opened.
ne
ca
om
6. Enter IP address:
192.168.0.12 and
subnet mask
255.255.255.0
l.c
4. Open the
properties dialog
ai
5. Select Ethernet_PN
subnet
SIMOTION
7. Confirm with "OK"
7. Acknowledge the settings in both of these dialogs with "OK". The dialog
boxes are closed. The HMI device is now connected in the project at the
selected Ethernet subnet.
Note For HMI devices with Ethernet connection, using this setting and the subsequent
r.s
Context menu:
Open object
WinCC flexible ES
om
Work area
Tools
Project
window
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
Output/properties window
03.01.2013
MC-SMO-SYS_10.7
SITRAIN Training for
Automation and Drive Technology
@
Starting Using the "Open object" command from the context menu of the "WinCC flexible
WinCC flexible ES RT" symbol, the "WinCC flexible Engineering System" can be started and the
station subsequently configured.
er
Project view Just same as for SIMOTION SCOUT, The configuring interface WinCC flexible
ES comprises several views (windows).
The project view is the central control point for configuration. All components of
a project are displayed in the project window in a tree-type structure. The
ez
associated editors in the work area are opened by double clicking on the
symbols.
Only those elements which are supported by the selected operator panel (HMI
device) are displayed in the project window. In the project window you have
r.s
access to the device settings of the HMI device, the language settings and
version management.
Work area The central configuration area in which the objects of the HMI device can be
processed/edited using the active editor. Several editors can be opened
ne
Properties window The properties window is used to edit the properties of selected objects (e.g.
screens, screen objects, tags). The properties window is only available for the
ca
Tool window The tool window contains all configurable objects, which can be inserted into
screens. Further, libraries can be accessed from the tool window.
Output window The output window displays all system messages, e.g. produced, for example,
when generating a project.
Connection Communication
name Active: On Online: On
partner/station
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.8
SITRAIN Training for
Automation and Drive Technology
@
Defining the
communication Under the settings for Communication -> Connections the possible
partner communication partners for the HMI device must be defined. At runtime, an HMI
device can establish connections to various controls (SIMOTION control, SIMATIC
PLC and drives) and read or write process variables at the control.
er
Connection
An internal WinCC flexible name is defined ine the "Connection" column. The
variables of the associated control can be subsequently selected using these
names.
ez
Active "On" must be selected in the "Active" coilumn. The second part of the table to
specify the communication partner is now available.
Communication
driver selected.
If the HMI device inuterface was connected to a subnet via HW Config, then in
Station / partner
the correspondilng list box, the control station or the partner (module) in the station
can beg selected.
ne
In this case, othe associated addresses etc. of the two communication partners
are displlayed in the lower section of the connection table.
Nodes Tkhe interface (CBE30) is displayed here, via which the selected module is
ca
The entry "Online" must be selected in this column. Only then does the HMI
Online device establish a connection to the specified control after downloading a
corresponding connection at runtime, in order to read or write variables.
2. Define
connection 3. Open the symbol
1. Open the browser
"Tag" window
om
4. Select
SIMOTION
variable
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.9
SITRAIN Training for
Automation and Drive Technology
@
Creating If the corresponding connections have been configured to the control devices,
variables then under the specified connection names, the names of the required process
variables of the control can be accessed, in order to integrate them in the
configuration of the HMI device.
er
acquisition cycles for data exchange can be defined under the entry
"Communication -> Cycles".
7. Repeat steps 1 - 6, to transfer all of the required variables into the
configuration of the HMI device.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.10
SITRAIN Training for
Automation and Drive Technology
@
Creating a screen Screens can then be configured for the HMI device. Via the entry "Add screen"
or by double-clicking on an existing screen the editor to generate the screen is
opened.
Template For each HMI device there is a "template" screen in which the globally assigned
er
function keys or other global objects, for example message window, permanent
area with time, user etc., can be configured.
For each screen that has been created, you can select whether the "Template"
screen should be incorporated or not. An object in a screen then always covers
ez
Layers A screen always consists of 32 screen layers (layers 0..31). The layer with the
smallest number lies in the background. This means that objects in the front
layers cover objects in the background layers at the same position.
Individual layers can be displayed or hidden at runtime.
ne
Screen navigation Using the screen navigation, a hierarchic navigation structure can be configured
to select process screens. At the runtime, using the navigation bar, and operates
in can toggle between the individual screens of the hierarchy.
ca
The editor to create the screen navigation can be opened via the entry: Device
settings -> Screen navigation.
1. Inserting
I/O field
om
2. Open the
properties window
l.c
ai
4. Define other
settings
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
3. Select
MC-SMO-SYS_10.11
variable
The toolbox can be displayed via the menu command: View -> Tools.
In order to insert an input or output field inmto a screen, proceed as
Insert input/ follows:
output field
ez
1. Click on the IO field entry and wiith the mouse key pressed, drag the IO
icon to approximately the positions in the screen, where later an input or output
field is to be displayed.
2. If required, using the menu command: View -> Properties open the
properties window. In @the properties window, the properties of the selected
r.s
symbol browlser, and there under SIMATIC HMI Station -> Communication ->
Variables, select one of the already configured variables for the display.
4. For the display, define the format or under the topic: Properties ->
Display define the precise position and underProperties -> Text the font type
and the alignment.
ca
om
Start screen
Device settings
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.12
SITRAIN Training for
Automation and Drive Technology
@
Defining a When creating a WinCC flexible project, normally several screens are created;
start screen the operator can then toggle between these at runtime by pressing a key/button.
In order that the runtime system knows which screen should be displayed after
the system has booted/powered up, when configuring the project, one screen
er
This screen is then displayed afiter a subsequent download and the HMI
device has powered up.
r.s
ne
ca
2. Select HMI
station 3. Select the
Ethernet mode
om
4. Enter
l.c
address:
192.168.0.12
5. Start
ai
1. Call transfer transfer
settings
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.13
SITRAIN Training for
Automation and Drive Technology
@
Defining the The configuration can be saved and loaded into the HMI device . For this
properties download, the appropriate settings must be made at the configuring PG/PC or at
for download the HMI device. In principle, a download such as this can be performed via the
serial interface or via bus systems (PROFIBUS, MPI or Ethernet).
er
The settings for the download can be made in WinCC flexible using the dialog
"Select HMI device for transfer". This dialog can be opened using the menu
command Project -> Transfer -> Transfer settings, or using the corresponding
symbol in the toolbar.
ez
The following settings are then made in the dialog that opens:
• Select the HMI devices that should be loaded at the start of transfer.
For each selected HMI device, the following is defined:
• Select the bus system via which the HMI device should be loaded. The
r.s
WinCC Internet
Settings
4
om
l.c
3 5
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.14
SITRAIN Training for
Automation and Drive Technology
@
Control panel The interface parameterization at the HMI device is made via the "Transfer" icon
in the Windows "Control panel". After powering up, the "Control panel" can be
opened by pressing the "Control panel" button.
In operation, the control panel can be opened using the start bar (CTRL + ESC)
er
Transfer In the open "Control panel", using the "Transfer" icon settings can be made for
settings the download.
ez
1. Switch-off the power supply of the HMI device and switch on again, and in
the bootloader dialog, click on the "Control Panel" button. The control panel
of the HMI device is opened
2. In the control panel, double-click on the "Transfer" icon. The "Transfer
r.s
4. In the list of the installed network drivers, select the entry "SMSC100FD1:
Onboard LAN Ethernet Driver" and then press the "Properties" button. The
"Onboard LAN Ethernet Driver" dialog is opened.
5. Select the option: "Specify an IP address" and enter the IP address:
ca
Settings for
Save the transfer
om
l.c
Start
transfer
Transfer status
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.15
SITRAIN Training for
Automation and Drive Technology
@
Download to
target system The configuration created for the HMI device can then be downloaded.
1. First, save the configuration using the "Save current project" on the
hard disk.
er
2. And then open the dialog "Select HMI devices for transfer", and
using the button "Settings for the transfer" make the efollowing settings:
- Select the TP 177B device
- Mode: Ethernet
ez
- IP address: 192.168.0.12
- Transfer to: Flash
- Delta transfer: On
3. Start the configuration@ download by pressing the "Transfer" button.
r.s
After the project has been generated and a connection has been established,
WinCC flexible starts to transfer the configuration data to the selected target
devices. After data transfer has been completed, on the HMI device the WinCC
ne
flexible RT (Run Time System) it started and the selected start screen is
displayed.
ca
om
Supports integration of automation systems
from different manufacturers
l.c
Can be accessed from every computer in the
LAN/WAN (via COM/DCOM)
ai
Demand-oriented client-server communication
SIMOTION
Siemens AG 2013. All rights reserved.
Client
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.16
SITRAIN Training for
Automation and Drive Technology
@
OLE for With OPC (OLE for Process Control) a tool is available, which allows the
Process Control universal connection of automation software and hardware without any driver
and interface problems. Using COM/DCOM technology from Microsoft
Windows, OPC defines manufacturer-independent interfaces for the industrial
er
environment. This means that conventional Office programs can be linked to the
automation environment.
For hardware manufacturers this means that they only have to implement an
OPC server interface. Manufacturers of software products, such as visualization
ez
systems, measuring systems etc., only require an OPC Client interface On the
other hand, end customers can freely select between different hardware and
software component suppliers.
Advantages of OPC In addition to having the objective of generally simplifying the connection of
r.s
OPC server.
• In addition to the COM technology, OPC uses DCOM (Distributed COM), to
achieve networking capability. As a consequence, not only data sources
(OPC server), which are available on the local PC are available, but also all
servers of the network are available as "remote" data source.
OPC supports remote operator stations, multi-user systems, access to
distributed data sources. OPC clients are not even aware whether a local or
a remote data source is involved. OPC or DCOM hides the difference as it
does not distinguish between the two.
om
PROCESS FIELD BUS
PROCESS FIELD BUS
operator philosophy
Scalable
• Both for hardware and software
l.c
• Single-user to multi-user system
ai
• Open for sector-specific additions
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_10.17
SITRAIN Training for
Automation and Drive Technology
@
Overview SIMATIC WinCC is the PC-based operator control and visualization system that
can run under Microsoft Windows operating systems. "WinCC" stands for
Windows Control Center - for complete operator control and visualization
functionality.
er
WinCC has been designed for visualizing and operating processes, production
sequences, plants and machines. With its powerful process coupling, especially
to the SIMATIC family, and secure and reliable data archiving, WinCC especially
allows process control solutions to be created with a high degree of availability
ez
OPC for WinCC WinCC can be connected to a SIMOTION device via the OPC server. As a
consequence, also in the SIMOTION environment all of the advantages of the
WinCC system can be utilized, for example:
r.s
• With WinCC, the hardware basis can be used, which is precisely the
optimum one for the particular operator control and visualization task.
• It goes without saying, that WinCC can also be used if the machine or plant
was not exclusively automated with SIMATIC or SIMOTION. For many
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.1
SITRAIN Training for
Automation and Drive Technology
@
Contents Page
Safety information for our course participants ................................................................................... 4
Safety information for our course participants ................................................................................... 5
er
Exercise 2.1: Creating a Project for the Exercise Setup D425-2 (1) ................................................. 6
Exercise 2.1: Creating a Project for the Exercise Setup D425-2 (2) ................................................. 7
Exercise 2.1: Creating a Project for the Exercise Setup D425-2 (3) .................................................. 8
ez
Exercise 4.5: Expand the Program with a Program Loop Counter ..................................................... 13
Exercise 4.5: The "Test_LEDs" program ........................................................................................... 14
Exercise 5: Commissioning the Axes ................................................................................................ 15
Exercise 5.1: Traversing Drives from the Control Panel .................................................................... 16
ne
Exercise 5.4: Checking the "Manual Optimization" with Measuring Functions ................................... 21
Exercise 5.5: Position Control Optimization without DSC and without Precontrol .............................. 22
Exercise 5.5: Activating the Trace Recording for D425-2 .................................................................. 23
Exercise 5.5: Optimizing the Servo Gain Factor (KV factor) .............................................................. 24
Additional Exercise 5.6: Optimization with Precontrol and DSC ........................................................ 25
Reducing the Overshoot Behavior - Reference Model in the Speed Controller ................................. 26
Additional Exercise 5.6: Activating the Reference Model .................................................................. 27
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.2
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Additional Exercise 5.6: Checking the Reference Model ................................................................... 28
Additional Exercise 5.6: Optimizing the Reference Model ................................................................. 29
er
Additional Exercise 5.6: Automatically Optimizing the Servo Gain Factor (Kv factor) ........................30
Additional Exercise 5.6: Optimizing the Balancing Time .................................................................... 31
Additional Exercise 5.6: Circularity Test for Both Axes ...................................................................... 32
Exercise 5.7: Traversing the Axes in the "Manual Mode" (1) ............................................................. 33
ez
Exercise 5.7: Traversing the Axes in the "Manual Mode" (2) ............................................................. 34
Exercise 5.7: Traversing the Axes in the "Manual Mode" (3) ............................................................. 35
Additional Exercise 5.8: Homing the Axis "Transfer_blue" (1) ........................................................... 36
Additional Exercise 5.8: Homing the Axis "Transfer_blue" (2) ........................................................... 37
Additional Exercise 5.9: Absolute Encoder Adjustment for "Filler_red" (1) ........................................ 38
r.s
Additional Exercise 5.9: Absolute Encoder Adjustment for "Filler_red" (2) ........................................ 39
Additional exercise 5.10: Monitoring at the Software Limit Switch ..................................................... 40
Additional exercise 5.11: Using the Service Overview ....................................................................... 41
Exercise 6: Automating the Bottling Line ........................................................................................... 42
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.3
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Exercise 8.1: Writing the MCC Program to Couple the Axes ............................................................. 52
Exercise 9.1: Filling Process using Output Cams (1) ........................................................................ 53
er
Exercise 9.1: Implementing the Filling Process using Cams (2) ........................................................ 54
Exercise 10.1: Connecting the TP177B to SIMOTION D425-2 ......................................................... 55
Exercise 10.2: Defining the Connection Partner ................................................................................ 56
ez
om
If the building has to be evacuated, follow the emergency exit
signs (emergency exit lights).
In an emergency, only use the Siemens emergency number
l.c
Get to know where the fire extinguishers are located, wall
hydrants and emergency stop buttons.
Please report any accidents that happen on the way to the
Training Center or during course attendance to the Course
ai
Office or to your trainer.
All equipment and tools used must be in correct working
SIMOTION
Siemens AG 2013. All rights reserved.
gm
order; trainers must be informed about defective equipment.
Date:
File:
03.01.2013
MC-SMO-SYS_11.4
SITRAIN Training for
Automation and Drive Technology
@
er
ez
r.s
ne
ca
om
resistors may be faulty.
The exercises must never be carried out alone. At least one other person must be present.
When working on the training units, please exercise caution with rotating parts (motor shafts etc.).
It is only permissible to work without protective cover if the control is switched off (Emergency
OFF).
l.c
Caution!
ai
Rotating components
High voltage
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.5
SITRAIN Training for
Automation and Drive Technology
@
er
ez
r.s
ne
ca
SINAMICS
SINAMICS
0O with integrated
PROFINET encoder connection
270O
om
6000 rpm
90O
..........
Absolute encoder
3
..........
..........
.......... 180O 512 pulses / 4096 rpm
..........
..........
..........
0O
270O
..........
..........
..........
Motor blue
90O
..........
..........
..........
..........
..........
..........
1FK7022-5AK7-
180O 1AG3
l.c
with SMC
connection
6000 rpm
Incr. encoder 2048
SMC pulses
ai
D425-2 Smart Double-axis motor module
SIMOTION
PG/PC
IP address:
192.168.0.10
Date:
File:
gm
Module
3A/3A
6SL3120-2TE13-0AA3
03.01.2013
MC-SMO-SYS_11.6
SITRAIN Training for
Automation and Drive Technology
@
Objective The aim of this exercise is to become familiar with SCOUT and learn the first
steps for creating a SIMOTION project. We will create the first project in order to
commission the equipment on which we will perform the exercises (SIMOTION
device + drives).
er
At the end, the axes of our drive unit are to be traversed from SIMOTION via the
SIMOTION SCOUT control panel.
Procedure The individual steps are described in detail in Chapter 2. This is the reason that
ez
at the end you will only be provided with a brief summary of the procedure.
1. Create a new project in SIMOTION SCOUT and call it "MyProject".
2. Insert SIMOTION D425-2 DP/PN module into the SCOUT project.
3. In HW Config, change the name of the SIMOTION CPU to "D425-2" and
r.s
Marshall the inputs to the I/O addresses 0..1, and the outputs to addresses
4..5.
6. Open the "Netpro" tool, and there set the necessary routing information for
connecting a PG via Ethernet_PN. Select the IP address: 192.168.0.10 for
the PG.
7. Save the hardware configuration and download it via "HW Config" to the
SIMOTION device.
om
l.c
ai
Select: <Drive> -> Expert list
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.7
SITRAIN Training for
Automation and Drive Technology
@
Continued 8. In SCOUT select the drive "SINAMICS_Integrated". Click the "Configure
drive unit" button to configure the two drives. Set the following parameters:
- Speed control with encoder
- Power Supply without DRIVE-CLiQ connection
er
9. Open the expert list of both drsiives and set parameter P210 (device
supply voltage) to a value of 345 Vo lt.
10. Compile the project, establish an online connection and load the project
data of the SINAMICS part@ into the device.
r.s
11. Then test the function ing of the drive using the control panel.
12. If the test was sucucessful, load the data back into the PG and save this
data to the hard dilsk.
13. Go back ingto the offline mode, and create two TO axes in the D425-2.
Now maoke the following settings for the TO axes:
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.8
SITRAIN Training for
Automation and Drive Technology
@
Continued The TO axes are assigned to the SINAMICS drives with their motor
encoders:
- Filler_red-> drive_red
er
project data of SINAMICS_Integrated back into the PG and save the data to
the hard disk.
16. Launch the control for the operating mode control of SIMOTION and test
switching between the individual operating modes: STOP, STOP U and
ne
• SYS_D425-2_V431_PN_E_0
The project is available as "zipped" file path: F:\MC-SMO-SYS\solutions.
om
l.c
"FaultProgram"
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Task assignment in the execution system
Date:
File:
03.01.2013
MC-SMO-SYS_11.9
SITRAIN Training for
Automation and Drive Technology
@
Task In the following exercises, in the "FaultUnit" MCC unit, you should write a small
program called "PeriFaultProgram". As a result of the automatic time
synchronization and the therefore associated start of PeripheralFaulTask this
program should prevent the SIMOTION device going into the STOP state.
er
Procedure 1. Double-click on the icon "Insert MCC unit". eThe dialog box "MCC unit"
is opened.
2. In the field "Name", enter the name "FaumltUnit".
ez
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.10
SITRAIN Training for
Automation and Drive Technology
@
Task After an online connection has been established, the project data should be
loaded into the target system and the changeover of the operating modes tested
via the associated control.
er
target system". To transfer project data, SIMOTION must be brought into the
STOP operating state.
In the open dialog "Load to target system", the following options can already be
selected.
r.s
om
l.c
ai
SIMOTION
"Optimization_Filler_red"
03.01.2013
MC-SMO-SYS_11.11
SITRAIN Training for
Automation and Drive Technology
@
Exercise In the following exercises you will write a small program "Optimization_Filler_red"
in the MCC unit "AxisOpt". This program will implement a typical axis oscillation
motion for subsequent position controller optimization. This program is to realize
the following functions:
er
Procedure 1. Double-click on the icon "Insert MCC unit". The dialog box "MCC unit" is
opened.
2. In the field "Name", enter the name "AxisOpt" and under the "Compiler" tab
select the options "Permit program status" and "Permit single step".
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.12
SITRAIN Training for
Automation and Drive Technology
@
Continuation In the next step assign the program to the execution system.
9. Double-click in the project navigator on the icon "Execution system".
The task overview is opened.
er
option.
12. Save and compile the project.
Task After an online connection has been established, the project data should be
loaded into the target system and the MCC program tested.
r.s
the symbol "Load project to target system" or "Load CPU to target system".
To transfer project data, SIMOTION must be brought into the STOP
operating state.
The "Download to target system" dialog box opens where you can activate
the option "Copy RAM to ROM after download".
ca
3. After successfully downloading the project, use the mode selector to switch
the CPU to RUN mode.
4. Test your program. Using the icon "Program status", the program execution
can be tracked.
5. If the "Automatic" RAM to ROM is not activated, then the project data should
be backed up to the CF card using the menu command: Target system ->
Copy RAM to ROM.
om
l.c
ai
Declaration part of the
MCC unit "AchsOpt"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.13
SITRAIN Training for
Automation and Drive Technology
@
Test In the next step, the "Optimization_filler_red" should be expanded by the
following functions:
• The traversing part of the program should be run through five times.
er
Procedure
1. Declare a global variable "loop“ wieth data type INT (integer) in the
INTERFACE part of the MCC uinit "AxisOpt".
2. Set the variable at the start ofs the program "Optimization_Filler_red" to
r.s
a value of "1".
3. Use the WHILE or FO@R commands to implement the loop function.
Observe the following points:
- The "loop" varu iable must be incremented by 1 at the end of each run.
- If the varilable exceeds a value of five, then the loop must be exited.
ne
7. In the project navigator, select the MCC unit "AxisOpt", and in the
symbol browser, check the value of the "loop" variable.
Check the value of the "loop" variable, by opening the While instruction and
selecting the function "Program status"
om
l.c
ai
Declare an I/O output byte
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.14
SITRAIN Training for
Automation and Drive Technology
@
Exercise In the MCC unit "LED_Test" create the program "Test_LED". After the CPU has
booted, the program sets the I/O output word 5 to "1" and after 5 seconds resets
it back to "0". Only symbolic access is possible to I/O output word 5.
er
2. Select the detail view for the "Siymbol browser". In the symbol browser
create a variable called "all_sleds" with assignment to I/O output byte 5
(PQB5). As a data type of t he the variable "All_LEDs", select the entry BYTE.
3. Create a new MCC unit "LED_Test". In this source create the MCC
r.s
program "Test_LED".
4. Implement the des ired functionality.
5. Save and compuile the MCC unit file.
6. Open the diglalog box for setting the EXECUTION SYSTEM and assign
the created program to MotionTask_2. For MotionTask_2, under the "Task
ne
om
l.c
Transfer_blue
(Drive_blue)
Sensor 1
ai
Spindle pitch: 10 mm / rev
2000 mm
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.15
SITRAIN Training for
Automation and Drive Technology
@
Task The additional exercises will be based on the application example for a bottle
filling line. The function sequences for exercise purposes are somewhat
simplified, in order to make easy to understand the particular task.
The filling line comprises of two axes, the transport conveyor belt and the filler.
er
Configuration The transport conveyor belt should move endlessly. The transport conveyor belt
is created as a linear axis with the "mmodulo" property The filling axis is a linear
axes with software limit switch.
If a bottle reaches the sensor, the fillere is accelerated and after a certain
ez
distance moves in synchronism witih the conveyor belt. The bottle is filled at the
same time.
After a defined distance, s ynchronous operation is canceled and the filler
returns to its initial position and wa@its for the next bottle.
r.s
Point 2 "Integration of the drives" and Point 3 "Configuring the axes" have
e
om
3. Select "SINAMICS_Integrated" drives
7. Start motion
l.c
ai
6. Enter set speed
4. Assume control priority
5. Enables
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.16
SITRAIN Training for
Automation and Drive Technology
@
Exercise The SINAMICS_Integrated drives can be actuated via the integrated control
panel of the "STARTER" tool. The slide shows the control panel with which the
two drives are traversed.
er
Procedure 1. Go online to SINAMICS_Integrated and open the control panel in the detail
view by double-clicking on:
SINAMICS_Integrated -> Drives -> Drive_red -> Commissioning ->
Control panel
ez
5. Activate the "Enables" checkbox. All necessary enables except for OFF1 are
set. Double-click on the button "Diagnostics" to open a window which
displays the missing internal and external enables.
6. Specify a suitable value for the "Setpoint".
ca
2. Select speed
controller and
"Drive_red" 5. Perform
3. Assume control all steps
1. Open "Automatic priority
controller 4. Switch on
om
setting" drive
5. Load
parameterization
6. Accept
l.c
parameters
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.17
SITRAIN Training for
Automation and Drive Technology
@
Task Before you can start to optimize the SIMOTION position controller, the speed
controller in the SINAMICS_Integrated drive system must be optimized. In the
Automatic Controller Setting screen form, you can configure an automatic
setting of the speed controller and the DSC position controller for SINAMICS
drive units. The necessary steps for this calculation can be controlled from this
screen form. The calculated parameter values of the speed controller or the
er
Perform the followuing steps for the automatic setting of the speed controller:
Procedure
1. Call the screeln form for the automatic control setting (in the field
ne
3. Assume control
priority
1. Select
om
"Measuring function"
l.c
2. Select SINAMICS Integrated jump (after speed setpoint filter)"
and "Drive_red"
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.18
SITRAIN Training for
Automation and Drive Technology
@
Measuring "Measuring functions" can be used to check the result of the current or the
functions speed controller optimization. With the help of measuring functions in the
frequency range, transfer functions (Bode diagram) can be defined. Bode
diagrams are ideal for checking the dynamics and stability of the control loop
er
function generator to the control loop and the selection of the signals to be
recorded. Additional signals for the recording can be added.
For a simpler analysis in the time range, it normally suffices to apply a setpoint
change as controlled variable to the control loop and analyze the associated
actual quantity. This recording in the time range also permits the determination
r.s
Setpoint step
change for
speed controller To apply a setpoint step change to the speed controller:
ne
preselected.
2. Select "SINAMICS_Integrated" as the device and "Drive_red" as drive.
3. From the “Measuring function" list, select the "Speed controller setpoint
change (downstream of the speed setpoint filter)" entry. With this selection,
the following values are recorded automatically:
Speed setpoint, actual speed and actual torque.
4. Click "Assume control priority" to assume control priority.
The "PC Control Priority" dialog opens. Click "Accept" to confirm the dialog.
5. Switch on
drive
6. Start
measuring function
om
7. Activate context menu:
Scale curves and T
measuring cursor
l.c
8. Determine the rise time with
ai
"T measuring cursor"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.19
SITRAIN Training for
Automation and Drive Technology
@
Continuation 5. Click "Drive On" to activate the drive.
6. Click the "Start measuring function" button. The "Take Care When
Using the Measuring Function" dialog opens.
Confirm the message with "Yes". The measuring function starts.
er
A few seconds after the measurement has comepleted, the result will be
displayed automatically in the "Time diagram" tab.
7. Open the signal display context menu (mright-click a free area in the
signal display). The signal display context menu contains the commands
ez
Note The self-optimization normally produces a parameter block with a rise time of
approx. 3 - 5 ms. For highly-dynamic applications, manual "reoptimization" can
be used to set the rise time to the order of 2 to 3 ms.
ne
ca
om
l.c
1. Select the "speed controller" for
ai
drive_red
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.20
SITRAIN Training for
Automation and Drive Technology
@
Task We begin with the start values for the speed controller from the automatic
control optimization. We will then attempt, by increasing the P gain and possibly
by reducing the integral time, to achieve a faster rise time
er
These are the "start values" to optimize the speed controller for "Drive_red".
ne
ca
om
Via the context menu
scale the curves and activate
l.c
the T measuring cursor
ai
"T measuring cursor"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.21
SITRAIN Training for
Automation and Drive Technology
@
Task The result of the entered values can be checked using the measuring function.
We then return to the speed controller parameters and change the values for the
P gain and integral time, in order to perform the measurement with modified
values.
er
2. From the list "Measuring funcition", again select the entry "Speed
controller setpoint jump (after setpoint filter)”. With this selection, the following
values are traced:
- Speed setpoint,
- Speed actual value and
r.s
button.
5. After optimization, ensure that the parameters of the speed controller
are saved in a non-volatile fashion on the CF card as well as also in your off-
line project.
ca
No DSC
om
l.c
ai
No precontrol
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.22
"Optimization_Filler_red"
Procedure Before you start the optimization of the position control, you should again make
r.s
sure that the speed evaluation for the communication on PROFIBUS for
SINAMICS was correctly set.
1. Using the context menu, open the expert list for the drive_red, and check the
following parameter P2000 (reference speed)
The value 4000 hex or 16384 dec in the control word NSOLL_A corresponds
ne
to the speed that is specified in P2000. In our case, this parameter must be
set to the value 6000.
P2000 must match the following configuration data:
Filler_rot.TypeOfAxis.SetPointDriverInfo.DriveData.nominalSpeed
ca
2. Using the wizard, open under SIMOTION SCOUT the "Control" dialog box.
First deactivate the following settings:
• DSC
• Precontrol
Also deactivate in the "Monitorings" tab the
• Dynamic following error monitoring
and if required, increase the size of the window for the
• position monitoring
7. Start recording
2. Select
om
D425-2
4. Select signals
l.c
5. Trigger:
ai
"Record immediately"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.23
SITRAIN Training for
Automation and Drive Technology
@
Continued 3. Modify the program "AxisOpt" as follows:
- Replace the While loop with the 5x run through a While loop, which
evaluates input %I1.7. The While loop should only be run through as long
as input %I1.7 is at "1". If the input is "0", then the While loop is exited.
er
"Trace" signals 1. Start to the trace tool by clicking the "Trace/function generator" button.
2. In the list box "Device selection", select the D425-2 as device.
3. Open the dialog to select the trace signals (button with the three points)
ne
om
Optimized position control
l.c
Optimizing the servo gain factor online
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.24
SITRAIN Training for
Automation and Drive Technology
@
Continued 7. Analyze the trace and optimize the servo gain factor for the axis
"Filler_red". From V4.0, the servo gain factor can be optimized using the
"Closed-loop control" screen form; it is no longer necessary to access via the
expert list.
8. After successful optimization, save the servo gain factor on the CF top.
Please ensure that before the "Copy RAM to ROM" function also the "Copy
er
Solution
r.s
ne
ca
Select
expert mode
Activate DSC
om
l.c
Fine interpolator:
"Constant acceleration
interpolation"
ai
Activate "Extended balancing
Activate precontrol filter"
with 100%
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.25
SITRAIN Training for
Automation and Drive Technology
@
Task In this additional exercise, axis "Filler_red" is to be optimized with precontrol and
DSC operation.
Speed
controller
om
I
Kp Tn
r1436[D]
p1433[D] n.act
p1434[D] r61[D]
l.c
p1435[D]
Reference model
r61 Off
Vm ON
ai
r62
The reference model delays the setpoint-actual value deviation
for the integral component of the speed controller, so that the
overshoot is significantly reduced.
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.26
TAn
One option to achieve this, is to activate setpoint filter_2 with a time constant of
2 – 3 at the speed controller input. However, this filter would have a negative
impact on the complete speed control loop dynamic performance. The reference
model is another option of improving the overshoot behavior without having a
ez
Reference model With the reference model, only the speed setpoint is directly connected to the
P component of the speed controller; a time-delayed signal is connected to the
I component. A PT2 element and a dead time element are used to realize the
r.s
delay.
The delay, i.e. the output of the reference model should emulate the speed
actual value of the P-controlled speed control loop. This therefore avoids that -
at the start of the control phase - at the input of the I component, a deviation
occurs between the delayed speed setpoint and the speed actual value. The
ne
With the delay, the I component for speed setpoint changes is essentially
disabled, therefore achieving an improved "overshoot-free" control behavior.
The reference model has been correctly set, if the characteristics: Output of the
reference model and speed actual value – when the I component of the speed
controller is disabled – are almost identical.
Extended In order to display the result of the reference model, within the "measuring
measuring function function", parameter r1436 "Speed controller reference model speed setpoint
output" can be entered into the list of signals to be traced/recorded.
1. Screen:
Drive_red ->
2. Activate Speed controller
reference model
om
3. Open dialog box
l.c
4. Enter start values
- Natural frequency: 200 Hz
- Damping: 1
ai
- Dead time: 0 ms
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.27
SITRAIN Training for
Automation and Drive Technology
@
Task Using this exercise, the reference model in the speed control loop should be
activated and subsequently optimized.
Procedure 1. Open the online screen form for the speed controller settings
er
In the screen form with the emulation of the speed controller, an additional
path is displayed with the icon "Reference model".
3. Double-click on the "Reference model" icon".
The dialog box to set the parameter for the delay is opened.
r.s
5. Assume control
om
1. Select "Measuring priority
function"
l.c
ai
4. Insert r1436 "Speed controller
reference model, speed setpoint
SIMOTION
output" signal
Procedure 1. Open the screen form with the measuring functions using the "Measuring
functions" icon in the toolbar or via the menu command: Target system ->
ez
Measuring function.
The screen form with the measuring functions is opened, the "Measuring
functions” tab is already preselected.
2. In the line "Measuring function set up", select the entry
r.s
SINAMICS_Integrated.
3. From the list "Measuring function", select the entry "Speed controller setpoint
jump (after setpoint filter)” and the drive "Drive_1". Also select the option
checkbox "Repeated measurement".
With this selection, the following values are automatically traced:
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.29
SITRAIN Training for
Automation and Drive Technology
@
Continued 7. Start the measuring function and check the result from the reference model.
The optimization has been completed; the setting parameter for the reference
model has been completed if the output of the reference model (r1436) is
"almost" identical with the speed actual value and the speed actual value has
er
"almost" no overshoot.
ez
r.s
ne
ca
3. Assume control
1. Open "Automatic
priority
om
controller setting"
4. Switch on drive
and start optimization
l.c
ai
5. Accept calculated
servo gain
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.30
SITRAIN Training for
Automation and Drive Technology
@
Task In this exercise, the servo gain factor will first be automatically optimized. In the
automatic control setting screen form, you can select the drive unit and the drive
for which you want to carry out an automatic DSC position controller setting.
The necessary steps for this calculation can be performed from this screen form.
er
The calculated servo gain factor (Kv value) is displayed and can then be
accepted online in the configuration data of the axis that is assigned to the drive.
The balancing filter is not modified when performing this optimization. For
operation, the balancing time constant must be manually adapted.
ez
Procedure Perform the following steps for the automatic setting of the position controller:
1. Call the screen form for "Automatic control setting".
2. Select the drive unit and the drive (axis), set the preselection of the controller
r.s
5. Accept the calculated servo gain factor (Kv factor) in your axis configuration.
6. Then inhibit the drive and return the control priority
7 Save the optimized servo gain factor (Kv factor) on the CF card and in your
offline project.
ca
motionstatedata.commandvelocity
om
servoData. precontrolvalue
sensorData.sensorData[1].actual velocity
servoData.symmetricServoCommandVelocity
l.c
KV = 251/s
motionstatedata.actualvelocity vTc = 2.3 ms
with DSC
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.31
SITRAIN Training for
Automation and Drive Technology
@
Task In this exercise, the balancing time for the "Filler_red" is to be optimized with
precontrol and DSC operation.
Procedure 1. Determine the drive rise time (equivalent: 2 ms) and enter this time as start
er
value into the "dynamic control data" tab, entry field "Equivalent time speed
control loop" (vTc).
2. In the trace tool, add the following signals to the list of traced/recorded
signals:
ez
approximately 2 DP cycles.
om
circularity test
l.c
ai
SIMOTION
Circularity test under 3.
Resolution: 0.5 mm/graduation
Procedure 1. First, establish an online connection to the target system and start the
measuring functions from the menu command: Target system -> Measuring
er
5. Use the settings for the P gain and the integral time of "Drive_red", also for
"Drive_blue" as well as the settings of axis "Filler_red" for "Transfer_blue",
and repeat the circularity test.
ne
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.33
SITRAIN Training for
Automation and Drive Technology
@
Task In this exercise we want to integrate the "Manual" mode into our project. In a first
step, in the MCC unit "ManualMode", two MCC programs – "JOG_filler_red" and
"JOG_Transfer_blue" – should be written with the following functions:
• With the rising edge at input %I0.4, traversing motion of axis "Filler_red"
er
should be started in the positive direction, and for a 0-signal the motion
stopped. For a rising edge at input %I0.5, motion is started or stopped in the
negative direction.
The stop command automatically calls the TechnologicalFaultTask. If there
ez
is no program assigned to this task, the CPU goes into the stop state. This is
the reason that in an additional step, an additional program must be
assigned to this task.
• With inputs %I0.6 and %I0.7, the same functionality is provided for the axis
r.s
"Transfer_blue". The JOG velocity of the two axes can be modified via the
unit-global variable "JOG_Velo".
The axes must be enabled before traversing.
Procedure 1. Create the MCC unit "ManualMode". Within the INTERFACE section,
ne
declare the global variable "JOG_Velo", data type: LREAL, with the initial
value: 20)
2. Then create the MCC program "JOG_filler_red".
3. The axes must first be enabled.
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.34
SITRAIN Training for
Automation and Drive Technology
@
Continued In this case, before the actual "enable command" a check must be made as
to whether, the encoder system is ready and supplies valid values. This can
be achieved by querying the system variables:
- <Axis>.sensordata[1].state = valid
er
This is the reason that at the start of the MCC chart you should enter an
appropriate wait condition.
4. For a program that is endlessly executed, the following steps are integrated
ez
6. The traversing direction is then defined higher an IF query. If the input %I0.4
has been set to "1", then the velocity "JOG_Velo" is in the positive direction,
otherwise, with "JOG_Velo" in negative direction.
The motion of the axis is realized using the command "Start axis position-
controlled". The option "Delay program execution" is deselected, i.e. the
ne
program does not wait (why?) until a jump to the next command.
7. If the input %I0.4 or %I0.5 is again reset to "0" then motion is stopped using
the "Stop axis" command.
In this command, select the stop mode "Normal stop with abort" as selection
ca
om
Program "FaultProgram"
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.35
SITRAIN Training for
Automation and Drive Technology
@
Continued 8. Using the commands of the context menu "Copy" or "Insert MCC Chart",
copy the program "JOG_filler_red" to "JOG_Transfer_blue and appropriately
change the axis names and inputs %I0.6 and %I0.7 in "JOG_Transfer_blue".
9. Assign both programs the MotionTask_3 or the MotionTask_4. Both
er
Assign the program "FaultProgram" from the MCC unit "FaultUnit" to the
TechnologicalFaultTask.
12. Save, compile, load and test your program.
om
l.c
ai
Configuration for homing HomeTransferBlue
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.36
SITRAIN Training for
Automation and Drive Technology
@
Settings for The axis "Transfer_blue" has an incremental encoder. This is the reason that
homing it should be referenced after switching on the control, before positioning. The
homing type is defined in the "Homing" dialog of the associated axis.
At the D425-2, for the "blue" drive no homing cams can be simulated. This is the
er
reason that as homing mode, "Encoder zero mark only" or "External zero mark
only" can be selected.
1. In SIMOTION SCOUT go into the "offline" display and open the
dialog "Transfer_blue -> Homing".
ez
The value of the l"Homing point offset" should be selected later, so that after
homing the 00gposition of the motor disk (position of the hole) points "precisely"
upwards.
Hominge is initiated using the MCC command "Home Axis“. Create the MCC
Homing
Unit "Homing" and write the MCC program "HomeTransferBlue", that executes
ca
om
l.c
Change value 1
until disk position = 0
10
40
ai
20
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
30
03.01.2013
MC-SMO-SYS_11.37
SITRAIN Training for
Automation and Drive Technology
@
Procedure 1. Create an "MCC unit" with the name "Homing". Under the "Compiler" tab,
Homing select "Permit program status" and "Permit single step".
2. Create an MCC program with the name "Ref_Transfer_blue.
er
0O
om
270O
90O
l.c
180O
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.38
SITRAIN Training for
Automation and Drive Technology
@
Absolute encoder The axis "Filler_red" has an absolute encoder which transfers the absolute
adjustment position to the control at each power ON. If you replace the encoder or you
perform an overall reset, then you will need to perform a new absolute encoder
adjustment.
er
The absolute encoder adjustment can be performed using the MCC command
"Home Axis“ with the setting "Absolute encoder adjustment" or using the
corresponding command from the control mpanel.
After the absolute encoder adjustment has been completed, the 0 degree mark
ez
of the motor should point precisely eupwards. This position should correspond
to axis position 0.
The absolute encoder can be ad justed via the MCC command "Home axis"
Procedure
from the user program or via the @control panel.
r.s
1. Switch the control to STOP U operating state and open the control
panel.
2. Select the axis u "Filler_red" and obtain control priority.
3. Enable the axlis.
ne
4. First travelg with the "red" motor to position 0 and then in the positive
directioon, until the 00 mark of the motor disk is facing "exactly" upwards.
5. Select the command "Home Axis". Under the "Parameter" tab, select
the homing type "Absolute encoder calibration with specification of the position
value" and in the entry field "Homing position coordinate" enter the value "0".
ca
om
4. Absolute encoder adjustment with
specification of the position value
2. Set enable
l.c
3. Select homing
5. Enter position
ai
6. Click Start button
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.39
SITRAIN Training for
Automation and Drive Technology
@
Note In the "Homing" dialog of an axis, in the "Activation status", it is displayed as to
whether an absolute encoder adjustment has been performed or not. In the
expert list for system variables, both items of information can be found under:
• Filler_red.absoluteencoder.absoluteencoder[1].totaloffsetvalue
er
• Filler_red.absoluteencoder.absoluteencoder[1].activationstate
ez
r.s
ne
ca
- 5 mm 1000 mm
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.40
SITRAIN Training for
Automation and Drive Technology
@
Task The software limit switches monitor the position of the axes. In this exercise, the
software limit switches for the axis "Filler_red" are set.
Procedure The software limit switches can be entered using the settings in the "Limits"
er
2. Where relevant, activate the software limit switches using the system
variable Filler_red.swlimit.state.
3. Traverse the axis in the JOG mode to the software limit switch. What
happens? Can the axis be retracted in the opposite direction?
r.s
Note The settings for the software limit switches are saved in the system variables
and not in the configuration data. Contrary to the configuration data, system
variables changed online can neither be saved to the CF card (Copy RAM to
ROM) nor can they be loaded from the control system into the offline project.
ne
If the settings in the system variables are to be permanently active, then these
settings must be transferred into the offline project, and then transferred into the
target system using a project download.
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.41
SITRAIN Training for
Automation and Drive Technology
@
Service In the Service overview important system variables of all axes which exist in
Overview the project are displayed.
The Service overview is accessed via:
er
Manual Auto
Switching on/
switching off:
om
Operating modes:
No
operating
mode
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.42
SITRAIN Training for
Automation and Drive Technology
@
Task The filling line should be automated with the following task:
The bottling line can be operated in three different operating modes: “Idle”,
“Manual” and "Automatic”. In addition, a logic can be integrated in order to
switch on and switch off the system.
er
• Switching on and switching off: The system can be switched on with the
input “Start_BP”: %I 0.0 (NO contact). The system can be switched off with
the input “Start_BP”: %I 0.1 (NC contact). The status of the system is output
using the output signal "System_on“ (%Q 4.0).
ez
• Selecting the operating mode: Immediately before the system is switched on,
no operating mode is active. From this state, the operating modes "Manual
operation" or "Automatic" can be selected.
The operating mode is preselected using the switch "Manual_Auto" (%I0.2).
r.s
is selected.
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.43
SITRAIN Training for
Automation and Drive Technology
@
Procedure Using the LAD Editor, to start create the LAD/FBD source "Main". Within this
source, create the "OB_Main" program and integrate the functionality described
above. The "OB_Main" program is then finally assigned to BackgroundTask.
1. First create the LAD/FBD source "Main".
er
2. In the global ADDRESS LIST of your project, create the following input and
output signals in the process image:
- "Start_BP": %I0.0,
ez
- "Stop_BP": %I0.1,
- "Manual_Auto": %I0.2,
- "Accept_operating mode": %I0.3
- "System_on“: %Q4.0,
r.s
8. Download the project into the target system and test the program
"OB_Main".
Note The above diagram does not show the complete "Main" program but only a
section.
Manual _restartTaskId
Background Motion Task 4
om
Auto
jog2
_restartTaskId
MotionTask 2
(StartAuto)
l.c
User Interrupt Synchronous Operation
ai
EStop Emergency Stop of Axes
IPO Sync Task
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.44
Motion Task 3
Motion Task 4
program. There, the global variable "Manual operation" is evaluated and for a
rising edge, MotionTask_3 and MotionTask_4 are started, or for a falling edge,
stopped. When the task is stopped, the two axes will also stop, as a task stop
does not automatically stop a command to move the axis, that has been issued.
ez
The programs in MotionTask_3 and MotionTask_4 still control the motion of the
individual axes in the "Manual mode".
In a second exercise, the functionality "Traversing axes in the automatic mode"
is completed. The associated program section in the "OB_Main" program
r.s
om
...
l.c
Manual mode
ai
Motion Task 3
" JOG_Filler_red " Stop Axis
"Filler_red"
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.45
SITRAIN Training for
Automation and Drive Technology
@
Task The objective of this task is to complete the "Move axes in the manual mode"
functionality. This functionality is realized using the "OB_Main" program.
If a rising edge of the "Manual mode" variable is detected, then MotionTask_3
and MotionTask_4 are started. If the "Manual mode" variable is set to FALSE,
er
then MotionTask_3 and MotionTask_4 are stopped. In addition, both axes are
stopped with "Normal stop with abort.
The "Normal stop" function is implemented using the TO library function _stop.
This function is in the command of library under Technology -> Positioning axis -
ez
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.46
SITRAIN Training for
Automation and Drive Technology
@
Task runtimes The statuses and runtimes of the individual tasks can be read out using the
device diagnostics.
Call The diagnostics information is opened in the online mode using the menu
er
Overview Under the task runtimes tab, task name, task status, actual, minimum and
maximum runtimes are displayed for each task.
The task status can also be read out using a system function _getStateOfTask().
r.s
Procedure Check the task runtimes and statuses of the corresponding tasks as a function
of the selected operating mode. In the selection field "Refresh rate", select the
entry "500 ms".
ne
ca
om
Operating mode "Automatic"
l.c
Move to "0"
ai
SIMOTION
Infinite movement
wait position 0, and then starts the conveyor belt using the command "Start axis
position control". The velocity of the conveyor belt can be entered using the
INTERFACE variable " Transfer_speed " (datae type LREAL). The start value is
100 mm/s
ez
stopped.
Procedure 1. Create the MCC unit "AutoMode", and in the INTERFACE section,
create a variable with the u name "Velo_Transfer_blue", data type LREAL and
initial value 100.0.
ne
om
l.c
_startupdata.operationmode = run
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.48
SITRAIN Training for
Automation and Drive Technology
@
Task The objective of this exercise is to configure the D425-2, so that after a "Power
On" the system automatically branches into the RUN operating mode.
The "Last_Operation_Mode" default setting is selected, and therefore the
SIMOTION system branches into the operating state that was active at "Power
er
Off".
Frequently, for a "Power Off", the I/O components, e.g. ET200 B, "sign off"
earlier than the SIMOTION system. If PeripheralFaultTask is not assigned to
any program, then briefly before switch off, the D425-2 goes into the STOP
ez
operating state. This operating mode is also active after the next "Power On".
This behavior can be achieved via ithe system variable
_startupdata.operationmode of sthe D425-2 device and the assignment of e.g.
an "empty" or the program "led_test.test_led" at the PeripheralFaultTask. Using
r.s
ROM" function.
6 Test the settings by switching off the D425-2 power supply and switching on
again.
om
EStop
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.49
"EStop"
MotionTask_4 are reset. Further, the system is "switched off", i.e. the variables
"Plant_on", "Manual mode" and "Automatic" are set to FALSE.
The command to quickly stop the axis should only be called, if, in addition to
"open protective doors", the following condition is also fulfilled:
ez
This state can only be withdrawn using the MCC command "Reset object", i.e.
using the command _resetAxis() from the command library, or by explicitly
withdrawing the axis enable.
In the sample, this is realized using the _resetAxis() command in the OB_Main
ne
program, if, after an Emergency Stop, the protective door is closing again.
After the Emergency Stop, the operator must switch on the system (bottling line)
again. The switch on procedure is used, to a certain extent, to acknowledge the
Emergency Stop state.
ca
Procedure 1. Insert the variable "Guard" (PI1.0) into the ADDRESS LIST.
2. In the MCC unit "FaultUnit", create an MCC program "EStop" with the
functionality specified above.
For the MCC stop commands, ensure that the option "Delay program
execution" is deselected. Otherwise, each stop operation would result in an
IPO overflow, which could only be acknowledged using a POWER ON.
3. Save and compile the program and assign IpoSynchronousTask to the
program.
om
l.c
Acknowledge of the emergency stop
with the command _resetaxis() in the
OB_main
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.50
SITRAIN Training for
Automation and Drive Technology
@
Continued 4. Open the OB_main program and at the end, insert a network with the
call_resetAxis() to acknowledge the Emergency Stop state.
The function _resetAxis() should be called for both axes for a positive edge at
the "Protective door" input. The function _resetAxis() is in the command Library
er
under Technology -> Positioning axis-> Object and alarm handling -> resetAxis().
5. Load and test the program. Furtherm, check whether the Emergency
Stop state is correctly reset. If required, adapt the deceleration at the axis, so
that the Emergency Stop does not causee the drive to fail.
ez
Position axis
Synchronous
operation on
om
100 mm
l.c
1000 mm
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.51
Sensor 1
2000 mm
If a bottle reaches the "Sensor" (PI 1.1), then the filling axis is synchronized to
the bottle position. Synchronizing has been completed after a distance of
100 mm, and the filling axis then runs in synchronism with the bottle on the
conveyor belt.
ez
Over the next 750 mm, both axes run in synchronism and the filling operation
can be executed.
Once the filling axis reaches position 850 mm, then it is desynchronized. The
filling axis then returns to the initial position and waits for the next bottle. The
r.s
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
"Filling"
Date:
File:
03.01.2013
MC-SMO-SYS_11.52
SITRAIN Training for
Automation and Drive Technology
@
Procedure 1. Insert the signal "Sensor" (PI 1.1) into the ADDRESS LIST
2. In the MCC unit "AutoMode", create the "Filling" program
3. Using the MCC command "Shift measuring system", the actual position of
er
7. Compile the MCC unit "AutoMode", and assign the program "Fill" to
UserInterruptTask_1.
8. As start condition, select "Sensor = TRUE".
9. Under the synchronous object Filler_red.synchronous operation ->
ca
"Output cam"
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.53
SITRAIN Training for
Automation and Drive Technology
@
Task In this exercise, the actual filling process, i.e. controlling the valve using a cam
output is implemented. For this purpose, a time cam should be created for the
"Filler_red" axis.
After "Filler_red" has been synchronized to the bottle position, the filling valve is
er
switched on using a cam. The filling operation is started at position 102 mm and
has been completed after 5 seconds.
The "Valve" cam is created as fast cam DI/DO3 of the bidirectional inputs/
outputs at the connector X142 of the D425-2. This DO3 is linked to the output
ez
DO9 at the SINAMICS operating panel. Further, filling should be displayed using
the "Filling_active" LED (PQ5.1) at the simulator.
Procedure 1. Open the screen form with the parameterization of the bidirectional
r.s
6. Using the parameterizing dialog for assigning the output, select the entry
"D425-2 -> CAM_3 [INOUT 3, X142.7]".
Via this assignment, the cam output is connected to the DO9 of the
SINAMICS operator panel.
om
Inhibiting the cam when the automatic mode
is deselected
l.c
ai
Switch on output cam
SIMOTION
in program "runauto"
03.01.2013
MC-SMO-SYS_11.54
SITRAIN Training for
Automation and Drive Technology
@
Continued 7. In the "conveyor operation" program, enable the cam, after "Filler_red"
has reached its start position.
8. Inhibit the cam functionality in the OB_Main for the case that the automatic
mode is deselected. The cam can be inhibited in the LAD/FBD programs
er
9. Integrate the cam signal output into the "Main" program (system variable:
"<cam>.state") at the output "Filling_active" (PQ5.1) of the simulator.
10. Compile and load the project into the target device and test the execution.
1.
2.
om
3.
4.
l.c
Double-click 192.168.0.12
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
Ethernet_PN
03.01.2013
MC-SMO-SYS_11.55
SITRAIN Training for
Automation and Drive Technology
@
Task In this exercise, the TP170B color PNDP is coupled to a SIMOTION D425-2
system. To realize this, a SIMATIC HMI station is inserted in the SIMATIC
Manager Project associated with the SIMOTION system.
A start screen is then configured, in which the following properties or variables
er
- I/O.automatic)
• Setpoint position and setpoint velocities of the two axes (TO variables)
- Filler_red.positioningstate.commandposition
- Transfer_blue.positioningstate.commandposition
ne
- Filler_red.motionstatedata.commandvelocity
- Transfer_blue.motionstatedata.commandvelocity
• Filler axis has synchronized (TO variable)
- Filler_red_SYNCHRONOUS_OPERATION.syncstate)
ca
Procedure 1. Start the SIMATIC Manager and open the SIMOTION project.
Select the project root and using the menu command: Insert -> Station ->
SIMATIC HMI station an HMI station into the project.
The dialog "Properties - WinCC flexible RT" is opened.
5. Context menu:
Open object
om
6. Define
connection
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.56
SITRAIN Training for
Automation and Drive Technology
@
Continued 2. Selected the device "TP 177B color PNDP" with version 1.1.3.0 and confirm
your settings with "OK".
3. In the SIMATIC Manager project window select the icon: "SIMATIC HMI
Station" and double click in the work area of the SIMATIC Managers on the
er
"Configuration" icon.
The "HW Config" tool is opened.
4. Double-click on the entry "HMI IE", then the properties dialog to set the
ez
7. Insert
variables
8. Create
start screen
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.57
SITRAIN Training for
Automation and Drive Technology
@
Continued 7. Open the variable table by double-clicking on the entry "Communication
-> Variables".
Click in the "Connection" column on the entry to open the associated list field
and select the connection to the SIMOTION device. Then click on the entry icon
er
to open the symbol browser of the selected control, and insert the required
variables into the table one after ethe other.
In the "Acquisition cycle" column, selemct the required update cycle.
8. Via the entry "screens" or by double-clicking on an existing screen the
ez
In the tool window, you'@ll find objects, which you can insert in your screens.
Click on the IO field entry and with the mouse key pressed, drag the IO icon to
approximately the position in the screen, where later an input or output field is to
be disuplayed.
Using the menu colmmand: View -> Properties open the properties window.
ne
Select the "General" entry and define the connection of the process variable as
well as the display format. Under the item: Properties -> display enter the
position of the input/output field.
By double-clicking on the entry: Device setting -> Device settings open the
associated dialog and in the "Start screen" list select the created screen as start
ca
screen.
om
l.c
10. Start transfer
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_11.58
SITRAIN Training for
Automation and Drive Technology
@
Continued 9. For a download via Ethernet, the appropriate settings must be made at the
PG/PC or at the HMI device.
The settings for the download can be made using the dialog "Select
operating control device for transfer". This dialog can be opened using the
er
menu command Project -> Transfer -> Transfer settings or using the
corresponding symbol in the toolbar.
In the dialog that opens, select the TP177B operator control device for the
download, and as mode, select "Ethernet" Further, enter the value
ez
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.1
SITRAIN Training for
Automation and Drive Technology
@
Content Page
Licenses for SIMOTION ...................................................................................................................... 2
Licensing Procedure ........................................................................................................................... 3
er
om
Position-controlled Electronic gear Cam Technology
positioning package CAM for
64 axes
l.c
Tcontrol Java machine
ai
SIMOTION
8 channels
per license
License Key The licenses required for a device are assigned to a License Key which is saved
on the RT system.
Underlicensing If no licenses or too few licenses are avamilable to the RT system, there are no
ez
restrictions in functionality, instead entries are made to the diagnostic buffer and
the red diagnostics LED of the RT sysetem flashes.
Advantages
• Support for license manage ment.
r.s
Licensed
Ordering System delivery Assignment + HW
software
om
of
m ber d in
Log
u n ey Customer
ial n re a ek
Ser ardwa f the n s
h e
o
the ntent abel Lic INTERNET
Lic ey
l.c
c o ns e l
lice
en
k
se
License
database
ai
Factory
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.3
Controller
License key Customers can access this database via the Internet. After entering his delivery
note number and the licenses, he is issued a license key, which he can then
transfer to the control.
ez
r.s
ne
ca
om
l.c
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.4
SITRAIN Training for
Automation and Drive Technology
@
Project Creation At installation all the technology packages become available to the user. No
licenses or additional software packages are required for project creation. The
user has access to all functions.
er
Commissioning After creating the project, SCOUT can be used to query which and how many
licenses are required for the CPU. If the project is transferred to the control, the
license information can determine which licensese are present on the control
and whether underlicensing is occurring. If thism is the case, the runtime
ez
Underlicensing The system will operate without loss of functionality. With underlicensing an
entry is made to the diagnostic buffers and the red group fault LED of the
SIMOTION device flashes.
ne
ca
Application:
Machine with 1 positioning axis and 2 synchronous axes
om
SIMOTION
l.c
operation (Gear)
ai
Positioning Synchronous Synchronous
operation operation
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.5
SITRAIN Training for
Automation and Drive Technology
@
Application example The machine comprises a leading axis and two following axes, which are
coupled to the leading axis through angular synchronism.
The following licenses are required:
er
• Leading axis: The leading axis requires one license for a positioning axis
• Following axis: The two following axes each require one license for a
Synchronous axis
ez
r.s
ne
ca
om
CoL3
License Gear
CoL2
License Gear
CoL1
l.c
License Pos
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.6
SITRAIN Training for
Automation and Drive Technology
@
Ordering The appropriate licenses must be ordered to carry out the licensing procedure.
The Catalog contains the different licenses together with their order numbers.
The customer orders the required number of licenses and is given a CoL
(Certificate of Licence) for each license. This CoL is stored with the machine
er
papers.
ez
r.s
ne
ca
CoL2
CoL1 License Gear
CoL2
om
CoL3 CoL2
License Gear
License key =
(1234-5678+SP1+SP2)
l.c
Serial number:
1234-5678
Download the
License Key with SCOUT
ai
SIMOTION
Siemens AG 2013. All rights reserved.
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.7
SITRAIN Training for
Automation and Drive Technology
@
Licensing In addition to the Certificates of Licence, for licensing you also need the serial
number, on which the licensing is saved.
• for C230-2/C240 on the MMC
er
Order form
Item. Number Part number Description
1 2 6AU1 230- SIMOTION C 240
2 2 6AU1 700- SIMOTION Micro Memory Card
om
3 3 6AU1 820- single license, Position
4 2 6AU1 820- single license, Gear
l.c
Delivery
ai
0190-666
License License
Position Gear
Serial number: ID 007-4711 ID 008-4711
SIMOTION
Siemens AG 2013. All rights reserved.
0190-667
gm
Date:
File:
03.01.2013
MC-SMO-SYS_12.8
SITRAIN Training for
Automation and Drive Technology
@
Several CPUs The License Key always only refers to an RT system. If several controls are to
be licensed, then for each control, the appropriate number of CoLs must be
ordered, the serial number of the hardware determined and a License Key
generated via the Internet.
er
ez
r.s
ne
ca
om
l.c
• License key uses the • License key uses the
• License key uses the serial number of the Iso- serial number of the
ai
serial number of the Profibus-Board compact flash card
MMC
• License key is saved on • License key is saved on
• License key is saved on the Iso-Profibus-Board the compact flash card
SIMOTION
the MMC
Defective License If the MMC for the C230-2/C240, the IsoProfibusBoard for theP350 or the
Hardware compact flash card for the D4x5 is defective and needs to be replaced, the
license key is missing, i.e. the error LED flashes and an error message is
entered in the diagnostic buffer.
ez
Note the serial number both of the defective and new hardware and contact the
SIMOTION Customer Support. They will give you the license key.
r.s
ne
ca