s71500 s71500t Axis Function Manual en-US en-US
s71500 s71500t Axis Function Manual en-US en-US
s71500 s71500t Axis Function Manual en-US en-US
SIMATIC
S7-1500
S7-1500/S7-1500T Axis functions V5.0
in TIA Portal V16
Function manuals
Documentation Guide (S7- 1
1500, S7-1500T)
12/2019
A5E37577655-AC
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.
Conventions
● For the path settings in the project navigation it is presumed that the "Technology objects"
object is opened in the CPU subtree. The "Technology object" placeholder represents the
name of the technology object.
Example: "Technology object > Configuration > Basic parameters".
● The <TO> placeholder represents the name set in tags for the respective technology
object.
Example: <TO>.Actor.Type
● This documentation contains pictures of the devices described. The pictures may differ in
minor details from the devices supplied.
You should also observe the notes that are marked as follows:
Note
A note contains important information about the product described in the documentation,
about the handling of the product, and about sections in this documentation demanding your
particular attention.
Further support
● The range of technical documentation for the individual SIMATIC products and systems is
available on the Internet (http://www.siemens.com/simatic-tech-doku-portal).
● The online catalog and the online ordering system is available on the Internet
(http://mall.industry.siemens.com).
3.10 Motion control and limits for dynamics (S7-1500, S7-1500T) ................................................ 54
3.10.1 Velocity profile (S7-1500, S7-1500T) ..................................................................................... 54
3.10.2 Emergency stop deceleration (S7-1500, S7-1500T) ............................................................. 56
3.10.3 Motion specification via "MotionIn" (S7-1500T) ..................................................................... 57
3.10.4 Torque limits (S7-1500, S7-1500T)........................................................................................ 59
3.10.4.1 Force/torque limiting (S7-1500, S7-1500T) ........................................................................... 59
3.10.4.2 Fixed stop detection (S7-1500, S7-1500T) ............................................................................ 61
3.10.4.3 Additive setpoint torque (S7-1500, S7-1500T) ...................................................................... 62
3.10.4.4 Permissible torque range (S7-1500, S7-1500T) .................................................................... 63
3.10.5 Tags: Motion control and limits for dynamics (S7-1500, S7-1500T) ...................................... 64
3.11 Homing (S7-1500, S7-1500T) ................................................................................................ 66
3.11.1 Terms (S7-1500, S7-1500T) .................................................................................................. 67
3.11.2 Homing mode (S7-1500, S7-1500T) ...................................................................................... 69
3.11.3 Active homing with homing output cam and zero mark (S7-1500, S7-1500T) ...................... 70
3.11.4 Active homing with zero mark (S7-1500, S7-1500T) ............................................................. 73
3.11.5 Active homing with digital input (S7-1500, S7-1500T) ........................................................... 75
3.11.6 Direction reversal at the hardware limit switch (reversing cam) (S7-1500, S7-1500T) ......... 77
3.11.7 Passive homing with homing output cam and zero mark (S7-1500, S7-1500T) ................... 77
3.11.8 Passive homing with zero mark (S7-1500, S7-1500T) .......................................................... 79
3.11.9 Passive homing with digital input (S7-1500, S7-1500T) ........................................................ 81
3.11.10 Direct homing (S7-1500, S7-1500T) ...................................................................................... 83
3.11.11 Absolute value adjustment (S7-1500, S7-1500T) .................................................................. 85
3.11.12 Resetting the "Homed" status (S7-1500, S7-1500T) ............................................................. 86
3.11.13 Tags: Homing (S7-1500, S7-1500T) ...................................................................................... 87
3.12 Position monitoring functions (S7-1500, S7-1500T) .............................................................. 89
3.12.1 Positioning monitoring (S7-1500, S7-1500T)......................................................................... 89
3.12.2 Following error monitoring (S7-1500, S7-1500T) .................................................................. 90
3.12.3 Standstill signal (S7-1500, S7-1500T) ................................................................................... 91
3.12.4 Tags: Position monitoring functions (S7-1500, S7-1500T) .................................................... 91
3.13 Closed-loop control (S7-1500, S7-1500T) ............................................................................. 93
3.13.1 Control structure (S7-1500, S7-1500T) ................................................................................. 94
3.13.2 Non position-controlled operation (S7-1500, S7-1500T) ....................................................... 95
3.13.3 Tags: Closed-loop control (S7-1500, S7-1500T) ................................................................... 96
4 Configuring (S7-1500, S7-1500T).......................................................................................................... 97
4.1 Configuring the Speed-Control Axis technology object (S7-1500, S7-1500T) ...................... 97
4.1.1 Configuration - Basic Parameters (S7-1500, S7-1500T) ....................................................... 97
4.1.2 Hardware interface (S7-1500, S7-1500T) .............................................................................. 98
4.1.2.1 Configuration - Drive (S7-1500, S7-1500T) ........................................................................... 98
4.1.2.2 Configuration - Data exchange with the drive (S7-1500, S7-1500T) ................................... 100
4.1.3 Extended Parameters (S7-1500, S7-1500T) ....................................................................... 102
4.1.3.1 Configuration - Mechanics (S7-1500, S7-1500T) ................................................................ 102
4.1.3.2 Configuration - Dynamic Defaults (S7-1500, S7-1500T) ..................................................... 102
4.1.3.3 Configuration - Emergency stop (S7-1500, S7-1500T) ....................................................... 104
4.1.3.4 Limits (S7-1500, S7-1500T) ................................................................................................. 105
4.2 Configuring the Positioning Axis technology object (S7-1500, S7-1500T) ...........................108
4.2.1 Configuration - Basic Parameters (S7-1500, S7-1500T) ......................................................108
4.2.2 Hardware interface (S7-1500, S7-1500T).............................................................................110
4.2.2.1 Configuration - Drive (S7-1500, S7-1500T) ..........................................................................110
4.2.2.2 Configuration - Encoder (S7-1500, S7-1500T) .....................................................................112
4.2.2.3 Configuration - Data exchange with the drive (S7-1500, S7-1500T) ....................................114
4.2.2.4 Configuration - Data exchange with encoder (S7-1500, S7-1500T) ....................................117
4.2.3 Configuration - Leading value settings (S7-1500, S7-1500T) ..............................................120
4.2.4 Extended Parameters (S7-1500, S7-1500T) ........................................................................121
4.2.4.1 Configuration - Mechanics (S7-1500, S7-1500T) .................................................................121
4.2.4.2 Configuration - Dynamic Defaults (S7-1500, S7-1500T) ......................................................125
4.2.4.3 Configuration - Emergency stop (S7-1500, S7-1500T) ........................................................126
4.2.4.4 Limits (S7-1500, S7-1500T) ..................................................................................................128
4.2.4.5 Homing (S7-1500, S7-1500T)...............................................................................................134
4.2.4.6 Position monitoring functions (S7-1500, S7-1500T) .............................................................143
4.2.4.7 Configuration - Control loop (S7-1500, S7-1500T) ...............................................................145
4.2.4.8 Configuration - Actual value extrapolation (S7-1500T).........................................................146
4.3 Configuring the technology object external encoder (S7-1500, S7-1500T) .........................148
4.3.1 Configuration - Basic Parameters (S7-1500, S7-1500T) ......................................................148
4.3.2 Hardware interface (S7-1500, S7-1500T).............................................................................149
4.3.2.1 Configuration - Encoder (S7-1500, S7-1500T) .....................................................................149
4.3.2.2 Configuration - Data exchange (S7-1500, S7-1500T) ..........................................................150
4.3.3 Configuration - Leading value settings (S7-1500, S7-1500T) ..............................................156
4.3.4 Extended Parameters (S7-1500, S7-1500T) ........................................................................156
4.3.4.1 Configuration - Mechanics (S7-1500, S7-1500T) .................................................................156
4.3.4.2 Homing (S7-1500, S7-1500T)...............................................................................................158
4.3.4.3 Configuration - Actual value extrapolation (S7-1500T).........................................................162
5 Commissioning (S7-1500, S7-1500T) .................................................................................................. 164
5.1 Axis control panel (S7-1500, S7-1500T)...............................................................................164
5.1.1 Function and structure of the axis control panel (S7-1500, S7-1500T) ................................164
5.1.2 Using the axis control panel (S7-1500, S7-1500T) ...............................................................168
5.2 Optimization (S7-1500, S7-1500T) .......................................................................................169
5.2.1 Function and structure of the optimization (S7-1500, S7-1500T) .........................................169
5.2.2 Optimize position controller (S7-1500, S7-1500T) ...............................................................172
6 Diagnostics (S7-1500, S7-1500T) ....................................................................................................... 176
6.1 Speed-controlled axis technology object (S7-1500, S7-1500T) ...........................................177
6.1.1 Status and error bits (S7-1500, S7-1500T)...........................................................................177
6.1.2 Motion status (S7-1500, S7-1500T)......................................................................................180
6.1.3 PROFIdrive telegram (S7-1500, S7-1500T) .........................................................................181
6.2 Positioning axis technology object (S7-1500, S7-1500T) .....................................................182
6.2.1 Status and error bits (S7-1500, S7-1500T)...........................................................................182
6.2.2 Motion status (S7-1500, S7-1500T)......................................................................................186
6.2.3 PROFIdrive telegram (S7-1500, S7-1500T) .........................................................................187
6.3 Technology object external encoder (S7-1500, S7-1500T) ..................................................188
6.3.1 Status and error bits (S7-1500, S7-1500T)...........................................................................188
6.3.2 Motion status (S7-1500, S7-1500T)......................................................................................190
6.3.3 PROFIdrive telegram (S7-1500, S7-1500T) .........................................................................190
A.2 Tags of the positioning axis technology object (S7-1500, S7-1500T) ................................. 293
A.2.1 Legend (S7-1500, S7-1500T) .............................................................................................. 293
A.2.2 Actual values and setpoints (positioning axis) (S7-1500, S7-1500T) .................................. 294
A.2.3 "Simulation" tag (positioning axis) (S7-1500, S7-1500T)..................................................... 294
A.2.4 "VirtualAxis" tag (positioning axis) (S7-1500, S7-1500T) .................................................... 295
A.2.5 "Actor" tag (positioning axis) (S7-1500, S7-1500T) ............................................................. 295
A.2.6 "TorqueLimiting" tag (positioning axis) (S7-1500, S7-1500T) ............................................. 297
A.2.7 "Clamping" tag (positioning axis) (S7-1500, S7-1500T) ...................................................... 297
A.2.8 Sensor[1..4] tags (positioning axis) (S7-1500, S7-1500T) ................................................... 298
A.2.9 "CrossPlcSynchronousOperation" tag (positioning axis) (S7-1500, S7-1500T) .................. 300
A.2.10 "Extrapolation" tag (positioning axis) (S7-1500, S7-1500T) ................................................ 301
A.2.11 "LoadGear" tag (positioning axis) (S7-1500, S7-1500T) ..................................................... 302
A.2.12 "Properties" tag (positioning axis) (S7-1500, S7-1500T) ..................................................... 303
A.2.13 "Units" tag (positioning axis) (S7-1500, S7-1500T) ............................................................. 303
A.2.14 "Mechanics" tag (positioning axis) (S7-1500, S7-1500T) .................................................... 305
A.2.15 "Modulo" tag (positioning axis) (S7-1500, S7-1500T).......................................................... 305
A.2.16 "DynamicLimits" tag (positioning axis) (S7-1500, S7-1500T) .............................................. 306
A.2.17 "DynamicDefaults" tag (positioning axis) (S7-1500, S7-1500T) .......................................... 306
A.2.18 "PositionLimits_SW" tag (positioning axis) (S7-1500, S7-1500T) ....................................... 307
A.2.19 "PositionLimits_HW" tag (positioning axis) (S7-1500, S7-1500T) ....................................... 308
A.2.20 "Homing" tag (positioning axis) (S7-1500, S7-1500T) ......................................................... 309
A.2.21 "Override" tag (positioning axis) (S7-1500, S7-1500T)........................................................ 310
A.2.22 "PositionControl" tag (positioning axis) (S7-1500, S7-1500T) ............................................. 310
A.2.23 "DynamicAxisModel" tag (positioning axis) (S7-1500, S7-1500T) ....................................... 311
A.2.24 "FollowingError" tag (positioning axis) (S7-1500, S7-1500T) .............................................. 312
A.2.25 "PositioningMonitoring" tag (positioning axis) (S7-1500, S7-1500T) ................................... 313
A.2.26 "StandstillSignal" tag (positioning axis) (S7-1500, S7-1500T) ............................................. 313
A.2.27 "StatusPositioning" tag (positioning axis) (S7-1500, S7-1500T) ......................................... 314
A.2.28 "StatusDrive" tag (positioning axis) (S7-1500, S7-1500T) ................................................... 315
A.2.29 "StatusServo" tag (positioning axis) (S7-1500, S7-1500T) .................................................. 316
A.2.30 "StatusProvidedLeadingValue" tag (positioning axis) (S7-1500, S7-1500T) ....................... 316
A.2.31 StatusSensor[1..4] Tags (positioning axis) (S7-1500, S7-1500T) ....................................... 317
A.2.32 "StatusExtrapolation" tag (positioning axis) (S7-1500, S7-1500T) ...................................... 318
A.2.33 "StatusKinematicsMotion" tag (positioning axis) (S7-1500, S7-1500T) ............................... 319
A.2.34 "StatusTorqueData" tag (positioning axis) (S7-1500, S7-1500T) ........................................ 320
A.2.35 "StatusMotionIn" tag (positioning axis) (S7-1500, S7-1500T) ............................................. 320
A.2.36 "StatusWord" tag (positioning axis) (S7-1500, S7-1500T)................................................... 321
A.2.37 "StatusWord2" tag (positioning axis) (S7-1500, S7-1500T)................................................. 324
A.2.38 "ErrorWord" tag (positioning axis) (S7-1500, S7-1500T) ..................................................... 325
A.2.39 "ErrorDetail" tag (positioning axis) (S7-1500, S7-1500T) .................................................... 326
A.2.40 "WarningWord" tag (positioning axis) (S7-1500, S7-1500T) ............................................... 327
A.2.41 "ControlPanel" tag (positioning axis) (S7-1500, S7-1500T)................................................. 328
A.2.42 "InternalToTrace" tag (positioning axis) (S7-1500, S7-1500T) ............................................ 328
A.3 Tags of the technology object external encoder (S7-1500, S7-1500T) ................................329
A.3.1 Legend (S7-1500, S7-1500T) ...............................................................................................329
A.3.2 Actual values and setpoints (external encoder) (S7-1500, S7-1500T).................................329
A.3.3 "Sensor[1..4]" tag (external encoder) (S7-1500, S7-1500T).................................................330
A.3.4 "CrossPlcSynchronousOperation" tag (external encoder) (S7-1500, S7-1500T).................332
A.3.5 "Extrapolation" tag (external encoder) (S7-1500, S7-1500T) ...............................................333
A.3.6 "LoadGear" tag (external encoder) (S7-1500, S7-1500T) ....................................................334
A.3.7 "Properties" tag (external encoder) (S7-1500, S7-1500T)....................................................335
A.3.8 "Units" tag (external encoder) (S7-1500, S7-1500T) ............................................................335
A.3.9 "Mechanics" tag (external encoder) (S7-1500, S7-1500T) ...................................................336
A.3.10 "Modulo" tag (external encoder) (S7-1500, S7-1500T) ........................................................337
A.3.11 "Homing" tag (external encoder) (S7-1500, S7-1500T) ........................................................337
A.3.12 "StatusProvidedLeadingValue" tag (external encoder) (S7-1500, S7-1500T) .....................338
A.3.13 "StatusSensor[1..4]" tag (external encoder) (S7-1500, S7-1500T) ......................................339
A.3.14 "StatusExtrapolation" tag (external encoder) (S7-1500, S7-1500T) .....................................340
A.3.15 "StatusWord" tag (external encoder) (S7-1500, S7-1500T) .................................................340
A.3.16 "ErrorWord" tag (external encoder) (S7-1500, S7-1500T) ...................................................342
A.3.17 "ErrorDetail" tag (external encoder) (S7-1500, S7-1500T) ...................................................343
A.3.18 "WarningWord" tag (external encoder) (S7-1500, S7-1500T) ..............................................344
A.3.19 "InternalToTrace[1..4]" tag (external encoder) (S7-1500, S7-1500T) ..................................345
A.4 "MC_Power" function diagrams (S7-1500, S7-1500T) .........................................................346
A.4.1 Drive connection via PROFIdrive (S7-1500, S7-1500T).......................................................346
A.4.1.1 PROFIdrive State Machine (S7-1500, S7-1500T) ................................................................346
A.4.1.2 "StopMode" = 0, 2 (S7-1500, S7-1500T) ..............................................................................347
A.4.1.3 "StopMode" = 1 (S7-1500, S7-1500T) ..................................................................................348
A.4.1.4 Alarm reactions with braking ramp via the technology object (S7-1500, S7-1500T) ...........349
A.4.1.5 Alarm response "Remove enable" (S7-1500, S7-1500T) .....................................................350
A.4.2 Analog drive connection (S7-1500, S7-1500T) ....................................................................351
A.4.2.1 "StopMode" = 0, 2 (S7-1500, S7-1500T) .............................................................................. 351
A.4.2.2 "StopMode" = 1 (S7-1500, S7-1500T) ..................................................................................352
A.4.2.3 Alarm reactions with braking ramp via the technology object (S7-1500, S7-1500T) ...........353
A.4.2.4 Alarm response "Remove enable" (S7-1500, S7-1500T) .....................................................354
Glossary (S7-1500, S7-1500T) ............................................................................................................ 355
Index................................................................................................................................................... 359
Basic information
System manuals and Getting Started manuals describe in detail the configuration,
installation, wiring and commissioning of the SIMATIC S7-1500, ET 200MP, ET 200SP and
ET 200AL systems; use the corresponding operating instructions for CPU 1516pro-2 PN.
The STEP 7 online help supports you in configuration and programming.
Device information
Product manuals contain a compact description of the module-specific information, such as
properties, terminal diagrams, characteristics and technical specifications.
General information
The function manuals contain detailed descriptions on general topics such as diagnostics,
communication, Motion Control, Web server, OPC UA.
You can download the documentation free of charge from the Internet
(https://support.industry.siemens.com/cs/ww/en/view/109742705).
Changes and additions to the manuals are documented in product information sheets.
You will find the product information on the Internet:
● S7-1500/ET 200MP (https://support.industry.siemens.com/cs/us/en/view/68052815)
● ET 200SP (https://support.industry.siemens.com/cs/us/en/view/73021864)
● ET 200AL (https://support.industry.siemens.com/cs/us/en/view/99494757)
Manual Collections
The Manual Collections contain the complete documentation of the systems put together in
one file.
You will find the Manual Collections on the Internet:
● S7-1500/ET 200MP (https://support.industry.siemens.com/cs/ww/en/view/86140384)
● ET 200SP (https://support.industry.siemens.com/cs/ww/en/view/84133942)
● ET 200AL (https://support.industry.siemens.com/cs/ww/en/view/95242965)
"mySupport"
With "mySupport", your personal workspace, you make the best out of your Industry Online
Support.
In "mySupport", you can save filters, favorites and tags, request CAx data and compile your
personal library in the Documentation area. In addition, your data is already filled out in
support requests and you can get an overview of your current requests at any time.
You must register once to use the full functionality of "mySupport".
You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en).
Application examples
The application examples support you with various tools and examples for solving your
automation tasks. Solutions are shown in interplay with multiple components in the system -
separated from the focus on individual products.
You will find the application examples on the Internet
(https://support.industry.siemens.com/sc/ww/en/sc/2054).
Documentation Description
S7-1500/S7-1500T Motion This documentation describes the general Motion Control
Control overview functions independent of technology objects.
Function manual "S7-1500/
S7-1500T Motion Control over-
view"
(https://support.industry.siemens.
com/cs/ww/en/view/109766459)
Using S7-1500/S7-1500T axis This documentation describes the Motion Control functions for
functions the following technology objects:
Function manual "S7-1500/ • Speed axis
S7-1500T Axis functions"
• Positioning axis
(https://support.industry.siemens.
com/cs/ww/en/view/109766462) • External encoder
Using S7-1500/S7-1500T This documentation describes the Motion Control functions for
measuring input and output cam the following technology objects:
functions
• Measuring input
Function manual "S7-1500/
• Output cam
S7-1500T Measuring input and
output cam functions" • Cam track
(https://support.industry.siemens.
com/cs/ww/en/view/109766466)
Using S7-1500/S7-1500T syn- This documentation describes the Motion Control functions for
chronous operation functions the following technology objects:
Function manual "S7-1500/ • Synchronous axis
S7-1500T Synchronous operation
• Cam (S7-1500T)
functions"
(https://support.industry.siemens. • Leading axis proxy (S7-1500T)
com/cs/ww/en/view/109766464)
Using S7-1500T kinematics This documentation describes the Motion Control functions for
functions the following technology objects:
Function manual "S7-1500T • Kinematics (S7-1500T)
Kinematics functions"
(https://support.industry.siemens.
com/cs/ww/en/view/109766463)
Additional information
You can find an overview and important links to the topic "SIMATIC Motion Control" in the
Siemens Industry Online Support under the entry ID 109751049
(https://support.industry.siemens.com/cs/ww/en/view/109751049).
The following table shows the functions supported by technology objects in the TIA Portal:
In addition to the functionality of the S7-1500 CPU, the S7-1500T CPU provides additional
functions and technology objects:
For linear axes, the position of the axis is specified as a linear measure, e.g. millimeters
(mm).
● Rotary axis
For rotary axes, the position of the axis is specified as an angular measure, e.g. degrees
(°).
Action Description
Switching on the CPU The modulo cycle counter is set to 0.
Reset with "Restart" = TRUE The modulo cycle counter is set to 0.
Active and passive homing • If the home position is in the range "Modulo start value ≤ Home
with "Mode" = 2, 3, 5, 8, 10 position ≤ (Modulo Start value + Modulo length / 2)", the modulo
cycle counter is set to 0.
• If the home position is in the range "(Modulo start value + Modulo
length / 2) < Home position < (Modulo start value + Modulo
length)" the modulo cycle is set to -1.
Direct homing absolute with The modulo value is the shortest distance between the current and
"Mode"= 0, 11 new position. Depending of the distance, the modulo cycle counter
can remain the same, increase by 1 or decrease by 1.
Direct homing absolute with The modulo cycle counter changes according to the specified position
"Mode"= 1, 12 difference, even if no homing has taken place before.
Action Description
Switching on the CPU The modulo cycle counter changes according to the determined
modulo length from the absolute value of the encoder and the abso-
lute value offset of an absolute value encoder adjustment, if an abso-
lute value encoder adjustment has taken place.
Reset with "Restart" = TRUE The modulo cycle counter remains unchanged.
Absolute encoder adjust- The modulo cycle counter is set to 0.
ment with "Mode" = 6, 7
Direct homing absolute with The modulo value is the shortest distance between the current and
"Mode"= 0, 11 new position. Depending of the distance, the modulo cycle counter
can remain the same, increase by 1 or decrease by 1.
Direct homing absolute with The modulo cycle counter changes according to the specified position
"Mode"= 1, 12 difference, even if no homing has taken place before.
The traversing time restarts when one of the following conditions is fulfilled:
● You have homed the axis with "MC_Home".
● After POWER OFF → POWER ON of the CPU
A change in the velocity has the consequence that the traversing time changes accordingly.
PROFIdrive
PROFIdrive is the standardized drive technology profile for connecting drives and encoders
via PROFIBUS DP and PROFINET IO. Drives that support the PROFIdrive profile are
connected according to the PROFIdrive standard.
The current PROFIdrive specification is available at:
https://www.profibus.com (https://www.profibus.com)
Communication between the controller and drive/encoder is performed using various
PROFIdrive telegrams. Each of the telegrams has a standardized structure. You can select
the appropriate telegram according to the application. Control words and status words as
well as setpoints and actual values are transmitted in the PROFIdrive telegrams.
The PROFIdrive profile likewise supports the "Dynamic Servo Control" (DSC) control
concept. DSC uses rapid closed loop position control in the drive. This can be used to solve
highly dynamic Motion Control tasks.
Stepper motors
Drives with a stepper motor interface are connected using telegram 3 and with the help of
PTO (Pulse Train Output) pulse generators.
For functional support of stepper motor operation, quantization of the control deviation can
be set.
Through the specification of a quantization, a range around the target position is defined in
which no correction of the actual position is to be made. This prevents a possible oscillation
of the stepper motor around the target position. Two types of quantization can be set:
● Quantization of the control deviation corresponding to the encoder resolution
("<TO>.PositionControl.ControlDifferenceQuantization.Mode" = 1)
This prevents oscillation of the stopped motor between two increment values, for
example. This mode is especially helpful when using multiple encoders. With this setting,
the quantization is adapted appropriately at an encoder switchover. This mode is helpful
for stepper motors with encoders in which the resolution of the encoder is lower than the
step size of the stepper motor.
● Direct specification of a value for quantization of the control deviation.
("<TO>.PositionControl.ControlDifferenceQuantization.Mode" = 2, value setting in
"<TO>.PositionControl.ControlDifferenceQuantization.Value")
This mode is helpful for stepper motors with encoders in which the resolution of the
encoder is greater than the step size of the stepper motor.
Telegram types
The following table shows the supported PROFIdrive telegram types for the assignment of
drives and encoders:
See also
Data connection drive/encoder via data block (Page 44)
Calculation
With precontrol Tt = Tipo + Tservo + Tvtc + TaddPtc
Without precontrol, without DSC Tt = Tipo + 1/Kv + TaddPtc
Without precontrol, with DSC for one axis in Tt = Tipo + Tservo + 1/Kv + TaddPtc
simulation
See also
Virtual axis (Page 44)
Axis in simulation (Page 43)
Absolute actual value with setting absolute (measuring range > traversing range)
The axis position results directly from the current actual encoder value. The traversing range
must be within an encoder measuring range. This means that the zero passage of the
encoder must not be located in the traversing range.
When the controller is switched on, the axis position is determined from the absolute actual
encoder value.
Absolute actual value with setting cyclic absolute (measuring range < traversing range)
The encoder supplies an absolute value within its measuring range. The controller includes
the traversed measuring ranges and thus determines the correct axis position beyond the
measuring range.
When the controller is switched off, the traversed measuring ranges are saved in the
retentive memory area of the controller.
At the next power-on, the saved traversed measuring ranges are taken into account in the
calculation of the actual position value.
NOTICE
Movements of the axis while the controller is switched off can skew the actual value
If the axis or the encoder is moved by more than half of the encoder measuring range while
the controller is switched off, the actual value in the controller is no longer in accord with the
mechanical axis position.
See also
Absolute value adjustment (Page 85)
3.7.3 Automatic transfer of drive and encoder parameters in the device (S7-1500, S7-
1500T)
Identical reference values for the drive and encoder connections must be set in the controller
and in the drive and encoder for the operation.
The speed setpoint NSET and the actual speed value NACT are transferred in the
PROFIdrive telegram as a percentage of the reference speed. The reference value for the
speed must be set identically in the controller and in the drive.
The resolution of the actual value in the PROFIdrive telegram must likewise be set identically
in the controller and in the drive and encoder modules
Parameters
The controller settings are made in the TIA Portal under "Technology object > Configuration
> Hardware interface > Data exchange with the drive/encoder".
The drive and encoder settings are made in the configuration or the respective hardware.
The following table compares the settings in the TIA Portal, in the controller and the
corresponding drive/encoder parameters:
Note
Homing
Homing with the Motion Control instruction "MC_Home" or the axis control panel is always
performed with the encoder involved in closed loop position control.
The homing status of the axis is not changed following an encoder switchover.
Simulation
When the axis is simulated, all encoders configured as "used" are simulated.
Following the switchover to an alternative encoder or encoder system, you can select what
happens if the actual positions of the encoders are different.
You define how to deal with the difference in the actual positions of the encoders using input
parameter "Mode" of the Motion Control instruction "MC_SetSensor".
● Switch over encoder and transfer actual position to the encoder to be switched
("Mode" = 0)
With this encoder switchover, step changes in the actual position are prevented.
Bumpless switchover of the encoders is possible.
● Switch over sensor without transferring the actual position ("Mode" = 1)
Following a switchover to an encoder without adjustment, a step change of the actual
position may occur. This can be desirable if the new encoder is intended to compensate
for possible mechanical influences (such as slip) in the positioning.
The position difference is not implemented immediately but rather after a delay using time
constant "<TO>.PositionControl.SmoothingTimeByChangeDifference" in order to prevent
step changes in the actual position with active closed loop position control.
● Transfer actual position ("Mode" = 2)
The actual position of the axis is transferred to the encoder specified in the "Sensor"
parameter.
● Transfer actual position of the reference encoder ("Mode" = 3)
The actual position of the "Reference encoder" ("ReferenceSensor" parameter) is
transferred to the encoder specified in the "Sensor" parameter.
"Mode" = 2 and 3 can be used to prepare a switchover.
See also
MC_SetSensor: Switch alternative encoder to operative encoder V5 (Page 238)
Additional information
Additional information on the safety functions in SINAMICS drives and on the SIC is
available in the SINAMICS S120 Safety Integrated function manual.
https://support.industry.siemens.com/cs/ww/en/view/109754301
(https://support.industry.siemens.com/cs/ww/en/view/109754301)
The tables below provide an overview of the four SIC status words and the required
response for each to prevent faults in plant operation.
S_ZSW1B
0 STO (active) 1 Safe Torque Off active "MC_Power" can remain enabled (waiting).
0 Not active None
1 SS1 (active) 1 Safe Stop 1 active Drive brakes autonomously and goes into STO.
"MC_Power" remains enabled until STO.
0 Not active None
2 SS2 (active) 1 Safe Stop 2 active Drive brakes autonomously and goes into SOS.
"MC_Power" remains enabled.
0 Not active None
3 SOS (active) 1 Safe Operating Stop active "MC_Power" remains enabled.
The drive must not move (monitoring takes place in the drive)
0 Not active None
4 SLS (active) 1 Safety-Limited Speed active "MC_Power" remains enabled.
Velocity must be less than active velocity limit (see "Active
SLS stage" or S_V_LIMIT_B).
0 Not active None
5 SOS (selected) 1 Safe Operating Stop "MC_Power" remains enabled.
selected Braking with "MC_Halt" and "MC_Stop" within the time permit-
ted by SOS.
0 Deselected None
6 SLS (selected) 1 Safety-Limited Speed Drop below velocity limit within the time specified by SLS.
selected For example, by specifying an override or a new dynamic limit
(restriction with synchronous motion).
0 Deselected None
7 Internal event 1 Group alarm that a safety Additional evaluation of the status words required to determine
function was selected or the triggering safety function.
became active The bit indicates that a safety function is active.
(See also "Safety alarm")
0 No event None
8 Reserved - -
9 Active SLS SLS velocity limit Additional information on SLS (bit 6) – shows active velocity
level Display bit 0 limit for SLS in levels (1… 4). This limit can be evaluated in the
program to limit the current velocity of the axis as needed.
10 SLS velocity limit
Display bit 1
11 Reserved - -
12 SDI positive 1 Safe Direction positive Reaching standstill or the positive velocity of the actual value
selected of the axis (when SDI negative = 0) within the time specified by
SDI.
0 Deselected None monitoring for positive direction.
13 SDI negative 1 Safe Direction negative Reaching standstill or the negative velocity of the actual value
selected of the axis (when SDI positive = 0) within the time specified by
SDI.
0 Deselected None monitoring for negative direction.
14 ESR retraction 1 Extended stop and retraction To be considered individually.
required You can find additional information in the "SINAMICS S120
(not a Safety function) Safety Integrated"
(https://support.industry.siemens.com/cs/ww/en/view/1097543
01) function manual.
0 Not requested None
15 Safety alarm 1 Effective If necessary, evaluate bit as group alarm to see whether a
Safety alarm is pending in the alarm buffer.
0 Not effective None
S_V_LIMIT_B
S_ZSW2B
S_ZSW3B
See also
PROFIdrive telegrams (Page 27)
Drive telegram
Tag Description
<TO>.Actor.Interface.AddressIn Input address for the PROFIdrive telegram
<TO>.Actor.Interface.AddressOut Output address for the PROFIdrive telegram or the analog
setpoint
<TO>.Actor.DriveParameter. Reference value (100%) for the speed setpoint (NSET) of
ReferenceSpeed the drive
<TO>.Actor.DriveParameter. Maximum value for the speed setpoint of the drive (NSET)
MaxSpeed
<TO>.Actor.DriveParameter. Reference torque for the torque transferred as a percentage
ReferenceTorque
Encoder telegram
Tag Description
<TO>.Sensor[1..4].Interface.AddressIn Input address for the PROFIdrive telegram
<TO>.Sensor[1..4].Interface. Output address for the PROFIdrive telegram
AddressOut
<TO>.Sensor[1..4].System Encoder system linear or rotary
<TO>.Sensor[1..4].Type Encoder type, incremental, absolute or cyclic absolute
<TO>.Sensor[1..4].Parameter. Resolution for linear encoder
Resolution The grid spacing corresponds to the distance between two
marks.
<TO>.Sensor[1..4].Parameter. Steps per revolution for rotary encoder
StepsPerRevolution
<TO>.Sensor[1..4].Parameter. Number of differentiable encoder revolutions for a multi-turn
DeterminableRevolutions absolute encoder
Fine resolution
Tag Description
<TO>.Sensor[1..4].Parameter. Number of bits for fine resolution XIST1 (cyclic actual en-
FineResolutionXist1 coder value)
<TO>.Sensor[1..4].Parameter. Number of bits for fine resolution XIST2 (absolute value of
FineResolutionXist2 encoder)
Simulation mode
Tag Description
<TO>.Simulation.Mode Simulation mode
0 No simulation, normal operation
1 Simulation mode
External encoder
The following configuration options for mechanics are supported:
● Measuring gear (for rotary encoders)
● Leadscrew pitch (only with linear system of units and rotary encoders)
● Inversion of encoder direction
Speed axis
The following configuration options for mechanics are supported:
● Load gear
● Inversion of drive direction
Type of motion
Tag Description
<TO>.Properties.MotionType Indication of linear or rotary motion
0 Linear motion
1 Rotary motion
Load gear
Tag Description
<TO>.LoadGear.Numerator Load gear numerator
<TO>.LoadGear.Denominator Load gear denominator
Leadscrew pitch
Tag Description
<TO>.Mechanics.LeadScrew Leadscrew pitch
Inversion
Tag Description
<TO>.Actor.InverseDirection Setpoint inversion
<TO>.Actor.Efficiency Efficiency of leadscrew pitch
<TO>.Sensor[1..4].InverseDirection Actual value inversion
Modulo
Tag Description
<TO>.Modulo.Enable Enable modulo
<TO>.Modulo.Length Modulo length
<TO>.Modulo.StartValue Modulo start value
① Mechanical endstop
② Hardware limit switches
③ Software limit switches
④ Maximum traversing range
⑤ Operating range
Exception
If the hardware limit switches are used as reversing output cams during homing, then the
monitoring of the hardware limit switches has no effect.
When hardware limit switches are used as reversing output cams, the axis is braked with the
deceleration configured in the dynamic defaults.
This must be taken into account when planning the distance of the hardware limit switch to
the mechanical endstop.
Retracting
The position of the axis when the hardware limit switch is detected is stored internally on the
CPU. The status of the reached hardware limit switch is reset only after the hardware limit
switch is left and the axis is once again in the maximum traversing range.
To retract the axis after it reaches the hardware limit switch and to reset the status of the
hardware limit switch, follow the steps below:
1. To enable motion in the retraction direction, acknowledge the technology alarm.
2. Traverse the axis in the retraction direction until the hardware limit switch is left.
The axis must then be within the maximum traversing range.
If you move the axis opposite the retraction direction before the hardware limit switch is
left, the monitoring will be triggered again.
The following chart shows the behavior of the status word when the hardware limit switch is
reached and when the axis is retracted:
① <TO>.StatusWord.X17 (HWLimitMinActive)
0 Negative hardware limit switch not reached
1 Negative hardware limit switch reached or overtraveled
② <TO>.StatusWord.X18 (HWLimitMaxActive)
0 Positive hardware limit switch not reached
1 Positive hardware limit switch reached or overtraveled
③ The position of the axis when the positive hardware limit switch is detected is saved internally
in the CPU. To reset the status of the hardware limit switch, the axis position must fall short of
this position.
④ The position of the axis when the negative hardware limit switch is detected is saved internally
in the CPU. To reset the status of the hardware limit switch, the axis position must go past this
position.
See also
MC_WriteParameter: Write parameter V5 (Page 249)
Direct homing (Page 83)
Retracting
To retract the axis after violation of the software limit switch, follow the steps below:
1. Acknowledge the technology alarm.
2. Move the axis in the retraction direction until the software limit switch is left.
If you move the axis opposite the retraction direction before the software limit switch is
left, the monitoring with be triggered again.
Status indicators
Tag Description
<TO>.StatusWord.X15 Negative software limit switch is active.
(SWLimitMinActive)
<TO>.StatusWord.X16 Positive software limit switch is active.
(SWLimitMaxActive)
<TO>.ErrorWord.X8 (SWLimit) An alarm is pending, indicating that a software limit switch
has been violated.
Control bits
Tag Description
<TO>.PositionLimits_SW.Active Enables/disables the monitoring of the software limit
switches.
Position values
Tag Description
<TO>.PositionLimits_SW.MinPosition Position of the negative software limit switch
<TO>.PositionLimits_SW.MaxPosition Position of the positive software limit switch
Status indicators
Tag Description
<TO>.StatusWord.X17 Negative hardware limit switch is active.
(HWLimitMinActive)
<TO>.StatusWord.X18 Positive hardware limit switch is active.
(HWLimitMaxActive)
<TO>.ErrorWord.X9 (HWLimit) An alarm is pending. A hardware limit switch was reached.
Control bits
Tag Description
<TO>.PositionLimits_HW.Active Enables/disables the monitoring of the hardware limit
switches.
Parameters
Tag Description
<TO>.PositionLimits_HW. Level selection for activation of the low hardware limit
MinSwitchLevel switch
FALSE At low level, the signal is active.
TRUE At high level, the signal is active.
<TO>.PositionLimits_HW. Byte number of the I/O address of the hardware limit switch
MinSwitchAddress for the low or minimum position
<TO>.PositionLimits_HW. Level selection for activation of the high hardware limit
MaxSwitchLevel switch
FALSE At low level, the signal is active.
TRUE At high level, the signal is active.
<TO>.PositionLimits_HW. Byte number of the I/O address of the hardware limit switch
MaxSwitchAddress for the high or maximum position
Acceleration
Deceleration
Acceleration
Deceleration
A velocity profile with jerk limitation is employed for a continuous acceleration and
deceleration sequence. The jerk can be specified.
WARNING
Uncontrolled axis motions
When using the motion specification via the Motion Control instructions
"MC_MotionInVelocity" and "MC_MotionInPosition", the axis can perform uncontrolled
motions.
Consider the current dynamics of the axis when specifying the new motion vectors. The
motion vectors must be consistent with each other.
Set up the following protective measures before operating with the Motion Control
instructions "MC_MotionInVelocity" and "MC_MotionInPosition":
• Ensure that the EMERGENCY OFF switch is within the reach of the operator.
• Enable the hardware limit switches.
• Enable the software limit switches.
• Ensure that following error monitoring is enabled.
Note that a following axis that is coupled to the axis is also moved.
Note
Dynamic deviation possible
Pay attention to consistent specifications relating to velocity and acceleration when the
"MotionIn" instruction is overridden by another Motion Control instruction.
When the "MotionIn" instruction is overridden, make sure that the new acceleration
specifications are coordinated with the currently effective acceleration because the last
effective acceleration value will be applied.
"MC_MotionInVelocity"
Use the "MC_MotionInVelocity" instruction to specify the velocity and acceleration of the
motion. The instruction is applicable for speed, positioning and constant axes.
To execute the instruction, you must at least specify the velocity. Acceleration is usually only
required for the substituting running motions. By default, the value of the acceleration is zero.
"MC_MotionInPosition"
Use the "MC_MotionInPosition" instruction to specify the position, velocity and acceleration
of the motion. The instruction is used for velocity, positioning and synchronous axes.
To execute the instruction, you must at least specify the position and velocity. Acceleration is
usually only required for the substituting running motions. By default, the value of the
acceleration is zero. The specified setpoints must be consistent with each other.
The position specification is position-controlled. If you use a velocity precontrol, the velocity
specification is processed via the velocity precontrol.
See also
MC_MotionInVelocity: Specify motion setpoints V5 (Page 251)
MC_MotionInPosition: Specify motion setpoints V5 (Page 255)
The defined limiting values act as an absolute value and thus in the same way for positive
and negative forces/torques.
See also
Fixed stop detection (Page 61)
Configuration - Torque limits (Page 107)
Configuration - Torque limits (Page 131)
Retracting
Retracting from the fixed stop is only possible with a position-controlled motion job in the
opposite direction to the fixed stop.
The "Travel to fixed stop" or "Clamping" function is ended when the "Positioning tolerance" is
left in the retraction direction.
See also
Force/torque limiting (Page 59)
Configuration - Fixed stop detection (Page 133)
MC_TorqueLimiting: Activate/deactivate force/torque limit / fixed stop detection V5
(Page 265)
See also
MC_TorqueAdditive: Specify additive torque V5 (Page 259)
See also
MC_TorqueRange: Set high and low torque limits V5 (Page 262)
3.10.5 Tags: Motion control and limits for dynamics (S7-1500, S7-1500T)
The following technology object tags are relevant for motion control:
Status
Tag Description
<TO>.StatusWord Status indicator for an active motion
<TO>.Position Position setpoint
<TO>.Velocity Velocity setpoint/speed setpoint
<TO>.VelocitySetpoint Output velocity setpoint/speed setpoint
<TO>.ActualPosition Actual position
<TO>.ActualVelocity Actual velocity
<TO>.ActualSpeed Actual speed of the motor (only with PROFIdrive drive type)
<TO>.Acceleration Setpoint acceleration
<TO>.ActualAcceleration Actual acceleration
<TO>.StatusSynchronizedMotion. The tag is set to the value "TRUE" when the maximum
StatusWord.X0 velocity configured for the following axis is exceeded during
(MaxVelocityExceeded) synchronous operation.
<TO>.StatusSynchronizedMotion. The tag is set to the value "TRUE" when the maximum
StatusWord.X1 acceleration configured for the following axis is exceeded
(MaxAccelerationExceeded) during synchronous operation.
<TO>.StatusSynchronizedMotion. The tag is set to the value "TRUE" when the maximum
StatusWord.X2 deceleration configured for the following axis is exceeded
(MaxDecelerationExceeded) during synchronous operation.
<TO>.StatusMotionIn.FunctionState Status of the "MotionIn" function
0 No "MotionIn" function active
1 "MC_MotionInVelocity" active
2 "MC_MotionInPosition" active
Override
Tag Description
<TO>.Override.Velocity Velocity or speed override
Torque limiting
Tag Description
<TO>.TorqueLimiting.LimitDefaults. Limiting torque
Torque
<TO>.TorqueLimiting.LimitDefaults. Limiting force
Force
<TO>.TorqueLimiting.LimitBase Torque limiting motor or drive side
0 Motor side
1 Load side
<TO>.TorqueLimiting. Positioning and following error monitoring
PositionBasedMonitorings 0 Disabled
1 Enabled
<TO>.StatusTorqueData. Additive torque setpoint function
CommandAdditiveTorqueActive 0 Disabled
1 Enabled
<TO>.StatusTorqueData. Torque limits function
CommandTorqueRangeActive 0 Disabled
1 Enabled
<TO>.StatusTorqueData.ActualTorque Actual torque of the axis
Homing status
The "<TO>.StatusWord.X5 (HomingDone)" tag of the technology object indicates whether
the axis or external encoder technology object is homed.
Type of homing
Homing can occur by means of an independent homing motion (active homing), the
detection of a homing mark during a motion initiated on the user side (passive homing) or a
direct position assignment.
A distinction is made between the following types of homing:
● Active homing
Active homing initiates a homing movement and performs the necessary homing mark
approach. When the homing mark is detected, the actual position is set to the value
specified in MC_Home. It is possible to specify a home position offset. Retraction to the
home position offset occurs automatically during the home position approach.
When active homing starts, current traversing movements are aborted.
● Passive homing
The homing job does not perform its own homing motion. When the homing mark is
detected during a motion initiated on the user side, the actual position is set to the value
specified in "MC_Home".
Passive homing is also called homing on the fly.
● Direct homing
With the homing job, the actual position is set directly to the value specified in
"MC_Home" or is offset by this value.
● Absolute encoder adjustment
In absolute encoder adjustment, the actual position of the axis or encoder is set with the
absolute or relative value specified at "MC_Home". The absolute value offset is stored
retentively in the CPU.
Homing mode
Depending on the type of homing mark and homing mark search, a distinction is made
among the following homing modes (Page 69):
● Homing with homing output cam and zero mark via PROFIdrive telegram
● Homing with zero mark via PROFIdrive telegram
● Homing with digital input
Homing mark
A homing mark is an input signal, on whose occurrence a known mechanical position can be
assigned to the actual values.
A homing mark can be:
● A zero mark
The zero mark of an incremental encoder or an external zero mark is used as a homing
mark.
The zero mark is detected at the drive module or encoder module and transmitted in the
PROFIdrive telegram. Perform the setting and evaluation as an encoder zero mark or
external zero mark at the drive module and encoder module.
● An edge at the digital input
The negative or positive edge at a digital input is used as a homing mark.
Reference cam
If there are several zero marks in the traversing range, the reference cam is used to select a
specific zero mark before or after the reference cam.
Home position
At the end of the active homing motion, the axis arrives at the home position.
Homing with homing cam and zero mark via PROFIdrive telegram
The system checks for when the reference cam is reached. After the reference cam has
been reached and left again in the assigned homing direction, zero mark detection is
enabled via the PROFIdrive telegram.
When the zero mark is reached in the pre-selected direction, then the actual position of the
technology object is set to the homing mark position.
Note
The digital inputs must be placed into the process image partition "PIP OB Servo".
The filter time of the digital inputs must be set smaller than the duration of the input signal at
the reference point switch.
3.11.3 Active homing with homing output cam and zero mark (S7-1500, S7-1500T)
The following examples show homing motions in the positive and negative directions.
Motion sequence
The motion occurs in the following sequence:
1. Start of active homing via the "MC_Home" Motion Control instruction
2. Approach to reference output cam
3. Detection of the homing output cam in the homing direction and travel with homing
velocity
4. Departure from the reference output cam and travel to the homing mark
With the departure from the homing output cam, the detection of the homing mark is
enabled.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-
1500 Motion Control has been standardized within the framework of technology version
V2.0. This results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Note
If the velocity cannot be reduced to the reference velocity between detection of the
reference output cam and the zero mark, homing is performed at the velocity present
when the zero mark is crossed.
Motion sequence
The motion occurs in the following sequence:
1. Start of active homing via the Motion Control instruction "MC_Home"
2. Move to the homing mark in the homing direction with the homing velocity
3. Detection of the homing mark
When the homing mark is detected, the position of the axis or encoder is set depending
on the configured mode:
– "Mode" parameter at "MC_Home" = 3
Position = value in parameter "Position" minus
"<TO>.Sensor[1..4].ActiveHoming.HomePositionOffset"
– "Mode" parameter at "MC_Home" = 5
Position = value in tag "<TO>.Homing.HomePosition" minus
"<TO>.Sensor[1..4].ActiveHoming.HomePositionOffset"
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion
Control has been standardized within the framework of technology version V2.0. This
results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Motion sequence
The motion occurs in the following sequence:
1. Start of active homing via the "MC_Home" Motion Control instruction
2. Detection of the positive edge at the digital input, while moving with homing velocity
3. Approach to the homing mark
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-
1500 Motion Control has been standardized within the framework of technology version
V2.0. This results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Note
If the velocity on the span from the detection of the positive edge to the negative edge
cannot be reduced to the homing velocity, then homing occurs at the velocity that exists
when the homing mark is traversed.
3.11.6 Direction reversal at the hardware limit switch (reversing cam) (S7-1500, S7-
1500T)
During active homing, the hardware limit switch can optionally be used as a reversing cam. If
the homing mark is not detected or the motion was not in the homing direction, the motion
continues in the opposite direction with the approach velocity after the reversing cam.
When the hardware limit switch is reached, the default settings for dynamics take effect.
Deceleration with the emergency deceleration does not hereby occur.
NOTICE
Avoid moving to a mechanical endstop
Ensure by one of the following measures, that in a direction reversal the machine does not
move to a mechanical endstop.
• Keep the approach velocity low.
• Increase the configured acceleration/deceleration.
• Increase the distance between the hardware limit switch and the mechanical endstop.
3.11.7 Passive homing with homing output cam and zero mark (S7-1500, S7-1500T)
The following figure shows an example of the homing motion with the following settings:
● Passive homing with homing output cam and zero mark
● Homing in the positive direction
Motion sequence
The motion occurs in the following sequence:
1. Activation of passive homing using the Motion Control instruction "MC_Home"
2. Motion due to a Motion Control job from the user
The detection of the reference output cam and homing mark is enabled when the actual
position value of the axis or encoder moves in the assigned homing direction.
3. Detection of the reference output cam
4. Departure from the reference output cam
The departure from the reference output cam enables the detection of the homing mark.
5. Detection of the homing mark
When the homing mark is detected, the position of the axis or encoder is set depending
on the configured mode:
– "Mode" parameter at "MC_Home" = 2, 8
Position = value in parameter "Position"
– "Mode" parameter at "MC_Home" = 10
Position = value in tag "<TO>.Homing.HomePosition"
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-
1500 Motion Control has been standardized within the framework of technology version
V2.0. This results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Note
If the motion direction changes after departure from the reference output cam and before
detection of the homing mark, the reference output cam must be detected again. The
Motion Control instruction "MC_Home" remains enabled.
Motion sequence
The motion occurs in the following sequence:
1. Activation of passive homing using the Motion Control instruction "MC_Home"
2. Motion due to a Motion Control job from the user
The detection of the homing mark is enabled when the actual position value of the axis or
encoder moves in the assigned homing direction.
3. Detection of the homing mark
During the detection of the homing mark, the position of the axis or encoder is set
depending on the set mode:
– "Mode" parameter at "MC_Home" = 2, 8
Position = value in parameter "Position"
– "Mode" parameter at "MC_Home" = 10
Position = value in tag "<TO>.Homing.HomePosition"
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-
1500 Motion Control has been standardized within the framework of technology version
V2.0. This results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Motion sequence
The motion occurs in the following sequence:
1. Activation of passive homing using the Motion Control instruction "MC_Home"
2. Motion due to a Motion Control job from the user
The detection of the homing mark at the digital input is enabled when the actual position
value of the axis or encoder moves in the assigned homing direction.
3. Detection of the homing mark
In the example, the falling edge of the switch at the digital input represents the homing
mark.
When the homing mark is detected, the position of the axis or encoder is set depending
on the configured mode:
– "Mode" parameter at "MC_Home" = 2, 8
Position = value in parameter "Position"
– "Mode" parameter at "MC_Home" = 10
Position = value in tag "<TO>.Homing.HomePosition"
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-
1500 Motion Control has been standardized within the framework of technology version
V2.0. This results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
NOTICE
Too fast manual traversing to the fixed stop
Too fast a manual traversing of the axis can lead to machine damage.
Move the axis manually with low speed/velocity. Configure a suitable torque limit.
To set the position at the fixed stop absolutely or relatively, proceed as follows:
1. Activate a suitable fixed stop detection with the Motion Control instruction
"MC_TorqueLimiting".
2. Deactivate the existing hardware limit switch with the Motion Control instruction
"MC_WriteParameter".
3. Move the axis to the fixed stop using a suitable motion job. For example, use the Motion
Control instructions "MC_MoveRelative" or "MC_MoveJog".
4. After the axis has reached the fixed stop, execute a direct homing using the Motion
Control instruction "MC_Home".
5. Move the axis back to the working area between the hardware limit switches.
6. Activate the hardware limit switch with the Motion Control instruction
"MC_WriteParameter".
7. Deactivate the fixed stop detection using the Motion Control instruction
"MC_TorqueLimiting".
See also
MC_TorqueLimiting V5 (Page 265)
MC_WriteParameter V5 (Page 249)
MC_MoveJog V5 (Page 227)
MC_MoveRelative V5 (Page 216)
MC_Home V5 (Page 200)
Incremental encoder
In the following cases, the "Homed" status is reset, and the technology object must be
rehomed.
● Error in sensor system/encoder failure
● Triggering of the active homing with the Motion Control instruction "MC_Home" with
"Mode" = 3, 5
(After successful completion of the homing operation, the "Homed" status is reset.)
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion
Control has been standardized within the framework of technology version V2.0. This
results in a new assignment of the parameter values for the "MC_Home.Mode"
parameter. A comparison of the "MC_Home.Mode" parameter for technology versions
V1.0 and V2.0 is available in the section "Version overview" of the "S7-1500/S7-1500T
Motion Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
● Triggering of passive homing using the Motion Control instruction "MC_Home" with
"Mode" = 2, 8, 10
(After successful completion of the homing operation, the "Homed" status is reset.)
● Replacement of the CPU
● Replacement of the SIMATIC Memory Card
● POWER OFF
● Memory reset
● Modification of the encoder configuration
● Restart of the technology object
● Restoration of the CPU factory settings
● Transfer of a different project into the controller
Absolute encoder
In the following cases, the "Homed" status is reset, and the technology object must be
rehomed.
● Replacement of the CPU
● Modification of the encoder configuration
● Restoration of the CPU factory settings
● Transfer of a different project into the controller
When you use a new absolute value encoder you need to home the absolute encoder once
again.
Resetting the memory of the CPU or upgrading a project does not require another absolute
value adjustment.
Status indicators
Tag Description
<TO>.StatusWord.X11 Homing job running
(HomingCommand)
<TO>.StatusWord.X5 (HomingDone) Technology object homed
<TO>.ErrorWord.X10 (HomingFault) Error occurred during homing
Note
Evaluation of the bits in StatusWord, ErrorWord and WarningWord
Note the information in section "Evaluating StatusWord, ErrorWord und WarningWord" of the
documentation "S7-1500/S7-1500T Motion Control overview"
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
Positions
Tag Description
<TO>.Homing.AutoReversal Reversal at the hardware limit switches
<TO>.Homing.HomePosition Home position
<TO>.StatusSensor[1..4].AbsEncoder Calculated offset after the absolute encoder adjustment
Offset
Positioning monitoring does not make any distinction between how the setpoint interpolation
was completed. The end of setpoint interpolation can for example be reached as follows:
● By the setpoint reaching the target position
● By position-controlled stopping during motion by the Motion Control instruction "MC_Halt"
or "MC_Stop"
Warning limit
A warning limit can be specified for the following error. The warning limit is input as a
percentage value and operates relative to the current permissible following error. If the
warning limit of the following error is reached, then technology alarm 522 is output. This is a
warning and contains no alarm response.
Standstill signal
The following technology object tags are relevant for position monitoring and for the standstill
signal:
Status indicators
Tag Description
<TO>.StatusWord.X7 (Standstill) Set to the value "TRUE" when the actual velocity reaches
the standstill window and does not exit it within the
minimum dwell time.
The standstill signal is only present for the positioning
axis/synchronous axis.
<TO>.StatusWord.X6 (Done) Positioning axis/synchronous axis
Set to the value "TRUE" when the actual velocity value
reaches the positioning window within the tolerance time
and remains in the window for the minimum dwell time.
Speed axis
Set to "TRUE" when the motion is complete and the speed
setpoint is therefore equal to zero.
<TO>.ErrorWord.X12 A positioning error has occurred.
(PositioningFault)
Standstill signal
Tag Description
<TO>.StandstillSignal. Velocity threshold for the standstill signal
VelocityThreshold
<TO>.StandstillSignal.MinDwellTime Minimum dwell time below the velocity threshold
Status indicators
Tag Description
<TO>.StatusPositioning.FollowingError Current following error
<TO>.ErrorWord.X11 Status indication, that the following error is too large
(FollowingErrorFault)
<TO>.WarningWord.X11 Status indication, that the following error warning limit has
(FollowingErrorWarning) been reached
Control bits
Tag Description
<TO>.FollowingError.EnableMonitoring Enable/disable following error monitoring
Limits
Tag Description
<TO>.FollowingError.MinVelocity Lower velocity setpoint for the characteristic curve of the
maximum following error
<TO>.FollowingError.MinValue Permissible following error below the
"<TO>.FollowingError.MinVelocity"
<TO>.FollowingError.MaxValue Maximum permissible following error at maximum axis
velocity
<TO>.FollowingError.WarningLevel Warning limit as a percentage value relative to the
maximum permissible following error (velocity-dependent in
accordance with the characteristic curve)
Velocity precontrol
The velocity precontrol can be used to minimize the velocity-based following error during
position control. As a result, faster positioning is achieved, if needed, because the position
controller only has to compensate disturbances.
When using the velocity precontrol, the velocity setpoint is additionally added to the output of
the position controller. You can weight this additional setpoint by a factor.
The symmetry filter is a simplified model of the speed control loop. The symmetry filter is
used to prevent the position controller from overriding the speed manipulated variable during
the acceleration and deceleration phases. To accomplish this, the position setpoint of the
position controller is delayed by the speed control loop substitute time in relation to the
speed pre-control.
See also
PROFIdrive telegrams (Page 27)
The following figure shows the effective closed loop control structure with DSC:
Additional information
For more information about the control structure, refer to Siemens Industry Online Support in
the FAQ entry 109770664 (https://support.industry.siemens.com/cs/ww/en/view/109770664).
See also
Configuration - Control loop (Page 145)
MC_Power
The axis is enabled without closed loop position control with "MC_Power" and the parameter
"StartMode" = 0. The closed loop position control remain switched off until a different Motion
Control instruction changes the status of the closed loop position control.
● MC_GearIn
● MC_GearInPos (S7-1500T)
● MC_CamIn (S7-1500T)
The closed loop position control remains active after completing the corresponding jobs.
The Motion Control instructions "MC_Halt" and "MC_Stop" are executed in position-
controlled and also in non-position-controlled operation. The status of the closed loop
position control is not changed by "MC_Halt"/"MC_Stop".
A torque limiting activated with "MC_TorqueLimiting" is in effect even with non-position-
controlled operation.
Parameters
Tag Description
<TO>.PositionControl.Kv Proportional gain of the closed loop position control
<TO>.PositionControl.Kpc Velocity precontrol of the positioning system (in %)
<TO>.PositionControl.EnableDSC Enable DSC
<TO>.DynamicAxisModel.VelocityTime Speed control loop substitute time [s]
Constant
<TO>.PositionControl. Type of quantification
ControlDifferenceQuantization.Mode Configuration of a quantization when a drive with stepper
motor interface is connected
0 No quantification
1 Quantization corresponding to encoder resolution
2 Quantization to a direct value (value input in
"<TO>.PositionControl.
ControlDifferenceQuantization.Value")
Configuration is performed using the parameter view (data
structure).
<TO>.PositionControl. Value of quantification
ControlDifferenceQuantization.Value Configuration of a value for quantization to a direct value
("<TO>.PositionControl.
ControlDifferenceQuantization.Mode" = 2)
The quantization value is specified in the position unit of the
axis.
Configuration is performed using the parameter view (data
structure).
Name
Define the name of the speed axis in this field. The technology object is listed under this
name in the project tree. You can use the variables of the speed axis in the user program
under this name.
Axis type
If you want to use the axis in the CPU exclusively as a virtual leading axis for
synchronization, for example, select the "Virtual axis" check box. The configuration of a drive
and encoder connection is not relevant.
Units of measure
In the drop-down lists, select the desired units of measurement for the speed and the torque.
Simulation
If you want to move a real axis in the simulation mode, select the "Activate simulation" check
box.
In simulation mode, speed, positioning and synchronous axes can be simulated in the CPU
without connected drives and encoders. Simulation mode is possible as of Technology
Version V3.0 even without a configured drive and encoder connection.
For simulation mode without hardware connected to the CPU, you can influence the startup
time of the CPU via the "Configuration time for central and distributed I/Os" parameter. You
can find the parameter in the CPU properties in the "Startup" area navigation.
See also
Axis in simulation (Page 43)
Drive type
In the drop-down list, select whether you want to deploy a PROFIdrive drive or a drive with
an analog drive connection.
PROFIdrive drives are connected to the controller by means of a digital communication
system (PROFINET or PROFIBUS). The communication is performed via PROFIdrive
telegrams.
Drives with an analog drive connection receive the speed setpoint via an analog output
signal (e.g. from -10 V to +10 V) from the CPU.
Note
Option "Show all modules"
If a PROFIdrive that has already been configured is not available for selection, use the
option "Show all modules" to display all reachable modules.
When you select the option "Show all modules", only the address range for each of the
displayed modules is checked. If the address range of the module is large enough for the
selected PROFIdrive frame, you can select the module. For this reason, make sure that you
select a PROFIdrive drive.
If you have selected "Data block" under the data connection, select a previously created data
block which contains a tag structure of the data type "PD_TELx" ("x" stands for the telegram
number to be used).
Note
If you do not use an enable output, the drive cannot be immediately disabled on the part of
the system due to error reactions or monitoring functions. A controlled stop of the drive is not
guaranteed.
Note
The enable output and the ready input can be separately enabled.
The following boundary conditions apply to the activated ready input:
• The axis is only enabled ("MC_Power Status" = TRUE) when a signal is present at the
ready input.
• If a signal is not present at the ready input on an enabled axis, the axis of the alarm
response "Remove enable" is disabled.
• If the axis is disabled with the instruction "MC_Power" ("Enable" = FALSE), the axis is
disabled even when a signal is present at the ready input.
See also
Configuration - Data exchange with the drive (Page 100)
Drive and encoder connection (Page 26)
Data connection
In the drop-down list, define whether the data connection should be made via additional
telegrams or data blocks:
● If you select the entry "Additional telegram" in the "Data connection" drop-down list, you
can edit the "Additional telegram" drop-down list.
● If you select the "Data block" entry in the "Data connection" drop-down list, you can select
the previously created data block which contains a tag structure of the "PD_TELx" data
type ("x" stands for the additional telegram number that is used).
Data block / additional telegram
Select an additional telegram configured in the "Additional telegram" field.
Select the "Show all modules" check box if you want to display all submodules of the
connected drive. You can also find self-defined additional telegrams with this function.
In the "Data block" field, select the data block which you want to use to integrate the torque
data.
Note
Automatic transfer of drive parameters is only possible with SINAMICS drives as of V4.x. For
this, "Drive" must be selected for the data connection in configuration window "Hardware
interface > Drive".
See also
Automatic transfer of drive and encoder parameters in the device (Page 34)
Drive and encoder connection (Page 26)
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
See also
Mechanics (Page 47)
Speed
In this field, define the default value for the speed of the axis.
Note
A change in the speed influences the acceleration and deceleration values of the axis. The
ramp-up and ramp-down times are retained.
Smoothing time/jerk
You can enter the jerk limit parameters in the "Smoothing time" box, or alternatively in the
"Jerk" box:
● Set the desired jerk for the acceleration and deceleration ramp in the "Jerk" field. The
value 0 means that jerk limiting is deactivated.
● Set the desired smoothing time for the acceleration ramp in the "Smoothing time" field.
Note
The jerk value is identical for the acceleration and deceleration ramp. The smoothing time
in effect for the deceleration ramp results from the following relationships:
• Acceleration > Deceleration
A shorter smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration < Deceleration
A longer smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration = Deceleration
The smoothing times of the acceleration and deceleration ramp are equal.
If an error occurs, the axis decelerates with the configured emergency stop deceleration.
A configured jerk limit is not taken into account for this.
The following equations show the relationship between the smoothing times and the jerk:
Motion jobs started in the user program are performed with the selected jerk.
See also
Velocity profile (Page 54)
The configuration of the emergency stop deceleration is related to the configured maximum
speed of the axis. If the maximum speed of the axis is changed, then the value of the
emergency deceleration also changes (the emergency stop ramp-down time remains
unchanged).
See also
Emergency stop deceleration (Page 56)
Maximum speed
In this field, define the maximum permitted speed of the axis.
Note
Change of maximum speed
A change in the maximum speed influences the acceleration and deceleration values of the
axis. The ramp-up and ramp-down times are retained.
Smoothing time/jerk
You can enter the jerk limit parameters in the "Smoothing time" box, or alternatively in the
"Jerk" box:
● Set the desired jerk for the acceleration ramp and the deceleration ramp in the "Maximum
jerk" box. The value 0 means that the jerk is not limited.
● Set the desired smoothing time for the acceleration ramp in the "Smoothing time" field.
Note
Various acceleration and deceleration values
The configured smoothing time displayed in the configuration, applies only to the
acceleration ramp.
If the values of the acceleration and deceleration differ, the smoothing time of the
deceleration ramp is calculated and used according to the jerk of the acceleration ramp.
The smoothing time of the deceleration is adapted as follows:
• Acceleration > Deceleration
A shorter smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration < Deceleration
A longer smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration = Deceleration
The smoothing times of the acceleration and deceleration ramp are equal.
If an error occurs, the axis decelerates with the configured emergency stop deceleration
(Page 56) (alarm reaction "Stop with maximum dynamic values"). A configured jerk limit is
not taken into account for this.
The following equations show the relationship between the smoothing times and the jerk:
Motion jobs started in the user program are performed with the selected jerk.
Effective
In the drop-down list, select whether the limit value is to be in effect "on load side" or "on
motor side".
Torque limiting
Enter a default value for the torque limit in the specified unit of measure in this field.
The default value is in effect when the torque limiting is specified using Motion Control
instruction "MC_TorqueLimiting", input parameter "Limit" < 0.
If the efficiency of the gear is crucial, you can set it in the "<TO>.Actor.Efficiency" tag.
See also
Force/torque limiting (Page 59)
Name
Define the name of the positioning axis in this field. The technology object is listed under this
name in the project tree. The variables of the technology object can be used in the user
program under this name.
Axis type
If you want to use the axis in the CPU exclusively as a virtual leading axis for
synchronization, for example, select the "Virtual axis" check box. The configuration of a drive
and encoder connection is not relevant.
In this selection, configure whether the axis should perform linear or rotary motions.
Units of measure
In the drop-down list, select the desired units of measure for the position, velocity, torque
and force of the axis.
If you wish to use six decimal places in the selected unit, select the check box "Use position
values with higher resolution".
Modulo
Select the "Enable modulo" check box if you want to use a recurring system of units for the
axis (e.g. 0° to 360° for an axis of the "rotary" axis type).
● Modulo start value
In this field, define the position at which the modulo range should begin (e.g. 0° for an
axis of the "rotary" axis type).
● Modulo length
In this field, define the length of the modulo range (e.g. 360° for an axis of the "rotary"
axis type).
Simulation
If you want to move a real axis in the simulation mode, select the "Activate simulation" check
box.
In simulation mode, speed, positioning and synchronous axes can be simulated in the CPU
without connected drives and encoders. Simulation mode is possible as of Technology
Version V3.0 even without a configured drive and encoder connection.
For simulation mode without hardware connected to the CPU, you can influence the startup
time of the CPU via the "Configuration time for central and distributed I/Os" parameter. You
can find the parameter in the CPU properties in the "Startup" area navigation.
See also
Axis in simulation (Page 43)
Modulo setting (Page 23)
Mechanics (Page 47)
Drive type
In the drop-down list, select whether you want to deploy a PROFIdrive drive or a drive with
an analog drive connection.
PROFIdrive drives are connected to the controller by means of a digital communication
system (PROFINET or PROFIBUS). The communication is performed via PROFIdrive
telegrams.
Drives with an analog drive connection receive the speed setpoint via an analog output
signal (e.g. from -10 V to +10 V) from the CPU.
Note
Option "Show all modules"
If a PROFIdrive that has already been configured is not available for selection, use the
option "Show all modules" to display all reachable modules.
When you select the option "Show all modules", only the address range for each of the
displayed modules is checked. If the address range of the module is large enough for the
selected PROFIdrive frame, you can select the module. For this reason, make sure that you
select a PROFIdrive drive.
If you have selected "Data block" under the data connection, select a previously created data
block which contains a tag structure of the data type "PD_TELx" ("x" stands for the telegram
number to be used).
Note
If you do not use an enable output, the drive cannot be immediately disabled on the part of
the system due to error reactions or monitoring functions. A controlled stop of the drive is not
guaranteed.
Note
The enable output and the ready input can be separately enabled.
The following boundary conditions apply to the activated ready input:
• The axis is only enabled ("MC_Power Status" = TRUE) when a signal is present at the
ready input.
• If a signal is not present at the ready input on an enabled axis, the axis is disabled with
an error.
• If the axis is disabled with the instruction "MC_Power" ("Enable" = FALSE), the axis is
disabled even when a signal is present at the ready input.
See also
Data connection drive/encoder via data block (Page 44)
Data connection
In the drop-down list, select whether the data connection should be established directly with
the encoder or via a data block that can be edited in the user program.
The selection is only possible for encoders that are connected via PROFIdrive and support
parameter P979.
Encoder/data block
Select a previously configured encoder in this configuration field.
The following encoders can be selected:
● Connection to the drive (not with analog drive connection)
The encoder is configured via the configuration of the PROFIdrive drive. The drive
evaluates the encoder signals and sends them to the controller in the PROFIdrive
telegram.
● Encoder on technology module (TM)
Select a previously configured technology module and the channel to be used. Only
technology modules set to the "Position input for Motion Control" mode are displayed for
selection.
If no technology module is available for selection, change to the device configuration and
add a technology module. If you have selected a technology module, you can access the
configuration of the technology module using the "Device configuration" button.
You can operate the technology module centrally on an S7-1500 CPU or decentrally on a
distributed I/O. Isochronous mode is not possible with central operation in the CPU.
You can identify the technology modules suitable for position detection for Motion Control
in the documentation for the technology module and the catalog data.
● PROFIdrive encoder on PROFINET/PROFIBUS (PROFIdrive)
In the "PROFIdrive encoder" field, select a configured encoder on
PROFINET/PROFIBUS. When you have selected an encoder, you can configure the
encoder using the "Device configuration" button.
Switch to the device configuration in the network view, and add an encoder, in the event
that no encoder can be selected.
Note
Option "Show all modules"
If a PROFIdrive that has already been configured is not available for selection, use the
option "Show all modules" to display all reachable modules.
When you select the option "Show all modules", only the address range for each of the
displayed modules is checked. If the address range of the module is large enough for the
selected PROFIdrive frame, you can select the module. For this reason, make sure that
you select a PROFIdrive encoder.
If you have selected "Data block" under the data connection, select in the "Data block" field a
previously created data block which contains a tag structure of the data type "PD_TELx" ("x"
stands for the telegram number to be used).
Encoder type
Select the encoder type of the encoder in the drop-down list. The following encoder types
are available:
● Incremental (Page 32)
● Absolute (Page 32) (measuring range > traversing range)
● Cyclic absolute (Page 32) (measuring range < traversing range)
Recommended settings for absolute actual values: The "Cyclic absolute" encoder type is
recommended. With this setting, the position of the zero crossing of the encoder is
automatically taken into consideration by the technology object.
Note
Measuring range of the absolute encoder
Observe the boundary conditions with absolute values.
You can find more information in the section "Absolute actual value (Page 32)" of the "S7-
1500/S7-1500T Axis functions" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766462).
See also
Data connection drive/encoder via data block (Page 44)
Using multiple encoders (Page 36)
"Drive and encoder connection" section in the "S7-1500/S7-1500T Axis functions" function
manual (https://support.industry.siemens.com/cs/ww/en/view/109766462)
Note
Automatic transfer of drive parameters is only possible with SINAMICS drives as of V4.x. To
do this, set the "Drive" data connection in the configuration window "Hardware interface >
Drive".
See also
Automatic transfer of drive and encoder parameters in the device (Page 34)
Encoder telegram
The telegram to the encoder that is set in the device configuration is preselected in the drop-
down list.
Note
Automatic transfer of encoder parameters is only possible with PROFIdrive encoders as of
product version A16. For this, "Hardware interface > Encoder" must be selected as the
"Encoder" data connection in the configuration window.
Alternatively, you must manually calibrate the following parameters, depending on encoder
type.
Measuring system
In the drop-down list, select the measuring procedure. The options are "Linear" and "Rotary".
Additional parameters
Depending on the selected measuring system and the encoder type selected under
"Technology object > Configurations > Hardware interface > Encoders", configure the
parameters described below:
● Measuring system: Rotary; encoder type: Incremental
Parameter Description
Increments per revolution Configure the number of increments that the encoder
resolves per revolution in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Parameter Description
Increments per revolution Configure the number of increments that the encoder
resolves per revolution in this field.
Number of revolutions Configure the number of revolutions that the absolute
encoder can detect in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Bits for fine resolution in the absolute Configure the number of bits for fine resolution within the
actual value (Gx_XIST2) absolute actual value (Gx_XIST2) in this field.
Parameter Description
Increments per revolution Configure the number of increments that the encoder
resolves per revolution in this field.
Number of revolutions Configure the number of revolutions that the absolute
encoder can detect in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Bits for fine resolution in the absolute Configure the number of bits for fine resolution within the
actual value (Gx_XIST2) absolute actual value (Gx_XIST2) in this field.
Parameter Description
Distance between two increments Configure the distance between two increments of the
encoder in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Parameter Description
Distance between two increments Configure the distance between two increments of the
encoder in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Bits for fine resolution in the absolute Configure the number of bits for fine resolution within the
actual value (Gx_XIST2) absolute actual value (Gx_XIST2) in this field.
Parameter Description
Distance between two increments Configure the distance between two increments of the
encoder in this field.
Bits for fine resolution in the incre- Configure the number of bits for fine resolution within the
mental actual value (Gx_XIST1) incremental actual value (Gx_XIST1) in this field.
Bits for fine resolution in the absolute Configure the number of bits for fine resolution within the
actual value (Gx_XIST2) absolute actual value (Gx_XIST2) in this field.
See also
Automatic transfer of drive and encoder parameters in the device (Page 34)
Configuration - Mechanics (Page 121)
Configuration - Encoder (Page 112)
Configuration - Data exchange (Page 150)
Field Description
Provide cross-PLC Select this check box to make the setpoint or actual value available as
leading value leading value for a cross-PLC synchronous operation.
Transfer area In this drop-down list, select the output tag of the transfer area set up be-
tween the CPU of the leading axis and the CPUs of the following axes.
You can find more information about the transfer range in the section "Set-
ting up communication via Controller-Controller direct data exchange" of
the documentation "S7-1500/S7-1500T Synchronous operation functions"
(https://support.industry.siemens.com/cs/ww/en/view/109766464).
Field Description
Allow system calcula- Select this check box to adapt the delay time of the local leading value in
tion the system. System calculation is started when you trigger the calculation in
the interconnection overview.
Delay time If the "Allow system calculation" check box is cleared, this field can be
edited. Enter the delay time in this field.
The entered delay time determines the output delay of the leading value for
the local following axes.
(<TO>.CrossPlcSynchronousOperation.LocalLeadingValueDelayTime)
Interconnection over- You open the interconnection overview via this link. With a cross-PLC syn-
view chronous operation, the interconnection overview contains an overview of
the interconnected leading and following axes and their CPU assignment.
See also
Using multiple encoders (Page 36)
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Position parameters
In the "Leadscrew pitch" configuration field, configure the distance by which the load is
moved when the leadscrew makes one revolution.
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Position parameters
In the "Leadscrew pitch" configuration field, configure the distance by which the load is
moved when the leadscrew makes one revolution.
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Position parameters
In the "Leadscrew pitch" configuration field, configure the distance by which the load is
moved when the leadscrew makes one revolution.
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Drive mechanism
Select the "Invert drive direction" check box if the direction of rotation of the drive is to be
inverted.
Load gear
The gear ratio of the load gear is specified as the ratio between motor revolutions and load
revolutions.
In this "Number of motor revolutions" configuration field, configure the integer number of
motor revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
Velocity
In this field, define the default value for the velocity of the axis.
Note
A change in the velocity influences the acceleration and deceleration values of the axis. The
ramp-up and ramp-down times are retained.
Smoothing time/jerk
You can enter the jerk limit parameters in the "Smoothing time" box, or alternatively in the
"Jerk" box:
● Set the desired jerk for the acceleration and deceleration ramp in the "Jerk" field. The
value 0 means that jerk limiting is deactivated.
● Set the desired smoothing time for the acceleration ramp in the "Smoothing time" field.
Note
The jerk value is identical for the acceleration and deceleration ramp. The smoothing time
in effect for the deceleration ramp results from the following relationships:
• Acceleration > Deceleration
A shorter smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration < Deceleration
A longer smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration = Deceleration
The smoothing times of the acceleration and deceleration ramp are equal.
If an error occurs, the axis decelerates with the configured emergency stop deceleration.
A configured jerk limit is not taken into account for this.
The following equations show the relationship between the smoothing times and the jerk:
Motion jobs started in the user program are performed with the selected jerk.
See also
Velocity profile (Page 54)
The configuration of the emergency stop deceleration is related to the configured maximum
velocity of the axis. If the maximum velocity of the axis changes, then the value of the
emergency deceleration also changes (the emergency stop ramp-down time remains
unchanged).
See also
Emergency stop deceleration (Page 56)
Note
Only use hardware limit switches that remain permanently switched after the approach. This
switching state may only be canceled after the return to the permitted traversing range.
The digital inputs of the hardware limit switches are evaluated by default in cyclic data
exchange. If the hardware limit switch is to be evaluated in the position control cycle of the
drive, select the entry "MC-Servo" for "Organization block" and the entry "PIP OB Servo" for
"Process image" in the input module settings under "I/O addresses".
In order to be able to select an input, a digital input module must have been added in the
device configuration, and the PLC tag name for the digital input must be defined.
CAUTION
During installation of hardware limit switches, attention must be paid to the filter times of the
digital inputs.
Based on the time for one position control cycle clock and the filter time of the digital inputs,
the resulting delay times must be taken into account.
The filter time is configurable in individual digital input modules in the device configuration.
The digital inputs are set to a filter time of 6.4 ms by default. If these are used as hardware
limit switches, undesired decelerations may occur. If this occurs, reduce the filter time for
the relevant digital inputs.
The filter time can be set under "Input filter" in the device configuration of the digital inputs.
Note
Activated software limit switches act only on a homed axis.
See also
Traversing range limitation (Page 49)
Maximum velocity
In this field, define the maximum permitted velocity of the axis.
Note
A change in the maximum velocity influences the acceleration and deceleration values of the
axis. The ramp-up and ramp-down times are retained.
The "maximum deceleration" for active homing with change of direction at the hardware limit
switch must be set sufficiently large, to brake the axis before reaching the mechanical
endstop.
Smoothing time/jerk
You can enter the jerk limit parameters in the "Smoothing time" box, or alternatively in the
"Jerk" box:
● Set the desired jerk for the acceleration and deceleration ramp in the "Jerk" field. The
value 0 means that the jerk is not limited.
● Set the desired smoothing time for the acceleration ramp in the "Smoothing time" field.
Note
The configured smoothing time displayed in the configuration, applies only to the
acceleration ramp.
If the values of the acceleration and deceleration differ, the smoothing time of the
deceleration ramp is calculated and used according to the jerk of the acceleration ramp.
The smoothing time of the deceleration is adapted as follows:
• Acceleration > Deceleration
A shorter smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration < Deceleration
A longer smoothing time is used for the deceleration ramp compared with the
acceleration ramp.
• Acceleration = Deceleration
The smoothing times of the acceleration and deceleration ramp are equal.
If an error occurs, the axis decelerates with the configured emergency stop deceleration.
A configured jerk limit is not taken into account for this.
The following equations show the relationship between the smoothing times and the jerk:
Motion jobs started in the user program are performed with the selected jerk.
See also
Velocity profile (Page 54)
Effective
In the drop-down list, select whether the limit value is to be in effect "on load side" or "on
motor side".
Torque limits
Enter a default value for the torque limiting in the specified unit of measurement in this field.
The default value is in effect when the torque limiting is specified using Motion Control
instruction "MC_TorqueLimiting", input parameter "Limit" < 0.
Torque limiting applies to the following axis configurations:
● Axis type is "Rotary" and limit value is in effect "On load side" or "On motor side"
● Axis type is "Linear" and limit value is in effect "On motor side"
Force limit
Enter a default value for the force limit in the specified unit of measure in this field.
The default value is in effect when the force limit is specified using Motion Control instruction
"MC_TorqueLimiting", input parameter "Limit" < 0.
The force limit applies to the following axis configuration: Axis type is "Linear" and limit value
is in effect "On load side"
If the efficiency of the gear and leadscrew is crucial, you can set them in the
"<TO>.Actor.Efficiency" tag.
Position-related monitoring
As a result of the force/torque limiting on the drive, a larger following error may occur or the
axis standstill may not be detected reliably in positioning monitoring.
To deactivate the monitoring of the following error and the positioning monitoring during
force/torque limiting, select the "Deactivate position-related monitoring" option. If you want to
activate the position-related monitoring, select the option "Leave position-related monitoring
enabled".
See also
Force/torque limiting (Page 59)
Positioning tolerance
In this configuration field, configure the positioning tolerance that is regarded as a breaking
away or turning back of the fixed stop when exceeded. To detect the breaking away or
turning back of the fixed stop, the position setpoint must be located outside the positioning
tolerance. The configured position tolerance must be less than the configured following error.
Following error
If the drive is stopped by a mechanical fixed stop during a motion job, the following error is
increased. The accumulating following error serves as a criterion for fixed stop detection. In
the "Following error" configuration field, configure the value of the following error starting
from which the fixed stop detection is to take effect. The configured following error must be
greater than the configured position tolerance.
Note
If the following error monitoring was activated in the position monitoring configuration, the
"Maximum following error" configured there must be greater than the "Following error" of the
fixed stop detection.
See also
Fixed stop detection (Page 61)
See also
MC_Home: Home technology object, set home position V5 (Page 200)
Homing (Page 66)
Note
Parameter "MC_Home.Mode" (S7-1500 CPU)
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Homing (Page 66)
Using multiple encoders (Page 36)
Homing mode "Use zero mark via PROFIdrive telegram" (S7-1500, S7-1500T)
Homing direction
Select the direction in which the next zero mark should be approached for homing.
"Positive" is the homing direction in the direction of positive position values; "negative" in the
direction of negative position values.
Approach velocity
In this field, specify the velocity which is used to traverse to the home position offset.
Homing velocity
In this field, specify the velocity at which the axis approaches the zero mark for homing.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 5.
See also
Homing (Page 66)
Homing mode "Use reference output cam and zero mark via PROFIdrive telegram"
(S7-1500, S7-1500T)
Approach direction
Select the approach direction for the reference output cam search.
"Positive" is the approach direction in the direction of positive position values; "negative" in
the direction of negative position values.
Homing direction
Select the direction in which the zero mark should be approached for homing.
Approach velocity
In this field, specify the velocity at which the reference output cam is searched for during the
homing procedure. Any configured home position offset is traversed at the same velocity.
Homing velocity
In this field, specify the velocity at which the axis approaches the zero mark for homing. For
zero mark detection, the reference output cam must be exited.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 5.
See also
Homing (Page 66)
Homing mode "Use homing mark via digital input" (S7-1500, S7-1500T)
When a digital input is used as a homing mark, the accuracy of the homing process is not as
high as for hardware-supported homing using zero marks. You can improve the accuracy by
using a low homing velocity.
Pay attention to the setting of short filter times for the digital input as well.
Approach direction
Select the approach direction for the homing mark search.
"Positive" is the approach direction in the direction of positive position values; "negative" in
the direction of negative position values.
Homing direction
Select the direction in which the homing mark for homing is to be approached.
Homing mark
Select the switch position of the "digital input" that is to be used as the homing mark.
When a "digital input" is crossed, two switching edges that are spatially separated from one
another are generated. The selection of the positive or negative side ensures that the
homing mark is always evaluated at the same mechanical position.
The positive side is the switch position with a greater position value; the negative side is the
switch position with the lesser position value.
The selection of the side is independent of the approach direction, and independent of
whether it causes a rising or falling edge.
Approach velocity
In this field, specify the velocity at which the axis searches for the "digital input" during the
home position approach. Any configured home position offset is traversed at the same
velocity.
Homing velocity
In this field, specify the velocity at which the axis approaches the home position for homing.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 5.
See also
Homing (Page 66)
Note
Parameter "MC_Home.Mode" (S7-1500 CPU)
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
Settings for
In the drop-down list, select the encoder for which the homing settings are to apply (only for
S7-1500T).
See also
Using multiple encoders (Page 36)
Homing mode "Use zero mark via PROFIdrive telegram" (S7-1500, S7-1500T)
Homing direction
Select the direction in which the next zero mark should be approached for homing. The
following options are available:
● Positive
The axis moves in the direction of higher position values.
● Negative
The axis moves in the direction of lower position values.
● Current
The currently effective approach direction is used for homing.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Homing (Page 66)
Homing mode "Use reference output cam and zero mark via PROFIdrive telegram"
(S7-1500, S7-1500T)
Homing direction
Select the direction in which the zero mark should be approached for homing. The next zero
mark after leaving the reference output cam is used.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Homing (Page 66)
Homing mode "Use homing mark via digital input" (S7-1500, S7-1500T)
Homing direction
Select the direction in which the homing mark for homing is to be approached.
The following options are available:
● Positive
The axis moves in the direction of higher position values.
● Negative
The axis moves in the direction of lower position values.
● Current
The currently effective approach direction is used for homing.
Homing mark
Select which switch position of the "digital input" is to be used as the homing mark.
When a "digital input" is crossed, two switching edges that are spatially separated from one
another are generated. The selection of the positive or negative side ensures that the
homing mark is always evaluated at the same mechanical position.
The positive side is the switch position with a greater position value; the negative side is the
switch position with the lesser position value.
The selection of the side is independent of the approach direction, and independent of
whether it causes a rising or falling edge.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Homing (Page 66)
Positioning window
Configure the size of the positioning window in this field. If the axis is located within this
window, the position is considered to be "reached".
Tolerance time
In this field, configure the tolerance time within which the position value must reach the
positioning window.
See also
Position monitoring functions (Page 89)
Warning level
In this field, configure a percentage of the current following error limit above which a warning
should be output.
Example: The current maximum following error is 100 mm. The warning level is configured at
90%. If the current following error exceeds a value of 90 mm, the technology alarm 522
"Warning following error tolerance" is output. This is a warning and contains no alarm
response.
Following error
In this field, configure the permissible following error for low velocities (without dynamic
adjustment of the following error).
See also
Following error monitoring (Page 90)
Standstill window
Configure the size of the standstill window in this field. For standstill to be indicated, the
velocity of the axis must be within this window.
See also
Standstill signal (Page 91)
Drive optimized
When the drive is optimized, the status bit lights up green. Otherwise, the status bit is gray.
Precontrol
Configure the percentage velocity precontrol in this field.
Note
Dynamic Servo Control (DSC) is only possible with one of the following PROFIdrive
telegrams:
• Standard telegram 5 or 6
• SIEMENS telegram 105 or 106
See also
Closed-loop control (Page 93)
Control structure (Page 94)
Function and structure of the optimization (Page 169)
Hysteresis value
Enter a value for application of the hysteresis function to the extrapolated actual value of the
position. The specification is made in the configured length unit.
Name
Define the name of the external encoder in this field. The technology object is listed under
this name in the project tree. The tags of the external encoder can be used in the user
program under this name.
Units of measure
In the drop-down list, select the desired units of measure for the position and velocity of the
external encoder.
If you wish to use six decimal places in the selected unit, select the check box "Use position
values with higher resolution".
Modulo
Select the check box "Enable modulo", if you want to use a recurring measuring system for
the external encoder (e.g. 0-360° for an external encoder of the "rotary" type).
● Modulo start value
In this field, define the position at which the modulo range should begin (e.g. 0° for an
external encoder of the "rotary" type).
● Modulo length
In this field, define the length of the modulo range (e.g. 360° for an external encoder of
the "rotary" type).
See also
Modulo setting (Page 23)
External encoder technology object (Page 20)
Data connection
In the drop-down list, select whether the data connection should be established directly with
the encoder or via a data block that can be edited in the user program.
The selection is only possible for encoders that are connected via PROFIdrive and support
parameter P979.
Encoder/data block
Select the encoder you have configured in the device configuration in this area.
The following encoders can be used:
● Encoder on technology module (TM)
In the "Encoder" configuration field, select a previously configured technology module and
the channel to be used. Only technology modules set to the "Position input for Motion
Control" mode are displayed for selection.
You can operate the technology module centrally on an S7-1500 CPU or decentrally on a
distributed I/O. Isochronous mode is not possible with central operation in the CPU.
You can identify the technology modules suitable for position detection for Motion Control
in the documentation for the technology module and the catalog data.
● Encoder via PROFINET/PROFIBUS (PROFIdrive)
In the " Encoder" configuration field, select a configured encoder on the
PROFINET/PROFIBUS.
Note
Option "Show all modules"
If a PROFIdrive that has already been configured is not available for selection, use the
option "Show all modules" to display all reachable modules.
When you select the option "Show all modules", only the address range for each of the
displayed modules is checked. If the address range of the module is large enough for the
selected PROFIdrive frame, you can select the module. For this reason, make sure that
you select a PROFIdrive encoder.
If you have selected "Data block" under the data connection, select a previously created data
block which contains a tag structure of the data type "PD_TELx" ("x" stands for the telegram
number to be used).
Encoder type
Select the encoder type in this configuration field. The following encoder types are available
for selection:
● Incremental (Page 32)
● Absolute (Page 32) (measuring range > traversing range)
● Cyclic absolute (Page 32) (measuring range < traversing range)
Recommended settings for absolute actual values: The "Cyclic absolute" encoder type is
recommended. With this setting, the position of the zero crossing of the encoder is
automatically taken into consideration by the technology object.
Note
Measuring range of the absolute encoder
Observe the boundary conditions with absolute values.
You can find more information in the section "Absolute actual value (Page 32)" of the
"S7-1500/S7-1500T Axis functions" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766462).
See also
Data connection drive/encoder via data block (Page 44)
"Drive and encoder connection" section in the "S7-1500/S7-1500T Axis functions" function
manual (https://support.industry.siemens.com/cs/ww/en/view/109766462)
Encoder telegram
In the drop-down list for the technology module, select the telegram that you have configured
in the technology module.
Note
Automatic transfer of encoder parameters is only possible with PROFIdrive encoders as of
product version A16. For this, "Hardware interface > Encoder" must be selected as the
"Encoder" data connection in the configuration window.
Note
Automatic transfer of encoder parameters is only possible with PROFIdrive encoders as of
product version A16. For this, "Hardware interface > Encoder" must be selected as the
"Encoder" data connection in the configuration window.
Encoder type
Depending on the selected encoder type, configure the following parameters: The
specifications must match those in the device configuration.
See also
Configuration - Data exchange (Page 150)
Encoder to PROFINET/PROFIBUS (Page 153)
Encoder telegram
The telegram to the encoder that is set in the device configuration is preselected in the drop-
down list.
Note
Automatic transfer of encoder parameters is only possible with PROFIdrive encoders as of
product version A16. For this, "Hardware interface > Encoder" must be selected as the
"Encoder" data connection in the configuration window.
Note
Automatic transfer of encoder parameters is only possible with PROFIdrive encoders as of
product version A16. For this, "Hardware interface > Encoder" must be selected as the
"Encoder" data connection in the configuration window.
Encoder type
Depending on the selected encoder type, configure the following parameters:
See also
Configuration - Data exchange (Page 150)
Encoder to technology module (Page 150)
Field Description
Provide cross-PLC Select this check box to make the actual value available as leading value
leading value for a cross-PLC synchronous operation.
Transfer area In this drop-down list, select the output tag of the transfer area set up be-
tween the CPU of the leading axis and the CPUs of the following axes.
You can find more information about the transfer range in the section "Set-
ting up communication via Controller-Controller direct data exchange" of
the documentation "S7-1500/S7-1500T Synchronous operation functions"
(https://support.industry.siemens.com/cs/ww/en/view/109766464).
Field Description
Allow system calcula- Select this check box to adapt the delay time of the local leading value in
tion the system. System calculation is started when you trigger the calculation in
the interconnection overview.
Delay time If the "Allow system calculation" check box is cleared, this field can be
edited. Enter the delay time in this field.
The entered delay time determines the output delay of the leading value for
the local following axes.
(<TO>.CrossPlcSynchronousOperation.LocalLeadingValueDelayTime)
Interconnection over- You open the interconnection overview via this link. With a cross-PLC syn-
view chronous operation, the interconnection overview contains an overview of
the interconnected leading and following axes and their CPU assignment.
See also
External encoder technology object (Page 20)
Mechanics (Page 47)
Encoder
If you would like to invert the actual value of the encoder, select the check box "Invert
encoder direction".
Load gear
The gear ratio of the measuring gearbox is specified as the ratio between encoder
revolutions and load revolutions.
In the "Number of encoder revolutions" configuration field, configure the integer number of
encoder revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
If no load gear is present, select the same values for the number of encoder revolutions and
load revolutions.
Position parameters
In the "Leadscrew pitch" configuration field, configure the distance by which the load is
moved when the leadscrew makes one revolution.
See also
Configuration - Mechanics (Page 156)
Rotary (Page 157)
Mechanics (Page 47)
Encoder
If you would like to invert the actual value of the encoder, select the check box "Invert
encoder direction".
Load gear
The gear ratio of the measuring gearbox is specified as the ratio between encoder
revolutions and load revolutions.
In the "Number of encoder revolutions" configuration field, configure the integer number of
encoder revolutions.
In this "Number of load revolutions" configuration field, configure the integer number of load
revolutions.
If no load gear is present, select the same values for the number of encoder revolutions and
load revolutions.
See also
Configuration - Mechanics (Page 156)
Linear (Page 157)
Mechanics (Page 47)
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
Reference output cam and zero mark via PROFIdrive telegram (S7-1500, S7-1500T)
Homing direction
Select the direction in which the zero mark should be approached for homing. The next zero
mark after leaving the reference output cam is used.
The following options are available:
● Positive
Axis moves in the direction of higher position values.
● Negative
Axis moves in the direction of lower position values.
● Current
The currently effective approach direction is used for homing.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Configuration - Homing (Page 158)
Use zero mark via PROFIdrive telegram (Page 160)
Homing mark via digital input (Page 160)
Homing direction
Select the direction in which the next zero mark should be approached for homing. The
following options are available:
● Positive
Axis moves in the direction of higher position values.
● Negative
Axis moves in the direction of lower position values.
● Current
The currently effective approach direction is used for homing.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Configuration - Homing (Page 158)
Reference output cam and zero mark via PROFIdrive telegram (Page 159)
Homing mark via digital input (Page 160)
Homing direction
Select the direction in which the homing mark for homing is to be approached.
The following options are available:
● Positive
Axis moves in the direction of higher position values.
● Negative
Axis moves in the direction of lower position values.
● Current
The currently effective approach direction is used for homing.
Homing mark
Select which switch position of the "digital input" is to be used as the homing mark.
When a "digital input" is crossed, two switching edges that are spatially separated from one
another are generated. The selection of the positive or negative side ensures that the
homing mark is always evaluated at the same mechanical position.
The positive side is the switch position with a greater position value; the negative side is the
switch position with the lesser position value.
The selection of the side is independent of the approach direction, and independent of
whether it causes a rising or falling edge.
Home position
In this field, configure the absolute coordinate of the home position. The home position
configured here is in effect when the Motion Control instruction "MC_Home" is executed with
"Mode" = 10.
Note
Parameter "MC_Home.Mode"
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Configuration - Homing (Page 158)
Use zero mark via PROFIdrive telegram (Page 160)
Reference output cam and zero mark via PROFIdrive telegram (Page 159)
Hysteresis value
Enter a value for application of the hysteresis function to the extrapolated actual value of the
position. The specification is made in the configured length unit.
5.1.1 Function and structure of the axis control panel (S7-1500, S7-1500T)
You traverse individual axes with the axis control panel. A user program is not necessary for
the operation of the axis control panel. With the axis control panel, you assume master
control for a technology object and control the motions of the axis.
WARNING
Uncontrolled axis motions
During operation with the axis control panel, the axis can execute uncontrolled motions
(e.g. due to erroneous configuration of the drive or the technology object). Furthermore, any
synchronized following axis is moved as well when moving a leading axis with the axis
control panel.
Therefore, perform the following protective measures before operation with the axis control
panel:
• Ensure that the EMERGENCY OFF switch is within the reach of the operator.
• Enable the hardware limit switches.
• Enable the software limit switches.
• Ensure that following error monitoring is enabled.
• Make sure that no following axis is coupled to the axis to be moved.
The axis control panel of the speed axis, positioning axis and synchronous axis can be found
in the project tree under "Technology object > Commissioning".
The axis control panel is divided into the following areas:
● Master control
● Axis
● Operating mode
● Modify
● Axis status
● Actual values
If the "Stop" button is covered during operation with the axis control panel, for ex-
ample by scrolling or by another window, the master control is retained but the
axis is stopped with maximum deceleration.
If you change to another window within the TIA Portal, to the project tree for ex-
ample, during operation with the axis control panel, the master control and motion
of the axis is maintained, provided that the axis control panel is embedded in the
TIA Portal. If the axis control panel is replaced by the TIA Portal and you change
to another window within the TIA Portal, to the project tree for example, the mas-
ter control is retained but the axis is stopped with maximum deceleration.
If you change to another window outside the TIA Portal during operation with the
axis control panel, the master control is retained but the axis is stopped with max-
imum deceleration.
• When you click the "Activate" button, a warning message is displayed. In the
warning, you can adapt the sign-of-life monitoring (100 to 60000 ms).
If the master control of the axis control panel is lost repeatedly without a direct er-
ror message, the online connection to the CPU may be impaired because the
communication load is too high. In this case, the message "Error during commis-
sioning" is entered in the message display log. Sign-of-life failure between con-
troller and TIA Portal" is displayed.
Note
No transfer of the parameters
Parameter values that you use in the axis control panel are discarded when the axis control
panel is closed.
To use the parameter values in the user program, transfer the values to the configuration.
Operating mode
The following table shows the operating modes of the axis control panel:
Requirement
● The project has been created and downloaded to the CPU.
● The CPU must be in the RUN mode.
● The technology object is disabled by your user program ("MC_Power.Enable" = FALSE).
● The axis control panel for the technology object is not used by another instance of the
TIA Portal (Team Engineering as of CPU V1.5).
Procedure
Proceed as follows to enable control the axis using the axis control panel:
1. To assume master control of the technology object and to set up an online connection to
the CPU, click "Activate" in the "Master control" area.
A warning message is displayed.
2. If necessary, adapt the sign-of-life monitoring and click "OK".
3. To enable the technology object, click the "Enable" button in the "Axis" area.
4. In the drop-down list in the "Operation mode" area, select the desired function of the axis
control panel.
5. In the "Control" area, specify the parameter values for your job.
6. Depending on the mode selected, click the "Start", "Forward" or "Backward" button to
start the job.
7. Click the "Stop" button to stop the job.
8. Repeat steps 4 through 6 for additional jobs.
9. To disable the technology object, click the "Disable" button in the "Axis" area.
10.To return master control to your user program, click the "Deactivate" button in the "Master
control" area.
WARNING
Uncontrolled axis motions
During operation with the optimization, the axis can execute uncontrolled motions (for
example, due to erroneous configuration of the drive or the technology object). In addition,
when a leading axis is moved, any synchronized following axis is also moved.
Therefore, perform the following protective measures before operation with the
optimization:
• Ensure that the EMERGENCY OFF switch is within the reach of the operator.
• Enable the hardware limit switches.
• Enable the software limit switches.
• Ensure that following error monitoring is enabled.
• Make sure that no following axis is coupled to the axis to be moved.
The "Optimization" function for the positioning axis and synchronous axis technology objects
can be found in the project tree under "Technology object > Commissioning".
The "Tuning" dialog is divided into the following areas:
● Master control
● Axis
● Measurement configuration
● Optimize position controller
● Run measurement
● Trace
If the master control of the axis control panel is lost repeatedly without a direct er-
ror message, the online connection to the CPU may be impaired because the
communication load is too high. In this case, the message "Error during commis-
sioning. Sign-of-life failure between controller and TIA Portal" is displayed in the
message display log.
Enter the new value in the text field for the actual value. The new value is applied
by clicking the "Forward" or "Backward" button in the "Run measurement" area.
Precontrol Current percentage velocity precontrol of the position controller
Speed control Current speed control loop substitute time
loop substitute With velocity precontrol, a simplified speed control loop model can be generated
time using the speed control loop substitute time. This prevents the velocity variable being
overridden by the position controller during the acceleration and deceleration phases.
To accomplish this, the position setpoint of the position controller is delayed by the
amount of the speed control loop substitute time in relation to the velocity precontrol.
Gain Current gain of the position controller (Kv)
Run measure- In the "Run measurement" area, you perform the test steps.
ment "Forward" button With the "Forward" button, you start a test step for optimization in the positive direc-
tion.
"Backward" With the "Backward" button, you start a test step for optimization in the negative
button direction.
"Stop" button You stop a test step with the "Stop" button. The axis decelerates with the configured
maximum deceleration.
If another window is superimposed on the "Stop" button, the axis stops.
Trace The Trace function is displayed in the lower area of the "Tuning" dialog.
With each test step, a Trace recording of the required parameters is automatically
started and displayed after completion of the test step.
After master control has been returned, the Trace recording is deleted.
You can find a full description of the trace function in the section on using the "trace
and logic analyzer function".
Note
No automatic transfer of the parameters to the technology object
The configured parameter values are discarded after master control is returned.
Transfer the values as needed into your configuration. You can apply the values for the gain,
precontrol and speed control loop substitute time in your configuration using the "Project
start value" value.
See also
Closed-loop control (Page 93)
Requirements
● The CPU must be in the RUN mode.
● The project has been created and downloaded to the CPU.
● The technology object is disabled by your user program (MC_Power.Enable = FALSE).
● The axis control panel for the technology object is not used by another installation of the
TIA Portal (Team Engineering as of CPU V1.5).
7. Click the "Forward" or "Start" button to start a test step for the optimization.
For the specified duration, a setpoint is output according to the specified distance. The
axis moves by the specified distance. A trace recording of the motion (setpoint and actual
values) is created automatically.
You can find a full description of the trace function in the section on using the "trace and
logic analyzer function".
Note
Adapt following error limits
If error messages from following error monitoring are repeatedly displayed during
optimization, temporarily adapt the following error limits.
8. Evaluate the curve of the trace recording. Adapt the gain incrementally. Click the
"Forward" or "Backward" button after each value you enter. This applies the value and
start a new movement and trace recording each time.
When adjusting the gain, pay attention to the following properties of the curve:
● The curve shows a brief compensation time.
● The curve does not show any motion reversal of the actual position.
● When approaching the position setpoint, no overshoot occurs.
● The curve shows a stable overall behavior (oscillation-free curve).
The following trace recording shows a curve with a long settling time:
The following trace recording shows a curve with overshoot when approaching the setpoint:
The following trace recording shows a curve in which the gain is optimal and the overall
response is steady:
Axis status
The following table shows the possible axis status values:
Status Description
Simulation active The axis is simulated in the CPU. Setpoints are not output to the drive.
Enabled The technology object has been enabled. The axis can be moved with
motion jobs.
(<TO>.StatusWord.X0 (Enable))
Error An error occurred at the technology object. Detailed information about the
error is available in the "Error" area and in the "<TO>.ErrorDetail.Number"
and "<TO>.ErrorDetail.Reaction" tags of the technology object.
(<TO>.StatusWord.X1 (Error))
Restart active The technology object is being reinitialized.
(<TO>.StatusWord.X2 (RestartActive))
Axis control panel The axis control panel is active. The axis control panel has master control
enabled over the technology object. The axis cannot be controlled from the user
program.
(<TO>.StatusWord.X4 (ControlPanelActive))
Drive ready Drive is ready to execute setpoints.
(<TO>.StatusDrive.InOperation)
Restart required Data relevant for the restart has been changed. The changes are applied
only after a restart of the technology object.
(<TO>.StatusWord.X3 (OnlineStartValuesChanged))
Motion status
The following table shows the possible axis motion status values:
Status Description
Done (no job running) No motion job is running for the technology object.
(<TO>.StatusWord.X6 (Done))
Jog The axis is being moved with a job for jog mode of Motion Control instruc-
tion "MC_MoveJog" or from the axis control panel.
(<TO>.StatusWord.X9 (JogCommand))
Speed setpoint The axis is traversed with a job with speed setpoint of the Motion Control
instruction "MC_MoveVelocity" or using the axis control panel.
(<TO>.StatusWord.X10 (VelocityCommand))
Constant speed The axis is moved with constant speed or is stationary.
(<TO>.StatusWord.X12 (ConstantVelocity))
Accelerating Axis is being accelerated.
(<TO>.StatusWord.X13 (Accelerating))
Decelerating The axis is being decelerated.
(<TO>.StatusWord.X14 (Decelerating))
Torque limiting enabled At least the threshold value (default 90%) of the preset force/torque limita-
tion acts on the axis.
(<TO>.StatusWord.X27 (InLimitation))
Active stop job The axis is stopped and disabled by Motion Control instruction "MC_Stop".
(<TO>.StatusWord2.X0 (StopCommand))
Warnings
The following table shows the possible warnings:
Warning Description
Configuration One or several configuration parameters are adapted internally at a given
time.
(<TO>.WarningWord.X1 (ConfigWarning))
Job rejected A job cannot be executed.
A Motion Control instruction cannot be executed because necessary re-
quirements have not been met.
(<TO>.WarningWord.X3 (CommandNotAccepted))
Dynamic limitation The dynamic values are limited to the dynamic limits.
(<TO>.WarningWord.X6 (DynamicWarning))
Error
The following table shows the possible errors:
Error Description
System A system-internal error has occurred.
(<TO>.ErrorWord.X0 (SystemFault))
Configuration A configuration error has occurred.
One or more configuration parameters are inconsistent or invalid.
The technology object was incorrectly configured, or editable configuration
data were incorrectly modified during runtime of the user program.
(<TO>.ErrorWord.X1 (ConfigFault))
User program An error occurred in the user program with a Motion Control instruction or
its use.
(<TO>.ErrorWord.X2 (UserFault))
Drive An error occurred in the drive.
(<TO>.ErrorWord.X4 (DriveFault))
Data exchange Communication with a connected device is faulty.
(<TO>.ErrorWord.X7 (CommunicationFault))
I/O An error occurred accessing a logical address.
(<TO>.ErrorWord.X13 (PeripheralError))
Job rejected A job cannot be executed.
A Motion Control instruction cannot be executed because necessary re-
quirements have not been met (e.g. technology object not homed).
(<TO>.ErrorWord.X3 (CommandNotAccepted))
Dynamic limitation The dynamic values are limited to the dynamic limits.
(<TO>.ErrorWord.X6 (DynamicError))
Alarm display
For additional information and to acknowledge the error, go to the Inspector window by
clicking on the "Alarm display" link.
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
"StatusWord" tag (speed axis) (Page 285)
"ErrorWord" tag (speed axis) (Page 288)
"WarningWord" tag (speed axis) (Page 290)
"Setpoints" area
The following table shows the meaning of the status data:
Status Description
Speed setpoint Speed setpoint of the axis
(<TO>.Velocity)
Speed override Speed setpoint correction as percentage
The speed setpoint specified in motion control instructions or set by the
axis control panel are superimposed with an override signal and corrected
as a percentage. Valid speed correction values range from 0.0 % to
200.0 %.
(<TO>.Override.Velocity)
Status Description
Actual speed Actual speed of the axis
(<TO>.ActualSpeed)
Status Description
Speed Configured maximum speed
(<TO>.DynamicLimits.MaxVelocity)
Acceleration Configured maximum acceleration
(<TO>.DynamicLimits.MaxAcceleration)
Deceleration Configured maximum deceleration
(<TO>.DynamicLimits.MaxDeceleration)
Jerk Configured maximum jerk
(<TO>.DynamicLimits.MaxJerk)
"Drive" area
This area displays the following parameters contained in the PROFIdrive telegram from the
drive to the controller:
● Status words "ZSW1" and "ZSW2"
● The speed setpoint (NSET) that was output to the drive
● The actual speed that was signaled from the drive (NACT)
Axis status
The following table shows the possible axis status values:
Status Description
Simulation active The axis is simulated in the CPU. Setpoints are not output to the drive.
(<TO>.StatusWord.X25 (AxisSimulation))
Enabled The technology object has been enabled. You can move the axis with mo-
tion jobs.
(<TO>.StatusWord.X0 (Enable))
Position-controlled The axis is in position-controlled mode.
mode (Inversion of <TO>.StatusWord.X28 (NonPositionControlled))
Homed The technology object is homed. The relationship between the position in
the technology object and the mechanical position was successfully creat-
ed.
(<TO>.StatusWord.X5 (HomingDone))
Error An error occurred at the technology object. Detailed information about the
error is available in the "Error" area and in the "<TO>.ErrorDetail.Number"
and "<TO>.ErrorDetail.Reaction" tags of the technology object.
(<TO>.StatusWord.X1 (Error))
Restart active The technology object is being reinitialized.
(<TO>.StatusWord.X2 (RestartActive))
Axis control panel The axis control panel is active. The axis control panel has master control
enabled over the technology object. You cannot control the axis from the user pro-
gram.
(<TO>.StatusWord.X4 (ControlPanelActive))
Drive ready Drive is ready to execute setpoints.
(<TO>.StatusDrive.InOperation)
Encoder values valid The actual encoder values are valid.
(<TO>.StatusSensor[1].State)
Actual encoder values The actual encoder values of encoder 1, encoder 2, encoder 3 or encoder 4
valid (S7-1500T) are valid.
(<TO>.StatusSensor[1..4].State)
Active encoder Encoder is operational.
(<TO>.OperativeSensor)
Status Description
Active encoder The encoder in effect operationally is encoder 1, encoder 2, encoder 3 or
(S7-1500T) encoder 4.
(<TO>.OperativeSensor)
Restart required Data relevant for the restart has been changed. The changes are applied
only after a restart of the technology object.
(<TO>.StatusWord.X3 (OnlineStartValuesChanged))
Status Description
Negative SW limit The negative software limit switch was reached.
switch approached. (<TO>.StatusWord.X15 (SWLimitMinActive))
Positive SW limit switch The positive software limit switch was reached.
approached. (<TO>.StatusWord.X16 (SWLimitMaxActive))
Negative HW limit The negative hardware limit switch has been approached or overtraveled.
switch approached. (<TO>.StatusWord.X17 (HWLimitMinActive))
Positive HW limit switch The positive hardware limit switch has been approached or overtraveled.
approached. (<TO>.StatusWord.X18 (HWLimitMaxActive))
Motion status
The following table shows the possible axis motion status values:
Status Description
Done (no job running) No job active at technology object.
(<TO>.StatusWord.X6 (Done))
Homing job The technology object executes a homing job of the Motion Control instruc-
tion "MC_Home" or from the axis control panel.
(<TO>.StatusWord.X11 (HomingCommand))
Jog The axis is being moved with a job for jog mode of Motion Control instruc-
tion "MC_MoveJog".
(<TO>.StatusWord.X9 (JogCommand))
Velocity specification The axis is traversed with a job with velocity specification of the Motion
Control instruction "MC_MoveVelocity" or from the axis control panel.
(<TO>.StatusWord.X10 (VelocityCommand))
Positioning job The axis is traversed with a positioning job of Motion Control instruction
"MC_MoveAbsolute" or "MC_MoveRelative" or from the axis control panel.
(<TO>.StatusWord.X8 (PositioningCommand))
Constant velocity The axis is moved with constant velocity or is stationary.
(<TO>.StatusWord.X12 (ConstantVelocity))
Standstill The axis is in standstill.
(<TO>.StatusWord.X7 (StandStill))
Status Description
Accelerating Axis is being accelerated.
(<TO>.StatusWord.X13 (Accelerating))
Decelerating The axis is being decelerated.
(<TO>.StatusWord.X14 (Decelerating))
Torque limiting enabled At least the threshold value (default 90%) of the preset force/torque limita-
tion acts on the axis.
(<TO>.StatusWord.X27 (InLimitation))
Active stop job The axis is stopped and disabled by Motion Control instruction "MC_Stop".
(<TO>.StatusWord2.X0 (StopCommand))
Warnings
The following table shows the possible warnings:
Warning Description
Configuration One or more configuration parameters are being internally adapted tempo-
rarily.
(<TO>.WarningWord.X1 (ConfigWarning))
Job rejected Job cannot be executed.
You cannot execute a Motion Control instruction because necessary re-
quirements are not fulfilled.
(<TO>.WarningWord.X3 (CommandNotAccepted))
Dynamic limitation The dynamic values are limited to the dynamic limits.
(<TO>.WarningWord.X6 (DynamicWarning))
Error
The following table shows the possible errors:
Error Description
System A system-internal error has occurred.
(<TO>.ErrorWord.X0 (SystemFault))
Configuration A configuration error has occurred.
One or more configuration parameters are inconsistent or invalid.
The technology object was incorrectly configured, or editable configuration
data were incorrectly modified during runtime of the user program.
(<TO>.ErrorWord.X1 (ConfigFault))
User program An error occurred in the user program with a Motion Control instruction or
its use.
(<TO>.ErrorWord.X2 (UserFault))
Drive An error occurred in the drive.
(<TO>.ErrorWord.X4 (DriveFault))
Encoder An error occurred in the encoder system.
(<TO>.ErrorWord.X5 (SensorFault))
Error Description
Encoder (S7-1500T) An error has occurred in the encoder system of encoder 1, encoder 2,
encoder 3 or encoder 4.
(<TO>.ErrorWord.X5 (SensorFault))
Data exchange Communication with a connected device is faulty.
(<TO>.ErrorWord.X7 (CommunicationFault))
I/O An error occurred accessing a logical address.
(<TO>.ErrorWord.X13 (PeripheralError))
Job rejected A job cannot be executed.
You cannot execute a Motion Control instruction because necessary re-
quirements are not fulfilled (for example, technology object not homed).
(<TO>.ErrorWord.X3 (CommandNotAccepted))
Homing An error occurred during a homing process.
(<TO>.ErrorWord.X10 (HomingFault))
Positioning The positioning axis was not positioned correctly at the end of a positioning
motion.
(<TO>.ErrorWord.X12 (PositioningFault))
Dynamic limitation The dynamic values are limited to the dynamic limits.
(<TO>.ErrorWord.X6 (DynamicError))
Following error The maximum permitted following error has been exceeded.
(<TO>.ErrorWord.X11 (FollowingErrorFault))
SW limit switch A software limit switch has been reached.
(<TO>.ErrorWord.X8 (SwLimit))
HW limit switch A hardware limit switch has been reached or overtraveled.
(<TO>.ErrorWord.X9 (HWLimit))
Adaptation An error occurred during data adaption.
(<TO>.ErrorWord.X15 (AdaptionError))
Alarm display
For additional information and to acknowledge the error, go to the Inspector window by
clicking on the "Alarm display" link.
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
"StatusWord" tag (positioning axis) (Page 321)
"ErrorWord" tag (positioning axis) (Page 325)
"WarningWord" tag (positioning axis) (Page 327)
"Setpoints" area
The following table shows the meaning of the status data:
Status Description
Target position Current target position of an active positioning job
The target position value is only valid during execution of a positioning job.
(<TO>.StatusPositioning.TargetPosition)
Position setpoint Setpoint position of the axis
(<TO>.Position)
Velocity setpoint Velocity setpoint of the axis
(<TO>.Velocity)
Velocity override Percentage correction of the velocity specification
The velocity setpoint specified in Motion Control instructions or set by the
axis control panel is superimposed with an override signal and corrected as
a percentage. Valid velocity correction values range from 0.0 % to 200.0 %.
(<TO>.Override.Velocity)
Status Description
Operative encoder Operative encoder of the axis
Actual position Actual position of the axis
If the technology object is not homed, then the value is displayed relative to
the position that existed when the technology object was enabled.
(<TO>.ActualPosition)
Actual velocity Actual velocity of the axis
(<TO>.ActualVelocity)
Following error Following error of the axis
(<TO>.StatusPositioning.FollowingError)
Status Description
Velocity Configured maximum velocity
(<TO>.DynamicLimits.MaxVelocity)
Acceleration Configured maximum acceleration
(<TO>.DynamicLimits.MaxAcceleration)
Deceleration Configured maximum deceleration
(<TO>.DynamicLimits.MaxDeceleration)
Jerk Configured maximum jerk
(<TO>.DynamicLimits.MaxJerk)
"Drive" area
This area displays the following parameters contained in the PROFIdrive telegram from the
drive to the controller:
● Status words "ZSW1" and "ZSW2"
● The speed setpoint (NSET) that was output to the drive
● The actual speed that was signaled from the drive (NACT)
"Encoder" area
in the areas "Encoder" for CPU S7-1500 or "Encoder 1" to "Encoder 4" for CPU S7-1500T,
the following parameters from the PROFIdrive telegram are displayed by the encoder to the
controller.
● Status word "Gx_ZSW"
● The actual position value "Gx_XIST1" (cyclic actual encoder value)
● The actual position value "Gx_XIST2" (absolute encoder value)
Encoder status
The following table shows the possible external encoder status values:
Status Description
Encoder enabled The technology object has been enabled.
(<TO>.StatusWord.X0 (Enable))
Homed The technology object is homed. The relationship between the position in
the technology object and the mechanical position was successfully creat-
ed.
(<TO>.StatusWord.X5 (HomingDone))
Error An error occurred at the technology object. Detailed information about the
error is available in the "Error" area and in the "<TO>.ErrorDetail.Number"
and "<TO>.ErrorDetail.Reaction" tags of the technology object.
(<TO>.StatusWord.X1 (Error))
Restart active The technology object is being reinitialized.
(<TO>.StatusWord.X2 (RestartActive))
Encoder values valid The actual encoder values are valid.
(<TO>.StatusSensor[n].State)
Restart required Data relevant for the restart has been changed. The changes are applied
only after a restart of the technology object.
(<TO>.StatusWord.X3 (OnlineStartValuesChanged))
Motion status
The following table shows the possible states of the job execution:
Status Description
Done (no job running) No Motion Control job is running for the technology object.
(Enable by "MC_Power" job excepted)
(<TO>.StatusWord.X6 (Done))
Homing job The technology object executes a homing job of the Motion Control
instruction "MC_Home".
(<TO>.StatusWord.X11 (HomingCommand))
Error
The following table shows the possible errors:
Error Description
System A system-internal error has occurred.
(<TO>.ErrorWord.X0 (SystemFault))
Configuration A configuration error has occurred.
One or more configuration parameters are inconsistent or invalid.
The technology object was incorrectly configured, or editable configuration
data were incorrectly modified during runtime of the user program.
(<TO>.ErrorWord.X1 (ConfigFault))
User program An error occurred in the user program with a Motion Control instruction or
its use.
(<TO>.ErrorWord.X2 (UserFault))
Encoder An error occurred in the encoder system.
(<TO>.ErrorWord.X5 (SensorFault))
Data exchange Missing or faulty communication.
(<TO>.ErrorWord.X7 (CommunicationFault))
Adaptation An error occurred during data adaption.
(<TO>.ErrorWord.X15 (AdaptionError))
Alarm display
For additional information and to acknowledge the error, go to the Inspector window by
clicking on the "Alarm display" link.
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
"StatusWord" tag (external encoder) (Page 340)
"ErrorWord" tag (external encoder) (Page 342)
"WarningWord" tag (external encoder) (Page 344)
Status Description
Actual position Actual position of the axis
If the technology object is not homed, then the value is displayed relative to
the position that existed when the technology object was enabled.
(<TO>.ActualPosition)
Actual velocity Actual velocity of the axis
(<TO>.ActualVelocity)
"Encoder" area
This area displays the following parameters contained in the PROFIdrive telegram that the
encoder returns to the controller:
● Status word "G1_ZSW"
● The actual position value "G1_XIST1" (cyclic actual encoder value)
● The actual position value "G1_XIST2" (absolute value of the encoder)
Description
With the Motion Control instruction "MC_Power", a technology object is enabled or disabled
and, if necessary, a configured drive is switched on or off.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
● External encoder
Requirement
● The technology object has been configured correctly.
● Cyclic BUS communication is established between controller and encoder
("<TO>.StatusSensor[1..4].CommunicationOK" = TRUE).
● Cyclic BUS communication is established between controller and drive
("<TO>.StatusDrive.CommunicationOK" = TRUE).
● The status of the active encoder is valid ("<TO>.StatusSensor[1..4].State" = 2).
● The optional data adaption (Page 34) has been completed
("<TO>.StatusDrive.AdaptionState" = 2 and
"<TO>.StatusSensor[1..4].AdaptionState" = 2).
Override response
● An "MC_Power" job cannot be aborted by any other Motion Control job.
● An "MC_Power" job with parameter "Enable"TRUE enables a technology object but does
not thereby abort any other Motion Control instructions.
● Disabling the technology object (parameter "Enable" = FALSE) aborts all Motion Control
jobs on the corresponding technology object in accordance with the selected "StopMode".
This process cannot be canceled by the user.
Parameters
The following table shows the parameters of Motion Control instruction "MC_Power":
Note
Automatic enable after acknowledgment of a technology alarm
If the technology object is disabled due to a technology alarm, the technology object will be
enabled again automatically after the cause has been eliminated and the alarm has been
acknowledged. This requires the "Enable" parameter to have retained the value "TRUE"
during this process.
Additional information
Additional information on enabling and disabling technology objects and drives can be found
in the section ""MC_Power" function diagrams (Page 346)".
See also
Automatic transfer of drive and encoder parameters in the device (Page 34)
Emergency stop deceleration (Page 56)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
A technology object is enabled with "Enable_1= TRUE". The successful enable can be read
from "Status_1" at time ①. The axis will then move with an "MC_MoveVelocity" job (A2). The
velocity profile of the axis can be read from "TO_1.Velocity".
At time ② an error occurs in the technology object, which results in the disabling of the
technology object (alarm response: remove enable). The axis is braked to a standstill
according to the configuration in the drive. When the technology object is disabled,
"Status_1" is reset. Since the axis was not disabled using "Enable_1" = FALSE, the selected
"StopMode" does not apply. The cause of the error is corrected and the alarm is
acknowledged at time ③.
Since "Enable_1" is still set, the technology object is enabled again. The successful enable
can be read from "Status_1". Finally, the technology object is disabled with
"Enable_1" = FALSE.
Description
With the Motion Control instruction "MC_Reset", you acknowledge all technology alarms that
can be acknowledged in the user program. Acknowledgment also resets the "Error" and
"Warning" bits in the technology object data block. An acknowledgment of alarms in the drive
is also possible without a pending error at the technology object.
With "Restart" = TRUE, you start reinitialization (restart) of technology objects. Upon restart
of the technology object, the new configuration data are applied in the technology object data
block.
Applies to
● All technology objects
Requirement
● The technology objects speed axis, positioning axis, synchronous axis and external
encoder.
For a restart, the technology object must be disabled.
("MC_Power.Status" = FALSE and "MC_Power.Busy" = FALSE)
● Cyclic BUS communication is established between controller and encoder
("<TO>.StatusSensor[1..4].CommunicationOK" = TRUE).
● Cyclic BUS communication is established between controller and drive
("<TO>.StatusDrive.CommunicationOK" = TRUE).
Override response
● An "MC_Reset" job cannot be aborted by any other Motion Control job.
● A "MC_Reset" job with "Restart" = TRUE cancels all running Motion Control jobs.
Parameters
The following table shows the parameters of Motion Control instruction "MC_Reset":
Note
Acknowledge technology alarms with "Restart" = FALSE
To acknowledge only the technology alarms, set "Restart" = FALSE. The technology object
cannot be used during a restart. All technology alarms on axes and encoders are
acknowledged, even if they are not enabled or not effective.
See also
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
7.3.1 MC_Home: Home technology object, set home position V5 (S7-1500, S7-
1500T)
Description
With the Motion Control instruction "MC_Home", you create the relationship between the
position in the technology object and the mechanical position. The actual position value in
the technology object is assigned to a homing mark at the same time. This homing mark
represents a known mechanical position.
Homing is performed according to the mode selected with the "Mode" parameter and the
configuration under "Technology object > Configuration > Extended parameters > Homing".
The "MC_Home.Mode" parameter for S7-1200 Motion Control and S7-1500 Motion Control
has been standardized within the framework of technology version V2.0. This results in a
new assignment of the parameter values for the "MC_Home.Mode" parameter. A
comparison of the "MC_Home.Mode" parameter for technology versions V1.0 and ≥ V2.0 is
available in the section "Version overview" of the "S7-1500/S7-1500T Motion Control
overview" documentation (https://support.industry.siemens.com/cs/ww/en/view/109766459).
The preset values under "Technology object > Configuration > Extended parameters >
Dynamic default values" are used for the dynamic values Acceleration, Deceleration and
Jerk.
Applies to
● Synchronous axis
● Positioning axis
● External encoder
The following table shows which modes are possible with each of the technology objects:
Operating mode Positioning ax- Positioning ax- External incremen- External absolute
is/synchronous axis is/synchronous axis tal encoder
with incremental with absolute en- encoder
encoder coder
Active homing X - - -
("Mode" = 3, 5)
Passive homing X - X -
("Mode" = 2, 8, 10)
Set actual position X X X X
("Mode" = 0)
Relative offset to the actual X X X X
position
("Mode" = 1)
Set setpoint position X X X X
(direct absolute)
("Mode" = 11)
Relative shift of the setpoint
position
("Mode" = 12)
Absolute encoder adjustment - X - X
("Mode" = 6, 7)
Requirement
● The technology object has been configured correctly.
● "Mode" = 2, 3, 5, 8, 10
The technology object is enabled.
● "Mode" = 0, 1, 6, 7, 8, 11, 12
The actual encoder values are valid (<TO>.StatusSensor[1..4].State = 2).
● "Mode" = 6, 7
The axis is in position-controlled mode.
Override response
The override response for "MC_Home" jobs is described in section "Override response V5:
Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_Home":
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Homing (Page 66)
Description
With the Motion Control instruction "MC_Halt", you brake an axis until it comes to a standstill.
You define the dynamic behavior of the braking operation with parameters "Jerk" and
"Deceleration".
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_Halt" jobs is described in section "Override response V5:
Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_Halt":
Additional information
Information on the evaluation of the individual bits can be found in the "Evaluating
StatusWord, ErrorWord and WarningWord" section of the "S7-1500/S7-1500T Motion
Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Section An axis is moved with an "MC_MoveVelocity" job (A1). At time ①, the "MC_MoveVelocity" job is overridden by
an "MC_Halt" job (A2). The job abort is signaled via "Abort_1". With "AbortAcc_2" = FALSE, the current accel-
eration is reduced with the specified jerk. Afterward, the deceleration builds up and the axis is braked to a
standstill. The completion of the "MC_Halt" job is reported via "Done_2".
Section The axis is moved with an "MC_MoveVelocity" job (A1). At time ②, the "MC_MoveVelocity" job is overridden
by an "MC_Halt" job (A2). The job abort is signaled via "Abort_1". With "AbortAcc_2" = TRUE, the current ac-
celeration is set to zero immediately and the deceleration builds up. The axis is braked to a standstill. The
completion of the "MC_Halt" job is reported via "Done_2".
Description
With the Motion Control instruction "MC_MoveAbsolute", you can move an axis to an
absolute position.
You define the dynamic behavior of the motion with parameters "Velocity", "Jerk",
"Acceleration" and "Deceleration".
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
● The technology object is homed.
Override response
The override response for "MC_MoveAbsolute" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_MoveAbsolute":
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Function chart: Absolute positioning of an axis, and the response to an overriding job
Section An axis is moved to absolute position 1000.0 with an "MC_MoveAbsolute" job (A1). When the axis reaches the
target position, this is signaled at time ① via "Done_1". At this time ①, another "MC_MoveAbsolute" job (A2)
with target position 1500.0 is started. When the axis reaches the target position 1500.0, this is signaled via
"Done_2". Since "Exe_2" was previously reset, "Done_2" is applied only to one cycle.
Section An active "MC_MoveAbsolute" job (A1) is overridden at time ② by another "MC_MoveAbsolute" job (A2). The
abort is signaled via "Abort_1". The axis is braked to the changed velocity and moved to the new target position
1500.0. When the new target position is reached, this is signaled via "Done_2".
Description
With the Motion Control instruction "MC_MoveRelative", you move an axis relative to its
position when execution of the job began.
You define the dynamic behavior of the motion with parameters "Velocity", "Jerk",
"Acceleration" and "Deceleration".
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MoveRelative" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_MoveRelative":
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Function chart: Relative positioning of an axis, and the overriding job characteristics
Section The axis is moved by an "MC_MoveRelative" job (A1) by the distance ("Distance") 1000.0 (the starting position
here is 0.0). When the axis reaches the target position, this is signaled at time ① via "Done_1". At this time
①, another "MC_MoveRelative" job (A2) with distance 500.0 is started. When the new target position is
reached, this is signaled via "Done_2". Since "Exe_2" was previously reset, "Done_2" is applied only to one
cycle.
Section An active "MC_MoveRelative" job (A1) is overridden by another "MC_MoveRelative" job (A2). The abort is
signaled at time ② via "Abort_1". The axis is then moved at the new velocity by the distance ("Distance")
500.0. When the new target position is reached, this is signaled via "Done_2".
Description
With the Motion Control instruction "MC_MoveVelocity", you move an axis at constant
velocity/speed.
You define the dynamic behavior of the motion with parameters "Velocity", "Jerk",
"Acceleration" and "Deceleration".
● Positioning axis/synchronous axis:
A velocity is specified in the "Velocity" parameter.
● Speed axis:
A speed is specified in the "Velocity" parameter.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MoveVelocity" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_MoveVelocity":
Note
Response to a change in the override
If the velocity/speed is influenced during constant motion by a change in the override
(<TO>.Override.Velocity), the "InVelocity" parameter is reset during the acceleration or
deceleration. When the newly calculated velocity/speed is reached
("Velocity" × "Override" %), then "InVelocity" is set again.
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Function chart: Moving an axis with velocity specification, and the response to an overriding job
An "MC_MoveVelocity" job (A1) initiated via "Exe_1" accelerates the axis and signals at time
① via "InVel_1" that the velocity setpoint 50.0 has been reached.
At time ②, the job is overridden by another "MC_MoveVelocity" job (A2). The abort is
signaled via "Abort_1". When the new velocity setpoint 15.0 is reached, this is signaled via
"InVel_2". The axis then continues moving at the constant velocity 15.0.
The running "MC_MoveVelocity" job (A2) is overridden by another "MC_MoveVelocity" job
(A1). The abort is signaled via "Abort_2". The axis is accelerated to the new velocity setpoint
50.0. Before the velocity setpoint is reached, the current "MC_MoveVelocity" job (A1) is
overridden at time ③ by another "MC_MoveVelocity" job (A2). The abort is signaled via
"Abort_1". When the new velocity setpoint 15.0 is reached, this is signaled via "InVel_2". The
axis then continues moving at the constant velocity 15.0.
Description
With the Motion Control instruction "MC_MoveJog", you move an axis in jog mode.
You define the dynamic behavior of the motion with parameters "Velocity", "Jerk",
"Acceleration" and "Deceleration".
● Positioning axis/synchronous axis:
A velocity is specified in the "Velocity" parameter.
● Speed axis:
A speed is specified in the "Velocity" parameter.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MoveJog" jobs is described in section "Override response
V5: Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_MoveJog":
Note
Response to a change in the override
If the velocity/speed is influenced during constant motion by a change in the override
(<TO>.Override.Velocity), the "InVelocity" parameter is reset during the acceleration or
deceleration. When the newly calculated velocity is reached ("Velocity" × "Override" %), then
"InVelocity" is set again.
Additional information
An option for evaluating the individual status bits can be found in the section "Evaluating
StatusWord, ErrorWord and WarningWord" of the "S7-1500/S7-1500T Motion Control
overview" (https://support.industry.siemens.com/cs/ww/en/view/109766459) documentation.
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
The axis is moved in the negative direction in jog mode via "Jog_B". When the velocity
setpoint -50.0 is reached, this is signaled via "InVel" = TRUE. After "Jog_B" is reset, the axis
is braked and brought to a standstill. Then the axis is moved in the positive direction via
"Jog_F". When the velocity setpoint 50.0 is reached, this is signaled via "InVel" = TRUE.
At the time ①, if "Jog_F" is set, the velocity setpoint is changed to 100.0 by means of
"Vel_Input". Alternatively, you can also change the velocity setpoint using the velocity
override. "InVel" is reset. Axis is being accelerated. When the new velocity setpoint 100.0 is
reached, this is signaled via "InVel" = TRUE.
If "Jog_F" is set, "Jog_B" is likewise set at time ②. If both "Jog_F" and "Jog_B" are set, then
the axis is braked with the last applicable deceleration. An error is indicated via "Error", and
the "ErrorID" of the error 16#8007 (incorrect direction specification) is output.
This error is resolved by resetting the two inputs "Jog_F" and "Jog_B".
During the braking ramp, "Jog_F" is set at time ③. The axis is accelerated to the last
configured velocity. When the velocity setpoint 100.0 is reached, this is signaled via
"InVel" = TRUE.
Description
With the Motion Control instruction "MC_MoveSuperimposed", you start a relative positioning
motion that is superimposed on a active basic motion.
You define the dynamic behavior of the motion with parameters "VelocityDiff", "Jerk",
"Acceleration" and "Deceleration". The dynamic values are added to the values of the basic
motion. The duration of the basic motion is not extended by a superimposed motion.
The dynamics of the total axis motion is the sum of the dynamic values of the basic motion
and the superimposed motion.
The behavior of the total motion depends on the type of basic motion:
● The basic motion is a single-axis motion:
– The maximum dynamics of the superimposed motion is the difference between the
current dynamic values of the basic motion and the dynamic limits.
– The entire motion is limited to the configured dynamic limits.
● The basic motion is a synchronous motion:
– The maximum dynamics of the superimposed motion is the difference between the
current dynamic values of the basic motion and the dynamic limits.
– The synchronous motion of the following axis is not limited to the dynamic limits of the
following axis.
– An "MC_MoveSuperimposed" job on a leading axis in synchronous operation affects
the leading axis and the following axis.
– An "MC_MoveSuperimposed" job on a following axis in synchronous operation only
affects the following axis.
It is always the dynamics of the total motion that is displayed in the technology data block
and in the TIA Portal.
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MoveSuperimposed" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction
"MC_MoveSuperimposed":
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Section Using "Exe_1", an "MC_MoveRelative" job with a distance of 50.0 is initiated. At time ①, using "Exe_2", an
"MC_MoveSuperimposed" job with a distance of 50.0 is initiated. The axis is moved with the added dynamic
values of both jobs by the distance 50 + 50 = 100.0. When the axis reaches the target position, this is signaled
via "Done_2".
Section Using "Exe_1", an "MC_MoveRelative" job with a distance of 50.0 is initiated. At time ②, using "Exe_2", a
MC_MoveSuperimposed job with a distance of -50.0 is initiated. The axis reverses and is moved with the add-
ed dynamic values of both jobs by the distance 50.0 - 50.0 = 0.0. When the axis reaches the target position,
this is signaled via "Done_2".
Description
With the Motion Control instruction "MC_SetSensor", you switch over the encoder for closed
loop position control of the axis.
The actual value of the addressed encoder can be adapted without switchover using
parameter "Mode" 2 and 3.
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object and the alternative encoder have been configured correctly.
● No restart command and no "MC_Home" job running.
Override response
● An "MC_SetSensor" job is not aborted by any other Motion Control job.
● A new "MC_SetSensor" job does not abort any active Motion Control jobs.
Parameters
The following table shows the parameters of Motion Control instruction "MC_SetSensor":
See also
Using multiple encoders (Page 36)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
7.11.1 MC_Stop: Stop axis and prevent new motion jobs V5 (S7-1500, S7-1500T)
Description
With the "MC_Stop" Motion Control instruction, you stop all movements of an axis and
prevent new motion jobs for the technology object. The axis brakes to a standstill and
remains switched on.
The standstill position is derived from the stop ramp. Three modes, which you define with the
"Mode" parameter, are available for this purpose:
● "Mode" = 0: The dynamic response of the braking operation is determined by the
configured emergency stop ramp.
● "Mode" = 2: The dynamic response of the braking operation is determined by the
maximum dynamic values of the technology object.
● "Mode" = 3: The dynamic response of the braking operation is determined with
parameters "Jerk" and "Decelaration" of the "MC_Stop" job.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
● An "MC_Stop" job is not triggered by other movements.
● An "MC_Stop" job is aborted by an "MC_Power" job with "Enable" = FALSE.
● An "MC_Stop" job does not abort any synchronous operation function in simulation.
● An "MC_Stop" job is aborted by another "MC_Stop" job with a stop response that is the
same or higher.
Significance of stop responses (descending): "Mode" = 0 > "Mode" = 2 > "Mode" = 3
You can find more information on the override response of an "MC_Stop" job in the section
"Override response of Motion Control jobs V5 (Page 271)".
Parameters
The following table shows the parameters of Motion Control instruction "MC_Stop":
Additional information
Information on the evaluation of the individual bits can be found in the "Evaluating
StatusWord, ErrorWord and WarningWord" section of the "S7-1500/S7-1500T Motion
Control overview" documentation
(https://support.industry.siemens.com/cs/ww/en/view/109766459).
See also
Override response V5: Homing and motion jobs (Page 271)
Emergency stop deceleration (Page 56)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Description
With the Motion Control instruction "MC_SetAxisSTW", you control selected bits in control
word 1 (STW1) and control word 2 (STW2) of the PROFIdrive telegram. This provides the
possibility of directly controlling bits not used by the technology object. The bits to be
controlled are specified via the parameters "STW1" and "STW2". The controlled bits remain
effective until an "MC_SetAxisSTW" job is reset, the technology object is restarted or the
CPU transitions from "RUN" to "STOP".
The following bits can be controlled in STW1:
● 8
● 9
● 11 to 15
Bits 0 to 11 can be controlled in STW2.
For the meaning of the bits to be controlled, refer to the "SINAMICS S120/S150" list manual
(https://support.industry.siemens.com/cs/ww/en/view/109763271).
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object is interconnected with a drive telegram.
● The technology object is not in simulation.
● The technology object has been enabled.
● A permissible bit masking is set.
Override response
● A new "MC_SetAxisSTW" job does not abort any active Motion Control jobs.
● An "MC_SetAxisSTW" job is only aborted by another "MC_SetAxisSTW" job.
Parameters
The following table shows the parameters of Motion Control instruction "MC_SetAxisSTW":
See also
Override response V5: Homing and motion jobs (Page 271)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Description
With the Motion Control instruction "MC_WriteParameter", you can change selected
parameters of the technology objects in runtime. The changes take effect directly or after a
restart, depending on the corresponding parameter.
With a "RUN → STOP → RUN" transition of the CPU, the parameter value is retained. The
changed parameter value is reset to the start value in the event of a POWER OFF, memory
reset or a restart of the technology object.
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
Parameters
The following table shows the parameters of Motion Control instruction
"MC_WriteParameter":
Modifiable parameters
The following table shows the parameters that can be changed with the Motion Control
instruction "MC_WriteParameter":
See also
Override response V5: Homing and motion jobs (Page 271)
Direct homing (Page 83)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Tags of the positioning axis technology object (Page 293)
Description
With the Motion Control instruction "MC_MotionInVelocity", you specify cyclically applicable
calculated motion setpoints for velocity and acceleration as a basic motion for the axis. No
velocity profile is calculated for this, the values are directly active at the technology object.
The dynamic limits are not in effect. The motion setting using "MotionIn" can be
superimposed with an "MC_MoveSuperimposed" job (Page 233).
With the "Velocity" parameter, you specify the desired velocity and with "Acceleration" the
desired acceleration. The setpoint velocity and setpoint acceleration are effective when the
parameter "Enable" = TRUE and at least the value for the "Velocity" parameter needs to be
specified.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MotionInVelocity" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Note
Dynamic deviation possible
Pay attention to consistent specifications relating to velocity and acceleration when the
"MotionIn" instruction is overridden by another Motion Control instruction.
When the "MotionIn" instruction is overridden, make sure that the new acceleration
specifications are coordinated with the currently effective acceleration because the last
effective acceleration value will be applied.
Parameters
The following table shows the parameters of Motion Control instruction
"MC_MotionInVelocity":
See also
Override response V5: Homing and motion jobs (Page 271)
Motion specification via "MotionIn" (Page 57)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Section With "Enable_1 = TRUE" the technology object is specified cyclic in the MC-PreServo-clock velocity
"Vel_1" and acceleration "Acc_1". These specifications are applied directly as setpoint velocity
"TO_1.Velocity" and setpoint acceleration "TO_1.Acceleration", without hereby calculating a velocity
profile.
As the position monitoring "PosContr_1" is set to FALSE, no following error
"TO_1.StatusPositioning.FollowingError" is determined.
Section The velocity and acceleration specifications are not active as long as "Enable_1" is set to FALSE.
At time ①, "Enable_1" is set to TRUE. As the position monitoring "PosContr_1" is set to TRUE, a
following error "TO_1.StatusPositioning.FollowingError" is determined.
The velocity specification "Vel_1" and the acceleration default "Acc_1" cause a setpoint jump which
exceeds the maximum permissible following error. With active position lag monitoring, the technology
alarm 521 is output, and the technology object is disabled. With deactivated following error monitor-
ing, the setpoint jump is executed with maximum dynamic.
Description
With the Motion Control instruction "MC_MotionInPosition", you specify the cyclic, applicable
motion setpoints for position, velocity and acceleration as basic motion for the axis. No
velocity profile is calculated for this, the values are directly active at the technology object.
The dynamic limits are not in effect. The motion setting using "MotionIn" can be
superimposed with an "MC_MoveSuperimposed" job (Page 233).
With the "Position" parameter, you specify the set position. With the "Velocity" parameter,
you specify the setpoint velocity. With the "Acceleration" parameter, you specify the setpoint
acceleration.
The setpoint velocity is used as a feedforward control value when velocity feedforward
control is activated. The setpoint position, setpoint velocity and setpoint acceleration are
effective when the parameter "Enable" = TRUE and at least the values for the "Position" and
"Velocity" parameters are specified.
Applies to
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
Override response
The override response for "MC_MotionInPosition" jobs is described in section "Override
response V5: Homing and motion jobs (Page 271)".
Note
Dynamic deviation possible
Pay attention to consistent specifications relating to velocity and acceleration when the
"MotionIn" instruction is overridden by another Motion Control instruction.
When the "MotionIn" instruction is overridden, make sure that the new acceleration
specifications are coordinated with the currently effective acceleration because the last
effective acceleration value will be applied.
Parameters
The following table shows the parameters of Motion Control instruction
"MC_MotionInPosition":
See also
Override response V5: Homing and motion jobs (Page 271)
Motion specification via "MotionIn" (Page 57)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Section With "Enable_1 = TRUE" the technology object is specified cyclic in the MC-PreServo-clock position
"Pos_1", velocity "Vel_1" and acceleration "Acc_1". These specifications are applied directly as set
position "TO_1.Position", setpoint velocity "TO_1.Velocity" and setpoint acceleration
"TO_1.Acceleration", without hereby calculating a velocity profile.
Section The position, velocity and acceleration specifications are not active as long as "Enable_1" is set to
FALSE.
At time ①, "Enable_1" is set to TRUE. The default position setting "Pos_1" causes a setpoint jump
which exceeds the maximum permissible following error. With active position lag monitoring, the
technology alarm 521 is output, and the technology object is disabled. With deactivated following
error monitoring, the setpoint jump is executed with maximum dynamic.
Description
With the Motion Control instruction "MC_TorqueAdditive", you specify an additive torque for
the drive to which the technology object is assigned. The torque data are transferred via the
telegram 750.
With the "Value" parameter, you specify the additive setpoint torque. The specification of the
additive torque setpoint is overriding. An additional torque may be positive or negative. If you
invert the setpoint for the technology object, the value for the additive torque is also inverted
and transferred inverted to the drive.
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The technology object has been enabled.
● The drive is connected via PROFIdrive telegram.
● Telegram 750 is configured.
Telegram 750 is available for SINAMICS drives V4.9 and higher.
Override response
● An "MC_TorqueAdditive" job is not aborted by any other Motion Control job.
● A new "MC_TorqueAdditive" job does not abort any active Motion Control jobs.
Parameters
The following table shows the parameters of Motion Control instruction
"MC_TorqueAdditive":
See also
PROFIdrive telegrams (Page 27)
Additive setpoint torque (Page 62)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
Section With "Enable_1 = TRUE", an additive setpoint torque "Value_1" is specified for the drive assigned to
the technology object. This setting is transferred to the drive parameter "p1511 - Supplementary
torque 1" using telegram 750.
Section With "Enable_1 = TRUE", an additive setpoint torque "Value_1" is specified for the drive assigned to
the technology object. This setting is transferred to the drive parameter "p1511 - Supplementary
torque 1" using telegram 750. The additive setpoint torque is first built up. At time ①, "Enable_1" is
already set to FALSE, before the additive setpoint torque is reduced again. The reduction of the
torque setpoint is transmitted directly to the drive.
7.15.2.1 MC_TorqueRange: Set high and low torque limits V5 (S7-1500, S7-1500T)
Description
With the Motion Control instruction "MC_TorqueRange", you can specify an upper and lower
torque limit to the drive assigned to the technology object. The torque data are transferred
via the telegram 750.
With the "UpperLimit" parameter you specify the upper torque limit and with "LowerLimit" the
lower torque limit. The specification of the torque limits has smoothing effect on the
movements. If you invert the setpoints for the technology object, the values for the high and
low torque limit are also inverted and transferred inverted to the drive.
If the high and low torque limits are active, the following monitors and limits are disabled by
default:
● Following error monitoring
● Time limitations for positioning and standstill monitoring
Monitoring remains in effect if you have selected the option "Leave position-related
monitoring enabled" under "Technology object > Configuration > Extended parameters >
Limits > Torque limit".
Applies to
● Speed axis
● Positioning axis
● Synchronous axis
Requirement
● The technology object has been configured correctly.
● The drive is connected via PROFIdrive telegram.
● Telegram 750 is configured.
Telegram 750 is available for SINAMICS drives V4.9 and higher.
Override response
● An "MC_TorqueRange" job is not aborted by any other Motion Control job.
● A new "MC_TorqueRange" job does not abort any active Motion Control jobs.
● If the torque limiting is active via the "MC_TorqueLimiting" job, the "MC_TorqueRange"
job is rejected with an error message and vice versa. The functions do not override one
another.
Parameters
The following table shows the parameters of Motion Control instruction "MC_TorqueRange":
See also
PROFIdrive telegrams (Page 27)
Permissible torque range (Page 63)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
With "Enable_1 = TRUE" an upper torque limit "UpperLimit_1" and a lower torque limit
"LowerLimit_1" are specified to the drive assigned to the technology object. These settings
are transferred directly to the drive parameters "p1522 - Torque limit upper" and "p1523 -
Torque limit lower" using telegram 750. If "Enable_1" is reset to FALSE, the upper and lower
torque limits are no longer active.
Description
With the Motion Control instruction "MC_TorqueLimiting", you activate and assign
parameters for force/torque limiting and fixed stop detection. Together with a position-
controlled motion job, a "Travel to fixed stop" can be realized with the fixed stop detection. In
the axis configuration, you can configure whether the force/torque limiting is to relate to the
drive side or the load side.
The functions of the Motion Control instruction "MC_TorqueLimiting" can be activated and
deactivated before and during a motion job.
Override response
● An "MC_TorqueLimiting" job cannot be aborted by any other Motion Control job.
● A new "MC_TorqueLimiting" job does not abort any active Motion Control jobs.
● If the high and low torque limiting is active via the "MC_TorqueRange" job, the
"MC_TorqueLimiting" job is rejected with an error message and vice versa. The functions
do not override one another.
Parameters
The following table shows the parameters of Motion Control instruction
"MC_TorqueLimiting":
See also
Fixed stop detection (Page 61)
Force/torque limiting (Page 59)
Section "Error detection Motion Control instructions" of the documentation "S7-1500/S7-
1500T Motion Control Overview".
(https://support.industry.siemens.com/cs/ww/en/view/109766459)
At time ①, an "MC_Halt" job (A2) is executed on an axis with active torque limiting
"MC_TorqueLimiting" (A1). Torque limiting is still active ("MC_TorqueLimiting.Enable" =
TRUE) and any accumulated following error is retained and will be reduced with the time.
When the actual velocity is "0.0" and the minimum dwell time in the standstill window has
elapsed, the tag "MC_Halt.Done" shows = TRUE. When position monitoring is activated,
reaching of the target position is also monitored.
Positioning tolerance
7.16.1 Override response V5: Homing and motion jobs (S7-1500, S7-1500T)
The following table shows how a new Motion Control job affects active homing and motion
jobs:
Note
Fixed stop
With an active force and torque limitation with "MC_TorqueLimiting", running jobs are
aborted if the drive is held at the fixed stop with "InClamping" = TRUE.
Note
Fixed stop
With an active force and torque limitation with "MC_TorqueLimiting", running jobs are
aborted if the drive is held at the fixed stop with "InClamping" = TRUE.
Access to the tags is with "<TO>.<tag name>". The placeholder <TO> represents the name
of the technology object.
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Tag
Legend (Page 276)
Tags
Legend (Page 276)
Tag
Legend (Page 276)
Tags
Legend (Page 276)
Tag
Legend (Page 276)
Tags
Legend (Page 276)
Tags
Legend (Page 276)
Access to the tags is with "<TO>.<tag name>". The placeholder <TO> represents the name
of the technology object.
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
100.0%
• Non-isochronous drive connection via PROFIdrive:
0.0 to 100.0%
• Analog drive connection:
0.0 to 100.0%
EnableDSC BOOL - RES Dynamic Servo Control (DSC)
FALSE DSC disabled
TRUE DSC activated
DSC is only possible with one of the following
PROFIdrive telegrams:
• Standard telegram 5 or 6
• SIEMENS telegram 105 or 106
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tag
Legend (Page 293)
Tags
Legend (Page 293)
Tags
Legend (Page 293)
Tag
Legend (Page 293)
Tags
Legend (Page 293)
Tag
Legend (Page 293)
Tags
Legend (Page 293)
Tag
Legend (Page 293)
Access to the tags is with "<TO>.<tag name>". The placeholder <TO> represents the name
of the technology object.
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tags
Legend (Page 329)
Tag
Legend (Page 329)
Tag
Legend (Page 329)
Tags
Legend (Page 329)
Tag
Legend (Page 329)
Tags
Legend (Page 329)
Status Description
S1 Switching on inhibited (drive off, brake closed if necessary)
S2 Ready for power-up
S3 Switched on (drive switched on, release brake if necessary)
S4 Operation (drive released, brakes released if necessary)
S5 Switching off (braking with drive-defined ramp)
Additional information
For more information about the PROFIdrive state machine, refer to Siemens Industry Online
Support in the FAQ entry 109770665
(https://support.industry.siemens.com/cs/ww/en/view/109770665).
① • "StopMode" = 0
A.4.1.4 Alarm reactions with braking ramp via the technology object (S7-1500, S7-1500T)
Function chart: Enabling a technology object and occurrence of a technology alarm with braking ramp
via the technology object
The axis is braked with the deceleration in the Motion Control instruction.
• Stop with maximum dynamic values (<TO>.ErrorDetail.Reaction = 2)
Function chart: Enabling a technology object and occurrence of a technology alarm with alarm
reaction "Remove enable"
① • "StopMode" = 0
A.4.2.3 Alarm reactions with braking ramp via the technology object (S7-1500, S7-1500T)
Function chart: Enabling a technology object and occurrence of a technology alarm with braking ramp
via the technology object
The axis is braked with the deceleration in the Motion Control instruction.
• Stop with maximum dynamic values (<TO>.ErrorDetail.Reaction = 2)
Function chart: Enabling a technology object and occurrence of a technology alarm with alarm
reaction "Remove enable"
Axis type
The axis type differs depending on the unit of measurement according to which the axis is
positioned.
Depending on the execution of the mechanics, an axis is implemented as a linear axis or
rotary axis:
● For linear axes, the position of the axis is specified as a linear measure, e.g. millimeters
(mm).
● For rotary axes, the position of the axis is specified as an angular measure, e.g. degrees
(°).
Drive
The combination of motor (electric or hydraulic), actuator (converter, valve), control system,
measuring system and supply (infeed, accumulator).
Following error
The following error is the difference between the position setpoint and the actual position
value. The transmission times of the setpoint to the drive, and of the actual position value to
the controller, are taken into account in the calculation of the following error.
GSD file
As a Generic Station Description, this file contains all properties of a PROFINET or
PROFIBUS device that are necessary for its configuration.
Homing
With homing, you create the relationship between the position in the technology object and
the mechanical position of the axis. The position value in the technology object is assigned
to a homing mark at the same time. This homing mark represents a known mechanical
position.
Incremental encoder
Position encoder which outputs the position change incrementally in the form of a digital
numerical value.
Kv factor
Gain factor of the position controller
Master value
Input value for synchronous operation
Override
Percentage correction of the velocity/speed
PROFIdrive
PROFIdrive is a profile specified by the PNO (PROFIBUS user organization) for PROFIBUS
DP and PROFINET IO for speed- and position-controlled drives.
PROFIdrive frame
Frame for communication according to PROFIdrive.
Relative gearing
Function corresponds to the Motion Control instruction MC_GearIn.
Restart
The technology object is reinitialized with the current configuration parameters.
Synchronization
The phase of the following axis to reach synchronous movement.
Synchronous operation
Defined synchronous movement after synchronization of a following axis to a leading axis.
Technology alarm
If an error occurs at a technology object (e.g. approaching a hardware limit switch), a
technology alarm is triggered and indicated.
The impact of a technology alarm on the technology object is specified by the alarm reaction
(e.g. remove enable). The alarm reaction is specified by the system.
Zero mark
Position reference for the movement of rotary and linear incremental encoders. The zero
mark of an incremental encoder is used as a homing mark, for example.
A F
Absolute actual value, 31, 32 Fixed stop, 84
Absolute encoder adjustment, 66 Following error monitoring, 89, 90, 91, 143
Absolute value adjustment, 85
Active homing, 66, 70, 73, 75, 135
Additive setpoint torque, 62 H
Axis control panel, 164, 168
Hardware limit switches, 49, 49, 128
Axis type, 22
Hardware limit switches, 49, 49, 128
Home position, 67
Homing, 84
C
Homing mark, 67
Closed loop position control, 93, 94, 96, 145, 146, 162
Closed-loop control, 93, 94, 96, 145, 146, 162
I
Incremental actual value, 31, 32
D
Direct homing, 66, 83
Direction reversal at the hardware limit J
switch, 68, 77, 136
Jerk limit, 54, 125, 130
Disable axis
Stop, 241
DSC (Dynamic Servo Control), 93, 94, 96, 145
L
Dynamic default values, 54, 125
Dynamic Servo Control (DSC), 93, 94, 96, 145 Leadscrew pitch, 47, 48, 121
Limit switches, 49, 49, 51, 128
Limits for dynamics, 54, 130
E Linear axis, 22
Load gear, 47, 48, 121
Emergency stop deceleration, 56, 126
Encoder connection
S7-1500 Motion Control, 112
M
S7-1500T Motion Control, 112
Encoder mounting type, 47, 48, 121 Master control, 164
External encoder MC_Halt, 206, 209
Basics, 20 MC_Home, 200
Configuration, 148 MC_MotionInPosition, 255, 257
Diagnostics, 188, 190, 190 MC_MotionInVelocity, 251, 253
Functions, 15 MC_MoveAbsolute, 211, 214
Tags, 329 MC_MoveJog, 227, 231
MC_MoveRelative, 216, 219
MC_MoveSuperimposed, 233, 236
MC_MoveVelocity, 221, 225
MC_Power, 191, 196
MC_Reset, 197
MC_SetAxisSTW, 247
T
Tags
Closed-loop control, 96
Drive and encoder connection, 45
Homing, 87
Mechanics, 48
Motion control and limits for dynamics, 64
Position monitoring functions, 91
Positioning axis technology object, 293
Speed axis technology object, 276
Technology object external encoder, 329
Traversing range limitation, 52
T-CPU, 15
Technology data block
Tags of the positioning axis technology object, 293
Tags of the speed axis technology object, 276
Tags of the technology object external encoder, 329
Technology object
External encoder, 15, 20, 148, 188, 190, 190
Positioning axis, 15, 19, 108, 182, 186, 187
Speed axis, 15, 18, 97, 177, 180, 181
Synchronous axis, 186, 187
Torque limits, 63
Torque setpoint, 62
Traversing range limitation, 49, 49, 51, 52, 128
V
Velocity precontrol, 93
Velocity profile, 54
Z
Zero mark, 67