DCC Function Manual
DCC Function Manual
Introduction 2
Motion Control
Arithmetic 3
SINAMICS/SIMOTION
Description of the DCC standard
Logic 4
blocks
Conversion 5
Function Manual
System 6
Technology 7
Closed-loop control 8
Appendix B
06/2021
6SL3097-5AQ00-0BP2
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage
to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices
referring only to property damage have no safety alert symbol. These notices shown below are graded according to
the degree of danger.
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
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.
Proper use of Siemens products
Note the following:
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.
Disclaimer of Liability
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.
SIMOTION documentation
An overview of the SIMOTION documentation can be found in the SIMOTION Documentation
Overview document.
This documentation is included as electronic documentation in the scope of delivery of
SIMOTION SCOUT. It comprises ten documentation packages.
The following documentation packages are available for SIMOTION product version V5.4.3:
• SIMOTION Engineering System Handling
• SIMOTION System and Function Descriptions
• SIMOTION Service and Diagnostics
• SIMOTION IT
• SIMOTION Programming
• SIMOTION Programming - References
• SIMOTION C
• SIMOTION P
• SIMOTION D
• SIMOTION Supplementary Documentation
SINAMICS documentation
The SINAMICS documentation is organized into two parts:
• General documentation/catalogs
• Manufacturer/service documentation
An overview of the current documentation in the available languages can be found on the
Internet:
http://www.siemens.com/motioncontrol
Select the menu items "Support" --> "Technical Documentation" --> "Overview of Publications."
Information on the range of training courses and FAQs (Frequently Asked Questions) is available
on the Internet:
http://www.siemens.com/motioncontrol
Select the menu item "Support".
Additional information
Click the following link to find information on the following topics:
• Ordering documentation / overview of documentation
• Additional links to download documents
• Using documentation online (finding and searching in manuals/information)
http://www.siemens.com/motioncontrol/docu
My Documentation Manager
Click the following link for information on how to compile documentation individually on the
basis of Siemens content and how to adapt it for the purpose of your own machine
documentation:
https://support.industry.siemens.com/My/ww/en/documentation
Training
Click the following link for information on SITRAIN - Siemens training courses for automation
products, systems and solutions:
http://www.siemens.com/sitrain
FAQs
Frequently Asked Questions can be found in SIMOTION Utilities & Applications, which are
included in the scope of delivery of SIMOTION SCOUT, and on the Service&Support pages
under Product Support:
http://support.automation.siemens.com
Technical Support
Country-specific telephone numbers for technical support are available on the internet
under Contact:
http://www.siemens.com/automation/service&support
the transfer of projects. If the user links this data with other data (e.g. shift plans) or if he/she
stores person-related data on the same data medium (e.g. hard disk), thus personalizing this
data, he/she has to ensure compliance with the applicable data protection stipulations.
The following data must be taken into account.
• Windows login
In the standard configuration, the product saves the login details of the Windows user
together with technical function data (e.g. time stamp) in the project. The specified data is
saved in order to trace changes in large configurations.
With SINAMICS DCC, a personal reference can be established via the project and all elements
contained in it (e.g. charts).
The specified data can be viewed in the properties of the project and the elements in
SINAMICS DCC (property "Author") and subsequently changed, with the exception of the last
modification of the project.
For the above-mentioned point, the details of the functions mentioned in the respective chapter
in the information system of SINAMICS DCC must be observed.
By generating the login or username, personal data can be pseudonymized for the functions.
Deleting the project will cause all personal data saved within it to be deleted too.
Preface ................................................................................................................................................... 3
1 Safety instructions and industrial security .......................................................................................... 13
1.1 Fundamental safety instructions......................................................................................... 13
1.1.1 General safety instructions................................................................................................. 13
1.1.2 Warranty and liability for application examples ................................................................... 13
1.1.3 Security information .......................................................................................................... 13
1.2 Use write and know-how protection ................................................................................... 15
1.3 Industrial Security Configuration Manual ............................................................................ 16
2 Introduction ......................................................................................................................................... 17
2.1 Introduction to the Drive Control Chart (DCC) ..................................................................... 17
2.2 Libraries ............................................................................................................................ 19
2.3 Nomenclature of the blocks ............................................................................................... 21
2.4 Block connections .............................................................................................................. 24
2.5 Byte ordering ..................................................................................................................... 25
2.6 Direct interconnection of different data types ..................................................................... 26
2.7 Initialization of the blocks .................................................................................................. 27
2.8 Implementing complex functions in a sample configuration................................................ 28
3 Arithmetic ............................................................................................................................................ 31
3.1 ACOS ................................................................................................................................. 31
3.2 ADD................................................................................................................................... 33
3.3 ADD_D............................................................................................................................... 34
3.4 ADD_l ................................................................................................................................ 35
3.5 ADD_M .............................................................................................................................. 36
3.6 ASIN .................................................................................................................................. 38
3.7 ATAN ................................................................................................................................. 40
3.8 AVA ................................................................................................................................... 42
3.9 AVA_D ............................................................................................................................... 44
3.10 COS ................................................................................................................................... 46
3.11 DIV .................................................................................................................................... 48
3.12 DIV_D ................................................................................................................................ 50
3.13 DIV_I ................................................................................................................................. 52
3.14 MAS .................................................................................................................................. 54
3.15 MIS.................................................................................................................................... 55
3.16 MUL .................................................................................................................................. 56
3.17 MUL_D .............................................................................................................................. 57
3.18 MUL_I................................................................................................................................ 58
3.19 PLI20 ................................................................................................................................. 59
3.20 SII...................................................................................................................................... 64
3.21 SIN .................................................................................................................................... 66
3.22 SQR ................................................................................................................................... 68
3.23 SUB ................................................................................................................................... 70
3.24 SUB_D ............................................................................................................................... 71
3.25 SUB_I................................................................................................................................. 72
3.26 TAN ................................................................................................................................... 73
4 Logic .................................................................................................................................................... 75
4.1 AND................................................................................................................................... 75
4.2 AND_W.............................................................................................................................. 77
4.3 BF...................................................................................................................................... 79
4.4 BF_W ................................................................................................................................. 81
4.5 BSW................................................................................................................................... 83
4.6 CNM .................................................................................................................................. 85
4.7 CNM_D .............................................................................................................................. 87
4.8 CNM_I ............................................................................................................................... 89
4.9 CTR.................................................................................................................................... 91
4.10 DFR ................................................................................................................................... 94
4.11 DFR_W............................................................................................................................... 97
4.12 DLB.................................................................................................................................. 100
4.13 DX8 ................................................................................................................................. 102
4.14 DX8_D ............................................................................................................................. 104
4.15 DX8_I .............................................................................................................................. 106
4.16 ETE .................................................................................................................................. 108
4.17 LVM ................................................................................................................................. 110
4.18 MFP................................................................................................................................. 112
4.19 MUX8 .............................................................................................................................. 114
4.20 MUX8_D .......................................................................................................................... 117
4.21 MUX8_I ........................................................................................................................... 120
4.22 NAND .............................................................................................................................. 123
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.
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 (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
under
https://www.siemens.com/industrialsecurity (https://new.siemens.com/global/en/products/
services/cert.html#Subscriptions).
Further information is provided on the Internet:
Industrial Security Configuration Manual (https://support.industry.siemens.com/cs/ww/en/
view/108862708)
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.
WARNING
Danger to life through manipulation of DCC charts and DCC libraries
The use of unprotected DCCs and DCC libraries entails a higher risk of manipulation of DCCs,
DCC libraries and backup files.
• Protect important DCC charts and DCC libraries by using know-how protection programs
or via the know-how protection for drive units in the SCOUT/STARTER. You can prevent
manipulation by assigning a strong password.
• For know-how protection programs and the know-how protection of drive units, use
passwords which include at least eight characters, upper and lower cases, numbers and
special characters.
• Make sure that only authorized personnel can access the passwords.
• Protect the backup files on your file system using a write protection.
The user-friendly DCC Editor enables easy graphics-based configuration, allows control loop
structures to be clearly represented and provides a high degree of reusability of diagrams that
have already been created.
The open-loop and closed-loop control functionality is defined by using multi-instance-capable
blocks (Drive Control Blocks - DCBs) from a predefined library (DCB library) that are selected and
graphically linked by dragging and dropping. Test and diagnostic functions allow the program
behavior to be verified and, in the case of a fault, the cause identified.
The block library contains a large selection of control, arithmetic and logic blocks as well as
extensive open-loop and closed-loop control functions.
All commonly used logic functions are available for selection (AND, XOR, On/Off delay, RS flip-
flop, counters, etc.) for the logic operation, evaluation and acquisition of binary signals.
Numerous calculation functions, such as summation, division and minimum/maximum
evaluation are available for monitoring and evaluating numeric variables. In addition to the drive
control, axial winder functions, PI controllers, ramp-function generators or sweep generators
can be configured simply and without problem.
Almost unlimited programming of control structures is possible in conjunction with the
SIMOTION motion control system. These can then be combined with other program sections to
form an overall program.
Drive Control Chart for SINAMICS drives also provides a convenient basis for resolving drive-
related open-loop and closed-loop control tasks directly in the converter. This results in further
adaptability of SINAMICS for the tasks set. Local data processing in the drive supports the
implementation of modular machine concepts and results in an increase in the overall machine
performance.
2.2 Libraries
Blocks are located in libraries that are imported as technology packages in the DCC editor.
There are two different libraries:
1. The SIMOTION library contains the SIMOTION blocks identified in this document.
2. The SINAMICS library contains the SINAMICS blocks identified in this document.
To find out which of the blocks described here are available within SIMOTION and/or SINAMICS,
you can use both the overview in Appendix A3 and the sections on block descriptions.
Compatibility
SIMOTION
The compatibility of the standard library for the SIMOTION devices is described on the SIMOTION
SCOUT DVD and at the following link on the Internet:
SIMOTION compatibility list (https://support.industry.siemens.com/cs/ww/en/view/18857317)
SINAMICS
The following standard libraries are executable with SINAMICS V5.1:
• SINAMICS V5.1 (dcblibV3_0_sinamics5_1)
• SINAMICS V4.8 (dcblibV3_0_sinamics4_8)
• SINAMICS V4.7 (dcblibV3_0_sinamics4_7)
• SINAMICS V4.6 (dcblibV3_0_sinamics4_6)
• SINAMICS V4.5 (dcblibV3_0_sinamics4_5)
• SINAMICS V4.4 (dcblibV3_0_sinamics4_4)
• SINAMICS V4.3 (dcblibV2_0_sinamics4_3)
The following standard libraries are executable with SINAMICS V4.8:
• SINAMICS V4.8 (dcblibV3_0_sinamics4_8)
• SINAMICS V4.7 (dcblibV3_0_sinamics4_7)
• SINAMICS V4.6 (dcblibV3_0_sinamics4_6)
• SINAMICS V4.5 (dcblibV3_0_sinamics4_5)
• SINAMICS V4.4 (dcblibV3_0_sinamics4_4)
• SINAMICS V4.3 (dcblibV2_0_sinamics4_3)
The following standard libraries are executable with SINAMICS V4.7:
• SINAMICS V4.7 (dcblibV3_0_sinamics4_7)
• SINAMICS V4.6 (dcblibV3_0_sinamics4_6)
• SINAMICS V4.5 (dcblibV3_0_sinamics4_5)
• SINAMICS V4.4 (dcblibV3_0_sinamics4_4)
• SINAMICS V4.3 (dcblibV2_0_sinamics4_3)
DEL
,QSXWYDULDEOH 2XWSXWYDULDEOH
5HVSRQVHWKUHVKROG
① Block designator
② Connection designator
③ Connection data type
Block designator
Each data type has its own block type. To simplify differentiation between the blocks for various
data types with the same functionality, these are provided with a postfix corresponding to the
data type, whereby postfix is not usually used for the Real and Bool data types (e.g. MUL_I:
Integer-type multiplier, MUL: Real-type multiplier). The following table lists commonly used
extensions:
Connection designator
• To identify a field from the input or output variable, the designator is extended by an index
beginning with 1 (e.g. X1, X2, X3, etc.).
• With a generic number of inputs (e.g. ADD), the connection name is indexed beginning with
1 (e.g. X1, X2, X3, etc.).
If further inputs and outputs are used along with the primary input and output variables (e.g.
limit values, time data, substitute values, status displays), the designators from the pool of the
primary input/output variables are not used. The following table shows the preferred
designators for secondary variables:
SIMOTION
In order to import the DCC chart in SCOUT, a SIMOTION device needs to be present in the project.
In the Programs folder, select the path of the exported DCC chart via the shortcut menu Expert
-> Import object. The files can usually be found under the following path:
C:\Program Files\Siemens\Step7\Examples\dcc\SIMOTION
SINAMICS
To import the DCC chart in SCOUT/STARTER, an S120 drive unit with a drive object (DO) must be
present in the project. On the drive object, select the path of the exported DCC chart via the
shortcut menu Expert -> Import object. The files can usually be found under the following path:
C:\Program Files\Siemens\Step7\Examples\dcc\SINAMICS
Up to SCOUT/STARTER version V4.3, the sample configuration was archived as a project export
under the following path:
C:\Program Files\Siemens\Step7\Examples\dcc\Examples_CRGE_TCLR.xml
Note
The sample project has been created on the basis of a SCOUT project and thus contains both the
configurations for SINAMICS_Integrated and SINAMICS standalone / CU320. When importing
the sample project with STARTER (stand-alone), the SIMOTION components are naturally
rejected; the CU320 components, however, continue to be accurately imported and are
reproducible.
NOT T2
RSS T2
1/22
RS-Flip-Flop, S 1/24
BO I Q BO BO S QP BO
0 = Ramp-function
BO R QN BO generator inital runs
NCM T2
1/23
R X1 QU BO
Acceleration
R X2 QU BO finished
QU BO
NSW T2
NSW T2 NSW T2
1/6 1/7 1/8
Ramp-function generator input
R X1 Y R R X1 Y R R X1 Y R Command Priority:
R X2 0 R X2 0 R X2
Quick stop ramp-function Stop Ramp-function from highest priority to lowest priority:
generator
BO I BO I BO I
generator
1. enamble ramp function generator / set to zero
NOP1_B T2 Bring Ramp-function
2. quick stop ramp function generator
1/1 generator to a standstill
BO I Q BO 3. set ramp function generator to setpoint value
NOP1 T2 BO ULR
1/5
BSW T2
BO LLR
Quick stop time R X Y R 1/15
Enable rounding
BO I1 Q BO BO RQN ramp end rounding by sudden change of input value at ramp up:
0 BO I2 BO SA
this function is not existing in this program
BO I BO S
BO EN
OR T2 BSW T2 OR T2
OR-Stufe BOOL 1/11 1/12 OR-Stufe BOOL 1/14
BO I0 Q BO BO I1 Q BO BO I0 Q BO
0 0 BO I2 0
BO I1 BO I1
BO I 0
BO I2 BO I2
0
BO I3 BO I3
NOP1_B T2 NOT T2
1/4 1/13
BO I Q BO BO I Q BO
1 = Enable ramp-function generator
0 = Set ramp-function generator to zero Comfort ramp-function generator
RGE T2
1/32
Priority of commands: R X Y R
Using the Technology-Controller as P-
Controller: R NRM YA R
in order from highest to lowest priority:
Technology Controller
Symbol
ACOS
$UJXPHQW 5 ; < 5 $UFFRVLQH
4) %2 2XWSXWYDULDEOH
Brief description
Determination of the arc cosine value for an argument
Method of operation
The block determines the associated arc cosine value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
Y = arccos X
Permitted input range: -1.0 <= X <= +1.0
Output range: 0.0 <= Y <= ∏
If the argument lies outside of the permitted input range, output Y is limited to ∏ (when X < -1.0)
or 0.0 (when X > +1.0) and binary output QF = 1 is set at the same time.
Transfer function
\
< $5&&26;
[
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.2 ADD
Adder (REAL type)
Symbol
ADD
$GGHQG 5 ; < 5 7RWDO
Brief description
Adder with up to four inputs of the REAL type
Method of operation
The block adds the values entered at the X inputs, taking account of the sign. The result, limited
to the range of -3.402823 E38 to 3.402823 E38, is output at output Y.
Algorithm:
Y = X1 + X2 + X3 + X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Can be configured Cyclic tasks
in
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.3 ADD_D
Adder (double integer type)
Symbol
ADD_D
$GGHQG ', ; < ', 7RWDO
4) %2 2YHUIORZ
Brief description
Adder with up to four inputs of the double integer type
Method of operation
The block adds the values entered at the X inputs, taking account of the sign. The result, limited
to a range of approximately -2147483648 (231) to +2147483647 (231-1), is output at output Y.
Algorithm:
Y = X1 + X2 + X3 + X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.4 ADD_l
Adder (integer type)
Symbol
ADD_I
$GGHQG , ; < , 7RWDO
Brief description
Adder with up to four inputs of the integer type
Method of operation
The block adds the values entered at the X inputs, taking account of the sign. The result, limited
to the range of -32768 to +32767, is output at output Y.
Algorithm:
Y = X1 + X2 + X3 + X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.5 ADD_M
Modulo adder for addition in correct axis cycle
Symbol
ADD_M
0RGXORYDOXH D[LVF\FOHOHQJWK ', 02' < ', 0RGXORYDOXHIURP;;
$GGLWLRQYDOXH ', ; 43 %2 3RVLWLYHRYHUIORZ
$GGLWLRQYDOXH ', ; 41 %2 1HJDWLYHRYHUIORZ
$FWLYDWHVWKH %2 (26
RYHUIORZHYDOXDWLRQ
Brief description
The ADD_M block is used to add position values. It can be used to "add up" offsets for position
setpoints or for dead time compensation in the real master.
Block diagram
;
<
;
7$
<Q
<Q<!0RG
Q 43
<Q
(26
02'
<Q
<Q<0RG 41
Q
<Q
Method of operation
This block adds the input values X1 and X2. A modulo value can be specified at the MOD input.
The module value must be in the range of 1 to 231-1 and is applied to the sum of X1 and X2. Thus,
the result Y of the modulo operation is always in the band from 0 to MOD.
The EOS input can be used to activate an overflow evaluation. When EOS = 1:
Positive overflow: QP = Yn-1-Yn> MOD/2
Negative overflow: QN = Yn-1 – Yn < -MOD/2
When EOS = 0: QP = 0; QN = 0
This enables the overflow evaluation to be deactivated when setting offsets. When the modulo
value is changed, the overflow evaluation is switched off for one cycle.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.6 ASIN
Arc sine function
Symbol
ASIN
$UJXPHQW 5 ; < 5 $UFVLQH
4) %2 ,QSXWHUURU
Brief description
Determination of the arc sine value for an argument
Method of operation
The block determines the associated arc sine value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
Y = arcsin X
Permitted input range: -1.0 <= X <= +1.0
Output range: -∏/2 <= Y <= ∏/2
If the argument lies outside of the permitted input range of |X| <= 1.0, output Y is limited to -∏/
2 (when X < -1.0) or ∏/2 (when X > +1.0) and binary output QF = 1 is set at the same time.
XY diagram
\
< $5&6,1;
[
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.7 ATAN
Arc tangent function
Symbol
ATAN
$UJXPHQW 5 ; < 5 $UFWDQJHQW
Brief description
Determination of the arc tangent value for an argument
Method of operation
The block determines the associated arc tangent value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
Y = arctan X
Permitted input range: -3.402823 E38 to 3.402823 E38
Output range: -∏/2 <= Y <= ∏/2
XY diagram
\
< $5&7$1;
[
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.8 AVA
Absolute value generator, with sign evaluation
Symbol
AVA
,QSXWYDULDEOH 5 ; < 5 $EVROXWHYDOXHRILQSXWYDULDEOH
61 %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Arithmetic function block for absolute value generation of type real
Method of operation
The block generates the absolute value of the value at input X (input variable). The result is
output at output Y.
Y = |X|
If the input variable is negative, binary output SN = 1 is set at the same time.
Block diagram
<
;
61
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.9 AVA_D
Absolute value generator (double integer)
Symbol
AVA_D
,QSXWYDULDEOH ', ; < ', $EVROXWHYDOXHRILQSXWYDULDEOH
61 %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Arithmetic function block for absolute value generation of type DOUBLE INTEGER
Method of operation
The block generates the absolute value of the value at input X (input variable). The result is
output at output Y.
Y = |X|
If the input variable is negative, binary output SN = 1 is set at the same time.
Output values Y -2147483648 and SN 1 are set for input value -2147483648.
Block diagram
<
;
61
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.10 COS
Cosine function
Symbol
COS
$UJXPHQW 5 ; < 5 &RVLQH
Brief description
Determination of the cosine value for an argument
Method of operation
The block determines the associated cosine value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
Y = cos X
XY diagram
\
< &26;
[
X is modular ∏
Block connections
Configuration data
3.11 DIV
Divider (REAL type)
Symbol
DIV
'LYLGHQG 5 ; < 5 4XRWLHQW
'LYLVRU 5 ; <,1 5 ,QWHJHUTXRWLHQW
02' 5 'LYLVLRQUHPDLQGHU
4) %2 'LYLVRULV]HUR
Brief description
Divider with two real-type inputs
Method of operation
The block divides the value entered at connection X1 by the value entered at connection X2.
The result is output at outputs Y, YIN, and MOD:
• The Y output contains the quotient with integer places and decimal places
• The YIN output contains the integer quotient
• The MOD output contains the division remainder (absolute residual value)
The Y output is limited to a range of approximately -3.4 E38 to +3.4 E38.
;
<=
;
MOD = (Y – YIN) * X2
If the output value Y violates the permissible value range of -3.402823 E38 to 3.402823 E38
(because the divisor X2 is very small or zero), then the limit value of the output range is output
at connection Y with the correct sign. The binary output QF=1 is set at the same time. If X2 is
zero, then the outputs YIN and MOD retain their last values.
With division of 0/0, the block output Y remains unchanged. The binary output QF is set to 1.
With a division by zero, output MOD retains its last value.
Truth table(s)
The following truth table lists the block responses in the cases specified above.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.12 DIV_D
Divider (double integer type)
Symbol
DIV_D
'LYLGHQG ', ; < ', 4XRWLHQW
'LYLVRU ', ; 02' ', 'LYLVLRQUHPDLQGHU
4) %2 'LYLVRULV]HUR
Brief description
Divider with two inputs of the double integer type
Method of operation
The block divides the value entered at connection X1 by the value entered at connection X2
taking account of the sign. The quotient, limited to the range of -2147483648 (231) to
2147483647 (231 -1), is output at connection Y.
;
<=
;
The division remainder is output at connection MOD. The sign of the division remainder MOD
matches that of dividend X1.
MOD = X1 MOD X2
When output value Y exceeds the permissible range of -2147483648 (231) to +2147483647
(231-1) (because divisor X2 is zero), then the limit value of the output range with the correct sign
is output at connection Y. The binary output QF = 1 is set at the same time.
With division of 0/0, the block output Y remains unchanged. The binary output QF is set to 1.
With a division by zero, output MOD retains its last value.
Truth table(s)
The following truth table lists the block responses in the cases specified above.
X1/X2 Y MOD OF
X/0 Limit value with correct MOD n-1 1
sign
0/0 Y n-1 MOD n-1 1
0/X 0 0 0
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.13 DIV_I
Divider (integer type)
Symbol
DIV_I
'LYLGHQG , ; < , 4XRWLHQW
'LYLVRU , ; 02' , 'LYLVLRQUHPDLQGHU
4) %2 'LYLVRULV]HUR
Brief description
Divider with two integer-type inputs
Method of operation
The block divides the value entered at connection X1 by the value entered at connection X2
taking account of the sign. The quotient is limited to the range of -32768 to +32767 and output
at connection Y.
;
<=
;
The division remainder is output at connection MOD. The sign of the division remainder MOD
matches that of dividend X1.
MOD = X1 MOD X2
When output value Y exceeds the permissible range of -32768 to +32767 (because the divisor
is zero), then the limit value of the output range with the correct sign is output at connection Y.
The binary output QF = 1 is set at the same time.
With division of 0/0, the block output Y remains unchanged. The binary output QF is set to 1.
With a division by zero, output MOD retains its last value.
Truth table(s)
The following truth table lists the block responses in the cases specified above.
X1/X2 Y MOD OF
X/0 Limit value with correct MOD n-1 1
sign
0/0 Y n-1 MOD n-1 1
0/X 0 0 0
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
3.14 MAS
Maximum evaluator
Symbol
MAS
,QSXWYDULDEOH 5 ; < 5 0D[LPXPLQSXWYDULDEOH
Brief description
Comparison block with up to four inputs of the REAL type to determine the largest input value
present at the time of processing
Method of operation
The block determines the largest of the values present at inputs X 1-4.
The result is output at output Y.
Y = max. {X1, X2, X3, X4}
If the same value is present at all inputs, this value is output as the maximum input variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.15 MIS
Minimum evaluator
Symbol
MIS
,QSXWYDULDEOH 5 ; < 5 0LQLPXPLQSXWYDULDEOH
Brief description
Comparison block with up to four REAL-type inputs to determine the smallest input value present
at the time of processing.
Method of operation
The block determines the smallest of the values present at inputs X 1-4.
The result is output at output Y.
Y = min. {X1, X2, X3, X4}
If the same value is present at all inputs, this value is output as the minimum input variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.16 MUL
Multiplier (REAL type)
Symbol
MUL
)DFWRU 5 ; < 5 3URGXFW
Brief description
Multiplier with up to four real-type inputs
Method of operation
The block multiplies the values entered at the generic inputs X 1-4 taking account of the sign.
The result, limited to the range of -3.402823 E38 to +3.402823 E38, is output at output Y.
Y = X1 x X2 x X3 x X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.17 MUL_D
Multiplier (double integer type)
Symbol
MUL_D
)DFWRU ', ; < ', 3URGXFW
4) %2 2YHUIORZ
Brief description
Multiplier with up to four double integer-type inputs
Method of operation
The block multiplies the values entered at the generic inputs X 1-4 taking account of the sign.
The result, limited to a range of approximately -2147483648 (231) to +2147483647 (231-1), is
output at output Y.
Y = X1 x X2 x X3 x X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.18 MUL_I
Multiplier (integer type)
Symbol
MUL_I
)DFWRU , ; < , 3URGXFW
<', ', ',17SURGXFW
Brief description
Multiplier with up to four integer-type inputs
Method of operation
The block multiplies the values entered at the generic inputs X 1-4 taking account of the sign.
The result, limited to the range of -32768 to +32767, is output at output Y. In addition, the result,
limited to a range of -2147483648 (231) to +2147483647 (231-1), is output at output YDI.
Y = X1 x X2 x X3 x X4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ X comprises up to four inputs (X1 to X4)
istics
3.19 PLI20
Polyline, 20 breakpoints
Symbol
PLI20
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
%UHDNSRLQWDEVFLVVD$ 5 $
%UHDNSRLQWRUGLQDWH% 5 %
Brief description
Block of the REAL type
• For linearization of characteristic curves
• For simulation of non-linear transfer elements
• For controller gain defined in sections
Method of operation
• The block adapts output variable Y arbitrarily to input variable X by means of up to 20
breakpoints in four quadrants.
• Interpolation is carried out linearly between the breakpoints. Outside of A1 and A20, the
characteristic curve runs horizontally.
Configuration notes
During configuration, you must ensure that the values of A1 to A20 are sorted in ascending order
otherwise incorrect values are output. The ordinate values B1 to B20 can be selected arbitrarily,
i.e. irrespective of the preceding value.
If breakpoints are not needed (e.g. as of A16/B16 ), the following abscissas and ordinates (A16/
B16 to A20/B20) must be assigned the same values as A15/B15.
Example
$%
< $%
$% $%
$%
$%
$%
$%
$%
$%
;Q
;
$%
$%
$%
$%
$%
$%
$% $%
<Q
$%
$%
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
3.20 SII
Inverter
Symbol
SII
)DFWRU 5 ; < 5 3URGXFW
Brief description
• Inverter with one Real-type input
• Arithmetic function block for sign reversal
Method of operation
The block inverts input variable X and outputs the result at block output Y (in accordance with
the following transmission characteristic).
Y=-X
Transfer function
y
<
y
y ;
y
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.21 SIN
Sine function
Symbol
SIN
$UJXPHQW 5 ; < 5 6LQXVRLGDO
Brief description
Determination of the sine value for an argument
Method of operation
• The block determines the associated sine value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
• Y = sin X
XY diagram
\
< 6,1;
[
X is modular ∏
Block connections
Configuration data
3.22 SQR
Square-root extractor
Symbol
SQR
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
4) %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Arithmetic function block for determining the square root
Method of operation
The block calculates the square root of the value entered at connection X. The result is output
at connection Y.
<= ;
If the input variable is negative, the value zero is output at connection Y. The binary output QF
= 1 is set at the same time.
Truth table(s)
Condition Y QF
X>0 SQR(X) 0
X=0 0 0
X<0 0 1
Block connections
Configuration data
3.23 SUB
Subtractor (REAL type)
Symbol
SUB
0LQXHQG 5 ; < 5 'LIIHUHQFH
6XEWUDKHQG 5 ;
Brief description
Subtractor with two Real-type inputs
Method of operation
• The block subtracts the value entered at connection X2 from the value entered at connection
X1, taking account of the sign. The result is limited to the range of -3.402823 E38 to
3.402823 E38 and output at output Y.
• Y= X1-X2
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.24 SUB_D
Subtractor (DOUBLE INTEGER type)
Symbol
SUB_D
0LQXHQG ', ; < ', 'LIIHUHQFH
6XEWUDKHQG ', ; 4) %2 2YHUIORZ
Brief description
Subtractor with two inputs of the DOUBLE INTEGER type
Method of operation
The block subtracts the value entered at connection X2 from the value entered at connection X1,
taking account of the sign. The result, limited to a range of -2147483648 (231) to +2147483647
(231-1), is output at output Y. An overflow is indicated at the binary output with QF=1.
Y= X1-X2
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.25 SUB_I
Subtractor (INTEGER type)
Symbol
SUB_I
0LQXHQG , ; < , 'LIIHUHQFH
6XEWUDKHQG , ;
Brief description
Subtractor with two inputs of the INTEGER type
Method of operation
• The block subtracts the value entered at connection X2 from the value entered at connection
X1, taking account of the sign. The result, limited to a range of approximately -32768 to
32767, is output at output Y.
• Y= X1-X2
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
3.26 TAN
Tangent
Symbol
TAN
$UJXPHQW 5 ; < 5 7DQJHQW
4) %2 7DQJHQWRXWVLGH
RIYDOXHUDQJH
Brief description
Determination of the tangent value for an angle
Method of operation
The block determines the associated tangent value in radian measure for an argument to be
entered at input X and outputs the result at output Y.
Y = tan X
Output range: -3.402823 E38 to 3.402823 E38
If the tangent value determined lies outside of the range of -3.402823 E38 to 3.402823 E38, the
block output Y is limited to -3.402823 E38 or +3.402823 E38, and the binary output QF = 1 is
set at the same time.
Transfer function
\
< 7$1;
[
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
Symbol
AND
%LQDU\LQSXW %2 , 4 %2 %LQDU\YDOXH$1'
Brief description
AND block with up to four inputs of the BOOL type
Method of operation
The block combines the binary values at the inputs I 1-4 to a logic AND and outputs the result at
its binary output Q.
Q = I01∧...∧I04
Output Q = 1, when the value 1 is present at all generic inputs I1 to I4. In all other cases, output
Q = 0.
Truth table(s)
,QSXW 2XWSXW
$UELWUDU\
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four connections (I1 to I4)
istics
4.2 AND_W
Logic AND operation (WORD type)
Symbol
AND_W
,QSXWVWDWXVZRUG : , 46 : 6WDWXVZRUG$1'
4 %2 %LQDU\RXWSXW
Brief description
AND_W block with up to four inputs of the WORD type
Method of operation
16 binary states are combined in a status word.
This function block links the status words I01 to I16 bit-by-bit according to the logic AND function.
The corresponding bits of status word AND are then set at block output QS.
The following applies for bit k of status word AND:
46N=,N∧ ∧,QQNN=
A bit of the AND status word is equal to 0 when at least one of the equivalent bits on the block
inputs I1 to I4 is equal to 0.
The binary output Q is 1 if at least one bit of the status word AND is equal to 1.
6WDWXVZRUG
,
6WDWXVZRUG
,
6WDWXVZRUG
,
6WDWXVZRUG
46
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four inputs (I1 to I4)
istics
4.3 BF
Flashing function (BOOL type)
Symbol
BF
)ODVKLQJGXUDWLRQPV 76 7 4 %2 )ODVKLQJRXWSXW
(QDEOH %2 (1
Brief description
Block of the BOOL type
• For controlling signal encoders
• As clock generator
Method of operation
This block sets its output Q alternately to 1 and 0 at a frequency of interval T, as long as input EN
= 1.
If enable input EN = 0, then output Q = 0.
In this case, T is both the light duration and the dark duration.
Block diagram
(1 4
Time diagram
(1
7 7
4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.4 BF_W
Flashing function for status word (WORD type)
Symbol
BF_W
6WDWXVZRUG : ,6 46 : )ODVKLQJRXWSXWVWDWXVZRUG
)ODVKLQJGXUDWLRQPV 76 7
Brief description
Block of the WORD type for controlling signal encoder combinations
Method of operation
This block sets all bits of the input status word IS that have a logic value of 1 alternately to 1 and
0 in the output status word QS at a frequency of interval T.
In this case, T is both the light duration and the dark duration.
Block diagram
,6 46
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.5 BSW
Binary change-over switch (BOOL type)
Symbol
BSW
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 ,
6ZLWFKSRVLWLRQ %2 ,
Brief description
The block switches one of two binary input variables to the output.
Method of operation
If input I = 0, then I1 is given to output Q.
If input I = 1, then I2 is given to output Q.
Block diagram
,
4
,
Truth table(s)
Initialization
If input I = 0, then I1 is given to output Q.
If input I = 1, then I2 is given to output Q.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.6 CNM
Controllable numeric memory (REAL type)
Symbol
CNM
,QSXWYDULDEOH 5 ; < 5 6DYHGLQSXWYDULDEOH
,QSXWYDULDEOH 5 ;
6DYHLQSXWYDULDEOH %2 ,
6DYHLQSXWYDULDEOH %2 ,
Brief description
Block of the REAL type for saving an instantaneous input value (sample-and-hold function) with
• Selectable input
• Selectable save time
• Rising edge-initiated triggering
The blocks CNM_I and CNM_ D fulfill the same function. They only differ in the data type used.
Method of operation
On a rising edge at I1, X1 is switched through to output Y.
On a rising edge at I2, X2 is switched through to output Y.
The saved input variable remains pending on Y until the next rising edge at I1 or I2 switches
through the next instantaneous value.
In the case of a simultaneous rising edge at I1 and I2, I1 receives priority, and X1 is switched
through to Y.
Initialization
If input I1 or I2 receives the value 1 during initialization of an upstream output, the block does
not detect a positive edge during the first cyclic pass. Otherwise, the block detects a positive
edge during the first cyclic pass. In START mode (edge memory bit), the values for I1 and I2 are
stored temporarily.
Block diagram
;
,
<
,
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.7 CNM_D
Controllable numeric memory (DOUBLE INTEGER type)
Symbol
CNM_D
,QSXWYDULDEOH ', ; < ', 6DYHGLQSXWYDULDEOH
,QSXWYDULDEOH ', ;
6DYHLQSXWYDULDEOH %2 ,
6DYHLQSXWYDULDEOH %2 ,
Brief description
Block of the DOUBLE INTEGER type for saving a current input value (sample and hold function)
with
• Selectable input
• Selectable save time
• Rising edge-initiated triggering
The blocks CNM and CNM_ i fulfill the same function. They only differ in the data type used.
Method of operation
On a rising edge at I1, X1 is switched through to output Y.
On a rising edge at I2, X2 is switched through to output Y.
The saved input variable remains pending on Y until the next rising edge at I1 or I2 switches
through the next momentary value.
In the case of a simultaneous rising edge at I1 and I2, I1 receives priority, and X1 is switched
through to Y.
Initialization
If input I1 or I2 receives the value 1 during initialization of an upstream output, the block does
not detect a positive edge during the first cyclic pass. The block detects a positive edge during the
first cyclic pass. In START mode, the values for I1 and I2 are stored temporarily.
Block diagram
;
,
<
,
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.8 CNM_I
Controllable numeric memory (INTEGER type)
Symbol
CNM_I
,QSXWYDULDEOH , ; < , 6DYHGLQSXWYDULDEOH
,QSXWYDULDEOH , ;
6DYHLQSXWYDULDEOH %2 ,
6DYHLQSXWYDULDEOH %2 ,
Brief description
Block of the INTEGER type for saving a current input value (sample and hold function) with
• Selectable input
• Selectable save time
• Rising edge-initiated triggering
The CNM and CNM_D blocks have the same function. They only differ in the data type used.
Method of operation
On a rising edge at I1, X1 is switched through to output Y.
On a rising edge at I2, X2 is switched through to output Y.
The saved input variable remains pending on Y until the next rising edge at I1 or I2 switches
through the next momentary value.
In the case of a simultaneous rising edge at I1 and I2, I1 receives priority, and X1 is switched
through to Y.
Initialization
If input I1 or I2 receives the value 1 during initialization of an upstream output, the block does
not detect a positive edge during the first cyclic pass. The block detects a positive edge during the
first cyclic pass. In START mode, the values for I1 and I2 are stored temporarily.
Block diagram
;
,
<
,
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.9 CTR
Counter (BOOL type)
Symbol
CTR
8SSXOVH %2 ,8 < , &RXQWHUYDOXH
'RZQSXOVH %2 ,' 48 %2 &RXQWHUDWXSSHUOLPLW
5HVHWWLQJ %2 5 4 %2 =HURFRXQWHUYDOXH
6HW %2 6 4/ %2 &RXQWHUDWORZHUOLPLW
6HWWLQJYDOXH , 69
8SSHUFRXQWHUOLPLW , /8
/RZHUFRXQWHUOLPLW , //
2YHUIORZPRGH %2 02'
Brief description
Block for counting up and down with the following counter functions:
• Set counter to zero
• Hold counter at zero (disable)
• Set counter to initial value
Independent setting of upper and lower counter limit.
Method of operation
This block forms an edge-triggered up-down counter. With a rising edge of a pulse at input IU,
the counter value is incremented.
With a rising edge of a pulse at input ID, the counter value is decremented. The counter value is
present at output Y. Controlling the counter (see also truth table). With S=1, the counter value
Y can be preset with the set value SV.
However, the reset input R has priority over the set input. As long as R is logic 1, Y is held at 0.
The counter is disabled. If Y is not in the counting range between LL and LU, the output is set to
the active limit value when R = 1.
The working area of the counter can be specified via LU (upper counter limit value) or LL (lower
counter limit value).
The setting value (SV) is in the range from LL >= SV >= LU.
MOD=0 When these limits are reached, the counter stops counting and the display QU
(counter at upper limit) or QL (counter at lower limit) is set.
MOD=1 When the upper limit (LU) is reached, the counter value is set to the lower limit
when the next Up pulse occurs; QU = 1 indicates positive overflow for a cycle.
When the lower limit (LL) is reached, the counter value is set to the upper limit when
the next Down pulse occurs; QL = 1 indicates negative overflow for a cycle.
Block diagram
6 0
// /8
,8
48
,' <
69
4/
4
Truth table(s)
Initialization
The initialization defines the start value for the first cyclic pass. If input ID or IU is preset with 1,
the block cannot detect a positive edge during the first cyclic pass.
Boundary conditions:
• LL <= Y <= LU for LL <LU
• Y = LU for LL >= LU
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.10 DFR
Reset-dominant D-type flip-flop (BOOL type)
Symbol
DFR
7ULJJHULQSXW %2 , 4 %2 %LQDU\YDULDEOH
'LQSXW %2 ' 41 %2 ,QYHUWHGELQDU\YDULDEOH
6HW %2 6
5HVHWWLQJ %2 5
Brief description
Block of the BOOL type for use as reset-dominant D-type flip-flop
Method of operation
If the two inputs S and R are logic 0, the D input information is switched through to output Q on
a rising edge at trigger input I. Output QN always has the value inverse to Q. With logic 1 at input
S, output Q is set to logic 1. If input R is set to logic 1, then output Q is set to logic 0. If both inputs
are logic 0, then Q does not change. However, if the two inputs S and R are logic 1, then Q is logic
0, since the reset input dominates.
Initialization
If input I receives the value 1 during initialization from an upstream output, the block does not
detect a positive edge during the first cyclic pass.
Otherwise, the block detects a positive edge during the first cyclic pass. In START mode, the value
for I is stored temporarily.
Block diagram
4
'
,
41
Truth table(s)
Time diagram
With D and I
,
'
4
41
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
4.11 DFR_W
Reset-dominant D-type flip-flop (WORD type)
Symbol
DFR_W
'LQSXW : ,6 46 : 2XWSXWYDULDEOH
7ULJJHULQSXW %2 , 461 : ,QYHUWHGRXWSXWYDULDEOH
6HW %2 6
5HVHWWLQJ %2 5
Brief description
Block of the WORD type for use as reset-dominant D-type flip-flop
Method of operation
If the two inputs S and R = 0, the D input information is switched through to output QS on a rising
edge at trigger input I. Output QSN always has the value inverse to QS. If S = 1, all bits of output
variable QS are set to 1. If R = 1, all bits of output variable QS are set to 0. If both inputs S and R
= 0, then QS does not change. If the two inputs S and R = 1, all bits of output variable QS are set
to 0, since the reset input R dominates.
Initialization
If input I receives the value 1 during initialization from an upstream output, the block does not
detect a positive edge during the first cyclic pass.
Otherwise, the block detects a positive edge during the first cyclic pass. In START mode, the value
for I is stored temporarily.
Block diagram
46
,6
,
461
Truth table(s)
* Arbitrary
Time diagram
With I and IS
,
,6Q
46Q
461Q
Output variables QS and QSN depending on trigger input I and D-input IS for S = R = 0 (n is the
bit number)
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
4.12 DLB
Delay element (REAL type)
Symbol
DLB
1XPEHURIVWRUDEOHYDOXHV , 7%/ < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; 476 %2 2SHUDWLQJVWDWH
1XPEHURIF\FOHVIRUWKHGHOD\ , $'5
Brief description
Block of the REAL type for the output of an input variable which is delayed by a specifiable
number of sampling times.
Method of operation
If the operating state is QTS = 1, the block contains a delay memory of the TBL variable. The input
variable specified at input X is output after a delay as output variable Y. The delay is specified by
the integer multiple ADR of the sampling time (time slice in which the block is calculated). When
operating mode QTS = 0, the delay memory is not activated. In this case, the input variable
specified at input X is output immediately as output variable Y.
Initialization
During initialization, the delay memory is requested for the purpose of acquiring TBL input
variables. The delay memory can contain a maximum of 1000 values. If TBL < 0, TBL is limited
to 0. QTS = 1 indicates that the delay memory requested in TBL is available. QTS = 0 indicates that
the system was not able to make the memory available, due to a lack of resources, or a TBL value
> 1000 has been defined. In this case, output Y is corrected to input X during cyclic operation.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
4.13 DX8
Demultiplexer, eight outputs, cascadable (REAL type)
Symbol
DX8
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
&RQWUROLQSXW , ;6 < 5 2XWSXWYDULDEOH
6DYHPRGH %2 06 < 5 2XWSXWYDULDEOH
5HVHWWLQJ %2 5 < 5 2XWSXWYDULDEOH
&KDQJHHQDEOH %2 (1& < 5 2XWSXWYDULDEOH
< 5 2XWSXWYDULDEOH
< 5 2XWSXWYDULDEOH
< 5 2XWSXWYDULDEOH
<6 , &RQWURORXWSXW
Brief description
Block of the REAL type for demultiplex operation. This block is cascadable.
Method of operation
Depending on ENC, R, MS and XS = 1 to 8, the block switches through its input X to one of the
eight selectable outputs Y1 to Y8 (example: XS = 3 means Y3 = X).
When XS = 0 or XS >= 9, none of the block inputs Y1 to Y8 is selected. Non-selected outputs are
either set to zero or retain their previous value until the next change.
The following priority sequence applies for the control inputs:
Truth table(s)
ENC R MS XS Outputs Y1 to Y8
0 * * * The previous values are retained
1 1 * * Y1 to Y8 = 0
1 0 0 1 <= XS <= 8 • Selected output = X
• Output not selected = 0
1 0 0 XS = 0 or XS >= 9 Y1 to Y8 = 0
ENC R MS XS Outputs Y1 to Y8
1 0 1 1 <= XS <= 8 • Selected output = X
• Outputs not selected remain unchanged
1 0 1 XS = 0 or XS >= 9 All previous values remain unchanged
Cascading
The block output YS must be connected to the block input XS of the following block.
For XS = 0 to 8, YS = 0
When XS > 8: YS = XS-8
(use for cascading)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.14 DX8_D
Demultiplexer, eight outputs, cascadable (DOUBLE INTEGER type)
Symbol
DX8_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
&RQWUROLQSXW , ;6 < ', 2XWSXWYDULDEOH
0HPRU\PRGH %2 06 < ', 2XWSXWYDULDEOH
5HVHWWLQJ %2 5 < ', 2XWSXWYDULDEOH
&KDQJHHQDEOH %2 (1& < ', 2XWSXWYDULDEOH
< ', 2XWSXWYDULDEOH
< ', 2XWSXWYDULDEOH
< ', 2XWSXWYDULDEOH
<6 , &RQWURORXWSXW
Brief description
Block of the DOUBLE INTEGER type for demultiplex operation. This block is cascadable.
Method of operation
Depending on ENC, R, MS and XS = 1 to 8, the block switches through its input X to one of the
eight selectable outputs Y1 to Y8 (example: XS = 3 means Y3 = X).
When XS = 0 or XS ≥ 9, none of the block inputs Y1 to Y8 is selected. Non-selected outputs are
either set to zero or retain their previous value until the next change.
The following priority sequence applies for the control inputs:
ENC before R before MS
When ENC = 0, all outputs Y1 to Y8 remain unchanged, regardless of R and MS. When ENC = 1,
outputs Y1 to Y8 are enabled for change. When R = 1, all outputs Y1 to Y8 receive the value 0,
irrespective of MS. When MS = 0 (non-latching mode), all outputs Y1 to Y8 not selected by XS
receive the value 0. When MS = 1 (storing mode), all outputs not selected by XS remain
unchanged.
Truth table(s)
ENC R MS XS Outputs Y1 to Y8
0 * * * The previous values are retained
1 1 * * Y1 to Y8 = 0
1 0 0 1 <= XS <= 8 • Selected output = X
• Output not selected = 0
1 0 0 XS = 0 or XS >= 9 Y1 to Y8 = 0
ENC R MS XS Outputs Y1 to Y8
1 0 1 1 <= XS <= 8 • Selected output = X
• Outputs not selected remain unchanged
1 0 1 XS = 0 or XS >= 9 All previous values remain unchanged
* Arbitrary
For XS = 0 to 8, YS = 0.When XS > 8: YS = XS - 8 (use for cascading).
Cascading
The block output YS must be connected to the block input XS of the following block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
4.15 DX8_I
Demultiplexer, eight outputs, cascadable (INTEGER type)
Symbol
DX8_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
&RQWUROLQSXW , ;6 < , 2XWSXWYDULDEOH
6DYHPRGH %2 06 < , 2XWSXWYDULDEOH
5HVHWWLQJ %2 5 < , 2XWSXWYDULDEOH
&KDQJHHQDEOH %2 (1& < , 2XWSXWYDULDEOH
< , 2XWSXWYDULDEOH
< , 2XWSXWYDULDEOH
< , 2XWSXWYDULDEOH
<6 , &RQWURORXWSXW
Brief description
Block of the INTEGER type for demultiplex operation. This block is cascadable.
Method of operation
Depending on ENC, R, MS and XS = 1 to 8, the block switches through its input X to one of the
eight selectable outputs Y1 to Y8 (example: XS = 3 means Y3 = X).
When XS = 0 or XS >= 9, none of the block inputs Y1 to Y8 is selected. Non-selected outputs are
either set to zero or retain their previous value until the next change.
The following priority sequence applies for the control inputs:
Truth table(s)
ENC R MS XS Outputs Y1 to Y8
0 * * * The previous values are retained
1 1 * * Y1 to Y8 = 0
1 0 0 1 <= XS <= 8 • Selected output = X
• Output not selected = 0
1 0 0 XS = 0 or XS >= 9 Y1 to Y8 = 0
ENC R MS XS Outputs Y1 to Y8
1 0 1 1 <= XS <= 8 • Selected output = X
• Outputs not selected remain unchanged
1 0 1 XS = 0 or XS >= 9 All previous values remain unchanged
* Arbitrary
For XS = 0 to 8, YS = 0.When XS > 8: YS = XS - 8 (use for cascading)
Cascading
The block output YS must be connected to the block input XS of the following block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.16 ETE
Edge evaluator (BOOL type)
Symbol
ETE
,QSXWSXOVH %2 , 43 %2 2XWSXWSXOVH
41 %2 2XWSXWSXOVH
Brief description
Edge evaluation
Method of operation
This block detects a signal change at input I. With a positive edge (0→1) at input I, output QP =
1 is set for scan time TA.
With a negative edge (1→0) at input I, output QN = 1 is set for scan time TA.
Initialization
The initialization defines the start value for the first cyclic pass. If input I receives the value 1
during initialization of an upstream block, the block cannot detect a positive edge during the
first cyclic pass. If input I receives the value 0 during initialization of an upstream block, the block
cannot detect a negative edge during the first cyclic pass.
Block diagram
43
,
41
Time diagram
, 7$ 7$
43
7$
41
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.17 LVM
Double-sided limit monitor with hysteresis (BOOL type)
Symbol
LVM
,QSXWYDULDEOH 5 ; 48 %2 (LQJDQJVJU¸¡HREHUKDOE
,QWHUYDOPHDQYDOXH 5 0 LQWHUYDO
,QWHUYDOOLPLW 5 / 40 %2 (LQJDQJVJU¸¡HLQQHUKDOE
+\VWHUHVLV 5 +< LQWHUYDO
4/ %2 ,QSXWYDULDEOHEHORZ
LQWHUYDO
Brief description
• The block of the BOOL type monitors an input variable through comparison with selectable
reference variables.
• Can be used for monitoring setpoints, actual values and measured values, as well as for the
suppression of frequent switching (chatter).
• The block provides a window discriminator function.
Method of operation
The block calculates an intermediate value based on a transmission characteristic (see
Transmission characteristic) with hysteresis. This intermediate value is compared with the
interval limits, and the result is output at outputs QU, QM, and QL. The transfer characteristic is
configured with the values for the mean value M, the interval limit L and the hysteresis HY.
Block diagram
0 / +<
48
; 40
4/
Transfer function
48
40
4/
0/ 0 0/
+< +<
/ /
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.18 MFP
Pulse generator (BOOL type)
Symbol
MFP
,QSXWSXOVH %2 , 4 %2 2XWSXWSXOVH
3XOVHGXUDWLRQPV 76 7
Brief description
• Timer for generating a pulse with a fixed duration.
• Used as a pulse-contracting or pulse-stretching monoflop.
Method of operation
The rising edge of a pulse at input I sets output Q to 1 for the pulse duration T. The pulse
generator cannot be retriggered. When T=0, a pulse duration of 1 cycle is active.
Initialization
The initialization defines the start value for the first cyclic pass.
If input I receives the value 1 during initialization from the upstream block output, the block
cannot detect a positive edge during the first cyclic pass.
If output Q receives the default value 1, output Q = 1 is set after initialization for the pulse
duration T.
Block diagram
, 7 W
Time diagram
,
7 7 7
4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.19 MUX8
Multiplexer, cascadable (REAL type)
Symbol
MUX8
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; &&6 , &DVFDGLQJFRQWUROZRUG
,QSXWYDULDEOH 5 ; 4) %2 (UURUPHVVDJH
,QSXWYDULDEOH 5 ;
,QSXWYDULDEOH 5 ;
,QSXWYDULDEOH 5 ;
,QSXWYDULDEOH 5 ;
,QSXWYDULDEOH 5 ;
&DVFDGHLQSXW 5 &&,
&RQWUROZRUG , ;&6
(QDEOH %2 (1
Brief description
Block of the REAL type for 8-fold multiplex operation. This block is cascadable.
Method of operation
This block outputs the value of the cascading input CCI at output Y as long as the enable input
EN is logic 0.
When EN is logic 1, one of the input variables X1 to X8 is switched through to output Y as long
as the 16-bit control word XCS assumes a value between 1 and 8.
If the value of the input XCS > 8, output Y assumes the value 0, and output QF becomes logic 1.
The cascading control word assumes the value CCS = XCS-8, see truth table.
The outputs Y, CCS, and QF can be used to cascade the blocks. In this case, output Y of the first
block is connected to input CCI of the downstream multiplexer, output CCS to the following XCS,
and output QF to the following input EN.
Block diagram
;&6 (1
; <
; &&6
&&, 08; 4)
Truth table(s)
EN XCS Y CSS QF
0 Any CCI 0 0
1 0 0 0 1
1 1 X1 0 0
1 2 X2 0 0
1 3 X3 0 0
1 4 X4 0 0
1 5 X5 0 0
1 6 X6 0 0
1 7 X7 0 0
1 8 X8 0 0
1 >8 0 XCS-8 1
Cascading
08; 08;
9DU 5 ;, < 5 9DU 5 ;, < 5 2XWSXW
9DU ; &&6 , 9DU ; &&6 , &DVF
9DU ; 4) %2 9DU ; 4) %2 )DXOW
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
&DVF &&,
&WUO , &&,
;&6 , ;&6
ZRUG
%2 (1
(QDE %2 (1
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.20 MUX8_D
Multiplexer, cascadable (DOUBLE-INTEGER type)
Symbol
MUX8_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; &&6 , &DVFDGLQJFRQWUROZRUG
,QSXWYDULDEOH ', ; 4) %2 (UURUPHVVDJH
,QSXWYDULDEOH ', ;
,QSXWYDULDEOH ', ;
,QSXWYDULDEOH ', ;
,QSXWYDULDEOH ', ;
,QSXWYDULDEOH ', ;
&DVFDGHLQSXW ', &&,
&RQWUROZRUG , ;&6
(QDEOH %2 (1
Brief description
Block of the DOUBLE INTEGER type for 8-fold multiplex operation. This block is cascadable.
Method of operation
This block outputs the value of the cascading input CCI at output Y as long as the enable input
EN is logic 0. When EN is logic 1, one of the input variables X1 to X8 is switched through to output
Y as long as the 16-bit control word XCS assumes a value between 1 and 8. If the value of the
input XCS > 8, output Y assumes the value 0, and output QF becomes logic 1. The cascading
control word assumes the value CCS = XCS-8, see truth table. The outputs Y, CCS, and QF can be
used to cascade the blocks. In this case, output Y of the first block is connected to input CCI of
the downstream multiplexer, output CCS to the following XCS, and output QF to the following
input EN.
Block diagram
;&6 (1
; <
; &&6
&&, 4)
08;
Truth table(s)
EN XCS Y CSS QF
0 Any CCI 0 0
1 0 0 0 1
1 1 X1 0 0
1 2 X2 0 0
1 3 X3 0 0
1 4 X4 0 0
1 5 X5 0 0
1 6 X6 0 0
1 7 X7 0 0
1 8 X8 0 0
1 >8 0 XCS-8 1
Cascading
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
4.21 MUX8_I
Multiplexer, cascadable (INTEGER type)
Symbol
MUX8_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; &&6 , &DVFDGLQJFRQWUROZRUG
,QSXWYDULDEOH , ; 4) %2 (UURUPHVVDJH
,QSXWYDULDEOH , ;
,QSXWYDULDEOH , ;
,QSXWYDULDEOH , ;
,QSXWYDULDEOH , ;
,QSXWYDULDEOH , ;
&DVFDGHLQSXW , &&,
&RQWUROZRUG , ;&6
(QDEOH %2 (1
Brief description
Block of the INTEGER type for 8-fold multiplex operation. This block is cascadable.
Method of operation
This block outputs the value of the cascading input CCI at output Y as long as the enable input
EN is logic 0.
When EN is logic 1, one of the input variables X1 to X8 is switched through to output Y as long
as the 16-bit control word XCS assumes a value between 1 and 8.
If the value of the input XCS > 8, output Y assumes the value 0, and output QF becomes logic 1.
The cascading control word assumes the value CCS = XCS-8, see truth table.
The outputs Y, CCS, and QF can be used to cascade the blocks. In this case, output Y of the first
block is connected to input CCI of the downstream multiplexer, output CCS to the following XCS,
and output QF to the following input EN.
Block diagram
;&6 (1
; <
; &&6
&&, 4)
08;
Truth table(s)
EN XCS Y CSS QF
0 Any CCI 0 0
1 0 0 0 1
1 1 X1 0 0
1 2 X2 0 0
1 3 X3 0 0
1 4 X4 0 0
1 5 X5 0 0
1 6 X6 0 0
1 7 X7 0 0
1 8 X8 0 0
1 >8 0 XCS-8 1
Cascading
08;B, 08;B,
9DU , ;, < , 9DU , ;, < , 2XWSXW
9DU ; &&6 , 9DU ; &&6 &DVF
9DU ; 4) %2 9DU ; 4) %2 )DXOW
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
9DU ; 9DU ;
&DVF &&,
&WUO &&,
;&6 ;&6
ZRUG
%2 (1
(QDE %2 (1
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.22 NAND
Logic AND operation (BOOL type)
Symbol
NAND
%LQDU\LQSXW %2 , 4 %2 1$1'ELQDU\YDULDEOH
Brief description
NAND block with up to four inputs of the BOOL type
Method of operation
The block combines the binary values at the inputs I 1-4 to a logic AND, inverts the result and
outputs it at binary output Q.
Truth table(s)
,QSXW 2XWSXW
$UELWUDU\
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four inputs (I1 to I4)
istics
4.23 NCM
Numeric comparator (REAL type)
Symbol
NCM
,QSXWYDULDEOH 5 ; 48 %2 ;!;
,QSXWYDULDEOH 5 ; 4( %2 ; ;
4/ %2 ;;
Brief description
Block for comparison operations of two numeric variables of the REAL type
Method of operation
The input variables X1 and X2 are compared and one of binary outputs QU, QE, or QL is set
depending on the result of the comparison operation.
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
4.24 NCM_D
Numeric comparator (DOUBLE INTEGER type)
Symbol
NCM_D
,QSXWYDULDEOH ', ; 48 %2 ;!;
,QSXWYDULDEOH ', ; 4( %2 ; ;
4/ %2 ;;
Brief description
Block for comparison operations of two numeric variables of the DOUBLE INTEGER type
Method of operation
The input variables X1 and X2 are compared and one of binary outputs QU, QE, or QL is set
depending on the result of the comparison operation.
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
4.25 NCM_I
Numeric comparator (INTEGER type)
Symbol
NCM_I
,QSXWYDULDEOH , ; 48 %2 ;!;
,QSXWYDULDEOH , ; 4( %2 ; ;
4/ %2 ;;
Brief description
Block for comparison operations of two numeric variables of the INTEGER type
Method of operation
The input variables X1 and X2 are compared and one of binary outputs QU, QE, or QL is set
depending on the result of the comparison operation.
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
4.26 NOP1
Dummy block (REAL type)
Symbol
NOP1
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
Brief description
The block of the REAL type is used as dummy block (No Operation). It is used to provide a
constant value for several blocks.
Method of operation
The block outputs the value present at input X without change at output Y. This is a so-called
DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.27 NOP1_B
Dummy block (BOOL type)
Symbol
NOP1_B
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
Brief description
The block of the BOOL type is used as dummy block (No Operation). It is used to provide a
constant value for several blocks.
Method of operation
The block outputs the value present at input I without change at output Q. This is a so-called
DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.28 NOP1_D
Dummy block (DOUBLE INTEGER type)
Symbol
NOP1_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
Brief description
The block of the DOUBLE INTEGER type is used as dummy block (No Operation). It is used to
provide a constant value for several blocks.
Method of operation
The block outputs the value present at input X without change at output Y. This is a so-called
DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.29 NOP1_I
Dummy block (INT type)
Symbol
NOP1_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
Brief description
The block of the INT type is used as dummy block (No Operation). It is used to provide a constant
value for several blocks.
Method of operation
The block outputs the value present at input X without change at output Y. This is a so-called
DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.30 NOP8
Dummy block (REAL type)
Symbol
NOP8
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
Brief description
The block of the REAL type is used as dummy block (No Operation). It is used to provide up to
eight constant values for several blocks.
Method of operation
The block outputs the values present at inputs X1-X8 without change at outputs Y1 to Y8. This
is a so-called DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.31 NOP8_B
Dummy block (BOOL type)
Symbol
NOP8_B
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
Brief description
The block of the BOOL type is used as dummy block (No Operation). It is used to provide up to
eight constant values for several blocks.
Method of operation
The block outputs the values present at inputs I1-I8 without change at outputs Q1 to Q8. This is
a so-called DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.32 NOP8_D
Dummy block (DOUBLE INTEGER type)
Symbol
NOP8_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
Brief description
The block of the DOUBLE INTEGER type is used as dummy block (No Operation). It is used to
provide up to eight constant values for several blocks.
Method of operation
The block outputs the values present at inputs X1-X8 without change at outputs Y1 to Y8. This
is a so-called DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.33 NOP8_I
Dummy block (INTEGER type)
Symbol
NOP8_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
Brief description
The block of the INTEGER type is used as dummy block (No Operation). It is used to provide up
to eight constant values for several blocks.
Method of operation
The block outputs the values present at inputs X1-X8 without change at outputs Y1 to Y8. This
is a so-called DUMMY or No Operation block.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.34 NOR
Logic OR operation (BOOL type)
Symbol
NOR
%LQDU\LQSXW %2 , 4 %2 %LQDU\YDULDEOH125
Brief description
NOR block with up to four inputs of the BOOL type
Method of operation
The block combines the binary values at the inputs I 1-4 to a logic OR, inverts the result and
outputs it at binary output Q.
Truth table(s)
,QSXW 2XWSXW
$UELWUDU\
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four connections (I1 to I4)
istics
4.35 NOT
Inverter (BOOL type)
Symbol
NOT
%LQDU\LQSXW %2 , 4 %2 %LQDU\YDULDEOH127
Brief description
Inverter of the BOOL type
Method of operation
The block inverts the binary variable at input I and outputs the result at output Q.
4=,
Truth table(s)
Input 1 Output Q
1 0
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.36 NOT_W
Status word inverter (WORD type)
Symbol
NOT_W
6WDWXVZRUG : ,6 46 : ,QYHUWHGVWDWXVZRUG
Brief description
• Inverter for WORD-type status word
• One's complement formation of IS
Method of operation
16 binary states are combined in a status word.
The block inverts the status word IS bit-by-bit and outputs it at output QS.
The following applies for the bit k of the inverted status word:
46N=,6N
Complement formation
Example: IS = 15 -> QS = -16
6WDWXVZRUG
,6
,QYHUWHGVWDWXVZRUG
46
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.37 NSW
Numeric change-over switch (REAL type)
Symbol
NSW
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
,QSXWYDULDEOH 5 ;
6ZLWFKSRVLWLRQ %2 ,
Brief description
The block switches one of two numeric input variables (REAL type) to the output.
Method of operation
If input I = 0, then X1 is given to output Y.
If input I = 1, then X2 is given to output Y.
Block diagram
;, <
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.38 NSW_D
Numeric change-over switch (DOUBLE INTEGER type)
Symbol
NSW_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
,QSXWYDULDEOH ', ;
6ZLWFKSRVLWLRQ %2 ,
Brief description
The block switches one of two numeric input variables (DOUBLE INTEGER type) to the output
Method of operation
If input I = 0, then X1 is given to output Y.
If input I = 1, then X2 is given to output Y.
Block diagram
;, <
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.39 NSW_I
Numeric change-over switch (INTEGER type)
Symbol
NSW_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
,QSXWYDULDEOH , ;
6ZLWFKSRVLWLRQ %2 ,
Brief description
The block switches one of two numeric input variables (INTEGER type) to the output.
Method of operation
If input I = 0, then X1 is given to output Y.
If input I = 1, then X2 is given to output Y.
Block diagram
;
<
;
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.40 OR
Logic OR operation (BOOL type)
Symbol
OR
%LQDU\YDOXHLQSXW %2 , 4 %2 %LQDU\YDULDEOH25
Brief description
OR block with up to four inputs of the BOOL type
Method of operation
The block combines the binary values at the inputs I 1-4 to a logic OR (disjunction) and outputs
the result at its binary output Q.
Q = I01∨...∨I04
Output Q = 0, when the value 0 is present at all inputs I1 to I4. In all other cases, output Q = 1.
Truth table(s)
,QSXW 2XWSXW
$UELWUDU\
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four connections (I1 to I4)
istics
4.41 OR_W
Logic OR operation (WORD type)
Symbol
OR_W
,QSXWVWDWXVZRUG : , 46 : 6WDWXVZRUG25
4 %2 %LQDU\YDULDEOH
Brief description
OR block with up to four inputs of the WORD type
Method of operation
16 binary states are combined in a status word.
The block combines the status words I1 to I4 bit-by-bit according to the logic OR function.
The result is given to the block output QS (status word OR).
The following applies for bit k of status word OR:
QSk = I02k∨ I02k, k = 1...16
A bit of the OR status word is equal to 1 when at least one of the equivalent bits on the block
inputs I1 to I4 is equal to 1.
The binary output Q is 1 if at least one bit of the status word OR is equal to 1.
6WDWXVZRUG
,
6WDWXVZRUG RU
,
6WDWXVZRUG25
46
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four connections (I1 to I4)
istics
4.42 PCL
Pulse shortener (BOOL type)
Symbol
PCL
,QSXWSXOVH %2 , 4 %2 2XWSXWSXOVH
3XOVHGXUDWLRQPV 76 7
Brief description
Timer for limiting the pulse duration
Method of operation
The rising edge of a pulse at input I sets output Q to 1. Output Q becomes 0 when input I = 0 or
pulse duration T has expired. When T=0, a pulse duration of 1 cycle is active.
Initialization
The initialization defines the start value for the first cyclic pass.
If input I receives the value 1 during initialization from the upstream block output, the block
cannot detect a positive edge during the first cyclic pass.
If output Q receives the default value 1, output Q = 1 is set after initialization for the pulse
duration T.
Block diagram
, W
Time diagram
,
7 7
4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.43 PDE
Switch-on delay (BOOL type)
Symbol
PDE
,QSXWSXOVH %2 , 4 %2 2XWSXWSXOVH
3XOVHGHOD\WLPHPV 76 7
Brief description
BOOL-type timer with on-delay
Method of operation
The pulse delay time at the input T is taken over with the rising edge at input I. After this time
has elapsed, output Q is set to 1.
Output Q becomes 0 when I = 0.
If the duration of input pulse I is less than pulse delay time T, then Q remains at 0.
If time T is so long that the maximum value that can be displayed internally (T/ta as 32-bit value,
where ta = sampling time) is exceeded, the maximum value is set (e.g. when ta = 1 ms, approx.
50 days).
When T=0, a pulse delay time of 1 cycle is active.
Method of operation
The initialization defines the start value for the first cyclic pass.
If input I receives the value 1 during initialization from the upstream block output, the block
cannot detect a positive edge during the first cyclic pass. The pulse delay time T is therefore not
taken over in the first cyclic pass with I = 1, the specified time from the initialization remains
effective.
If output Q receives a value of 1 during initialization, then output Q = 1 is set immediately after
initialization when I = 1.
Block diagram
, W
7
Time diagram
,
7
4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.44 PDF
Switch-off delay (BOOL type)
Symbol
PDF
,QSXWSXOVH %2 , 4 %2 2XWSXWSXOVH
3XOVHVWUHWFKLQJWLPHPV 76 7
Brief description
BOOL-type timer with off-delay
Method of operation
The falling edge of a pulse at block input I resets output Q to 0 after pulse stretching time T.
Output Q becomes 1 when I = 1.
Output Q becomes 0 when input pulse I = 0 and the off-delay time T has expired.
If input I is reset to 1 before time T expires, then output Q remains at 1.
When T=0, a pulse stretching time of 1 cycle is active.
Initialization
The initialization defines the start value for the first cyclic pass.
If input I receives the value 1 during initialization from the upstream block output, the block
cannot detect a negative edge during the first cyclic pass.
If output Q receives the value 1 during initialization, output Q = 1 is set after initialization for the
pulse stretching time T.
Block diagram
, 4
7
Time diagram
,
7 7
4
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.45 PST
Pulse stretching block (BOOL type)
Symbol
PST
,QSXWSXOVH %2 , 4 %2 2XWSXWSXOVH
5HVHWWLQJ %2 5
3XOVHGXUDWLRQPV 76 7
Brief description
Block for the generation of a pulse with a minimum duration and with additional reset input.
Method of operation
The rising edge of a pulse at input I sets output Q to 1.
Output Q does not fall back to 0 until input pulse I = 0 and the pulse duration T has expired.
Output Q can be set to zero at any time by means of the reset input R with R = 1.
When T=0, a pulse duration of 1 cycle is active.
Initialization
The initialization defines the start value for the first cyclic pass.
If input I receives the value 1 during initialization from the upstream block output, the block
cannot detect a positive edge during the first cyclic pass.
If output Q receives the value 1 during initialization, output Q = 1 is set after initialization for the
pulse duration T.
Block diagram
, 4
Time diagram
,
7 7 7
4
Figure 4-1 Output pulse Q as a function of pulse duration T and input pulse I (with R = 0)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.46 RSR
RS flip-flop, R-dominant (BOOL type)
Symbol
RSR
6HW %2 6 4 %2 %LQDU\YDULDEOH
5HVHWWLQJ %2 5 41 %2 ,QYHUVHELQDU\YDULDEOH
Brief description
Used as static binary value memory
Method of operation
With logic 1 at input S, output Q is set to logic 1. If input R is set to logic 1, then output Q is set
to logic 0. If both inputs are logic 0, then Q does not change. However, if the two inputs are logic
1, then Q is logic 0, since the reset input dominates.
Output QN always has the value inverse to Q.
Block diagram
6 4
5 41
Truth table(s)
Binary values when set/reset command is given
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.47 RSS
RS flip-flop, S-dominant (BOOL type)
Symbol
RSS
6HW %2 6 4 %2 %LQDU\YDULDEOH
5HVHWWLQJ %2 5 41 %2 ,QYHUVHELQDU\YDULDEOH
Brief description
Block of the BOOL type for use as a static binary value memory
Method of operation
With logic 1 at input S, output Q is set to logic 1. If input R is set to logic 1, then output Q is set
to logic 0. If both inputs are logic 0, then Q does not change. However, if the two inputs are logic
1, then Q is also logic 1, since the setting input dominates.
Output QN always has the value inverse to Q.
Block diagram
6 4
5 41
Truth table(s)
Binary values when set/reset command is given
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.48 SH
Shift block (WORD type)
Symbol
SH
6WDWXVZRUG : ,6 46 : 2XWSXWYDULDEOH
1XPEHURIVKLIWV , ;' 4& %2 /DVWELWVKLIWHGRXW
LQWKHYDOXHUDQJH 4= %2 ;'!
OLPLWHGWR
Brief description
The block of the WORD type shifts a status word bit-by-bit to the left or right.
Method of operation
The block shifts the status word present at input IS bit-by-bit by the number of positions
specified at input XD.
New positions created by the shifting are filled with zeros irrespective of the shift direction.
The last bit shifted out is output on output QC. When XD = 0, QC = 0 is always true. When |XD|
> 15, QC = 0, QS = 0 and QZ = 1 are always true.
%LQDU\QXPEHURI,6
%LQDU\QXPEHURI46
%LQDU\QXPEHURI,6
%LQDU\QXPEHURI46
;'SODFHVDUH
ORVW
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.49 SH_DW
Shift block (DWORD type)
Symbol
SH_DW
6WDWXVZRUG ': ,6 46 ': 2XWSXWYDULDEOH
6KLIWQXPEHU , ;' 4& %2 /DVWELWVKLIWHGRXW
4= %2 ,;',!
Brief description
The block of the DWORD type shifts a status word bit-by-bit to the left or right.
Method of operation
The block shifts the status word present at input IS bit-by-bit by the number of positions
specified at input XD.
New positions created by the shifting are filled with zeros irrespective of the shift direction.
The last bit shifted out is output on output QC. When XD = 0, QC = 0 is always true. When |XD|
> 31, QC = 0, QS = 0 and QZ = 1 are always true.
%LQDU\QXPEHURI,6
%LQDU\QXPEHURI46
%LQDU\QXPEHURI,6
%LQDU\QXPEHURI46
;'SODFHVDUH
ORVW
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.50 TRK
Tracking/memory element (REAL type)
Symbol
TRK
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
7UDFNVDYH %2 75
LQSXWYDULDEOH
5HVHWLQSXWYDULDEOH %2 5
Brief description
Block of the REAL type for saving a current input value with the following properties:
• Edge-controlled latch functions for the input value
• Level-controlled correction of the output value
Method of operation
Initialization
If input TR receives the value 1 during initialization of an upstream block output, a negative edge
can be detected during the first cyclic pass. In START mode, the value for TR is stored temporarily.
If input TR receives the value 0 during initialization of the upstream block output, the block
cannot detect a negative edge during the first cyclic pass.
Block diagram
;
<
75
Truth table(s)
1 -> 0: Fall
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.51 TRK_D
Tracking/memory element (DOUBLE INTEGER type)
Symbol
TRK_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
7UDFNVDYH %2 75
,QSXWYDULDEOH
5HVHWLQSXWYDULDEOH %2 5
Brief description
Block of the DOUBLE INTEGER type for saving a current input value with the following properties:
• Edge-controlled latch functions for the input value
• Level-controlled correction of the output value
Method of operation
Initialization
If input TR receives the value 1 during initialization of an upstream block output, a negative edge
can be detected during the first cyclic pass. In START mode, the value for TR is stored temporarily.
If input TR receives the value 0 during initialization of the upstream block output, the block
cannot detect a negative edge during the first cyclic pass.
Block diagram
;
<
75
Truth table(s)
1 -> 0: Fall
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
4.52 XOR
Logic exclusive OR operation (BOOL type)
Symbol
XOR
%LQDU\YDOXHLQSXW %2 , 4 %2 %LQDU\YDULDEOH;25
Brief description
XOR block with up to four inputs of the BOOL type
Method of operation
The block combines the binary values at the inputs I 1-4 according to the logic exclusive OR
function and outputs the result at its binary output Q.
Output Q is 0, when a 0 is present at all inputs I1 to I4 or when a 1 is present at an even number
of the inputs I1 to I4.
Output Q is 1, when a 1 is present at an odd number of the inputs I1 to I4.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ I comprises up to four connections (I1 to I4)
istics
4.53 XOR_W
Logic exclusive OR operation (WORD type)
Symbol
XOR_W
,QSXWVWDWXVZRUG : , 46 : ;25VWDWXVZRUG
4 %2 %LQDU\YDULDEOH
Brief description
XOR block with up to four inputs of the WORD type
Method of operation
The block combines the status words I1 to I4 bit-by-bit according to the logic exclusive OR
function.
The result is given to the block output QS (status word XOR).
The following applies for bit k of status word XOR:
6WDWXVZRUG
,
6WDWXVZRUG [RU
,
;25VWDWXVZRUG
46
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ Up to four connections (I1 to I4)
istics
Symbol
BY_B
6WDWXVZRUG %< ,6 4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
Brief description
Status word decoding to eight binary variables
Method of operation
This block decodes the status word IS to eight binary variables and gives the result to its outputs
Q1 to Q8.
The binary variable of outputs Q1 to Q8 is assigned to each dual equivalent 20 to 27 of the status
byte.
Block diagram
4
4
,6
'
4
Mapping scheme
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.2 BY_W
Status byte to status word converter
Symbol
BY_W
+LJKLQSXWE\WH %< ,%+ 46 : 6WDWXVZRUG
/RZLQSXWE\WH %< ,%/
Brief description
Combining two bytes into one word
Method of operation
The block combines two bytes into one word. The low byte of the output word is assigned to the
input byte IBL and the high byte of the output word is assigned to the input byte IBH. The output
word is present on QS according to the following conversion scheme.
Conversion scheme
,QSXW,%+
,QSXW,%/
2XWSXW46
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.3 B_BY
Eight binary variables to status byte converter
Symbol
B_BY
%LQDU\YDULDEOH %2 , 46 %< 6WDWXVE\WH
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
Brief description
Status byte generation from eight binary variables
Method of operation
This block combines the binary variables from I1 to I8 into a status byte and gives the result to
its output QS.
Each binary variable of inputs I1 to I8 is assigned the dual equivalent 20 to 27 from which the
status word is generated.
Block diagram
,
,
' 46
,
Mapping scheme
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.4 B_DW
32 binary variables to status double word converter
Symbol
B_DW
%LQDU\YDULDEOH %2 , 46 ': 6WDWXVGRXEOHZRUG
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
Brief description
Status double word generation from 32 binary variables
Method of operation
The block combines the binary variables of I1 to I32 into a status double word and outputs the
result at output QS. Each binary variable of inputs I1 to I32 is assigned the dual equivalent 20 to
231 from which the status double word is generated.
Block diagram
,
,
' 46
,
Mapping scheme
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.5 B_W
16 binary variables to status word converter
Symbol
B_W
%LQDU\YDULDEOH %2 , 46 : 6WDWXVZRUG
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
%LQDU\YDULDEOH %2 ,
Brief description
Status word generation from 16 binary variables
Method of operation
This block combines the binary variables from I1 to I16 into a status word and gives the result to
its output QS.
Each binary variable of inputs I1 to I16 is assigned the dual equivalent 20 to 215 from which the
status word is generated.
Block diagram
,
,
' 46
,
Conversion scheme
,QSXWV
'XDOHTXLYDOHQW
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.6 DW_B
Status double word to 32 binary variables converter
Symbol
DW_B
6WDWXVGRXEOHZRUG ': ,6 4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
Brief description
Status double word decryption to 32 binary variables
Method of operation
This block decodes the status double word IS to 32 binary variables and gives the result to its
outputs Q1 to Q32.
The binary variable of outputs Q1 to Q32 is assigned to each dual equivalent 20 to 231 of the
status word.
Block diagram
4
4
,6
'
4
Mapping scheme
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.7 DW_R
Acceptance of bit string as REAL value
Symbol
DW_R
,QSXWYDULDEOHGRXEOHZRUG ': ; < 5 2XWSXWYDULDEOH
6XEVWLWXWHYDOXH,1) 5 693 ,)3 %2 ,QILQLW\
6XEVWLWXWHYDOXH,1) 5 691 ,)1 %2 1HJDWLYHLQILQLW\
6XEVWLWXWHYDOXH1D1 5 69 1$1 %2 1RWD1XPEHU
Brief description
This block accepts the bit string at the input as a REAL variable and checks the value for validity
Method of operation
The DW_R block accepts the bit string at the input as a REAL variable and supplies it at output Y.
The bit pattern of input variable X is checked. If the bit pattern corresponds to the representation
for +/-infinite or NaN according to IEEE 754, the corresponding binary outputs IFP, IFN, and NAN
are set to 1, and the substitute value predefined for each are applied at output Y.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.8 DW_W
Status double word to status word converter
Symbol
DW_W
ELWLQSXWGRXEOHZRUG ': ,6 4:+ : 2XWSXWZRUGKLJK
4:/ : 2XWSXWZRUGORZ
Brief description
A 32-bit double word is divided into two 16-bit words.
Method of operation
Output variables are calculated according to the following regulation:
QWL = IS mod 216
QWH = IS / 216
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.9 D_I
DOUBLE INTEGER to INTEGER converter
Symbol
D_I
,QSXWYDULDEOH ', ; < , 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a DOUBLE INTEGER variable to an INTEGER variable
Method of operation
This block converts a DOUBLE INTEGER variable to an INTEGER variable, i.e. the least significant
word of the DOUBLE INTEGER input variable is applied to the output variable Y.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.10 D_R
DOUBLE INTEGER to REAL converter
Symbol
D_R
,QSXWYDULDEOHGRXEOHZRUG ', ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of a DOUBLE INTEGER variable to a REAL variable
Method of operation
This block converts a DOUBLE INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.11 D_SI
DOUBLE INTEGER to SHORT INTEGER converter
Symbol
D_SI
,QSXWYDULDEOH ', ; < 6, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a DOUBLE INTEGER variable to a SHORT INTEGER variable
Method of operation
This block converts a DOUBLE INTEGER variable to a SHORT INTEGER variable, i.e. the least
significant byte of the DOUBLE INTEGER input variable is applied to output variable Y.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.12 D_UI
DOUBLE INTEGER to UNSIGNED INTEGER converter
Symbol
D_UI
,QSXWYDULDEOH ', ; < 8, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a DOUBLE INTEGER variable to an UNSIGNED INTEGER variable
Method of operation
This block converts a DOUBLE INTEGER variable to an UNSIGNED INTEGER variable, i.e. the least
significant word of the DOUBLE INTEGER input variable is applied to the output variable.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.13 D_US
DOUBLE INTEGER to UNSIGNED SHORT INTEGER converter
Symbol
D_US
,QSXWYDULDEOH ', ; < 86 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a DOUBLE INTEGER variable to an UNSIGNED SHORT INTEGER variable
Method of operation
This block converts a DOUBLE INTEGER variable to an UNSIGNED SHORT INTEGER variable, i.e.
the least significant word of the DOUBLE INTEGER input variable is applied to the output variable.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.14 I_D
INTEGER to DOUBLE INTEGER converter
Symbol
I_D
,QSXWYDULDEOH , ; < ', 2XWSXWYDULDEOH
Brief description
Conversion of an INTEGER variable to a DOUBLE INTEGER variable
Method of operation
This block converts an INTEGER variable to a DOUBLE INTEGER variable.
The input variable of data type INTEGER is copied to the least significant word of the output
variable. If the input variable has a positive sign, the most significant word of the output variable
is filled with 16#0000. If, on the other hand, the sign is negative, the most significant word
receives the value 16#FFFF.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.15 I_R
INTEGER to REAL converter
Symbol
I_R
,QSXWYDULDEOH , ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of an INTEGER variable to a REAL variable
Method of operation
This block converts an INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.16 I_SI
INTEGER to SHORT INTEGER converter
Symbol
I_SI
,QSXWYDULDEOH , ; < 6, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of an INTEGER variable to a SHORT INTEGER variable
Method of operation
This block converts an INTEGER variable to a SHORT INTEGER variable, i.e. the least significant
byte of the INTEGER input variable is applied to output variable Y.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.17 I_UD
INTEGER to UNSIGNED DOUBLE INTEGER converter
Symbol
I_UD
,QSXWYDULDEOH , ; < 8' 2XWSXWYDULDEOH
4) %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Conversion of an INTEGER variable to an UNSIGNED DOUBLE INTEGER variable
Method of operation
This block converts an INTEGER variable to an UNSIGNED DOUBLE INTEGER variable.
The input variable of data type INTEGER is copied to the least significant word of the output
variable.
The most significant word of the output variable is filled with 16#0000.
If the value of the input variable is negative, QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.18 I_US
INTEGER to UNSIGNED SHORT INTEGER converter
Symbol
I_US
,QSXWYDULDEOH , ; < 86 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of an INTEGER variable to an UNSIGNED SHORT INTEGER variable
Method of operation
This block converts an INTEGER variable to an UNSIGNED SHORT INTEGER variable, i.e. the least
significant byte of the INTEGER input variable is applied to output variable Y.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.19 LR_R
LONG REAL to REAL converter
Symbol
LR_R
,QSXWYDULDEOHGRXEOHZRUG /5 ; < 5 2XWSXWYDULDEOH
4) %2 2YHUIORZ
Brief description
Conversion of a LONG REAL variable to a REAL variable
Method of operation
This block converts a LONG REAL variable to a REAL variable. The result is limited to the maximum
range of data type REAL. If the output variable has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
5.20 N2_R
16-bit fixed-point format (N2) to REAL converter
Symbol
N2_R
,QSXWYDULDEOH , ; < 5 2XWSXWYDULDEOH
1RUPDOL]DWLRQIDFWRU 5 1)
5HIHUHQFHYDOXH , %9
Brief description
Conversion of a 16-bit fixed-point variable to a REAL variable. For the case X and BV= 16384
(corresponds to 100% in normalized PROFIdrive representation), output Y assumes the value at
input NF.
Method of operation
Input variable X is mapped to output Y according to the following formula:
(;⋅1))
<=
%9
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.21 N4_R
32-bit fixed-point format (N4) to REAL converter
Symbol
N4_R
,QSXWYDULDEOH ', ; < 5 2XWSXWYDULDEOH
1RUPDOL]DWLRQIDFWRU 5 1)
5HIHUHQFHYDOXH ', %9
Brief description
Conversion of a 32-bit fixed-point variable to a REAL variable. For the case X and BV=
1073741824 (corresponds to 100% in normalized PROFIdrive representation), output Y
assumes the value at input NF.
Method of operation
Input variable X is mapped to output Y according to the following formula:
(;⋅1))
<=
%9
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.22 R_D
REAL to DOUBLE INTEGER converter
Symbol
R_D
,QSXWYDULDEOH 5 ; < ', 2XWSXWYDULDEOH
4) %2 2YHUIORZ
Brief description
Conversion of a REAL variable to a DOUBLE INTEGER variable
Method of operation
This block converts a REAL variable to a DOUBLE INTEGER variable. During the conversion,
decimal places of the input variable are truncated.
Note
The number is not rounded off.
The result is limited to the data type of the output variable corresponding to -231 or 231-1. If the
output variable has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.23 R_DW
Acceptance of bit string as DWORD
Symbol
R_DW
,QSXWYDULDEOH 5 ; < ': 2XWSXWYDULDEOH
Brief description
This block copies the bit string of the input variable to the output variable.
Method of operation
This block copies the bit string of input variable X to the output variable Y.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.24 R_I
REAL to INTEGER converter
Symbol
R_I
,QSXWYDULDEOH 5 ; < , 2XWSXWYDULDEOH
4) %2 2YHUIORZ
Brief description
Conversion of a REAL variable to an INTEGER variable
Method of operation
This block converts a REAL variable to an INTEGER variable. During the conversion, decimal
places of the input variable are truncated. The number is not rounded off. The result is limited
to the data type of the output variable corresponding to +32767 or -32768. If the output variable
has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.25 R_LR
REAL to LONG REAL converter
Symbol
R_LR
,QSXWYDULDEOH 5 ; < /5 2XWSXWYDULDEOH
Brief description
Conversion of a REAL variable to a LONG REAL variable
Method of operation
This block converts a REAL variable to a LONG REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.26 R_N2
REAL to 16-bit fixed-point format (N2) converter
Symbol
R_N2
,QSXWYDULDEOH 5 ; < , 2XWSXWYDULDEOH
1RUPDOL]DWLRQIDFWRU 5 1) 4) %2 2YHUIORZ
5HIHUHQFHYDOXH , %9
Brief description
Conversion of a REAL variable to a 16-bit fixed-point variable. For the case X = NF and BV = 16384
(default), output Y assumes the value 16384 (corresponds to 100% in normalized PROFIdrive
representation).
Method of operation
Input variable X is mapped to output Y according to the following formula (result is rounded):
;⋅%9
<=
1)
Y is limited to the range -32768 ≤ Y ≤ 32767 (corresponds to -200% ≤ Y < 200%).
Output QF (overflow) is set to "1" if X cannot be mapped on Y because of a range violation, or
if NF = 0 has been set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
5.27 R_N4
REAL to 32-bit fixed-point format (N4) converter
Symbol
R_N4
,QSXWYDULDEOH 5 ; < ', 2XWSXWYDULDEOH
1RUPDOL]DWLRQIDFWRU 5 1) 4) %2 2YHUIORZ
5HIHUHQFHYDOXH ', %9
Brief description
Conversion of a REAL variable to a 32-bit fixed-point variable. For the case X = NF and BV =
1073741824 (default), output Y assumes the value 1073741824 (corresponds to 100%).
Method of operation
Input variable X is mapped to output Y according to the following formula (result is rounded):
;⋅%9
<=
1)
Y is limited to the range -2147483648 ≤ Y ≤ 2147483647 (decimal) or 16#8000000 ≤ Y ≤
16#7FFFFFF (hexadecimal) (corresponds to -200% ≤ Y < 200%).
Output QF (overflow) is set to "1" if X cannot be mapped on Y because of a range violation, or
if NF = 0 has been set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
5.28 R_SI
REAL to SHORT INTEGER converter
Symbol
R_SI
,QSXWYDULDEOH 5 ; < 6, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a REAL variable to a SHORT INTEGER variable
Method of operation
This block converts a REAL variable to a SHORT INTEGER variable. During the conversion, decimal
places of the input variable are truncated. The number is not rounded off. The result is limited
to the data type of the output variable corresponding to -128 or 127. If the output variable has
been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.29 R_UD
REAL to UNSIGNED DOUBLE INTEGER converter
Symbol
R_UD
,QSXWYDULDEOH 5 ; < 8' 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a REAL variable to an UNSIGNED DOUBLE INTEGER variable
Method of operation
This block converts a REAL variable to an UNSIGNED DOUBLE INTEGER variable. During the
conversion, decimal places of the input variable are truncated. The number is not rounded off.
The result is limited to the data type of the output variable corresponding to 0 or 232 -1. If the
output variable has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.30 R_UI
REAL to UNSIGNED INTEGER converter
Symbol
R_UI
,QSXWYDULDEOH 5 ; < 8, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a REAL variable to an UNSIGNED INTEGER variable
Method of operation
This block converts a REAL variable to an UNSIGNED INTEGER variable. During the conversion,
decimal places of the input variable are truncated. The number is not rounded off. The result is
limited to the data type of the output variable corresponding to 0 or 216 -1. If the output variable
has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.31 R_US
REAL to UNSIGNED SHORT INTEGER converter
Symbol
R_US
,QSXWYDULDEOH 5 ; < 86 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of a REAL variable to an UNSIGNED SHORT INTEGER variable
Method of operation
This block converts a REAL variable to an UNSIGNED SHORT INTEGER variable.
During the conversion, decimal places of the input variable are truncated. The number is not
rounded off. The result is limited to the data type of the output variable corresponding to 0 or 28
-1. If the output variable has been limited, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.32 SI_D
SHORT INTEGER to DOUBLE INTEGER converter
Symbol
SI_D
,QSXWYDULDEOH 6, ; < ', 2XWSXWYDULDEOH
Brief description
Conversion of a SHORT INTEGER variable to a DOUBLE INTEGER variable
Method of operation
This block converts a SHORT INTEGER variable to a DOUBLE INTEGER variable.
The input variable of data type SHORT INTEGER is copied to the least significant byte of the
output variable. If the input variable has a positive sign, the most significant bytes of the output
variable are filled with 16#00. If, on the other hand, the sign is negative, the most significant
bytes receive the value 16#FF.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.33 SI_I
SHORT INTEGER to INTEGER converter
Symbol
SI_I
,QSXWYDULDEOH 6, ; < , 2XWSXWYDULDEOH
Brief description
Conversion of a SHORT INTEGER variable to an INTEGER variable
Method of operation
This block converts a SHORT INTEGER variable to an INTEGER variable.
The input variable of data type SHORT INTEGER is copied to the least significant byte of the
output variable. If the input variable has a positive sign, the most significant byte of the output
variable is filled with 16#00. If, on the other hand, the sign is negative, the most significant byte
receives the value 16#FF.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.34 SI_R
SHORT INTEGER to REAL converter
Symbol
SI_R
,QSXWYDULDEOH 6, ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of a SHORT INTEGER variable to a REAL variable
Method of operation
This block converts a SHORT INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.35 SI_UD
SHORT INTEGER to UNSIGNED DOUBLE INTEGER converter
Symbol
SI_UD
,QSXWYDULDEOH 6, ; < 8' 2XWSXWYDULDEOH
4) %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Conversion of a SHORT INTEGER variable to an UNSIGNED DOUBLE INTEGER variable
Method of operation
This block converts a SHORT INTEGER variable to an UNSIGNED DOUBLE INTEGER variable.
The input variable of data type SHORT INTEGER is copied to the least significant byte of the
output variable. The most significant bytes of the output variable are filled with 16#00. If the
value of the input variable is negative, QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.36 SI_UI
SHORT INTEGER to UNSIGNED INTEGER converter
Symbol
SI_UI
,QSXWYDULDEOH 6, ; < 8, 2XWSXWYDULDEOH
4) %2 ,QSXWYDULDEOHQHJDWLYH
Brief description
Conversion of a SHORT INTEGER variable to an UNSIGNED INTEGER variable
Method of operation
This block converts a SHORT INTEGER variable to an UNSIGNED INTEGER variable.
The input variable of data type SHORT INTEGER is copied to the least significant byte of the
output variable. The most significant byte of the output variable is filled with 16#00. If the value
of the input variable is negative, QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.37 UD_I
UNSIGNED DOUBLE INTEGER to INTEGER converter
Symbol
UD_I
,QSXWYDULDEOH 8' ; < , 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of an UNSIGNED DOUBLE INTEGER variable to an INTEGER variable
Method of operation
This block converts an UNSIGNED DOUBLE INTEGER variable to an INTEGER variable, i.e. the least
significant word of the UNSIGNED DOUBLE INTEGER input variable is applied to output variable
Y.
If the value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.38 UD_R
UNSIGNED DOUBLE INTEGER to REAL converter
Symbol
UD_R
,QSXWYDULDEOH 8' ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED DOUBLE INTEGER variable to a REAL variable
Method of operation
This block converts an UNSIGNED DOUBLE INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.39 UD_SI
UNSIGNED DOUBLE INTEGER to SHORT INTEGER converter
Symbol
UD_SI
,QSXWYDULDEOH 8' ; < 6, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of an UNSIGNED DOUBLE INTEGER variable to a SHORT INTEGER variable
Method of operation
This block converts an UNSIGNED DOUBLE INTEGER variable to a SHORT INTEGER variable, i.e.
the least significant byte of the UNSIGNED DOUBLE INTEGER input variable is applied to output
variable Y. If the value of input variable X exceeds the value range of output variable Y, then QF
= 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.40 UI_D
UNSIGNED INTEGER to DOUBLE INTEGER converter
Symbol
UI_D
,QSXWYDULDEOH 8, ; < ', 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED INTEGER variable to a DOUBLE INTEGER variable
Method of operation
This block converts an UNSIGNED INTEGER variable to a DOUBLE INTEGER variable.
The input variable of data type UNSIGNED INTEGER is copied to the least significant word of
output variable Y. The most significant word is filled with 16#0000.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.41 UI_R
UNSIGNED INTEGER to REAL converter
Symbol
UI_R
,QSXWYDULDEOH 8, ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED INTEGER variable to a REAL variable
Method of operation
This block converts an UNSIGNED INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.42 UI_SI
UNSIGNED INTEGER to SHORT INTEGER converter
Symbol
UI_SI
,QSXWYDULDEOH 8, ; < 6, 2XWSXWYDULDEOH
4) %2 2YHUIORZRIYDOXHUDQJH
Brief description
Conversion of an UNSIGNED INTEGER variable to a SHORT INTEGER variable
Method of operation
This block converts an UNSIGNED INTEGER variable to a SHORT INTEGER variable, i.e. the least
significant byte of the UNSIGNED INTEGER input variable is applied to output variable Y. If the
value of input variable X exceeds the value range of output variable Y, then QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.43 US_D
UNSIGNED SHORT INTEGER to DOUBLE INTEGER converter
Symbol
US_D
,QSXWYDULDEOH 86 ; < ', 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED SHORT INTEGER variable to a DOUBLE INTEGER variable
Method of operation
This block converts an UNSIGNED SHORT INTEGER variable to a DOUBLE INTEGER variable.
The input variable of data type UNSIGNED SHORT INTEGER is copied to the least significant byte
of output variable Y. The remaining most significant bytes are filled with 16#00.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.44 US_I
UNSIGNED SHORT INTEGER to INTEGER converter
Symbol
US_I
,QSXWYDULDEOH 86 ; < , 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED SHORT INTEGER variable to an INTEGER variable
Method of operation
This block converts an UNSIGNED SHORT INTEGER variable to an INTEGER variable.
The input variable of data type UNSIGNED SHORT INTEGER is copied to the least significant byte
of output variable Y. The remaining most significant bytes are filled with 16#00.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.45 US_R
UNSIGNED SHORT INTEGER to REAL converter
Symbol
US_R
,QSXWYDULDEOH 86 ; < 5 2XWSXWYDULDEOH
Brief description
Conversion of an UNSIGNED SHORT INTEGER variable to a REAL variable
Method of operation
This block converts an UNSIGNED SHORT INTEGER variable to a REAL variable.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.46 W_B
Status word to 16 binary variables converter
Symbol
W_B
6WDWXVZRUG : ,6 4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
4 %2 %LQDU\YDULDEOH
Brief description
Status word decoding to 16 binary variables
Method of operation
This block decodes the status word IS to 16 binary variables and gives the result to its outputs Q1
to Q16.
The binary variable of outputs Q1 to Q16 is assigned to each dual equivalent 20 to 215 of the
status word.
,
,
' 46
,
Conversion scheme
'XDOHTXLYDOHQW
2XWSXWV
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.47 W_BY
Status word to status byte converter
Symbol
W_BY
6WDWXVZRUG : ,6 4%+ %< +LJKRXWSXWE\WH
4%/ %< /RZRXWSXWE\WH
Brief description
Conversion of a word to 2 bytes
Method of operation
This block splits the input word at IS into two bytes. These can be output to the I/O via the SBQ
block. The most significant byte of the word at input IS is output at output QBH, and the least
significant byte of the word at input IS is output at output QBL (see conversion scheme below):
Conversion scheme
,QSXW,6
2XWSXW4%+
2XWSXW4%/
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
5.48 W_DW
Status word to status double word converter
Symbol
W_DW
+LJKLQSXWZRUG : ,:+ 46 ': 6WDWXVGRXEOHZRUG
/RZLQSXWZRUG : ,:/
Brief description
Two 16-bit words are copied to one 32-bit double word.
Method of operation
The input variables are mapped according to the formula
QS = (IWL + IWH) * 216
to output QS.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
Symbol
CTD
&DOFXODWHWLPHGLIIHUHQFH %2 (1 7' 8' 7LPHGLIIHUHQFHLQPLFURVHFRQGV
,QWHUQDOWLPHVWDPS 8' ,76 09 5 &XUUHQWPHDQYDOXH
4 %2 0HDQYDOXHJHQHUDWLRQHQGHG
Brief description
Block for determining a time difference in microseconds.
Method of operation
If EN = 1, the time difference relative to time stamp ITS is determined and output at output TD.
Time stamp ITS must be determined beforehand with block GTS. A positive edge at EN starts the
mean value generation of TD, and the output is output at MV. After 10000 mean value
determinations, the mean value generation ends and output Q is set to 1. If input EN = 0 is set,
the mean value generation and output Q is reset. Outputs TD and MV retain their last value.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
6.2 GTS
Reads out a time stamp
Symbol
GTS
2XWSXWWLPHVWDPS %2 (1 ,76 8' ,QWHUQDOWLPHVWDPS
Brief description
Blocks for reading out an internal time stamp for determination of runtimes. The determined
time stamp can then be indicated at the CTD block for calculating a time difference in
microseconds.
Method of operation
If EN = 1, an internal time stamp is determined and output at output TS. If EN = 0 is predefined,
the last determined time stamp is output at TS.
Block connections
Configuration data
SIMOTION ✓
SINAMICS -
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.3 RAA
Reset all messages
Symbol
RAA
5HVHWDOOPHVVDJHV %2 5 4 %2 $OOPHVVDJHVUHVHW
Brief description
All active messages are reset with the RAA (Reset all Alarms) block.
Method of operation
As long as input R = 1, all active messages are reset. Output Q indicates that the reset has been
performed.
Block connections
Configuration data
6.4 RDA
Reads out a message
Symbol
RDA
5HDGRXWPHVVDJHVWDWH %2 5' & %2 ,QFRPLQJPHVVDJH&20(
0HVVDJH,' $,' 0,' * %2 2XWJRLQJPHVVDJH*21(
5 %2 0HVVDJHDFNQRZOHGJHG5(&(,37('
4) %2 (UURU
Brief description
The block reads the state of a message and its acknowledgement state.
Method of operation
• The message is configured in SIMOTION SCOUT and referenced via a project-wide unique ID.
• Input MID contains the message ID, e.g. _alarm.Message.
• The state of the message is determined as long as input RD=1.
• A change of the message ID is possible. The state of the message ID specified at input MID is
read out in each cycle.
• The outputs display the state of the message. The following combinations are possible:
Block connections
Configuration data
6.5 RDAA
Reads out all messages
Symbol
RDAA
5HDGRXWPHVVDJHEXIIHU %2 5' 180 8, 1XPEHURIDFWLYH
PHVVDJHV
$/$506
/LVWRIDFWLYH
PHVVDJHV
Brief description
The list of active messages in the SIMOTION target device is read out.
Method of operation
• The reading out of all active messages is initiated with a rising edge at input RD.
• The number of active messages is returned at NUM output.
• A field of up to 40 active messages is displayed at the ALARMS output.
The following is displayed for each alarm:
– The message ID
– The identifier for message not acknowledgeable (0), acknowledgeable message (1)
– The state of the alarm: OUTGOING_ALARM (0), INCOMING_ALARM (1)
• The outputs are refreshed as long as RD=1. With RD=0, the last state of the message buffer
is retained.
Block connections
Configuration data
6.6 RDP
Reads drive parameters (REAL type)
Symbol
RDP
1XPHURSDUDPHWUR ', 3$5 < 5 9DORUHSDUDPHWUR
,QGLFHSDUDPHWUR ', ,'; %6< %2 -REGLOHWWXUDDWWLYR
$YYLRGHOMREGLOHWWXUD %2 5' 4 %2 -REGLOHWWXUDULXVFLWR
4) %2 (UURUH
(5& : &RGLFHGLHUURUH
Brief description
The block enables the asynchronous reading of drive parameters of the REAL type on the local
drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.7 RDP_D
Reads drive parameters (DOUBLE INTEGER type)
Symbol
RDP_D
3DUDPHWHUQXPEHU ', 3$5 < ', 3DUDPHWHUYDOXH
3DUDPHWHULQGH[ ', ,'; %6< %2 5HDGMRELVDFWLYH
6WDUWUHDGMRE %2 5' 4 %2 5HDGMRELVVXFFHVVIXO
4) %2 (UURU
(5& : (UURUFRGH
Brief description
The block enables the asynchronous reading of drive parameters of the DOUBLE INTEGER type
on the local drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.8 RDP_I
Reads drive parameters (INTEGER type)
Symbol
RDP_I
3DUDPHWHUQXPEHU ', 3$5 < , 3DUDPHWHUYDOXH
3DUDPHWHULQGH[ ', ,'; %6< %2 5HDGMRELVDFWLYH
6WDUWUHDGMRE %2 5' 4 %2 5HDGMRELVVXFFHVVIXO
4) %2 (UURU
(5& : (UURUFRGH
Brief description
The block enables the asynchronous reading of drive parameters of the INTEGER type on the
local drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.9 RDP_UD
Reads drive parameters (UNSIGNED DOUBLE INTEGER type)
Symbol
RDP_UD
3DUDPHWHUQXPEHU ', 3$5 < 8' 3DUDPHWHUYDOXH
3DUDPHWHULQGH[ ', ,'; %6< %2 5HDGMRELVDFWLYH
6WDUWUHDGMRE %2 5' 4 %2 5HDGMRELVVXFFHVVIXO
4) %2 (UURU
(5& : (UURUFRGH
Brief description
RDP_UD (Read Parameter) enables the asynchronous reading of drive parameters of the
UNSIGNED DOUBLE INTEGER type on the local drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.10 RDP_UI
Reads drive parameters (UNSIGNED INTEGER type)
Symbol
RDP_UI
3DUDPHWHUQXPEHU ', 3$5 < 8, 3DUDPHWHUYDOXH
3DUDPHWHULQGH[ ', ,'; %6< %2 5HDGMRELVDFWLYH
6WDUWUHDGMRE %2 5' 4 %2 5HDGMRELVVXFFHVVIXO
4) %2 (UURU
(5& : (UURUFRGH
Brief description
RDP_UI (Read Parameter) enables the asynchronous reading of drive parameters of the
UNSIGNED INTEGER type on the local drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.11 RDP_US
Reads drive parameters (UNSIGNED SHORT INTEGER type)
Symbol
RDP_US
3DUDPHWHUQXPEHU ', 3$5 < 86 3DUDPHWHUYDOXH
3DUDPHWHULQGH[ ', ,'; %6< %2 5HDGMRELVDFWLYH
6WDUWUHDGMRE %2 5' 4 %2 5HDGMRELVVXFFHVVIXO
4) %2 (UURU
(5& : (UURUFRGH
Brief description
RDP_US (Read Parameter) enables the asynchronous reading of drive parameters of the
UNSIGNED SHORT INTEGER type on the local drive object.
Method of operation
The parameter number and the index of the parameter to be read must be specified at inputs PAR
and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is always
read on the drive object on which the chart with the block is calculated. It is not possible to access
parameters on several drive objects.
The asynchronous read job is started on a positive edge at input RD. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and can vary from job to job. During an active read job, any additional positive edges
at input RD are ignored.
Output Q = 1 indicates that the parameter has been read successfully and the value is available
at output Y. Y holds its value until a new value has been read. If an error occurs during an access,
this is signaled with QF = 1. Output Y retains its last value.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.12 RMDP
Reads drive parameters from the controller
Symbol
RMDP
/RJLFDOVWDUWDGGUHVVDV , ,27< %6< %2 5HDGMREDFWLYHPHVVDJH
LQSXWRXWSXW 4 %2 5HDGMREH[HFXWHGVXFFHVVIXOO\
/RJLFDOVWDUWDGGUHVVRIWKH ', /$'5 PHVVDJH
GULYH 4) %2 (UURU
,'RIWKHGULYHREMHFWIRU 8' '2,' (5& ', 5HWXUQVWDWXVRIWKHHQWLUHMRE
GLUHFWDGGUHVVLQJ <
(UURUPHVVDJHW\SH
1XPEHURISDUDPHWHUV
; YDOXHVSHFLILHGIRUHDFK
SDUDPHWHUQXPEHUVDQGLQGLFHV SDUDPHWHU
WREHUHDG
6WDUWUHDGLQJ %2 5'
$ERUWRIWKHDFWLYHMRE %2 $%57
Brief description
The RMDP block enables up to 39 SINAMICS parameters to be read from the DCC SIMOTION
program. Only SINAMICS drives are supported. For error diagnostics, the error code ERC can be
evaluated. ERC corresponds to the error code for parameter accesses according to PROVIdrive
DPV1. The possible error codes can be found in Appendix A.2 of this document or in the
SIMOTION Communication System Manual in Section PROFIdrive and there in the Subsection
Acyclic communication (Base Mode Parameter Access) → Error evaluation in table Error codes
in Base Mode Parameter Access responses.
The RMDP block is available as of SIMOTION V4.2.
Method of operation
First the block inputs for addressing the drive are entered as well as the selection of the
parameters to be read. The asynchronous read job is started by the positive edge at input RD. As
long as the job is active, the BSY flag is set. The number of cycles for a parameter access is
dependent on the system utilization and communication load and can vary from job to job.
During an active read job, any additional positive edges at input RD are ignored. The actual
reading/writing of the parameters is not performed in the DCC task. The block instance only
controls the communication command. The results of the read/write job must be polled at the
block outputs in the following task cycles. The evaluation is performed via global variables or
user-defined block types. Output Q = 1 indicates that the parameters have been read successfully
and the values are available at output Y. Y retains its value until a new job has been completed
successfully. If an error occurs during an access, this is signaled with QF = 1. Output Y retains its
last value. For error diagnostics, the error code ERC can be evaluated.
If the entire job is successful (output Q=1) and individual jobs are not successful (ERC not equal
to 0), the values that are read from the drive are displayed. The other parameters with ERC = 0
have been read error-free.
The error status of the individual read jobs can be evaluated on the parameter-specific return
value PRES. An active job is aborted with the positive edge on the ABRT input. The ABRT signal
must have the value 1 for at least one cycle.
Time diagram
5'
%6<
4)
5HDGMRELV
QRWUHVWDUWHG
Brief description
The block enables up to 39 SINAMICS parameters to be read.
Data set 47 is always read out for PROFIBUS (external or integrated) irrespective of whether the
function is called with a valid (0>=doId<=254) or invalid 'doId' (doId=255).
Two data sets are available for PROFINET:
• Base Mode Parameter Access - local (data set 0xB02E)
• Base Mode Parameter Access - global (data set 0xB02F)
Data set 0xB02E is used for SIMOTION if either no 'dold' or an invalid 'dold' (dold=255) is
specified in the function. Access to the appropriate DO is then performed via the Parameter
Access Point (PAP). Either the PAP address can be specified directly or the log. address of the
cyclic data (e.g. 256 for a DO axis) can be specified. SIMOTION then determines the
corresponding PAP from this address before accessing the correct address. PAP must always be
at subslot 1 (HW Config configuration).
Data set 0xB02F is used if a valid 'dold' (0>=doId<=254) is entered. Any valid PAP or address can
be specified because the assignment is only performed via the 'doId'.
Parameterization example
In order to be able to write certain parameters of a drive object (in the example: SERVO_03),
proceed as follows:
First set the correct telegram configuration.
Then set the desired DO address in the RMDP block. To do this, set the block input 'LADR' to the
address (260) set in the telegram and the block input 'DOID' to the number (3) set in the
telegram.
Select the parameters to be read at block input 'X', e.g. r37(2) power unit temperatures, rectifier
maximum value in the expert list.
To do this, double-click block input 'X', select the first structure element and enter the parameter
number (37) at 'num' and the index (2) at 'idx'.
Block connections
Configuration data
6.13 SAH
Sample & hold (REAL type)
Symbol
SAH
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
&\FOHFORFNUDWLR ', &5
Brief description
Sample & hold block for equidistant value transfer (REAL type) between blocks with different
scanning procedures.
Method of operation
The value of the input variable X is taken over in the output variable Y in every CR cycle. The value
transfer cycle clock is synchronized with the cycle control point of the execution system. The
cycle control point defines the cycle clock in which all sampling times of the execution system
are restarted.
A value transfer takes place every CR cycle clock relative to the cycle control point. The absolute
value of CR is always generated for the cycle clock ratio. In the special case of CR = 0, the block
behaves as for CR = 1. The block must always be configured in the faster sampling time. If the
value from the slower scan time is transferred, it should be at the very beginning of the run
sequence. If the value is to taken from the faster into the slower sampling time, the block should
be computed last in the execution sequence.
The following figure shows the transfer of values from a 1 ms level to a 3 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHEDFNRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
The following figure shows the transfer of values from a 3 ms level to a 1 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHIURQWRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
If the slower scan time is not a multiple of the faster scan time, the value can only be transferred
consistently if both scanning procedures are restarted synchronously after CR cycles. This
corresponds to the least common multiple of both scan times. CR is then calculated as follows:
J(7IDVW7VORZ )
&5=
7IDVW
J(PVPV ) PV
&5= = =
PV PV
7
IDVW PV
PV
7
VORZ PV
PV
To enable values to be transferred at an optimal speed, it is recommended that the slower scan
time is always a multiple of the faster scan time.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.14 SAH_B
Sample & hold (BOOL type)
Symbol
SAH_B
,QSXWYDULDEOH %2 , 4 %2 2XWSXWYDULDEOH
&\FOHFORFNUDWLR ', &5
Brief description
Sample & hold block for equidistant value transfer (BOOL type) between blocks with different
scanning procedures.
Method of operation
The value of the input variable I is taken over in the output variable Q in every CR cycle. The value
transfer cycle clock is synchronized with the cycle control point of the execution system. The
cycle control point defines the cycle clock in which all sampling times of the execution system
are restarted.
A value transfer takes place every CR cycle clock relative to the cycle control point. The absolute
value of CR is always generated for the cycle clock ratio. In the special case of CR = 0, the block
behaves as for CR = 1. The block must always be configured in the faster sampling time. If the
value from the slower scan time is transferred, it should be at the very beginning of the run
sequence. If the value is to taken from the faster into the slower sampling time, the block should
be computed last in the execution sequence.
The following figure shows the transfer of values from a 1 ms level to a 3 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHEDFNRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
The following figure shows the transfer of values from a 3 ms level to a 1 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHIURQWRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
If the slower scan time is not a multiple of the faster scan time, the value can only be transferred
consistently if both scanning procedures are restarted synchronously after CR cycles. This
corresponds to the least common multiple of both scan times. CR is then calculated as follows:
J(7IDVW7VORZ )
&5=
7IDVW
J(PVPV ) PV
&5= = =
PV PV
7
IDVW PV
PV
7
VORZ PV
PV
To enable values to be transferred at an optimal speed, it is recommended that the slower scan
time is always a multiple of the faster scan time.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.15 SAH_BY
Sample & hold (BYTE type)
Symbol
SAH_BY
,QSXWYDULDEOH %< ,6 46 %< 2XWSXWYDULDEOH
&\FOHFORFNUDWLR ', &5
Brief description
Sample & hold block for the equidistant value transfer (BYTE type) between blocks with
different sampling times.
Method of operation
The value of the input variable IS is taken over in the output variable QS in every CR cycle. The
value transfer cycle clock is synchronized with the cycle control point of the execution system.
The cycle control point defines the cycle clock in which all sampling times of the execution
system are restarted.
A value transfer takes place every CR cycle clock relative to the cycle control point. The absolute
value of CR is always generated for the cycle clock ratio. In the special case of CR = 0, the block
behaves as for CR = 1. The block must always be configured in the faster sampling time. If the
value from the slower scan time is transferred, it should be at the very beginning of the run
sequence. If the value is to taken from the faster into the slower sampling time, the block should
be computed last in the execution sequence.
The following figure shows the transfer of values from a 1 ms level to a 3 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHEDFNRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
The following figure shows the transfer of values from a 3 ms level to a 1 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHIURQWRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
If the slower scan time is not a multiple of the faster scan time, the value can only be transferred
consistently if both scanning procedures are restarted synchronously after CR cycles. This
corresponds to the least common multiple of both scan times. CR is then calculated as follows:
J(7IDVW7VORZ )
&5=
7IDVW
J(PVPV ) PV
&5= = =
PV PV
7
IDVW PV
PV
7
VORZ PV
PV
To enable values to be transferred at an optimal speed, it is recommended that the slower scan
time is always a multiple of the faster scan time.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.16 SAH_D
Sample & hold (DOUBLE INTEGER type)
Symbol
SAH_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
&\FOHFORFNUDWLR ', &5
Brief description
Sample & hold block for equidistant value transfer (DOUBLE INTEGER type) between blocks with
different scanning procedures.
Method of operation
The value of the input variable X is taken over in the output variable Y in every CR cycle. The value
transfer cycle clock is synchronized with the cycle control point of the execution system. The
cycle control point defines the cycle clock in which all sampling times of the execution system
are restarted.
A value transfer takes place every CR cycle clock relative to the cycle control point. The absolute
value of CR is always generated for the cycle clock ratio. In the special case of CR = 0, the block
behaves as for CR = 1. The block must always be configured in the faster sampling time. If the
value from the slower scan time is transferred, it should be at the very beginning of the run
sequence. If the value is to taken from the faster into the slower sampling time, the block should
be computed last in the execution sequence.
The following figure shows the transfer of values from a 1 ms level to a 3 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHEDFNRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
The following figure shows the transfer of values from a 3 ms level to a 1 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHIURQWRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
If the slower scan time is not a multiple of the faster scan time, the value can only be transferred
consistently if both scanning procedures are restarted synchronously after CR cycles. This
corresponds to the least common multiple of both scan times. CR is then calculated as follows:
J(7IDVW7VORZ )
&5=
7IDVW
J(PVPV ) PV
&5= = =
PV PV
7
IDVW PV
PV
7
VORZ PV
PV
To enable values to be transferred at an optimal speed, it is recommended that the slower scan
time is always a multiple of the faster scan time.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.17 SAH_I
Sample & hold (INTEGER type)
Symbol
SAH_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
&\FOHFORFNUDWLR ', &5
Brief description
Sample & hold block for the equidistant value transfer (INTEGER type) between blocks with
different sampling times.
Method of operation
The value of the input variable X is taken over in the output variable Y in every CR cycle. The value
transfer cycle clock is synchronized with the cycle control point of the execution system. The
cycle control point defines the cycle clock in which all sampling times of the execution system
are restarted.
A value transfer takes place every CR cycle clock relative to the cycle control point. The absolute
value of CR is always generated for the cycle clock ratio. In the special case of CR = 0, the block
behaves as for CR = 1. The block must always be configured in the faster sampling time. If the
value from the slower scan time is transferred, it should be at the very beginning of the run
sequence. If the value is to taken from the faster into the slower sampling time, the block should
be computed last in the execution sequence.
The following figure shows the transfer of values from a 1 ms level to a 3 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHEDFNRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
The following figure shows the transfer of values from a 3 ms level to a 1 ms level. The time
diagram is shown for the calculation of the execution group.
PV
&5= =
PV
VDKVKRXOGEHDW
WKHIURQWRIWKHUXQVHTXHQFH
7
IDVW PV
9DOXHDFFHSWDQFH
7
VORZ PV
If the slower scan time is not a multiple of the faster scan time, the value can only be transferred
consistently if both scanning procedures are restarted synchronously after CR cycles. This
corresponds to the least common multiple of both scan times. CR is then calculated as follows:
J(7IDVW7VORZ )
&5=
7IDVW
J(PVPV ) PV
&5= = =
PV PV
7
IDVW PV
PV
7
VORZ PV
PV
To enable values to be transferred at an optimal speed, it is recommended that the slower scan
time is always a multiple of the faster scan time.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
6.18 SAV
Value buffering (REAL type)
Symbol
SAV
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
2SHUDWLQJPRGH %2 0 9/' %2 2XWSXWYDULDEOHYDOLG
4) %2 1RUHWHQWLYHPHPRU\
Brief description
SAV (Save) enables retentive storage of a REAL-type input variable.
Method of operation
The block is a retentive read/write memory for a REAL value.
The saved value of a SAV block is not retained when:
• The retentive memory on the target device has been cleared through a user action.
• The chart on which the block was configured, has been deleted and the change transferred
to the target device.
• The block has been deleted and the change transferred to the target system.
• The instance name of a block has been changed and transferred to the target system.
The value is retained when:
• The instance name does not change during a download.
• The target device ramps up without configuration data on the memory card. The memory of
the missing SAV blocks is only released after a download. In this way, the data is also retained
when the firmware is updated.
• Another SAV block has been added or removed.
• A download of the configuration is performed after an update of the DCBLIB.
• Another DO has been added or removed and downloaded to the target device.
• Another chart has been added or removed and downloaded to the target device.
• The target device ramps up with the same configuration as before the power failure.
The block is only active when a 0 on output QF indicates that retentive memory space is available
on the target device for storing the input values.
The block mode is set at input M:
Read mode (M = 0)
• The current saved value is output at output Y. The values at input X are not saved.
• Output VLD = 1 indicates the validity of Y. If the retentive memory of the system was
recreated when the block is initialized, VLD = 0. In this case, Y is invalid and contains its
default value. The status of VLD changes to 1 the first time a value is written (M = 1).
Initialization
The assignment between the SAV block and the value in the retentive memory is performed via
the instance name of the block. The unique instance name is automatically generated by the
DCC editor when the block is inserted in a chart. The instance name is made up of the call path
of the block as follows:
(Chart name)/(Name of subchart 1)/(Name of subchart 2)/../(Name of the block)
The instance name could look like this:
DCC_1/CFC1/CFC2/CFC3/SAV1
This instance name controls whether output Y is initialized with its default value or outputs the
last saved value in the INIT mode. A check is made on the target device whether a retentive value
has been saved for this instance name of the block. If this is not the case, the system recreates
the memory space, the default value of output variable Y is transferred to the system for
retentive storage and VLD is set to 0. If a retentive value has been saved for the instance name,
it is read and written to output Y and status VLD = 1 is output.
If no retentive memory is available for the block, output QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ No
line
Special character‐ A maximum of ten blocks can be used for the retentive storage (SAV, SAV_BY,
istics SAV_I, SAV_D) for each SINAMICS or SINAMICS INTEGRATED drive unit. Retentive
memory is available for a maximum of 40 bytes of user data. As of STARTER/SCOUT
V4.2, the number of blocks is only checked in the consistency check (menu
"Project -> Check consistency" or "Check consistency" in the shortcut menu of the
drive unit).
6.19 SAV_BY
Value buffering (BYTE type)
Symbol
SAV_BY
,QSXWYDULDEOH %< ,6 46 %< 2XWSXWYDULDEOH
2SHUDWLQJPRGH %2 0 9/' %2 2XWSXWYDULDEOHYDOLG
4) %2 1RUHWHQWLYHPHPRU\
Brief description
SAV_BY (Save) enables retentive storage of a BYTE-type input variable.
Method of operation
The block is a retentive read/write memory for a BYTE value.
The saved value of a SAV block is not retained when:
• The retentive memory on the target device has been cleared through a user action.
• The chart on which the block was configured, has been deleted and the change transferred
to the target device.
• The block has been deleted and the change transferred to the target system.
• The instance name of a block has been changed and transferred to the target system.
The value is retained when:
• The instance name does not change during a download.
• The target device ramps up without configuration data on the memory card. The memory of
the missing SAV blocks is only released after a download. In this way, the data is also retained
when the firmware is updated.
• Another SAV block has been added or removed.
• A download of the configuration is performed after an update of the DCBLIB.
• Another DO has been added or removed and downloaded to the target device.
• Another chart has been added or removed and downloaded to the target device.
• The target device ramps up with the same configuration as before the power failure.
The block is only active when a 0 on output QF indicates that retentive memory space is available
on the target device for storing the input values.
The block mode is set at input M:
Read mode (M = 0)
• The currently saved value is output at output QS. The values at input IS are not saved
• Output VLD = 1 displays the validity of QS. If the retentive memory of the system was
recreated when the block is initialized, VLD = 0. In this case, QS is invalid and contains its
default value. The status of VLD changes to 1 the first time a value is written (M = 1).
Initialization
The assignment between the SAV block and the value in the retentive memory is performed via
the instance name of the block. The unique instance name is automatically generated by the
DCC editor when the block is inserted in a chart. The instance name is made up of the call path
of the block as follows:
(Chart name)/(Name of subchart 1)/(Name of subchart 2)/../(Name of the block)
The instance name could look like this:
DCC_1/CFC1/CFC2/CFC3/SAV1
This instance name controls whether output QS is initialized with its default value or outputs the
last saved value in the INIT mode. A check is made on the target device whether a retentive value
has been saved for this instance name of the block. If not, the memory space is recreated by the
system, the default value of the output variable QS transferred to the system for retentive
storage, and VLD = 0 set. If a retentive value has been saved for the instance name, this is read,
written to output QS, and the status VLD = 1 output.
If no retentive memory is available for the block, output QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ No
line
Special character‐ A maximum of ten blocks can be used for the retentive storage (SAV, SAV_BY,
istics SAV_I, SAV_D) for each SINAMICS or SINAMICS INTEGRATED drive unit. Retentive
memory is available for a maximum of 40 bytes of user data. As of STARTER/SCOUT
V4.2, the number of blocks is only checked in the consistency check (menu
"Project -> Check consistency" or "Check consistency" in the shortcut menu of the
drive unit).
6.20 SAV_D
Value buffering (DOUBLE INTEGER type)
Symbol
SAV_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
2SHUDWLQJPRGH %2 0 9/' %2 2XWSXWYDULDEOHYDOLG
4) %2 1RUHWHQWLYHPHPRU\
Brief description
SAV_D (Save) enables retentive storage of a DOUBLE INTEGER-type input variable.
Method of operation
The block is a retentive read/write memory for a DOUBLE INTEGER value.
The saved value of a SAV block is not retained when:
• The retentive memory on the target device has been cleared through a user action.
• The chart on which the block was configured, has been deleted and the change transferred
to the target device.
• The block has been deleted and the change transferred to the target system.
• The instance name of a block has been changed and transferred to the target system.
The value is retained when:
• The instance name does not change during a download.
• The target device ramps up without configuration data on the memory card. The memory of
the missing SAV blocks is only released after a download. In this way, the data is also retained
when the firmware is updated.
• Another SAV block has been added or removed.
• A download of the configuration is performed after an update of the DCBLIB.
• Another DO has been added or removed and downloaded to the target device.
• Another chart has been added or removed and downloaded to the target device.
• The target device ramps up with the same configuration as before the power failure.
The block is only active when a 0 on output QF indicates that retentive memory space is available
on the target device for storing the input values.
The block mode is set at input M:
Read mode (M = 0)
• The current saved value is output at output Y. The values at input X are not saved.
• Output VLD = 1 indicates the validity of Y. If the retentive memory of the system was
recreated when the block is initialized, VLD = 0. In this case, Y is invalid and contains its
default value. The status of VLD changes to 1 the first time a value is written (M = 1).
Initialization
The assignment between the SAV block and the value in the retentive memory is performed via
the instance name of the block. The unique instance name is automatically generated by the
DCC editor when the block is inserted in a chart. The instance name is made up of the call path
of the block as follows:
(Chart name)/(Name of subchart 1)/(Name of subchart 2)/../(Name of the block)
The instance name could look like this:
DCC_1/CFC1/CFC2/CFC3/SAV1
This instance name controls whether output Y is initialized with its default value or outputs the
last saved value in the INIT mode. A check is made on the target device whether a retentive value
has been saved for this instance name of the block. If this is not the case, the system recreates
the memory space, the default value of output variable Y is transferred to the system for
retentive storage and VLD is set to 0. If a retentive value has been saved for the instance name,
it is read and written to output Y and status VLD = 1 is output.
If no retentive memory is available for the block, output QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ No
line
Special character‐ A maximum of ten blocks can be used for the retentive storage (SAV, SAV_BY,
istics SAV_I, SAV_D) for each SINAMICS or SINAMICS INTEGRATED drive unit. Retentive
memory is available for a maximum of 40 bytes of user data. As of STARTER/SCOUT
V4.2, the number of blocks is only checked in the consistency check (menu
"Project -> Check consistency" or "Check consistency" in the shortcut menu of the
drive unit).
6.21 SAV_I
Value buffering (INTEGER type)
Symbol
SAV_I
,QSXWYDULDEOH , ; < , 2XWSXWYDULDEOH
2SHUDWLQJPRGH %2 0 9/' %2 2XWSXWYDULDEOHYDOLG
4) %2 1RUHWHQWLYHPHPRU\
Brief description
SAV_I (Save) enables retentive storage of an INTEGER-type input variable.
Method of operation
The block is a retentive read/write memory for an INTEGER value.
The saved value of a SAV block is not retained when:
• The retentive memory on the target device has been cleared through a user action.
• The chart on which the block was configured, has been deleted and the change transferred
to the target device.
• The block has been deleted and the change transferred to the target system.
• The instance name of a block has been changed and transferred to the target system.
The value is retained when:
• The instance name does not change during a download.
• The target device ramps up without configuration data on the memory card. The memory of
the missing SAV blocks is only released after a download. In this way, the data is also retained
when the firmware is updated.
• Another SAV block has been added or removed.
• A download of the configuration is performed after an update of the DCBLIB.
• Another DO has been added or removed and downloaded to the target device.
• Another chart has been added or removed and downloaded to the target device.
• The target device ramps up with the same configuration as before the power failure.
The block is only active when a 0 on output QF indicates that retentive memory space is available
on the target device for storing the input values.
The block mode is set at input M:
Read mode (M = 0)
• The current saved value is output at output Y. The values at input X are not saved.
• Output VLD = 1 indicates the validity of Y. If the retentive memory of the system was
recreated when the block is initialized, VLD = 0. In this case, Y is invalid and contains its
default value. The status of VLD changes to 1 the first time a value is written (M = 1).
Initialization
The assignment between the SAV block and the value in the retentive memory is performed via
the instance name of the block. The unique instance name is automatically generated by the
DCC editor when the block is inserted in a chart. The instance name is made up of the call path
of the block as follows:
(Chart name)/(Name of subchart 1)/(Name of subchart 2)/../(Name of the block)
The instance name could look like this:
DCC_1/CFC1/CFC2/CFC3/SAV1
This instance name controls whether output Y is initialized with its default value or outputs the
last saved value in the INIT mode. A check is made on the target device whether a retentive value
has been saved for this instance name of the block. If this is not the case, the system recreates
the memory space, the default value of output variable Y is transferred to the system for
retentive storage and VLD is set to 0. If a retentive value has been saved for the instance name,
it is read and written to output Y and status VLD = 1 is output.
If no retentive memory is available for the block, output QF = 1 is set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ No
line
Special character‐ A maximum of ten blocks can be used for the retentive storage (SAV, SAV_BY,
istics SAV_I, SAV_D) for each SINAMICS or SINAMICS INTEGRATED drive unit. Retentive
memory is available for a maximum of 40 bytes of user data. As of STARTER/SCOUT
V4.2, the number of blocks is only checked in the consistency check (menu
"Project -> Check consistency" or "Check consistency" in the shortcut menu of the
drive unit).
6.22 SRA
Triggers/resets a message
Symbol
SRA
7ULJJHUPHVVDJH %2 6 4 %2 6XFFHVVPHVVDJH
5HVHWPHVVDJH %2 5 (5& ': (UURU
$X[LOLDU\YDOXH ', 09
0HVVDJH,' $,' 0,'
$FNQRZOHGJHPHQW %2 $&1
Brief description
A message configured in SCOUT can be triggered or reset with the SRA (Set Alarm) block. The
message is sent to the HMI and entered in the message buffer in the SIMOTION target device. The
message buffer contains all active messages. The SRA block is configured for multiple
instantiation. There can be several block instances that trigger the same message number.
Method of operation
• The message configured in SCOUT is entered at the MID message number.
• Input ACN =1 indicates that it is an acknowledgeable message. In this case, the message also
only disappears after a reset when it has been acknowledged by the user on the HMI. ACN =
0 is configured for messages that cannot be acknowledged.
• A process value / auxiliary value must be entered at parameter MV if this has been specified
in the configuration in SCOUT. A numerical value of the DINT type can be configured.
The auxiliary value is inserted in the message text with a special syntax during the
configuration of the messages: The call of a process value starts with @ and ends with @. The
parameters in between indicate the output of the value and its format.
Only auxiliary values of the DINT type are possible for messages triggered with the SRA block.
For detailed information on the syntax of auxiliary values in the message configuration, refer
to the SIMOTION SCOUT online help.
• The message is triggered with a rising edge at input S. If the block is called with a new
message number with 1 at input S, then the message is also triggered. Up to 40 messages can
be entered in the message buffer. If the block SRA is activated with rising edge at input S at
full message buffer, the block will be acknowledged with the error message. The message is
not entered.
• The message is reset with a rising edge at input R.
• If a rising edge is set at both inputs S and R during a call, R takes priority, i.e. the message is
reset.
• Output Q = 1 indicates that the parameter has been successfully set or reset. The outputs are
set again with a rising edge at input S or R.
• With Q = 0, output ERC displays an error code that specifies the reason why the message could
not be issued:
The specified values can be displayed as OR logic operation between the constants.
Error Meaning
code
16#00 No error. For an incoming message, an entry is made in the message list. The entry is deleted
00 from the message list for an outgoing message.
16#80 Message name not permitted.
01
16#80 Message loss through overflow. All 40 entries of the message list are occupied. An entry has
02 not been made in the message list.
16#80 Message loss through overflow (signal not sent yet, signal overflow). Send buffer for noti‐
03 fication of the clients is still occupied by the last event. An entry has not been made in the
message list. An error might also occur if function calls with rising and falling edge follow
in quick succession.
16#80 Double message, message rejected (call with message came or went two times in succes‐
04 sion). An entry has not been made in the message list.
16#80 No display device reported. A message is still entered in the list.
05
16#80 No job has been started yet with this message name (first call with S = FALSE). Falling edge
07 (outgoing message) arrived without prior rising edge (incoming message) An entry has not
been made in the message list.
16#80 A message with this ID is already active in the message buffer. The message occurs when a
08 message with the ID is in the message buffer and the same ID is set again. A new message
buffer entry is not generated.
16#80 Internal error
09
16#80 Entry was rejected; message acknowledgment memory full.
10
Block connections
Configuration data
6.23 STM
Fault/alarm trigger
Symbol
STM
)DXOWWULJJHU %2 6 4 %2 )DXOWDODUPDFWLYH
0HVVDJHYDOXH ', 09
$ODUPQXPEHU $,' 01
Brief description
A predefined message (fault or alarm) can be triggered on the DO with the STM (Set Message)
block. The fault is displayed (e.g. STARTER, AOP) and entered in the fault buffer or alarm buffer
of the DO. The following specifications apply to this block type:
• The message number (fault/alarm number) assigned to an instance must be in the range
51050 to 51069 (default value is 51050).
• A message number can be repeated at multiple instances in the DO (message can be issued
from different instances). However, for performance reasons, the STM block is not designed
for multiple instantiation. The figure below shows the resulting behavior when there is
multiple instantiation with the same message number for a fault on the same DO. Without
additional RC circuitry, the block instances with the same message number are not
coordinated (in any case, this would not be possible if the instances were running in
different scan times). For this reason, we recommend assigning a unique message number
in the DO for each instance.
• The message text is predefined and cannot be changed (see table below).
• The message type cannot be changed (a fault cannot be redefined to an alarm, or vice versa).
• The default setting for the fault response is OFF2. This can be changed in the SINAMICS basic
system parameter:
– p2100[0..19] "Set fault number for fault response" and
– p2101[0..19] "Fault response setting"
• The default setting for the acknowledgement mode is IMMEDIATE. This can be changed in
the SINAMICS basic system parameter:
– p2126[0..19] "Setting fault number for acknowledge mode" and
– p2127[0..19] "Acknowledgement mode setting"
The table below specifies the default settings for the attributes. Possible options for the various
settings can be found in the user documentation:
Method of operation
The number of the fault to be triggered (F51050 - F51059) must be specified at input MN. A
positive edge at input S triggers a fault at the DO. This is entered in the fault buffer of the DO and
the specified response at the DO is executed. By doing this, output Q is set by the block. Output
Q remains set as long as the fault is active. After a negative edge at input S, the fault can be
acknowledged according to the acknowledgement attribute of the message (analog system
faults: see first instance in figure below).
Input MV can be used to add additional information (fault value) for the fault. The value is
transferred to input S when the fault is triggered on a positive edge and is entered in the fault
buffer of the DO.
VWLQVWDQFH
)DXOWFDQEHDFNQRZOHGJHG
$FNQRZOHGJPHQW
,QSXW6 )DXOWLV
VHW
2XWSXW4
%DVLFV\VWHPPHVVDJH
,QWKHEORFN
WREORFN
LVVHWZLWK6
QGLQVWDQFH )DXOWLVLQDFWLYH
HYHQWKRXJKLQSXWLV
VWLOOVHW
,QSXW6
)DXOWLVDOUHDG\
VHW1RHIIHFW
,QWKHEORFN %DVLFV\VWHPPHVVDJH
2XWSXW4
LVVHWZLWK6 WREORFN
Example of two-fold instantiation with the same fault number on one DO (without additional RC
circuitry)
Method of operation
The number of the alarm to be triggered (A51060 - A51069) must be specified at input MN. A
positive edge at input S triggers the alarm assigned to the block. This is entered in the alarm
buffer of the DO. In so doing, output Q is set. The output remains set as long as the alarm is
active. Alarms are self-acknowledging and are acknowledged when input S is reset (see figure
below). Input MV can be used to provide additional information (alarm value) for the alarm,
which is also entered in the alarm buffer.
VWLQVWDQFH
2XWJRLQJDODUP
,QSXW6 $ODUPLV
VHW
,QWKHEORFN
2XWSXW4 ,QWKHEORFN LVUHVHWZLWK6
LVVHWZLWK6
$ODUPLVLQDFWLYH
QGLQVWDQFH HYHQWKRXJKLQSXWLV
VWLOOVHW
,QSXW6 $ODUPKDVDOUHDG\EHHQ $ODUPLVLQDFWLYH
VHW1RHIIHFW 2XWSXWVWLOOVHW
2XWSXW4 ,QWKHEORFN
LVVHWZLWK6
Example of two-fold instantiation with the same alarm number at one DO (without additional
RC circuitry)
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
6.24 WMDP
Writes drive parameters from the controller
Symbol
WMDP
/RJLFDOVWDUWDGGUHVVDV , ,27< %6< %2 :ULWHMREDFWLYHPHVVDJH
LQSXWRXWSXW 4 %2 :ULWHMREH[HFXWHGVXFFHVVIXOO\
/RJLFDOVWDUWDGGUHVVRIWKH ', /$'5 PHVVDJH
GULYH 4) %2 (UURU
,'RIWKHGULYHREMHFWIRU 8' '2,' (5& ', 5HWXUQYDOXHRIWKHHQWLUHMRE
GLUHFWDGGUHVVLQJ GDWDW\SH
1XPEHURISDUDPHWHUV
; 35(6
3DUDPHWHUVSHFLILF
SDUDPHWHUQXPEHUVDQGLQGLFHV UHWXUQYDOXH
WREHUHDG
6WDUWZULWHMRE %2 :5
$ERUWRIWKHDFWLYHMRE %2 $%57
Brief description
The WMDP block enables up to 23 SINAMICS parameters to be written from the DCC SIMOTION
program. Only SINAMICS drives are supported. For error diagnostics, the error code ERC can be
evaluated. ERC corresponds to the error code for parameter access according to PROVIdrive
DPV1. The possible error codes can be found in Appendix A.2 of this document or in the
SIMOTION Communication System Manual in Section PROFIdrive and there in the Subsection
Acyclic communication (Base Mode Parameter Access) → Error evaluation in table Error codes in
Base Mode Parameter Access responses.
The WMDP block is available as of SIMOTION V4.2.
Method of operation
First the block inputs for addressing the drive as well as the selection of the parameters and
values to be written are entered. If a parameter is not indexed, IDX = 0 must be set. The
asynchronous write job is started with the positive edge at input WR. As long as the job is active,
the BSY flag is set. The number of cycles for a parameter access is dependent on the system
utilization and communication load and can vary from job to job. During an active write job, any
additional positive edges at input WR are ignored. The actual reading/writing of the parameters
is not performed in the DCC task. The block instance only controls the communication
command. The results of the read/write job must be polled at the block outputs in the following
task cycles. The evaluation is performed via global variables or user-defined block types. Output
Q = 1 indicates that the parameter has been successfully written. If an error occurs during an
access, this is signaled with QF = 1. For error diagnostics, the error code ERC can be evaluated.
Despite the overall status Q =1, the writing of individual parameters may have been aborted with
error. Write jobs for which there is no error in PRES, have been executed.
The error status of the individual write jobs can be evaluated on the parameter-specific return
value PRES. An active job is aborted with the positive edge on the ABRT input. The ABRT signal
must have the value 1 for at least one cycle.
Brief description
The block enables up to 23 SINAMICS parameters to be written.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Data set 47 is always read out for PROFIBUS (external or integrated) irrespective of whether the
function is called with a valid (0>=doid<=254) or invalid 'doid' (doid=255).
Two data sets are available for PROFINET:
• Base Mode Parameter Access - local (data set 0xB02E)
• Base Mode Parameter Access - global (data set 0xB02F)
Data set 0xB02E is used for SIMOTION if either no 'doid' or an invalid 'doid' (doid=255) is
specified in the function. Access to the appropriate DO is then performed via the Parameter
Access Point (PAP). Either the PAP address can be specified directly or the log. address of the
cyclic data (e.g. 256 for a DO axis) can be specified. SIMOTION then determines the
corresponding PAP from this address before accessing the correct address. PAP must always be
at subslot 1 (HW Config configuration).
Data set 0xB02F is used if a valid 'doid' (0>=doid<=254) is entered. Any valid PAP or address can
be specified because the assignment is only performed via the 'doid'.
As an alternative to the logical start address of the drive, specification of the diagnostic address
of the associated PAP is recommended.
'DOID': For the direct addressing of a drive object. The DOID can be unspecified or specified as
invalid (>254) under the following conditions:
• Access via the DOID is not supported by the DP slave / IO device (P978 is not implemented).
• Data set 0xB02F is not supported (PROFINET only).
• Access is to be via the parameter access point of a DO (PROFINET only).
'X.NUMP': Number of parameters to be written.
'X.PAR.NUM': Specifies the parameter numbers from which the values are to be written.
'X.PAR.IDX': Parameter index; for indexed values, 0 means index 0. For non-indexed values,
parameter index 0 must be specified.
'X.PAR.DTYP' specifies the parameter data type (for the coding, see PROFIdrive profile). The data
type must match the type of the parameter in the drive. The block performs the data type-
specific transfer. If the specified data type does not match the actual data type of the parameter
in SINAMICS, an error status is returned.
'X.PAR.X': Data to be written to the drive, DWORD. Conversion blocks are required for different
data types. Conversion block R_DW should be used to write a REAL parameter. Conversion block
B_DW should be used to write a BYTE parameter.
'WR': Start write job
'ABRT': Abort active job
Parameterization example
In order to be able to write certain parameters of a drive object (in the example: SERVO_03),
proceed as follows:
First set the correct telegram configuration.
Then set the desired DO address in the WMDP block. To do this, set the block input 'LADR' to the
address (260) set in the telegram and the block input 'DOID' to the number (3) set in the
telegram.
Select the parameters to be written at block input 'X', e.g. P1135(0) OFF3 ramp-down time.
To do this, double-click block input 'X', select the first structure element and enter the parameter
number (1135) at 'num' and the index (0) at 'idx'. Enter the data type at ’dtyp’. It must correspond
to the data type of the parameter, in our case 8 (floating-point). Enter the value 16#42377AE1
as DWORD at 'x'. The coding of the data types can be found in the SIMOTION List Manual 'System
Functions/Variables Devices → System Functions - Devices 1 →
_readDriveMultiParameterDescription'.
Then set the block input 'WR' to 1 to start the writing. The result can be viewed in the expert list.
Block connections
Configuration data
6.25 WRP
Writes drive parameters (REAL type)
Symbol
WRP
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH 5 ; (5& : (UURUFRGH
Brief description
The block enables the asynchronous writing of drive parameters of the REAL type on the local
drive object.
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter that is to be written are indicated at
inputs PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The
parameter is always written on the drive object on which the chart with the block is calculated.
It is not possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
6.26 WRP_D
Writes drive parameters (DOUBLE INTEGER type)
Symbol
WRP_D
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH ', ; (5& : (UURUFRGH
Brief description
The block enables the asynchronous writing of drive parameters of the DOUBLE INTEGER type on
the local drive object.
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter to be written must be specified at inputs
PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is
always written on the drive object on which the chart with the block is calculated. It is not
possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
6.27 WRP_I
Writes drive parameters (INTEGER type)
Symbol
WRP_I
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH , ; (5& : (UURUFRGH
Brief description
The block allows asynchronous writing of drive parameters of the INTEGER type on the local
drive object
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter to be written must be specified at inputs
PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is
always written on the drive object on which the chart with the block is calculated. It is not
possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
6.28 WRP_UD
Writes drive parameters (UNSIGNED DOUBLE INTEGER type)
Symbol
WRP_UD
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH 8' ; (5& : (UURUFRGH
Brief description
WRP_UD (Write Parameter) enables the asynchronous writing of drive parameters of the
UNSIGNED DOUBLE INTEGER type on the local drive object.
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter to be written must be specified at inputs
PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is
always written on the drive object on which the chart with the block is calculated. It is not
possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
6.29 WRP_UI
Writes drive parameters (UNSIGNED INTEGER type)
Symbol
WRP_UI
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH 8, ; (5& : (UURUFRGH
Brief description
WRP_UI (Write Parameter) enables the asynchronous writing of drive parameters of the
UNSIGNED INTEGER type on the local drive object.
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter to be written must be specified at inputs
PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is
always written on the drive object on which the chart with the block is calculated. It is not
possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
6.30 WRP_US
Writes drive parameters (UNSIGNED SHORT INTEGER type)
Symbol
WRP_US
3DUDPHWHUQXPEHU ', 3$5 %6< %2 :ULWHMRELVDFWLYH
3DUDPHWHULQGH[ ', ,'; 4 %2 :ULWHMRELVVXFFHVVIXO
6WDUWZULWHMRE %2 :5 4) %2 (UURU
3DUDPHWHUYDOXH 86 ; (5& : (UURUFRGH
Brief description
WRP_US (Write Parameter) enables the asynchronous writing of drive parameters of the
UNSIGNED SHORT INTEGER type on the local drive object.
NOTICE
Do not use with Safety Integrated
The block for programming a drive parameter must not be used for safety reasons to change
parameters of the SINAMICS Safety Integrated Functions. DCC is not considered suitable for
safety applications in the context of functional safety (Safety Integrated).
Method of operation
The parameter number and the index of the parameter to be written must be specified at inputs
PAR and IDX, respectively. If a parameter is not indexed, IDX = 0 must be set. The parameter is
always written on the drive object on which the chart with the block is calculated. It is not
possible to access parameters on several drive objects.
The parameter value is specified via input X. The asynchronous write job can be started on a
positive edge at input WR. As long as the job is active, the BSY flag is set. The number of cycles
for a parameter access is dependent on the system utilization and can vary from job to job.
During an active write job, any additional positive edges at input WR are ignored.
Output Q = 1 indicates that the parameter has been successfully written. If an error occurs during
an access, this is signaled with QF = 1.
For error diagnostics, the error code ERC can be evaluated. ERC corresponds to the error code for
parameter accesses according to PROVIdrive DPV1. The possible error codes can be found in
Appendix A.2 of this document or in the SINAMICS Function Manual FH1 in Section PROFIBUS
DP / PROFINET IO Communication and there in the Subsection Communication according to
PROFIdrive → Acyclic communication → Configuration of the jobs and responses in Table Error
values in DPV1 parameter responses.
ERC is only valid as long as QF = 1.
Time diagram
:5
%6<
4)
:ULWHMRE
LVQRWVWDUWHG
DJDLQ
Quantity framework
Any number of asynchronous jobs of different block instances can be issued in parallel. Each
block instance can only process one job.
Block connections
Configuration data
SIMOTION -
SINAMICS ✓
Can be loaded on‐ No
line
Special character‐ -
istics
Symbol
DCA
/LQHVSHHG>PPLQ@ 5 /6 ' 5 &DOFXODWHGGLDPHWHU>P@
0RWRUVSHHG>USP@ 5 06 /6) 5 0XOWLSOLHUIRUVHWSRLQWFKDQQHO
*HDUUDWLR 5 *) >P@
+ROGGLDPHWHU %2 +/' 58 %2 'LDPHWHULQFUHDVHLV
6HWGLDPHWHU %2 6 OLPLWHG
6HWYDOXH>P@ 5 69 5' %2 'LDPHWHUGHFUHDVHLV
,QYHUWZLQGLQJGLUHFWLRQ %2 ,19 OLPLWHG
7LPHFRQVWDQWIRUV\PPHWU\RI 76 7 0$;' %2 'LVOLPLWHGWR'0$;
OLQHVSHHG>PV@ 0,1' %2 'LVOLPLWHGWR'0,1
7LPHFRQVWDQWIRUVPRRWKLQJ 76 7
RIGLDPHWHU>PV@
7ROHUDQFHIDFWRUIRU 5 72/
SODXVLELOLW\FKHFN
0DWHULDOWKLFNQHVV>PP@ 5 :7+
0LQLPXPVSHHG>USP@ 5 00,1
0LQLPXPOLQHVSHHG 5 /0,1
>PPLQ@
0D[LPXPGLDPHWHU>P@ 5 '0$;
0LQLPXPGLDPHWHU>P@ 5 '0,1
Brief description
Technological block for axial winder applications. It is used to determine the current diameter of
an axial winder based on the line speed and the motor speed. The calculated diameter is checked
for plausibility.
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Block diagram
,19
PV
7 PV
7
/6
5($/
0$;
06 ; /6)
!
*)
[ \ '
5($/ '0$;
0$; '0,1
:7+ 6HW'0$; 0$;'
72/ 6HW'0,1 0,1'
58
;
;; 5'
00,1 ;
; !
/0,1 ;;
;
+ROG
+/'
6 6HW
69 6HW9DOXH
5($/
0$;
'0$;
5($/
'0,1 0$;
Method of operation
'0,1
2)6 :0DWHULDOZLGWK
)L[HGPRPHQWRILQHUWLD
UHFDOFXODWHGRQPRWRUVLGH
Q
'0$;0D[LPXPZLQGHUGLDPHWHU
*HDUEORFN Q0RWRUVSHHG
Q 060RWRUVSHHG
Q:LQGHUVSHHG
0E
Q 0$FFHOHUDWLRQWRUTXHPRWRUVLGH
E
*) *HDUUDWLR
Q
The block cyclically calculates the diameter of an axial winder on the basis of the current line
speed and the motor speed, which have to be supplied via the LS and MS inputs. The current
motor speed is indicated at input MS. With deceleration time T1, the path velocity can be
decelerated relative to the motor speed.
The current diameter is then calculated using the following formula:
/LQHVSHHG ⋅ *HDUUDWLR
'LDPHWHU =
0RWRUVSHHG ⋅ π
The result can then be smoothed again using a smoothing element with time constant T2. The
smoothing filters T1 and T2 have PT1 behavior. If time constant T1 or T2 = 0, the input value of
the smoothing is written directly to the output. The diameter is only calculated if the path
velocity LS or motor speed MS is greater than the threshold value LMIN or MMIN, respectively.
Otherwise, the last calculated diameter value is held. In this case, smoothing T2 switches over
to the fed-back diameter D. It is also possible to trigger holding of diameter D directly by setting
input HLD = 1. Input SV can be used to assign a preset value to the diameter; this diameter is
applied when S =1. Smoothing element T2 is also initialized with this value. When S = 0, the
diameter calculation and smoothing T2 is enabled again. Setting the diameter has precedence
over holding.
After smoothing element T2, the calculated diameter is checked for plausibility and corrected if
a violation is identified. This test function is equivalent to that of a single ramp-function
generator. The ramp-up time or ramp-down time is calculated dynamically from the material
thickness WTH, tolerance factor TOL, and the winding speed. When material thickness WTH = 0,
the plausibility check has no effect.
The maximum diameter change ΔDmax per scan interval is determined as follows:
06 :7+
∆'PD[=72/⋅⋅ ⋅ ⋅7$
⋅*)
with:
Note
Note for using "Indirect tension control"
In the case of a web break, HLD should be set in order to keep the diameter value. Otherwise,
block DCA again supplies an increasing/decreasing (unwinder/winder) diameter as a result of
the diameter calculation based on the actual web velocity and the motor speed. As a
consequence, the winder would accelerate.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
7.2 INCO
Axial winder moment of inertia
Symbol
INCO
&XUUHQWGLDPHWHU>P@ 5 ' 02, 5 5HVXOWLQJ
0DWHULDOZLGWK>P@ 5 : PRPHQWRILQHUWLD>1PVA
0DWHULDOGHQVLW\>NJPA@ 5 '(1 NJPA@
6FDOLQJIDFWRUIRUGHQVLW\ 5 6&/ 502, 5 5HODWLYH
&RUHGLDPHWHU>P@ 5 '0,1 PRPHQWRILQHUWLD
0D[LPXPGLDPHWHU>P@ 5 '0$;
2IIVHWPRPHQWRILQHUWLD 5 2)6
>1PVANJPA@
*HDUUDWLR 5 *)
Brief description
Technological block for axial winder applications. It is used for determining the moment of
inertia of a winder, which is used to derive a torque feedforward control.
Block diagram
*) ;
77
:
5($/
0$;
'(1
6&/
5($/
0$;
'0$; ;
5($/
0$;
502,
'0,; ;
5($/
0$;
' ; 02,
'0,1
Method of operation
'0,1
2)6 :0DWHULDOZLGWK
)L[HGPRPHQWRILQHUWLD
UHFDOFXODWHGRQPRWRUVLGH
Q
'0$;0D[LPXPZLQGHUGLDPHWHU
*HDUEORFN Q0RWRUVSHHG
Q 060RWRUVSHHG
Q:LQGHUVSHHG
0E
Q 0$FFHOHUDWLRQWRUTXHPRWRUVLGH
E
*) *HDUUDWLR
Q
The block calculates the motor-side moment of inertia of an axial winder. Input variable D
specifies the current diameter [m] of the winding. The density [kg/m3] of the winder can be
specified via DEN, and a correction factor for the density can be specified via SCL. Input variable
DMIN [m] is used to specify the diameter of the winding core or the minimum diameter of the
wound material. In order to calculate the relative moment of inertia RMOI for an adaptation Kp
of the speed controller, the block requires the maximum moment of inertia of the layout. To
calculate this, the maximum winding diameter must be specified at input DMAX [m]. The total
static moment of inertia (motor, empty winder and, if required, gearbox) relative to the motor
side can be specified via input OFS [Nms2, kgm2]. The transmission ratio is specified at input GF.
The current moment of inertia of the entire winder layout relative to the motor side is output at
output MOI.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
7.3 OCA
Software cam controller
Symbol
OCA
&XUUHQWSRVLWLRQLQ/8 ', ; 4 %2 2XWSXWFDPVWDWH
6WDUWSRVLWLRQRIWKHRXWSXWFDP ', ;
(QGSRVLWLRQRIWKHRXWSXWFDP ', ;
6ZLWFKLQJK\VWHUHVLVRIWKHRXWSXWFDP ', +<
$[LVF\FOH ', $&/
Brief description
Software cam controller with the following features:
• Position-based cam.
• Switch-on/switch-off positions can be changed dynamically.
• Adjustable hysteresis for actual-value-related output cam.
Block diagram
;
;
[Q [Q
$&/
; [QFDPORJLF 4
+<
Method of operation
The switch-on position of the position-based cam in the positive direction and the switch-off
position in the negative direction is specified via input X1 [LU]. X2 [LU] specifies the switch-off
position in the positive direction or the switch-on position in the negative direction. In order to
be able to drive the cam controller with modulo axes, the axis cycle can be specified at input ACL.
If ACL = 0, there is no internal modulo correction. A hysteresis band for input X can be set via HY.
This means that switching operations do not occur when actual value-related output cams are
at a standstill.
The hysteresis is used to avoid unwanted switch-on and switch-off operations of the output cam
during actual value noise. After a switching operation, switching is only possible again for a
direction reversal when the hysteresis range is exited.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
7.4 TTCU
Winding harshness characteristic
Symbol
TTCU
0D[LPXPVHWSRLQW 5 <0$; < 5 $GDSWHGVHWSRLQW
6HWSRLQWUHGXFWLRQ 5 <5('
&XUUHQWGLDPHWHU 5 '
0LQLPXPZLQGLQJGLDPHWHU 5 '0,1
0D[LPXPZLQGLQJGLDPHWHU 5 '0$;
&KDUDFWHULVWLF %2 0
Brief description
Adaptation of a setpoint according to the specified characteristic. The block used for winder
applications to determine the tension setpoint depending on the current winder diameter.
Block diagram
5($/
0$;
'0$;
5($/
0$;
'0,1
<0$;
<0$;
<5('
0
!
<
<5('
5($/
0$;
'
! 0
0
Method of operation
The reduction of the characteristic starts when D > DMIN is true. Input variable YRED specifies the
degree of reduction relative to input variable YMAX. Input M can be used to preselect a
characteristic that defines the reduction behavior of the output variable as the input variable
increases. If M = 0 has been preselected, the characteristic is reduced asymptotically by the
factor YMAX*YRED. In this case, input variable DMAX is not taken into account. If M =1 has been
preselected, input variable DMAX can be used to specify at which input variable D = DMAX the
characteristic runs through YMAX- YMAX*YRED.
The calculation of the characteristic is specified as follows:
D ≤ DMIN is true
<=<0$;
D > DMIN and M = 0 (reaching of the reduction factor for D→∞)
'0,1
<=<0$;<5('
'
D > DMIN and M = 1 (attainment of reduction factor for D = DMAX)
'0$; '0,1
'0$;>'0,1 <=<0$;<5('
'0$;'0,1 '
'0$;='0,1 <=<0$;(<5(' )
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
7.5 WBG
Wobble generator
Symbol
WBG
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
6\QFKURQL]DWLRQVLJQDO %2 6,1 :6 5 :REEOHVLJQDO
0DVWHU 6287 %2 6\QFKURQL]DWLRQVLJQDOVODYH
(QDEOH %2 (1
$PSOLWXGH 5 $03
:REEOHIUHTXHQF\ 5 ):
3KDVHRIIVHW , 3+,
3VWHSFKDQJHQHJDWLYH 5 167
3VWHSFKDQJHSRVLWLYH 5 367
0DUNVSDFHUDWLR , 5$7
Brief description
Triangular generator with adjustable frequency and amplitude for imprinting of "faults" on
traversing drives for winding up textile threads. This generator has the following features:
• Positive and negative P step change, can be adjusted separately.
• Synchronization to a master drive with an adjustable phase shift.
• Enable input.
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Block diagram
:REEOHV\QFKURQL]DWLRQLQSXW6,1
6,1
(1
:REEOHWULDQJXODUJHQHUDWRU 5$7
:6
$03
167 167
:6
367 <
5$7 $03 367
Method of operation
The wobble generator is enabled with EN = 1. This triggers the output of wobble signal WS and
synchronization signal SOUT. The signal generation always starts with a positive zero crossover
or with a positive edge of synchronization output SOUT. If EN is reset again, wobble generation
continues up to the next zero crossover of WS. Only then is the generator again inhibited and
SOUT = 0 Input PHI (0-360°) enables a phase shift between the positive edge of the
synchronization input SIN to be set along with the start of the wobble signal. The signal is then
generated for a signal period. For continuous signal generation, SIN must be used periodically
as a trigger. If the generation of the preceding signal period is still running at a new start time,
this generation is canceled. Special case PHI = 360 enables free-running wobble generation to
be activated. The signal generation runs periodically and is decoupled from synchronization
input SIN. The wobble signal is injected into input x and output at output Y.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
Symbol
DEL
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
5HVSRQVHWKUHVKROG 5 %
Brief description
• Adjustable dead band
• Set zero-point symmetric value range to zero
Method of operation
• If the absolute value of X is less than B, then Y = 0
• If X is greater than or equal to B, then Y = X - B
• If X is less than or equal to B, then Y = X + B
The zero-point symmetric dead band can be set with operating value B.
Algorithm:
with boundary condition B >=0
For B < 0, the following applies for all X: Y = X.
;+%IRU;<= %
<=IRU %<;<%
;%IRU;>=%
Block diagram
; <
XY diagram
<
%
%
;
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.2 DEZ
Dead zone element
Symbol
DEZ
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
7ULSSLQJYDOXH 5 7+
Brief description
• Adjustable dead zone
• Set zero-point symmetric value range to zero
Method of operation
If the absolute value of X is less than TH, then Y = 0.
If the absolute value of X is greater than or equal to TH, then Y = X.
The zero-point symmetric dead zone can be set with operating value TH.
Algorithm:
;IRU;<= 7+
<=IRU 7+<;<7+
;IRU;>=7+
with boundary condition TH >=0
For TH< 0, the following applies for all X: Y = X.
Block diagram
7+
; <
XY diagram
<
7+
7+ ;
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.3 DIF
Derivative action element
Symbol
DIF
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
'HULYDWLYHDFWLRQWLPHFRQVWDQWPV 76 7'
Brief description
Block with derivative-action response
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
• Output variable Y is proportional to the change velocity of input variable X, multiplied by the
derivative-action time constant TD.
• Discrete values are calculated according to the algorithm:
Algorithm:
7'
<Q=(;Q;Q )⋅
7$
Block diagram
7'
; <
XY diagram
; <
7$ 7$ W
<
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.4 DT1
Smoothing element
Symbol
DT1
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH'7
6PRRWKLQJWLPHFRQVWDQWPV 76 7 <37 5 2XWSXWYDULDEOHRIVPRRWKLQJHOHPHQW
'HULYDWLYHDFWLRQWLPHFRQVWDQWPV 76 7'
6HWWLQJYDOXH 5 69
6HW %2 6
Brief description
Block with derivative-action response and smoothing. The DT1 output can be set.
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
Algorithm:
7'
<Q= ⋅(;Q<37Q )
7
7$
<37Q=<37Q + ⋅(;Q<37Q )
7
The larger T1/TA is, the smaller is the amplitude change on Y and YPT from one sampling time
to the next. TA is the sampling time in which the block is configured. The larger that TD/TA is, the
larger the amplitude change on Y from one sampling time to the next. TD and T1 are limited
internally: TD >= 0, T1 >= TA.
7
<37Q=; Q ⋅69Q
7'
for TD ≠ 0
The internal limitations for T1 and TD apply in this case. When TD=0, the output variables remain
unchanged, as long as S=1.
CAUTION
Overcontrol
Overcontrol is possible with the setting function both active as well as inactive!
Block diagram
7 7' 69
37 '
; <
<37
6
XY diagram
<
< I;W
; 7'
7
< W 7 [7'7
W
7
Initialization
If input S is logic 1 at the initialization, the setting value SV is applied at output Y and YPT = T1/
TD*(X-SV) set.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.5 INT
Integrator
Symbol
INT
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
8SSHUOLPLW 5 /8 48 %2 ,QWHJUDWRUDWXSSHUOLPLW
/RZHUOLPLW 5 // 4/ %2 ,QWHJUDWRUDWORZHUOLPLW
6HWWLQJYDOXH 5 69
,QWHJUDODFWLRQWLPHFRQVWDQWPV 76 7,
6HW %2 6
Brief description
• Block with integral behavior
• Integrator functions:
– Set initial value
– Adjustable integral-action time constant
– Adjustable limits
– For normal integrator mode, a positive limit value must be specified for LU and a negative
limit value for LL
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
The change in output variable Y is proportional to input variable X and inversely proportional to
the integral-action time constant TI.
The output Y of the integrator can be limited via the inputs LU and LL. If the output reaches one
of the two limits, a message is sent via the outputs QU or QL. If LL >= LU, then output Y = LU.
The calculation of the discrete values (TA is the sampling time in which the block is configured)
is performed according to the following algorithm:
Algorithm:
7$
<Q=<Q + ⋅;Q
7,
When S = 1, the output variable Y is set to the setting value SV. Two functions can be realized via
S:
Track integrator (Y = SV)
The binary input is S = 1 and the setting value SV is changed. If applicable, the output makes a
jump to the setting value immediately after the setting operation.
Set integrator to initial value SV
S is switched to 1. S is then set to 0, and the integrator starts from SV in the direction specified
by the polarity of input variable X.
Note
You must ensure that the sampling time is sufficiently short with reference to the integrating
time constant TI.
TI is limited internally: TI >=TA. When limiting is active, the amplitude change at Y depends on
the cycle time.
Block diagram
69 7, // /8
48
; <
4/
6
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.6 LIM
Limiter (REAL type)
Symbol
LIM
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
8SSHUOLPLW 5 /8 48 %2 ,QSXWYDULDEOHDWXSSHUOLPLW
/RZHUOLPLW 5 // 4/ %2 ,QSXWYDULDEOHDWORZHU
OLPLW
Brief description
• Block for the limitation
• Adjustable upper and lower limit
• Indication when set limits are reached
Method of operation
This block transfers the input variable X to its output Y, during which the input variable is limited
depending on LU and LL.
If the input variable reaches the upper limit LU, then output QU = 1 is set.
If the input variable reaches the lower limit LL, then output QL = 1 is set.
If the lower limit is greater than or equal to the upper limit, then output Y is set to the upper limit
LU.
Algorithm:
/8IRU;≥/8
<=;IRU//<;</8
//IRU;≤//
With the boundary condition: LL<LU
Block diagram
// /8
48
; <
4/
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
8.7 LIM_D
Limiter (DOUBLE INTEGER type)
Symbol
LIM_D
,QSXWYDULDEOH ', ; < ', 2XWSXWYDULDEOH
8SSHUOLPLW ', /8 48 %2 ,QSXWYDULDEOHDWXSSHUOLPLW
/RZHUOLPLW ', // 4/ %2 ,QSXWYDULDEOHDWORZHU
OLPLW
Brief description
• Block for the limitation of the DOUBLE INTEGER type
• Adjustable upper and lower limit
• Indication when set limits are reached
Method of operation
This block transfers the input variable X to its output Y, during which the input variable is limited
depending on LU and LL.
If the input variable reaches the upper limit LU, then output QU = 1 is set.
If the input variable reaches the lower limit LL, then output QL = 1 is set.
If the lower limit is greater than or equal to the upper limit, then output Y is set to the upper limit
LU.
Algorithm:
/8IRU;≥/8
<=;IRU//<;</8
//IRU;≤//
With the boundary condition: LL<LU
Block diagram
// /8
48
; <
4/
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
8.8 MVS
Sliding-type mean value generator
Symbol
MVS
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
1XPEHURIF\FOHVRYHUZKLFK , 1 4) %2 (UURU
WKHPHDQYDOXHLVJHQHUDWHG
0D[LPXPQXPEHURIF\FOHV , 10;
6HWWLQJYDOXH 5 69
6HW %2 6
Brief description
The block calculates a sliding-type mean value via the input variable X.
Method of operation
The mean value is generated over the last N cycles.
N
<N= ⋅ ∑ ;L
1 L= N1
Xk = X in cycle k
k = 0 is the current cycle
The number of cycles can be changed in the range 1 ≤ N ≤ NMX. The maximum number of cycles
is specified through NMX and cannot be changed during operation. The block limits input N to
the range of 1 ≤ N ≤ NMX. The buffer for the input values is always filled up to NMAX, irrespective
of N. In this way, the block can re-determine the current mean value via all variables when there
is a change in the window length.
The mean value is set to set value SV as long as S = 1.
Initialization
At the initialization, NMX is used to specify the maximum size of the mean value buffer for the
X values. For this reason, NMX should be set to the maximum value of N required under
operating conditions. The value of NMX is limited to the range of values between 1 and 1,000.
If there is not enough memory for NMX on the target device, or if NMX is limited, output QF is
set to 1 and output Y retains its default value during cyclic operation. As NMX cannot be changed
dynamically during operation, NMX should be specified as a constant.
Application areas
The block can be used as ramp-function generator or filter block for the mean value generation.
It acts as a low pass and band-stop filter for frequencies fk.
N
IN=
1⋅7$
k = 1, 2, ...
;W
7$ ,QSXWYDULDEOH
<W
VFDQF\FOH7$
2XWSXWYDULDEOH
1
7$
W
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be inserted on‐ Yes
line
Special character‐ -
istics
8.9 PC
P controller
Symbol
PC
6HWSRLQW 5 : < 5 2XWSXWYDULDEOH
6HWSRLQW 5 : <( 5 6\VWHPGHYLDWLRQ
6HWSRLQW 5 : 48 %2 &RQWUROOHUDWXSSHUOLPLW
$FWXDOYDOXH 5 ; 4/ %2 &RQWUROOHUDWORZHUOLPLW
8SSHUOLPLW 5 /8
/RZHUOLPLW 5 //
3DFWLRQFRHIILFLHQW 5 .3
&RQWUROOHUHQDEOH %2 (1
Brief description
• P controller with 3 setpoint inputs and 1 actual value input
• Sign reversal of actual value in block
• Indication when set limits are reached
• For normal controller operation, a positive limit value must be specified for LU and a negative
limit value for LL.
Method of operation
The three setpoints W1, W2, and W3 are added and the actual value X is subtracted from the
setpoint total. The result YE is multiplied by the proportional coefficient KP and given to output
Y.
Algorithm:
Y = KP · YE = KP · (W1 + W2 + W3 - X)
YE = W1 + W2 + W3 - X
The system deviation YE is always calculated, irrespective of the operating mode, and is lead out
separately.
The output Y of the controller can be limited via the inputs LU and LL. If the output Y reaches one
of the two limits, a message is sent via the outputs QU and QL. If LL >= LU, then output Y = LU.
The controller is enabled with EN = 1. If EN = 0, the output variable Y is set to zero. The controller
is disabled. The binary outputs QU and QL are treated in this case as if KP*YE equaled zero.
The controller operates inverted when a negative KP value is selected (inversion amplifier).
Block diagram
:
.3 // /8
:
48
: <( <
4/
;
(1 <(
Truth table(s)
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.10 PIC
PI controller
Symbol
PIC
6HWSRLQW 5 : < 5 2XWSXWYDOXH
6HWSRLQW 5 : <( 5 6\VWHPGHYLDWLRQ
$FWXDOYDOXH 5 ; <, 5 ,QWHJUDWRUYDOXH
$FWXDOYDOXH 5 ; 48 %2 &RQWUROOHUDWXSSHUOLPLW
3UHFRQWUROOHUYDOXH 5 :3 4/ %2 &RQWUROOHUDWORZHUOLPLW
8SSHUOLPLW 5 /8
/RZHUOLPLW 5 //
6HWWLQJYDOXHLQWHJUDWRU 5 69
3DFWLRQFRHIILFLHQW 5 .3
,QWHJUDOWLPHPV 76 71
,FRQWUROOHU %2 ,&
&RQWUROOHUHQDEOH %2 (1
6HWLQWHJUDWRU %2 6
5HWDLQLQWHJUDWRUYDOXH %2 +,
Brief description
• Universal PI controller, can be switched to P controller or I controller modes. Can be used as
a speed controller or a primary controller. Suitable for dynamic override control
• Flexible integrator functions:
– Set initial value ⇒ Load SV to integrator
– Retain current value of integrator ⇒ P controller
– Integrator control by SV
– Integrator control by controller limiting
– Gain shutdown ⇒ I controller
• Overall controller functions:
Independent setting and modification of the following variables in operation:
– Proportional coefficient KP
– Integral action time TN
– Controller limits LU and LL
– Precontroller value WP, e.g. for acceleration injection
• Second actual value input X2, e.g. for droop injection
• Indication when set limits are reached
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
The actual value total (X1+X2) is subtracted from the setpoint total (W1+W2) according to the
equation:
YE = (W1 + W2) - (X1 + X2)
The result, system deviation YE, is then multiplied by the adjustable proportional coefficient KP.
The product is carried to the output summation device and the integrator. The adjustable
integral time TN determines the integration behavior of the controller. The change in output
variable YI is proportional to input variable KP*YE and inversely proportional to the integral-
action time TN. The integrator value YI is also given to the output summation device. Another
value with the correct sign can be added to output value Y via input WP.
Discrete values are calculated according to the algorithm:
Algorithm:
7$
<Q=<Q +.3⋅+ ⋅<(Q<(Q
71
With the boundary conditions: LL<Y<LU and LL<LU
Block diagram
: .3 ,& 71 69 :3 // /8
:
<( 3 .3
<( :3Q 48
<3Q
<
;
4/
; <K
!
<,!/8
+, <,//
(1 , <,
6 6LJQ
<(
XY diagram
.3 <(
/8
<,
//
/8
<
.3
<(
71
//
.3
<(DEVROXWHYDOXHIRU
&XUYH FRQWLQXHG &XUYH
LQWHJUDWLRQRI<,
Output value Y and integrator value YI of the controller can be limited via the inputs LU and LL.
When the set limits are reached by output variable Y, a message is issued with QU = 1 of QL = 1.
The following priority sequence applies for the control inputs:
EN before IC before S before HI.
Command input at the control inputs:
The combination of commands at the control inputs and the possible operating modes can be
found in the truth tables.
In normal controller operation, LL <= 0 <= LU and LL < Yn < LU. However, other settings,
explained below, are possible. To this end, the algorithm is converted appropriately:
Yn = KP·YEn + YIn + WPn
There are 5 different operating conditions in conjunction with LU and LL:
No. Condition Yn
LL < LU
1 LL < KP*YEn + YIn + WPn < LU KP*YEn+YIn+WPn
2 KP*YEn + YIn + WPn >= LU LU
3 KP*YEn + Yn + WPn <= LL LL
LL=LU
4 None LU
LL > LU
5 None LU
Truth table(s)
Operating condition 1
*= any value
Operating condition 2
*= any value
Operating condition 3
*= any value
Operating condition 4
*= any value
Operating condition 5
Depending on the direction of the limit value change, the sign of the integration is inverted if
necessary.
Transfer functions
Transfer function during controller override for operating conditions 2, 3 and 5:
.3 <(
/8
/8
<,
//
/8
//
// '<,Q
/8
/8
< //
/8
//
//
During a reset to HI = 0, the integrator is enabled again. The controller again exhibits PI behavior.
Transfer functions
Transfer functions during changeover without controller override: Examples for EN=1∧S=0
3,,DFWLRQ ,3,DFWLRQ
,&
<
< <,
3,3DFWLRQ 33,DFWLRQ
+,
<
<
<, <,
Note
The system deviation YE is always calculated and output, irrespective of the active control
commands and the operating modes.
The integrator operates internally with increased accuracy, such that integration takes place
even with a small system deviation. You must ensure that the sampling time is sufficiently short
with reference to the integral time TN. TN is limited internally: TN >= TA.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.11 PT1
Delay element
Symbol
PT1
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
6PRRWKLQJWLPHFRQVWDQWPV 76 7
6HWWLQJYDOXH 5 69
6HW %2 6
Brief description
• First-order delay element with setting function
• Use as smoothing element
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
Algorithm:
7$
<Q=<Q + ⋅(;Q<Q )
7
Note
The higher the T/TA, the smaller the amplitude change at Y from one sampling time to the next.
TA is the sampling time in which the block is configured. T is limited internally: T>=TA.
Block diagram
7 69
; <
Time diagram
<
< I
[W
<W 7 ;
;
; 7 W
<
Initialization
If input S is logic 1 at the initialization, the setting value SV is applied at output Y.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.12 RGE
Ramp-function generator
Symbol
RGE
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
1RUPDOL]DWLRQ 5 150 <$ 5 $FFHOHUDWLRQYDOXH
8SSHUOLPLW 5 /8 4( %2 2XWSXW< OLPLWHGLQSXW
/RZHUOLPLW 5 // ;
6HWWLQJYDOXHRXWSXW 5 69 48 %2 8SSHUOLPLWUHDFKHG
5DPSXSWLPHPV 76 78 4/ %2 /RZHUOLPLWUHDFKHG
5DPSGRZQWLPHPV 76 7'
+LJKHU %2 &8
/RZHU %2 &'
2XWSXW LQSXW %2 &)
6HW %2 6
Brief description
• Ramp-function generator for limiting the change velocity of input variable X
• Output variable can be limited
• Independent setting and modification of the following variables during operation:
– Ramp-up and ramp-down time
– Output limits LU and LL
– Setting value
• Flexible ramp-function generator functions:
– Integrating correction to setpoint X
– Setting of initial value for ramp-function generator output (-> load SV to integrator)
– Integrating increase and decrease of ramp-function generator output
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
The block contains an integrator with two integration time constants that can be set separately.
Output Y changes according to the algorithm:
Yn = Yn-1+YAn
The acceleration value YA is calculated separately for the ramp up and ramp down and is output
on an output.
The process in which output value Y moves away from zero is called ramp up.
The process in which output value Y moves toward zero is called ramp down.
Block diagram
&8 78 7' 69 // /8
&'
FRQWURO
&)
ORJLF
;
<
<$
4(
6
48
4,
7$
<$= ⋅150IRU<>
78
7$
<$= ⋅150IRU<<
78
The following applies for the ramp down acceleration value:
7$
<$= ⋅150IRU<>
7'
7$
<$= ⋅150IRU<<
7'
The change-over between ramp up time and ramp down time takes place during a direction
change or at the zero crossover of the transfer function.
The operating mode is predefined by means of control logic, depending on the logic states of the
control inputs S, CF, CU, and CD.
The output variable can be limited by means of the inputs LU and LL. When the set limits are
reached by Y, the binary outputs QU or QL are set to 1. The binary output QE becomes 1 when
Y = X.
If the absolute value of the limit value is reduced, the integrator integrates from the previously
held value according to the set ramp down time, until the output again reaches the limit value.
Note
The integrator operates internally with increased accuracy, such that integration takes place
even with a small setpoint-actual value difference. You must ensure that the sampling time is
sufficiently short relative to the ramp-up or ramp-down time.
Note
If the absolute value of a limit value is reduced and the current value of the output is outside the
limits, the integrator integrates from the current value according to the set ramp down time,
until the output reaches the limit value. This process is applicable in all operating modes.
Truth table(s)
* Arbitrary
Transfer function
; <
/8
;
150 150
78 7'
; ;
78 7' W
150
; 150
< ;
//
Example 1: CF = 1 with LL < LU and LL < X < LU, and X1=1.5, X2=X4 =0.0, X3=–1.5, LU=2.0, LL=–
2.0, TU > TD
&8
&'
<
/8
W
//
6
&)
&'
<
/8
;
69
W
//
&8
&'
< ///8 //!/8 ///8
/8
/LPLW
SXOOHGLQ W
/LPLW /LPLW
SXOOHGLQ OHWRXW
//
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
Can be loaded on‐ Yes
line
Special character‐ -
istics
8.13 RGJ
Ramp-function generator with jerk limiting
Symbol
RGJ
,QSXWYDULDEOH 5 ; < 5 2XWSXWYDULDEOH
1RUPDOL]DWLRQ7'78 5 150 </ 5 /LPLWHGRXWSXWYDULDEOH
&RQWUROHUURU 5 (9 <$ 5 $FFHOHUDWLRQYDOXH
8SSHUOLPLW 5 /8 <% 5 -HUNYDOXH
/RZHUOLPLW 5 // 4( %2 2XWSXW< OLPLWHGLQSXW
6HWWLQJYDOXHRXWSXW 5 69 ;
$FFHOHUDWLRQVHWWLQJYDOXH 5 $69 48 %2 8SSHUOLPLWUHDFKHG
:HLJKWLQJRIWKHVWDQGDUGGHYLDWLRQ 5 :' 4/ %2 /RZHUOLPLWUHDFKHG
5DPSXSWLPHPV 76 78
5DPSGRZQWLPHPV 76 7'
6PRRWKLQJWLPHGXULQJUDPSXS 76 758
PV
6PRRWKLQJWLPHGXULQJUDPSXS 76 75
PV
6PRRWKLQJWLPHGXULQJUDPSXS 76 75
PV
6PRRWKLQJWLPHGXULQJUDPSGRZQ 76 75'
PV
6PRRWKLQJWLPHGXULQJUDPSGRZQ 76 75
PV
6PRRWKLQJWLPHGXULQJUDPSGRZQ 76 75
PV
+LJKHU %2 &8
/RZHU %2 &'
2XWSXW LQSXW %2 &)
8SSHUOLPLWUHDFKHG %2 8/5
/RZHUOLPLWUHDFKHG %2 //5
6PRRWKLQJRQ %2 541
6HWDFFHOHUDWLRQ %2 6$
6HW %2 6
(QDEOH %2 (1
Brief description
• Ramp-function generator with jerk limiting and correction
• Ramp-function generator functions:
– Set output Y or acceleration YA
– Correct ramp-function generator output to setpoint X with integration and jerk limiting
– Integrating increase and decrease of ramp-function generator output
– Correction of the ramp-function generator according to the system deviation of a lower-
level controller during limiting
Note
DCC SINAMICS
If you use this block in the following execution groups, you must assign parameter p2048 the
value of the isochronous master clock:
• Receive AFTER IF1 PROFIdrive PZD
• Send BEFORE IF1 PROFIdrive PZD
• Receive AFTER IF1 PROFIdrive flexible PZD
• Receive AFTER IF2 PZD
• Send BEFORE IF2 PZD
• Receive AFTER IF2 flexible PZD
Method of operation
The block limits the acceleration (change in velocity) and the jerk (change in acceleration) of
setpoints.
The following algorithms apply:
<Q=<Q +<$Q
<$Q=<$Q +<%Q
Acceleration value YA and jerk YB are calculated separately for ramp up and ramp down. This
requires configuration of the time values ramp up time TU and smoothing time during ramp up
TRU as well as ramp down TD and smoothing time during ramp down TRD.
The following applies for the acceleration value YA outside of the smoothing time during
ramp up:
7$
<$=<$PD[= ⋅150IRU<>
78
7$
<$=<$PD[= ⋅150IRU<<
78
The following applies for the acceleration value YA outside the smoothing time during
ramp-down:
7$
<$=<$PD[= ⋅150IRU<>
7'
7$
<$=<$PD[= ⋅150IRU<<
7'
The following applies for the jerk value YB during the smoothing time during ramp up:
7$⋅<$PD[
<%=
758
or 7$⋅<$PD[ 7$⋅<$PD[
<%= <%=
75 75
The following applies for the jerk value YB during the smoothing time during ramp down:
7$⋅<$PD[
<%=
75'
or 7$⋅<$PD[ 7$⋅<$PD[
<%= <%=
75 75
The operating mode is predefined by means of control logic, depending on the logic states of the
binary variables EN, S, SA, CF, CU, and CD.
Input variable X and thus indirectly output variable Y are limited by means of the block inputs LU
and LL. When the set limits are reached by Y, a message is issued to the binary outputs with QU
= 1 or QL = 1.
Binary output QE becomes 1 when output variable Y equals the limited value of input variable
X.
A ramp up process is subdivided into three phases:
• Phase 1
– When setpoint X increases, the maximum jerk YB (depending on TRU or TR1) is defined in
the first part. Thus, the acceleration increases proportionally over time; in this smoothing
phase, output Y rises quadratically over time.
• Phase 2
– Once the maximum acceleration YA has been reached according to the defined ramp-up
time TU, the acceleration is constant. Output variable Y rises proportionally over time.
• Phase 3
– In the third part, the acceleration is decreased proportionally over time. In this smoothing
phase, output variable Y approaches input variable X on YB quadratically over time
(depending on TRU or TR2).
A ramp-down process proceeds analogously.
Transfer function
;< 78 ;
150 <
W
758
75'
<$
W
<%
W
5DPSXSDQGUDPSGRZQQRWWUXHWRVFDOH
Rounding times if TRU = 00.0 ms and TRD = 0.0 ms:
;<
75 75 75 75
<
W
78 75
5DPSXSDQGUDPSGRZQQRWWUXHWRVFDOH
If the smoothing (RQN=0) and the correction (ULR=LLR=0) are switched off, then the RGJ block
behaves the same as the RGE block.
Note
Smoothing does not take place at the zero crossing. As a consequence, as a result of the inherent
physics, for a difference between the ramp-up time and the ramp-down time, a step occurs in the
acceleration. When required, smoothing can be initiated at the zero crossing by entering
"intermediate setpoint = 0" at the input of the RGJ.
541
;
;<
<
78 W
<$
W
<%
W
Smoothing is off when RQN = 0. Ramp up/down takes place according to the ramp-up/ramp-
down time specified in TU or TD.
When the jerk limiting is switched off during the smoothing time, the remaining ramp up/down
also occurs with the ramp-up/ramp-down time specified in TU or TD.
With these settings, the RGJ block behaves as described in the "Smoothing off" mode (RQN = 0).
Note
The following priority sequence applies regarding the control inputs:
EN before S before SA before CF before CU and CD.
The combination of commands at the control inputs and the possible operating modes can be
found in the truth tables.
Normal ramp function generator operation provides for LL <= 0 <= LU and LL <= Yn <= LU.
However, other settings, explained below, are also possible:
The following applies to the setting LL >= LU: The LU limit is dominant with respect to the LL limit.
During all transition processes, the values for acceleration and jerk are not exceeded.
Depending on the setpoint definition or limit offset, a characteristic with only smoothing
transitions according to phases 1 and 3 appears, if applicable. In this case, a characteristic of
output variable Y that is proportional over time does not occur.
Truth table(s)
*= any value
n = scan interval n
k= the time at which the controller first reaches the limit (0 -> 1 edge on ULR or LLR)
8/5 7UDFNLQJ
W
;<
;
<
W
;
W
(9
([DPSOHRIWUDFNLQJPRGH W
In general, this correction can only be used for "classic control loops" (e.g. PI speed controllers).
The controller limits must be set correctly (e.g. equal to the current limits).
Generally, WD is 1.01 to 1.1 (> 1.0!). Jerk limiting is not active during the correction.
The binary outputs of the controller ("Upper/lower limit reached") are returned to the binary
inputs ULR or LLR. When the limit is reached, one of the two binary inputs ULR = 1 or LLR = 1 is
set via the feedback on the RGJ block, and therefore the correction activated.
If the correction is not to be used, ULR and LLR must be set to 0.
8/5 //5 (9 ] 4/ 48
; < [ H [
Block diagram
$GMXVWPHQWIRU <$
VPRRWKLQJ <%
4(
6
48
6$
4/
The input value NRM is set internally to 1.0 when NRM < 1.0e-18.
Block connections
Configuration data
SIMOTION ✓
SINAMICS ✓
F51000 DCC: Logon of the run-time group with sampling time management rejected
Drive object: All objects
Message class: General drive fault (19)
Message value: -
Reaction: NONE
Acknowledge: IMMEDIATELY
Cause: For the sampling time management of the basic SINAMICS system, Drive Control Chart (DCC) made an attempt to log on a
sampling time that cannot be implemented. The logon was rejected.
STARTER:
Fault value (r0949, decimal interpretation):
Number of the p21000 index of the run-time group where the sampling time was incorrectly set.
Number of the run-time group = fault value
StartDrive:
Fault value (r0949, interpret decimal) indicates the position of the chart in the chart sequence. Number of the fault value
= position of the chart (where numbering starts with 1)
Remedy: Try to assign this run-time group another fixed or free run-time group.
The assignment is set in STARTER in the context menu of the DCC chart via sampling times.
Then compile the chart and download it again into the drive unit.
F51004 DCC: Sampling time of the free run-time group differs at download
Drive object: All objects
Message class: General drive fault (19)
Message value: %1
Reaction: NONE
Acknowledge: IMMEDIATELY
Cause: In the STARTER/SCOUT project that was downloaded, the hardware sampling time of a free run-time group (1 <= p21000[i]
or p21100+5*(n-1) with Startdrive <= 256) was set to a value that was either too low or too high. n= position of the chart
in the chart sequence (first chart has position 1). The sampling time must lie between 1 ms and the value (r21003 - r21002).
If the sampling time of the selected free run-time group is < 1 ms, the equivalent value of 1 ms is used.
If the value >= r21003, then the sampling time is set to the next higher or the same software sampling time >= r21003. In
order to prevent the fault, the calculated software sampling time can be set in the run-time group (1001 <= p21000[i] or
p21100+5*(n-1) with Startdrive <= 1096).
The free run-time group involved is assigned as a minimum to one block.
After correcting the selection in p21000[i] (p21100+5*(n-1) with Startdrive) in the project, if this fault still occurs during
download, please check which run-time group is involved based on the fault value (r0949). Only one F51004 fault is
signaled at a time, even if several run-time groups have been incorrectly parameterized in p21000[] (p21100+5*(n-1) with
Startdrive).
STARTER:
Fault value (r0949, decimal interpretation):
Number of the p21000 index of the run-time group where the sampling time was incorrectly set.
Number of the run-time group = fault value
StartDrive:
Fault value (r0949, interpret decimal) indicates the position of the chart in the chart sequence. Number of the fault value
= position of the chart (where numbering starts with 1)
Note:
With SIMOTION D410, r21003 (unlike all the other Control Units) is automatically set the same as the PROFIBUS sampling
time.
Remedy: Correctly set the sampling time of the run-time group or remove all of the blocks from the run-time group.
F51005 DCC: Sampling time of the fixed run-time group differs online
Drive object: All objects
Message class: General drive fault (19)
Message value: %1
Reaction: NONE
Acknowledge: IMMEDIATELY
Cause: Generally, the sampling times of the fixed run-time groups correspond to the sampling times of the associated system
function (e.g. the sampling time of the fixed run-time group "BEFORE speed controller" generally corresponds to the
sampling of the speed controller p0115[1]).
The sampling time of a system function online was set to a lower value (e.g. with p0112, p0115, p0799, p4099) than the
smallest permissible sampling time that is allowed for the fixed run-time group belonging to this system function (1 ms). The
sampling time is set to 1 ms. The fixed run-time group involved is assigned as a minimum to one block.
STARTER:
Fault value (r0949, decimal interpretation):
Number of the p21000 index of the run-time group where the sampling time was incorrectly set.
Number of the run-time group = fault value
StartDrive:
Fault value (r0949, interpret decimal) indicates the position of the chart in the chart sequence. Number of the fault value
= position of the chart (where numbering starts with 1)
Remedy: Using parameter p0112 or p0115, increase the sampling time of the system function to the minimum permissible sampling
time for the run-time groups of 1 ms or remove all of the blocks from the run-time group.
F51006 DCC: Sampling time of the fixed run-time group differs at download
Drive object: All objects
Message class: General drive fault (19)
Message value: %1
Reaction: NONE
Acknowledge: IMMEDIATELY
Cause: Generally, the sampling times of the fixed run-time groups correspond to the sampling times of the associated system
function (e.g. the sampling time of the fixed run-time group "BEFORE speed controller" generally corresponds to the
sampling of the speed controller p0115[1]).
During a download, the sampling time of a system function was set to a lower value (p0112, p0115) than the smallest
permissible sampling time that is allowed for the fixed run-time group belonging to this system function (1 ms). The
sampling time is set to the smallest possible value (r21002 on the drive object).
STARTER:
Fault value (r0949, decimal interpretation):
Number of the p21000 index of the run-time group where the sampling time was incorrectly set.
Number of the run-time group = fault value
StartDrive:
Fault value (r0949, interpret decimal) indicates the position of the chart in the chart sequence. Number of the fault value
= position of the chart (where numbering starts with 1)
Remedy: Using parameter p0112 or p0115, increase the sampling time of the system function to the minimum permissible sampling
time for the run-time groups of 1 ms or remove all of the blocks from the run-time group.
Remedy: Make sure that the block library and project data match.
- Update the block library in SINAMICS by downloading the technology package.
or
- Update the project data in the DCC Editor by importing the correct block library.
Cause: "Drive Control Chart" (DCC) has initiated this message via the block "Set Message" (STM) or via a block (SINAMICS DCB
Extension) generated using SINAMICS DCB Studio.
Alarm value (r2124, interpret decimal):
The configured message value is displayed in r2124.
Remedy: This message was configured with "Drive Control Chart" (DCC).
The cause and remedy depend on the project and should be described in the corresponding project documentation.
Reaction: NONE
Acknowledge: NONE
Cause: "Drive Control Chart" (DCC) has initiated this message via the block "Set Message" (STM) or via a block (SINAMICS DCB
Extension) generated using SINAMICS DCB Studio.
Alarm value (r2124, interpret decimal):
The configured message value is displayed in r2124.
Remedy: This message was configured with "Drive Control Chart" (DCC).
The cause and remedy depend on the project and should be described in the corresponding project documentation.
A.2 Parameters
Version: 5200800
All objects: DCC, DCC_DC
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
115: T = 115 * r21002
116: T = 116 * r21002
117: T = 117 * r21002
118: T = 118 * r21002
119: T = 119 * r21002
120: T = 120 * r21002
121: T = 121 * r21002
122: T = 122 * r21002
123: T = 123 * r21002
124: T = 124 * r21002
125: T = 125 * r21002
126: T = 126 * r21002
127: T = 127 * r21002
128: T = 128 * r21002
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
115: T = 115 * r21002
116: T = 116 * r21002
117: T = 117 * r21002
118: T = 118 * r21002
119: T = 119 * r21002
120: T = 120 * r21002
121: T = 121 * r21002
122: T = 122 * r21002
123: T = 123 * r21002
124: T = 124 * r21002
125: T = 125 * r21002
126: T = 126 * r21002
127: T = 127 * r21002
128: T = 128 * r21002
129: T = 129 * r21002
130: T = 130 * r21002
131: T = 131 * r21002
132: T = 132 * r21002
133: T = 133 * r21002
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
4: T = 4 * r21002
5: T = 5 * r21002
6: T = 6 * r21002
7: T = 7 * r21002
8: T = 8 * r21002
9: T = 9 * r21002
10: T = 10 * r21002
11: T = 11 * r21002
12: T = 12 * r21002
13: T = 13 * r21002
14: T = 14 * r21002
15: T = 15 * r21002
16: T = 16 * r21002
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
1006: T = 6 * r21003
1008: T = 8 * r21003
1010: T = 10 * r21003
1012: T = 12 * r21003
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
3001: BEFORE speed ctrl
3003: BEFORE speed setpoint channel
3004: BEFORE pos ctrl
3005: BEFORE basic positioner
3006: BEFORE standard technology controller
3007: BEFORE act p v
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4002: Receive AFTER IF2 PZD
4003: Send BEFORE IF2 PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
4005: Receive AFTER IF2 flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
1006: T = 6 * r21003
1008: T = 8 * r21003
1010: T = 10 * r21003
1012: T = 12 * r21003
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
3001: BEFORE speed ctrl
3003: BEFORE speed setpoint channel
3006: BEFORE standard technology controller
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4002: Receive AFTER IF2 PZD
4003: Send BEFORE IF2 PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
4005: Receive AFTER IF2 flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
1006: T = 6 * r21003
1008: T = 8 * r21003
1010: T = 10 * r21003
1012: T = 12 * r21003
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
3001: BEFORE speed ctrl
3003: BEFORE speed setpoint channel
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4002: Receive AFTER IF2 PZD
4003: Send BEFORE IF2 PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
4005: Receive AFTER IF2 flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
1006: T = 6 * r21003
1008: T = 8 * r21003
1010: T = 10 * r21003
1012: T = 12 * r21003
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
2000: Read-in AFTER digital inputs
2001: Output BEFORE digital outputs
2002: Read-in AFTER analog inputs
2003: Output BEFORE analog outputs
3001: BEFORE speed ctrl
3003: BEFORE speed setpoint channel
3004: BEFORE pos ctrl
3005: BEFORE basic positioner
3006: BEFORE standard technology controller
3007: BEFORE act p v
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4002: Receive AFTER IF2 PZD
4003: Send BEFORE IF2 PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
4005: Receive AFTER IF2 flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
115: T = 115 * r21002
116: T = 116 * r21002
117: T = 117 * r21002
118: T = 118 * r21002
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
3003: BEFORE speed setpoint channel
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
115: T = 115 * r21002
116: T = 116 * r21002
117: T = 117 * r21002
118: T = 118 * r21002
119: T = 119 * r21002
120: T = 120 * r21002
121: T = 121 * r21002
122: T = 122 * r21002
123: T = 123 * r21002
124: T = 124 * r21002
125: T = 125 * r21002
126: T = 126 * r21002
127: T = 127 * r21002
128: T = 128 * r21002
129: T = 129 * r21002
130: T = 130 * r21002
131: T = 131 * r21002
132: T = 132 * r21002
133: T = 133 * r21002
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
4: T = 4 * r21002
5: T = 5 * r21002
6: T = 6 * r21002
7: T = 7 * r21002
8: T = 8 * r21002
9: T = 9 * r21002
10: T = 10 * r21002
11: T = 11 * r21002
12: T = 12 * r21002
13: T = 13 * r21002
14: T = 14 * r21002
15: T = 15 * r21002
16: T = 16 * r21002
17: T = 17 * r21002
18: T = 18 * r21002
19: T = 19 * r21002
20: T = 20 * r21002
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
21: T = 21 * r21002
22: T = 22 * r21002
23: T = 23 * r21002
24: T = 24 * r21002
25: T = 25 * r21002
26: T = 26 * r21002
27: T = 27 * r21002
28: T = 28 * r21002
29: T = 29 * r21002
30: T = 30 * r21002
31: T = 31 * r21002
32: T = 32 * r21002
33: T = 33 * r21002
34: T = 34 * r21002
35: T = 35 * r21002
36: T = 36 * r21002
37: T = 37 * r21002
38: T = 38 * r21002
39: T = 39 * r21002
40: T = 40 * r21002
41: T = 41 * r21002
42: T = 42 * r21002
43: T = 43 * r21002
44: T = 44 * r21002
45: T = 45 * r21002
46: T = 46 * r21002
47: T = 47 * r21002
48: T = 48 * r21002
49: T = 49 * r21002
50: T = 50 * r21002
51: T = 51 * r21002
52: T = 52 * r21002
53: T = 53 * r21002
54: T = 54 * r21002
55: T = 55 * r21002
56: T = 56 * r21002
57: T = 57 * r21002
58: T = 58 * r21002
59: T = 59 * r21002
60: T = 60 * r21002
61: T = 61 * r21002
62: T = 62 * r21002
63: T = 63 * r21002
64: T = 64 * r21002
65: T = 65 * r21002
66: T = 66 * r21002
67: T = 67 * r21002
68: T = 68 * r21002
69: T = 69 * r21002
70: T = 70 * r21002
71: T = 71 * r21002
72: T = 72 * r21002
73: T = 73 * r21002
74: T = 74 * r21002
75: T = 75 * r21002
76: T = 76 * r21002
77: T = 77 * r21002
78: T = 78 * r21002
79: T = 79 * r21002
80: T = 80 * r21002
81: T = 81 * r21002
82: T = 82 * r21002
83: T = 83 * r21002
84: T = 84 * r21002
85: T = 85 * r21002
86: T = 86 * r21002
87: T = 87 * r21002
88: T = 88 * r21002
89: T = 89 * r21002
90: T = 90 * r21002
91: T = 91 * r21002
92: T = 92 * r21002
93: T = 93 * r21002
94: T = 94 * r21002
95: T = 95 * r21002
96: T = 96 * r21002
97: T = 97 * r21002
98: T = 98 * r21002
99: T = 99 * r21002
100: T = 100 * r21002
101: T = 101 * r21002
102: T = 102 * r21002
103: T = 103 * r21002
104: T = 104 * r21002
105: T = 105 * r21002
106: T = 106 * r21002
107: T = 107 * r21002
108: T = 108 * r21002
109: T = 109 * r21002
110: T = 110 * r21002
111: T = 111 * r21002
112: T = 112 * r21002
113: T = 113 * r21002
114: T = 114 * r21002
115: T = 115 * r21002
116: T = 116 * r21002
117: T = 117 * r21002
118: T = 118 * r21002
1016: T = 16 * r21003
1020: T = 20 * r21003
1024: T = 24 * r21003
1032: T = 32 * r21003
1040: T = 40 * r21003
1048: T = 48 * r21003
1064: T = 64 * r21003
1080: T = 80 * r21003
1096: T = 96 * r21003
2000: Read-in AFTER digital inputs
2001: Output BEFORE digital outputs
2002: Read-in AFTER analog inputs
2003: Output BEFORE analog outputs
4000: Receive AFTER IF1 PROFIdrive PZD
4001: Send BEFORE IF1 PROFIdrive PZD
4004: Receive AFTER IF1 PROFIdrive flexible PZD
Recommendation: On the drive objects of CU, TB30, TM15DI_DO, TM31, TM41, TM120, the sampling time for supplementary functions
is preset to p0115[0] = 4 ms. If you wish to configure a DCC run-time group with a shorter sampling time on these drive
objects, then you should first set the sampling time for supplementary functions p0115[0] on this drive object to the
value of the shortest sampling time required.
Index: [0] = Run-time group 1
[1] = Run-time group 2
[2] = Run-time group 3
[3] = Run-time group 4
[4] = Run-time group 5
[5] = Run-time group 6
[6] = Run-time group 7
[7] = Run-time group 8
[8] = Run-time group 9
[9] = Run-time group 10
Dependency: See also: r7903, r21008
CAUTION
The properties of the run-time groups must not be changed during operation as this could result in discontinuous signal
transitions.
Note
For value = 1 ... 256 (free run-time group):
This selection value can only be selected online if the following applies for sampling time T_sample of this run-time
group:
1 ms <= T_sample < r21003.
At download, a value that violates this condition is not rejected, but a permissible equivalent value is set automatically
and fault F51004 is output.
For value > 2000 (fixed run-time group):
The fixed run-time groups p21000[x] >= 2000 log on with the sampling time of the associated basic system function,
subject to a minimum sampling time of 1 ms. If, as a result of this limit, the actual sampling time deviates from the
sampling time of the basic system function, then fault F51005 (during F51006 download) is output. In this case, another
run-time group with a sampling time >= 1 ms should be selected. When selecting the fixed run-time groups, a check is
not made as to whether the associated system block exists.
Example:
"BEFORE speed setpoint channel" means before function charts 3010, 3020, 3030, 3040, etc. are calculated, if the
setpoint channel is activated. If, e.g. for SERVO, a setpoint channel has not been configured (p0108.8 = 0), the
calculation is made before function chart 3095.
Note
The computing time load can only be displayed for the run-time groups which are logged on (p21000[x] > 0). The value
for the computing time load is calculated in the drive unit based on the project loaded plus DCC chart. Therefore, the
values r21005[x] are not available in the offline mode of the SCOUT/STARTER.
In r21005 the computing time load is displayed, with which the DCC runtime group utilizes the sampling time in which
it is called. The runtime groups "Receive AFTER IF1 PROFIdrive PZD" (p21000 = 4000), "Send BEFORE IF1 PROFIdrive PZD"
(p21000 = 4001), "Receive BEFORE IF2 PZD" (p21000 = 4002) and "Send BEFORE IF2 PZD" (p21000 = 4003) are called
in the isochronous mode and in the non-isochronous mode, in different sampling times.
In the non-isochronous mode, these are IF1 / IF2 PZD sampling time (p2048 for p21000 = 4000 or 4001, p8848 for
p21000 = 4002 or 4003). In the isochronous mode, this is the current controller sampling time (p115[0]) which is
periodically called with the isochronous bus cycle time. The computing time load displayed in r21005 is always
calculated for the (more unfavorable) case of isochronous operation. This is why this value does not (always) act to the
full amount on the computing time load of the complete system.
NOTICE
For internal purposes, the drive unit always requires several free hardware sampling times. Therefore the current
number of free hardware sampling times can be read out in r7903.
If r7903=0, no additional sampling time different from r21008[0...31] may be provided from the Control Unit. When
selecting in this state, if a run-time group with a sampling time < r21003 (p21000 <= 255) is selected in p21000, only
run-time groups whose sampling time is already provided in r21008[0...31] may be selected.
Note
A sampling time that is provided can be simultaneously used by system functions, several FBLOCK run-time groups and
several DCC run-time groups.
The sampling time of run-time groups that have been assigned to the PROFIBUS run-time groups (p21000 = 4000 ...
4004) is not displayed in r21008. For this sampling time, one of the internally and permanently assigned hardware
sampling times is used.
If the value of r21008[x] != 0 (not equal to 0), then the sampling time is specified in ms.
If the value of r21008[x] = 0, this sampling time can still be freely assigned. It should be noted that the basic system
requires several freely assignable hardware sampling times for internal functions. The number of hardware sampling
times that can still be freely assigned can be read out in r7903.
If the value r21008[x] = 99999.00000, this hardware sampling time is not supported.
Abbrevia‐ Data width Data type ac‐ Postfix for PIN designator Can be connec‐ Description
tion cording to DCB identifier ○ Input ted
IEC 61131-3 ○ Output with data type
The table lists the fields for DPV1 parameter job and response.
DCA
SIMOTION, SINAMICS, 329
DEL H
SIMOTION, SINAMICS, 347
Hardware sampling times available
DEZ
r21008[0...31], 493
SIMOTION, SINAMICS, 351
DFR
SIMOTION, SINAMICS, 94
DFR_W
I
SIMOTION, 97 I_D
DIV SIMOTION, SINAMICS, 203
SIMOTION, SINAMICS, 48, 354 I_R
DIV_D SIMOTION, SINAMICS, 204
SIMOTION, SINAMICS, 50 I_SI
DIV_I SIMOTION, 205
SIMOTION, SINAMICS, 52 I_UD
DLB SIMOTION, SINAMICS, 206
SIMOTION, SINAMICS, 100 I_US
DP_UD SIMOTION, SINAMICS, 207
SINAMICS, 260 INCO
DT1 SIMOTION, SINAMICS, 335
SIMOTION, SINAMICS, 357 INT
DW_B SIMOTION, SINAMICS, 361
SIMOTION, SINAMICS, 193
DW_R
SIMOTION, SINAMICS, 196 L
DW_W
Library IDs of the measured blocks
SIMOTION, SINAMICS, 197
r21046[0...49], 507
DX8
LIM
SIMOTION, SINAMICS, 102
SIMOTION, SINAMICS, 364
DX8_D
LIM_D
SIMOTION, SINAMICS, 104
SIMOTION, SINAMICS, 367
DX8_I
LR_R
SIMOTION, SINAMICS, 106
SIMOTION, 208
LVM
SIMOTION, SINAMICS, 110
E
ETE
SIMOTION, SINAMICS, 108 M
MAS
SIMOTION, SINAMICS, 54
F Maximum measured block run-time in us
First run / subsequent run identifiers r21045[0...49], 505
r21042[0...49], 499 MFP
SIMOTION, SINAMICS, 112
Minimum measured block run-time in us
G r21043[0...49], 501
MIS
GTS
SIMOTION, SINAMICS, 55
SIMOTION, 245
MUL
SIMOTION, SINAMICS, 56
MUL_D NSW_D
SIMOTION, SINAMICS, 57 SIMOTION, SINAMICS, 150
MUL_I NSW_I
SIMOTION, SINAMICS, 58 SIMOTION, SINAMICS, 152
MUX8
SIMOTION, SINAMICS, 114
MUX8_D O
SIMOTION, SINAMICS, 117
OCA
MUX8_I
SIMOTION, SINAMICS, 338
SIMOTION, SINAMICS, 120
OR
MVS
SIMOTION, SINAMICS, 154
SIMOTION, SINAMICS, 370
OR_W
SIMOTION, 156
N
N2_R P
SIMOTION, SINAMICS, 209
PC
N4_R
SIMOTION, SINAMICS, 373
SIMOTION, SINAMICS, 210
PCL
NAND
SIMOTION, SINAMICS, 158
SIMOTION, SINAMICS, 123
PDE
NCM
SIMOTION, SINAMICS, 160
SIMOTION, SINAMICS, 125
PDF
NCM_D
SIMOTION, SINAMICS, 162
SIMOTION, SINAMICS, 127
PIC
NCM_I
SIMOTION, SINAMICS, 376
SIMOTION, SINAMICS, 129
PLI20
NOP1
SIMOTION, SINAMICS, 59
SIMOTION, SINAMICS, 131
PST
NOP1_B
SIMOTION, SINAMICS, 164
SIMOTION, SINAMICS, 132
PT1
NOP1_D
SIMOTION, SINAMICS, 385
SIMOTION, SINAMICS, 133
NOP1_I
SIMOTION, SINAMICS, 134
NOP8
R
SIMOTION, SINAMICS, 135 R_D
NOP8_B SIMOTION, SINAMICS, 211
SIMOTION, SINAMICS, 137 R_DW
NOP8_D SIMOTION, SINAMICS, 212
SIMOTION, SINAMICS, 139 R_I
NOP8_I SIMOTION, SINAMICS, 213
SIMOTION, SINAMICS, 141 R_LR
NOR SIMOTION, 214
SIMOTION, SINAMICS, 143 R_N2
NOT SIMOTION, SINAMICS, 215
SIMOTION, SINAMICS, 145 R_N4
NOT_W SIMOTION, SINAMICS, 217
SIMOTION, 146 R_SI
NSW SIMOTION, 219
SIMOTION, SINAMICS, 148 R_UD
SIMOTION, SINAMICS, 220
R_UI SAV
SIMOTION, SINAMICS, 221 SIMOTION, SINAMICS, 291
R_US SAV_BY
SIMOTION, SINAMICS, 222 SIMOTION, SINAMICS, 294
RAA SAV_D
SIMOTION, 246 SIMOTION, SINAMICS, 297
RDA SAV_I
SIMOTION, 247 SIMOTION, SINAMICS, 300
RDAA SH
SIMOTION, 249 SIMOTION, 170
RDP SH_DW
SINAMICS, 251 SIMOTION, SINAMICS, 172
RDP_D SI_D
SINAMICS, 254 SIMOTION, 223
RDP_I SI_I
SINAMICS, 257 SIMOTION, 224
RDP_UI SI_R
SINAMICS, 263 SIMOTION, 225
RDP_US SI_UD
SINAMICS, 266 SIMOTION, 226
References, 3 SI_UI
RGE SIMOTION, 227
SIMOTION, SINAMICS, 388 SIN
RGJ SIMOTION, SINAMICS, 66
SIMOTION, SINAMICS, 395 Sll
RMDP SIMOTION, SINAMICS, 64
SIMOTION, 269 SQR
RSR SIMOTION, 68
SIMOTION, SINAMICS, 166 SRA
RSS SIMOTION, 303
SIMOTION, SINAMICS, 168 STM
Run-time group properties SINAMICS, 306
p21000[0...9], 417, 424, 430, 437, 444, 451, 458, SUB
465, 472, 478, 485 SIMOTION, SINAMICS, 70
Run-time group sampling time SUB_D
r21001[0...9], 492 SIMOTION, SINAMICS, 71
Run-time group, computing time measurement SUB_I
p21030, 495 SIMOTION, SINAMICS, 72
S T
SAH TAN
SINAMICS, 276 SIMOTION, 73
SAH_B TRK
SINAMICS, 279 SIMOTION, SINAMICS, 174
SAH_BY TRK_D
SINAMICS, 282 SIMOTION, SINAMICS, 176
SAH_D TTCU
SINAMICS, 285 SIMOTION, SINAMICS, 340
SAH_I
SINAMICS, 288
XOR_W
SIMOTION, 179
U
UD_I
SIMOTION, SINAMICS, 228
UD_R
SIMOTION, SINAMICS, 229
UD_SI
SIMOTION, 230
UI_D
SIMOTION, SINAMICS, 231
UI_R
SIMOTION, SINAMICS, 232
UI_SI
SIMOTION, 233
US_D
SIMOTION, SINAMICS, 234
US_I
SIMOTION, SINAMICS, 235
US_R
SIMOTION, SINAMICS, 236
W
W_B
SIMOTION, SINAMICS, 237
W_BY
SIMOTION, SINAMICS, 239
W_DW
SIMOTION, SINAMICS, 241
WBG
SIMOTION, SINAMICS, 343
WMDP
SIMOTION, 310
WRP
SINAMICS, 317
WRP_D
SINAMICS, 319
WRP_I
SINAMICS, 321
WRP_UD
SINAMICS, 323
WRP_UI
SINAMICS, 325
WRP_US
SINAMICS, 327
X
XOR
SIMOTION, SINAMICS, 178