0% found this document useful (0 votes)
241 views68 pages

SIMIT Drives Application DOC v10 en

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

SIMIT Drives Application DOC v10 en

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

SIMIT drive simulation

of a SINAMICS S120
via Basic Positioner
(EPos) with
tel. 111 701 and 902
Siemens
SIMIT SP V10.2 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 2021 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.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 2
Table of contents

Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Principle of operation............................................................................ 5
1.3 Components used ................................................................................ 6
2 Engineering ........................................................................................................ 7
2.1 Configuration ........................................................................................ 7
2.1.1 Configuring the SINAMICS S120 drive ................................................ 7
2.1.2 Configuring the technology object "TO_BasicPos" ............................ 11
2.2 Integration into the user project .......................................................... 11
2.2.1 Structure of the control program ........................................................ 11
2.2.2 PLC tags for PROFIdrive telegrams ................................................... 15
2.3 Operation ............................................................................................ 17
2.3.1 Starting the applications ..................................................................... 17
2.3.2 Setting enable signals ........................................................................ 21
2.3.3 Operation via the HMI panel .............................................................. 22
2.3.4 Operation using the watch table ......................................................... 63
2.3.5 Diagnostics with technology module "TO_BasicPos" ........................ 64
3 Useful information ........................................................................................... 65
3.1 Telegram 701 (Control/Status block) ................................................. 65
© Siemens AG 2021 All rights reserved

3.2 Telegram 902 (Control/Status block) ................................................. 65


4 Appendix .......................................................................................................... 66
4.1 Service and support ........................................................................... 66
4.2 Industry Mall ....................................................................................... 67
4.3 Links and literature ............................................................................. 67
4.4 Abbreviations ...................................................................................... 67
4.5 Change documentation ...................................................................... 68

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 3
1 Introduction

1 Introduction
This application example will demonstrate how a (real) SINAMICS S120 drive,
linked as a PROFINET device to a SIMATIC S7-1500 functioning as PROFINET
controller, can be configured and operated as a simulation in SIMIT.
For this purpose, this example uses the technology object "TO_BasicPos" (Basic
Positioner) with the SIEMENS telegrams 111, 701 and 902.

1.1 Overview
The SIMATIC S7-1500 CPU can be operated as a PROFINET controller. In this
case, the PROFINET-capable SINAMICS S120 drive can be deployed as a
PROFINET device and driven by the SIMATIC controller.

The following Figure gives an overview of the real hardware setup being simulated
in this application example.
The following software applications will be used for the simulation of the HMI, PLC
and drive:
• TIA Portal (for engineering and to simulate the HMI)
• PLCSIM Advanced (as a virtual controller)
• SIMIT SP (with tel. 111, 901 & 702 as behavior model)
© Siemens AG 2021 All rights reserved

Figure 1-1
Real world

PROFINET / IE

Simulation system
HMI simulation PLCSIM Advanced Simit
Virtual S7-1500 controller Drive simulation

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 4
1 Introduction

1.2 Principle of operation


In this application example, a setpoint position is specified for a SINAMICS S120
drive. The drive then moves to the setpoint position with the Basic Positioner
(Epos) function. The traversal movement of the drive is controlled with the standard
technology block "TO_BasicPos". This block is called in the cyclic user program
and is part of the technology objects.

Assigning the communication parameters


Both the SIMATIC controller and the SINAMICS inverter are configured and
programmed in TIA Portal. The following data are automatically created in the
hardware configuration:
• IP addresses
• PROFINET device names
• Peripheral address ranges for data to be exchanged between SIMATIC
controller and SINAMICS drive
The data can be modified at any time. Which process data the SIMATIC controller
and the SINAMICS drive exchange is determined by the telegram type (in the
example: Siemens telegram 111, 370, 701 and 902). The corresponding telegram
types are assigned parameters in the hardware configuration.

Data exchange
© Siemens AG 2021 All rights reserved

The data exchange between SINAMICS S120 and SIMATIC S7-1500F is carried
out with the technology block "TO_BasicPos" in the process data range. The
process data are transmitted cyclically, i.e. in each bus cycle.

Positioning
The SINAMICS drive axis is positioned exclusively with the technology block
"TO_BasicPos". This block utilizes the functionality of the Basic Positioner (Epos),
which is configured in the drive.

Simulation

SIMIT SP
This application example uses SIMIT SP as a simulation platform. Using the (drive)
components telegram 111, 902 and 701 as a behavior model, it is possible to
simulate the specific functions of the drive.

PLCSIM Advanced
PLCSIM Advanced is used as a virtual controllers. It runs the control program once
the program is uploaded from TIA Portal; it replaces the real PLC.
Thanks to the corresponding coupling in the SIMIT project, it is possible to
exchange data between the simulated PLC and the simulated drive components.

HMI runtime simulation


The runtime of the integrated simulation function in TIA Portal will be used as an
HMI.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 5
1 Introduction

1.3 Components used


The following hardware and software components were used to create this
application example:
Table 1-1
Component Quantity Item number Note
SIMATIC S7-1511F-1 PN 1 6ES7 511-1FK01- Alternatively, another
0AB0 S7-1500F controller
with version 2.5 may
be used.
SINAMIC Control Unit 1 6SL3040-1MA01- -
CU320-2 PN 0AA0
SINAMICS S120 Active 1 6SL3130-7TE21- -
line module 6Axx
SINAMICS S120 Single 1 6SL3120-1TE13- -
motor module 0AAx
Synchronous motor with 1 1FK7042-xAK7x- -
absolute value encoder xCHx
and DRIVE-CLIQ interface
SIMATIC HMI KTP900 1 6AV2123-2JB03- -
Basic PN 0XA0
STEP 7 Professional V16 1 6ES7822-1AA06- -
© Siemens AG 2021 All rights reserved

0YA5
SINAMICS Startdrive V16 1 6SL3072-4GA02-0x.. At least Update 5
SIMIT V10.2 1 6DL8913-0AKxx -

This application example consists of the following components:


Table 1-2
Component File name Note
Documentation 109761007_SIMIT_Drives_Application_DOC_v10_en.pdf -
TIA Portal 109761007_SIMIT_Drives_Application_TIA_PROJ_v10.zip -
example project
SIMIT SP 109761007_SIMIT_Drives_Application_SIMIT_PROJ_v10.zip -
example project
SIMIT SP 109761007_SIMIT_Drives_BehLib_PROJ_v30.zip -
library

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 6
2 Engineering

2 Engineering
2.1 Configuration
2.1.1 Configuring the SINAMICS S120 drive

Add the SINAMICS drive:


1. Switch to the Network view.
2. Select the corresponding CU320-2 PN module and add it by dragging and
dropping.
© Siemens AG 2021 All rights reserved

Set the network


1. Open the properties of the drive in the Inspector window.
2. Select the network under "Ethernet addresses".
3. Enter the IP address, for example 192.168.0.2.
4. Assign the drive to the controller.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 7
2 Engineering

Assign components
1. Switch to the Device view of the drive (Drive Unit).
2. Select the corresponding "Line Module" and then drag & drop it into the Device
view.
© Siemens AG 2021 All rights reserved

3. Select the motor module and drag & drop it into the Device view.
4. In the Inspector window, select the item number of the motor module.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 8
2 Engineering

5. Select the motor in the hardware catalog.


6. In the Inspector window, select the item number of the motor. A selection is
possible with the use of filters.
© Siemens AG 2021 All rights reserved

7. Under "PROFINET interface" > "Telegram configuration", assign telegram 111


and the safety telegrams 701 and 902 to the drive axis; add telegram 370 to
the infeed.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 9
2 Engineering

8. In the project tree under "Drive unit" > "Drive axis", open "Parameterization".
Under "Basic parameterization" > "Function modules", enable the option "Basic
positioner".
© Siemens AG 2021 All rights reserved

9. Save and compile the complete hardware project.

The components of the SINAMICS S120 drive are also listed in the "Device
overview".
Figure 2-1: Device overview

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 10
2 Engineering

2.1.2 Configuring the technology object "TO_BasicPos"

Proceed as follows to insert a technology object "TO_BasicPos" to the project:


1. Double-click on "Add new object" in the "Technology objects" folder.
2. Select the "SINAMICS" group in the dialog.
3. Select the "TO_BasicPos" type.
4. Click "OK" to confirm the selection.
© Siemens AG 2021 All rights reserved

5. The configuration will open. Under "Hardware interface > Drive", select
telegram 111.

2.2 Integration into the user project


2.2.1 Structure of the control program

The following Figure shows the program structure of the control program.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 11
2 Engineering

Figure 2-2: Program overview

Main SinaInfeed instSinaInfeed


[OB 1] [FB 305] [DB 305]

instTO_BasicP
TO_BasicPos
os
[FB 306] [DB 306]

LDrvSafe_Sina instLDrvSafe_Si
Tlg701Control naTlg701Control
[FB 29200] [DB 29200]
© Siemens AG 2021 All rights reserved

LDrvSafe_Sina instLDrvSafe_Si
Tlg701Status naTlg701Status
[FB 29202] [DB 29202]

FOB_RTG1 Main_Safety_
[OB123] RTG1 [FB1]

LDrvSafe_Sina instLDrvSafe_Sin
a
Tlg902Control Tlg902Control_D
[FB 29005] B [FB 29005]

LDrvSafe_Sina instLDrvSafe_Sin
a
Tlg902Status Tlg902Status_DB
[FB 29015] [FB 29015]

To integrate the application example into your user project, you will need the
following blocks:
• "TO_BasicPos":Task Card Instructions > Technology > SINAMICS
• "SinaInfeed": Task Card Instructions > Options packages > SINAMICS)
• "LDrvSafe_SinaTlg701Control": Library "LDrvSafe"

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 12
2 Engineering

• "LDrvSafe_SinaTlg701Status": Library "LDrvSafe"


• "LDrvSafe_SinaTlg902Control": Library "LDrvSafe"
• "LDrvSafe_SinaTlg902Status": Library "LDrvSafe"

Note The "LDrvSafe" library and the description of the blocks can be found in the
SIEMENS Industry Online Support at the following link:
https://support.industry.siemens.com/cs/ww/en/view/109485794

2.2.1.1 Information on the block "TO_BasicPos"

Figure 2-3: FB306 TO_BasicPos


© Siemens AG 2021 All rights reserved

You can use the SINAMICS instruction "TO_BasicPos" if the Basic Positioner
function model is used in the connected SINAMICS drive. "TO_BasicPos" is used
for cyclic control of a SINAMICS drive with the technology for SINAMICS S/G/V
Basic Positioner.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 13
2 Engineering

Note Due to the various Epos operating modes, there is a special mode input, the
"ModePos" input. The individual operating modes are selected with this input.
Owing to the EPos structure, it is not possible to select multiple modes at the
same time. However, it is possible to switch to other modes at any time while in a
given mode. In this way, for example, you can switch from setup mode to
absolute positioning.

Note When configuring the SINAMICS drive, you must ensure that the standard
telegram type 111 is selected for the communication.

LU (Length Unit)
The block "TO_BasicPos" works with the neutral length unit, LU. The length unit
(LU) can correspond to a distance (e.g. 1 LU = 1 mm) or an angle on the axis (e.g.
1 LU = 1 millidegree). The definition is set in the drive configuration.

Note For an example of the use of the LU length unit, refer to the chapter entitled
"Position control" in the "SINAMICS S120 Function Manual Drive Functions"
functional manual.
© Siemens AG 2021 All rights reserved

https://support.industry.siemens.com/cs/ww/en/view/109754299

2.2.1.2 Information on the "SinaInfeed" block (telegram 370)

Figure 2-4: FB305 SinaInfeed

This block serves to operate the infeed unit of a SINAMICS S120. The module only
operates control word STW1 and evaluates status word ZSW1 from the infeed
(standard telegram 370).
When the "SinaInfeed" block (FB305) is integrated, the corresponding instance DB
is created automatically.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 14
2 Engineering

Functional description
The hardware ID of the setpoint value slot is specified via the input "HWIDSTW";
the hardware ID of the actual value slot is specified via the "HWIDZSW" input.
By setting the input "EnablePrecharging" (STW1.0), the infeed can be pre-charged,
and switched on with the input "EnableInfeed" (STW1.3) (by setting the
corresponding control bits in STW1).
The functions are only executed when the infeed is in the necessary state for this
(evaluation of the current ZSW1).
The individual infeed responses (relevant status bits) and the complete status word
1 are output via the block outputs.
In addition to the inputs "EnablePrecharging", "EnableInfeed" and "AckError", the
user can also make other specifications in control word 1 via the parameter
"ConfigAxis" (default: 3h). For immediate operation, certain bits in the telegram are
pre-set with the help of this input.
The "control requested" bit (STW1.10) is set cyclically within the block.

2.2.2 PLC tags for PROFIdrive telegrams

With the PLC data types for PROFIdrive telegrams, you can create PLC tags in the
tag table and thereby access the input and output range in the user program in a
structured and symbolic way.
© Siemens AG 2021 All rights reserved

The address range of the telegrams can be found in the telegram configuration of
the drive.
Figure 2-5: Telegram address ranges

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 15
2 Engineering

All necessary PLC tags for the complete address range of the necessary telegrams
have been created accordingly. Note the assignment of the data type Word or
DWord.

Figure 2-6: PLC tags for PROFIdrive telegrams


© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 16
2 Engineering

2.3 Operation

Make sure that the moving drive does not pose a danger to persons or parts of
the plant. Take appropriate measures to prevent the drive from going beyond
technically or mechanically specified limits.
WARNING

2.3.1 Starting the applications

2.3.1.1 Start SIMIT

1. Start SIMIT and open the application example project.


When launching for the first time, select the size of the software license.
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 17
2 Engineering

2. Open the chart and select a component.


3. Check the parameters and modify them if necessary.
© Siemens AG 2021 All rights reserved

4. Start the simulation.

The simulation switches to Online mode.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 18
2 Engineering

2.3.1.2 Start PLCSIM Advanced

Starting the SIMIT simulation will have already created an instance of the SIMIT
coupling and switched it to RUN. When you open PLCSIM Advanced, you can see
it and check its status.
Figure 2-7: Start PLCSIM Advanced
© Siemens AG 2021 All rights reserved

2.3.1.3 Start TIA Portal

1. Open the TIA Portal project from the application example. Select the controller
(PLC).
2. Load the project to the virtual controller of PLCSIM Adv.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 19
2 Engineering

2.3.1.4 Start HMI simulation (in TIA Portal)

1. Select the HMI in the project tree of the TIA Portal project.
2. Start the HMI simulation with the "Start simulation" button.

3. The HMI simulation will be launched with the start screen.


Click on "Start Application".
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 20
2 Engineering

2.3.2 Setting enable signals

Setting enables on the HMI


1. Open "Infeed" HMI screen to set the enable signals:
– Enable precharging (1);
– Enable the infeed. (2)
– "Run" will be set to "TRUE" as a response. (3)

2 3
© Siemens AG 2021 All rights reserved

2. Open the HMI screen "Safety Tel." for the telegrams 902 and 701.
For the safety enable, the functions "STO", "SS1" and "SLS" must be set to
"True"; they are pre-set with "1" when the controller starts.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 21
2 Engineering

Setting enable signals in the watch table


Using the configuration input "ConfigEPos", you can adjust various parameters for
the block "TO_BasicPos", such as
• Stop cams
• Software limit switch(es)
• Continuous setpoint transfer

Note An exhaustive description of the configuration input "ConfigEPos" can be found in


the TIA Portal Online Help.

Open the watch table "Config_EPos" to set the enable signals:


1. Select the configuration that needs to be controlled (e.g. software limit switch)
by ticking the checkbox for control in the column next to the "Modify value"
column.
2. Specify a value in the "Modify value" column.
3. Select the "Modify now" command to immediately modify the selected
configuration once with the specified values.
© Siemens AG 2021 All rights reserved

2.3.3 Operation via the HMI panel

To operate the application example, user interfaces are stored in the HMI project. If
no SIMATIC HMI is available, the operator screens can be used in simulation mode
(see chapter 2.3.1.4). In this simulation mode, the runtime of the operator device is
displayed in the TIA environment.
The "Positioning" tab summarizes all inputs and outputs necessary for positioning
and homing the axis.
The left side of the user interface shows the input signals. An active input is
highlighted in green here.
The right side of the user interface shows the output signals. An active output is
highlighted in color:
• Display of states in green
• Display of errors in red
• Display of warnings in orange

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 22
2 Engineering

The required analog values are listed in the middle of the user interface:
• Preselected and current operating mode (ActMode) of the block
• Setpoint and actual velocity of the axis (ActVelocity)
• Setpoint and actual position of the axis (ActPosition)

Figure 2-8: User interface "Positioning"


© Siemens AG 2021 All rights reserved

2.3.3.1 Relative positioning

The relative positioning mode is implemented with the "MDI Positioning Relative"
drive function. It facilitates position-controlled traversal of traversal paths via the
integrated position control of the SINAMICS drive.

Requirements
• The operating mode is selected with "ModePos" = 1.
• The device is switched on with "EnableAxis".
• The axis does not need to be homed, nor does the encoder need to be
calibrated.
• The axis is at a standstill if a mode higher than 3 is selected. Switching
between the MDI operating modes (1,2,3) is possible at any time.

Sequence
The specification of the traversal path and dynamics is accomplished with the
inputs "Position", "Velocity", "OverV" (velocity override), "OverAcc" (acceleration
override) and "OverDec" (deceleration override).
The velocity override here pertains to "Velocity".
The operating conditions "CancelTraversing" and "IntermediateStop" must be set
to "1". "Jog1" and "Jog2" have no effect and should be set to "0" (false).
In relative positioning, the direction of movement always derives from the sign of
the traversal path.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 23
2 Engineering

A positive edge at "ExecuteMode" starts the traversal movement. With


"EPosZSW1 / EPosZSW2" it is possible to track the current status of the running
command (see the Appendix for details on the value assignment of the status
words).
The block acknowledges successfully reaching the end of the traversal path,
"AxisPosOk". If an error occurs during the traversal movement, the output signal
"Error" will be set.

Note The running command can be replaced on the fly with a new command via
"ExecuteMode". This is only possible for the operating modes 1,2,3 of "ModePos".

SIMIT
The operating mode "Relative positioning" enables position-controlled travel along
traversal paths via the integrated position controller of the behavior model
"EPOS_Tel111".

Procedure
Proceed as follows to set the function "Relative positioning":
1. Select the "Positioning" menu item (1).
2. Enter "1" for the "ModePos" field (2).
3. Switch on the device via "EnableAxis" (3).
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 24
2 Engineering

4. Enter the travel path using the following input fields:


– Velocity = 6.000 LU/Min (1)
– Position = 1.000 LU (2)
© Siemens AG 2021 All rights reserved

5. Select the menu item "Override" (1) to set the dynamics using the following
input fields:
– Speed override = 100% (2)
– Acceleration override = 2% (3)
– Delay override = 4% (4)

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 25
2 Engineering

6. Click on "ExecuteMode" (1) to start running the relative movement you have
programmed.
"ActPosition" displays the current position. The "PosOk" display indicates that
the final position has been reached and that the axis is stationary.
© Siemens AG 2021 All rights reserved

7. Open the operating window of the behavior model "EPOS_Tel111".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 26
2 Engineering

The behavior model "EPOS_Tel111" reaches internal position 1000.0 starting from
position 0.0 and is displayed in the operating window.
Figure 2-9: Behavior model "EPOS_Tel111"
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 27
2 Engineering

2.3.3.2 Absolute positioning

The absolute positioning operating mode is implemented with the drive function
"MDI Positioning Absolute". It facilitates position-controlled approach of absolute
positions via the integrated position control of the SINAMICS drive.

Requirements
• The operating mode is selected with "ModePos" = 2.
• The device is switched on with "EnableAxis".
• To execute an absolute movement, the axis must be homed (see
chapter 2.5.3.6).
• The axis is at a standstill if a mode higher than 3 is selected. Switching
between the MDI operating modes (1,2,3) is possible at any time.

Sequence
The specification of the traversal path and dynamics is accomplished with the
inputs "Position", "Velocity", "OverV" (velocity override), "OverAcc" (acceleration
override) and "OverDec" (deceleration override). The velocity override here
pertains to "Velocity".
The operating conditions "CancelTraversing" and "IntermediateStop" must be set
to "1". "Jog1" and "Jog2" have no effect and must be set to "0".
In absolute positioning, the direction of movement always depends on the shortest
© Siemens AG 2021 All rights reserved

path to the target position. In this case, the inputs "Positive" and "Negative" are
both "0".

Note If a preferred direction for approaching the target position needs to be specified
when using a modulo axis, this can be accomplished by selecting either "Positive"
or "Negative". Selecting "Positive" and "Neg" at the same time will cause the axis
to come to a standstill without any additional warnings or errors. With a linear
axis, the selection has no effect and will be ignored.

A positive edge at "ExecuteMode" starts the traversal movement. With


"EPosZSW1 / EPosZSW2" it is possible to track the current status of the running
command (see the Appendix for details on the value assignment of the status
words). The block acknowledges successfully reaching the end of the traversal
path, "AxisPosOk". If an error occurs during the traversal movement, the output
signal "Error" will be set.

Note The running command can be replaced on the fly with a new command via
"ExecuteMode". This is only possible for the operating modes 1,2,3 of "ModePos".

SIMIT
The operating mode "Absolute positioning" enables position-controlled approach of
absolute positions via the integrated position controller of the behavior model
"EPOS_Tel111".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 28
2 Engineering

Procedure
To program the "Absolute positioning" function, proceed as follows:
1. Select the "Positioning" menu item (1).
2. Enter the value "2" for the "ModePos" input field (2).
3. Switch on the device via "EnableAxis" (3).
© Siemens AG 2021 All rights reserved

4. Enter the travel path using the following input fields:


– Velocity = 6.000 LU/Min (1)
– Position = 1.000 LU (2)

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 29
2 Engineering

5. Select the menu item "Override" (1) to set the dynamics using the following
input fields:
– Speed override = 100% (2)
– Acceleration override = 2% (3)
– Delay override = 4% (4)
© Siemens AG 2021 All rights reserved

6. Click on "ExecuteMode" (1) to start running the relative movement you have
programmed.
"ActPosition" displays the current position. The "PosOk" display indicates that
the final position has been reached and that the axis is stationary.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 30
2 Engineering

7. Open the operating window of the behavior model "EPOS_Tel111".


© Siemens AG 2021 All rights reserved

The behavior model "EPOS_Tel111" reaches internal position 1000.0 starting from
position 0.0 and is displayed in the operating window.
Figure 2-10: Behavioral model "EPOS_Tel111"

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 31
2 Engineering

2.3.3.3 Setup mode

The setup mode facilitates position-controlled traversal of the axis in a positive or


negative direction of travel with constant velocity without specifying a target
position via the drive function "MDI Setup".

Requirements
• The operating mode is selected with "ModePos" = 3.
• The device is switched on with "EnableAxis".
• The axis does not need to be homed, nor does the encoder need to be
calibrated.
• The axis is at a standstill if a mode higher than 3 is selected. Switching
between the MDI operating modes (1,2,3) is possible at any time.

Sequence
The specification of the traversal path and dynamics is accomplished with the
inputs "Velocity", "OverV" (velocity override), "OverAcc" (acceleration override) and
"OverDec" (deceleration override).
The operating conditions "CancelTraversing" and "IntermediateStop" must be set.
"Jog1" and "Jog2" have no effect and must be set to "0".
The traversal direction is determined with "Positive" and "Negative". Selecting both
at the same time puts the drive in standstill without any additional warnings or
© Siemens AG 2021 All rights reserved

errors.
A positive edge at "ExecuteMode" starts the traversal movement. Using
"EPosZSW1 / EPosZSW2", the current status of the running command can be
tracked (for details on value assignment of the status words, refer to the
documentation on telegram 111 on the article page \9\).

The output signal "AxisPosOk" is set when the setup mode is terminated due to a
traversal command and the axis reaches a standstill. If an error occurs during the
traversal movement, the output signal "Error" will be set.

Note The running command can be replaced on the fly with a new command via
"ExecuteMode". This is only possible for the operating modes 1,2,3 of "ModePos".

SIMIT
The operating mode "Setup mode" enables position-controlled movement of the
axis in positive or negative direction at constant speed without specifying a target
position.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 32
2 Engineering

Procedure
Proceed as follows to program the "Setup mode" function:
1. Select the "Positioning" menu item (1).
2. Enter the value "3" for the "ModePos" input field (2).
3. Switch on the device via "EnableAxis" (3).
© Siemens AG 2021 All rights reserved

4. Enter the speed with the following input:


– Velocity = 600 LU/Min

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 33
2 Engineering

5. Select the menu item "Override" (1) to set the dynamics using the following
input fields:
– Speed override = 100% (2)
– Acceleration override = 2% (3)
– Delay override = 4% (4)
© Siemens AG 2021 All rights reserved

6. Click "Positive" (1) to select the positive direction.


7. Click on "ExecuteMode" (2) to start running the programmed movement in the
positive direction.
When "Positive" is deactivated and there is another edge at "ExecuteMode",
the movement will be stopped with the programmed deceleration; the stop
position will then be accepted as the target position.
The current position and velocity are displayed under "ActPosition" and
"ActVelocity".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 34
2 Engineering

8. Click "Negative" (1) to select the negative direction.


9. Click on "ExecuteMode" (2) to start running the programmed movement in the
positive direction.
When "Negative" is deactivated and there is another edge at "ExecuteMode",
the movement will be stopped with the programmed deceleration; the stop
position will then be accepted as the target position.
The current position and velocity are displayed under "ActPosition" and
"ActVelocity".
© Siemens AG 2021 All rights reserved

The setup mode can be canceled with the tag "RejTrvTsk". The axis will come to a
standstill and the output signal "PosOk" will be set.
Figure 2-11: Behavioral model "EPOS_Tel111"

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 35
2 Engineering

2.3.3.4 Homing - Homing movement

The homing/homing movement operating mode facilitates an axis homing


movement in the positive or negative direction with a preconfigured velocity and
homing mode; it is achieved via the "Active Homing" drive function.

Requirements
• The operating mode is selected with "ModePos" = 4.
• The device is switched on with "EnableAxis".
• The axis is at a standstill.

Sequence
The desired velocity is specified as a velocity profile and stored in the SINAMICS
drive. Additionally, the preconfigured acceleration and deceleration values have an
effect in the axis traversing profile. The velocity override "OverV" affects the
preconfigured traversal velocity.

The operating conditions "CancelTraversing" and "IntermediateStop" must be set.


"Jog1" and "Jog2" have no effect and must be set to "0".
The traversal direction is determined with "Positive" and "Negative". Selecting both
at the same time is not permitted and will cause an error.
A positive edge at "ExecuteMode" will start the homing movement.
© Siemens AG 2021 All rights reserved

A positive edge at "ExecuteMode" starts the traversal movement. Using


"EPosZSW1 / EPosZSW2", the current status of the running command can be
tracked (for details on value assignment of the status words, refer to the
documentation on telegram 111 on the article page \9\).
The output signal "AxisRef" is set when the referencing cam has been found and
evaluated.
If an error occurs during the traversal movement, the output signal "Error" will be
set.

Note For an exhaustive graphical depiction of the homing movement, refer to the Basic
Positioner function manual \10\, or the current version of the SINAMICS S120
compact manual, \11\.

SIMIT
The operating mode "Homing - Homing movement" enables the axis to perform a
homing movement in the positive or negative direction with a defined speed in
homing mode.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 36
2 Engineering

Procedure
To execute the function "Homing - Homing movement", proceed as follows:
1. Open the operating window of the behavior model "EPOS_Tel111".
© Siemens AG 2021 All rights reserved

2. Enter the end switch positions in the "EPOS_Tel111":


– "SftSwMin" = -1000.0 (1)
– "SftSwPls" = 9000.0 (1)
3. Enter this with "SftLimAct" (2).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 37
2 Engineering

4. Select the "Positioning" menu item (1).


5. Enter "4" in the "ModePos" field (2).
6. Switch on the device via "EnableAxis" (3).

7. Enter the speed with the following input:


© Siemens AG 2021 All rights reserved

– Velocity = 6.000 LU/Min.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 38
2 Engineering

8. Select the menu item "Override" (1) to set the dynamics using the following
input fields:
– Speed override = 100% (2)
– Acceleration override = 3% (3)
– Delay override = 5% (4)
© Siemens AG 2021 All rights reserved

9. Click on "ExecuteMode" (1) to start running the homing movement.


"ActPosition" (2) displays the current position. The "PosOk" display indicates
that the home position has been reached and that the axis is stationary. The
"Ref" indicator shows that the axis has been homed (referenced).
The home position can be set with the ReferencePosition parameter.
In this example, the home position is 5.000.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 39
2 Engineering

10. "ExecuteMode" (1) starts the execution of a second homing movement, which
cancels the current homing movement.
11. The limit switch position of the upper limit switch "SftSWPls" (2) is adopted as
the new target position.
12. When the target position of the upper limit switch "SftSWPls" has been
reached, the error message "8401" (3) appears and the display shows "Error".

2
© Siemens AG 2021 All rights reserved

13. Select the "Status" menu (1).


The error code "7458" is transmitted from the behavior model "EPOS_Tel111"
and displayed when there is a "Fault notice".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 40
2 Engineering

To acknowledge the error, proceed as follows:


1. Select the "Positioning" menu item (1).
2. Disable the device via "EnableAxis" (2).
3. Disable "ExecuteMode" (3).
4. Acknowledge the fault via "AckError" (4).
© Siemens AG 2021 All rights reserved

Since the current position is above the home position, you must select "Negative"
for another homing movement.
1. Use "Negative" (1) to select the negative travel direction.
2. Switch on the device via "EnableAxis" (2).
3. Start running a third homing movement with "ExecuteMode" (3).
"ActPosition" displays the current position. The "PosOk" display indicates that
the home position has been reached and that the axis is stationary. The "Ref"
indicator shows that the axis has been homed (referenced).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 41
2 Engineering

2.3.3.5 Homing - Set home position

The operating mode "Homing - Set home position" facilitates homing of the axis to
any position; it is carried out with the "Set home position" drive function.

Requirements
• The operating mode is selected with "ModePos" = 5.
• The axis can be in feedback control, however it must be at a standstill.

Sequence
Axis is at a standstill, while the home position is set with a positive edge at
"ExecuteMode". If an error occurs while setting the home position, the "Error"
output signal will be set.

SIMIT
The operating mode "Homing - Set home position" allows the axis to be homed at
any position.

Procedure
To run the "Homing - Set home position" function, proceed as follows:
1. Select the "Positioning" menu item (1).
2. Enter the value "5" in the "ModePos" field (2).
© Siemens AG 2021 All rights reserved

3. Home the axis to the current position, "ActPosition", with "ExecuteMode" (3).
The "Ref" indicator shows that the axis has been homed (referenced).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 42
2 Engineering

2.3.3.6 Traversing blocks

The Traversing blocks operating mode is implemented with the "Traversing blocks"
drive function. It facilitates the creation of automation programs, traversal to a fixed
stop, as well as the setting and resetting of outputs.

Example parameter assignment of three traversing blocks in Simit


This is one option for parameter assignment of traversing blocks (SIMIT is offline).
Assign parameters to the following values:
1. TargetOpMode5 = +100.0 (1)
2. TargetOpMode6 = -100.0
3. TargetOoMode7 = +00.0
4. SpeedOpMode5 = 500.0 (4)
5. SpeedOpMode6 = 500.0
6. SpeedOpMode7 = 500.0
7. AccOpMode5 = 1.0 (7)
8. AccOpMode6 = 1.0
9. AccOpMode7 = 1.0
10. DecOp Mode5 = 1.0
11. DecOp Mode6 = 1.0
© Siemens AG 2021 All rights reserved

12. DecOp Mode7 = 1.0


13. TaskOp Mode5 = 8449dez
14. TaskOp Mode6 = 8450dez
15. TaskOp Mode7 = 8449dez

Figure 2-12: Sample parameter assignment of traversing blocks in Simit

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 43
2 Engineering

Requirements
• The operating mode is selected with "ModePos" = 6.
• The device is switched on with "EnableAxis".
• The axis is at a standstill.
• The axis must be homed and the encoder must be calibrated.

Sequence
The execution modes, target positions and dynamics are specified with the
traversing block parameters in the SINAMICS drive. Here, the velocity override
"OverV" pertains to the setpoint velocity stored in the traversing block. The
operating conditions "CancelTraversing" and "IntermediateStop" must be set to "1".
"Jog1" and "Jog2" have no effect and should be set to "0".

The direction of movement depends on the execution mode and the programmed
position setpoint. The inputs "Positive" and "Negative" are not relevant in this case
and should be set to "0".

Note The selection of the traverse command is programmed via the "Position" input.
The value must be a value between 0 and 63 (S120). If the value is not in this
range, a warning will be output at the block.
© Siemens AG 2021 All rights reserved

Note If a preferred direction for approaching the target position needs to be specified
when using a modulo axis, this can be programmed by selecting "AbsPos" or
"AbsNeg" as the execution mode.

A positive edge at "ExecuteMode" starts the traversal movement. Using


"EPosZSW1 / EPosZSW2", the current status of the running command can be
tracked (for details on value assignment of the status words, refer to the
documentation on telegram 111 on the article page \9\).
The block shows the command is being processed with "AxisEnabled" and
acknowledges successfully reaching the target position or the termination of the
last execution step with "AxisPosOk".
If an error occurs during the traversal movement, the output signal "Error" will be
set.

Note The running command can be replaced on the fly with a new command via
"ExecuteMode". This is only possible for the operating modes 1,2,3 of "ModePos".

SIMIT
The operating mode "Traversing blocks" facilitates traversal according to saved
settings.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 44
2 Engineering

Procedure
To execute the "Traversing blocks" function, proceed as follows:
1. Select the "Positioning" menu item (1).
2. Enter the value "6" in the "ModePos" field (2).
3. Switch on the device via "EnableAxis" (3).
© Siemens AG 2021 All rights reserved

4. Open the operating window of the behavior model "EPOS_Tel111".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 45
2 Engineering

5. Set "Op. mode" (1) = 5.


6. Set the "Read" button (2) to read the traversing block "0".
The first traversing block that was parameterized will be displayed in the
operating window of the behavior model "EPOS_Tel111" with the following
values:
– Op. mode = 5
– Position = 100.0
– Speed = 500.0
– Acceleration = 1.0
– Deceleration = 1.0
– TaskOpMode = 2101

1
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 46
2 Engineering

7. To create the second traversing block, parameterize the following values in the
operating window of the behavior model "EPOS_Tel111" (1):
– Op. mode = 6
– Position = -100.0
– Speed = 500.0
– Acceleration = 1.0
– Deceleration = 1.0
– TaskOpMode = 2102
8. Set the button "Set" (2) to save the traversing block "1".
9. Set the button "Show processed set" (3) to display the traversing block "1".

1
© Siemens AG 2021 All rights reserved

10. Click "ExecuteMode" (1) to start running the traversing blocks.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 47
2 Engineering

11. The traversing block "0" = 5 is active, the traversing block "1" = 6 is active, and
the traversing block "2" = 7 will be traversed. (1)
12. The stored value of the "Position" parameter from traversing block "2" is
displayed as the target position. (2)
Due to the programmed TaskOpMode on traversing block 0, the system
switches to traversing block 1 while in operation, and from there to traversing
block 2 again while in operation, where this block is terminated with a stop at
pos. 0.
1
2
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 48
2 Engineering

2.3.3.7 Jog

The Jog operating mode is implemented with the "Jog" drive function. This
operating mode facilitates position-controlled, velocity-dependent traversal of axes
via the integrated position control of the SINAMICS drive.

Requirements
• The operating mode is selected with "ModePos" = 7.
• The device is switched on with "EnableAxis".
• The axis is at a standstill.
• The axis does not need to be homed, nor does the encoder need to be
calibrated.

Sequence
The jog velocity is specified via the STARTER/Startdrive screen or the acyclic
communication for configuring the mode in the SINAMICS drive. For the axis
dynamics, the SINAMICS drive uses the acceleration and deceleration
programmed in the SINAMICS drive.
The velocity override is also active in this operating mode and is set via "OverV".
The operating conditions "CancelTraversing" and "IntermediateStop" are not
relevant for this operating mode and can be set to "1" by default.
© Siemens AG 2021 All rights reserved

Note "Jog1" and "Jog2" are the signal sources for jog mode in the Epos. The direction
of the traversal movement of each of the signal sources is configured in the
SINAMICS drive and, by default, is set to Jog1 = negative and Jog2 = positive.

In jog mode, the direction of travel depends on the programmed velocity setpoint.
The inputs "Positive" and "Negative" are not relevant for this operating mode and
can be set to "0" by default.
Using "EPosZSW1 / EPosZSW2", the current status of the running command can
be tracked (for details on value assignment of the status words, refer to the
documentation on telegram 111 on the article page \9\). The block shows the
command running with "AxisEnabled" and acknowledges the termination of the jog
function ("Jog1" or "Jog2" = 0) when the axis is at a standstill with "AxisPosOk". If
an error occurs during the traversal movement, the output signal "Error" will be set.

Note The running command can be replaced on the fly by a new command via "Jog1"
or "Jog2"
. This is only possible while remaining in one of the two jog operating modes.

SIMIT
The "Jog" operating mode enables position-controlled, speed-dependent
movement of axes via the integrated position controller of the "EPOS_Tel111"
behavior model.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 49
2 Engineering

Procedure
To execute the "Jog" function, proceed as follows:
1. Assign parameters to the following values (SIMIT is offline):
– DefaultSpeed = 24.0 (1)
– DefaultAcc = 0.2 (2)
– DefaultDec = 0.25 (3)
2. Restart the SIMIT simulation (see chapter 2.3.1).
© Siemens AG 2021 All rights reserved

3. Open the operating window of the behavior model "EPOS_Tel111".

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 50
2 Engineering

4. The parameterization on the behavior model "EPOS_Tel111" from Step 1 is


displayed in the operating window (1).
5. Set the switch "Show processed set" (2) in the operating window.

1
© Siemens AG 2021 All rights reserved

6. Select the "Jog" menu item (1).


7. Enter the value "7" in the "ModePos" field (2).
8. Switch on the device via "EnableAxis" (3).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 51
2 Engineering

9. "JOG 2" (1) starts the movement in the positive direction.


The velocity value thus becomes positive.
When "JOG 2" is deactivated, the movement is stopped with the set
deceleration and the stop position is adopted as the target position.
© Siemens AG 2021 All rights reserved

10. "JOG 1" (1) starts the movement in the negative direction.
The velocity value thus becomes negative.
When "JOG 1" is deactivated, the movement is stopped with the set
deceleration and the stop position is adopted as the target position.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 52
2 Engineering

11. The "PosOk" display indicates that the axis is stationary and that the jog
function has ended.

2.3.3.8 Jog incremental

The Jog incremental operating mode is implemented via the "Jog" drive function. It
© Siemens AG 2021 All rights reserved

enables position-controlled, distance-dependent movement of axes via the


integrated position control of the SINAMICS drive.

Requirements
• The operating mode has been selected with "ModePos" = 8.
• The device is switched on with "EnableAxis".
• The axis is at a standstill.
• The axis does not need to be homed, nor does the encoder need to be
calibrated.

Sequence
The path and velocity are specified via the STARTER/Startdrive screen or acyclic
communication for configuring the operating mode in the SINAMICS drive. For the
axis dynamics, the SINAMICS drive uses the configuration for acceleration and
deceleration in the SINAMICS drive.
The velocity override is also active in this operating mode and is set via "OverV".
The operating conditions "CancelTraversing" and "IntermediateStop" are not
relevant for this operating mode and can be set to "1" by default.

Note "Jog1" and "Jog2" are the signal sources for jog mode in the Epos. The direction
of the incremental traversal movement of each signal source is configured in the
SINAMICS drive and, for incremental jogging, is set to 1000LU (length units) in
each case.

In jog mode, the direction of movement depends on the programmed path setpoint.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 53
2 Engineering

The inputs "Positive" and "Negative" are not relevant for this operating mode and
can be set to "0" by default.
With "EPosZSW1 / EPosZSW2" it is possible to track the current status of the
running command (see the Appendix for details on the value assignment of the
status words). The block shows the command running with "AxisEnabled" and
acknowledges the termination of the jog function ("Jog1" or "Jog2" = 0) when the
axis is stationary with the bit "AxisPosOk". If an error occurs during the traversal
movement, the output signal "Error" will be set.

Note The running command can be replaced on the fly by a new command via "Jog1"
or "Jog2". This is only possible while remaining in one of the two jog operating
modes.

SIMIT
The operating mode "Jog incremental" enables position-controlled, distance-
dependent movement of axes via the integrated position control of the behavior
model "EPOS_Tel111".

Procedure
Proceed as follows to execute the "Jog incremental" function:
© Siemens AG 2021 All rights reserved

1. Assign parameters to the following values (SIMIT is offline):


– DefaultIncrement = 1200.0 (1)
– DefaultSpeed = 36.0 (2)
– DefaultAcc = 0.3 (3)
– DefaultDec = 0.36 (4)
2. Restart the SIMIT simulation (see chapter 2.3.1).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 54
2 Engineering

3. Open the operating window of the behavior model "EPOS_Tel111".


© Siemens AG 2021 All rights reserved

4. The parameterization on the behavior model "EPOS_Tel111" from Step 1 is


displayed in the operating window (1).
5. Set the switch "Show processed set" (2) in the operating window.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 55
2 Engineering

6. Select the "Jog" menu item (1).


7. Enter the value "8" in the "ModePos" field (2).
8. Switch on the device via "EnableAxis" (3).
© Siemens AG 2021 All rights reserved

9. "JOG 2" (1) starts the movement in the positive direction.


The velocity value thus becomes positive.
When "JOG 2" is deactivated, the movement is stopped with the set
deceleration and the stop position is adopted as the target position.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 56
2 Engineering

10. After activating "JOG 2", the parameter "DefaultIncrement" is added to the
current position to define the target position.
Disabling "JOG 2" after the braking point no longer affects the target position
because the deceleration remains active.
© Siemens AG 2021 All rights reserved

11. "JOG 1" (1) starts the movement in the negative direction.
The velocity value thus becomes negative.
When "JOG 1" is deactivated, the movement is stopped with the set
deceleration and the stop position is adopted as the target position.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 57
2 Engineering

12. After activating "JOG 1", the parameter "DefaultIncrement" is subtracted from
the current position to define the target position.
Disabling "JOG 1" after the braking point no longer affects the target position
as the deceleration remains active.
© Siemens AG 2021 All rights reserved

13. The "PosOk" display indicates that the axis is stationary and that the jog
function has ended.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 58
2 Engineering

2.3.3.9 Homing on the fly

The "Homing on the fly" operating mode (passive homing) is implemented with the
"Homing" drive function and is subordinate to most operating modes. It facilitates
homing of the SINAMICS while in operation.

Requirements
• The "FlyRef" input is set to "1".
• Neither "ModePos" = 4 (homing movement) nor 5 (set home position) is
selected.

Sequence
The settings/requirements of the active operating mode apply. Homing on the fly
can be selected or deselected at any time. Upon reaching the programmed homing
sensor, the setpoint and actual value are edited on the fly.

SIMIT
The "Homing on the fly" mode of operation allows the drive to be homed during
operation.

Procedure
Proceed as follows to execute the function "Homing on the fly":
© Siemens AG 2021 All rights reserved

1. Assign parameters to the following values (SIMIT is offline):


– FollowingErrorDistance = 0.1 (1)
2. Restart the SIMIT simulation (see chapter 2.3.1).

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 59
2 Engineering

1. Select the "Positioning" menu item (1).


2. Enter "1" for the "ModePos" field (2).
3. Switch on the device via "EnableAxis" (3).
4. Enable the "Homing on the fly" function via "FlyRef" (4).
© Siemens AG 2021 All rights reserved

5. Enter the travel path using the following input fields:


– Velocity = 1.000 LU/Min. (1)
– Position = 6.000 LU (2)

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 60
2 Engineering

6. Select the menu item "Override" (1) to set the dynamics using the following
input fields:
– Speed override = 100% (2)
– Acceleration override = 1% (3)
– Delay override = 1% (4)
© Siemens AG 2021 All rights reserved

7. Click on "ExecuteMode" (1) to start running the relative movement you have
programmed.

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 61
2 Engineering

8. "ActPosition" (1) displays the current position. The "PosOk" display indicates
that the home position has been reached and that the axis is stationary.
9. The "Ref" display (2) indicates that the axis has been homed (referenced).
In this example, ReferencePosition has the value 5.000 and was crossed on
the way to position 6.000.

2
1
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 62
2 Engineering

2.3.4 Operation using the watch table

You can use the application example even without the HMI. For this purpose, the
watch tables "Control_TO_BasicPos" and "Control_SinaInfeed" have already been
created in the project. The tags that you can observe or modify are the same ones
that are also displayed on the operator device.
To modify the tags via the watch table, proceed as follows:
1. Select the tag you wish to modify by ticking the control checkbox in the column
next to the "Modify value" column.
2. Specify a value in the "Modify value" column.
3. Select the "Modify now" command to immediately modify the selected tag once
with the specified values.

Figure 2-13: Watch table "Control_TO_BasicPos"


© Siemens AG 2021 All rights reserved

Figure 2-14: Watch table "Control_SinaInfeed"

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 63
2 Engineering

2.3.5 Diagnostics with technology module "TO_BasicPos"

Using the technology object diagnostics, it is possible to check the following signals
and values during the runtime:
• Diagnostic data from the Basic Positioner
• Binary signals of the inputs and outputs
• Status SinaPos
Figure 2-15
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 64
3 Useful information

3 Useful information
3.1 Telegram 701 (Control/Status block)
For telegram 701, the interface blocks "LDrvSafe_SinaTlg701Control" and
"LDrvSafe_SinaTlg701Status" have been added to the control program from the
"Failsafe library LDrvSafe for controlling Safety Integrated Functions of the
SINAMICS drive family". Using these interface blocks, it is possible to access all
control and status signals of telegram 701 and to interconnect them in your own
program as needed. Further information can be found in the documentation for the
LDrvSafe library at \6\.

3.2 Telegram 902 (Control/Status block)


For telegram 902, the interface blocks "LDrvSafe_SinaTlg902Control" and
"LDrvSafe_SinaTlg902Status" have been added to the control program from the
"Failsafe library LDrvSafe for controlling Safety Integrated Functions of the
SINAMICS drive family". Using these interface blocks, it is possible to access all
control and status signals of telegram 902 and to interconnect them in your own
program as needed. Further information can be found in the documentation for the
LDrvSafe library at \6\.
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 65
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:
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:
support.industry.siemens.com/cs/my/src
© Siemens AG 2021 All rights reserved

SITRAIN – Digital Industry Academy


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:
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:
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 iOS and Android:
support.industry.siemens.com/cs/ww/en/sc/2067

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 66
4 Appendix

4.2 Industry Mall

The Siemens Industry Mall is the platform on which the entire siemens Industry
product portfolio is accessible. From the selection of products to the order and the
delivery tracking, the Industry Mall enables the complete purchasing processing –
directly and independently of time and location:
mall.industry.siemens.com

4.3 Links and literature


Table 4-1
No. Subject
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
© Siemens AG 2021 All rights reserved

\2\ Link to the article page of the 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\ SINAMICS S: EPos calculation with Startdrive and activation with SINA_POS
https://support.industry.siemens.com/cs/ww/en/view/98961635
\5\ SINAMICS communication blocks DriveLib for reading and writing drive data within
TIA Portal Context
https://support.industry.siemens.com/cs/ww/en/view/109475044
\6\ SINAMICS LDrVSafe
https://support.industry.siemens.com/cs/ww/en/view/109485794
\7\ SINAMICS S120 Function Manual Drive Functions
https://support.industry.siemens.com/cs/ww/en/view/109754299
\8\ SINAMICS S120 Safety Integrated
https://support.industry.siemens.com/cs/ww/en/view/109760403
\9\ DRIVES Behavior Library for SIMIT
https://support.industry.siemens.com/cs/ww/en/view/109761007
\10\ Basic Positioner Function Manual
https://support.industry.siemens.com/cs/ww/en/view/109757593
\11\ SINAMICS S120/S150 compact manual
https://support.industry.siemens.com/cs/ww/en/view/109781807

4.4 Abbreviations
PZD Process data
PLC Programmable logic controller
TO Technology object

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 67
4 Appendix

4.5 Change documentation


Table 4-2
Version Date Change
V1.0 11/2021 First edition
© Siemens AG 2021 All rights reserved

Drive simulation of a SINAMICS S120 via Basic Positioner


Entry-ID: 109761007, V1.0, 11/2021 68

You might also like