SIMIT-GettingStarted DOC V1.0 en
SIMIT-GettingStarted DOC V1.0 en
SIMIT-GettingStarted DOC V1.0 en
Getting Started
Siemens
SIMIT V10.0 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109767324 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.
Table of contents
Legal information ..................................................................................................... 2
1 Introduction .................................................................................................... 5
1.1 Overview ........................................................................................... 5
1.2 Principle of operation ......................................................................... 5
1.3 Components used ............................................................................. 5
2 Theory ............................................................................................................. 6
2.1 Presentation of the target project ....................................................... 6
Task ........................................................................................... 6
2.2 Creating a project .............................................................................. 6
Project creation.................................................................................. 6
2.3 User interface of SIMIT SP ................................................................ 6
Left screen edge ................................................................................ 6
Right screen edge.............................................................................. 7
Top screen edge ................................................................................ 8
Lower screen edge ............................................................................ 8
2.4 Diagram structure/setting up a project ................................................ 8
Project tree ........................................................................................ 8
2.5 Libraries in SIMIT SP ......................................................................... 9
Base libraries..................................................................................... 9
2.6 Operation of the interface ................................................................ 10
Drag n' drop ..................................................................................... 10
© Siemens AG 2019 All rights reserved
1 Introduction
1.1 Overview
Getting Started gives you an insight into SIMIT's basic features. The interface and
navigation of this simulation software are explained, and the first project is built
step by step by using tasks. In the extensions, SIMATIC S7-PLCSIM Advanced
uses and explains a coupling with a TIA portal project.
The aim is to convey basic knowledge in order to facilitate the entry into SIMIT.
Note If you have questions about components, you can call the help by marking the
component and pressing the "F1" button.
Table 1-1
Components Quantity Article number Note
SIMIT SP V10.0 1 6DL8913-0AK00-0AB5 The application example can
ENGINEERING S also be tested with
"SIMIT SP DEMO" (\3\).
SIMATIC STEP 7 1 6ES7822-1AA05-0YA5 Required for sections 2.12
Prof. V15.1 and 3.2
SIMATIC S7-PLCSIM 1 6ES7823-1FA01-0YA5 Required for sections 2.12
Advanced V2.0 SP1 and 3.2
SIMIT SIM V10.0 1 6DL8913-0EK00-0AB5 Required for sections 2.11
COMPONENT TYPE and 3.1.10
EDITOR
In addition to this document, Getting Started also consists of a sample project. This
contains the "Basic" and "Extension" folders, which include sample solutions,
layouts for graphic objects, and all required project data. The project statuses for
the task at the "Backup" sub-folder are stored. To open these project statuses, the
file must be archived in SIMIT.
2 Theory
2.1 Presentation of the target project
Task
BringBot GmbH develops robots designed to make their customers' lives easier by
taking things from one place to another. In order for this to work reliably, all robots
undergo a continuous test on a treadmill.
BringBot GmbH has commissioned a new treadmill. In order to save time and
reduce costs, all employees should be trained in advance to supervise the tests. In
addition, a digital twin of the test setup is to be created in order to be able to
virtually test updates and changes before the actualbelt is implemented.
In the first part of the order, SIMIT Simulation Platform (SP) will be used to meet
the requirements of BringBot GmbH.
To help you make use of a secure status of backup projects at any time.
Figure 2-2
Note In simulation mode, variables can be manipulated and observed, but no charts
can be altered.
Figure 2-4
Note The property window of a component becomes visible when the component is
© Siemens AG 2019 All rights reserved
selected.
Figure 2-5
Note With the right click on diagrams new folders and in turn diagrams can be
created.
Figure 2-6
1
© Siemens AG 2019 All rights reserved
Note All that is needed is the "STANDARD" library for this Getting Started.
Figure 2-7
2.7 Signals
Connecting signals
Entrances and exits of a component are represented by colored triangles.
Entrances on the left in green , exits to the right are pictured in red . If the
signal type is compatible, a connection can be drawn from one component to
another by drag n' drop. To do this, click on the exit and then on the input to be
connected (or vice versa).
Figure 2-8
In SIMIT SP, inputs can also be described directly with a constant. By double-
clicking on the input value, you can edit the constant. Entrances and exits can also
© Siemens AG 2019 All rights reserved
be switched invisibly. To do this, the little eye the left side of the names must be
clicked.
Figure 2-9
For invisible ports, you can choose "implicit connection" via signal default
(represented by the buckled arrow ).
If the type of connection is changed to "implicit connection," a suitable signal from
the signal list on the right can be selected after consistency check and drawn
directly into the field. This increases clarity on large diagrams with many
connections. At the same time, at a glance, it is no longer clear which component is
connected to which other component.
Figure 2-10
You can also enter the signal directly. The signal information always consists of the
name of the source and the port.
2.8 Animations
Animations in SIMIT SP
© Siemens AG 2019 All rights reserved
Figure 2-11
Figure 2-12
Drag the trigger signal from the signal list & drop into the property window or enter
the source and connection name directly.
"STANDARD." Depending on the type of data, components are divided into analog,
binary, and integer. "Math" also lists mathematical functions in the form of building
blocks.
Figure 2-13
2.10 Macros
Macro editor
Logical circuits or contiguous components, which can be used and summarized
several times in the project, can also be defined as macro. A macro forms a unit
with entrances and outputs and can be considered a diagram in the diagram. A
macro is created under macro "new macro." →
In SIMIT SP, you can integrate folders under "Own Makros/User macros" via
the Icon ("Library Open/Open library") and thus export or import macros. Exported
macros have the file "simmac."
Figure 2-14
Inputs/outputs
In the macro editor there are inputs on the left and outputs on the right edge. If an
input is connected to the left side, a new input is created and named. This is then
© Siemens AG 2019 All rights reserved
created as an input at the later macro. All inputs and outputs that are not specially
created are not parametrized later when using the macro. In the macro,
components can be used as in the diagram. After saving, the macro can then be
placed in the diagram and connected.
Figure 2-15
Each macro inserted into a diagram contains the processing status at the time of
integration. Circuit changes of the macro in the macro editor are thus only taken
over in the diagram after the macro has been replaced. You can also drag macros
from diagrams into the "user macros" or "project macros" collection, then edit them.
Figure 2-17
© Siemens AG 2019 All rights reserved
When selecting "PLCSIM Advanced," you then have to select the corresponding
TIA Portal project to import its signals. To this end, SIMIT SP is accessing the TIA
Portal project through Openness. This must include the Windows user of the user
group "Siemens TIA Openness" (see \4\, section: ”Adding users to the "Siemens
TIA Openness" user group).
You may need to grant access to the TIA portal. Check the PopUp window in the
background.
Note At TIA Portal < V15.1, the TIA Portal project must be closed.
Figure 2-18
Once the import has been completed, it can be adjusted in the properties window,
whether the communication with SIMATIC S7-PLCSIM Advanced should take
place via TCP/IP or via the SOFTBUS.
Figure 2-19
© Siemens AG 2019 All rights reserved
Note This download is only necessary the first time, as the virtual memory card of the
S7-PLCSIM Advanced instance is preserved.
Exception: If the TIA Portal project is changed, this change must be loaded onto
the instance.
Signal table
After the successful import of the project, all available inputs and outputs are
displayed in a signal table.
Figure 2-20
If the simulation is active, the signals can be observed and altered directly. For
signals connected in SIMIT SP, use the small field to the left of the name of the
signal . You then enter a value and confirm the input with RETURN. This feature
© Siemens AG 2019 All rights reserved
Figure 2-21
Figure 2-22
Setpoint
Control Manipulated Controlled
Controller
difference variable system
Actual value
© Siemens AG 2019 All rights reserved
A control loop describes how an actual value becomes the desired set point. The
set point is given to the control loop from the left and is also called guide size. The
difference is formed from the guide size and the rule size (actual value) via the
repatriation. This represents the deviation of the two values. The controller uses
this rule difference and generates the manipulated variable for the controlled
system (actuator). Because this is not ideal and responds to changes delayed, for
example, the manipulated variable and the controlled variable are different. The
new rule size is then returned and offset against the guide size. This happens until
the difference is zero and the actual value reaches the set point.
beltSpeedInput
In the TIA Portal project, the speed of the robot ("roboSpeed") is the reference
variable to which the belt must adapt. A PID controller "PID_Compact" is used as a
controller. PID_Compact calculates the control difference and generates the
manipulated variable ("beltSpeedSetpoint") for the treadmill as a control system.
This is represented by a delay element (PT1), which mimics the belt's sluggish
response to changes. The resulting controlled variable ("beltSpeedInput")
represents the current speed of the treadmill.
Note The relationship between the reference variable, the manipulated variable and
the controlled variable becomes more apparent in Figure 2-26 .
Figure 2-25
When the simulation is started, the signals are recorded. This history can be
stored, if desired. This can be very useful for testing components or projects, as
values often change very quickly and can therefore be poorly tracked.
© Siemens AG 2019 All rights reserved
Figure 2-26
3 In practice
3.1 Basic
3.1.1 Task 1: Project
In the project tree, place the "Animation," "Logic" and "Overview" folders under
"Charts."
Create a new diagram in the "Overview" folder. In it, represent the treadmill and the
robot in two dimensions (side view) using rectangles. For the robot, you can use
the image templates in the "Basic/Layouts" folder.
Note You can add images in the properties of the graphics via "Appearance > Fill color
> Image."
To control the speed of the robot, place a slider in the diagram (at this point you
can also test other control fields). Insert a display as a test. Connect the display
directly to the slider. Start the simulation and look at the results.
Then replace the direct connection with an implicit connection. Start the simulation
and check the results.
Note If signals from controls are switched invisibly, they are no longer listed on the
signal list after consistency check.
The display is irrelevant to the following tasks and can be removed. Set the
range of values of the slider so that it ranges from the negative to the positive.
An animation must be inserted so that the robot can move over the treadmill.
Select the slider as a signal for movement.
The robot is said to be able to start in the middle of the belt and move to both ends
of the belt.
Start the simulation and check the results.
Testing the robot requires the treadmill to "move". Add a 2nd slider representing
the speed of the belt.
Create a diagram in the "Logic" folder. In the diagram, calculate as the difference in
the speeds of belt and robot. Select the relative speed as a signal for the
movement of the robot.
In the diagram of the "Overview" folder, include a display of the relative speed.
Start the simulation and check the results.
At the moment, the robot shows the relative speed. Instead, it is now supposed to
show the actual location. To do this, extend the diagram in the "Logic" folder.
Note To get from speed to position, an integrator is necessary. These can be found
under the ("Basic components > STANDARD > AnalogExtended > INT").
Adjust the parameters of the integrator to the set limits of motion animation and
then connect the signal.
Note The larger these limits are chosen, the more evenly the robot moves.
Recommendation: -1000 to 1000
© Siemens AG 2019 All rights reserved
In the diagram of the "Overview" folder, include a digital display for the position of
the robot on the treadmill.
Start the simulation and check the results.
To represent the set speed of the belt, two opposite triangles (→) are to be
placed on the belt.
Note You can draw a triangle with the help of the graphic element "Polyline".
In order to prevent the arrows from scaling into the negative, you need to switch
them invisibly in the respective range of values. To do this, check the belt speed for
<0 or >0.
Note The comparative can be found under the basic components: ("Basic components
> STANDARD > AnalogExtended > Compare").
Note Note that the running direction of the belt is opposite to the direction of
movement of the robot.
The position of the robot on the belt is to be monitored. To do this, create two
macros with 3 inputs and 3 outputs each – one for the left end and one for the right
end of the belt.
If the robot is in the safe area, the bit "Okay" should be set.
If the robot exceeds the limit for a warning, a bit is to be set for "warning" until the
robot is back in the safe area.
If the robot exceeds the limit for an alarm, the bit for "alarm" should also be set until
the area is left again.
Create the limits as inputs and the three status bits as exits of the macro.
Note For the macros, two comparisons and an "AND" operation, as well as 2
negations are necessary. The macro for the limits in negative area must be
adjusted in terms of comparisons.
Insert the macros in the diagram for animations.
Set the limits depending on the scale and check the function.
When the robot reaches the edge of the treadmill, a warning and alarm are to be
graphically displayed on a traffic light. Since this display can be used in many
projects, it is a good idea to create your own component. The CTE is to be used for
© Siemens AG 2019 All rights reserved
this purpose.
The lights should have the display colors red, yellow and green and can be
graphically oriented towards the traffic light. The colors should become visible
depending on the circuit.
Note The component should later be controlled by 3 binary inputs (for red, yellow,
green). The inputs can be switched invisibly in the "Use" parameter by selecting
the 2nd option and setting the hook at "Implicit Connection."
After storing it in the "Global Components" folder, the traffic light is also listed in
SIMIT SP.
At the beginning and end of the treadmill a traffic light is now to be inserted and
connected to the logic.
This brings the Getting Started basic package to an end. In the following package,
the existing project will be connected to the associated TIA Portal project and it will
be launched on a SIMATIC S7-PLCSIM Advanced instance. If the self-created
project is functional, it can be used below. If not, the final project of the first
package can be used.
3.2 Extension
3.2.1 Task 12: Connection
After testing with the treadmill has been successful, the next goal is to increase the
degree of automation. For this purpose, the treadmill should automatically assume
a suitable speed, so that the robot does not drive off the belt.
A TIA portal project is available for the scheme. In the SIMIT SP project, connect
with S7-PLCSIM Advanced and import the signals from the TIA Portal project. Start
the simulation and specify the robot speed "roboSpeed" in the signal table. Does
the set point of the belt change ("beltSpeedSetpoint")?
Note The S7 PLCSIM Advanced instance, created by SIMIT SP, has the interfaces,
but not the information about the functions behind them. The TIA Portal project
must therefore be loaded onto the instance at the first start of the SIMIT SP
simulation with the S7-PLCSIM Advanced coupling.
The signals from the TIA Portal project are to be applied in the diagram under
"Logic" with entrances and exits. The robot speed "roboSpeed" is to be determined
by the slider.
Note Connectors cannot be connected invisibly. Here, for example, an adder can be
© Siemens AG 2019 All rights reserved
intermediated as a dummy.
Turn the set point of the belt directly to the actual value to the test. For example,
you need an adder as an intermediate component.
Swap the slider for belt speed with a Balkan indicator that displays the actual value
of the belt speed.
Perform the consistency check.
Inconsistencies are displayed anywhere in the project where the slider speed is
required. The easiest way to resolve these is to use the slider name for the adder
(intermediate component).
Test the simulation.
In order to increase the simulation quality, the control system (the band) should
now be represented by a PTn element (to be found under "Basic components >
STANDARD > AnalogExtended"). To do this, this must be installed between set
and actual value (instead of the adder). Leave order N to "1" for a PT1 element.
The delay time constant T can be set to "3." To avoid inconsistencies, name the
PT1 element as before the adder.
Note In order to avoid rewiring, the PT1 element can also be switched between set
point and adder.
The simulation is then to be tested again. Is there a difference from the test before?
In order to see more clearly the effects of the PT1 element, a curve image/trend is
to be created. It is intended to represent the target and actual value of the belt and
the speed of the robot. Uniform values must be chosen for the limits.
The signals are to be observed after a change in robot speed. Is the system of the
PID controller recognizable?
What happens if parameter T of the PT1 element is set to 10 and the diagram is
rerecorded?
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
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:
support.industry.siemens.com/cs/sc