Sie sind auf Seite 1von 16

DRIVES Behavior

Library for SIMIT


Siemens
SIMIT SP V10.1 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109761007 Support
Legal information

Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.

Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2019 All rights reserved

foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.

Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.

Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 2
Table of contents

Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Components used ................................................................................ 5
2 Behavior library ................................................................................................. 6
3 Use ...................................................................................................................... 7
3.1 Function ................................................................................................ 7
3.1.1 Telegram860 ........................................................................................ 7
3.1.2 SensorProcessLinear ........................................................................... 8
3.2 Project planning .................................................................................... 9
3.3 Parameterization ................................................................................ 10
3.4 Operation ............................................................................................ 14
4 Appendix .......................................................................................................... 15
4.1 Service and support ........................................................................... 15
4.2 Links and literature ............................................................................. 16
4.3 Change documentation ...................................................................... 16
© Siemens AG 2019 All rights reserved

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 3
1 Introduction

1 Introduction
1.1 Overview
The goal of simulation in automation technology is to reproduce a machine, cell or
plant as realistic as possible. For this purpose, an equivalent in the virtual world
must exist for each component involved in the real world.
• A real controller can be represented with PLCSIM Advanced, the virtual S7-
1500 controller, and a real HMI with HMI simulation in the virtual world.
• In order to integrate the most realistic sensor and actuator behavior in the
virtual world, the SIMIT Simulation Platform provides a comprehensive library
of behavioral models.
• The virtual 3D image of a real machine can be created, for example, using the
NX Mechatronics Concept Designers (NX MCD).

Figure 1-1
© Siemens AG 2019 All rights reserved

The behavior library of SIMIT already contains some standard components, such
as drives and valves. This library is being continually expanded, and with each new
release of SIMIT, newly developed simulation blocks will be integrated. In addition,
the components will be published in advance directly after completion in the
Siemens Industry Online Support.
This library contains an extension of the standard DRIVES behavior library from
SIMIT. The simulation blocks simulate the behavior of the corresponding
PROFINET telegrams.
The following benefits result from the use of the blocks:
• Simulation of drive behavior based on detailed PROFINET telegram models
• Increasing the accuracy and thus the benefit of the simulation model
• Possibility of virtual commissioning of a machine, line or plants
• Training of personnel (operator training) on a realistic machine, line or plants

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 4
1 Introduction

1.2 Components used


This application example has been created with the following hardware and
software components:
Table 1-1
Component Number Article number Note
SIMIT SP V10.1 1 6DL8913-...10-.... Demo project / library

The documentation consists of two parts.


The generally valid content for the entire library of behavior are described in this
document, the first part of the documentation.
The detailed information about the individual components of the behavioral library
is described in a separate document, the second part of the documentation.
This application example consists of the following components:
Table 1-2
Component File name Note
Documentation 109761007_SIMIT_Drives_BehLib_DOC_v20_en.pdf Allg.
Documentation 109761007_SIMIT_Drives_BehLib_Tlg81_DOC_v10_en.pdf Tlg 81
Documentation 109761007_SIMIT_Drives_BehLib_Tlg82_DOC_v10_en.pdf Tlg 82
© Siemens AG 2019 All rights reserved

Documentation 109761007_SIMIT_Drives_BehLib_Tlg83_DOC_v10_en.pdf Tlg 83


Documentation 109761007_SIMIT_Drives_BehLib_Tlg84_DOC_v10_en.pdf Tlg 84
Documentation 109761007_SIMIT_Drives_BehLib_EPOS_Tlg111_DOC_v10 Tlg 111
_en.pdf (EPOS)
Documentation 109761007_SIMIT_Drives_BehLib_Tlg750_DOC_v10_en.pdf Tlg 750
Documentation 109761007_SIMIT_Drives_BehLib_Tlg860_DOC_v10_en.pdf Tlg 860
Documentation 109761007_SIMIT_Drives_BehLib_Tlg861_DOC_v10_en.pdf Tlg 861
Documentation 109761007_SIMIT_Drives_BehLib_Saf900_DOC_v10_en.pdf Tlg 900
Documentation 109761007_SIMIT_Drives_BehLib_Saf901_DOC_v10_en.pdf Tlg 901
Documentation 109761007_SIMIT_Drives_BehLib_Saf902_DOC_v10_en.pdf Tlg 902
Documentation 109761007_SIMIT_Drives_BehLib_Saf903_DOC_v10_en.pdf Tlg 903
SIMIT Project 109761007_SIMIT_Drives_BehLib_PROJ_v10.zip

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 5
2 Behavior library

2 Behavior library
The library DRIVES is an extension of SIMIT, which provides components for the
creation of simulations of drive functionality. These are not type specific and can be
used for most field devices. The library is already part of the base components.
The library provided here is an extension of the library DRIVES.

Installation
First download the library from the download page of this application example:
https://support.industry.siemens.com/cs/ww/en/view/109761007
To install proceed as follows:
1. Extract the ZIP file into any directory on the SIMIT project planning computer.
2. Open a new or existing SIMIT project.
3. Open the "Components" task card and expand the "User components" area.
4. Click on the "Open Library" button and navigate to the storage location SIMIT
device library.

After the library has been loaded, they can be used as the standard libraries from
SIMIT.

Figure 2-1
© Siemens AG 2019 All rights reserved

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 6
3 Use

3 Use
This chapter describes an example of how to design a library object in the behavior
library and use the simulation.
The following component is described in detail:
• Telegram860 with SensorProcessLinear
The general function of the components is described in the following chapters. An
example shows how to use the two components to determine an actual position
value (project planning, parameterization and operation).

3.1 Function
3.1.1 Telegram860

The manufacturer specific encoders telegram for encoder engineering and drive
objects without PROFIdrive timer channel or timer state machine can be simulated
with this simulation module.
The simulation block includes the following features:
• Output of the actual position value as a 32-bit value
• Output of the velocity actual value as a 32-bit-value
• Transfer of a 31-bit preset value for the actual position value
© Siemens AG 2019 All rights reserved

Figure 3-1

Double-click on the simulation block to open the operating window:

Figure 3-2

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 7
3 Use

3.1.2 SensorProcessLinear

This simulation block reproduces the functionality of a linear encoder. Both linear
absolute and linear incremental encoders can be simulated. The component must
be connected to the "Process" connection of a component from the PROFIdrive
telegram.
The simulation block is not provided with the extension of the library DRIVES. The
simulation block is already part of the basic components "DRIVES -> PROFIdrive".

Figure 3-3
© Siemens AG 2019 All rights reserved

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 8
3 Use

3.2 Project planning


1. Drag&Drop the "Telegram860" block from the behavior library into the SIMIT
diagram.
2. Drag&Drop the " SensorProcessLinear " block from the basic components
"DRIVES -> PROFIdrive" into the SIMIT diagram.
3. Connect the simulated process value with the input "Gx_XIst [mm]" (1).
4. Connect the sensor value with the input "Process" (2).
5. Connect the input "G1_XIST_PRESET_A" with the corresponding output signal
of the configured coupling (3).
6. Connect the outputs "G1_XIST1" and "NIST_B" with the corresponding input
signal of the configured coupling (4).

Figure 3-4

3
© Siemens AG 2019 All rights reserved

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 9
3 Use

3.3 Parameterization
The "Telegram860" component can be used to output or transmit the actual
position value as a 32-bit value. The simulation model has a certain number of
parameters for calculating this output. Proceed as follows:
1. Select the "SensorProcessLinear" block.
2. Select the "Parameter" folder in the properties window and set the following
values:

Figure 3-5

1. Select the "Telegram860" block.


2. Select the "Parameter" folder in the properties window and set the following
values:
© Siemens AG 2019 All rights reserved

Figure 3-6

Parameterization of the "SensorProcessLinear" block:


The value at input "Gx_XIst [mm]" represents the actual position value in mm. The
parameters of the "SensorProcessLinear" block have the following functionality:
Table 3-1
Parameter Value
DistanceBetweenIncrements Distance between two divisions in the unit mm
SupportAbsoluteValues Absolute or incremental encoder

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 10
3 Use

The block has the output structure "Sensor". The structure of the "Telegram860"
block uses the following elements:

Table 3-2
Output element Value
EncoderBase The encoder resolution in the unit nm
Gx_XIst Actual position value in the unit nm

Example:
𝐺𝑥𝐼𝑠𝑡 [𝑚𝑚] = 1,55
𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒𝐵𝑒𝑡𝑤𝑒𝑒𝑛𝐼𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑠 = 0,5

Calculation "Sensor.EncoderBase":
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐵𝑎𝑠𝑒 = 𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒𝐵𝑒𝑡𝑤𝑒𝑒𝑛𝐼𝑛𝑐𝑟𝑒𝑚𝑒𝑛𝑡𝑠 ∙ 𝑁𝑎𝑛𝑜𝑀𝑒𝑡𝑒𝑟𝐹𝑎𝑐𝑡𝑜𝑟
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐵𝑎𝑠𝑒 = 0,5 ∙ 1.000.000
𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐵𝑎𝑠𝑒 = 500.000

Calculation "Sensor.Gx_XIst":
© Siemens AG 2019 All rights reserved

𝐺𝑥𝑋𝐼𝑠𝑡 = 𝐺𝑥𝑋𝐼𝑠𝑡 [𝑚𝑚] ∙ 𝑁𝑎𝑛𝑜𝑀𝑒𝑡𝑒𝑟𝐹𝑎𝑐𝑡𝑜𝑟


𝐺𝑥𝑋𝐼𝑠𝑡 = 1,55 ∙ 1.000.000
𝐺𝑥𝑋𝐼𝑠𝑡 = 1.550.000

The following figure shows the comparison of the acquired process signal "PV" or
the interconnected input "Gx_XIst [mm]" in mm and the output value
"Sensor.Gx_XIst" (* 100.000) in nm:

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 11
3 Use

Figure 3-7

200

180

160

140

120
PV / Gx_Xist [mm]

100
Sensor.Gx_XIst *
100.000 [nm]
80

60

40
© Siemens AG 2019 All rights reserved

20

Parameterization of the "Telegram860" block:


The value at output "G1_XIST1" represents the actual position value as a 32-bit
value. The parameters of the "Telegram860" block have the following functionality:

Table 3-3
Parameter Value
G1_FineResolutionXIst1 Fine resolution for the actual position value

The block has the input structure "Process". The structure of the "Telegram860"
block uses the following elements:

Table 3-4
Output element Value
EncoderBase The encoder resolution in the unit nm
Gx_XIst Actual position value in the unit nm

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 12
3 Use

Example:
𝑃𝑟𝑜𝑐𝑒𝑠𝑠. 𝐺𝑥𝑋𝐼𝑠𝑡 = 1.550.000
𝑃𝑟𝑜𝑐𝑒𝑠𝑠. 𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐵𝑎𝑠𝑒 = 500.000
𝐺1_𝐹𝑖𝑛𝑒𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛𝑋𝐼𝑠𝑡1 = 3

Calculation "G1_XIST1":
𝑃𝑟𝑜𝑐𝑒𝑠𝑠. 𝐺𝑥𝑋𝐼𝑠𝑡 ∙ 2𝐺1_𝐹𝑖𝑛𝑒𝑅𝑒𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛𝑋𝐼𝑠𝑡1
𝐺1𝑋𝐼𝑆𝑇1 =
𝑃𝑟𝑜𝑐𝑒𝑠𝑠. 𝐸𝑛𝑐𝑜𝑑𝑒𝑟𝐵𝑎𝑠𝑒
1.550.000 ∙ 23
𝐺1𝑋𝐼𝑆𝑇1 =
500.000
𝐺1𝑋𝐼𝑆𝑇1 = 24,8 ≈ 24 ≈ 18ℎ

The following figure shows the comparison of the input value "Process.Gx_XIst"
(* 100.000) in nm and the converted absolute value "G1_XIST1":

Figure 3-8

200
© Siemens AG 2019 All rights reserved

180

160

140

120
Process.Gx_XIst *
100.000 [nm]
100
G1_XIST1

80

60

40

20

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 13
3 Use

3.4 Operation
The process value is converted into a 32-bit actual position value, as soon as a
process value is available at the "SensorProcessLinear" block.
Double-click on the "Telegram860" block to open the operating window. In the
operating window the hexadecimal value (1) is displayed, which is transmitted by
interconnecting the output. In addition, the analog value (2) is also displayed to
interpret the value with the unit in mm.

Figure 3-9
© Siemens AG 2019 All rights reserved

1
2

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 14
4 Appendix

4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
https://support.industry.siemens.com

Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
www.siemens.com/industry/supportrequest
© Siemens AG 2019 All rights reserved

SITRAIN – Training for Industry


We support you with our globally available training courses for industry with
practical experience, innovative learning methods and a concept that’s tailored to
the customer’s specific needs.
For more information on our offered trainings and courses, as well as their
locations and dates, refer to our web page:
www.siemens.com/sitrain

Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
https://support.industry.siemens.com/cs/sc

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry
Online Support" app. The app is available for Apple iOS, Android and Windows
Phone:
https://support.industry.siemens.com/cs/ww/en/sc/2067

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 15
4 Appendix

4.2 Links and literature


Table 4-1
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
\2\ Link to this entry page of this application example
https://support.industry.siemens.com/cs/ww/en/view/109761007
\3\ SIMATIC SIMIT Simulation Platform – Overview
https://support.industry.siemens.com/cs/ww/en/view/109746429

4.3 Change documentation


Table 4-2
Version Date Modifications
V1.0 10/2018 First version
V2.0 10/2019 New components (Tel. 111 – EPOS, Tel. 900 – 903)
© Siemens AG 2019 All rights reserved

DRIVES Behavior Library for SIMIT


Entry-ID: 109761007, V2.0, 10/2019 16

Das könnte Ihnen auch gefallen