Professional Documents
Culture Documents
Basic
User Documentation
Siemens
SINAMICS DriveSim Basic / V1.0.5 / FMU Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109798225 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.
We have reviewed the contents of this publication to ensure consistency with the hardware and
software described. Since variance cannot be precluded entirely, we cannot guarantee full
consistency. However, the information in this publication is reviewed regularly and any necessary
corrections are included in subsequent editions.
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
© Siemens AG 2022 All rights reserved
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
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.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree
of danger will be used. A notice warning of injury to persons with a safety alert symbol may also
include a warning relating to property damage.
Qualified Personnel
© Siemens AG 2022 All rights reserved
The product/system described in this documentation may be operated only by personnel qualified
for the specific task in accordance with the relevant documentation, in particular its warning
notices and safety instructions. Qualified personnel are those who, based on their training and
experience, are capable of identifying risks and avoiding potential hazards when working with
these products/systems.
WARNING
Siemens products may only be used for the applications described in the catalog and in the
relevant technical documentation. If products and components from other manufacturers are
used, these must be recommended or approved by Siemens. Proper transport, storage,
installation, assembly, commissioning, operation and maintenance are required to ensure that
the products operate safely and without any problems. The permissible ambient conditions
must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in
this publication may be trademarks whose use by third parties for their own purposes could violate
the rights of the owner.
Table of contents
Legal information ......................................................................................................... 2
1 Fundamental safety instructions ..................................................................... 9
1.1 General safety instructions ................................................................... 9
1.2 Warranty and liability for application examples .................................... 9
1.3 Security information .............................................................................. 9
2 Introduction ...................................................................................................... 10
3 Functionality .................................................................................................... 12
3.1 Overview............................................................................................. 12
3.2 Feature set ......................................................................................... 14
3.2.1 PROFIdrive ......................................................................................... 14
3.2.2 Sequence control ............................................................................... 14
3.2.3 Setpoint channel ................................................................................. 15
3.2.4 Dynamic servo control (DSC) ............................................................. 16
3.2.5 Encoder Evaluation ............................................................................ 17
3.2.6 Speed control ..................................................................................... 18
3.2.7 Current setpoint filter .......................................................................... 19
3.2.8 Closed current control loop ................................................................ 19
3.2.9 Internal load ........................................................................................ 20
4 Parameterization .............................................................................................. 22
© Siemens AG 2022 All rights reserved
WARNING
Danger to life if the safety instructions and residual risks are not observed
If the safety instructions and residual risks in the associated hardware documentation are not
observed, accidents involving severe injuries or death can occur.
• Observe the safety instructions given in the hardware documentation.
• Consider the residual risks for the risk evaluation
WARNING
Malfunctions of the machine as a result of incorrect or changed parameter settings
As a result of incorrect or changed parameterization, machines can malfunction, which in turn
can lead to injuries or death.
• Protect the parameterization against unauthorized access.
• Handle possible malfunctions by taking suitable measures, e.g. emergency stop or
emergency off
WARNING
Unsafe operating states resulting from software manipulation
Software manipulations, e.g. viruses, Trojans, or worms, can cause unsafe operating states in
your system that may lead to death, serious injury, and property damage.
• Keep the software up to date.
• Incorporate the automation and drive components into a holistic, state-of-the-art
industrial security concept for the installation or machine.
• Make sure that you include all installed products into the holistic industrial security
concept.
• Protect files stored on exchangeable storage media from malicious software by with
suitable protection measures, e.g. virus scanners.
• On completion of commissioning, check all security-related settings.
2 Introduction
SINAMICS DriveSim Basic is a model of the SINAMICS Drive. The motor axis control types
for Drive Objects SERVO and VECTOR are integrated. It implements a specific feature
subset of the drive. It is valid for the following devices and firmware versions:
• VECTOR
• G110M (CU240M), G115D, G120 - (CU230P-2, CU240B-2, CU240E-2,
CU250S-2), G120C >= V4.7 SP13
• G120X >= V1.03.00
• G130/G150 >= V5.2 SP3,
• SERVO
• S210 >= V5.2 SP3
• S110 >= V4.4 SP3
• V90 >= V1.04.03
• SERVO / VECTOR
• S120/S150 >= V5.2 SP3
The model is available as a standardized FMU model (Functional Mockup Unit) and is
compatible with many standard time-based simulation programs (such as SIMIT, Simcenter
Amesim, NX Motion or Matlab Simulink). Together with other virtual SIEMENS solutions (e.g.
SIMATIC S7-PLCSIM Advanced or NX Mechatronics Concept Designer), a consistent
model-based development process can be implemented.
With SINAMICS DriveSim Basic, drive constellations in machines and systems can be
specifically simulated, adjusted, and optimized even before a specific product selection has
been made. The application focus of the model lies on the drive environment, supporting the
customer application. It provides a reliable representation of the drive system in the
necessary level of detail for virtually commissioning a PLC with known PROFIdrive telegrams
or complex mechanics on the virtual drive shaft. It supports the dimensioning process of the
drive before defining a specific Control Unit by providing load profiles for import into SIZER
for Siemens Drives or TIA Selection Tool.
The following function groups of the SINAMICS drives are implemented:
• PROFIdrive communication,
• sequence controller,
• ramp function generator,
• encoder evaluation,
• speed control including reference model and torque limiting,
• position control via dynamic servo control (DSC) and
• two current setpoint Band-stop filter with defined reduction.
Additionally, it includes a simplified motor model and an optional internal mechanical
feedback loop.
The communication interface to the PLC is implemented via the cyclic telegram content of
process data words. It is suitable for basic drive functions; those correspond to the
application classes AC1 (Standard Drive) and AC4 (Motion Control with central interpolation
and speed setpoint interface) \1\.
With SINAMICS DriveSim Basic together with, for example, the PLC technology object
„Speed Axis”, it is possible to realize a drive system quickly and easily in a FMU supporting
simulation tool. For example, it is easy to switch between telegrams and stub drive
3 Functionality
3.1 Overview
SINAMICS DriveSim Basic is a model of a SINAMICS drive, which represents a specific
functional scope of its control core. The implemented function charts based on the
SINAMICS List Manual \2\. The below figure shows the structure of the model, where:
• n_act represents the inputs n_act_1, x_act_1, x_act_2 and n_set_ext
• n_set represents n_ctrl_n_set, n_set_before_filter and n_set_after_filter.
connect. r-BUS I/O FUP G(z)
n_int_load
mismatch
Internal Load
3.2.1 PROFIdrive
The communication of a SERVO axis to the superior control with PROFIdrive telegram
content 1, 2, 3, 4, 5, 6, 102, 103, 105 and 106 is available. The communication of a
VECTOR axis to the superior control with PROFIdrive telegram content 1, 2, 3, 4, 20, and
352 is available. For both DOs the supplementary telegram 750 is available.
The assignment to the PROFIdrive signals corresponds to the function plan 2415 ff. (refer
7.8.2).
The sequence control implements the states corresponding to the function plan 2610 of the
drive.
The box marked green shows an additional condition to get in state “S4: Operation”, which is
only active with configured encoder one, but missing in the original SINAMICS
documentation. “Encoder ready” contains the condition that encoder 1 is not parking or is in
error. It is also assumed that the DC link is always loaded and that the infeed ready bit
p0864 is statically set to one.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2610_54_eng.vsd Function diagram
- 2610 -
Sequence control - Sequencer 20.02.18 V05.02.03 S120/S150/G130/G150
[3030] Main/supplementary setpoint, setpoint [3040] Direction limitation [3050] Skip (suppression) bandwidth
[3020] Motorized scaling, jogging and direction reversal and speed limiting
potentiometer r1119
n_set_4 p1155
DSC T_SYMM Balancing [5030.1] 0 + n_ctrl setp sum
p1195
r1170
+
1 + [1590.1]
p1160 [1700.1]
[3060] Basic ramp-function
NSOLL_B Spline-Interpolation n_pre_control generator r1438
p1430 [5020.1]
+
p1191 Dynamic –
setpoint limit ZSW r1199 n_act
x,y x Kp 2a x
y + n_set from DSC
DSC_XERR [5020.1] Ramp-function
p1190 generator M_limit
+ + [5030.1]
+ – tracking
t
– 2a x
Interpolator [3070] Expanded
DSC position
controller ramp-function generator
[3080] Ramp-function generator selection,
Deadtime element
from status word, tracking
PROFIdrive
x_act Simulate ramp-function generator
<1>
[3090] Dynamic Servo Control (DSC) linear and DSC spline (r0108.6 = 1)
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_3001_51_eng.vsd Function diagram
- 3001 -
Setpoint channel - Overview 14.05.20 V05.02.03 SINAMICS
Dynamic servo control is implemented according to the function diagram FP3090. The
“Higher-level motion controller” must be realized in the simulation tool or a virtual PLC model.
Higher-level motion control SINAMICS PROFIdrive sampling time p0115[1] (Drive Object)
[2522.1]
DSC_STW p1191 > 0 (connected)
Motion Control p1194
[2522.1]
n_set from DSC
& r1407.4
DSC T_SYMM
Path p1195
DSC T_SYMM_ADD
p1427(DDS) 1
Interpolation 1
n_cmd Speed pre-control <8>
Balancing 0
p1430 1 0
Spline torque
0 pre-control on
Offset and + DSC KPC
Compensation x_cmd r1407.22
p1191 Spline-Interpolation 1
1 n_prectrl
+ + <4>
spline
x XERR
S&H DSC XERR 0
– 0
Position actual value T_MAPC SET {1} p1190 DSC x_set
generation r1196 Spline speed
Master Application Cycle-Time <6> pre-control
r1407.21 Speed pre-control
Encoder signals acc. telegram Application clock-cycle
[2415], [2416] and [2419] synchronous (at PROFIdrive) Dynamic setpoint limit
+ 1 x,y x 2a x
Enc G1_XIST1 <5> Kp <7>
y +
r0482[0] x n_set from DSC
<4>
Enc G2_XIST1 + 0 + + [5020.1]
r0482[1] Dir of rot –
DSC enc selection t [5030.3]
Enc G3_XIST1 p1192
p1821[D]
Spline- – 2a x
Interpolator DSC position
r0482[2] Invert position act value DSC encod PROFIdrive Interpolation
From motor p0410.1[E] Transmission Speed controller sampling time controller
AdaptFact DSC on
Diag G1_XIST1 encoder <2> <10> p1193 (1) Delay r1407.20 T_SAPC
1 <3>
r0479[0]
Diag G2_XIST1 <9> 0 0 SET
x y Slave Application cycle-time <8>
With active symmetrization
2
r0479[1] S&H (T_SYMM > 0), the speed
-1 1 -1 1 {2} feedforward value is balanced
Diag G3_XIST1
3 SET using the sum of the following time
r0479[2] <4> {3} x y Fast position
Position actual value from
S &H constants:
<1> actual value channel T_SYMM (refer to p1195) +
encoder 1, 2, 3 [4704.8]
T_SYMM_ADD (p1427) + 0.5 *
<1> Principle of operation of Dynamic Servo Control (DSC): The feedback branch {2} completely <3> The deadtime for the PROFIdrive data transfer is set automatically. T_Speed controller (p0115[1]).
compensates the feedback coupling branch {1} in respect of the position actual value sent from the <4> The position deviation must be referred to the increments of the motor <9> It is actualised with every DRIVE-
drive. The fast actual value channel {3} allows for a high dynamic performance and high Kv factors. including the fine resolution. CLiQ base tact.
<2> For the motor encoder (p1192 = 1) p1193 = 1 is effective. <5> Normalization of KPC: If signal x = 1 motor revolution and <10> Not for drive object ENC.
When using encoder 2 or 3 (p1192 = 2, 3), p1193 corresponds to the "Increments per motor encoder KPC = 1, then "n_set from DSC" = 0.001 motor revolutions/s. <101> To view the pre-assignment of the
revolution/increments of the encoder selected (2, 3) during one motor rotation" (considering gear <6> Clock-synchronous operation must be active for DSC. sampling times in p0115, refer to
ratios and also different encoder lines and fine resolutions). <7> Only for p1400.17 = 1 and at limitation becomes p1407.19 = 1. p0112.
1 2 3 4 5 6 7 8
DO: SERVO fp_3090_01_eng.vsd Function diagram
- 3090 -
Setpoint channel - Dynamic Servo Control (DSC) linear and DSC spline (r0108.6 = 1) 11.02.16 V05.02.03 SINAMICS S120
The encoder evaluation implements the encoder sequence controller and the reference mark
search according to the function plan 4704 shown below.
<1> Configuration, absolute value encoder
Enco- Sensor Control Unit Encoder pulse number PROFIdrive sampling time
ders Modules Encoder type selection Enc Enc Enc (number of signals periods per Abs enc. Abs enc. Abs enc.
<11>
0 = No encoder configuration squarewave A/B grid division track and encoder revolution) Multiturn Meas. Step Singleturn Enc rot clearance NM
p0400[E] p0404[E] p0405[E] p0407[E] p0408[E] p0421[E] p0422[E] p0423[E] p0425[E] The encoder data set
[E] changeover is shown
Enc_interface <3> <3> <3> <3> <3> <3> at [8570].
Comp_No. To speed
p0141[E] sensing
Measuring gearbox, [4710.1]
Encoder <4> Enc fine
activate position tracking 1 2
Comp_No. Gx_XIST1
p0411.0[E] 1 2
p0142[E] Incr A p0418[E] 2n
No. of signal
DRIVE-CLiQ periods
B A
0 u Diag Gn_XIST1
<10>
SMx x2n p 31 n n-1 0 r0479[n-1]
dn III
1 Invert position act value Dir of rot
2n [3090.1]
<8> A Multiplication p0410.1[E] p1821[D] [4710.1]
B 32 bits Fine resolution
by hardware [4711.1]
SM characteristics p0412[E] sin/cos (multiplication by
Free-running position <11>
r0458 and hardware) <2> <6> <12>
B 1 signal period counter 0 0 Enc Gn_XIST1
p0432[E]/ 232 -1
p0433[E] r0482[n-1]
-1 1 -1 1
[3090.1], [4010.1],
1 signal period Load gear, activate position tracking 0 <5> [4735.6], [4740.6]
p2720.0[D]
For SSI encoders: Absolute position information
<9> <11>
<9> <11> <2> <7> <9> <12>
Sequence control 0 Load gear abs_val
0
r2723[n-1]
& -1 1
[4010.1]
1
Enc fine
Gx_XIST2
p0419[E] Dir of rot
p2721[D] p1821[D]
and [4735.7]
p2504[D]/p2505[D] <11> <2> <7> <12>
x2n 0 Enc Gn_XIST2
(only for absolute value encoders,
r0483[n-1]
e.g. EQN) Encoder error -1 1
[4010.1]
processing
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_4704_55_eng.vsd Function diagram
- 4704 -
Encoder evaluation - Position and temperature sensing, encoders 1 22.08.18 V05.02.03 SINAMICS S120/S150
Figure 3-5 Position and temperature sensing, function plan 4704
The speed controller is implemented according to the SERVO FP 5040, additionally the
limitation of the torque (FP 5630: 7.8.41) and the rotation speed (FP 5030: 7.8.35) is
implemented.
The implementation of the VECTOR speed controller (FP 6040: 7.8.47) is basically identical,
except that the VECTOR control loop works with normalized values. E.g. Kp is in p.u. and it
is calculated as follows (for the description of the parameters see 4.2):
𝑟0333 ∙ 60 2 ∙ 𝑝2003 ∙ 60
𝐾𝑝𝑉𝑒𝑐𝑡𝑜𝑟 = 𝑝1460 ∙ = 𝑝1460 ∙
𝑝0311 ∙ 2 ∙ 𝜋 𝑝2000 ∙ 2 ∙ 𝜋
Additionally, the controller sample times (p0112/ p0115) are differing.
n_ctrl n_set n_ctrl Kp n lower n_ctrl Tn n lower p0115[1] (125.00 µs)
r1438 0.000...999 999.000 [Nms/rad] 0.00...100 000.00 [ms]
p3700.0 p1460[D] (0.300) p1462[D] (20.00)
APC s_Dif M_set
r3769 <1>
n_act smooth 1 Kp_n_basic
r0063 [5040.7] To Kp/Tn adaptation
0 [5050.2]
+ 0 From Kp/Tn adaptation
1 [5050.7]
–
p3702 1 = Kp/Tn adaptation active 1 0 1 0
p1400.5
APC n_load smth + [5490.7]
r3771[0] n_ctrl Kp eff
+ r1468
r0108.7 = 1 0 1 n_ctrl Kp adapt %
p3700.8 = 1 & r1484
Kp
r3771[1] + n_ctrl P-M_output
fn_d D_d
p1447[D] p1448[D] r1481
n_ctrl sys dev <3>
p1413.1 –
p1446[D] r0064 n_ctrl Tn eff
|y| r1469
0 <4> n_ctrl PI-M_output
D n_act smooth To torque
x y 1 n_ctrl integ_fdbk T + (M_set_1)
r1445 setpoint input
p1494 r1480 [5060.2]
fn 1
f 2 TF Tn + <3>
n_set I_comp Kp
Speed active filter <2> PT2 low pass r1439
– n_ctrl I-M_output
fn_n D_n
p1449[D] p1450[D] r1482
+ Set +
n_ctrl sys dev Tn + <2> <3>
Hold Set Val
r1454
|y|
Enable speed controller from
x y Speed
sequence control S4: Operation
n_ctrl integ stop controller
f
2nd Order Filter p1476[C]
(0)
n_ctrl integ set Uq at the limit of the ZSW current control
fn_d D_d p1477[C] r1408.5 [2530.7]
1447[D] p1448[D] (0) Integrator
n_ctrl integ_setVal control Torque limit reached
p1478[C] r1407.7 [2522.7]
(0)
Speed controller, I component held
<1> For p1462 = 0.0, the I component is disabled (integral time ).
r1407.5 [2522.3]
<2> For torque control, the I component is set to the value of r1515 (total supplementary torque).
<3> This parameter is set to 0 when pulses are canceled. Speed controller, I component set
<4> The integrator of the speed controller is re-parameterized to become a PT1 filter through a feedback element (p1494). r1407.6 [2522.3]
1 2 3 4 5 6 7 8
DO: SERVO fp_5040_01_eng.vsd Function diagram
- 5040 -
Servo control - Speed controller with encoder 26.07.13 V05.02.03 SINAMICS S120
Current setpoint filter 1 and filer 2 are implemented according to SERVO FP 5710 refer
7.8.44 (in this identical with VECTOR FP 6710).
M_set FG
r1651 p0115[0] (125.00 µs)
<2> <1>
f f f f
<1> The data transfer time with parameter change can be set (p1699).
Monitoring
<2> or input SBT test torque [2836.8] (only if r10231.0 = 1).
1 2 3 4 5 6 7 8
DO: SERVO fp_5710_01_eng.vsd Function diagram
- 5710 -
Servo control - Current setpoint filter 1 04.11.19 V05.02.03 SINAMICS S120
The optimal setup current controller and the motor model are combined to a PT2 transfer
function. The bandwidth is fixed to the current controller sample rate p0115[0].
The calculation is done automatically, as shown in the following picture:
Figure 3-9 Bode plot closed current control loop with example p0115[0] = 125µs,
bandwidth about 1000 Hz
This optional internal load offers the user the possibility to close the loop within the model.
That allows use cases, where the simulation tool doesn’t offer minimum step times which
would be needed to simulate an external loop properly (see 6.3).
Depending on the activation of the speed controller the internal load model is a direct feed
through speed setpoint, a total inertia or a two-mass-oscillator.
φ1 φ2
c
Mair gap
+
-
-
klin ksqr
d
2
u
. Jmotor
φ1 Jload
Figure 3-10 Principal chart internal two-mass-oscillator
To satisfy the Nyquist-Shannon theorem the internal load is sampled at a fixed rate of
31.25 µs, i.e., at least twice the fastest current controller sample rate of 62.5 µs.
4 Parameterization
The SINAMICS DriveSim Basic model is setup via the user parameters. These parameters
are split into three groups: config parameters, SINAMICS parameters and variables.
Changes in these parameters are only considered during initialization. The available user
parameter settings are pre-assigned with default factory settings according to the List
Manual, SINAMICS S120/S150, Siemens AG,06/2020 \2\ with minor exceptions (e.g.
p0922 = 1).
Parameter set
Internal Load
Motor p0307 V Mot P_rated Rated motor power 37 kW -100000.. Speed Controller
100000
p0311 V Mot n_rated Rated motor speed 1500 rpm 0..210000 Speed Controller
p0341 S, V Mot m inert Motor moment of inertia 0 kgm² 0..1e11 Speed Controller
Encoder p0400 S, V Enc type sel Encoder type selection [0,0] - See 4.2.3 -
[0..1]
PROFIdrive p0922 S, V IF1 PZD Telegr Set up the send and receive 1 - S, V: 1..6 Sequence Control
telegram S: 102,
103, 105,
106
V: 20, 352
p8864 S, V IF1 Pd 1. sup_tel IF1 PROFIdrive first supplementary 0 - 0, 750 Sequence Control
telegram selection
Setpoint p1082 S, V n_max Set up the maximum speed 1500 rpm 0..210000 Setpoint Channel
Channel
p1120 S, V RFG ramp-up Set up the ramp-up time of the ramp 1 s 0..999999 Setpoint Channel
time function generator
p1121 S, V RFG ramp-down Set up the ramp-down time of the 1 s 0..999999 Setpoint Channel
time ramp function generator
p1148 S, V RFG tol HL/RL Set up the tolerance of the state of 19,8 rpm 0..1000 Setpoint Channel
act the ramp function generator
(speedup positive, speedup
negative)
Closed-loop p1433 S, V n_ctrl RefMod fn Speed controller reference model 0 Hz 0..8000 Speed Controller
control natural frequency
p1434 S, V n_ctrl RefMod D Speed controller reference model 1 - 0..5 Speed Controller
damping
p1460 S, V n_ctrl Kp n lower Sets the P gain of the speed 0.3 Nms/rad 0 ..500000 Speed Controller
controller before the adaptation 000
speed range.
p1462 S, V n_ctrl Tn n lower Sets the integration time of the 20 ms 0 ..100000 Speed Controller
speed controller before the
adaptation speed range
p1496 V a_prectrl scal Acceleration precontrol scaling 0 0..10000 Speed Controller
p1520 S, V M_max upper/mot Sets the fixed upper torque limit or 20000000* Nm - Speed Controller
the torque limit when motoring 1000000 ..
20000000
p1521 S, V M_max lower/reg Sets the fixed lower torque limit or -20000000* Nm - Speed Controller
the torque limit when regenerating. 20000000 .
.1000000
p1530 S P_max mot Power limit motoring 100000* kW 0..100000 Speed Controller
p1531 S P_max reg Power limit regenerative -100000* kW -0,1..- Speed Controller
100000
Closed-loop p1656 S, V I_soll_filt Akt Activates current setpoint filter 0 0..3 Speed Controller
control Filter
p1658 S, V Filt 1 v_reg fn_n Current setpoint filter 1 denominator 1999 Hz 0.5..16000 Speed Controller
natural frequency
p1659 S, V I_soll_filt 1 D_n Current setpoint filter 1 denominator 0.7 0.001..10 Speed Controller
damping
p1660 S, V I_soll_filt 1 fn_z Current setpoint filter 1 numerator 1999 Hz 0.5..16000 Speed Controller
natural frequency
p1661 S, V I_soll_filt 1 D_z Current setpoint filter 1 numerator 0.7 0..10 Speed Controller
damping
p1663 S, V Filt 2 v_reg fn_n Current setpoint filter 2 denominator 1999 Hz 0.5..16000 Speed Controller
natural frequency
p1664 S, V I_soll_filt 2 D_n Current setpoint filter 2 denominator 0.7 0.001..10 Speed Controller
damping
p1665 S, V I_soll_filt 2 fn_z Current setpoint filter 2 numerator 1999 Hz 0.5..16000 Speed Controller
natural frequency
p1666 S, V I_soll_filt 2 D_z Current setpoint filter 2 numerator 0.7 0..10 Speed Controller
damping
Reference p2000 S, V n_ref Set up the reference speed 3000 rpm 6..210000 -
Values
Commu- p2048 S, V IF1 PZD t_sample Set up the PROFIdrive Signal 4* ms 1..16 -
nication sampling time for the cyclic
interface.
The min. sampling time is limited by
double the step time of the model
When connecting to a higher-level
controller, it must be set equal to the
PROFIdrive cycle time (Tdp).
The following table shows the parameters that have additional / derived functionalities to those described in the List Manual.
Table 4-3 Parameters with additional / derived functionalities
Group Par. Number DO Par. name Additional functionality / deviation
Commissioning p0112 V t_samp for p0115 Sampling times pre-setting 0 … activates default sample times for G120 (see 4.2.4)
p0115
Motor r0333 V Mot_M_rated Rated motor torque Calculated from 𝑟0333 = 9549,3 ∙ 𝑝0307⁄𝑝0311
p0341 S, Mot m inert Motor moment of inertia 0 … deactivates acceleration model
V
Encoder p0400_x S, Enc type sel Encoder type selection 0 … deactivates encoder evaluation
V
Closed-loop control p1433 S, n_ctrl RefMod fn Speed controller reference 0 … deactivates reference model
V model natural frequency
p1498 S Load m_inert Load moment of inertia 0 … activates acceleration model
Reference Values r2004 V P_ref Reference power Calculated from r0333 * p2000 * 2*pi/60 (conversion to W) /
1000 (conversion to kW)
Table 4-4 below, shows the devices which can be represented with SINAMICS DriveSim Basic as well as the allowed parameters. In
general, S120/S150 reflects the full feature set of SINAMICS DriveSim Basic, which is represented by a "✓", while a number marks
that only that number is valid to represent the behavior of a different device.
For example, the S210 can only have a communication sample time (p2048) of 4ms. Another parametrization for p2048 would not
represent the S210 but a S110 or S120 depending on the other parameters.
Consider S210 has fixed encoders, p0400 and p0418 depend on the MLFB of the motor (p0418 = encoder bit resolution -11).
Table 4-4 Range of validity of SINAMICS parameters (✓ … limit is given in the manual of the device)
Par. number
Par. name
Group
units
S110
S120
S210
V90
Commissioning p0112 t_samp for p0115 12 ✓ 4 1
Motor p0341 Mot m inert kgm² ✓ ✓ ✓3
Encoder p0400 Enc type sel ✓ ✓ ✓ 0
p0418 Enc fine Gx_XIST1 bits 2-18 ✓ 9-154 0
p0419 Enc fine Gx_XIST2 bits 2-18 ✓ 0 0
PROFIdrive p0922 IF1 PZD Telegr 1-4, 1-6, 3, 5, 1,2,3,5,
102, 102, 102, 102,
103 103, 105 105
105,
106
p8864 IF1 Pd 1. sup_tel ✓ ✓
Setpoint-Channel p1082 n_max rpm ✓ ✓ ✓ ✓
p1120 RFG ramp-up time s ✓ ✓ 0 ✓
p1121 RFG ramp-down time s ✓ ✓ ✓ ✓
p1148 RFG tol HL/RL act rpm ✓ ✓ 19.8 19.8
Table 4-5 below, shows the devices which can be represented with SINAMICS DriveSim Basic as well as the allowed parameters. In
general, S120/S150 reflects the full feature set of SINAMICS DriveSim Basic, which is represented by a "✓", while a number marks
that only that number is valid to represent the behavior of a different device.
For example, the G120 CU240E-2 can only have telegram 1. Another parametrization for p0922 would not represent the G120
CU240E-2 but a S110, S120/S150, G120 CU250S-2 or G130/G150 depending on the other parameters.
The SINAMICS parameters of the group Closed-Loop Control Filter are currently only supported by DriveSim Basic for the
SINAMICS S series.
Table 4-5 Range of validity of SINAMICS parameters (✓ … limit is given in the manual of the device)
CU240E-2), G120C,
G110M (CU240M),
G120 (CU250S-2)
G120D (CU240D)
G115D, G120
Par. Number
G130 / G150
S120 / S150
(CU230P-2,
CU240B-2,
Par. Name
G120X
Group
units
Commissioning p0112 t_samp for p0115 ✓ 0 0 0 ✓
Motor p0307 Mot P_rated kW ✓ 0..100000 0..100000 0..100000 ✓
p0311 Mot n_rated rpm ✓ ✓ ✓ ✓ ✓
p0341 Mot m_inert kgm² ✓ ✓ ✓ ✓ ✓
Encoder p0400 Enc type sel ✓ 0 ✓ ✓ ✓
p0418 Enc fine bits ✓ 0 2-18 2-18 0-187
Gx_XIST1
p0419 Enc fine bits ✓ 0 2-18 2-18 0-18
Gx_XIST2
PROFIdrive p0922 IF1 PZD Telegr 1-4, 20, 352 1, 20, 352 1-4, 20, 1, 20, 352 1-4, 20, 352
352
p8864 IF1 Pd 1. sup_tel ✓ ✓
Setpoint- p1082 n_max rpm ✓ ✓ ✓ ✓ ✓
Channel p1120 RFG ramp-up s ✓ ✓ ✓ ✓ ✓
time
p1121 RFG ramp-down s ✓ ✓ ✓ ✓ ✓
time
p1148 RFG tol HL/RL rpm ✓ ✓ ✓ ✓ ✓
act
Closed-Loop p14338 n_ctrl RefMod fn Hz ✓ 0 0 0 0
Control p1434 n_ctrl RefMod D ✓ 0 0 0 0
p1435 n_ctrRefMod ✓ 0 0 0 0
t_dead
p1460 n_ctrl Kp n lower Nms/ra ✓ 0 0 0 0
d
p1462 n_ctrl Tn n lower ms ✓ 0 0 0 0
p1496 a_prectrl scal ✓ ✓ ✓ ✓ ✓
p1520 M_max upper/mot Nm ✓ 0 0 0 0
p1521 M_max lower/reg Nm ✓ 0 0 0 0
p1530 P_max mot kW ✓ 0 0 0 0
p1531 P_max reg kW ✓ 0 0 0 0
Closed-Loop p1656 I_soll_filt Akt 0-3 0 0 0 0
Control Filter9 p1658 Filt 1 v_reg fn_n Hz ✓ 0 0 0 0
p1659 I_soll_filt 1 D_n ✓ 0 0 0 0
p1660 I_soll_filt 1 fn_z Hz ✓ 0 0 0 0
p1661 I_soll_filt 1 D_z ✓ 0 0 0 0
p1663 Filt 2 v_reg fn_n Hz ✓ 0 0 0 0
p1664 I_soll_filt 2 D_n ✓ 0 0 0 0
p1665 I_soll_filt 2 fn_z Hz ✓ 0 0 0 0
p1666 I_soll_filt 2 D_z ✓ 0 0 0 0
Reference p2000 n_ref rpm ✓ ✓ ✓ ✓ ✓
Values p20033 Reference_torque Nm ✓ ✓ ✓ ✓ ✓
Communication p2048 IF1 PZD t_sample ms ✓ 4 4 4 ✓
The table below shows the range for the SINAMICS parameter p0400 and thus
gives an overview of all selectable encoder types. Drives that do not support
encoders are not listed in the below table. Consider S210 has fixed encoders,
p0400 and p0418 depend on the MLFB of the motor (p0400 = the 14th character of
the motor MLFB).
Table 4-6 Range of validity for Encoder type selection (* … according to 14 th character of motor MLFB)
G120D (CU240D)
Encoder type
Encoder type
(Vector only)
(CU250S-2)
G130/G150
S120/S150
selection
S210*
G120
S110
0 No encoder ✓ ✓ ✓ ✓ ✓
202 DRIVE-CLiQ encoder AS20, singleturn ✓ ✓ ✓
204 DRIVE-CLiQ encoder AM20, multiturn 4096 ✓ ✓ ✓
222 DRIVE-CLiQ encoder AS22, singleturn ✓ S
224 DRIVE-CLiQ encoder AM22, multiturn 4096 ✓ M
242 DRIVE-CLiQ encoder AS24, singleturn ✓ ✓ ✓
244 DRIVE-CLiQ encoder AM24, multiturn 4096 ✓ ✓ ✓
© Siemens 2022 All rights reserved
the list manual of the drives. It specifies the clock cycles of the feature sets which
are specified in the right upper corner of the function plans. The behavior of the
model is significantly influence by this parameter, especially the speed control and
the current setpoint filter. The sampling times pre-setting is selected via parameter
p0112 are dependent on the device. The selectable times are shown in the
following table. A setting guidance and examples are given in the sections 6.3.2
and 6.3.3. The IOs are sampled in the corresponding time frame.
4.3 Variables
4.3.1 Internal Load
The variables are used to parametrize the internal two-mass oscillator system. A
description of these variables is given in the below table. See also 3.2.9
Activate internal load:
• set Config.SpeedController = 1 and Config.ExternalLoad = 0
• set c, D or Jload to zero to have a single drive or total inertia
• or define your system with variables as exemplified in the following table
TorsionalStiffness
The two-mass oscillator is defined with the following formula (for the calculation the
default values are used):
1 𝑐
Absorber frequency: 𝑓𝑎𝑏𝑠𝑜𝑟𝑏𝑒𝑟 = ⋅√ = 79,6 Hz
2⋅𝜋 𝐽𝑙𝑜𝑎𝑑
1 1 1
Resonance frequency: 𝑓𝑟𝑒𝑠𝑜𝑛𝑎𝑛𝑐𝑒 = ⋅ √𝑐 ⋅ ( + ) = 128 Hz
2⋅𝜋 𝐽𝑙𝑜𝑎𝑑 𝐽𝑚𝑜𝑡𝑜𝑟
𝑛 [min−1 ]
The transfer function is: 𝐺(𝑧) =
𝑀 [Nm]
The PT2 transfer behaver of the closed current control loop is included. The dashed
transfer function represents the frequency response to the internal load.
The variables are used to adjust a friction which is activated if one of the variables
Var.InternalLoad. BaseLoad_linear or Var.InternalLoad.BaseLoad_square is
unequal zero. A description of the behaviors and the calculation of friction is given
in 3.2.8.
Table 4-9 Variables - Two-mass oscillator system
Parameter name Description Symbol Default Unit
Var.InternalLoad. Base load for lineare Mlin 0 Nm
BaseLoad_linear characteristic
Var.InternalLoad. Base load for square Msqr 0 Nm
BaseLoad_square characteristic
Var.InternalLoad. Max. load speed nmax 3000 1/min
maxLoadSpeed
A variant to parameterize the filter is to use the parameters in the following table.
They are active if the config bit CurrentSetpointFilterPar is set to 0. The current
© Siemens 2022 All rights reserved
5 Interfaces
This chapter describes the interface definitions. They are shown in the table below. SINAMICS DriveSim Basic offers cyclic inputs and outputs. The
supported drive object (SERVO: S; VECTOR: V) are given below.
Table 5-1 Overview interfaces
Direction Group Signal Description DO Unit Range Datatype Sample time
Input PROFIdrive – STW1 Control word 1 S, V - - Uint16 PROFIdrive
standard sample time,
STW2 Control word 2 S, V - - Uint16
signals p2048
NSOLL_A Speed setpoint A S, V - - Int16
(16-bit)
NSOLL_B Speed setpoint B S, V - - Int32
(32-bit)
© Siemens 2022 All rights reserved
The signals the table Table 6-3 must be transferred in normalized form for a stand-
alone operation. A denormalization is required for NIST_A and NIST_B. In the
following table are given the formulas for calculation.
Table 5-2 formulas normalization
PD-Signal Normalization
NSOLL_A 𝑛𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑁𝑆𝑂𝐿𝐿_𝐴 =
𝑝2000
4000ℎ = 214
NSOLL_B 𝑛𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000 0000ℎ
𝑁𝑆𝑂𝐿𝐿_𝐵 =
𝑝2000
4000 0000ℎ = 230
MOMRED 𝑀𝑂𝑀𝑅𝐸𝐷𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀𝑂𝑀𝑅𝐸𝐷 =
𝑝1544
𝑝1544 = 100%
4000ℎ = 214
M_ADD1 𝑀_𝐴𝐷𝐷1𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀_𝐴𝐷𝐷1 =
𝑝2003
4000ℎ = 214
M_LIMIT_NEG 𝑀_𝐿𝐼𝑀𝐼𝑇_𝑁𝐸𝐺𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀_𝐿𝐼𝑀𝐼𝑇_𝑁𝐸𝐺 =
𝑝2003
4000ℎ = 214
M_LIMIT_POS 𝑀_𝐿𝐼𝑀𝐼𝑇_𝑃𝑂𝑆𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀_𝐿𝐼𝑀𝐼𝑇_𝑃𝑂𝑆 =
© Siemens 2022 All rights reserved
𝑝2003
4000ℎ = 214
Table 5-3 formulas denormalization
PD-Signal Denormalization
NIST_A / NIST_A ∙ 𝑝2000
𝑛𝑡𝑎𝑟𝑔𝑒𝑡 =
NIST_A_GLATT 4000ℎ
4000ℎ = 214
NIST_B NIST_B ∙ 𝑝2000
𝑛𝑡𝑎𝑟𝑔𝑒𝑡 =
4000 0000ℎ
4000 0000ℎ = 230
MIST_GLATT MIST_GLATT ∙ 𝑝2003
M𝑡𝑎𝑟𝑔𝑒𝑡 =
4000ℎ
4000ℎ = 214
PIST_GLATT PIST_GLATT ∙ 𝑝2003
P𝑡𝑎𝑟𝑔𝑒𝑡 =
4000ℎ
4000ℎ = 214
M_ACT M_ACT ∙ 𝑝2003
M_ACT𝑡𝑎𝑟𝑔𝑒𝑡 =
4000ℎ
4000ℎ = 214
The PLC controls the control unit’s states via control commands and control bits as
shown in the below table.
Table 5-6 Bits of control word 1 (Function plan 2442 7.8.10)
Signal Description Usage
STW1.0 0→1 = No OFF1 (enable pulses possible) Sequence control
0 = OFF1 (braking with ramp-function generator, then pulse
suppression & ready for switching on
STW1.1 1 = No OFF2 (enable is possible) Sequence control
0 = OFF 2 (immediate pulse suppression and switching on inhibited)
STW1.2 1 = No OFF3 (enable is possible) Sequence control
0 = OFF3 (braking with the OFF3 ramp p1135, then pulse suppression
and switching on inhibited)
STW1.3 1 = Enable operation (pulses can be enabled) Ramp function
0 = Inhibit operation (suppress pulses) generator
STW1.4 1 = Operating condition (the ramp-function generator can be enabled) Ramp function
0 = Inhibit ramp-function generator (set the ramp-function generator generator
output to zero)
STW1.5 1 = Continue ramp-function generator Ramp function
0 = Freeze ramp-function generator (freeze the ramp-function generator
generator output)
STW1.6 1 = Enable setpoint Sequence control
0 = Inhibit setpoint (set the ramp-function generator input to zero)
STW1.7 0→1 = Acknowledge faults Not supported
STW1.8 Reserved Not supported
STW1.9 Reserved Not supported
STW1.10 1 = Control via PLC Sequence control
STW1.11 1 = Setpoint inversion Not supported
STW1.12 1 = Unconditionally open the holding brake Not supported
STW1.13 1 = Motorized potentiometer setpoint raise Not supported
The PLC controls the control unit’s states via control commands and control bits as
shown in the below table.
Table 5-7 Bits of control word 2 Function plan 2444 7.8.11
Signal Description Usage
STW2.0 Drive data set selection DDS, bit 0 Not supported
STW2.1 Drive data set selection DDS, bit 1 Not supported
STW2.2 Drive data set selection DDS, bit 2 Not supported
STW2.3 Drive data set selection DDS, bit 3 Not supported
STW2.4 Drive data set selection DDS, bit 4 Not supported
STW2.5 Reserved Not supported
STW2.6 Reserved Not supported
STW2.7 1 = Parking axis Not supported
STW2.8 1 = Traverse to fixed end stop Not supported
STW2.9 Reserved Not supported
STW2.10 Reserved Not supported
STW2.11 0→1 = Motor changeover, feedback Signal Not supported
STW2.12 Master sign-of-life, bit 0 Not supported
STW2.13 Master sign-of-life, bit 1 Not supported
STW2.14 Master sign-of-life, bit 2 Not supported
STW2.15 Master sign-of-life, bit 3 Not supported
© Siemens 2022 All rights reserved
The rotation speed values NSOLL_A are integer raw values in the range from 0 to
65535 (216-1). They are interpreted as two’s complement. The model interprets the
behavior identical to the real controller. The calculation of the raw values to the
rotation speed values is given in the below table.
Table 5-8 Rotation speed value NSOLL_A normed
Raw values Raw values To referents rotation
hexadecimal decimal speed normed value
0 0 0%
4000 16384 100 %
7FFF 32767 (200 - 9,3132*10-8) %
8000 32768 -200 %
C000 49152 -100 %
FFFF 65535 -9,3132*10-8 %
The PLC generates the normed rotation speed value NSOLL_A and sends it to the
drive. The drive converts the real speed value from the normed value NIST_A and
sends it to the PLC. The calculation is implemented in the communication function
block of the SINAMICS DriveSim Basic.
The rotation speed values NSOLL_B are integer raw values in the range from 0 to
4294967295 (232-1), they are interpreted as two’s complement. This behavior
corresponds to the real controller. The calculation of the raw values to the rotation
speed values is given in the below table.
Table 5-9 Rotation speed value NSOLL_B normed
Raw values Raw values To reference rotation
hexadecimal decimal speed normed value
0 0 0%
4000 0000 1073741824 100 %
The Gn_STW is only supported if encoder available for this converter. For more
information, refer to Table 4-6.
The PLC controls the states of the encoder state machine via control commands
and control bits as shown in the below table. The "n" marks for the number of the
encoder.
Table 5-10 Bits of the encoder control word
Signal Description Usage
Function No. Function for bit 7 = 0 Function for bit 7 = 1 Encoder evaluation
Gn_STW.0 1 Reference mark 1 Measuring probe 1
Gn_STW.1 2 Reference mark 2 Measuring probe 1 Encoder evaluation
Gn_STW.2 3 Reference mark 3 Measuring probe 2 Encoder evaluation
Gn_STW.3 4 Reference mark 4 Measuring probe 3 Encoder evaluation
Gn_STW.4 Encoder evaluation
Gn_STW.5 Encoder evaluation
Gn_STW.6 Encoder evaluation
© Siemens 2022 All rights reserved
KPC is the gain factor of the position controller (DSC). It is only supported if
dynamic servo control is active. KPC is only available for SERVO.
5.2.1 M_ADD1
The supplementary torque values M_ADD1 are integer raw values in the range
from 0 to 65535 (216-1) and it is received from the PLC. They are interpreted as
two’s complement. The model interprets the behavior identical to the real controller.
The calculation of the raw values to the supplementary torque value is given in the
below table. It is normed to the parameter p2003.
Table 5-12 Supplementary torque value M_ADD1 normed
Raw values Raw values To referents supplementary
hexadecimal decimal torque normed value
0 0 0%
4000 16384 100 %
7FFF 32767 (200 - 9,3132*10-8) %
8000 32768 -200 %
C000 49152 -100 %
FFFF 65535 -9,3132*10-8 %
The PLC generates the normed rotation speed value NSOLL_A and sends it to the
drive. The drive converts the real speed value from the normed value NIST_A and
sends it to the PLC. The calculation is implemented in the communication function
block of the SINAMICS DriveSim Basic.
5.2.2 M_LIMIT_POS
The torque limit upper values M_LIMIT_POS are integer raw values in the range
from 0 to 65535 (216-1) and it is received from the PLC. It is normed and treated like
M_ADD1 (5.2.1).
5.2.3 M_LIMIT_NEG
The torque limit lower values M_LIMIT_NEG are integer raw values in the range
from 0 to 65535 (216-1) and it is received from the PLC. It is normed and treated like
M_ADD1 (5.2.1).
The n_act_1 input expects the output value of an external closed loop-controlled
system. It is directly connected to the telegram send values NIST_A or NIST_B, but
it has a delay from a time step. n_act_1 has the data type double and is limited by
the range of double.
n_act is only respected if Config.ExternalLoad = 1.
5.3.2 x_act_1
The x_act_1 input expects the output value as increments of the external encoder
1. From this signal G1_XIST1 is calculated but it has a delay from a time step.
x_act_1 has the data type double and is limited by the range of double.
x_act_1 is only respected if:
• Config.ExternalLoad = 1
•
© Siemens 2022 All rights reserved
5.3.3 x_act_2
The x_act_2 input expects the output value as increments of the external encoder
2. From this signal G2_XIST1 is calculated but it has a delay from a time step.
x_act_2 has the data type double and is limited by the range of double.
x_act_2 is only respected if:
• Config.ExternalLoad = 1
• p0400_1 is not zero
5.3.4 n_set_ext
n_set_ext is only relevant if a user wants to use the control loops without
considering telegram communication at all.
The n_set_ext input expect a non-normalized rotation speed set point value with
the unit rpm. This signal is directly connected to p1070 if the
Config.SequenceControl is switched off. n_set_ext has the data type double and is
limited by the range of double.
n_set_ext is only respected if:
• Config. SequenceControl = 0
The PLC receives the control unit’s state via the state commands and state bits.
The state bits, which are not implemented are zero.
Table 5-15 Bits of state word 1 (FP 2452, refer 7.8.13)
Signal Description Source
ZSW1.0 1 = Ready for switching on Sequence control
ZSW1.1 1 = Ready for operation Sequence control
ZSW1.2 1 = Operation enabled Sequence control
ZSW1.3 1 = Fault present Constant: 0
ZSW1.4 1 = No coast down active (OFF2 inactive) Sequence control
ZSW1.5 1 = No fast stop active (OFF3 inactive) Sequence control
ZSW1.6 1 = Switching on inhibited active Sequence control
ZSW1.7 1 = Alarm present Constant: 0
ZSW1.8 1 = Speed setpoint - actual value deviation within tolerance Signal and monitoring functions
t_off
ZSW1.9 1 = Control requested Transmission of STW1.10
ZSW1.10 1 = f or n comparison value reached/exceeded Constant: 0
ZSW1.11 1 = I, M, or P limit reached Signal and monitoring functions
ZSW1.12 1 = Open the holding brake Constant: 0
ZSW1.13 1 = No motor overtemperature alarm Constant: 0
ZSW1.14 1 = Motor rotates forwards (n_act 0) Constant: 0
0 = Motor rotates backwards (n_act < 0)
ZSW1.15 1 = No alarm, thermal overload, power unit Constant: 0
The PLC receives the control unit’s state via the state commands and state bits.
The state bits, which are not implemented are zero.
Table 5-16 Bits of state word 2 (FP 2454, refer 7.8.15)
Signal Description Source
ZSW2.0 1 = Drive data set DDS effective, bit 0 Constant: 0
ZSW2.1 1 = Drive data set DDS effective, bit 1 Constant: 0
ZSW2.2 1 = Drive data set DDS effective, bit 2 Constant: 0
ZSW2.3 1 = Drive data set DDS effective, bit 3 Constant: 0
ZSW2.4 1 = Drive data set DDS effective, bit 4 Constant: 0
ZSW2.5 1 = Alarm class bit 0 Constant: 0
ZSW2.6 1 = Alarm class bit 1 Constant: 0
ZSW2.7 1 = Parking axis active Constant: 0
ZSW2.8 1 = Traverse to fixed endstop Constant: 0
ZSW2.9 Reserved Constant: 0
© Siemens 2022 All rights reserved
The drive converts the real rotation speed value from the normed value NIST_A
and sends it to the PLC. The calculation is implemented in the communication
function block of SINAMICS DriveSim Basic.
The scaling is the same as mentioned in 5.1.3.
The drive converts the real rotation speed value from the normed value NIST_B
and sends it to the PLC. The calculation is implemented in the communication
function block of SINAMICS DriveSim Basic.
The scaling is the same as mentioned in 5.1.4.
The Gn_ZSW is only supported if encoder available for this converter. For more
information, refer to Table 4-6.
The PLC can get the state of the encoder via the state commands and state bits.
The "n" stands for the number of the encoder. The state bits, which are not
implemented are zero.
Table 5-17 Gn_ZSW (encoder state word) (FP 4730, refer 7.8.33)
Signal Description Source
Function No. For ref. number and flying measurement Encoder evaluation
Gn_ZSW.0 1 Reference mark 1 or measuring probe 1
Gn_ZSW.1 2 Reference mark 2 or measuring probe 1 Encoder evaluation
Gn_ZSW.2 3 Reference mark 3 or measuring probe 2 Encoder evaluation
Gn_ZSW.3 4 Reference mark 4 or measuring probe 2 Encoder evaluation
Gn_ZSW.4 1 = Position actual value from function 1 Generated Encoder evaluation
Gn_ZSW.5 1 = Position actual value from function 2 value in Encoder evaluation
Gn_ZSW.6 1 = Position actual value from function 3 Gn_XIST2 (and Encoder evaluation
Gn_ZSW.7 1 = Position actual value from function 4 can be read) Encoder evaluation
Gn_ZSW.8 1 = Measuring probe 1 deflected (high signal) Constant: 0
Gn_ZSW.9 1 = Measuring probe 2 deflected (high signal) Constant: 0
Gn_ZSW.10 Reserved Constant: 0
Gn_ZSW.11 1 = Acknowledge encoder fault active Encoder evaluation
Gn_ZSW.12 Reserved (for reference point offset) Constant: 0
Gn_ZSW.13 Absolute value is cyclically transferred Encoder evaluation
Gn_ZSW.14 Parking encoder active (i.e. the encoder is not operational) Encoder evaluation
Gn_ZSW.15 Encoder fault, the fault is in Gn_XIST2 (r0483) Encoder evaluation
The Gn_XIST1 is only supported if encoder available for this converter. For more
information, refer to Table 4-6.
© Siemens 2022 All rights reserved
The Gn_XIST1 PROFIdrive signal carries the encoder actual position value. The
"n" represents the number of the encoder.
The Gn_XIST2 is only supported if encoder available for this converter. For more
information, refer to Table 4-6.
The Gn_XIST2 PROFIdrive signal carries the encoder actual position value. This
value must be requested by the encoder control word Gn_STW.13. If Gn_ZSW.15
= 1, Gn_XIST2 carries the error code of the encoder (refer the below table). The
"n" stands for the number of the encoder.
Table 5-18 Gn_XIST2 error codes
Error code Error text
(Gn_XIST2)
1 Encoder fault (not supported)
2 Possible position shift in Gn_XIST1(not supported)
3 Encoder parking not possible
4 Cancellation, reference block search (not supported)
5 Cancellation, fetch reference value (not supported)
6 cancellation, flying measurement (not supported)
7 Cancellation, fetch measured value (not supported)
8 Abort, absolute value transfer (not supported)
3841 Function not supported
The MIST_GLATT is the smoothed M_air_gap (FP 6799, refer 7.8.51). The smoothing
time is specified via p0045 and is fixed to 1 ms. MIST_GLATT is only available for
VECTOR.
The PIST_GLATT is the power factor smoothed. It is calculated from the actual
speed and M_air_gap with the following formula (FP 6799, refer 7.8.51):
𝑀_𝑎𝑖𝑟_𝑔𝑎𝑝 ∙ 𝑁_𝐼𝑆𝑇_𝐴 ∙ 2𝜋
𝑃𝐼𝑆𝑇_𝐺𝐿𝐴𝑇𝑇 =
60 ∙ 1000
PIST_GLATT is only available for VECTOR.
The NIST_A_GLATT is the smoothed NIST_A (FP 6799, refer 7.8.51). The
smoothing time is specified via p0045 and is fixed to 1 ms.NIST_A_GLATT is only
available for VECTOR.
Another PROFIdrive send signal is the MELDW. The state bits, which are not
implemented are zero.MELDW is only available for SERVO.
Table Table 5-19 Bits of state word 1 (FP 2456, refer 7.8.13)
Signal Description Source
MELDW.0 1 = Ramp-up/ramp-down completed Signal and monitoring functions
0 = Ramp-function generator active
MELDW.1 1 = Torque utilization [%] < torque threshold value 2 Signal and monitoring functions
(p2194)
© Siemens 2022 All rights reserved
5.5.1 M_ACT
The n_ctrl_n_set output provides the speed setpoint for an external closed loop-
controlled system. n_ctrl_n_set is generated by the ramp generator, if the ramp
generator is bridged, NSOLL_A or NSOLL_B of the telegram transfers the setpoint
value directly to the n_ctrl_n_set output. The range of value of n_ctrl_n_set is
limited by SINAMICS parameter p2000 (n_max) and has the data type double.
It is also possible to operate the model without an external load model. For this
purpose, a direct connection between n_ctrl_n_set and n_act_1 must be
established. n_ctrl_n_set is always provided regardless of the config parameters.
An application example is given in "External load" in 6.4.5.
5.6.2 n_set_before_filter
This output serves as a diagnostic interface for setting the dynamic servo control. It
is directly mapped from r0060. It provides the DSC output. n_set_before_filter is
© Siemens 2022 All rights reserved
only available for SERVO (only relevant if droop or speed limiter is implemented in
VECTOR). For more information, refer FP 5020 7.8.35.
5.6.3 n_set_after_filter
This output serves as a diagnostic interface for setting the dynamic servo control. It
is directly mapped from r0062 and provides the DSC output with the speed
controller pre-control. n_set_after_filter is only available for SERVO (only relevant if
acceleration model is implemented in VECTOR). For more information, refer FP
5020 7.8.35
5.6.4 M_air_gap
The M_air_gap output represents the torque of the air gap of the motor. It is the
output of the speed controller with a simplified closed current control loop model.
This is the connection point for the external motor inertia and the model of the
attached application. If the speed controller is deactivated M_air_gap output is
zero. If the external load is deselected it represents the value of the internal model
for displaying the internal load behavior.
5.6.5 n_int_load
The n_int_load output provides the current speed of the internal two mass oscillator
or internal feedback. There will be always values displayed regardless of whether
the bit Config.ExternalLoad is active or not.
5.6.6 mismatch
6 Application
6.1 FMI
SINAMICS DriveSim Basic interacts with multiple simulation tools via the FMU
interface. "The Functional Mock-up Interface (FMI) is a free standard that defines a
container and an interface to exchange dynamic models. For more information,
refer, fmi Functional Mock-up Interface, https://fmi-standard.org/, 2020 \3\. The
SINAMICS DriveSim Basic FMU corresponds to the FMI Standard 2.0.
The FMU parameters are pre-set with default values as mentioned in 4. To
configure the step time and the use case specific Parameters, the model can be
modified by the mask of the block as given by the importing tool. Additionally, the
user may adapt the block’s standard values by modifying the "DriveSim Basic.xml"
contained in the FMU repository (opened as a zip archive).
6.2 Licenses
The license key for SINAMICS DriveSim Basic is managed by the Automation
License Manager (ALM). This ensures that the FMU can only be used with a valid
license key according to the user agreements. For more information, refer,
"Programming and Operating Manual - SIMATIC Automation License Manager",
Siemens AG, 06/2017 \4\.
The ALM runs in the background. During the start-up process of the simulation the
© Siemens 2022 All rights reserved
ALM receives a request for a license key from the SINAMICS DriveSim Basic and
makes a comparison between the existing and required license. Only if a valid
license is available, the simulation is executed. There is one license necessary to
run the FMU regardless of the number of instances.
The user needs to setup his simulation tool minimum step time according to the
interaction of the model with the connected components. There are several use
cases especially with external load and speed controller enabled, where it has a
tremendous impact that the setup is done well.
As to satisfy the Nyquist-Shannon theorem the internal sample rate (Tmin) of the
SINAMICS DriveSim Basic is half of the smallest SINAMICS speed controller cycle
time (defined by p0112):
• SERVO
• Tmin = 31,25 μs
• p0115[1] = 62,5 μs
• VECTOR
• Tmin = 50 µs
• greatest common divisor of p0115[1] = [250, 1600] µs = 50 µs
The sample rate in which SINAMICS DriveSim Basic is called by the simulation tool
and the IOs are sampled (Ts) on the other hand may be specified by the user.
Depending on the simulation tool, the sample time may be defined for each block
or globally. Depending on the dedicated scenario and control loop, the simulation
tool’s sample rate Ts may be
1. a positive integer multiple of Tmin
2. equal or smaller than a positive integer division of Tmin or
3. variable if the tool solver can guarantee, that SINAMICS DriveSim Basic is
called every Tmin
Otherwise, the output of the SINAMICS DriveSim Basic may be different than
expected. Possible schematic sampling behaviors between SINAMICS DriveSim
Basic and the simulation tool are shown in the figure below. Undersampling should
be avoided if the use case demands any kind of control loop with an external
model.
synchronous undersampling
simulation tool simulation tool
tn Ts tn+1 tn Ts tn+1
Tmin t Tmin t
DriveSim Basic DriveSim Basic
oversampling fixes step oversampling variable step
simulation tool simulation tool
tn Ts tn+9 tn Ts tn+5
Tmin t Tmin t
DriveSim Basic DriveSim Basic
Figure 6-1 Sample rate of the model compared to the simulation tool
There are basically two control loops, defining the sample time of SINAMICS
© Siemens 2022 All rights reserved
DriveSim Basic:
1. The PROFIdrive signal sample rate p2048 (4 ms is the factory setting), if a
SINAMICS DriveSim Basic should interact with a superior control.
2. The speed controller cycle time p0115[1], if the speed controller is
activated and external model should be driven
The below figure shows a decision diagram which supports you in choosing the
minimal step time of the simulation tool for different scenarios (A, B & C).
Min. Simulation
Sample Time (Ts)
Configuration
External Load
required? no
yes
Speed Controller
yes required?
no
Ts = 62.5 µs / n Config.Speed-
possible? Controller = 0
nϵN
no
yes no
Start Simulation
Depending on the selection of the Config bits the following control loops can be
realized.
p0115[1] / (2n) p2048 / n p0115[1] * n/2
PLCSIM PLCSIM
Advanced NSOLL_A/B Advanced NSOLL_A/B
p2048 p2048
p0115[1] / 2 p2048
Figure 6-3 Scenarios for minimum time step for different control loops
6.3.3 Examples
SpeedController 1 0 1 1 1 1
p0112 3 3 0 4 3 2
p0115[1] 125 µs 125 µs 2000 µs 62,5 µs 125 µs 1000 µs
p2048 1 ms 1 ms 1 ms 2 ms 1 ms 2 ms
Tmin 31,25 µs 31,25 µs 50 µs 31,25 µs 31,25 µs 50 µs
TS 1 ms 1 ms 1 ms 62,5 µs 2 ms 750 µs
Scenario10 A B A A C A
Problem 𝑇𝑠 ≠ - - 𝑇𝑠 ≠ 𝑇𝑠 ≠ 𝑇𝑠 ≠
𝑝0115[1] 𝑝0115[1] 𝑝2048 𝑝2048
; ; ; ;
𝑛 𝑛 𝑛 𝑛
𝑛∈𝑁 𝑛∈𝑁 𝑛∈𝑁 𝑇𝑠 ≠
𝑝0115[1]
;
𝑛
𝑛∈𝑁
control core
TS TS
p0115[1]
n_act_1 Speed Controller M_air_gap
internal load
TS
external load
The figure below shows the SINAMICS DriveSim Basic model with PLCSIM
Advanced as superior controller. Thus, the sequence control needs to be switched
on (Config.SequenceControl = 1).
PLCSIM Advanced
PD-Signals PD-Signals
control core
n_act_1 M_air_gap
Config.SequenceControl = 1
The figure below shows the SINAMICS DriveSim Basic model with external load
(Config.ExternalLoad = 1) and deactivated speed controller
(Config.SpeedController = 0). Consequently, the internal feedback loop is not
closed and n_ctrl_n_set and n_act may be linked directly or via an external transfer
function to a closed loop system (see below figure). Thus, a user may connect his
own speed control algorithm and load model.
PD-Signals PD-Signals
control core
n_act_1 M_air_gap
internal load
© Siemens 2022 All rights reserved
Config.SpeedController = 0 Config.ExternalLoad = 1
external load
The figure below shows the SINAMICS DriveSim Basic model without (PLCSIM
Advanced as) superior controller. Thus, the sequence control needs to be switched
off (Config.SequenceControl = 0). The interface for the set point needs to be
connected to n_set_ext.
n_set_ext
control core
n_act_1 M_air_gap
Config.SequenceControl = 0
The figure below shows the SINAMICS DriveSim Basic model with an internal load
(Config.ExternalLoad = 0). Consequently, the internal feedback loop is closed and
n_ctrl_n_set and n_act are be linked via the internal model. The external outputs
are supported for debugging reasons, but the input n_act_1 is not respected within
the model.
PD-Signals PD-Signals
control core
n_act_1 M_air_gap
internal load
© Siemens 2022 All rights reserved
Config.ExternalLoad = 0
The figure below shows the SINAMICS DriveSim Basic model with external load
(Config.ExternalLoad = 1). Consequently, the internal feedback loop is not closed
and n_ctrl_n_set and n_act may be linked directly or via an external transfer
function to a closed loop system (see below figure). Thus, a user may connect a
self-defined load model.
PD-Signals PD-Signals
control core
n_act_1 M_air_gap
internal load
Config.ExternalLoad = 1
external load
6.5 Tools
© Siemens 2022 All rights reserved
The SINAMICS DriveSim Basic FMU is compatible with every tool that supports the
FMU 2.0 standard. This chapter shows tested FMU compatible tools. A selection of
additional FMU compatible tools are listed here (https://fmi-standard.org/tools/).
6.5.1 Variants
There are two options to simulate the SINAMICS DriveSim Basic FMU, as a stand-
alone device or in interaction with PLCSim Advanced. The second one being
recommended only for SIMIT.
The signals the table Table 6-3 must be transferred in normalized form for a stand-
alone operation. A denormalization is required for NIST_A and NIST_B. In the
following table are given the formulas for calculation.
Table 6-3 formulas normalization
PD-Signal Normalization
NSOLL_A 𝑛𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑁𝑆𝑂𝐿𝐿_𝐴 =
𝑝2000
4000ℎ = 214
NSOLL_B 𝑛𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000 0000ℎ
𝑁𝑆𝑂𝐿𝐿_𝐵 =
𝑝2000
4000 0000ℎ = 230
MOMRED 𝑛𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀𝑂𝑀𝑅𝐸𝐷 =
𝑝1544
𝑝1544 = 100%
4000ℎ = 214
M_ADD1 𝑀_𝐴𝐷𝐷1𝑡𝑎𝑟𝑔𝑒𝑡 ∙ 4000ℎ
𝑀_𝐴𝐷𝐷1 =
𝑝2003
4000ℎ = 214
© Siemens 2022 All rights reserved
6.5.3 SIMIT
As in Simit the FMU can be used in Simcenter Amesim. The interfaces of the
SINAMICS DriveSim Basic FMU for Amesim have the data type double.
© Siemens 2022 All rights reserved
The SINAMICS DriveSim Basic FMU can be imported with the FMU Import block in
Matlab Simulink.
© Siemens 2022 All rights reserved
The SINAMICS DriveSim Basic FMU can be imported with the FMU component
block in ANSYS Twin Builder. During the import process, the mask can be
customized regarding inputs, outputs, and parameters.
© Siemens 2022 All rights reserved
Like in other tools adoption blocks are needed if the user runs the model without
direct PLC interaction for conversion of the double setpoint points or actual values,
which are transferred in integer 16 tespective 32 via the interfaces of the FMU.
Known Issues
• Deselect “Update reports during simulation” in “Tools > Options > General
Options > Twin Builder > General”
© Siemens 2022 All rights reserved
7 Appendix
7.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:
siemens.com/SupportRequest
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
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
No. Topic
\9\ List Manual - SINAMICS G120 - CU250S-2 Control Units
Siemens AG, 09/2020
https://support.industry.siemens.com/cs/ww/en/view/109782287
\10\ List Manual - SINAMICS G120C
Siemens AG, 09/2020
https://support.industry.siemens.com/cs/ww/en/view/109782304
\11\ List Manual - SINAMICS G120D - Control Units CU240D-2/CU250D-2
Siemens AG, 09/2020
https://support.industry.siemens.com/cs/ww/en/view/109782306
\12\ Operating instructions - SINAMICS G120X
Siemens AG, 07/2020
https://support.industry.siemens.com/cs/ww/en/view/109781534
\13\ List Manual - SINAMICS S110
Siemens AG, 04/2015
https://support.industry.siemens.com/cs/ww/en/view/109476011
\14\ List Manual - SINAMICS G130/G150
Siemens AG, 06/2020
https://support.industry.siemens.com/cs/ww/en/view/109781805
\15\ Operating Instructions - SINAMICS S210
Siemens AG, 06/2020.
https://support.industry.siemens.com/cs/ww/en/view/109781874
© Siemens 2022 All rights reserved
Added parameters
• Config interface for definition format of the setpoint filters
• Speed controller reference model - p1433. ..p1435
• Activates current setpoint filter - p1656
• Current setpoint filter 1&2 - p1658. ..p1666
• Variable: Current Set Point Filter 1&2
V1.0.4 01/22 Added features:
• Telegrams 20 & 352
• VECTOR: speed control with encoder
• VECTOR: current setpoint filters
• VECTOR: reference model
Added PROFIdrive signals:
• N_ISTA_GLATT
• PIST_GLATT
• MIST_GLATT
Added additional inputs
• x_act_1
• x_act_2
• n_set_ext
Added parameter:
• Speedcontroller Vector: p1470, p1472
• Reference values:p2003
Bug fix:
• Internal Load model can now be configured well as an
one-mass osciallator
Added Parameters:
• p0112 - Sampling times pre-setting p0115
• p0341 - Motor moment of inertia
• p1496 (VECTOR) - Acceleration precontrol scaling
• p1498 (SERVO) - Load moment of inertia
• p2003 - Reference torque
• p8864 - IF1 PROFIdrive first supplementary telegram
selection
• BaseLoad_linear – linear base load torque
• BaseLoad_square – square base load torque
• MaxLoadSpeed – maximum load speed
Added Interfaces:
• M_ADD1
• M_LIMIT_POS
• M_LIMIT_NEG
© Siemens 2022 All rights reserved
• M_ACT
Table 7-4 Summary function plan of G110, G115, G120* ("1" indicates, CU250S-2.)
G110M (CU240M)
G120 (CU240E-2)
G120 (CU230P-2)
G120 (CU250S-2)
G120D (CU240D)
Description1
File name1
Version1
G115D
G120C
G120X
FP
(G120C only)
6031 Pre-control fp_6031_97_53.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
balancing, V4.7_13
acceleration model
6040 Speed controller fp_6040_97_55.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
V4.7_13
6060 Torque setpoint fp_6060_97_53.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
V4.7_13
6630 Upper/lower torque fp_6630_97_51.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
limit V4.7_13
6710 Current setpoint filter fp_6710_97_56.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
V4.7_13
6799 Display signals fp_6799_97_66.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
V4.7_13
8005 Signals and fp_8005_97_53.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
monitoring functions V4.7_13
- Overview
8010 Signals and fp_8010_97_53.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
monitoring functions V4.7_13
- Speed signals 1
8011 Signals and fp_8011_97_53.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
monitoring functions V4.7_13
- Speed signals 2
8012 Torque signals, fp_8012_97_55.vsd ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ 13.05.2020
motor blocked/stalled V4.7_13
Has the same implemented functionality as the FP 2415 of S120 (7.8.2) and it
depends on the functionality of the device.
Has the same implemented functionality as the FP 2415 of S120 (7.8.2) and it
depends on the functionality of the device.
Has the same implemented functionality as the FP 2439 of S120 (7.8.8) and it
depends on the functionality of the device.
Has the same implemented functionality as S120 FP2449 (7.7.7) and it depends
on the functionality of the device.
Please consider that your PLC must interpret the PZDs as given in the list manual
of the used control unit.
Has the same implemented functionality as 7.8.28 and it depends on the functionality of the device.
Encoder Control Unit
Invert position
actual value
1 2 A 1 2 No. of signal p0410.1
inkr n
2 periods
CU DI status
2 B A <2>
r0722 up Enc Gn_XIST1
0
1 5 3 <3> r0722.0/1 31 n n-1 0
Raw position signals dn III r0482 [n-1]
4 2n -1
© Siemens 2022 All rights reserved
0
1 signal period
p0979[0...25]
Encoder format acc. to PROFIdrive
1 2 3 4 5 6 7 8
Encoder evaluation fp_4704_97_08.vsd Function diagram
- 4704 -
Position sensing, encoder 1 30.09.2019 V4.7_13 G115D
7.7.21 FP 4715: Speed actual value and pole pos. sensing, motor encoder
ASM/PMSM (encoder 1)
7.7.24 FP 6020: Vector control - Speed control and generation of the torque
limits, overview
reference/acceleration model
S120/S150/
G130/G150
Version
S110
FP
motor blocked/stalled
PD Telegr_sel
p0922 Interconnecting the permanently assigned receive telegrams Receive telegram
Telegram 1 ... 19 LED
PB address Monitoring Axxxxx
Signal assignment PZD1 Fxxxxx
Signal x p0918 Diagnostics rxxxx Signal Description Interconnection
PZD32 [2410]
[2415] Standard telegrams and process data 1 PROFIBUS (PB)/PROFINET (PN) address and diagnostics ... ... ...
PD Telegr_sel
p0922 Telegram 20 ... 99 ... ... ...
Signal assignment PZD1
Signal x
[2439] ... [2447], [2495], [2497] Drive
PZD32 Permanently assigned telegrams n
Interconnecting the permanently assigned send telegrams
[2416] Standard telegrams and process data 2
PZD32
[2419] Manufacturer-specific telegrams and process data 1 ... ... ...
PD Telegr_sel
p0922 Telegram 118 ... 219 [2449] ... [2457], [2496], [2498]
Signal assignment PZD1 Interconnecting the free receive telegram
Signal x PROFIdrive
PZD1
PZD32
PZD2
[2420] Manufacturer-specific telegrams and process data 2 Send telegram
PZD3
PD Telegr_sel ..
p0922 Telegram 220 ... 389 .
Signal assignment PZD1 ...
Signal x
PZD32
[2421] Manufacturer-specific telegrams and process data 3
[2468], [2481]
PD Telegr_sel
p0922 Interconnecting the free send telegram
Telegram 390 ... 396
PZD1 Drive
Signal assignment PZD1
Signal x n
PZD2
PZD32 PZD3
[2422] Manufacturer-specific telegrams and process data 4
PD Telegr_sel
p0922 ...
Telegram 901 ... 999
Signal assignment PZD1
Signal x Free telegram
PZD32 [2470], [2472], [2483]
[2423] Manufacturer-specific/free telegrams and process data
1 2 3 4 5 6 7 8
DO: All objects fp_2401_54_eng.vsd Function diagram
- 2401 -
PROFIdrive - Overview 12.03.13 V05.02.03 S120/S150/G130/G150
Interconnection is Not suitable for sensorless vector control [2440] [2450] automatically
made according to <4> <4> <5>
Telegram 1 2 3 4 5 6 7 9 20
Application class 1 1 1, 4 1, 4 4 DSC 4 DSC 3 3 1
PZD1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1 STW1 ZSW1
PZD2 NSOLL_A NIST_A SATZANW AKTSATZ SATZANW AKTSATZ NSOLL_A NIST_A_GLATT
NSOLL_B NIST_B NSOLL_B NIST_B NSOLL_B NIST_B NSOLL_B NIST_B NSOLL_B NIST_B
PZD3 STW2 ZSW2 IAIST_GLATT
PZD4 STW2 ZSW2 STW2 ZSW2 STW2 ZSW2 STW2 ZSW2 STW2 ZSW2 MDI_ MIST_GLATT
XIST_A
PZD5 G1_STW G1_ZSW G1_STW G1_ZSW G1_STW G1_ZSW G1_STW G1_ZSW TARPOS PIST_GLATT
PZD6 G2_STW G2_STW MDI_ user <6>
G1_XIST1 G1_XIST1 XERR G1_XIST1 G1_XIST1
PZD7 VELOCITY
XERR
PZD8 MDI_ACC
G1_XIST2 G1_XIST2 KPC G1_XIST2 G1_XIST2
PZD9 MDI_DEC
© Siemens AG 2022 All rights reserved
KPC
PZD10 G2_ZSW G2_ZSW MDI_MOD
PZD11
G2_XIST1 G2_XIST1
PZD12
PZD13
G2_XIST2 G2_XIST2
PZD14
PZD15
PZD16
PZD17
PZD18
PZD19
PZD20
PZD21
PZD22
PZD23
PZD24
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
Receive telegram from
Receive telegram from
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
PZD27
PZD28
PZD29
PZD30
PZD31
PZD32
<1> Depending on the drive object, only specific telegrams can be used. Not suitable for sensorless vector control.
<2> If p0922 = 999 is changed to another value, the telegram is automatically assigned as specified in [2415] to [2423].
If p0922 999 is changed to p0922 = 999, the "old" telegram assignment is maintained as specified in [2415] to [2423].
<3> The maximum number of PZD words depends on the drive object type.
<4> Only for SERVO (SINAMICS S120).
<5> Only for VECTOR.
<6> Freely interconnectable (pre-setting: MELD_NAMUR). = Position encoder signal
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2415_54_eng.vsd Function diagram
- 2415 -
PROFIdrive - Standard telegrams and process data 1 10.09.18 V05.02.03 S120/S150/G130/G150
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
Receive telegram from
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
PZD27
PZD28
PZD29
PZD30
PZD31
PZD32
<1> Depending on the drive object, only specific telegrams can be used.
<2> If p0922 = 999 is changed to another value, the telegram is automatically assigned as specified in [2415] - [2423].
If p0922 999 is changed to p0922 = 999, the "old" telegram assignment is maintained as specified in [2415] - [2423]!
<3> Can be freely connected.
<4> The maximum number of PZD words depends on the drive object type.
<5> Only for SERVO (SINAMICS S120).
<6> Only if the "Basic positioner" function module is active (r0108.4 = 1).
<7> Only if the "DSC with Spline" function module is active (r0108.6 = 1). = Position encoder signal
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2419_55_eng.vsd Function diagram
- 2419 -
PROFIdrive - Manufacturer-specific telegrams and process data 1 12.09.18 V05.02.03 SINAMICS S120/S150
The FP 2420 is only relevant for the device S110 and has the same implemented functionality as the FP 2415 (7.8.2).
© Siemens AG 2022 All rights reserved
G1_XIST2
PZD10 user <3> user <3>
KPC
PZD11 G2_ZSW
PZD12
G1_MP G2_XIST1
PZD13
PZD14 G1_MP_ZSW
G2_XIST2
PZD15
PZD16 VA_VALVELIFT
PZD17 VA_TORQUE
PZD18 VA_POWER
PZD19 VA_PRESSURE_A
PZD20 VA_PRESSURE_B
PZD21
PZD22
PZD23
PZD24
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
Receive telegram from
Send telegram to
Send telegram to
Send telegram to
Send telegram to
Send telegram to
PZD27
PZD28
PZD29
PZD30
PZD31
PZD32
<1> Depending on the drive object, only specific telegrams can be used. <7> Pre-assignment, not disabled.
<2> If p0922 = 999 is changed to another value, the telegram is automatically assigned as specified in [2415] - [2423]. <8> Only for HLA.
If p0922 999 is changed to p0922 = 999, the "old" telegram assignment is maintained as specified in [2415] - [2423]! <9> Only for SERVO and VECTOR.
<3> Freely interconnectable. <10> Only for VECTOR.
<4> The maximum number of PZD words depends on the drive object type. <11> Only for Infeed.
<5> In order to comply with the PROFIdrive profile, PZD1 must be used as control word 1 (STW1) or status word 1 (ZSW1). <12> Values smoothed at VECTOR, Values unsmoothed at SERVO.
p2037 = 2 should be set if STW1 is not transferred with PZD1 as specified in the PROFIdrive profile.
<6> Not for U/f control. = Position encoder signal
1 2 3 4 5 6 7 8
DO: A_INF, B_INF, HLA, R_INF, S_INF, SERVO, VECTOR fp_2421_54_eng.vsd Function diagram
- 2421 -
PROFIdrive - Manufacturer-specific telegrams and process data 3 28.08.18 V05.02.03 S120/S150/G130/G150
The FP 2422 is only relevant for the device S110 and has the same implemented functionality as the FP 2419 (7.8.2).
© Siemens AG 2022 All rights reserved
Interconnection is Interconnection is
Manufactory-spezific supplementary telegram [2481] [2483]
made according to made according to
PZD10
PZD11
The arrangement of process data (PZD) for the supplementary telegram 700/701/750 depends on the telegram PZD12
selection (p0922, p2079) and the receive and send words reserved (p2070, p2071). PZD13
The first supplementary telegram (p60122, p8864) is appended to the telegram selected resp. the words reserved. PZD14
The second supplementary telegram (p8865) is appended to the first supplementary telegram. PZD15
PZD16
PZD17
PZD18
PZD19
PZD20
PZD21
PZD22
PZD23
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PROFIBUS/PROFINET
PZD24
Receive telegram from
Send telegram to
Send telegram to
PZD27
PZD28
PZD29
PZD30
PZD31
PZD n+x PZD32
<1> If p0922 = 999 is changed to another value, the telegram is automatically assigned as specified in [2415] - [2423].
If p0922 999 is changed to p0922 = 999, the "old" telegram assignment is maintained as specified in [2415] - [2423].
<2> In order to comply with the PROFIdrive profile, PZD1 must be used as control word 1 (STW1) or status word 1 (ZSW1).
p2037 = 2 should be set if STW1 is not transferred with PZD1 as specified in the PROFIdrive profile.
<3> The maximum number of PZD words depends on the drive object type.
1 2 3 4 5 6 7 8
DO: HLA, SERVO, VECTOR fp_2423_54_eng.vsd Function diagram
- 2423 -
PROFIdrive - Supplementary/free telegrams and process data 28.09.17 V05.02.03 S120/S150/G130/G150
[2468], [2481] <3> G2_STW Encoder 2 control word 13 p0480[1] [4720] U16 -
. r2090 r2095 bit
. r2050[0...n] WORD <3> G3_STW Encoder 3 control word 17 p0480[2] [4720] U16 -
. r2060[0...30] DWORD
A_DIGITAL Digital output (16-bit) 22 (bitwise) [2497] U16 -
...
<3> XERR Position deviation 25 p1190 [3090.5] I32 -
Drive object n
<3> KPC Position controller gain factor 26 p1191 [3090.5] I32 -
Telegram assignment
. according to p0922 SATZANW Pos block selection 32 (bitwise) [2476] U16 -
. [2415]
. MDI_TARPOS MDI position 34 p2642 [3618] I32 1 hex 1 LU
Drive object m MDI_ACC MDI acceleration override 36 p2644 [3618] I16 4000 hex 100 %
Trailer MDI_DEC MDI deceleration override 37 p2645 [3618] I16 4000 hex 100 %
<1> When selecting a standard telegram or a manufacturer-specific telegram via p0922, these interconnection
parameters of the command data set CDS0 are automatically set.
<2> Data type according to to the PROFIdrive profile:
I16 = Integer16, I32 = Integer32, U16 = Unsigned16, U32 = Unsigned32.
<3> Only for SINAMICS S120.
<4> Only for ENCODER.
1 2 3 4 5 6 7 8
DO: A_INF, B_INF, CU_G, CU_S, ENC, HLA, S_INF, SERVO, VECTOR Zeichnung15 Function diagram
- 2439 -
PROFIdrive - PZD receive signals, interconnection, profile-specific 27.06.13 V05.02.03 S120/S150/G130/G150
[2468], [2481] NOCKEN3_ZS_F Cam_2 switching instant for a falling edge 173 p0715[2] - U16
. r2090...r2095 bit NOCKEN3_ZS_S Cam_2 switching instant for a rising edge 174 p0714[2] - U16
. r2050[0...n] WORD NOCKEN4_ZS_F Cam_3 switching instant for a falling edge 175 p0715[3] - U16
. r2060[0...30] DWORD
NOCKEN4_ZS_S Cam_3 switching instant for a rising edge 176 p0714[3] - U16
... NOCKEN5_ZS_F Cam_4 switching instant for a falling edge 177 p0715[4] - U16
Drive object n NOCKEN5_ZS_S Cam_4 switching instant for a rising edge 178 p0714[4] - U16
<4> NOCKEN6_ZS_F Cam_5 switching instant for a falling edge 179 p0715[5] - U16
Telegram assignment
. according to p0922 NOCKEN6_ZS_S Cam_5 switching instant for a rising edge 180 p0714[5] - U16
. [2415] NOCKEN7_ZS_F Cam_6 switching instant for a falling edge 181 p0715[6] - U16
. NOCKEN7_ZS_S Cam_6 switching instant for a rising edge 182 p0714[6] - U16
NOCKEN8_ZS_F Cam_7 switching instant for a falling edge 183 p0715[7] - U16
NOCKEN8_ZS_S Cam_7 switching instant for a rising edge 184 p0714[7] - U16
Drive object m
POS_STW Pos control word 203 (bitwise) [2462] U16
Trailer OVERRIDE Pos velocity override 205 p2646 [3630] I16 4000 hex 100 %
POS_STW1 Pos control word 1 220 (bitwise) [2463] U16
POS_STW2 Pos control word 2 222 (bitwise) [2464] U16
MDI_MODE Pos MDI mode 229 p2654 [3620] U16
A_DIGITAL_1 Digital output (16 bit) 307 (bitwise) [2499] U16
<1> When selecting a standard telegram or a <4> M_LIM Torque limit 310 p1503/p1552/p1554 - U16
manufacturer-specific telegram via p0922, <4> M_ADD Additional torque 311 p1495 - U16
these interconnection parameters of the E_STW1 Control word 1 for Active Infeed (ALM, SMART) 320 (bitwise) [2447] U16
command data set CDS0 are automatically
set. STW1_BM Control word 1, variant for BM 322 (bitwise) [2425] U16
<2> Data type according to to the PROFIdrive STW2_BM Control word 2, variant for BM 324 (bitwise) [2426] U16
profile: E_STW1_BM Control word 1 for Active Infeed 326 (bitwise) [2427] U16
I16 = Integer16, I32 = Integer32, U16 =
CU_STW1 Control word 1 for Control Unit 500 (bitwise) [2495] U16
Unsigned16, U32 = Unsigned32.
<3> Only for S120.
<4> Only for S120/S150.
1 2 3 4 5 6 7 8
DO: A_INF, B_INF, CU_CX32, CU_G, CU_S, S_INF, SERVO, VECTOR fp_2440_54_eng.vsd Function diagram
- 2440 -
PROFIdrive - PZD receive signals, interconnection, manufacturer specific 16.05.17 V05.02.03 S120/S150/G130/G150
Signal targets for STW1 in Interface Mode SINAMICS (p2038 = 0) <1> PROFIdrive sampling time
1 = Enable setpoint
STW1.6 p1142[0] = r2090.6 [2501.3] [3060] [3070] [3080] -
0 = Inhibit setpoint (set the ramp-function generator input to zero)
STW1.8 Reserved - - - -
STW1.9 Reserved - - - -
STW1.12 Reserved - - - -
STW1.13 1 = Motorized potentiometer setpoint raise <3> p1035[0] = r2090.13 [2505.3] [3020] -
STW1.14 1 = Motorized potentiometer setpoint lower <3> p1036[0] = r2090.14 [2505.3] [3020] -
<1> Used in telegrams 1, 2, 3, 4, 5, 6, 352 (telegram 5 and 6 only for S120). <3> Only for "expanded setpoint channel" and "extended ramp-function generator".
<2> STW1.10 must be set to ensure that the drive object accepts the process data (PZD). <4> Only for activated Technology Extension "FASTBRK". FASTBRK: FAST BRAKE
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2442_54_eng.vsd Function diagram
- 2442 -
PROFIdrive - STW1 control word interconnection (p2038 = 0) 07.04.20 V05.02.03 S120/S150/G130/G150
p0820[0] = r2093.0
STW2.0 Drive data set selection DDS, bit 0 - [8565] -
<4> r2092.0
p0821[0] = r2093.1
STW2.1 Drive data set selection DDS, bit 1 - [8565] -
<4> r2092.1
p0822[0] = r2093.2
STW2.2 Drive data set selection DDS, bit 2 - [8565] -
<4> r2092.2
p0823[0] = r2093.3
STW2.3 Drive data set selection DDS, bit 3 - [8565] -
<4> r2092.3
p0824[0] = r2093.4
STW2.4 Drive data set selection DDS, bit 4 - [8565] -
<4> r2092.4
© Siemens AG 2022 All rights reserved
STW2.5 Reserved - - - -
STW2.6 Reserved - - - -
p0897 = r2093.7
STW2.7 1 = Parking axis - - -
<4> r2092.7
STW2.8 1 = Traverse to fixed endstop <2> <5> p1545[0] = r2093.8 [2520.2] [8012] -
STW2.9 Reserved - - - -
STW2.10 Reserved - - - -
p0828[0] = r2093.11
STW2.11 = Motor changeover, feedback Signal - - -
<4> r2092.11
<3>
<2> Not for telegrams 9, 110 and 111. <4> Only for telegram 9.
<1> Used in telegrams 2, 3, 4, 5, 6, 9, 110 and 111. <3> Only for SERVO (SINAMICS S120). <5> Not for Vector U/f.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2444_54_eng.vsd Function diagram
- 2444 -
PROFIdrive - STW2 control word interconnection (p2038 = 0) 27.06.13 V05.02.03 S120/S150/G130/G150
1 2 3 4 5 6 7 8
DO: A_INF, B_INF, ENC, HLA, S_INF, SERVO, VECTOR fp_2449_54_eng.vsd Function diagram
- 2449 -
PROFIdrive - PZD send signals interconnection, profile-specific 27.06.13 V05.02.03 S120/S150/G130/G150
Signal sources for PZD send signals <1> PROFIdrive sampling time
PROFIdrive Interconnection Function
Signal Description Data type Scaling
Signal No. parameter diagram
MELDW Message word 102 r2089[2] [2456] U16 -
MSOLL_GLATT Total speed setpoint smoothed 120 r0079[1] [5610] <2> I16 4000 hex p2003
AIST_GLATT Torque utilization smoothed 121 r0081 [8012] I16 4000 hex 100 % PROFIdrive send
MT_ZSW Measuring probe status word 131 r0688 - U16 - telegram
MT1_ZS_F Measuring probe 1 measuring time falling edge 132 r0687[0] - U16 -
Header
MT1_ZS_S Measuring probe 1 measuring time rising edge 133 r0686[0] - U16 -
MT2_ZS_F Measuring probe 2 measuring time falling edge 134 r0687[1] - U16 - Drive object 1
MT2_ZS_S Measuring probe 2 measuring time rising edge 135 r0686[1] - U16 -
MT3_ZS_F Measuring probe 3 measuring time falling edge 136 r0687[2] - U16 - Drive object 2
Send words 1...16
MT3_ZS_S Measuring probe 3 measuring time rising edge 137 r0686[2] - U16 -
p2051[0...15] WORD
MT4_ZS_F Measuring probe 4 measuring time falling edge 138 r0687[3] - U16 - r2053[0...15] WORD .
MT4_ZS_S Measuring probe 4 measuring time rising edge 139 r0686[3] - U16 - p2061[0...14] DWORD .
MT5_ZS_F
MT5_ZS_S
Measuring probe 5 measuring time falling edge
Measuring probe 5 measuring time rising edge
140
141
r0687[4]
r0686[4]
-
-
U16
U16
-
-
r2063[0...14] DWORD .
MT6_ZS_F Measuring probe 6 measuring time falling edge 142 r0687[5] - U16 - ...
© Siemens AG 2022 All rights reserved
MT6_ZS_S Measuring probe 6 measuring time rising edge 143 r0686[5] - U16 - Drive object n
MT7_ZS_F Measuring probe 7 measuring time falling edge 144 r0687[6] - U16 -
MT7_ZS_S Measuring probe 7 measuring time rising edge 145 r0686[6] - U16 - Telegram
<2> MT8_ZS_F Measuring probe 8 measuring time falling edge 146 r0687[7] - U16 - assignment .
MT8_ZS_S Measuring probe 8 measuring time rising edge 147 r0686[7] - U16 - according to p0922 .
MT_DIAG Measuring probe (stage 3) diagnostics word 148 r0567 - U16 - [2415] .
MT_ZS1 Measuring probe (stage 3) measuring time 1 149 r0565[0] - U16 -
Drive object m
Trailer
MT_ZS16 Measuring probe (stage 3) measuring time 16 164 r0565[15] - U16 -
MT_ZSB1 Measuring probe (stage 3) measuring time reference 1 165 r0566[0] - U16 -
MT_ZSB2 Measuring probe (stage 3) measuring time reference 2 166 r0566[1] - U16 -
MT_ZSB3 Measuring probe (stage 3) measuring time reference 3 167 r0566[2] - U16 -
MT_ZSB4 Measuring probe (stage 3) measuring time reference 4 168 r0566[3] - U16 -
POS_ZSW Pos status word 204 r2683 [3645] U16 - PROFIBUS
POS_ZSW1 Pos status word 1 221 r2089[3] [2466] U16 - PROFINET
POS_ZSW2 Pos status word 2 223 r2089[4] [2467] U16 -
FAULT_CODE Fault code 301 r2131 [8060] U16 -
WARN_CODE Alarm code 303 r2132 [8065] U16 -
E_DIGITAL_1 Digital input (16 Bit) 307 r2089[3] [2500] U16 -
<2> E_ZSW1 Status word 1 for Active Infeed 321 r2089[1] [2457] U16 -
ZSW1_BM Status word 1, variant for BM 323 r2089[0] [2428] U16 -
ZSW2_BM Status word 2, variant for BM 325 r2089[1] [2429] U16 -
E_ZSW1_BM Status word 1 for Infeed, variant for BM (ALM, BLM, SLM) 327 r2080 [2430] U16 -
CU_ZSW1 Status word 1 for Control Unit 501 r2089[1] [2496] U16 -
1 2 3 4 5 6 7 8
DO: A_INF, B_INF, S_INF, SERVO, TM41, VECTOR fp_2450_54_eng.vsd Function diagram
- 2450 -
PROFIdrive - PZD send signals interconnection, manufacture specific 27.06.13 V05.02.03 S120/S150/G130/G150
ZSW1.4 1 = No coast down active (OFF2 inactive) p2080[4] = r0899.4 [2503.7] [2610] -
© Siemens AG 2022 All rights reserved
ZSW1.5 1 = No quick stop active (OFF3 inactive) p2080[5] = r0899.5 [2503.7] [2610] -
ZSW1.8 1 = Speed setpoint - actual value deviation within tolerance t_off p2080[8] = r2197.7 [2534.7] [8010] -
[5610] <5>
ZSW1.11 1 = I, M, or P limit not reached <4> p2080[11] = r1407.7 [2522.7]
[6060]
ZSW1.15 1 = No alarm, thermal overload, power unit p2080[15] = r2135.15 [2548.7] [8021]
<5> <3> The drive object is ready to accept data.
<1> Used in telegrams 1, 2, 3, 4, 5, 6, 352. <4> Not for VECTOR U/f.
<2> The ZSW1 is generated using the binector-connector converter (BI: p2080[0...15], inversion: p2088[0].0...p2088[0].15). <5> Only for SINAMICS S120.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2452_54_eng.vsd Function diagram
- 2452 -
PROFIdrive - ZSW1 status word interconnection (p2038 = 0) 23.04.20 V05.02.03 S120/S150/G130/G150
ZSW2.0 1 = Drive data set DDS effective, bit 0 p2081[0] = r0051.0 - [8565] -
ZSW2.1 1 = Drive data set DDS effective, bit 1 p2081[1] = r0051.1 - [8565] -
ZSW2.2 1 = Drive data set DDS effective, bit 2 p2081[2] = r0051.2 - [8565] -
ZSW2.3 1 = Drive data set DDS effective, bit 3 p2081[3] = r0051.3 - [8565] -
ZSW2.4 1 = Drive data set DDS effective, bit 4 p2081[4] = r0051.4 - [8565] -
© Siemens AG 2022 All rights reserved
ZSW2.9 Reserved - - - -
<3>
<3> Only for SINAMICS S120.
<1> Used in telegrams 2, 3, 4, 5, 6, 9, 110, 111. <4> Not for Vector U/f.
<2> These signals are automatically interconnected for clock-cycle synchronous operation.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2454_54_eng.vsd Function diagram
- 2454 -
PROFIdrive - ZSW2 status word interconnection (p2038 = 0) 27.06.13 V05.02.03 S120/S150/G130/G150
1 = Ramp-up/ramp-down completed
MELDW.0 p2082[0] = r2199.5 [2537.7] [8010] -
0 = Ramp-function generator active
MELDW.1 1 = Torque utilization [%] < torque threshold value 2 (p2194) p2082[1] = r2199.11 [2537.7] [8012] -
MELDW.2 1 = |n_act| < speed threshold value 3 (p2161) p2082[2] = r2199.0 [2537.7] [8010] -
MELDW.3 1 = |n_act| speed threshold value 2 (p2155) p2082[3] = r2197.1 [2534.7] [8010] -
MELDW.7 1 = No alarm, thermal overload, power unit p2082[7] = r2135.15 [2548.7] [8021]
MELDW.8 1 = Speed setpoint - actual value deviation within tolerance t_on p2082[8] = r2199.4 [2537.7] [8010] -
MELDW.9 1 = ESR reaction initiated / Generator mode active <3> p2082[9] = r0887.12 - - -
MELDW.10 Reserved - - - -
<1> Used in telegrams 102, 103, 105, 106, 110/111 (only for EPOS), <2> The status word is generated using the binector-connector converter p2088[2].
116, 118, 125, 126, 136, 138, 139, 146, 148, 149. <3> Only available when the function module "Extended setpoint channel" is active (r0108.9 = 1).
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2456_01_eng.vsd Function diagram
- 2456 -
PROFIdrive - MELDW status word interconnection 23.07.18 V05.02.03 SINAMICS S120
p2088[2].0 p2048
p2088[0].0
p2088[2].15
p2088[0].15
p2088[3].0
© Siemens AG 2022 All rights reserved
0
[15]
(0)
1 1 p2083[0...15] 0 Free status word 4
[0]
(0) r2089[3]
(0) [1]
1 1
p2088[3].15
p2088[1].0
0
p2081[0...15] 0 Status word 2 [15]
[0] (0)
(0) r2089[1] 1 1
(0) [1]
1 1
p2088[1].11
p2088[4].0
0
[11] p2084[0...15] 0 Free status word 4
(0) [0]
(0)
[12] 1 1 (0) r2089[4]
(0) [1]
1 1
<2> <1>
[15] p2088[4].15
(0)
0
<1> For clock-cycle synchronous all drive objects, these signals must not be [15]
interconnected (slave sign-of-life). (0)
1 1
<2> Only for SINAMICS S120.
1 2 3 4 5 6 7 8
DO: All objects fp_2472_54_eng.vsd Function diagram
- 2472 -
PROFIdrive - IF1 status words, free interconnection 23.08.18 V05.02.03 S120/S150/G130/G150
p0845[C]
(1)
& Bit No. Control word sequence control
STW seq ctrl
r0898
OFF2 S_src 2 (electr) p0840[C]
= ON
1. OFF3 (fast stop) (0) 0 <3> r0898.0 To the sequencer [2610]
0 = OFF1
<6> p0848[C]
<3> (1) 1 = Operating condition, no coast stop (no OFF2)
1 r0898.1 To the sequencer [2610]
p0849[C]
(1)
& 0 = OFF2
(0)
p1141[C]
[2425] <2> (1) 5 1 = Unfreeze ramp-function generator <3> r0898.5 To setpoint channel [3060.1] [3070.1]
Enable n_set
To setpoint channel [3060.1] [3070.1] [3080.4]
<3> p1142[C] 6 1 = Enable speed setpoint r0898.6
To servo control [5020.1] (only S120/S150)
(1)
p0855[C]
<4> p1152
(r0899.15)
& (0) 7 1 = Command, open brake <3> r0898.7
To brake control [2701.5]
To expanded brake control [2707.1]
p1055[C]
Setpoint 2 To jog [3030.6]
(0) 8 1 = Jog 1 <3> r0898.8
enable To ramp-function generator tracking [3080.3]
[2711.8] p1056[C]
To jog [3030.6]
(0) 9 1 = Jog 2 <3> r0898.9
To ramp-function generator tracking [3080.4]
p0854[C]
(1) 10 1 = Control by PLC <1> <3> <5> r0898.10
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_2501_54_eng.vsd Function diagram
- 2501 -
Internal control/status words - Control word, sequence control 22.12.11 V05.02.03 S120/S150/G130/G150
PROFIdrive bit
2000.00 µs
ZSW sequence ctrl <6>
Bit No. Status word sequence control r0899
From the sequencer [2610] 1 1 = Ready for operation (DC link loaded, pulses inhibited) r0899.1
p2810[0]
2 1 = Operation enabled (drive follows n_set) r0899.2 (0)
2. OFF2
p0845[C] 3 1 = Jog active
[4015.1]
r0899.3
p2810[1]
(0)
& r2811.0
[2428]
(1)
<5>
2. OFF3 <2>
From the sequencer [2610] 4 1 = No coast down active (OFF2 inactive) r0899.4
p0849[C]
[2701.1], [2711.1]
(1)
© Siemens AG 2022 All rights reserved
INF operation From the sequencer [2610] 5 1 = No quick stop active (OFF3 inactive) r0899.5
p0864
(0) 6 1 = Switching on inhibited active r0899.6
[2701.1], [2711.1]
OFF1
& 7 1 = Drive ready r0899.7
OFF2
1 8 1 = Controller enable r0899.8
OFF3
Bit 9 = 1 --> Ready to exchange process data 9 1 = Control requested <1> <6> r0899.9
Enable
internal
missing 10 Reserved
or
fault with
From the sequencer [2610.4] 11 1 = Pulses enabled r0899.11
this reaction
From the basic brake control (r0108.14 = 0) [2701.8] 1 = Open the holding brake (only for booksize units when the brake is
12 r0899.12
From the expanded brake control/standstill detection (r0108.14 = 1) [2711.8] connected to the power unit)
From the expanded brake control/standstill detection (r0108.14 = 1) [2711.8] 14 1 = Pulse enable from the brake control <3> r0899.14
From the expanded brake control/standstill detection (r0108.14 = 1) [2711.8] 15 1 = Setpoint enable from the brake control <3> r0899.15
<1> The drive object is ready to accept data. [4015.1]
<2> Only for Telegram 220.
<3> These signals are only relevant if the "extended brake control" function module is active (r0108.14 = 1).
<4> If "Safe Brake Control" (SBC) is activated and selected, the brake is no longer controlled via this signal.
<6> For DO ENC only bit 9.
<5> Only with message frame 220 and activated function module "Extended brake control" (r0108.14 = 1), otherwise hard wiring set to 1.
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_2503_54_eng.vsd Function diagram
- 2503 -
Internal control/status words - Status word, sequence control 24.11.11 V05.02.03 S120/S150/G130/G150
p0115[3]
4 Reserved
© Siemens AG 2022 All rights reserved
7 Reserved
8 Reserved
9 Reserved
10 Reserved
12 Reserved
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_2505_51_eng.vsd Function diagram
- 2505 -
Internal control/status words - Control word, setpoint channel 14.05.20 V05.02.03 SINAMICS
.
<2> <3>
ZSW n_ctrl p0115[1] (Motor Modules)
Bit No. Status word, speed controller Servo Vector r1407
1000.00 µs
0 1 = U/f control active r1407.0 <2> <3>
To the speed actual value and pole position
<3> 1 1 = Sensorless operation active r1407.1 sensing, motor encoder (encoder 1)
[4710.4] <3>, [4715.4]
1 = Torque control
r1406.12 To speed setpoint, droop [6030.5]
<2>
Sensorless operation & 2 1 = Closed-loop torque control active r1407.2
To torque setpoint [6060.3]
OFF3
1 [6040.4]
8 1 = Torque limiting, upper, active r1407.8 Motor locked/stalled [8012.5]
<3>
9 1 = Torque limiting, lower, active r1407.9
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR Zeichnung1 Function diagram
- 2522 -
Internal control/status words - Status word, speed controller 21.10.14 V05.02.03 S120/S150/G130/G150
p0115[3]
0 Reserved
4 Reserved
© Siemens AG 2022 All rights reserved
5 Reserved
8 Reserved
9 Reserved
10 Reserved
11 Reserved
12 Reserved
14 Reserved
15 Reserved
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2534_54_eng.vsd Function diagram
- 2534 -
Internal control/status words - Status word, monitoring functions 1 09.11.16 V05.02.03 S120/S150/G150/G150
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2610_54_eng.vsd Function diagram
- 2610 -
Sequence control - Sequencer 20.02.18 V05.02.03 S120/S150/G130/G150
7.8.24 FP 2634: Sequence control - Missing enable signals, line contactor control, logic operation
p2810[1]
(0)
& r2811.0
AND operation p2822[1]
(0) 1 r2823.0
1
Operation monitoring
(0) 1 r2823.1
p2816[0] <3>
(0) p2822[2]
(0) 1 r2823.2
p2816[1]
(0)
1 r2817.0
OR operation
p2822[3]
<1> For VECTOR is valid: Factory setting 1000.00 µs.
<2> Only for VECTOR.
(0) 1 r2823.3 <2> Only for AC/AC devices, diode infeed.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_2634_54_eng.vsd Function diagram
- 2634 -
Sequence control - Missing enable signals, line contactor control, logic operation 20.02.18 V05.02.03 S120/S150/G130/G150
p0115[3]
Jog 1
r0898.8
r1024 Jog 2
r0898.9
Main setp scal
p1070 0 0
Main setp scal +
[3010] Fixed speed setpoints p1071 +
Suppl setpoint 0 1
p1075 n_set_1
Suppl setp scal
p1076 1 0
+/- r1114
Jog setpoint 1
p1058
pos
r1050
1 1 neg
Jog setpoint 2
p1059 (-1)
[3030] Main/supplementary setpoint, setpoint [3040] Direction limitation [3050] Skip (suppression) bandwidth
© Siemens AG 2022 All rights reserved
[3020] Motorized scaling, jogging and direction reversal and speed limiting
potentiometer r1119
n_set_4 p1155
DSC T_SYMM Balancing [5030.1] 0 + n_ctrl setp sum
p1195
r1170
+
1 + [1590.1]
p1160 [1700.1]
[3060] Basic ramp-function
NSOLL_B Spline-Interpolation n_pre_control generator r1438
p1430 [5020.1]
+
p1191 Dynamic –
setpoint limit ZSW r1199 n_act
x,y x Kp 2a x
y + n_set from DSC
DSC_XERR [5020.1] Ramp-function
p1190 generator M_limit
+ + [5030.1]
+ – tracking
t
– 2a x
Interpolator [3070] Expanded
DSC position
controller ramp-function generator
[3080] Ramp-function generator selection,
Deadtime element
from status word, tracking
PROFIdrive
x_act Simulate ramp-function generator
<1>
[3090] Dynamic Servo Control (DSC) linear and DSC spline (r0108.6 = 1)
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_3001_51_eng.vsd Function diagram
- 3001 -
Setpoint channel - Overview 14.05.20 V05.02.03 SINAMICS
Ramp flattening-off
Tup Tdn
© Siemens AG 2022 All rights reserved
x Tup Tdn
RFG setpt at inp 0 0
1 1 p1082
r1119 x y [3080.1]
[3050.8] 1 1
t
0 0 -p1082
p1140 1 = Ramp-function generator enable <3>
0 = Freeze ramp-function generator
<1> p1141 1 = Continue ramp-function generator 1 y [2501.3] r0898.4
[2501.3] r0898.5 p1082
& -p1082
Tup Tdn
RFG acceleration
r1149
<4>
RFG accept set v
Other status bits
p1143[C]
(0) 1
RFG setting value Ramp-up active
x
p1144[C] + – 0
(0) y Ramp-down active
<1> For SERVO and VECTOR, the following applies: Inhibited during jogging.
<2> Only for SINAMICS S120. p1082
<3> After a 0/1 signal a ramp-up is started again.
<4> With simultaneous jog 1 and 2 (p1055 = p1056 = 1) the last setpoint n_max
<2> Ramp-function generator, status bits
remains effective (Freeze ramp-function generator). [3080.5]
RFG tol HL/RL act
<100> For SERVO, the following applies: Only if the function module
0.000...1000.000 [rpm]
"Extended setpoint channel" is activated (r0108.8 = 1).
p1148[D] (19.800)
<101> To view the pre-assignment of the sampling times in p0115, refer to p0112.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_3060_51_eng.vsd Function diagram
- 3060 -
Setpoint channel - Basic ramp-function generator 14.05.20 V05.02.03 SINAMICS
7.8.27 FP 3080: Setpoint channel - Ramp-function generator selection, status word, tracking
p0115[3] (Drive Object) Enable ramp-function generator Config.SetpointChannel p0115[1] (Drive Object)
r0898.4
Enable speed setpoint <101>
Jog 1 r0898.6
r0898.8
&
Jog 2 n_ctrl n_set 1/2
r0898.9 r1169
n_ctrl n_set 1 <5>
Ramp-function generator selection p1155[C] <3>
p1189.1 Friction characteristic record
1
<2> <2> (0) x,y x
n_ctrl n_set 2 T1 y No OFF2
p1160[C] 0 + 1 x y &
(0) No OFF3
f_set +
<8> 0 + 0 t
Sync f_corr [Hz] Interpolator
<7> [7020.8] r3812 1 +
Not SERVO or
RFG selection r0108.8 = 1 (Extend setp) p1189.0 0 n_ctrl setp sum
p1115 Synchronization
x,y T1 x r1170 [3050.1]
No OFF1 +
© Siemens AG 2022 All rights reserved
y
No OFF2 & 0 1 x y 1 <5> [5020.1] <6>
0 [6030.1]
0 No OFF3
[6301.1] <9>
From the ramp-function
1 0 t [8011.2]
RFG n_set at outp RFG track intens generator friction characteristic
1 Interpolator [7010.6]
r1150 0.0...50.0
p1151.1 p1151.2 p1145[D] (1.3)
<4>
Ramp-function generator tracking [3060.1]
Torque limit reached
[3070.3]
r1407.7 Ramp-function generator tracking active
<1> For p1145 > 0, ramp-function generator tracking is activated when the r1199.5
torque limiting responds. This means that the speed controller output only exceeds the torque limit by a deviation that
can be set via p1145. Ramp-function generator status word RFG ZSW
<2> For OFF1/OFF3, the ramp-function generator ramp is active. The ramp-function generator is set (SERVO: to the actual Bit Meaning r1199
value, VECTOR, VECTOR3P, VECTORGL, VECTORSL: to the setpoint (r1170)) and stops the drive with the 0 Ramp-up active r1199.0 [6301.1]
ramp-downtime (p1121 or p1135). STW1.4 (enable ramp-function generator) is effective while the drive is stopped via
1 Ramp-down active
the ramp-function generator. Depending on the p1115, the basic ramp-function generator [3060] or the extended
ramp-function generator [3070] is effective. 2 Ramp-function generator active r1199.2 [6726.4]
1 3 Ramp-function generator set r1199.3 [6031.1]
For SERVO is valid: When the function module "extended setpoint channel" is not active (r0108.8 = 0), for OFF1/OFF3
the down ramp of the basic ramp-function generator is effective (refer to n_set_4 on [3060.8]). 4 Ramp-function generator held <1>
<3> The interpolator is only active with activated "basic positioner" Function Module or with isochronous PROFIdrive mode 5 Ramp-function generator tracking active r1199.5 [6031.1]
and sign of life received by the master (STW2.12 ... STW2.15). 6 Maximum limiting active
<4> Behavior of the response ramp of the torque limiting: 7 Ramp-function generator speedup positive
p1145 = 0.0: No ramp-function generator tracking. The ramp-function generator ramp is no longer in the range of the 8 Ramp-function generator speedup negative
speed actual value. 9 Reserved
p1145 = 1.0: The ramp-function generator ramp remains as close as possible to the speed actual value. ... ...
p1145 > 1.0: The ramp-function generator ramp is steeper than for p1145 = 1.0 (higher "speed following error"). 15 Reserved
<5> The value is displayed correctly only with r0899.2 = 1 (Operation enabled).
<6> For SERVO only.
<7> For VECTOR, VECTOR3P only.
<8> For VECTORGL only.
<9> For VECTOR3P, VECTORM2C, VECTORSL only. <101> To view the pre-assignment of the sampling times in p0115, refer to p0112.
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_3080_51_eng.vsd Function diagram
- 3080 -
Setpoint channel - Ramp-function generator selection, status word, tracking 14.05.20 V05.02.03 SINAMICS
7.8.28 FP 3090: Setpoint channel - Dynamic Servo Control (DSC) linear and DSC spline
Higher-level motion control SINAMICS PROFIdrive sampling time p0115[1] (Drive Object)
[2522.1]
DSC_STW p1191 > 0 (connected)
Motion Control p1194
[2522.1]
n_set from DSC
& r1407.4
DSC T_SYMM
Path p1195
DSC T_SYMM_ADD
p1427(DDS) 1
Interpolation 1
n_cmd Speed pre-control <8>
Balancing 0
p1430 1 0
Spline torque
0 pre-control on
Offset and + DSC KPC
Compensation x_cmd r1407.22
p1191 Spline-Interpolation 1
1 n_prectrl
+ + <4>
spline
© Siemens AG 2022 All rights reserved
x XERR
S&H DSC XERR 0
– 0
Position actual value T_MAPC SET {1} p1190 DSC x_set
generation r1196 Spline speed
Master Application Cycle-Time <6> pre-control
r1407.21 Speed pre-control
Encoder signals acc. telegram Application clock-cycle
[2415], [2416] and [2419] synchronous (at PROFIdrive) Dynamic setpoint limit
+ 1 x,y x 2a x
Enc G1_XIST1 <5> Kp <7>
y +
r0482[0] x n_set from DSC
<4>
Enc G2_XIST1 + 0 + + [5020.1]
r0482[1] Dir of rot –
DSC enc selection t [5030.3]
Enc G3_XIST1 p1192
p1821[D]
Spline- – 2a x
Interpolator DSC position
r0482[2] Invert position act value DSC encod PROFIdrive Interpolation
From motor p0410.1[E] Transmission Speed controller sampling time controller
AdaptFact DSC on
Diag G1_XIST1 encoder <2> <10> p1193 (1) Delay r1407.20 T_SAPC
1 <3>
r0479[0]
Diag G2_XIST1 <9> 0 0 SET
x y Slave Application cycle-time <8>
With active symmetrization
2
r0479[1] S&H (T_SYMM > 0), the speed
-1 1 -1 1 {2} feedforward value is balanced
Diag G3_XIST1
3 SET using the sum of the following time
r0479[2] <4> {3} x y Fast position
Position actual value from
S &H constants:
<1> actual value channel T_SYMM (refer to p1195) +
encoder 1, 2, 3 [4704.8]
T_SYMM_ADD (p1427) + 0.5 *
<1> Principle of operation of Dynamic Servo Control (DSC): The feedback branch {2} completely <3> The deadtime for the PROFIdrive data transfer is set automatically. T_Speed controller (p0115[1]).
compensates the feedback coupling branch {1} in respect of the position actual value sent from the <4> The position deviation must be referred to the increments of the motor <9> It is actualised with every DRIVE-
drive. The fast actual value channel {3} allows for a high dynamic performance and high Kv factors. including the fine resolution. CLiQ base tact.
<2> For the motor encoder (p1192 = 1) p1193 = 1 is effective. <5> Normalization of KPC: If signal x = 1 motor revolution and <10> Not for drive object ENC.
When using encoder 2 or 3 (p1192 = 2, 3), p1193 corresponds to the "Increments per motor encoder KPC = 1, then "n_set from DSC" = 0.001 motor revolutions/s. <101> To view the pre-assignment of the
revolution/increments of the encoder selected (2, 3) during one motor rotation" (considering gear <6> Clock-synchronous operation must be active for DSC. sampling times in p0115, refer to
ratios and also different encoder lines and fine resolutions). <7> Only for p1400.17 = 1 and at limitation becomes p1407.19 = 1. p0112.
1 2 3 4 5 6 7 8
DO: SERVO fp_3090_01_eng.vsd Function diagram
- 3090 -
Setpoint channel - Dynamic Servo Control (DSC) linear and DSC spline (r0108.6 = 1) 11.02.16 V05.02.03 SINAMICS S120
p0433[E] r0482[n-1]
-1 1 -1 1
[3090.1], [4010.1],
1 signal period Load gear, activate position tracking 0 <5> [4735.6], [4740.6]
p2720.0[D]
For SSI encoders: Absolute position information
<9> <11>
<9> <11> <2> <7> <9> <12>
Sequence control 0 Load gear abs_val
0
r2723[n-1]
& -1 1
[4010.1]
1
Enc fine
Gx_XIST2
p0419[E] Dir of rot
p2721[D] p1821[D]
and [4735.7]
p2504[D]/p2505[D] <11> <2> <7> <12>
x2n 0 Enc Gn_XIST2
(only for absolute value encoders,
r0483[n-1]
e.g. EQN) Encoder error -1 1
[4010.1]
processing
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_4704_55_eng.vsd Function diagram
- 4704 -
Encoder evaluation - Position and temperature sensing, encoders 1 22.08.18 V05.02.03 SINAMICS S120/S150
7.8.30 FP 4710: Encoder evaluation - Speed actual value and pole position sensing, encoder 1
<1> <3>
Inv enc act val
<2>
p0410.0[E]
Enc commut_factor
r0451
0 Pole pos el norm
Pole position sensing r0093
-1 1 <1>
including measuring gearbox Inv enc act val
p0432[E], p0433[E] p0410.0[E]
0 Transformat_angle
r0094
-1 1
1 encoder revolution
© Siemens AG 2022 All rights reserved
C
r1407.1
(refer to p1300 [5060])
D
n_act calculation
Zero mark
n_act smooth
C, D <1> r0021
n_act T_smooth
Gearbox enc Inv enc act val 0.00...50.00 [ms] 100 ms
p1441[D] (0.00) n_act rpm smooth
p0432[E] p0410.0[E]
r0022
1 n_act smooth
Diag G1_XIST1 Fine resolution up dx 0 0 r0063
x y
r0479[0] for the speed n_act
dt is used as the-1input, instead of
-1
r0479 0 To Basic brake control (r0108.14 = 0) [2701.1]
actual value dn 1 1
Raw position III To Extended brake control, zero-speed
signals from Smoothing detection (r0108.14 = 1) [2704.1]
encoder 1 To Speed signals [8010.1]
Gearbox mot Dir of rot
p0433[E] p1821[D]
n_act measurement
n_act encoder 1
r0061[0]
<4>
1 2 3 4 5 6 7 8
DO: ENC, SERVO fp_4710_01_eng.vsd Function diagram
- 4710 -
Encoder evaluation - Speed actual value and pole position sensing, encoder 1 21.06.16 V05.02.03 SINAMICS S120
7.8.31 FP 4715: Encoder evaluation - Speed actual value and pole position sensing, encoder 1, n_act_filt 5
Induction motor and synchronous motor Only for synchronous motor p0115[0]
n_act T_smooth
n_act measurement Gearbox enc Inv encoder actual value 0.00...1000.00 [ms]
p0432[E] p0410.0[E] p1441[D] (0.00)
<2>
encoder 1
1 encoder revolution Gearbox mot Dir of rot
<4> <5> p0433[E] 0 p1821[D]
C Encoder angle [6731.1]
-1 1 [6732.1]
D n_act_filt 5 fn_n
Zero mark p1678[D] 1 = Sensorless operation active
n_act filt 5 D_n r1407.1
p1679[D]
p1656[D].4 To basic braking control [2701.1]
p1677[D] To extended braking control [2704.1] <7>
|y| To speed controller with/without encoder [6040.1]
Speed actual value filter 5 D y
0 n_act To Kp_n-/Tn_n adaptation [6050.1]
<11> x 1 0 unsmoothed To current/power/torque limits [6640.1]
r0063[0] To Iq and Id controllers [6714.7]
I/n_setp_filt5 f_n fn 1
f 2 1 To field-weakening characteristic [6722.1] <7> [6724.1]
p1655[4] To motor model select [6733.1] <6>
<10> (1) <9> To display signals [6799.1]
n_act filt 5 fn_n n_act_ filt 5 D_n To speed signals 1[8010.1]
p1680[D] p1681[D] To interface to the Motor Module [6730.1] <7>
1 2 3 4 5 6 7 8
DO: VECTOR fp_4715_54_eng.vsd Function diagram
- 4715 -
Encoder evaluation - Speed actual value and pole position sensing, encoder 1, n_act_filt 5 12.03.14 V05.02.03 S120/S150/G130/G150
<3> The bits are processed with the following priority sequence (highest priority lowest
14 1 = Request parking encoder (handshake with Gn_ZSW bit 14) <4> priority bit): Bit 14 Bit 15 Bit 4… Bit 12 Bit 13.
<4> The checkback signal is provided in Gn_ZSW bit 14, but the encoder is not actually
= Acknowledge encoder fault (located in Gn_ZSW, bit 15; parked.
15 <5> If the "position module" function module (r0108.3 = 1) is activated, the interconnection
Handshake with Gn_ZSW bit 11)
is established via r2520[0 from [4010.8].
<3> If a standard telegram (PROFIdrive) is selected, the interconnection is performed
according to the specifications of the standard telegrams [2415] and [2416].
<6> DO ENC only encoder 1 acc. index = 0.
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_4720_55_eng.vsd Function diagram
- 4720 -
Encoder evaluation - Encoder interface, receive signals, encoders 1 3 22.08.18 V05.02.03 SINAMICS S120/S150
Enc Gn_ZSW
to the sequence control for Gn_XIST2
Bit No. Status word from encoder n (n = 1, 2 or 3) <2> r0481[n-1]
[4704.5]
<1> <2>
Feedback signal of the active function (1 = function active)
Bit 0
Function For reference number and flying
No. measurement
Bit 1
1 reference mark 1 or measuring probe 1
Bit 5 1 = Position actual value from function 2 Generated value Position value 2 from encoder n <2>
in Gn_XIST2
(and can be The contents of position actual value 2 (Gn_XIST2) at [4704] depends on Gn_STW and Gn_ZSW.
Bit 6 1 = Position actual value from function 3 read) This can be done as follows:
Bit 10 Reserved
<1> Index [n-1] encoder n Bit 14 Parking encoder active (i.e. the encoder is not operational)
Index [0] encoder 1
Index [1] encoder 2
Index [2] encoder 3 Bit 15 Encoder fault, the fault is in Gn_XIST2 (r0483)
<2> DO ENC only encoder 1 acc. index = 0.
1 2 3 4 5 6 7 8
DO: ENC, SERVO, VECTOR fp_4730_55_eng.vsd Function diagram
- 4730 -
Encoder evaluation - Encoder interface, send signals, encoders 1 21.08.18 V05.02.03 SINAMICS S120/S150
7.8.34 FP 5019: Servo control - Speed control and U/f control, overview
20 … 0
Torque
n_set after n_act > p1404 setpoint
n_ctrl setp sum Kp n_ctrl p1300 Torque
filter
r1170 r0062 PI-M_output pre-control
0 M_set before
[3001.8] r1480
21 M_limit
[5040.8]
n_pre-ctrl_1 Reference r1509
1 [5700.1]
p1430 Tn
model 20
(0)
Pre-control
symmetriz-
[5020] Speed setpoint filter ation Integrator [5610] Torque limiting
and speed pre-control Control
© Siemens AG 2022 All rights reserved
Sampling times:
[5030] Speed limiting [5040] Speed controller
r1438 n_ctrl 1000.00 µs Adaptation
n_act smooth PI-M_output Closed-loop speed
n_act measured p0115[1] (125.00 µs)
Speed actual value sensing r0063 r1480 control
n_act calculated Closed-loop current
[5210.7] p0115[0] (125.00 µs)
[4710] control
p1317
n_ctrl n_set U_quadrature
r1438 axis_set
n_set after filter 0
r1733
Acceleration Uq
r0062 1
model
U_direct axis_set [5730.1]
0
r1732
[5210] Closed-loop speed control, servo with encoder 1 Ud
n U
p1400 r1407 r0056
f f ... ... ...
Ramp-function generator
[5300] U/f open-loop control for diagnostics
1 2 3 4 5 6 7 8
DO: SERVO fp_5019_01_eng.vsd Function diagram
- 5019 -
Servo control - Speed control and U/f control, overview 26.04.13 V05.02.03 SINAMICS S120
7.8.35 FP 5020: Servo control - Speed setpoint filter and speed pre-control
y speed controller
p1414.0[D] y [5210.1]
x y
x y and to
n_set from DSC 1 reference model
t
[5030.1]
0 t
0 PT1 low pass
<4> 1 PT1 low pass
n_ctrl setp sum fn_d fn_d
p1417[D]
r1170 + D_d p1423[D]
0 + D_d
p1418[D] p1415[D] p1424[D] p1421[D]
Speed setpoint from DSC n before setpoint filter n after setpoint filter
from function generator from function generator
r1407.4 |y| 0 |y| 0
x D y D
1 x y 1
2 2
fn fn
f f
PT2 low pass PT2 low pass
fn_n D_n
p1419[D] p1420[D] fn_n D_n
<1> Only for encoder:
p1425[D] p1426[D]
p1400.10 = 1 is recommended if a torque pre-control signal is also
connected at [5060] in addition to the speed pre-control signal.
<2> The interpolator is only effective for clock-cycle synchronous y
y
PROFIdrive operation and sign-of-life received from the master x y
(STW2.12 ... STW2.15). If the Dynamic Servo Control (DSC) is x y
active, an additional deadtime of one speed controller sampling f
time is effective. 2nd Order filter f
<3> For a 1/0 edge from control command STW2.8 "travel to fixed 2nd Order filter
stop" [2444] the output of all filters is set to the input value for an
instantaneous response to a change of the speed setpoint sign. fn_d D_d
<4> The value is displayed correctly only with r0899.2 = 1 (Operation p1417[D] p1418[D] fn_d D_d
enabled). p1423[D] p1424[D]
1 2 3 4 5 6 7 8
DO: SERVO fp_5020_01_eng.vsd Function diagram
- 5020 -
Servo control - Speed setpoint filter and speed pre-control 14.07.14 V05.02.03 SINAMICS S120
x Pre-control balancing y
Speed 1 r1407.11
To status word,
Simulation of the build-up of the pre-control torque
limiting speed controller [2522.3]
n_prectrl after sym
y = x for the factory setting
r1432[0]
n_ctrlRefMod t_dead
© Siemens AG 2022 All rights reserved
0.00...2.00
p1435[D] (0.00)
Reference model n_ctrl RefMod fn n_ctrl RefMod D
speed setpoint 0.0...8000.0 [Hz] 0.000...5.000
I component Sampling time, speed control (p0115[1])
p1433[D] (0.0) p1434[D] (1.000)
p1400.3
n_set I_comp
r1439
+
1 x Reference model y To speed controller
[5040.1]
Emulating the P-controlled speed control loop +
From setpoint limiting n_limit neg eff
0 y = x for the factory setting r1436
[3050.8] r1087
RefMod v_set outp
[3095.7]
<1> Only if control priority is with control panel with speed setpoint input.
1 2 3 4 5 6 7 8
DO: SERVO Zeichnung2 Function diagram
- 5030 -
Servo control - Reference model/pre-control balancing/speed limitation 14.07.14 V05.02.03 SINAMICS S120
1 2 3 4 5 6 7 8
DO: SERVO fp_5040_01_eng.vsd Function diagram
- 5040 -
Servo control - Speed controller with encoder 26.07.13 V05.02.03 SINAMICS S120
7.8.38 FP 5042: SERVO control – Speed controller, M/n pre-control with encoder
p1413.1 TF Kp Tn
fn_d D_d r1481
From Advanced Speed setpoint limited
p1447[D] p1448[D] <2>
Positioning Control r1407.11
0 +
[2522.3] n_ctrl PI-M_output
– |y| (M_set_4) To torque
n_set after filter x –
1 r1480 setpoint input
r0062 x D y
+ Acceleration n_act smooth [5060.2]
<2>
model r1445 n_ctrl I-M_output
fn
f r1482
n_limit neg eff <3> PT2 low pass n_ctrl integ stop
<2> <3>
r1087 fn_n D_n p1476[C]
p1449[D] p1450[D] p1446[D] (0)
Mot M_inertia n_ctrl integ set
0.000 00...100 000.000 00 [kgm²] p1477[C] Integrator control
|y| 1
p0341[M] (0.000 00) (0)
Total moment x y n_ctr integ_setVal
Load mom of inertia of inertia 2 p1478[C]
p1498 Mom of inert total f
2nd Order Filter
(0)
+ r1493 <5>
I component frozen
+ Speed controller r1407.5 [2522.3]
fn_d D_d M_accel T_smooth
0.00...100.00 [ms] Torque limit reached Servo control enable
1447[D] p1448[D] I component set
Mom of inert scal p1517[D] (4.00) from sequence control S4: Operation
Mot MomInert Ratio r1407.7 r1407.6 [2522.3]
p1497[C]
1.000...10 000.000 M_accel unsmoothed Limit Vq
(1)
p0342[M] (1.000)
r1518[0] r1408.5
<1> For p1462 = 0 the I component is disabled (Integral time = ). [5060.2]
<2> This parameter is set to 0 when pulses are canceled. M_accel smoothed
<3> For torque control, the I component is set to the value of r1515 (total supplementary torque). r1518[1]
<4> The integrator of the speed controller is re-parameterized to become a PT1 filter through a feedback element (p1494). Smoothing
<5> Adjustment instructions: Correctly set p0341, p0342 and p1498 and set p1517 to 0.00 ms to achieve dynamic pre-control.
1 2 3 4 5 6 7 8
DO: SERVO fp_5042_01_eng.vsd Function diagram
- 5042 -
Servo control - Speed controller, M/n pre-control with encoder (p1402.4 = 1) 11.02.16 V05.02.03 SINAMICS S120
p1552
(1)
<1>
M_max upper total M_suppl
r1534 total
Sensorl op n_chgov r1515
0.0...210 000.0 [rpm] <1> <1>
p1404[D] (210 000.0)
© Siemens AG 2022 All rights reserved
1 2 3 4 5 6 7 8
DO: SERVO fp_5060_01_eng.vsd Function diagram
- 5060 -
Servo control - Torque setpoint, control type changeover 11.07.17 V05.02.03 SINAMICS S120
T_smooth display
from 0.00...50.00 [ms]
p0045 (1)
[5490.7]
M_set total 1 = Interpolation torque setpoint active
Torque limiting p1400.8
r0079[1] [8012.1]
x,y x
M_set before M_lim y
x y
1
r1509
+ [5710.1]
+
r0079[0] t 0
M_suppl 3
© Siemens AG 2022 All rights reserved
Interpolator <1>
p1569[C]
<3> (3841)
<1> For p0115[1] = p0115[0], the interpolator is automatically jumpered (bypassed) independently of the control.
<2> As for torque reduction (e.g. for "Travel to fixed stop (TfS)" with process data MOMRED), see PROFIdrive
telegrams 102 ... 106 [2419].
<3> Injecting an additional torque via p1569 is to be provided only for the friction characteristic, since this torque
setpoint input dynamically changes the torque limits to ensure a symmetrical control behavior (see [5650]).
1 2 3 4 5 6 7 8
DO: SERVO fp_5610_01_eng.vsd Function diagram
- 5610 -
Servo control - Torque limiting/reduction, interpolator 23.11.11 V05.02.03 SINAMICS S120
1000.00 µs
<3> F07090
Lower torque limit
p1521
<1> For p1400.4 = 0 the torque limits for the positive and negative torque direction (upwards and downwards) are compatible with MASTERDRIVES and MICROMASTER 4.
"Normal case": If neither dynamic limits nor offsets are required, the upper torque limit is entered via p1520 and the lower via p1521 (as a negative value).
<2> Danger: Negative values at A or positive values at B represent a minimum torque for the other torque direction and can cause the motor to accelerate uncontrollably.
!
<3> The limiter ensure that the limits do not mutually "overtake" one another. With A < B , fault F07090 is initiated.
<4> For manufacturer-specific PROFIdrive telegrams withPZD5 = MOMRED (e.g. telegrams 102 ... 106), r1543 is interconnected here [5610.4].
<5> The following applies to p0543 : The minimum value from p1520 and p0543 is used for further calculation.
<6> The following applies to p0543 : The minimum value from p1521 and negated p0543 is used for further calculation.
1 2 3 4 5 6 7 8
DO: SERVO fp_5630_01_eng.vsd Function diagram
- 5630 -
Servo control - Upper/lower torque limit 06.02.20 V05.02.03 SINAMICS S120
M_max_1 0
Iq_max_1
M_limit Vdc_max
From "upper/lower 1 Min
torque limits" [5650.1]
r1534
[5630.8]
M_min_1 0 Iq_min_1 >0
1
0
1
0
r1535 <0
© Siemens AG 2022 All rights reserved
-1
M_max_2
From "motoring/
regenerating
torque limits" >0
1
[5620.8] 0
M_min_2 0
<0
-1
P_max mot
0
0.00...100 000.00 [kW]
p1530 (0,00)
<0
Min M_max_3
P
M~ [Nm]
n
60 1000 P [kW]
M [Nm] = r1549
2π n [rpm]
1 2 3 4 5 6 7 8
DO: SERVO fp_5640_01_eng.vsd Function diagram
- 5640 -
Servo control - Mode changeover, power/current limiting 10.04.12 V05.02.03 SINAMICS S120
Motor Module
Iq controller
M_set_6 Iq
Iq_set U_quad_set |U|
[5019.8] r0077 r1733
+
– Trans-
M2Iq r0072
Adaptation Kp U_output
[5710]
M
Current setpoint filter 1 ... 4
~
Kp U
–
Id controller
[5711]
Current setpoint filter 5 ... 10 (r0108.21 = 1) [5714] Iq and Id controller Motor model
I_act U
r0069[0]
Id_act
r0076 Trans-
I_act V
r0069[1]
Synchronous motor
Field current input Iq_act
synchronous motor r0078[0] I_act W
r0069[2]
Limit
Induction motor
formation
Flux setpoint (input)
Induction motor
1 2 3 4 5 6 7 8
DO: SERVO fp_5700_01_eng.vsd Function diagram
- 5700 -
Servo control - Current control, overview 11.04.14 V05.02.03 SINAMICS S120
M_set FG
r1651 p0115[0] (125.00 µs)
<2> <1>
f f f f
<1> The data transfer time with parameter change can be set (p1699).
Monitoring
<2> or input SBT test torque [2836.8] (only if r10231.0 = 1).
1 2 3 4 5 6 7 8
DO: SERVO fp_5710_01_eng.vsd Function diagram
- 5710 -
Servo control - Current setpoint filter 1 04.11.19 V05.02.03 SINAMICS S120
7.8.45 FP 6020: VECTOR control – Speed control and generation of the torque limits, overview
n_prectrl
p1430[C]
Symmetrizing
(0) n_set I_comp p1541
2
t r1439
Reference model
p1400.3 [6060] Torque setpoint
–
I_outp max
p0640
Integrator control r0067
1 2 3 4 5 6 7 8
DO: VECTOR fp_6020_54_eng.vsd Function diagram
- 6020 -
Vector control - Speed control and generation of the torque limits, overview 25.04.19 V05.02.03 S120/S150/G130/G150
RFG set Mot M_mom of inert Mot MomInert Ratio a_prectrl scal p0115[1] (Motor Modules)
[3080.8] r1199.3 0.00000...100000.00000 [kgm²] 1.000...10000.000 0.0...10000.0 [%]
ZSW cl-loop ctrl
p0341[M] (0.00000) p0342[M] (1.000) p1496[D] (0.0)
RFG track act [2526.6] r0056
[3080.8] r1199.5 r0056.14
[6490.7]
Acceleration pre-control source r0056.15
M_inert scal s_src
p1400[D].2 M_mom inert tot_sc p1497[C]
a_prectrl r1493 (1)
p1495 <3> 1
0 Calculated accelerating torque
1
(0) [6060.1]
Acceleration calculation 0
0
p1400[D].10
1 p1400[D].20 p1400[D].2
n_prectrBal t_dead n_prectr bal T 1
1 0 r0056.14 1 0.0...3.0 0.00...10.00 [ms] p1400[D].3
r0056.15 p1428[D] (0.0) p1429[D] (0.00) p1496[D] >0 &
Reference model speed 0
p1400[D].10
© Siemens AG 2022 All rights reserved
1 2 3 4 5 6 7 8
DO: VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_6031_51_eng.vsd Function diagram
- 6031 -
Vector control - Pre-control balancing, reference/acceleration model 14.05.20 V05.02.03 SINAMICS
To Kp/Tn adaptation
Tn_n_adapt Tn_n_basic [6050.2]
From Kp/Tn adaptation [6050.7]
1 0 1 0
1 = Kp/Tn adaptation active
p1400.5
n_ctrl Tn eff
1 = Automatic Kp/Tn adaptation active r1469
<1> Dynamic reduction, field weakening
p1400.0
n_ctrl Kp eff
r1468
n_ctrl system dev n_ctrl P-M_outp
Kp Tn
© Siemens AG 2022 All rights reserved
r0064 Kp r1481
n_ctrl n_set Kp
r1438
n_ctr n_act T_smth + + <5>
0.00...32000.00 [ms] – +
M_max upper eff
p1442[D] (4.00)
r1538
p1452[D] (10.00)
<1> M_max lower eff Speed controller
n_ctrl n_act
r1539
p1440[C] n_act smooth Tn
r0063[0] r1445 n_ctrl I_sys dev Tn
– r1454 n_ctrl I-M_outp
r1482
+ Set [6030.1]
n_ctrl n_act inp Enable speed controller Hold Set Val
[2610.4]
from sequence control S4: Operation Speed control active
r1443
r1407.3 [2522.2]
[8012.6]
p1476 1 = Hold speed controller I component
[2520.3] r1406.4 1 = Speed controller I component frozen
n_set I_comp 1 = Set speed controller I component r1407.5
p1477
r1406.5 [2522.3]
[2520.3] n_ctrl I_val scal
Integrator control
r1439 p1479[C] 1 = Speed controller I component set
n_ctr integ_setVal
(1) r1407.6
<1> = Only for vector control without encoder. n_ctrl M_sv MHB p1478[C]
(0) [2522.3]
<2> For p1462/p1472 = 0.0 s or 100.0 s, the <4> p1475[C]
I component is disabled (integral action time = ). (0)
<3> Units Kp can be changed over via p0528. 1 = Torque limit reached
r1407.7
<4> Only for VECTOR.
<5> Or input SBT test torque [2836.8] <1> 1 = Sensorless vector control freeze I component
(only if r10231.0 = 1). p1400.1
1 2 3 4 5 6 7 8
DO: VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_6040_51_eng.vsd Function diagram
- 6040 -
Vector control - Speed controller with/without encoder 14.05.20 V05.02.03 SINAMICS
M_suppl 1 0
0 p0115[1] (Motor Modules)
p1511[C]
(0)
+ 1
+ p1400.14 1 = Torque pre-control
M_suppl 1 scal [6490.7]
p1512[C]
M_suppl 2 scal
p0856 1 = Speed controller enable 1
-2000.0...2000.0 [%] r0898.12
(0) [2501.7]
p1514[D] (100.0)
M_suppl 2 Vdc_max controller active <1>
0...100.00 [ms]
p1513[C] r0056.14 <5> <2> M_suppl total
<1> p1517[D] (4.00) <1>
(0) [2526.6] r1515
M_accel unsmooth M_accel smooth
1
r1518[0] r1518[1]
0 +
Calculated accelerating torque
0 M_suppl + M_accel
M_max upper eff +
1 r1516
r1538
M_max n-ctr upScal M_n_lim
p1540[C] [6640.8]
(1) 0 M_max outp n_ctrl upper limit
+
© Siemens AG 2022 All rights reserved
r1547[0]
Min 1 Torque limit reached
M_max up. w/o offs + Example: (without pre-control)
r1526 0 = Quick stop
M_max up w/o offs active (OFF3) 1 r1407.15
p1552[C] M_max lower eff r0899.5
(1) r1539
Upper torque limit active
0 = Speed control active Torque control active M_lim var/fixS_src
r1407.8
p1501 1 = Torque control active r1407.2 p1551[C]
[2520.3] r1406.12 [6030.5] (1) Upper torque limit active
p1300 = M Ctr 1 M_set bef. M_suppl r1407.8
Min
n_ctrl PI-M_outp r1508 [2522.3]
M_set from speet controller r1480 [6030.1] [6722.1]
0
[6726.7] + <3> M_set
M_set r0079
+
M_max low w/o offs p1503[C] 1 [6030.1] [6710.1]
(0) M_setp setVal SLVC Torque limiting [8012.1]
p1554[C]
(1) r1617 Lower torque limit active Lower torque limit active
M_max upper eff
[6726.8] <4> Max r1407.9 r1407.9
r1538
M_max low w/o offs [2522.3]
r1527
Current/torque limiting active
M_max nctr lowScal 1 M_max outp n_ctrl lower limit r0056.13
Max
p1541[C] + r1547[1]
+ [2526.2]
(1) 0 Torque limit reached
M_max lower eff
M_n_lim 1 r1407.7
[6640.8]
r1539 [2522.3]
<1> The signal is only effective after magnetization has been completed (r0056.4 = 1). <3> M_set is also influenced by the speed limit controller.
<2> Acceleration control is inhibited for p1517 = 100 ms. <4> Only for DO: VECTOR and sensorless SESM with speed controller inhibited r1776[4] = 0. <5> Not for DO: VECTORGL.
1 2 3 4 5 6 7 8
DO: VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_6060_51_eng.vsd Function diagram
- 6060 -
Vector control - Torque setpoint 14.05.20 V05.02.03 SINAMICS
A <1>
Example:
© Siemens AG 2022 All rights reserved
<1> Danger: Negative values at A or positive values at B represent a minimum torque for the other torque direction and can cause the motor to accelerate uncontrollably.
!
<2> Only for SINAMICS S120/S150:
The following applies to p0543 The minimum value from p1520 and p0543 is used for further calculation.
<3> Only for SINAMICS S120/S150:
The following applies to p0543 The minimum value from p1521 and negated p0543 is used for further calculation.
1 2 3 4 5 6 7 8
DO: VECTOR, VECTOR3P, VECTORGL, VECTORM2C, VECTORSL fp_6630_51_eng.vsd Function diagram
- 6630 -
Vector control - Upper/lower torque limit 14.05.20 V05.02.03 SINAMICS
Iq_max <2>
Isq_max
r1536 1
1
0
Vdc_min controller active 0
r0056.15
Iq_min
Isq_min 0
r1537 1
1
p1656.0[D]
0
p1656.1[D]
0
Isq_s T_smth FW 0 Iq_set <4>
© Siemens AG 2022 All rights reserved
p1654[D] r0077
1
Iq_set before filt I_set_filt 1 fn_d I_set_filt 2 fn_d 1 [6714.1]
r1650 p1658[D] p1663[D] [6721.1]
M_set Interpolator and [6725.1]
I_set_filt 1D_d [6727.1]
r0079 smoothing for I_set_filt 2 D_d
+ p1659[D]
voltage limits p1664[D]
+
p1657[D]
M_suppl 3 |y| p1662[D]
p1569[C] Isq_s T_smth_min y |y|
x D
p1653[D] 1
(3841) x D y 1
fn
f 2 fn
<2> f 2
M
I/n_setp_filt f_n I/n_setp_filt f-n <2>
Iq
p1655[0] p1655[1]
<3> (1) (1)
<1> I_set_filt 1 fn_n I_set_filt 1D_n <1>
p1660[D] p1661[D] I_set_filt 2 fn_n I_set_filt 2 D_n
p1665[D] p1666[D]
|y|
|y|
x y
x y
f <1>
2nd Order filter f <1>
2nd Order filter
n_act unsmoothed
I_act abs val unsmoothed I_act abs val smth
r0063[0]
r0068[0] r0027 P_act unsmoothed
300 ms
r0082[0] [6799.5]
T_smth display
T_smth display p0045
p0045
1 2 3 4 5 6 7 8
DO: VECTOR fp_6799_54_eng.vsd Function diagram
- 6799 -
Vector control - Display signals 11.06.13 V05.02.03 S120/S150/G130/G150
n_act smooth
r0063 <1> <2> <1> <2>
[4710] <1>
n_act unsmoothed n_act smth message
r0063 r2169
[4715] <2> [8012]
[8013]
r1438
[5210] <1>
<1> <2>
M_set total
r0079
[5610] <1>
[6060] <2>
M_max upper eff <1> <2> <3>
Limit value monitor
r1538
[5650] <1> M_act
[6640] <2> r0080
M_max lower eff [5730] <1>
r1539 [6714] <2>
[5650] <1>
[6640] <2>
n_act smth message
n_act smth message
Motor locked r2169
r2169
[8010]
[8010] [8012] Torque signals [8013] Load monitoring
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_8005_54_eng.vsd Function diagram
- 8005 -
Signals and monitoring functions - Overview 02.07.18 V05.02.03 S120/S150/G130/G150
0 ZSW Monitor 1
n_act smooth
n r2197
r0063
r2197.6
<5> n_act smooth signal
|n_act| > n_max
0...1 000 000 [ms] r2169 ZSW Monitor 3
0
p2153 (0) F07901 r2199
"Motor overspeed" r2199.0
0.00...60 000.00 [rpm] 1
n_act unsmoothed |n_act| < p2161
p2162[D] (0.00)
r0063[0] 1 = Magnetizing
<4> completed 0
0
r0056.4 F07822
© Siemens AG 2022 All rights reserved
ZSW Monitor 3
<1> VECTOR: Calculated. <1>
t_on cmpr val rchd r2199
<2> VECTOR: Depending on the drive unit (250 or 400 µs).
<3> VECTOR: Depending on the drive unit (1000 or 1600 µs). 0.000...300.000 [rpm] 0.0...10 000.0 [ms] r2199.1
<4> Only for VECTOR. p2142[D] (2.00) p2156[D] (0.0) f or n-comparison value reached/exceeded
<5> Only for SINAMICS S120 and SERVO. n_hysteresis 1
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_8010_54_eng.vsd Function diagram
- 8010 -
Signals and monitoring functions - Speed signals 1 01.06.16 V05.02.03 S120/S150/G130/G150
p0115[3] (<3>)
n_act smooth signal n_act 0
r2169 r2197.3
<2> <1> 0
n_hysteresis 3
n_set for msg 0.00...300.00 [rpm]
p2150[D] (2.00) n_set > 0
<5> p2151[C]
<7> r1170 r2198.5
0
n_thresh val 3
0.00...210000.00 [rpm]
n_hysteresis 3 p2161[D] (5.00)
0.00...300.00 [rpm]
© Siemens AG 2022 All rights reserved
p2150[D] (2.00)
n_set for msg <2>
p2151[C] |n_set| < p2161
<6> r1438 r2198.4
0
n_thresh val 4
0.00...210.000 [rpm]
p2163[D] (90.00) t_del_off n_i=n_se
0.0...500.0 [ms] n_hysteresis 3
p2166[D] (200.0) 0.00...300.00 [rpm]
p2150[D] (2.00)
+
Speed setpoint actual value deviation in tolerance t_off
– 0 T
n_act 2 + 0 Torque control active 1 r2197.7
p2154[C] r1407.2 <5> <4>
1
0 <2> 1 A07903 "Motor speed deviation"
n_hysteresis 4 0 A07903 is only signaled for p2149.0 = 1 and r2197.7 = 0.
0
0.00...200.00 [rpm] t_on n_act=n_set
<1> Applies only if the function module "extended p2164[D] (2.00) 0.0...10 000.0 [ms]
signals/monitoring functions" is active (r0108.17 = 1). p2167[D] (200.0) Enable alarm A07903
<2> VECTOR: Calculated.
p2149.0[D]
<3> VECTOR: Depending on the drive unit (1000 or 1600 µs).
<4> Evaluation only for: Speed setpoint actual value deviation in tolerance t_on
T 0
Pulse enable and operating enable (r0899.2) r2199.4
or OFF1
or OFF3 Ramp-up/ramp-down completed
RFG active SET
or rotating measurements 1 = RESET (Q=1) Q r2199.5
or friction characteristic plot. p2148[C] Priority
RESET 1 RESET
<5> Only for VECTOR. (0)
(Q=0) Q 2 SET
<6> Only for SINAMICS S120 and SERVO.
<7> The value is displayed correctly only with r0899.2 = 1
(Operation enabled).
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_8011_54_eng.vsd Function diagram
- 8011 -
Signals and monitoring functions - Speed signals 2 11.04.12 V05.02.03 S120/S150/G130/G150
7.8.55 FP 8012: Signals and monitoring functions - Torque signals, motor blocked/stalled
Ramp-up completed
0 T p1545 <2> Travel to fixed stop Motor blocked detection or motor blocked
r2199.5 1
0.00...20000000.00 [Nm] monitoring function
[2520.7] r1406.8 1
p2174 (5.13) (not for closed-loop torque control)
Torque limit reached
0.000...65.000 [s]
r1407.7
p2177 (1.000)
M_set total
Control type
r0079[0] Mot stall enab neg p1300
<2>
p2144[C]
[5610.5] Torque setpoint < p2174
(0) 1
&
M_set total
0 1 r2198.10 20
T 0
Motor blocked
r0079 [2536.3] Mot block n_thresh
r2198.6
<4> 0.00...210 000.00 [rpm]
p2175 (120.00) <20 [2536.3]
2 % of p2174 F07900
M_set total, smooth
© Siemens AG 2022 All rights reserved
1 2 3 4 5 6 7 8
DO: SERVO, VECTOR fp_8012_54_eng.vsd Function diagram
- 8012 -
Signals and monitoring functions - Torque signals, motor blocked/stalled 16.05.14 V05.02.03 S120/S150/G130/G150