Professional Documents
Culture Documents
SIMATIC S7-Technology (PDFDrive)
SIMATIC S7-Technology (PDFDrive)
Preface,
Contents
Technology objects 3
Configuration 4
S7-Technology
Programming 5
Manual
Technology functions 6
Technology DBs 7
Download, testing and
diagnostics 8
Appendix A
Index
Edition 12/2005
A5E00251798-04
Safety Guidelines
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 to property damage only have no safety alert symbol. The
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
! with a safety alert symbol indicates that minor personal injury can result if proper precautions are not
taken.
Caution
without a safety alert symbol indicates that property damage can result if proper precautions are not
taken.
Notice
indicates that an unintended result or situation can occur if the corresponding notice is not taken into
account.
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 device/system may only be set up and used in conjunction with this documentation. Commissioning
and operation of a device/system may only be performed by qualified personnel. Within the context of
the safety notices in this documentation qualified persons are defined as persons who are authorized to
commission, ground and label devices, systems and circuits in accordance with established safety
practices and standards.
Prescribed Usage
Note the following:
Warning
! This device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the 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.
Siemens AG
A5E00251798-04 Copyright © Siemens AG 2005
Automation and Drives
12/2005 Technical data subject to change
Postfach 4848
90437 NÜRNBERG
GERMANY
Preface
S7-Technology
A5E00251798-04 iii
Preface
Manual Purpose
Getting Started
CPU 317T-2 DP: Controlling a SINAMICS S120 The example used in these Getting
CPU 317T-2 DP: Controlling a physical axis Started manuals guides you through the
CPU 317T-2 DP: Controlling a virtual axis various steps in commissioning required
to obtain a fully functional application.
CPU Data Reference Manual
CPU Data: CPU 315T-2 DP Description of the operation, functions
CPU Data: CPU 317T-2 DP and technical specifications of the
CPU 315T-2 DP and CPU 317T-2 DP
Manual
S7-Technology Describes the various technological
In this manual you find: functions:
• Applications and usage
• Basics and configuration
• Download, testing and diagnostics
• PLCopen functions
Product Information Describes how to connect and
commission the SIMOVERT Master drive
Connecting SIMOVERT MASTERDRIVES MC to MC to the CPU 317T-2 DP.
the Technology CPU
Product Information
S7-Technology
iv A5E00251798-04
Preface
Further Support
If you have any technical questions, please get in touch with your Siemens
representative or responsible agent.
You will find your contact person at:
http://www.siemens.com/automation/partner
You will find a guide to the technical documentation offered for the individual
SIMATIC Products and Systems here at:
http://www.siemens.com/simatic-tech-doku-portal
The online catalog and order system is found under:
http://mall.automation.siemens.com/
Training Centers
Siemens offers a number of training courses to familiarize you with the
SIMATIC S7 automation system. Please contact your regional training center or
our central training center in D 90327 Nuremberg, Germany for details:
Telephone: +49 (911) 895-3200.
Internet: http://www.sitrain.com
Technical Support
You can reach the Technical Support for all A&D products
• Via the Web formula for the Support Request
http://www.siemens.com/automation/support-request
• Phone: + 49 180 5050 222
• Fax: + 49 180 5050 223
Additional information about our Technical Support can be found on the Internet
pages http://www.siemens.com/automation/service
S7-Technology
A5E00251798-04 v
Preface
S7-Technology
vi A5E00251798-04
Contents
S7-Technology
A5E00251798-04 vii
Contents
S7-Technology
viii A5E00251798-04
Contents
S7-Technology
A5E00251798-04 ix
Contents
S7-Technology
x A5E00251798-04
Contents
5 Programming 5-1
5.1 Time model of CPU 31xT ................................................................................. 5-1
5.2 Cycles of the Technology CPU......................................................................... 5-6
5.3 Runtime and programming model .................................................................. 5-10
5.4 Monitoring busy commands............................................................................ 5-13
5.5 Fast start of axis commands........................................................................... 5-15
5.6 Errors and warnings at the technology function ............................................. 5-16
5.7 Errors at the MCDevice & Trace technology DBs .......................................... 5-17
5.8 Errors and warnings at the axes & external encoders technology DB ........... 5-18
5.9 Errors and warnings at the cam disk & measuring sensor
& cam technology DB ..................................................................................... 5-19
5.10 Behavior of Virtual Axes ................................................................................. 5-20
5.11 Symbolic programming with FC 400 "DB2INT" .............................................. 5-21
5.12 Programming axis-specific parameter changes ............................................. 5-22
6 Technology functions 6-1
6.1 Overview........................................................................................................... 6-1
6.1.1 Overview - Programming .................................................................................. 6-1
6.2 Technology functions - Single axis ................................................................... 6-3
6.2.1 FB 401 MC_Power - Enable / disable axis ....................................................... 6-3
6.2.2 FB 403 MC_Home - Axis homing / setting ..................................................... 6-13
6.2.3 FB 404 MC_Stop - Stop axes / prevent new motion commands ................... 6-22
6.2.4 FB 405 MC_Halt - Normal stop ...................................................................... 6-27
6.2.5 FB 409 MC_ChangeDataset - Changing the data set.................................... 6-32
6.2.6 FB 410 MC_MoveAbsolute - Absolute positioning ......................................... 6-39
6.2.7 FB 411 MC_MoveRelative - Relative positioning ........................................... 6-53
6.2.8 FB 412 MC_MoveAdditive - Additive positioning to current target position ... 6-67
6.2.9 FB 413 MC_MoveSuperImposed - Superimposed positioning ...................... 6-73
6.2.10 FB 414 MC_MoveVelocity - Moving with speed preset.................................. 6-80
6.2.11 FB 415 MC_MoveToEndPos - Move to mechanical end stop / clamping ...... 6-90
6.2.12 FB 437 MC_SetTorqueLimit - Enable / disable torque reduction................... 6-98
6.2.13 FB 439 MC_SetCharacteristic - Activating a valve profile............................ 6-102
6.3 Technology functions - Gear / cam Synchronism......................................... 6-106
6.3.1 FB 420 MC_GearIn - Start gear synchronization ......................................... 6-106
6.3.2 FB 422 MC_GearOut - End gear synchronization........................................ 6-116
6.3.3 FB 440 MC_GearInSuperImposed -
Start superimposing gear synchronism ........................................................ 6-121
6.3.4 FB 442 MC_GearOutSuperImposed -
Terminate superimposing gear synchronism................................................ 6-133
6.3.5 FB 421 MC_CamIn - Start cam synchronization .......................................... 6-138
6.3.6 FB 423 MC_CamOut - End cam synchronism ............................................. 6-154
6.3.7 FB 441 MC_CamInSuperImposed -
Start superimposing cam synchronism......................................................... 6-159
6.3.8 FB 443 MC_CamOutSuperImposed-
Terminate superimposing cam synchronism ................................................ 6-168
6.3.9 FB 424 MC_Phasing - Change phase shift between master
and slave axes.............................................................................................. 6-172
6.3.10 FB 444 MC_PhasingSuperImposed - Change superimposing phase shift .. 6-177
6.4 Technology functions - Cam disks................................................................ 6-185
6.4.1 FB 434 MC_CamClear - Deleting cams ....................................................... 6-185
6.4.2 FB 435 MC_CamSectorAdd - Adding cam segments .................................. 6-188
6.4.3 FB 436 MC_CamInterpolate - Interpolating cams ........................................ 6-196
6.4.4 FB 438 MC_GetCamPoint - Reading points from the cam disk ................... 6-203
S7-Technology
A5E00251798-04 xi
Contents
S7-Technology
xii A5E00251798-04
Contents
S7-Technology
A5E00251798-04 xiii
Contents
A Appendix A-1
A.1 Application samples..........................................................................................A-1
A.1.1 Example of "Positioning with target sensor" .....................................................A-1
A.1.2 Example of "Flying shears"...............................................................................A-3
A.1.3 Example of "Gripper feed" ................................................................................A-5
A.2 Queries, Tips & Tricks ......................................................................................A-7
A.2.1 How to utilize the new performance features ...................................................A-7
A.2.2 How to replace the Technology CPU with a different type ...............................A-8
A.2.3 Identifying firmware versions ..........................................................................A-10
A.2.4 How to upgrade the firmware of CPU 31xT-2 DP ..........................................A-11
A.2.5 How to upgrade the firmware of the integrated technology............................A-12
A.2.6 How to convert the technology .......................................................................A-14
A.2.7 How to convert the technology and upgrade the technology packages.........A-16
A.2.8 How to recreate the technology DBs ..............................................................A-20
A.2.9 What to download to the PLC after a migration..............................................A-23
A.2.10 How to analyze an older project using S7-Technology ..................................A-24
A.2.11 How to change an older project using S7-Technology...................................A-26
A.2.12 What to observe in "Save as" with reorganization..........................................A-28
A.2.13 Why do some system DBs have a different online / offline time stamp? .......A-28
A.2.14 Why does the number of system DBs differ in the online and offline view?...A-29
A.2.15 STEP 7 reports "Out of memory space" .........................................................A-29
A.2.16 The CPU goes into STOP sporadically as a result of time-out.......................A-29
A.2.17 Errors occur when the "Save and compile all" function is executed
for the technology data ...................................................................................A-30
A.3 Expert list ........................................................................................................A-31
A.3.1 Using the Expert list........................................................................................A-31
A.3.2 Settings Axes..................................................................................................A-34
A.3.2.1 Assigning interpolator cycle 2.........................................................................A-34
A.3.2.2 Torque settings ...............................................................................................A-35
A.3.3 Monitoring .......................................................................................................A-36
A.3.3.1 Encoder monitoring functions .........................................................................A-36
A.3.3.2 Encoder limit frequency monitoring ................................................................A-36
A.4 Technology parameter....................................................................................A-37
A.4.1 List of technology parameters ........................................................................A-37
A.4.2 List of DINT values for technology parameters ..............................................A-65
A.5 Additional information on the Internet.............................................................A-73
A.5.1 Additional information on the Internet.............................................................A-73
Index Index-1
S7-Technology
xiv A5E00251798-04
1 What's new in S7-Technology
Hydraulic axes
Version 3.0 of S7-Technology supports the creation of hydraulic axes. You can use
these to control proportional directional valves, and thus control the flow direction
and volume of the hydraulic axis.
Hydraulic axes can be created using the "velocity control", "positioning" or
"synchronism" technology. The non-linearity of the hydraulic drive is recorded and
compensated by the integrated technology using a valve profile (implemented by
means of a "Cam disk" technology object.). The valve profile is activated by calling
the new technology function "MC_SetCharacteristic."
Technology DB update
We speak of an "overflow" situation when a new technology DB update is initiated
while a previous update cycle is not yet completed. Up to firmware V3.1.x of the
integrated technology, the CPU will go into STOP when a technology DB update
overflow is detected. Starting with V3.2.x of the integrated technology, such an
overflow will be tolerated, the non-executable update is discarded, and technology
synchronization interrupt OB 65 ill not be called.
S7-Technology
A5E00251798-04 1-1
What's new in S7-Technology
S7-Technology
1-2 A5E00251798-04
2 Application and usage
The Technology CPU is totally integrated into the SIMATIC system, and thus into
the TIA environment. It demonstrates its high performance in particular in the field
of coupled motion operations.
S7-Technology
A5E00251798-04 2-1
Application and usage
In addition to the optional "S7-Technology" software package, you can also use the
software product shown below:
S7-Technology
2-2 A5E00251798-04
Application and usage
S7-Technology
A5E00251798-04 2-3
Application and usage
DP V0 slaves on DP(DRIVE)
In addition to ET 200M and ET 200S, you can operate further I/O as DP V0 slave
on DP(DRIVE). However, some restrictions apply.
• Interrupts are not supported
• DP V0 slaves can not always be operated in isochronous mode on DP(DRIVE)
• Longer reaction times must b expected
S7-Technology
2-4 A5E00251798-04
Application and usage
S7-Technology
A5E00251798-04 2-5
Application and usage
The hardware components of a Motion Control solution with a Technology CPU are
shown in the figure below:
Technology CPU
The control unit of the Technology CPU can handle all tasks of a standard CPU of
the S7-300 family. The integrated technology controls, evaluates and monitors all
hardware components which are connected to DP(DRIVE), and are required for
solving Motion Control tasks. The Technology CPU is equipped with four integrated
digital inputs and eight digital outputs which should be used primarily for Motion
Control tasks.
MPI/DP
The MPI/DP interface is used to connect additional SIMATIC components, such as
a PG, OP, S7 controller and distributed IO. It can be used to create extensive,
large-area networks when operated as DP interface.
S7-Technology
2-6 A5E00251798-04
Application and usage
DP(DRIVE)
The 317T-2 DP CPU operates the PROFIBUS interface DP(DRIVE) in clock-
synchronized mode. All HW components addressed by the integrated technology
must be present on the DP(DRIVE) system. This includes component of the
MICROMASTER, SIMODRIVE, MASTERDRIVES, SINAMICS families and the
SIMODRIVE Sensor.
S7-Technology
A5E00251798-04 2-7
Application and usage
SIMATIC STEP 7
STEP 7 is the platform for configuring and programming the Technology CPU. All
engineering tools required are called in SIMATIC Manager of STEP 7.
SIMATIC S7-Technology
SIMATIC S7-Technology is an optional software package you need to configure
Motion Control functionality of your Technology CPU. Setup fully integrates
SIMATIC S7-Technology into the STEP 7 system. Setup installs the following tools
alongside with S7-Technology:
• Technology Objects Management
• S7-Tech library
• S7T Config, including STARTER
LAD/FBD/STL
You program the user program and Motion Control commands in the
LAD/FBD/STL block editor. In your user program, read out the actual values of
your Motion Control application, and analyze the messages and error information.
S7-Tech library
S7-Tech is a library of PLCopen-compliant technology functions you call in the user
program as FB. These are used to control your Motion Control commands.
S7T Config
In S7T Config, you configure the technology objects you require to solve your
Motion Control task. S7T Config contains the STARTER code for drives of the
MICROMASTER and SINAMICS family.
CamTool (optional)
SCOUT CamTool can be ordered separately and can be used to create cam disks
on a comfortable graphic interface.
HW Config
HW Config is used to configure the hardware of your Technology CPU, and the
subnets connected to DP/MPI and DP(DRIVE) interfaces.
S7-Technology
2-8 A5E00251798-04
Application and usage
Technology DBs
Technology DBs can be used in the user program to read the actual data of
technology objects such as the actual values and status of an axis, or error
information.
Technology functions
The PLCopen-compliant technology functions are called in the user program of the
PLC. Technology functions form the command interface to technology objects. The
output parameters of technology functions can be made available in the user
program to control the status of Motion Control tasks.
Technology objects
Physical drives are mapped to technology objects which describe their properties.
Each technology object is maps itself to a technology DB in the STEP 7 user
program where it indicates its status. Technology objects can be interconnected
and logically linked to hardware components. All technology objects such as axes,
cam disks, cam runners, measuring sensors or external encoders are configured in
S7T Config.
S7-Technology
A5E00251798-04 2-9
Application and usage
Technology functions and technology DBs form the user interface to the integrated
technology. Their tasks are shown in the figure below:
S7-Technology
2-10 A5E00251798-04
Application and usage
Technology functions
All Motion Control jobs are initiated at the Technology CPU using the Technology
functions. The integrated technology executes all commands in the order by which
they are initiated by the PLC.
Motion Control commands address the technology objects you configured in
S7T Config. Technology objects are addressed using the number of the
corresponding technology DB.
The commands are initiated by a signal transition (positive edge) at the Execute or
Enable input parameters. The output parameters of the technology functions
provide ready and abort messages of the command, or error messages if a
command could not be initiated.
Technology DB
The integrated technology writes the process values of the technology object to the
assigned technology DB. This includes status and error messages output during
command execution and are also written to the technology DB.
The technology DBs of the automation system are not always retentive and write-
protected, irrespective of their set object properties.
MCDevice DB
The status of the integrated technology is mapped to the MCDevice technology
DB. This DB contains information on the maximum and average execution times of
Motion Control commands and errors in the integrated technology.
In addition, MCDevice offers you the option of indicating the status of the integrated
I/O and 32 done messages (DoneFlags) of some of the technology functions.
Define which done messages are indicated at the DoneFlag input parameter of the
technology function.
Trace DB
The TraceTool function of S7T Config is tool for the graphic analysis of system
parameters and process values.
In addition to the system parameters of the integrated technology, you can record
up to 8 variables of the S7 user program (2 x DINT values, 2 x DWORD values and
4 x REAL values.). Here, the Trace technology DB forms the interface between the
PLC and the integrated technology.
S7-Technology
A5E00251798-04 2-11
Application and usage
S7-Technology
2-12 A5E00251798-04
3 Technology objects
Axis technologies
Configure the "Axis" technology object as "Velocity-controlled axis", "Positioning
axis" or "Synchronization axis". The various axis technologies differ according to
the functions provided at the axis.
S7-Technology
A5E00251798-04 3-1
Technology objects
In simulation mode, all axes must be connected and fully functional. An axis is
simulated internally by setting the actual values equal to the setpoint values. In
simulation mode, the following error is always zero.
S7-Technology
3-2 A5E00251798-04
Technology objects
You can set two different types of axes in your axis configuration. The axis type
(linear or rotary, each also as modulo axis) is in essence determined by
mechanical conditions and by the units in which the axis-specific variables are
computed, for example, the position or velocity.
• Linear axes
Linear axes are usually configured where the traversing range is mechanically
limited. The position profile is linear within the traversing range. Basic physical
units of the motions are the length units such as millimeter.
• Rotary axes
Rotary axes are usually configured for a rotary motion range. The traversing
range is not limited mechanically. Basic physical units of the motions are rotary
units such as degrees. Rotary axes are usually also configured for operation as
modulo axis.
Linear and rotary axes can be configured for operation as modulo axes. In this
case, the axis position is defined (reference and actual values) within a range
which is determined by the modulo start value, as the low limit, and by the modulo
start value plus modulo length as high limit.
Example: A rotary axis with a traversing range from 0° to 360°" has a modulo start
value of 0°, and a modulo length of 360°. The axis position is reset to 0° when it
reaches its high limit (360°. When it passes the low limit (0°), the axis position is
set to the modulo start value plus the modulo length (360°). The position profile is
linear within the modulo length.
Note
The position value increments continuously when linear or rotary axes are
operated as modulo axes, and if driven only in one direction
The variables representing the setpoint and actual position values are of the data
type REAL, at a resolution of 23 binary digits (mantissa). The effect is, that the axis
positioning accuracy deteriorates with increasing position values. Hence, you
should preferably use modulo axes for infinite axis mode, or reset the position to
zero at appropriate times.
S7-Technology
A5E00251798-04 3-3
Technology objects
S7-Technology
3-4 A5E00251798-04
Technology objects
S7-Technology
A5E00251798-04 3-5
Technology objects
A variable speed pump controls the flow volume (Q) for cylinder movements. The
Technology CPU handles the control of the variable capacity pump by setting an
analog output at DP(DRIVE). The control of 4/3 switching directional valves must
be handled in the user program by setting digital outputs. An encoder can be used
to return the cylinder position.
This variable speed pump control mode only allows the Technology CPU to control
die hydraulic axis in one direction, as velocity-controlled, or speed controlled, or
synchronization-controlled axis. The reversal of direction by setting the 4/3
switching directional valves, and the activation of separate valve profiles, must be
handled by the user program.
The example shows that a single hydraulic axis (variable speed pump) can be used
alternatively to control several cylinders or hydraulic drives. in this case, use a
separate pair of valve profiles for each hydraulic drive for the shared axis.
S7-Technology
3-6 A5E00251798-04
Technology objects
Note
Hydraulic axes are real axes with valve profile.
S7-Technology
A5E00251798-04 3-7
Technology objects
The "Axis" technology object forms the interface between the user program and the
drive. It receives motion control commands from the user program in the PLC, and
then executes and monitors their runtime.
The axis communicates on the PROFIBUS with the drive that contains the velocity
and power controller.
Drives are configured and commissioned separately from the axis.
Note
An axis can only execute the functions the connected drive actually supports.
Available functions, for example, operation with SIMODRIVE 611U or
MASTERDRIVES MC, are described in the drive documentation; see also the
relevant product descriptions.
S7-Technology
3-8 A5E00251798-04
Technology objects
In terms of its effect, we distinguish two different types of motion in the Technology
CPU:
• Basic motion
• Superimposed motion
The Technology CPU uses a base coordinate system and a superimposing
coordinate system to calculate the motion. Superimposing motions return the
following scenario:
S7-Technology
A5E00251798-04 3-9
Technology objects
The vectors of the coordinate systems are indicated as system variable at the axis.
Values of the base coordinate system at the axis:
• basicmotion.position
• basicmotion.velocity
• basicmotion.acceleration
Values of the superimposing coordinate system at the axis:
• superimposedmotion.position
• superimposedmotion.velocity
• superimposedmotion.acceleration
S7-Technology
3-10 A5E00251798-04
Technology objects
Cumulative coordinates:
• positioningstate.commandposition: Position setpoint (total)
• motionstatedata.commandvelocity: Velocity setpoint (total)
• motionstatedata.commandacceleration: Acceleration setpoint (total)
Only one basic motion and one superimposing motion may be active at the axis at
any given time. A superimposing may also be active without any active basic
motion.
S7-Technology
A5E00251798-04 3-11
Technology objects
3.1.7 Homing
Note
Whether motion commands with absolute destination coordinates can only be
executed in homed state is depends on the axis configuration. Motion commands
with relative position setting (MC_MoveRelative) can always be executed at an
axis which is not homed.
The homing of axes with incremental is retained when the CPU goes into STOP -
the homing is lost after POWER OFF.
After an axis is reinitialized (restart) , it must be homed again when an incremental
measuring system is used.
Homing modes
• Active homing
In active homing, the technology function "MC_Home" performs the required
reference point approach. Any active motions will be canceled for this
operation. The following homing modes can be set in S7T Config:
- Homing cam and encoder zero mark
- Encoder zero mark only
- External zero mark only
• Passive homing
In active homing, the technology function "MC_Home" does not initiate a
reference point approach. Any busy motion commands are not affected. The
"reference point approach" required must be implemented using external
functions, or in the user program.
Homing modes supported in the configuration in S7T Config:
- Homing cam and encoder zero mark
- Encoder zero mark only
- External zero mark only
- Default setting
S7-Technology
3-12 A5E00251798-04
Technology objects
• Direct homing
The axis position will be set without making allowances for homing cams or
zero marks. When the axis is to be homed at a precise mechanical position,
the axis must be at a zero velocity during the process.
• Adjusting the position value
An offset value is deducted from the current axis position value. Current
motions and homing are not influenced by this setting.
• Correcting the internal axis coordinate system
An offset value is deducted from the actual position value of the base or
superimposing coordinate system. Current motions and homing are not
influenced by this setting.
Note
Device-specific properties
When homing with reference cam and encoder zero mark, the reference cam can
be connected to the integrated inputs of the CPU or to a slave on DP(DRIVE).
When homing with "external zero mark only", the external zero mark must be
connected to the input device where the encoder is also registered, for example, at
the drive or at ADI4.
For further information on device-specific conditions and additional parameter
settings, refer to the supplementary information on SIMODRIVE 611U,
MASTERDRIVE-MC, SINAMICS S120 or ADI4 on the CD-ROM for your product
and to the equipment manuals.
S7-Technology
A5E00251798-04 3-13
Technology objects
Offset by absolute
value encoder Correction in runtime
adjustment (MC_Home: Mode 3, 4)
(permanent)
S7-Technology
3-14 A5E00251798-04
Technology objects
Introduction
You can create several axis data records to change controller parameters or toggle
motor encoder mode to machine encoder mode while the system is in run, for
example.
The axes listed below support multiple data records:
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Note: Virtual axes always have only one data record.
Configuration
Create the date record in your axis configuration in S7T Config, and configure it in
the axis wizard. Use the "MC_ChangeDataset" technology function to change the
data record in RUN.
S7-Technology
A5E00251798-04 3-15
Technology objects
Technology functions
Technology functions available for the technology object:
S7-Technology
3-16 A5E00251798-04
Technology objects
Technology functions
Technology functions available for the technology object:
S7-Technology
A5E00251798-04 3-17
Technology objects
The figure below shows the block diagram of a positioning axis with position
control:
The controller, monitoring function and compensation are active when position
control is active. The monitoring functions are disabled in certain modes, for
example, position-based monitoring functions in torque or pressure limiting.
All compensation can be activated / deactivated.
When position control is inactive, the encoder systems, actual value calculation
and monitoring functions are active on actual value side. Compensating functions
are ignored.
System variable servomonitoring.controlstate indicates whether or not position
control is active.
The substitution time of the position controlled is required to generate the setpoint
when the system changes from velocity to position control mode. You set this in the
configuration of dynamicData.positionTimeConstant (electrical axis) or in
dynamicQFData.positionTimeConstant (hydraulic functionality.)
S7-Technology
3-18 A5E00251798-04
Technology objects
Recommendation
How the controller with bias control should be used:
• P-action controller with bias control for the electrical axis
• DSC to improve control performance (higher kv values) of digitally coupled
drives (only for P-action controller with bias control)
• PID-action controller for hydraulic axes (the actual value can be set directly at
the D-action element)
S7-Technology
A5E00251798-04 3-19
Technology objects
Symmetry filters
The symmetry filter serves to delay the setpoints by the value of the process
transition time, before these are compared with the actual value and, multiplied by
the position control gain factor, returned to the process.
When bias control is active, the process reaction prior to the generation of the
control error derived from the position setpoint and position actual value can be
included in the symmetry filter.
• A PT1 filter is used as symmetry filter in the settings of configuration parameter
balanceFilterMode = MODE_1. For an electrical axis, its time constant is
defined in dynamicData.velocityTimeConstant , or for a hydraulic axis in
dynamicQFdata.qOutputTimeConstant.
• When you set configuration parameter balanceFilterMode = MODE_2 (as of
V3.1), include the substitution time of the velocity control loop, and the dead
time of the drive as calculated by the system, and a user-specific additive dead
time in the symmetry filter.
• In a setting with DSC, the substitution time of the velocity control loop is
included.
It is advisable to use the balanceFilterMode = MODE_2 setting for the symmetry
filter.
Note
If the axis was moved with setpoint superimposition, it is not possible to return to
normal position-controlled mode at once, i.e., setpoint superimposition will have to
be reduced to zero in the first step.
At a positioning axis, the superimposed value influences the position. This also
applies to an active position control and interpolator in tracking mode.
S7-Technology
3-20 A5E00251798-04
Technology objects
A PT2 response can be achieved by wiring two PT1 elements in series, and thus
prevent any overshoot.
Note
Set T1 unequal T2
S7-Technology
A5E00251798-04 3-21
Technology objects
S7-Technology
3-22 A5E00251798-04
Technology objects
In a position control loop with DSC (Dynamic Servo Control), the system calculates
the position controller and the velocity controller at the drive. t
This allows you to define significantly higher gain factors (Kv) for the position
controller. The position and velocity controller parameters are calculated within the
same cycle, i.e. the position controller parameters are calculated at the same
speed as its cascaded control loop (velocity controller).
The amount by which the actual values are changed are smaller in relation to the
clock. The actual value is more precise and can be controlled with higher precision.
This allows tuning of the controller's low-signal response, i.e., you can set
significantly higher amplification ratios.
The use of DSC allows you to set a higher Kv coefficient for the sampling rates.
This increases the dynamic response to sequential control variables and
compensation of manipulated variables in highly dynamic drives. DSC is supported
by all drives which support telegram 5 or 6, or 105 and 106.
DSC is only useful in P-action mode of the position controller.
Note
The position controller requires tuning, see the chapter "Position controller tuning -
overview" .
S7-Technology
A5E00251798-04 3-23
Technology objects
S7-Technology
3-24 A5E00251798-04
Technology objects
Technology functions
Technology functions available for the technology object:
S7-Technology
A5E00251798-04 3-25
Technology objects
The axis and synchronization object are separate objects, both forming the
synchronization axis.
The "Axis" and synchronization objects influence each other in terms of their
current operating states and effectiveness of commands.
If an error has occurred only at the synchronization object, the following axis can
still continue positioning, but not synchronous operation. In order to avoid this
effect, always acknowledge the errors. Errors at the "Axis" have an immediate
reciprocal effect on synchronization functionality.
Axis stop also triggers the stop of synchronous motion.
Example
A leading axis generates a control value. The synchronization object processes this
value, based on defined criteria (gear ratio, scaling, offset, cam disk) and assigns it
to the following axis as command variable.
Note
The control values and following values are coupled without physical conversion in
the relevant assigned units. If, for example, the leading axis is a linear axis (in mm
units), and the following axis is a rotary axis (in degree units), then one millimeter
is proportional to one degree, at a conversion ratio of 1:1.
S7-Technology
3-26 A5E00251798-04
Technology objects
Synchronization compound
A synchronization compound consists at least of these elements:
• a leading axis which returns the control value.
Leading axes can be formed by real and virtual positioning and synchronization
axes, or external encoders
• A synchronization object
• of a following axis
S7-Technology
A5E00251798-04 3-27
Technology objects
S7-Technology
3-28 A5E00251798-04
Technology objects
Superimposing synchronism
A superimposed synchronized motion has the same effect on the basic motion of
an axis (motion or synchronism) as a superimposed positioning motion.
The interconnection conditions for superimposing synchronism and basic
synchronism are identical. Same as a superimposing synchronization object, you
can also logically link a basic synchronism object with several leading axes or cam
disks.
Rules
The following rules apply to the interconnection:
• Control values can be used in multiple instances. A leading axis can output a
control value to several following axes. Positioning axes, synchronization axes,
virtual axes or external encoders can determine control values.
• The synchronization object can be interconnected with multiple control values
and cams. Allowances must be made in the configuration of the synchronization
object for all combinations required for operation.
• An axis may have up to synchronization objects (basic synchronism and
superimposing synchronism.)
S7-Technology
A5E00251798-04 3-29
Technology objects
3.4.3 Gearing
Response characteristics
The response characteristic for gearing can be expressed as a linear relationship
between the control value and the slave value.
Direction
The gear ratio can be defined as positive or negative value. The resultant
response:
• Positive gear ratio:
The leading and following axis move in the same direction.
• Negative gear ratio:
The leading and following axis move in opposite direction.
S7-Technology
3-30 A5E00251798-04
Technology objects
Position
Slave
Speed
t
Start MC_Home
Relative coupling does not result in a compensating motion, i.e. the offset changes:
Slave Position
Speed
t
Start MC_Home
You set the new axis position at the technology function "MC_Home"
(Mode = 3 or 4).
S7-Technology
A5E00251798-04 3-31
Technology objects
3.4.4 Camming
Response characteristics
The transmission characteristics of camming are determined by a cam disk (y =
f(x)).
MasterOffset SlaveOffset
MasterScaling SlaveScaling
S7-Technology
3-32 A5E00251798-04
Technology objects
S7-Technology
A5E00251798-04 3-33
Technology objects
MasterAbsolute = 1; SlaveAbsolute = 1
In absolute synchronism, the configured cam disk precisely represents the effective
cam disk. The cam disk is not offset in the coordinate system following
value = f(control value.)
During synchronization, the system approaches the cam disk point which is
assigned to the actual master position. No synchronization motion is initiated if the
following axis is already positioned on a cam disk point at the start of cam
synchronization.
Synchronism, relative to the leading axis, and absolute to the following axis
MasterAbsolute = 0; SlaveAbsolute = 1
In cam synchronism relative to the leading axis, the system evaluates system
variable camstartpositionmaster, and set this value as start position for cam
synchronism.
You obtain the effective cam disk if the cam disk is shifted along the abscissa in the
coordinate system following value = f(control value) so that camstartpositionmaster
corresponds with the actual position of the leading axis at the start of cam
synchronism. As synchronism is absolute to the following axis, the axis will not be
shifted on the ordinate of the coordinate system.
During synchronization, the following axis approaches the cam disk following value
which is assigned to camstartposition.
A synchronization motion is not initiated if the following axis has already reached
this position.
S7-Technology
3-34 A5E00251798-04
Technology objects
Synchronism, absolute to the leading axis, and relative to the following axis
MasterAbsolute = 1; SlaveAbsolute = 0
If the configured cam disk is shifted along the ordinate in the coordinate system
following value = f(control value) so that its start position coincides with the actual
following axis position, you will obtain an effective cam disk. As synchronism is
absolute to the leading axis, the axis will not be shifted along the abscissa of the
coordinate system.
During synchronization, the following axis approaches the difference between the
following value and actual leading axis value according to the cam disk definition
and the following value set at the start point of the cam disk. The following axis is
positioned on the point of the effective cam disk which is assigned to the actual
leading axis position.
If the leading axis has reached the start position or a certain point of the cam disk
whose following value corresponds with that of the start position, the axis will not
perform a synchronizing motion.
MasterAbsolute = 0; SlaveAbsolute = 0
In cam synchronism relative to the master, the system evaluates system variable
camstartpositionmaster, and set this value as start position for cam synchronism.
In order to obtain the effective cam disk, the configured cam disk must be shifted
along the abscissa in the coordinate system following value = f(control value) so
that camstartposition is equivalent to the actual leading axis position, and along the
ordinate so that the start position of the cam disk equals the actual following axis
position.
During synchronization, the following axis approaches the cam disk following value
which is assigned to camstartposition.
S7-Technology
A5E00251798-04 3-35
Technology objects
During synchronization, the following axis approaches the difference between the
following value at camstartppositionmaster and the following value at the start
position of the cam disk. The following axis is positioned on the point of the
effective cam disk which is assigned to the actual leading axis position.
A synchronization motion is not initiated if the following axis has already reached
this position.
Note
Any point of the cam can be set as the starting point for camming. This can be the
starting point, termination point, or any point within the cam.
S7-Technology
3-36 A5E00251798-04
Technology objects
You can configure a superimposing synchronism for cam and gearing. This is done
by configuring an additional synchronization object at the synchronization axis.
Cross-referencing synchronization objects is impossible.
Superimposed motion
Relative to the basic motion of an axis (motion or synchronism), a superimposing
synchronism has the same effect as a superimposing positioning motion.
Only one superimposing motion can be applied to an axis at any given time:
• superimposing positioning motion, or
• superimposing synchronism
Superimposing synchronism can thus be active without concurrently active base
motion or base synchronism.
For further information on superimposing motions at an axis, refer to the
corresponding description of the technological functions.
Coordinates
The base synchronization object is referenced to the base coordinates when the
axis operates in absolute synchronism and the slave position is defined.
The superimposing synchronization object is referenced to the superimposing
coordinates when the axis operates in absolute synchronism and the slave position
is defined.
Synchronism with reference to base coordinates and superimposing synchronism
with reference to superimposing coordinates do not influence each other.
The cumulative coordinate is derived from the base and superimposing
coordinates.
S7-Technology
A5E00251798-04 3-37
Technology objects
Monitoring
The output values of a synchronization object (and thus the motion element of
superimposing axis synchronism) can be read from the system variable
currentSlaveData at the synchronization object.
S7-Technology
3-38 A5E00251798-04
Technology objects
The next examples show you the differences between relative and absolute
synchronism.
In cam synchronism the dependency of the following axis position (XF) on the
position of the leading axis (XL) is described by a cam. The next examples always
use the basic cam shown below:
Absolute synchronism:
You configure "absolute synchronism" at technology function "MC_CamIn" using
the following input parameters:
• MasterAbsolute = TRUE
• SlaveAbsolute = TRUE
Absolute synchronism is the simplest use case, as it uses the basic cam. The
assignment is thus defined permanently by the cam. The following axis position is
derived from a certain leading axis position precisely as you can read it from the
trend.
During the activation of synchronous operation, the following axis is moved from its
current position to the position derived from the cam.
S7-Technology
A5E00251798-04 3-39
Technology objects
S7-Technology
3-40 A5E00251798-04
Technology objects
S7-Technology
A5E00251798-04 3-41
Technology objects
The start point of the cam (lowest x value) is relevant in this use case instead of the
system variable effectivedata.cammingsettings.camstartpositionmaster. The cam is
shifted so that its start point is shifted to the actual position of the following axis.
S7-Technology
3-42 A5E00251798-04
Technology objects
The following axis usually has to perform a compensating motion at the start of
synchronism in order to reach the cam point which is assigned to the current
leading axis position. The drawings show this as "motion of the following axis."
S7-Technology
A5E00251798-04 3-43
Technology objects
Technology functions
Technology functions available for the technology object:
S7-Technology
3-44 A5E00251798-04
Technology objects
3.5.1 Normalization
When a cam disk is defined in S7T Config based on segments, the various cam
segments can be provided in a standard form and normalized to factor 1, i.e. the
range of values and the defined range corresponds with the completed interval
[0,1].
Mapping of a physical cam segment to the normalized range
Advantages of normalization
• Motion is clearly defined for similar tasks
• Independent of physical units and ranges of the leading and following axes.
S7-Technology
A5E00251798-04 3-45
Technology objects
A cam disk can be configured for non-cyclic (single operation), cyclic relative (continuous) or
cyclic absolute (return to interpolation point) operation.
If the cam disk is operated in cyclic absolute mode to the following axis, all
successive start and end point values of the cam disk should match.
Any mismatch will cause a step response at the cam disk transition, and thus
trigger synchronization monitoring.
If the cam disk is operated in cyclic relative mode to the following axis, the
successive start and end point values of the cam disk do not have to match.
The system automatically sets the start point value at the end point at the cam disk
transition, and thus prevents any step response.
S7-Technology
3-46 A5E00251798-04
Technology objects
S7-Technology
A5E00251798-04 3-47
Technology objects
Chapter revised
Interpolation of a cam disk is a basic requirement for its use in synchronous cam
operation or as valve profile.
The interpolation performs the following checks and corrections:
• Continuity check in the domain range (range of the leading axis values) and in
the range of values (of the following axis), i.e., the check prevents multiple
assignment of values to a domain value.
• Missing ranges between interpolation points and segment are padded. These
areas are padded according to the interpolation type.
• Missing marginal areas are supplemented. These areas are padded according
to the interpolation and cam disk type.
When interpolation is completed, the domain range of the cam disk is assigned an
unambiguous range of values.
Interpolate the cam disk:
• In S7T Config - alongside with the download of the cam disk to the PLC.
• In the user program - by calling technology function "MC_CamInterpolate".
Continuity check
The system check continuity of the cam disk in the domain and value ranges, and
corrects any discontinuity found.
These faulty areas are analyzed separately for the domain and value ranges, and
evaluated to make a decision on one of the correction options shown below:
• If the absolute value of the spacing between segments exceeds a maximum
value, a correction is made by performing an interpolation between the two
segments. This inserts a new segment according to the defined interpolation
type. The cam disk type is included in this action if a segment is inserted in the
marginal area.
• If the absolute value of the spacing between segments is greater than the
minimum value and less than the maximum value, correction is made by joining
the segment end points. The mean value of the spacing of the function is used
for the correction. The shape of the segments is affected as a result.
S7-Technology
3-48 A5E00251798-04
Technology objects
The maximum value can be set in the "Interpolation" tab when you interpolate
using CamEdit. The "minimum value" corresponds with the entry "ignore gaps",
and the "maximum" with the entry "join point.".
The value 1e-004 is used as minimum and maximum value for the interpolation
using technology function "MC_CamInterpolate." Segment end points can thus only
be joined in an interpolation using CamEdit.
The point of discontinuity is corrected according to the evaluation for the domain
and range of values.
Condition Result
Deviation < minimum Retain discontinuity
Minimum < deviation < maximum Join segment end points
Deviation > maximum Interpolation (new segment)
S7-Technology
A5E00251798-04 3-49
Technology objects
Note
After interpolation, new polynomials or interpolation points can only be added after
resetting the cam with "MC_CamClear."
Interpolation modes
The interpolation type determines the rules for the interpolation of missing ranges.
Interpolation types which can be used:
S7-Technology
3-50 A5E00251798-04
Technology objects
You can select the interpolation type using the technology function
"MC_CamInterpolate", or CamEdit:
Cam type
The cam disk type describes its application and the resultant interpolation of the
points of discontinuity at the edges of the cam disk:
• acyclic: (not continuous at the edge points)
The Technology CPU uses the cam disk as defined, including any discontinuity
at the edges. This also applies when the cam is operated in cyclic mode.
However, the acceleration limits and the inertia of the mechanical system / drive
play a decisive role.
• cyclic absolute: (constant position and velocity at the edge points)
The cam disk is interpolated in such a way that its position and velocity remain
constant at the edges when operating in cyclic mode. The following axis values
and velocities (cam gradients) of the following axis are identical at the cam edge
points.
• cyclic relative: (constant velocity at the edge points)
The Technology CPU calculates the cam disk in such a way that its position and
velocity in cyclic mode remain constant at the edges. The values and velocities
(cam gradients) at the cam edges are identical; the following axis values will not
be calibrated.
When "cyclic absolute" or "cyclic relative" mode are set, the Technology CPU can
only calculate the cam disk if a sufficient distance lies between the first defined
position of the cam disk and the end of the domain range. The same applies to the
first defined position and the start of the domain range.
S7-Technology
A5E00251798-04 3-51
Technology objects
basic Polynomial 1:
polynomials X-min=0.0, X-max=0.5
Y-min=0.0, Y-max=0.5
Polynomial 2:
X-min=0.5, X-max=1.0
Y-min=0.0, Y-max=0.5
The basic cam consists of two polynomials. To be able to interpolate the cam
according to its given interpolation mode (acyclic, cyclic absolute and cyclic
relative), the end of the domain range (range of leading axis values) is extended
from 1.00 to 1.50 in the examples shown in the next section. Within this extended
range, the cam is interpolated according to the interpolation mode set.
Input parameters
"MC_CamInterpolate"
Mode = 0
CamMode = 2
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged; its end
point is extended by
"linear" interpolation
along the coordinate
abscissa
S7-Technology
3-52 A5E00251798-04
Technology objects
Input parameters
"MC_CamInterpolate"
Mode = 0
CamMode = 1
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged; its end
point is extended
relative to its start point
by "linear" interpolation
Interpolation:
linear, cyclic relative
Input parameters
"MC_CamInterpolate"
Mode = 0
CamMode = 0
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged; it is
extended along a linear
coordinate, based on its
initial gradient.
S7-Technology
A5E00251798-04 3-53
Technology objects
Input parameters
"MC_CamInterpolate"
Mode = 1
CamMode = 2
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the
extended domain range
according to the
interpolation mode
Interpolation:
cubic splines
Cyclic, absolute
Input parameters
"MC_CamInterpolate"
Mode = 1
CamMode = 1
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the domain
range according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
S7-Technology
3-54 A5E00251798-04
Technology objects
Result:
The basic cam remains
unchanged. The cam is
extended in the domain
range according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
Result:
The basic cam remains
unchanged. The cam is
extended in the
extended domain range
according to the
interpolation mode
S7-Technology
A5E00251798-04 3-55
Technology objects
Input parameters
"MC_CamInterpolate"
Mode = 2
CamMode = 1
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the domain
range according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
Interpolation:
Bezier splines
Cyclic, relative
Input parameters
"MC_CamInterpolate"
Mode = 2
CamMode = 0
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the domain
range according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
S7-Technology
3-56 A5E00251798-04
Technology objects
Marginal conditions
• Any different values set at StartPoint and EndPoint in the "MC_CamInterpolate"
technology function determine the range of the control values. Any interpolation
points or segments set outside the defined range will be truncated. If the setting
at StartPoint and EndPoint = 0.0, the limits of the non-interpolated cam will be
applied.
• To interpolate the cam disk in CamMode = 0 or CamMode = 1, you should
always set values at StartPoint or EndPoint which extends beyond the range of
the non-interpolated cam. if this condition is not satisfied, it is not possible to
interpolate according to default parameters. Technology function
"MC_CamInterpolate" outputs the warning 0027. If the cam was interpolated in
CamEdit, S7T Config outputs an interrupt.
Example:
The technology function "MC_CamSectorAdd" defines a polynomial in the
domain from 0 to 0.9. To be able to interpolate the cam disk in the edge area
according to given interpolation rules, you should set at least a range from 0 to
1.0 at "MC_CamInterpolate."
• If the cam disk is to be interpolated in "cyclic relative"(CamMode = 0) or "cyclic
absolute" (CamMode = 1) mode, a "linear interpolation" (Mode = 0) does not
make sense. Instead, select "cubic splines" (Mode = 1) or "Bezier splines"
(Mode = 2.)
• If you define several segments by polynomials at technology function
"MC_CamSectorAdd", you should make sure the start point of a polynomial
matches the end point of the partner polynomial, or a sufficient definition gap is
set between the various polynomials. The interpolation will fail otherwise. The
cam disk may show step responses after its interpolation. Any input of partially
overlapping segments will violate and thus prevent the application of given
interpolation rules, and warning 0027 will be output at technology function
"MC_CamInterpolate." The cam disk may produce a step at this position.
• If the cam disk is to be interpolated in "acyclic" mode (CamMode = 2), the
definition ranges of the technology function "MC_CamSectorAdd" (x-min to x-
max) and "MC_CamInterpolate" (StartPoint to EndPoint) should match.
• Valid for cyclic relative interpolation:
The velocity remains constant at the cam transition
V(x-Min) = V(x-Max)
• Valid for cyclic absolute interpolation:
The velocity remains constant and the position is identical at the cam transition.
V(x-Min) = V(x-Max)
Y(x-Min) = Y(x-Max)
S7-Technology
A5E00251798-04 3-57
Technology objects
Interconnections
The "Cam" technology object can be interconnected with the following technology
objects:
• Positioning axes
• Synchronization axes
• External encoders
S7-Technology
3-58 A5E00251798-04
Technology objects
Technology functions
Technology functions available for the technology object:
S7-Technology
A5E00251798-04 3-59
Technology objects
ON range
The definition of the ON range applies to modulo axes with cyclic motion range.
The ON range of position-based cams is defined by the distance between the On
and OFF positions in positive counting direction.
The ON position value is lower than that of the OFF position:
S7-Technology
3-60 A5E00251798-04
Technology objects
Switching response
The switching response of position-based cams is determined by the ON and OFF
positions. An additional effective direction may be defined.
Force direction • when the position lies within • when the position is out of range
the ON range and the of the ON or OFF position
effective direction • when the motion direction is not
corresponds with the motion the same as the set effective
direction direction.
• when the position value is shifted
out of the ON range *
* The position value of the interconnected object may change rapidly when the
object is homed or its coordinate system is shifted.
Inverted output
This function inverts the active and inactive signals of the cam output.
S7-Technology
A5E00251798-04 3-61
Technology objects
Switching response
The switching action of switching cams is determined by the ON and OFF
positions, and by the direction of movement.
Note
The cam is not switched if the axis does not explicitly pass the ON position, e.g. by
setting the actual value.
Note
The cam is switched OFF at the cam activation position, if the motion direction
corresponds with the effective direction, or the cam is enabled by using the
"MC_CamSwitch" technology function.
S7-Technology
3-62 A5E00251798-04
Technology objects
Switching response
Note
Time-based cams can not be retriggered.
Inverted output
When the output is inverted, the time-based cam is active, and is deactivated at the
switching position for the duration of the specified time.
S7-Technology
A5E00251798-04 3-63
Technology objects
Response
The diagram below shows the ON and OFF switching characteristics of cams,
without hysteresis, derivative time or OFF delay:
The switching characteristics are determined only by the position (setpoint position
or actual position).
Effective direction
You can define an effective direction when you enable the cam. The cam is only
switched if the motion corresponds with the set effective direction.
Options available:
S7-Technology
3-64 A5E00251798-04
Technology objects
The diagram below shows the effects of the effective direction (effective direction
Positive)
S7-Technology
A5E00251798-04 3-65
Technology objects
3.6.5 Hysteresis
Mechanical backlash may cause fluctuation of the actual position value, and thus
unwanted transitions of the cam switching state. These unwanted switching states
can be prevented by setting a hysteresis.
The diagram below shows the results of the effective direction (effective direction Positive)
The height of the green hatched area corresponds with the hysteresis.
S7-Technology
3-66 A5E00251798-04
Technology objects
Hysteresis
The high limit of the hysteresis is set to 25% of the modulo axis working range, and
to 25% of the non-modulo axis range. The working range is defined by the software
limit switches. The working range is not limited if a SW limit switch does not exist.
You receive an error message if this maximum is exceeded.
• Hysteresis for position-based cams
The hysteresis is enabled immediately after a reversal is detected. Position-
based cams are switched off when they move out of the hysteresis window.
• Hysteresis for time-based cams
The deactivation response of a time-based cam is determined by the cam
activation time, not by the hysteresis.
The function is set at the input parameter Hysteresis of the technology function
"MC_CamSwitch" or "MC_CamSwitchTime".
S7-Technology
A5E00251798-04 3-67
Technology objects
To compensate mechanical reaction times, the rise times at digital outputs, the
reaction time of connected switchgear, and communication times on DP(DRIVE),
you can defined a time-based offset ( derivative action time.) The time-based offset
represents the cumulative delay times.
The time-based offset can be defined as positive and negative value. A negative
activation time must be entered if the cam is to be switched before has reached its
programmed start position.
The time-based offset is set at input parameter Delay of technology function
"MC_CamSwitch" or "MC_CamSwitchTime". To maximize switching accuracy:
• Determine the system delay time, based on several measurements at a
constant velocity.
• Set the derived mean value as time-based offset at input parameter Delay.
The result is a switching accuracy of +/- 70 µs of the high-speed output cams at the
integrated outputs of the Technology CPU. The absolute switching accuracy
(distance or angle) is derived from the set switching accuracy and from the current
velocity.
Note:
• The integrated technology calculates the dynamic switching position based on
the axis velocity and the defined time-based offset. Reference velocity is the
axis velocity at the cam activation time. Subsequent changes of the velocity will
be ignored in the calculation of cam switching times.
• The switching position offset at modulo axes may exceed the modulo length.
The dynamic derivative-action for modulo axes can be greater than one modulo
length. The system does not group switching operations. One switching operation
is active in the system at any given point in time. A switching cycle is completed
when the cam is switched off.
S7-Technology
3-68 A5E00251798-04
Technology objects
Lines of glue are applied to a board. The cams are assigned to an external
encoder. Cams assigned to defined outputs are switched on and off at preset
positions.
S7-Technology
A5E00251798-04 3-69
Technology objects
In S7T Config, you can assign a measuring sensor to an axis or to a single external
encoder. Connect the measuring sensor to a digital input of the drive component,
or to a TM15/TM17 High Feature module.
Actual position value measurements are initiated by calling Motion Control job
"MC_MeasuringInput" in the user program of the CPU. The operating range of the
measuring sensor can here be limited by means of a start and end value.
The actual position value is recorded and saved at the positive or negative edge of
the measuring sensor signal. The measuring function can be triggered at both
edges, provided the component used supports this mode.
Technology functions
Technology functions available for the technology object:
S7-Technology
3-70 A5E00251798-04
Technology objects
• In S7T Config, the "Measuring sensor" TO can only be inserted at the "Axis"
and "External encoder" TOs.
• Each "Measuring sensor" technology object only has a single axis or a single
external encoder assigned to it.
• The measuring sensor input must be located either at the corresponding drive
component, or at a TM15/TM17 High Feature module. The measuring sensor
inputs are indicated specially at the corresponding hardware, or have to be
configured there as measuring sensor inputs. The number of measuring
sensors available depends on the hardware used.
Other digital inputs at DP(DRIVE) can not be used as measuring sensor inputs.
The digital measuring sensor input used for the "Measuring sensor" TO is
configured for the TM15/TM17 High Feature module in S7T Config.
• Several "Measuring sensor" technology objects can be configured for a
positioning axis, synchronization axis or for an external encoder.
Enabling / disabling
Measuring sensors are activated / deactivated by calling the technology function
"MC_MeasuringInput."
S7-Technology
A5E00251798-04 3-71
Technology objects
The measuring command may be valid across the entire range, or be limited to a
start and end position (active range).
The measurement can be restricted to a defined measuring range. The
measurement will be triggered only when the position lies within the measuring
range.
If a trigger signal is not received within the measuring range, the measuring
command is canceled and an error is indicated at the technology function and at
the technology DB.
For non-modulo axes, the sequence in which the start and end values are specified
is irrelevant. If the initial value is greater than the end value, the two values are
exchanged.
If the start value is greater than the end value in a modulo axis, the validity range is
extended from the start value over the modulo transition of the axis to the end
value.
S7-Technology
3-72 A5E00251798-04
Technology objects
The technology object "External encoder" returns actual position and velocity
values of a distance measuring system. The influencing drive component is not
controlled by the technology object.
Technology functions
Technology functions available for the technology object:
S7-Technology
A5E00251798-04 3-73
Technology objects
Interconnection
The "External encoder" technology object can be interconnected with the following
technology objects:
• "Synchronization axis" TO as leading axis
• "Cam" TO as actual position value
• "Measuring sensor" TO as actual position value
Connection
Encoders which can be used for technology object "External encoders.":
• Analog absolute encoder (sensor analog) at an analog input module of
ET 200M or ET 200S
• Incremental encoders (rectangular TTL) at the analog drive interface ADI4
• Absolute encoders (SSI) at the analog drive interface ADI4
• Incremental or absolute encoders at the encoder input of a DP drive
• Absolute encoder SIMODRIVE Sensor Isochron (frame 81)
Examples
• On the SIMODRIVE 611U, the second encoder interface on a double-axis
module can be used to connect an external encoder.
• A second encoder can be connected to MASTERDRIVES MC via an encoder
module.
• Clocked PROFIBUS encoders can be operated directly on DP(DRIVE).
• SINAMICS S120 supports the connection of a second encoder at SMC 30,
SME 20, SME 25.
S7-Technology
3-74 A5E00251798-04
Technology objects
The Technology CPU supports various homing modes. The reference position f the
external encoder can be set at the technology function "MC_ExternalEncoder,"
input parameter Mode.
S7-Technology
A5E00251798-04 3-75
Technology objects
S7-Technology
3-76 A5E00251798-04
4 Configuration
Tool Step
STEP 7/SIMATIC Manager Create a project
HW Config: Configuring the Technology CPU
Configuring drives
Station > Save and compile
S7T Config Configuring axes
Configuring technology objects
Project > Save and recompile all
Technology Objects Management Creating and managing technology DBs
LAD/FBD/STL Programming function blocks
STEP 7/SIMATIC Manager Download the user program to the MMC, including the
system data
S7-Technology
A5E00251798-04 4-1
Configuration
Step Description
1. In SIMATIC Manager, create a new project and add a SIMATIC 300 station.
2. Open HW Config by selecting the "SIMATIC 300" station and double-clicking "Hardware."
3. In the "Hardware catalog" view, select the hardware profile "SIMATIC Technology CPU" from
the "Profile" drop-down list.
4. Copy a profile from the "Hardware Catalog" to the HW Config dialog box.
5. Add a power supply module to the mounting rail by means of drag-and-drop (for example:
"PS 307 5A".)
6. Drag-and-drop the relevant Technology CPU from the Hardware catalog to the selected line of
the profile. This opens a message window.
Minimize transfer times by increasing the transmission velocity of the MPI/DP interface.
Further information is found in the help dialog of the message box.
7. Close the message box.
In the next dialog box, set the PROFIBUS properties of DP(DRIVE).
S7-Technology
4-2 A5E00251798-04
Configuration
Step Description
8.
Click "New" to create a new "Subnet" (DP master system). Make sure the Technology CPU is
the only master station at the DP(DRIVE) master system.
For high-performance operation, set the DP(DRIVE) address 0.
S7-Technology
A5E00251798-04 4-3
Configuration
Step Description
9. Select the "Network settings" tab from the PROFIBUS network properties dialog box.
Select a transmission speed of 12 Mbps. Do not change the "DP" profile of the PROFIBUS
network.
For high-performance operation of DP(DRIVE), you should disable the "Enable cyclic broadcast
of bus parameters" option. Click "Bus parameters," and then reset the check box.
S7-Technology
4-4 A5E00251798-04
Configuration
Step Description
10. Click "Options". ,In the next dialog box, set the "Activate constant bus cycle time" check box.
For the constant DP bus cycle time, enter the synchronized cycle time you want use for
synchronized operation the drive components on the DP(DRIVE). Observe the device-specific
properties and the project data volume of the components you want to operate on DP(DRIVE).
Note:
You can also set up your drives in the properties dialog boxes. The constant DP bus cycle and
the cycle time are then automatically enabled or synchronized.
11. Close all dialog boxes of HW Config by clicking "OK".
12. Increase the transmission velocity of the MPI/DP interface (see step 6.) Save and compile the
hardware configuration data, then download these to the PLC.
13. In HW Config, double-click the technology (slot 3), then select the "Technology System Data"
tab. Set the "Generate Technology System Data" and confirm the settings with "OK."
S7-Technology
A5E00251798-04 4-5
Configuration
Step Description
14. Save and compile the hardware configuration data, then download these to the PLC. Adapt the
PG / PC interface.
The hardware configuration and the firmware of the integrated technology are downloaded to
the PLC.
Result: After you compiled the data, the project dialog box in SIMATIC Manager shows the
"technology" folder with its "Technological Objects" object.
S7-Technology
4-6 A5E00251798-04
Configuration
The I/O address area of the integrated technology is organized in two areas.
S7-Technology
A5E00251798-04 4-7
Configuration
Basic procedure
The steps below show the basic procedure in configuring the drives, based on the
example of a SIMODRIVE 611.
For detailed information on the HW configuration of drives, refer to the product
information and to the relevant drive documentation.
Step Description
1. Open the "SIMATIC Technology > PROFIBUS-DP(DRIVE) > Drives > SIMODRIVE" folder of the
hardware catalog .
S7-Technology
4-8 A5E00251798-04
Configuration
Step Description
2. Select the drive component (example: "SIMODRIVE 611 universal"), then drag-and-drop it to the
DP master system.
For details on selecting telegrams and on supported function, refer to "Selecting the telegram
type".
S7-Technology
A5E00251798-04 4-9
Configuration
Step Description
5. Select the "Clock synchronization" tab, then set the "Synchronize drive with equidistant DP cycle"
check box.
The DP cycle time is applied and shown on this dialog box due to the settings you made in the
PROFIBUS network configuration. The DP cycle coefficient is adapted accordingly.
If you do not configure the cycle time in the network properties, the coefficients must be adapted
in this dialog box in order to obtain the relevant cycle time (example: 16 for a DP cycle of
2.00 ms.)
The DP cycle of the DP(DRIVE) interface is always an integer multiple of 0.5 ms, and is mainly
determined by the number and type of components to be operated on the network.
Note the drive-specific help in this dialog box when you determine the DP cycle.
6. For this example set the "To" time coefficient to obtain a time of 0.5 ms. Do not change the
default value of the "Ti" coefficient.
7. Confirm with "Alignment".
Click the button to make the changes described below:
• The constant bus cycle time is enabled
• The DP cycle in the master system is adapted to the drive properties
• All drive components of the same family receive the same parameters
8. Close the dialog box with "OK."
9. Save and compile the hardware configuration data, then download these to the PLC.
To generate system data for the HW configuration and technology firmware, set the "Generate
technology system data" check box in the technology properties dialog box.
Note
Drive components of different families must be calibrated manually. To do so, note
down the set values and then transfer these to the corresponding dialog boxes.
S7-Technology
4-10 A5E00251798-04
Configuration
The telegram for communication with the drive must be defined in HW Config.
Which telegram you select is determined by the axis function required, for example,
torque limiting or DSC, or by the functionality of the drive used.
Note
When changing the telegram type of a drive component in HW Config, you also
need to adapt the selection of the telegram type in the interface configuration of the
corresponding technology object in S7T Config.
S7-Technology
A5E00251798-04 4-11
Configuration
S7-Technology
4-12 A5E00251798-04
Configuration
Use S7T Config to configure the technology objects for your motion control task.
The technology DBs form the interface between the user program and the
technology objects. Technology DBs are managed in "Technology Objects
Management."
"Technology Objects Management" can be used in parallel to SIMATIC Manager.
Requirements
• SIMATIC Manager is opened.
• The Technology CPU was configured in HW Config, and the configuration is
saved.
Select the "Technology objects" object, then select Edit > Open object in SIMATIC
Manager.
You can also start S7T Config without running "Technological objects
Management. In SIMATIC Manager, select "Technological objects" from the
"Technology" folder, and then select Options > Configure the technology. Using the
menu command in SIMATIC Manager to start S7T Config is useful in a scenario
where you do not create any new technology objects, and therefore do not have to
create any new technology DBs.
S7-Technology
A5E00251798-04 4-13
Configuration
Toolbar
The toolbar contains the essential menu commands.
Working area
Each STEP 7 project you open appears in a separate window. Each window shows
all existing technology DBs:
• The upper area of the window shows the technology DBs you already created.
• The bottom section of the window lists the technology objects for which you
have not generated any technology DBs yet.
S7-Technology
4-14 A5E00251798-04
Configuration
Requirements
• The configuration of the Technology CPU is completed in S7T Config, saved
and compiled.
S7-Technology
A5E00251798-04 4-15
Configuration
Note
For further information on operating "Technology Objects Management", refer to
the corresponding Online Help system.
S7-Technology
4-16 A5E00251798-04
Configuration
Technology objects are accessed by means of the technology DBs. You should
therefore generate the technology DBs in "Technology Objects Management"
before you create the user program.
Requirements
• You have completed the configuration of your Technology CPU and of the
drives in HW Config, and concluded it with Station > Save and compile.
• The configuration of the Technology CPU is completed in S7T Config and
saved.
S7-Technology
A5E00251798-04 4-17
Configuration
Step Description
1. In SIMATIC manager, double-click "Technology objects".
S7-Technology
4-18 A5E00251798-04
Configuration
Note
If already downloaded to the CPU, delete the renamed technology DB from the
CPU. You can then download the renamed technology DB with the new DB
number to the CPU.
Note
Copied technology DBs in the block folder of SIMATIC Managers must be verified.
The corresponding DBs are no valid technology DBs if,
• they are marked red in the dialog box mentioned earlier
(in this case, select "Technology DBs in block folder", and then click "Delete"),
• they are not listed in the dialog box mentioned earlier
(in this case, delete the block from the block folder of SIMATIC Manager).
S7-Technology
A5E00251798-04 4-19
Configuration
Requirements
• SIMATIC Manager is opened.
• The Technology CPU was configured in HW Config, and the configuration is
saved.
Select the "Technology objects" object, then select Edit > Open Object in order to
run "Technology Objects Management."
In "Technology Objects Management," select Options > Configure the
technology to configure the technology objects in S7T Config. S7T Config starts
automatically if you have not created any technology objects yet.
You can also start S7T Config without running "Technology Objects Management."
Select the "Technology objects" object from the "Technology" folder in SIMATIC
Manager, and then select Options > Configure the technology. Using the menu
command in SIMATIC Manager to start S7T Config is useful in a scenario where
you do not create any new technology objects, and therefore do not have to create
any new technology DBs.
S7-Technology
4-20 A5E00251798-04
Configuration
Use S7T Config to configure the technology objects for your motion control
command.
S7T Config opens with the user interface shown below:
Navigator
The Navigator shows the project structure of the technology and the assignment of
the configured technology objects. Identical objects are visualized by the same
symbols. in online mode, the symbols are marked with a corresponding
background color, or the system displays additional icons (connector symbols)
which characterize the connection from the PG/PC to the PLC. For detailed
information, refer to the S7T Config Online Help. You open the corresponding
dialog box in the working area by double clicking an object.
S7-Technology
A5E00251798-04 4-21
Configuration
Working area
The working area shows the dialog boxes for configuring the technology objects,
e.g. configuration, default, limits. The tab elements indicate the technology objects
for which a corresponding dialog box is opened. The view may show several open
dialogs for technology objects.
All editable parameters are assigned hi and lo limits which are indicated in a short
information in S7T Config.
Detail view
The detail view provides information on the elements selected from the Navigator.
Various tabs are opened, depending on the object you selected. The number of
tabs also depends on the number of active dialog boxes on the working area and
on the project status (offline or online).
To view object information in the detail view:
1. Select the relevant object in the project navigator. The detail view shows all
tabs available for this object.
2. Click the tab in the detail view. The tab content is shown.
Title bar
The title bar contains the project name, and description of the active configuration
dialog box of the selected technology object.
Menu bar
The menu bar contains the menus currently available in S7T Config.
S7-Technology
4-22 A5E00251798-04
Configuration
Toolbar
The toolbar contains icons which provide quick access to frequently used and
currently available menu commands by means of mouse click. You can view the
short info of the button by holding the mouse cursor briefly on the icon; the status
bar provides further information.
A grayed out symbol indicates that a function can not be executed in the current
operational state.
Status bar
The status bar provides context-sensitive information and indicates the project
status (offline or online -mode).
Offline mode
In offline mode, there is no communication between S7T Config and the
Technology CPU. In this mode, you can create new technology objects, configure
drives by means of the integrated STARTER, and compile the technology.
Online mode
In online mode, S7T Config communicates with the Technology CPU. In this mode,
you can perform diagnostics, download new project data to the device, and edit
parameters in the CPU.
S7-Technology
A5E00251798-04 4-23
Configuration
Caution
! In order to ensure synchronized control of the drives, do not connect the
programming device (PG/PC) to the DP(DRIVE) interface.
S7-Technology
4-24 A5E00251798-04
Configuration
Requirements
• The data of the Technology CPU are configured in HW Config and are
compiled.
Step Description
1. In the Navigator of S7T Config, double-click "Insert axis".
S7-Technology
A5E00251798-04 4-25
Configuration
Step Description
2. For this example of a positioning axis configuration, select the "Positioning" technology from the
"General" tab.
Disable the "Positioning" technology when you configure a velocity-controlled axis.
You may also edit the name, name an author, and add the version number or a comment.
"Technology Objects Management" applies the name of the technology object as symbolic
name for the technology DB of the object in STEP 7.
3. Click "OK"
Note
The technology (velocity control, positioning, synchronous operation) of a new is
defined once when you configure it. To change the axis technology at a later time,
you must delete and recreate the axis.
S7-Technology
4-26 A5E00251798-04
Configuration
Step Description
4. Select the axis type and the motor type in the dialog box shown below.
Click "Continue"
S7-Technology
A5E00251798-04 4-27
Configuration
Step Description
5. From the list in the next dialog box, select the physical units you want to use when programming
the axis and the user program.
Note: This selection applies only to this axis. The list may also show physical units which are
irrelevant to this axis due to its configuration.
Example: by setting a positioning unit in [mm], the value "1000.0" at input parameter Position of
the technology function "MC_MoveAbsolute" is equivalent to a position value of 1000.0 mm.
Caution:
Numerical values in the user programs (e.g. for motion commands) are not converted into the
newly selected units. They always refer to the configured unit!
Click "Continue"
S7-Technology
4-28 A5E00251798-04
Configuration
Step Description
6. Set the "Modulo axis" check box, then type in the required modulo length and start value if you
are going to operate the axis in modulo mode.
Click "Continue"
S7-Technology
A5E00251798-04 4-29
Configuration
Step Description
7. On the next dialog box, configure the connection of the axis to a specific drive component.
The drop-down list shows all drives configured in HW Config. Drives already connected do not
appear in this list.
To allocate a logic control function to the drive in a synchronization compound, select the "virtual
axis" drive component.
S7-Technology
4-30 A5E00251798-04
Configuration
Step Description
8. If a physical drive is selected, the dialog box provides additional options.
Select a relevant "Axis" from the "Drive" field if the selected drive is a multiple axis module
(SIMODRIVE 611 universal double axis module, ADI 4, SINAMICS S120, for example.).
The view boxes "log. HW addresses", "Input" and "Output" show the drive's logical addresses
you set in the drive configuration in HW Config.
In a new configuration, the default telegram type set in HW Config will be entered in the drop-
down list box (see also Selecting the telegram type ). If the telegram set in HW Config is
unknown or was edited by the user, and thus does not match any known standard telegram, the
telegram wizard helps you to make the correct selection from a drop-down list.
Enter the rated velocity of the motor in "Rated rpm" This value is relevant for the velocity rating
and must therefore correspond with the drive configuration.
Click "Continue"
Result: The "Axis - drive interaction" dialog box opens. Confirm the dialog box with "OK." The
S7T Config Online Help opens. Close the Online Help and continue with the axis configuration.
Note
The telegram type you configured in S7T Config for the interface of the technology
object for the drive component must match the telegram type of the component
configured in HW Config.
S7-Technology
A5E00251798-04 4-31
Configuration
Step Description
9. In the next dialog box, you can select the encoder of the drive.
Assign the default encoder of which the values are to be transferred to the CPU by means of the
telegram configured in HW Config (usually the encoder that is directly connected to the drive.)
You can select a different encoder for axis position detection from the list of configured
encoders.
Open the drop-down list and select the telegram type used to exchange encoder data. Default is
the telegram configured in HW Config.
In the "Encoder type", "Encoder mode" and "Measuring system" drop-down lists, define the
settings specified in the encoder documentation, or the settings used in the drive configuration.
Click "Continue"
10. In the next dialog box, configure the encoder resolution and the multiplication factor of the cyclic
actual value.
For information on the encoder resolution, refer to the encoder documentation. Align the
multiplication factor of the cyclic actual value with the values used in the configuration of the
drive component.
S7-Technology
4-32 A5E00251798-04
Configuration
Step Description
11. You have now completed the axis configuration.
S7-Technology
A5E00251798-04 4-33
Configuration
Introduction
The "MC_ChangeDataset" technology function can be used to perform a data set
changeover at an axis. You can create data sets for velocity-controlled axes,
positioning axes and synchronization axis. Virtual axes always have only one data
set.
The data set changeover function can be used, for example, to toggle between the
motor encoder and the machine encoder, or the edit controller parameters.
Caution
When editing data set parameters, note that some of the parameters must be
identical in the data sets:
• parameters changing the structure (different controller types such as PV or PID
controllers, for example)
• important activating parameters (following monitoring on/off, DSC on/off, for
example)
The consistency check reports any illegal technology parameter settings when you
configure data sets in S7T Config.
Requirements
• Axis is configured.
S7-Technology
4-34 A5E00251798-04
Configuration
Step Description
1. In the Navigator of S7T Config, open the configuration dialog box of the axis to which you want
to add a data set.
2. Set the "data set changeover" check box.
The check box is hidden if the axis already contains several data sets.
3. Click "Add."
4. Click " configure displayed data set ". Confirm the "reconfigure active data set" message with
"Yes."
S7-Technology
A5E00251798-04 4-35
Configuration
Step Description
7. Select the connection and telegram type for the second encoder. Finally, enter the encoder
information ("Encoder type", "Encoder mode" and "Measuring system").
In the encoder configuration, select the settings specified in the encoder documentation, or the
settings you made in the configuration of the drive component to which the encoder is
connected.
Click " Continue" Continue by editing the steps in the wizard, and finalize your configuration.
S7-Technology
4-36 A5E00251798-04
Configuration
Step Description
8. In the axis configuration dialog box, select the data set to be loaded after CPU startup ("Active
after ramp-up".)
Result: the "Encoder" table lists the encoders configured for the axis.
S7-Technology
A5E00251798-04 4-37
Configuration
Example
An incremental encoder is connected to SIMODRIVE 611U and returns 2048 p/rev
(encoder scaling). By default, the drive multiplies this number of pulses by a
coefficient of 2048 (2exp11.) This factor must be entered at the "Multiplication
factor of the cyclic actual value" parameter.
Default
The default "Multiplication factor of cyclic actual value" is set to "0." In this case, the
system automatically uses the multiplication factor of 2048 (2exp11.)
S7-Technology
4-38 A5E00251798-04
Configuration
The diagram below shows the preparation of the actual value of an axis or external
encoder in the Technology CPU.
Data setting is based on the position controller cycle. These data can be used to
calculate further variables such as velocity and acceleration.
The system variables sensordata.sensordata[n].incrementalposition and
sensordata.sensordata[n].position are calculated in the position controller cycle; all
other system variable are calculated in the corresponding execution cycle of the
axis or external encoder. The system variables sensordata.sensordata[n]…. re
named sensordata…. for external encoders.
S7-Technology
A5E00251798-04 4-39
Configuration
The actual velocity value filter can be set and activated at configuration parameter
TypeOfAxis.SmoothingFilter :
S7-Technology
4-40 A5E00251798-04
Configuration
4.5.4 Configuration
This dialog box also contains functions for managing data sets and data set
changeover. For technology objects supporting several data sets, you can:
• create new data sets,
• delete data sets,
• define which data set for the technology object is loaded at CPU startup, and
• reconfigure the selected data set.
S7-Technology
A5E00251798-04 4-41
Configuration
4.5.5 Mechanics
S7-Technology
4-42 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-43
Configuration
4.5.6 Default
4.5.6.1 Dynamics
The standard values for axis dynamics can be set in the Axis > Default dialog box,
"Dynamic" tab. The default values are applied if a negative dynamic value is set at
a technology function.
Stop time
The time set at "Stopping time" comes into effect when a moving axis is disabled
and Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
4-44 A5E00251798-04
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup, deceleration,
and velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of movement (jerk = 0).
• Smooth
The profile shows a linear acceleration, the jerk profile is controllable
(jerk <> 0).
S7-Technology
A5E00251798-04 4-45
Configuration
4.5.7 Limits
Emergency-off deceleration
The set emergency-off deceleration comes into effect when a moving axis is
disabled and Stopmode = 0 is set at "MC_Power."
S7-Technology
4-46 A5E00251798-04
Configuration
Connection
HW limit switches can be connected via four integrated digital inputs of the
Technology CPU, or the I/O operated on DP(DRIVE) (ET 200, SINAMICS S120
with TM15/TM17, for example.)
Traversing range
Traversing limits are monitored by means of the HW limit switches connected to
the digital inputs. HW switches are always break action switches, and should
always be active outside the permissible traversing range.
Release motion
An axis triggering a HW limit switch is stopped with error messages 8013 and
804B. It is released out of the range of the HW limit switch (release motion) as
described below:
• Manual release
The axis is returned manually to the permissible traversing range. The error
message at the technology DB can not be acknowledged until the axis is
released.
• Release motion with drive
The error at the axis technology DB is acknowledged, but the error message
and the LimitSwitchActive status bit remain active. The axis can now be moved
into its permitted traversing range. A reverse motion command once again
triggers an axis error. The LimitSwitchActive status can be acknowledged after
the axis has moved out of the range of the limit switch.
S7-Technology
A5E00251798-04 4-47
Configuration
The current position of the axis upon reaching the HW limit switch is saved. Only
when this position, plus a safety range, has been overrun is the axis considered to
have left the limit switch.
Caution
Once the HW limit switch has been overrun, the controller must not be switched off
in order to avoid a conflict between the polarity monitoring of the HW limit switches
and the overrun monitoring of the HW limit switches in the direction of the
permissible range. In this case, the axis must be moved into the permitted range
without hardware limit switch monitoring. There, monitoring can be enabled again.
At power on of the PLC, the axis must be located in the permissible traversing
range.
Internal states are lost if the axis overruns the HW limit switch and the configuration
is reloaded.. The relevant data can only be reloaded without loss of the approach
information if the axis is positioned within the valid range.
Exception: Disabling of limit position monitoring after a polarity error.
Safety range
The safety range of the HW limit switches is calculated based on the configured
resolution of the physical unit system of the axis.
Safety range = 1000 / (increments / position)
Example: A linear axis is assigned the position unit "mm" and an accuracy
(increments / position) of "1000/unit" in the "Configure units" dialog box, i.e. the
axis position is calculated with an accuracy of 0.001 mm. The safety range in this
example is a multiple of 1000 of the accuracy: 1 mm.
S7-Technology
4-48 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-49
Configuration
Status-dependent acceleration
• Acceleration
Axis acceleration, irrespective of the direction.
• Deceleration
Axis deceleration, irrespective of the direction.
Direction-based acceleration
• Acceleration
Acceleration in positive direction, deceleration in negative direction.
• Deceleration
Acceleration in negative direction, deceleration in the positive direction.
Dynamic direction control parameters are useful, for example, for suspended axes.
S7-Technology
4-50 A5E00251798-04
Configuration
Note
When the axis approaches the fixed endstop, and fixed endstop detection with "via
following error" is set, the entry in "Position tolerance after fixed endstop detection"
should be significantly less than that for "Following error for fixed endstop
detection."
S7-Technology
A5E00251798-04 4-51
Configuration
S7-Technology
4-52 A5E00251798-04
Configuration
Note
Reverse motion interlock (position controller in the drive) is not enabled when DSC
(Dynamic Servo Control) is set. The reverse motion interlock therefore needs to be
generated in the drive when DSC is enabled.
S7-Technology
A5E00251798-04 4-53
Configuration
Fine interpolator
The Fine interpolator function is used is to generate interim setpoint values when
the interpolator and the controller have a different duty factor. Optional interpolation
type settings at the fine interpolator:
• No interpolation
• linear interpolation (constant position of the positioning axis)
• interpolation with constant acceleration (constant acceleration at positioning
axis)
• interpolation with constant velocity (constant velocity at positioning axis)
The setpoint position will be interpolated when et as positioning axis.
The setpoint velocity is interpolated accordingly when set as velocity-controlled
axis.
S7-Technology
4-54 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-55
Configuration
The friction compensation is added relative to the velocity setpoint. It only takes
effect in motions tasks.
Zero-speed detection can be set separately for friction compensation, same as the
amplitude and decay response. The amplitude and decay response are set in the
configuration data.
S7-Technology
4-56 A5E00251798-04
Configuration
4.5.9 Homing
4.5.9.1 Introduction
Position-controlled axes equipped with incremental motor measuring systems must
be referenced to the position of the mechanical system of the machine each time
they are switched on. The axis is synchronized during homing based on the input
of a certain position value at a defined position of the drive mechanism.
Axes can be homed in:
• active mode (reference point approach)
• passive mode (homing on-the-fly)
• direct mode (with position preset)
Detailed settings depend on the measuring systems available for measuring the
homing position and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in S7T Config, in the Axis > Homing dialog box,
"Active homing" tab.
Three homing modes are available for "Active homing:"
• Homing cam and encoder zero mark
• encoder zero mark only
• External zero mark only
Start of the homing function:
S7-Technology
A5E00251798-04 4-57
Configuration
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the homing cam, and secondly the referencing encoder zero mark,
according to the axis configuration. The diagram shown in the lower section of the
figure shows the resultant motion profile.
Meaning of the various parameters:
S7-Technology
4-58 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-59
Configuration
S7-Technology
4-60 A5E00251798-04
Configuration
• Phase 3:
Reference point approach
After the encoder zero mark is detected, the axis accelerates / decelerates to
approach velocity and approaches the homing position.
If a homing position offset was configured, the axis approaches the homing
position along the corresponding distance, starting at the synchronization
position. The traversing direction is determined by the sign of the homing point
offset value and by the length of the deceleration ramp after the encoder zero
mark is detected, if the homing position lies within the deceleration ramp.
S7-Technology
A5E00251798-04 4-61
Configuration
S7-Technology
4-62 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-63
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute reference point approach in "external zero mark" homing mode,
select the values at the "Signal transition" values and "on the side of the external
zero mark" so that these correspond with the configuration or drive functionality.
The "Signal transition" and "on external zero mark side" parameters are not used
to configure the measuring function in the drive, but rather reflect their functionality
in order to control the axis motion according to the configuration.
For information on the configuration of external zero mark detection, refer to the
relevant product information or to the drive manuals.
S7-Technology
4-64 A5E00251798-04
Configuration
Homing without encoder zero mark is used, for example, in axes for which the
encoder sets only one encoder zero mark in the entire traversing range of the axis.
This homing command moves the axis to the encoder zero mark. Once the axis
detects the encoder zero mark, the homing position offset is applied at homing
velocity. The axis position has now assumed the value defined at the reference
point coordinate. The diagram shown in the lower section of the figure shows the
resultant motion profile.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-65
Configuration
S7-Technology
4-66 A5E00251798-04
Configuration
MC_Home Mode = 2 At the homing position, the current position is assigned the
Position = x value at input parameter Position.
Note
Note that not all drive components support all homing mode or measured signal evaluation
functions. For details, refer to the documentation of the drive components used.
Note
Triggering of encoder zero mark or homing cam monitoring during a passive homing
operation is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
A5E00251798-04 4-67
Configuration
After the homing cam has been passed, the next encoder zero mark triggers axis
homing. At the homing position, the axis position is set to the position value defined
at input parameter Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
4-68 A5E00251798-04
Configuration
Axis homing starts with the detection of the external zero mark. The axis is set to
the position value at the Position input of the technology function "MC_Home."
S7-Technology
A5E00251798-04 4-69
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute the reference point approach in "external zero mark" homing mode,
select the values at "Motion direction" and "on the side of the external zero mark" so that
these correspond with the configuration or drive functionality. The "on the side of the
external zero mark" and "Direction of movement" parameters are not used to configure the
measuring function in the drive, but rather reflect their functionality.
For information on the configuration of external zero mark detection, refer to the relevant
product information or to the drive manuals.
S7-Technology
4-70 A5E00251798-04
Configuration
Homing in "Encoder zero mark only" mode is used, for example, at axes equipped
with an encoder which outputs only one zero mark signal in the entire traversing
range of the axis.
Axis homing starts with the detection of the encoder zero mark. When the encoder
zero mark is detected, the axis position value is set to the position value at input
parameters Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-71
Configuration
S7-Technology
4-72 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-73
Configuration
4.5.10 Monitoring
S7-Technology
4-74 A5E00251798-04
Configuration
The "Positioning and standstill monitoring" tab shows whether you set the
Positioning or Synchronism technology for the axis.
Positioning monitoring
At the end of a positioning motion, the function monitors the approach to the set
position. Define a positioning window and a time tolerance indicating the point in
time at which the end position must have been reached. Monitoring is enabled at
the end of setpoint value interpolation.
You can also set a minimum dwell time in the positioning window, which is to
expire before a positive feedback of the positioning command is received. This time
can be used for oscillating processes and control loops, for which the tolerance
window should be less than the overshoot amplitude.
A positive feedback of the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB indicates error
8019.
S7-Technology
A5E00251798-04 4-75
Configuration
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command is equal to the value at the destination position, and the delay time for
setting standstill monitoring.
Standstill monitoring is triggered when the axis moves out of the configured
standstill velocity tolerance window for any time longer than the configured time.
When standstill monitoring is triggered, the axis technology DB indicates error
8018.
The "Enter velocity" input box allows the user to verify the set values of following
error monitoring in order to determine the permissible maximum following error at
the set velocity.
The "Following error monitoring" tab is shown for position-controlled physical axes.
S7-Technology
4-76 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-77
Configuration
S7-Technology
4-78 A5E00251798-04
Configuration
Requirements in HW Config
• A Technology CPU was configured
• An analog control output (analog output module, or analog drive interface ADI4)
is configured.
• An encoder is configured (analog encoder, incremental or absolute encoder)
• The configuration was saved in HW Config.
Note
When using the analog drive interface ADI4, set "standard telegram 3" in HW
Config.
Call "DP Slave properties" in HW Config by double-clicking the ADI4 object. Select
the "Configuration" tab, and then select "Standard telegram 3" from the "Default"
drop-down list.
Step Description
1. In the Navigator of S7T Config, double-click "Insert axis".
S7-Technology
A5E00251798-04 4-79
Configuration
Step Description
2. In the "General" tab, select the "Speed control" and "Positioning" technology.
You may also edit the name, name an author, and add the version number or a comment.
"Technology Objects Management" applies the name of the technology object as symbolic
name for the technology DB of the object in STEP 7.
3. Click "OK" - this opens the axis wizard.
Note
The technology (velocity control, positioning, synchronous operation) of a new is
defined once when you configure it. To change the axis technology at a later time,
you must delete and recreate the axis.
S7-Technology
4-80 A5E00251798-04
Configuration
Step Description
4. Select the "linear," or "rotary" and "hydraulic" axis type in the next dialog box. The defined valve
type is a "Q valve."
Click "Continue"
S7-Technology
A5E00251798-04 4-81
Configuration
Step Description
5. From the list in the next dialog box, select the physical units you want to use when programming
the axis and the user program.
Note: This selection applies only to this axis. The list may also show physical units which are
irrelevant to this axis due to its configuration.
Example: by setting a positioning unit in [mm], the value "1000.0" at input parameter Position of
the technology function "MC_MoveAbsolute" is equivalent to a position value of 1000.0 mm.
Caution:
Numerical values in the user programs (e.g. for motion commands) are not converted into the
newly selected units. They always refer to the configured unit!
Click "Continue"
S7-Technology
4-82 A5E00251798-04
Configuration
Step Description
6. Set the "Modulo axis" check box, then type in the required modulo length and start value if you
are going to operate the axis in modulo mode.
Click "Continue"
For further information on procedures, refer to the chapters listed below:
• Configuring hydraulic axes - Q output via ADI4
• Configuring hydraulic axes - Q output via analog output module
S7-Technology
A5E00251798-04 4-83
Configuration
Step Description
1. Define the properties of the analog output module in the next dialog box.
Which output device are you Select analog drive interface ADI4.
using?:
Output: Select the analog output of the analog drive interface.
Logical HW addresses: output: The logical addresses can not be edited, as these are defined
by the selection of the analog output.
Frame type for data transfer Only "Standard telegram 3" (here, "DP_Tel3") is permitted as
frame type. The frame must match the selection in HW Config.
Invert output value Set this check box to set inverse control of the hydraulic output.
Click "Continue" when you completed your selection.
S7-Technology
4-84 A5E00251798-04
Configuration
Step Description
2A . In the next dialog box, assign the hydraulic axis an incremental encoder. The encoder must
support "rectangular TTL" mode.
Continue at step 2b if you are using an absolute encoder.
For information on using analog absolute encoder s, refer to chapter "Configuring hydraulic axes
- Q output via analog output module" .
Where to connect the position Select the encoder interface of analog drive interface ADI4.
encoder:
Logical HW addresses: input, The logical addresses can not be edited, as these are defined
output: by the selection of the analog output.
Frame type for data transfer Only "Standard telegram 3"
(here, "DP_Tel3") is allowed as frame type.
Encoder type: Select "Incremental encoder" from the drop-down list.
Measuring system: Select "Linear encoder system" or "Rotatory encoder system",
depending on the encoder used.
Click "Continue" when you completed your settings.
S7-Technology
A5E00251798-04 4-85
Configuration
Step Description
3A . The encoder data are configured in the next dialog box.
Encoder pulses per revolution For information on the encoder resolution, refer to the encoder
documentation.
Multiplication factor of the Align the multiplication factor of the cyclic actual value with the
cyclic actual value: values used in the configuration of the drive component.
Click "Continue" when you completed your settings.
You have successfully completed the axis configuration.
S7-Technology
4-86 A5E00251798-04
Configuration
Step Description
2B . In the next dialog box, assign the hydraulic axis an absolute encoder. The encoder must support
"SSI" mode.
Where to connect the position Select the encoder interface of analog drive interface ADI4.
encoder:
Logical HW addresses: input, The logical addresses can not be edited, as these are defined
output: by the selection of the analog output.
Frame type for data transfer Only "Standard telegram 3" (here, "DP_Tel3") is permitted as
frame type.
Encoder type: Select "Absolute encoder" or "Absolute encoder cyclic absolute"
from the drop-down list
Measuring system: Select "Linear encoder system" or "Rotatory encoder system",
depending on the encoder used.
Click "Continue" when you completed your settings.
S7-Technology
A5E00251798-04 4-87
Configuration
Step Description
3B . In the next dialog box, configure the encoder resolution and the multiplication factor of the cyclic
actual value. For information on the encoder resolution, refer to the encoder documentation.
Align the multiplication factor of the cyclic actual value with the values used in the configuration
of the drive component.
Grid pattern: The grid pattern describes the distance per encoder pulse.
Multiplication factor of the Encoders connected to the drive can return pulses at a resolution
cyclic actual value: exceeding the actual encoder resolution (fine resolution.)
The default multiplication factor of the cyclic actual value is0. The
system automatically uses multiplication factor 2048 (2exp11).
Example of a deviating value:
The absolute encoder connected to the drive returns 4096
(2exp12) per revolution (encoder resolution.) In this case, enter a
multiplication factor 12 for the cyclic actual value.
Multiplication factor of the This multiplication factor of the absolute actual value is used to
absolute actual value multiply the encoder's actual value at the startup.
The default multiplication factor of the absolute actual value is 0.
The system automatically uses multiplication factor 512 (2exp9).
The multiplication factors also need to set at the drive!
• for SINAMICS S120: parameters p0418 and p0419 (for first encoder);
(effective value can be read in r0979.3 and r0979.4)
• for SIMODRIVE 611U: parameters 1042 and 1043 (for first encoder)
• for Masterdrives MC: parameter 171
Number of data bits Total number of pulses
Example:
4096 pulses = 2exp12
Exponent 12 = 12 data bits
Click "Continuet" when you completed your settings.
S7-Technology
4-88 A5E00251798-04
Configuration
Note
Conditions of enabling the hydraulic axis for position control using technology
function "MC_Power":
• In S7T Config, the hydraulic axis must be assigned a cam disk as valve profile.
• The valve profile must be activated using technology function
"MC_SetCharacteristic."
S7-Technology
A5E00251798-04 4-89
Configuration
Step Description
1. Define the properties of the analog output module in the next dialog box.
Which output device are you Select "analog output module" from the drop-down list.
using?:
Logical HW addresses: output: Enter the HW address of the analog output module of ET 200M
or ET 200S.
Format: Select the "left aligned" format for the analog output modules of
ET 200M and ET 200S.
Invert output value Set this check box if the analog value is reciprocal to the flow.
Resolution: For information on the resolution, refer to the hardware catalog
of "HW Konfig" (unsigned resolution.)
Valve enable output: Set this check box to use the enable status of technology
function "MC_Power" as control signal.
Logical address: There you can set the logical address of the enable output
signal if the Valve enable output check box is set.
Bit number Enter the bit number for the enable output signal.
Click "Continue" when you completed your settings.
S7-Technology
4-90 A5E00251798-04
Configuration
Step Description
2. You configure an analog absolute encoder for the hydraulic drive in the next dialog boxes. For
information on using incremental encoders (rectangular TTL) and absolute encoders (SSI), refer
to the chapter "Configuring hydraulic axes - Q output via ADI4".
Where to connect the position Select "Encoder value input module" from the drop-down list.
encoder:
Logical HW addresses: input: Enter the HW address of the analog input module of ET 200M
or ET 200S.
Click "Continue" when you completed your settings.
S7-Technology
A5E00251798-04 4-91
Configuration
Step Description
3. Opens the dialog box where you program the position value.
Factor: / offset: Set the Factor to define the gradient of the position value, and
set Offset to define the shift.
Number of utilizable bits: Enter the number of utilizable bits of the analog module.
Format: Select "left aligned" for analog modules of ET 200M and
ET 200S.
minimum raw value: Enter the minimum raw value of the analog module.
maximum raw value: Enter the maximum raw value of the analog module.
Error tolerance time: Enter an error tolerance time.
Activate filter: Set the check box to apply a PT1 filter to the analog value of
the position.
Time constant PT1 filter You can enter a time constant for the PT1 filter if the Activate
filter check box was set.
Click "Continue" when you completed your settings.
S7-Technology
4-92 A5E00251798-04
Configuration
Step Description
End You have now completed the axis configuration.
Note
Conditions of enabling the hydraulic axis for position control using technology
function "MC_Power":
• In S7T Config, the hydraulic axis must be assigned a cam disk as valve profile.
• The valve profile must be activated using technology function
"MC_SetCharacteristic."
S7-Technology
A5E00251798-04 4-93
Configuration
The non-linearity between the valve's manipulated variable ( -10 V to +10 V, for
example) and the velocity of the hydraulic axis is mapped using the valve profile.
The "cam disk" technology object is used as valve profile. The valve profile is
formed by pairs of values which map the valve position relative to the velocity
reached.
1. Verify that the hydraulic axis can be moved (hydraulic pressure present, valve ready, etc..)
2. Verify that the hydraulic axis was not assigned a valve profile ("Profiles" setting in Navigator of
S7T Config).
3. Enable the hydraulic axis by setting Mode = 2 at technology function "MC_Power."
4. Program the following variables in S7T Config for recording in trace:
• actordata.qoutputvalue - control variable as a percentage relative to the Q output
• sensordata.sensordata[n].velocity - velocity of the hydraulic axis
5. In the symbol browser of S7T Config, set system variable
servosettings.additionalqoutputvalueswitch =YES.
6. Start trace.
7. In the symbol browser, set a small percent value at system variable
servosettings.additionalqoutputvalue; the axis is now moving. Enter the value 0 to stop the axis.
8. Enter successive values between 0% and 100% in order to obtain a sufficient number of
interpolation points for the valve profile.
9. In S7T Config, transfer the recorded values to the cam disk of the valve profile using CamEdit.
Transfer the control variable into the "Master" column, and the velocity into the "Slave" column.
S7-Technology
4-94 A5E00251798-04
Configuration
1. Verify that the hydraulic axis can be moved (hydraulic pressure present, valve ready, etc..)
2. Verify that the hydraulic axis was not assigned a valve profile ("Profiles" setting in Navigator of
S7T Config).
3. Enable the hydraulic axis by setting Mode = 1 at technology function "MC_Power."
4. Program the following variables in S7T Config for recording in trace:
• actordata.qoutputvalue - control variable as a percentage relative to the Q output
• sensordata.sensordata[n].velocity - velocity of the hydraulic axis
5. Start trace.
6. Move the axis at the required velocity by setting PositionControl = FALSE at technology function
"MC_MoveVelocity."
To prevent the drive from crashing into a mechanical endstop, you can stop the axis at a
defined position. Use technology function "MC_Stop" to set this parameter.
7. Use several successive velocity values up to the maximum velocity in order to obtain a sufficient
number of interpolation points for the valve profile.
8. In S7T Config, transfer the recorded values to the cam disk of the valve profile using CamEdit.
Transfer the control variable into the "Master" column, and the velocity into the "Slave" column.
As an alternative to CamEdit, you can also create the cam disk using the
technology functions "MC_CamClear", "MC_CamSectorAdd" and
"MC_CamInterpolate."
S7-Technology
A5E00251798-04 4-95
Configuration
In the "Master" column, enter the valve's manipulated variable in a "%" unit. The
"Slave" column contains the corresponding velocity values of the hydraulic axis.
S7-Technology
4-96 A5E00251798-04
Configuration
Example - Valve profiles for a variable speed pump with switching directional
valve
A variable capacity pump with switching directional valve is used to implement
negative traversing directions by controlling the switching directional valve. Use
separate valve profiles for the positive and negative direction of movement.
Example of a valve profile for positive direction of movement:
In the "Master" column, enter the valve's manipulated variable in a "%" unit. The
"Slave" column contains the corresponding velocity values of the hydraulic axis.
Any negative manipulated variables which may develop due to loop-control
functions are limited in line 1 to 0.
S7-Technology
A5E00251798-04 4-97
Configuration
The valve profile for the negative direction of movement is structured in analog to
the positive direction of movement. The first value pair also limits negative
manipulated variables to 0.
You activate the relevant valve profile in the user program by calling the technology
function "MC_SetCharacteristic," depending on the direction of movement.
S7-Technology
4-98 A5E00251798-04
Configuration
In the next dialog box, select the cam disks to use as valve profile for this hydraulic
axis.
S7-Technology
A5E00251798-04 4-99
Configuration
Introduction
The "MC_ChangeDataset" technology function can be used to perform a data set
changeover at an axis. You can create data sets for velocity-controlled axes,
positioning axes and synchronization axis. Virtual axes always have only one data
set.
The data set changeover function can be used, for example, to toggle between the
motor encoder and the machine encoder, or the edit controller parameters.
Caution
When editing data set parameters, note that some of the parameters must be
identical in the data sets:
• parameters changing the structure (different controller types such as PV or PID
controllers, for example)
• important activating parameters (following monitoring on/off, DSC on/off, for
example)
The consistency check reports any illegal technology parameter settings when you
configure data sets in S7T Config.
Requirements
• Axis is configured.
S7-Technology
4-100 A5E00251798-04
Configuration
Step Description
1. In the Navigator of S7T Config, open the configuration dialog box of the axis to which you want
to add a data set.
2. Set the "data set changeover" check box.
The check box is hidden if the axis already contains several data sets.
3. Click "Add."
4. Click "data set changeover ". Confirm the "reconfigure displayed data set " message with "Yes."
S7-Technology
A5E00251798-04 4-101
Configuration
Step Description
7. Select the connection and telegram type for the second encoder. Finally, enter the encoder
information ("Encoder type", "Encoder mode" and "Measuring system").
In the encoder configuration, select the settings specified in the encoder documentation, or the
settings you made in the configuration of the drive component to which the encoder is
connected.
Click "Continue" Continue by editing the steps in the wizard, and finalize your configuration.
S7-Technology
4-102 A5E00251798-04
Configuration
Step Description
8. In the axis configuration dialog box, select the data set to be loaded after CPU startup
("active after ramp-up ".)
Result: the "Encoder" table lists the encoders configured for the axis.
S7-Technology
A5E00251798-04 4-103
Configuration
The diagram below shows the preparation of the actual value of an axis or external
encoder in the Technology CPU.
Data setting is based on the position controller cycle. These data can be used to
calculate further variables such as velocity and acceleration.
The system variables sensordata.sensordata[n].incrementalposition and
sensordata.sensordata[n].position are calculated in the position controller cycle; all
other system variable are calculated in the corresponding execution cycle of the
axis or external encoder. The system variables sensordata.sensordata[n]…. re
named sensordata…. for external encoders.
S7-Technology
4-104 A5E00251798-04
Configuration
The actual velocity value filter can be set and activated at configuration parameter
TypeOfAxis.SmoothingFilter :
S7-Technology
A5E00251798-04 4-105
Configuration
4.6.8 Configuration
This dialog box also contains functions for managing data sets and data set
changeover. For technology objects supporting several data sets, you can:
• create new data sets,
• delete data sets,
• define which data set for the technology object is loaded at CPU startup, and
• reconfigure the selected data set.
S7-Technology
4-106 A5E00251798-04
Configuration
4.6.9 Mechanics
S7-Technology
A5E00251798-04 4-107
Configuration
4.6.10 Default
4.6.10.1 Dynamics
The standard values for axis dynamics can be set in the Axis > Default dialog box,
"Dynamic" tab. The default values are applied if a negative dynamic value is set at
a technology function.
Stop time
The time set at "Stopping time" comes into effect when a moving axis is disabled
and Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
4-108 A5E00251798-04
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup, deceleration,
and velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of movement (jerk = 0).
• Smooth
The profile shows a linear acceleration, the jerk profile is controllable
(jerk <> 0).
S7-Technology
A5E00251798-04 4-109
Configuration
4.6.11 Limits
S7-Technology
4-110 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-111
Configuration
Fine interpolator
The Fine interpolator function is used is to generate interim setpoint values when
the interpolator and the controller have a different duty factor. Optional interpolation
type settings at the fine interpolator:
• No interpolation
• linear interpolation (constant position of the positioning axis)
• interpolation with constant acceleration (constant acceleration at positioning
axis)
• interpolation with constant velocity (constant velocity at positioning axis)
The setpoint position will be interpolated when et as positioning axis.
The setpoint velocity is interpolated accordingly when set as velocity-controlled
axis.
S7-Technology
4-112 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-113
Configuration
The friction compensation is added relative to the velocity setpoint. It only takes
effect in motions tasks.
Zero-speed detection can be set separately for friction compensation, same as the
amplitude and decay response. The amplitude and decay response are set in the
configuration data.
S7-Technology
4-114 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-115
Configuration
4.6.13 Homing
4.6.13.1 Introduction
Position-controlled axes equipped with incremental motor measuring systems must
be referenced to the position of the mechanical system of the machine each time
they are switched on. The axis is synchronized during homing based on the input
of a certain position value at a defined position of the drive mechanism.
Axes can be homed in:
• active mode (reference point approach)
• passive mode (homing on-the-fly)
• direct mode (with position preset)
Detailed settings depend on the measuring systems available for measuring the
homing position and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in S7T Config, in the Axis > Homing dialog box,
"Active homing" tab.
Three homing modes are available for "Active homing:"
• Homing cam and encoder zero mark
• encoder zero mark only
• External zero mark only
Start of the homing function:
S7-Technology
4-116 A5E00251798-04
Configuration
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the homing cam, and secondly the referencing encoder zero mark,
according to the axis configuration. The diagram shown in the lower section of the
figure shows the resultant motion profile.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-117
Configuration
S7-Technology
4-118 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-119
Configuration
• Phase 3:
Reference point approach
After the encoder zero mark is detected, the axis accelerates / decelerates to
approach velocity and approaches the homing position.
If a homing position offset was configured, the axis approaches the homing
position along the corresponding distance, starting at the synchronization
position. The traversing direction is determined by the sign of the homing point
offset value and by the length of the deceleration ramp after the encoder zero
mark is detected, if the homing position lies within the deceleration ramp.
S7-Technology
4-120 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-121
Configuration
S7-Technology
4-122 A5E00251798-04
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute reference point approach in "external zero mark" homing mode,
select the values at the "Signal transition" values and "on the side of the external
zero mark" so that these correspond with the configuration or drive functionality.
The "Signal transition" and "on external zero mark side" parameters are not used
to configure the measuring function in the drive, but rather reflect their functionality
in order to control the axis motion according to the configuration.
For information on the configuration of external zero mark detection, refer to the
relevant product information or to the drive manuals.
S7-Technology
A5E00251798-04 4-123
Configuration
Homing without encoder zero mark is used, for example, in axes for which the
encoder sets only one encoder zero mark in the entire traversing range of the axis.
This homing command moves the axis to the encoder zero mark. Once the axis
detects the encoder zero mark, the homing position offset is applied at homing
velocity. The axis position has now assumed the value defined at the reference
point coordinate. The diagram shown in the lower section of the figure shows the
resultant motion profile.
Meaning of the various parameters:
S7-Technology
4-124 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-125
Configuration
MC_Home Mode = 2 At the homing position, the current position is assigned the
Position = x value at input parameter Position.
Note
Note that not all drive components support all homing mode or measured signal evaluation
functions. For details, refer to the documentation of the drive components used.
Note
Triggering of encoder zero mark or homing cam monitoring during a passive homing
operation is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
4-126 A5E00251798-04
Configuration
Passive homing mode "Homing output cam and encoder zero mark"
After the homing cam has been passed, the next encoder zero mark triggers axis
homing. At the homing position, the axis position is set to the position value defined
at input parameter Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-127
Configuration
Axis homing starts with the detection of the external zero mark. The axis is set to
the position value at the Position input of the technology function "MC_Home."
S7-Technology
4-128 A5E00251798-04
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute the reference point approach in "external zero mark" homing mode,
select the values at "Motion direction" and "on the side of the external zero mark" so that
these correspond with the configuration or drive functionality. The "on the side of the
external zero mark" and "Direction of movement" parameters are not used to configure the
measuring function in the drive, but rather reflect their functionality.
For information on the configuration of external zero mark detection, refer to the relevant
product information or to the drive manuals.
S7-Technology
A5E00251798-04 4-129
Configuration
Homing in "Zero mark only" mode is used, for example, at axes equipped with an
encoder which outputs only one zero mark signal in the entire traversing range of
the axis.
Axis homing starts with the detection of the encoder zero mark. When the encoder
zero mark is detected, the axis position value is set to the position value at input
parameters Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
4-130 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-131
Configuration
S7-Technology
4-132 A5E00251798-04
Configuration
4.6.14 Monitoring
The "Positioning and standstill monitoring" tab shows whether you set the
Positioning or Synchronism technology for the axis.
Positioning monitoring
At the end of a positioning motion, the function monitors the approach to the set
position. Define a positioning window and a time tolerance indicating the point in
time at which the end position must have been reached. Monitoring is enabled at
the end of setpoint value interpolation.
You can also set a minimum dwell time in the positioning window, which is to
expire before a positive feedback of the positioning command is received. This time
can be used for oscillating processes and control loops, for which the tolerance
window should be less than the overshoot amplitude.
A positive feedback of the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB indicates error
8019.
S7-Technology
A5E00251798-04 4-133
Configuration
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command is equal to the value at the destination position, and the delay time for
setting standstill monitoring.
Standstill monitoring is triggered when the axis moves out of the configured
standstill velocity tolerance window for any time longer than the configured time.
When standstill monitoring is triggered, the axis technology DB indicates error
8018.
The "Enter velocity value" input box allows the user to verify the set values of
following error monitoring in order to determine the permissible maximum following
error at the set velocity.
The "Following error monitoring" tab is shown for position-controlled physical axes.
S7-Technology
4-134 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-135
Configuration
Setpoint tolerance:
Enter the max. permissible setpoint tolerance.
S7-Technology
4-136 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-137
Configuration
S7-Technology
4-138 A5E00251798-04
Configuration
Requirements
• The data of the Technology CPU are configured in HW Config and are
compiled.
Step Description
1. In the S7T Config navigator, double-click "Insert axis".
2. When you configure the axis, enable the synchronous operation technology.
This technology requires the "Positioning" and "Velocity control" technologies. You may not,
therefore, disable these technologies.
3. Proceed as described in the chapter "Configuring axes".
Result: the synchronization axis appears in the Navigator of S7T Config. The synchronization
object is created automatically for the relevant axis. The object is automatically assigned the
name of the axis, with the suffix "_synchronism".
S7-Technology
A5E00251798-04 4-139
Configuration
Further procedure
For synchronous operation, assign the synchronization axis the corresponding
leading axes and / or cam disks.
S7-Technology
4-140 A5E00251798-04
Configuration
Requirements
• A following axis with the "Synchronism" technology was inserted in S7T Config.
• A leading axis or cam disk was inserted in S7T Config.
Step Description
1. In Navigator of S7T Config, double-click"Configuration" in the synchronization object (child
object of the synchronization axis.).
2. In the next dialog box, assign the following axis one or several available leading axes. To do so,
set the check box in the left column, and then select the relevant coupling mode. Possible
coupling modes:
The leading axis is a real axis:
• setpoint coupling
• actual value coupling with extrapolation
The leading axis is a virtual axis:
• setpoint coupling
The leading axis is an external encoder:
• actual value coupling with extrapolation
• actual value coupling without extrapolation
Which one of axes is to provide the control value to the following axis is determined in runtime
by calling the relevant technology function, for example, MC_GearIn or "MC_CamIn".
3. From the bottom section of the dialog box, select the optional cam disks for the implementation
of cam synchronism.
4. Click "Close"
S7-Technology
A5E00251798-04 4-141
Configuration
Extrapolation and filtering in actual value coupling mode, with system variable for
the display of actual values.
In S7T Config, you can make the following settings in the expert list for the leading
axis or external encoder:
S7-Technology
4-142 A5E00251798-04
Configuration
Requirements
• A synchronization axis was configured in S7T Config.
• A superimposing synchronization object was not configured for the axis
S7-Technology
A5E00251798-04 4-143
Configuration
Step Description
1. In S7T Config Navigator, select the synchronization axis for which you want to configure
superimposing synchronism, then select the Expert > Insert superimposed synchronization
object command from the shortcut menu.
Result: the Navigator shows a second synchronization object under synchronization axis.
2. Double-click Configuration of the second synchronization object to open the configuration
dialog box.
S7-Technology
4-144 A5E00251798-04
Configuration
Step Description
3. Finalize the synchronization compound of the superimposing synchronism by assigning it a
leading axis (including cam disks as required.) Set the corresponding check boxes, then select
the coupling mode at the leading axes.
S7-Technology
A5E00251798-04 4-145
Configuration
4.7.3 Synchronization
Coupling to the control value during synchronization or sync off operations can be
defined differently, depending on the application.
This is defined by the:
• Synchronization mode
• Synchronization position
• Value of the synchronization position
• Synchronization criterion
• the direction of synchronization (modulo axes only)
You can set the following sync modes in the "Dynamic response" tab of the
Synchronous operation > Default dialog box:
• Leading axis-related synchronization profile: Synchronization and sync off
based on control values
• Time-related synchronization profile: Synchronization and sync off based on
dynamic values
S7-Technology
4-146 A5E00251798-04
Configuration
A synchronization specific to the leading axis is defined by setting the start or end
value of the synchronization, and a synchronization length ("Sync. length" or
"Desync. length") which is referenced to the control value.
A synchronization profile is determined. That is, a dynamic transition is calculated
independently of the dynamic response characteristic of the control value.
The velocities at the margins of the synchronization process are constant.
The synchronization length specified in the dialog forms the basis for the definition
of the synchronization range with reference to the control value. The
synchronization is defined at the technology functions "MC_GearIn" (gear
synchronism) or "MC_CamIn" (cam synchronism), or at the technology functions
"MC_GearInSuperImposed" (superimposing gear synchronism), or
"MC_CamInSuperImposed" (superimposing cam synchronism).
Input parameter Mode at the technology functions determines whether to fetch the
values for the synchronization profile from S7T Config (Mode = 0), or whether to
use the dynamic defaults of the block (Mode = 1).
Note
The synchronization profile depends on the velocity of the leading axis, and on the
set synchronization length. Any dynamic definitions at the synchronization object
will be ignored. For this reason, the dynamic response limitation only occurs in the
following axis.
S7-Technology
A5E00251798-04 4-147
Configuration
S7-Technology
4-148 A5E00251798-04
Configuration
Note
During synchronization of a synchronization axis with default dynamic variables, for
which the start point of synchronization is defined, the following axis accelerates up
to its target velocity with hyperbolic action.
Note
If an optimal synchronization is not possible, a reverse motion may be generated.
Any change in the velocity control value is applied to the dynamic values of the
synchronization process. A warning message is output if the configured tolerance
limit is violated.
If the control value sign reverses during synchronization, synchronization is
canceled with error.
S7-Technology
A5E00251798-04 4-149
Configuration
Synchronization direction
You can set the synchronization direction in the following dialog boxes:
• Gearing
Axis_SYNCHRONUS_OPERATION > Default dialog box, "Gear
synchronization" tab, "Synchronization direction"
• Camming
Axis_SYNCHRONUS_OPERATION > Default dialog box, "Cam
synchronization" tab, "Synchronization direction"
The settings described below apply to the start and stop of synchronization.
These settings can also be made in the system variables
userdefault.gearingsettings.synchronizingdirection or
userdefault.cammingsettings.synchronizingdirection .
• Compatibility mode (SYSTEM_DEFINED)
The following axis is synchronized within the shortest possible distance. The
direction will be retained if synchronization of the moving axis is possible in the
currently set direction. The current direction of motion will be changed as
required for synchronization. The system calculates the motion sequences
required for synchronization.
• Shortest distance (SHORTEST_WAY)
The following axis is synchronized within the shortest possible distance.
• Negative synchronization direction (NEGATIVE_DIRECTION)
Only the synchronization in negative direction is allowed, i.e., there may be no
transitions from negative to positive velocities in the process. If synchronization
is prevented, S7T Config outputs error message "50007 Error when
activating/deactivating synchronous mode."
• Positive synchronization direction (POSITIVE_DIRECTION)
Only the synchronization in positive direction is allowed, i.e., there may be no
transitions from positive to negative velocities in the process. If synchronization
is prevented, S7T Config outputs error message "50007 Error when
activating/deactivating synchronous mode."
Compatibility mode is always used Mode = 1 at "MC_CamIn" or "MC_GearIn."
S7-Technology
4-150 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-151
Configuration
S7-Technology
4-152 A5E00251798-04
Configuration
4.7.4 Synchronization
You can set the synchronization conditions in the "Gear synchronization" and "Cam
synchronization" tab of the Synchronous operation > Default dialog box.
Setting Meaning
Effective immediately Synchronization starts immediately after the start of the function.
The settings in "Sync. pos. master setpoint", "Sync. pos. following axis"
and "Position reference" are not evaluated.
Synchronization position The synchronization criterion is applied irrespective of the leading axis
specification of leading axis position. The synchronization position is defined in "Sync. pos. master
setpoint."
The setting in "Sync. pos. following axis" is ignored.
Transition at the end of the active This can only be set with relative leading axis reference.
cam disk Synchronization criterion is the control value position at the end of the
(only with camming) current cam disk cycle.
The setting in "Sync. pos. following axis" is ignored.
S7-Technology
A5E00251798-04 4-153
Configuration
Setting Meaning
Synchronisation position The synchronization criterion is applied irrespective of the leading axis
specification of leading axis and position. The synchronization position is defined in "Sync. pos. master
following axiss setpoint."
In addition, an offset at the following axis is generated, based on the
setting in "Sync. pos. following axis", i.e., the following axis is not
synchronized based on its programmed position (e.g. by means of cam
disk), but rather based on the position "Sync. pos. following axis" plus
the absolute position value of the following axis derived from the cam
disk.
Example:
The following axis is coupled to the leading axis by means of a cam
disk.
The cam disk was created to position the following axis to 70 at a
leading axis position of 50.
With a parameter setting "SyncPos following axis" = 80, the following
axis is synchronized at position 150 (70 + 80) when the leading axis is
in position 50.
Cam disk coupling is maintained (with unchanged scaling), but with a
new offset of 80.
Effective immediately and Synchronization starts immediately after the start of the function. The
synchronous position of the phase shift developing between the leading and following axes is
following axis determined by the slave position at the start of the function. The offset
is thus compensated by the acceleration ramp of the following axis.
The synchronization motion is determined by dynamic preset.
The setting in "Sync. pos. master setpoint" is ignored.
Last programmed setting Not applicable
Position reference
S7-Technology
4-154 A5E00251798-04
Configuration
Setting Meaning
Synchronize from Synchronization starts at the synchronization position. The
synchronization position synchronization length is derived form the time-based synchronization
profile in dynamic data, and for a leading axis-specific synchronization
profile from the "Synchronization length" parameter. The following axis
is synchronized when this length has been passed.
Synchronization direction
S7-Technology
A5E00251798-04 4-155
Configuration
Setting Meaning
User default / standard The default value can be set at the following system variable in the
expert list:
Setting for gearing:
userdefault.gearingsettings.synchronizingdirection
(parameter 4291 for "MC_ReadSysParameter," "MC_WriteParameter")
Settings for camming:
userdefault.cammingsettings.synchronizingdirection
(parameter 4270 for "MC_ReadSysParameter," "MC_WriteParameter")
Compatibility mode Gearing
The following axis is synchronized in positive direction.
Camming
The following axis is synchronized within the shortest possible
distance.
Shortest distance without The following axis is synchronized within the shortest possible
direction specification distance.
Negative synchronization The direction of the synchronization motion is always negative.
direction
Positive synchronization direction The direction of the synchronization motion is always positive
Maintain direction of the following Synchronization is always determined by the direction of the following
axis axis motion.
S7-Technology
4-156 A5E00251798-04
Configuration
4.7.5 Desynchronization
You can set the desynchronization conditions in the "Gear synchronization" and
"Cam synchronization" tab of the Synchronous operation > Default dialog box.
Setting Meaning
Effective immediately Desynchronization starts immediately after the start of the function.
The setting in "DeSync control value", "Desync. following axis" and
"Position reference" are ignored.
Desynchronisation position Desynchronization starts based on the following axis position set in
specification of following axis "DeSync following axis."
The setting in "DeSync leading axis" are ignored.
Desynchronisation position Desynchronization starts, based on the leading axis position set in
specification of leading axis "DeSync master setpoint."
The setting in "DeSync following axis" is ignored.
End of cam cycle Desynchronization starts at the end of the current cam disk cycle.
(only with camming)
Last programmed setting Not applicable
Position reference
S7-Technology
A5E00251798-04 4-157
Configuration
Setting Meaning
Stop from desynchronization Starts desynchronization at the desynchronization position.
position The desynchronization length is derived from dynamic data for a time-
based synchronization profile, and from the "Desynchronization length"
parameter for a leading axis-specific synchronization profile.
Desynchronization starts after this length has been passed.
Stop before desynchronization In this mode, desynchronization starts when the axis reaches the
position Desynchronization position.
The position at which the desynchronization motion is started is
determined by the dynamic data when operating with time-based
synchronization profile, and by the "Desynchronization length"
parameter when operating with leading axis-specific synchronization
profile.
Stop symmetrically to In this mode, desynchronization starts when the axis reaches the
desynchronization position middle of the desynchronization length. The desynchronization motion
starts before the axis reaches the desynchronization position and ends
when it passes this position.
Desynchronization starts based on the profile, with reference to the
desynchronization length or dynamic settings.
Last programmed setting Not applicable
S7-Technology
4-158 A5E00251798-04
Configuration
The section below shows various system variables of S7T Config which can be
used to view the synchronization status:
S7-Technology
A5E00251798-04 4-159
Configuration
4.7.7 Configuration
This dialog box also contains functions for managing data sets and data set
changeover. For technology objects supporting several data sets, you can:
• create new data sets,
• delete data sets,
• define which data set for the technology object is loaded at CPU startup, and
• reconfigure the selected data set.
S7-Technology
4-160 A5E00251798-04
Configuration
4.7.8 Mechanics
S7-Technology
A5E00251798-04 4-161
Configuration
S7-Technology
4-162 A5E00251798-04
Configuration
4.7.9 Default
4.7.9.1 Dynamics
The standard values for axis dynamics can be set in the Axis > Default dialog box,
"Dynamic response" tab. The default values are applied if a negative dynamic
value is set at a technology function.
Stop time
The time set at "Stopping time" comes into effect when a moving axis is disabled
and Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
A5E00251798-04 4-163
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup, deceleration,
and velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of movement (jerk = 0).
• Smooth
The profile shows a linear acceleration, the jerk profile is controllable
(jerk <> 0).
S7-Technology
4-164 A5E00251798-04
Configuration
4.7.10 Limits
Emergency-off deceleration
The set emergency-off deceleration comes into effect when a moving axis is
disabled and Stopmode = 0 is set at "MC_Power."
S7-Technology
A5E00251798-04 4-165
Configuration
Connection
HW limit switches can be connected via four integrated digital inputs of the
Technology CPU, or the I/O operated on DP(DRIVE) (ET 200, SINAMICS S120
with TM15/TM17, for example.)
Traversing range
Traversing limits are monitored by means of the HW limit switches connected to
the digital inputs. HW switches are always break action switches, and should
always be active outside the permissible traversing range.
Release motion
An axis triggering a HW limit switch is stopped with error messages 8013 and
804B. It is released out of the range of the HW limit switch (release motion) as
described below:
• Manual release
The axis is returned manually to the permissible traversing range. The error
message at the technology DB can not be acknowledged until the axis is
released.
• Release motion with drive
The error at the axis technology DB is acknowledged, but the error message
and the LimitSwitchActive status bit remain active. The axis can now be moved
into its permitted traversing range. A reverse motion command once again
triggers an axis error. The LimitSwitchActive status can be acknowledged after
the axis has moved out of the range of the limit switch.
S7-Technology
4-166 A5E00251798-04
Configuration
The current position of the axis upon reaching the HW limit switch is saved. Only
when this position, plus a safety range, has been overrun is the axis considered to
have left the limit switch.
Caution
Once the HW limit switch has been overrun, the controller must not be switched off
in order to avoid a conflict between the polarity monitoring of the HW limit switches
and the overrun monitoring of the HW limit switches in the direction of the
permissible range. In this case, the axis must be moved into the permitted range
without hardware limit switch monitoring. There, monitoring can be enabled again.
At power on of the PLC, the axis must be located in the permissible traversing
range.
Internal states are lost if the axis overruns the HW limit switch and the configuration
is reloaded.. The relevant data can only be reloaded without loss of the approach
information if the axis is positioned within the valid range.
Exception: Disabling of limit position monitoring after a polarity error.
Safety range
The safety range of the HW limit switches is calculated based on the configured
resolution of the physical unit system of the axis.
Safety range = 1000 / (increments / position)
Example: A linear axis is assigned the position unit "mm" and an accuracy
(increments / position) of "1000/unit" in the "Configure units" dialog box, i.e. the
axis position is calculated with an accuracy of 0.001 mm. The safety range in this
example is a multiple of 1000 of the accuracy: 1 mm.
S7-Technology
A5E00251798-04 4-167
Configuration
Status-dependent acceleration
• Acceleration
Axis acceleration, irrespective of the direction.
• Deceleration
Axis deceleration, irrespective of the direction.
S7-Technology
4-168 A5E00251798-04
Configuration
Direction-based acceleration
• Acceleration
Acceleration in positive direction, deceleration in negative direction.
• Deceleration
Acceleration in negative direction, deceleration in the positive direction.
Dynamic direction control parameters are useful, for example, for suspended axes.
S7-Technology
A5E00251798-04 4-169
Configuration
Note
When the axis approaches the fixed endstop, and fixed endstop detection with
"use following error" is set, the entry in "Position tolerance after fixed endstop
detection" should be significantly less than that for "Following error for fixed
endstop detection."
S7-Technology
4-170 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-171
Configuration
Note
Reverse motion interlock (position controller in the drive) is not enabled when DSC
(Dynamic Servo Control) is set. The reverse motion interlock therefore needs to be
generated in the drive when DSC is enabled.
S7-Technology
4-172 A5E00251798-04
Configuration
Fine interpolator
The Fine interpolator function is used is to generate interim setpoint values when
the interpolator and the controller have a different duty factor. Optional interpolation
type settings at the fine interpolator:
• No interpolation
• linear interpolation (constant position of the positioning axis)
• interpolation with constant acceleration (constant acceleration at positioning
axis)
• interpolation with constant velocity (constant velocity at positioning axis)
The setpoint position will be interpolated when et as positioning axis.
The setpoint velocity is interpolated accordingly when set as velocity-controlled
axis.
S7-Technology
A5E00251798-04 4-173
Configuration
S7-Technology
4-174 A5E00251798-04
Configuration
The friction compensation is added relative to the velocity setpoint. It only takes
effect in motions tasks.
Zero-speed detection can be set separately for friction compensation, same as the
amplitude and decay response. The amplitude and decay response are set in the
configuration data.
S7-Technology
A5E00251798-04 4-175
Configuration
4.7.12 Homing
4.7.12.1 Introduction
Position-controlled axes equipped with incremental motor measuring systems must
be referenced to the position of the mechanical system of the machine each time
they are switched on. The axis is synchronized during homing based on the input
of a certain position value at a defined position of the drive mechanism.
Axes can be homed in:
• active mode (reference point approach)
• passive mode (homing on-the-fly)
• direct mode (with position preset)
Detailed settings depend on the measuring systems available for measuring the
homing position and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in S7T Config, in the Axis > Homing dialog box,
"Active homing" tab.
Three homing modes are available for "Active homing:"
• Homing cam and encoder zero mark
• encoder zero mark only
• External zero mark only
Start of the homing function:
S7-Technology
4-176 A5E00251798-04
Configuration
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the homing cam, and secondly the referencing encoder zero mark,
according to the axis configuration. The diagram shown in the lower section of the
figure shows the resultant motion profile.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-177
Configuration
S7-Technology
4-178 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-179
Configuration
• Phase 3:
Reference point approach
After the encoder zero mark is detected, the axis accelerates / decelerates to
approach velocity and approaches the homing position.
If a homing position offset was configured, the axis approaches the homing
position along the corresponding distance, starting at the synchronization
position. The traversing direction is determined by the sign of the homing point
offset value and by the length of the deceleration ramp after the encoder zero
mark is detected, if the homing position lies within the deceleration ramp.
S7-Technology
4-180 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-181
Configuration
S7-Technology
4-182 A5E00251798-04
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute reference point approach in "external zero mark" homing mode,
select the values at the "Signal transition" values and "on the side of the external
zero mark" so that these correspond with the configuration or drive functionality.
The "Signal transition" and "on external zero mark side" parameters are not used
to configure the measuring function in the drive, but rather reflect their functionality
in order to control the axis motion according to the configuration.
For information on the configuration of external zero mark detection, refer to the
relevant product information or to the drive manuals.
S7-Technology
A5E00251798-04 4-183
Configuration
Homing without encoder zero mark is used, for example, in axes for which the
encoder sets only one encoder zero mark in the entire traversing range of the axis.
This homing command moves the axis to the encoder zero mark. Once the axis
detects the encoder zero mark, the homing position offset is applied at homing
velocity. The axis position has now assumed the value defined at the reference
point coordinate. The diagram shown in the lower section of the figure shows the
resultant motion profile.
Meaning of the various parameters:
S7-Technology
4-184 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-185
Configuration
MC_Home Mode = 2 At the homing position, the current position is assigned the
Position = x value at input parameter Position.
Note
Note that not all drive components support all homing mode or measured signal evaluation
functions. For details, refer to the documentation of the drive components used.
Note
Triggering of encoder zero mark or homing cam monitoring during a passive homing
operation is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
4-186 A5E00251798-04
Configuration
Passive homing mode "Homing output cam and encoder zero mark"
After the homing cam has been passed, the next encoder zero mark triggers axis
homing. At the homing position, the axis position is set to the position value defined
at input parameter Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
A5E00251798-04 4-187
Configuration
Axis homing starts with the detection of the external zero mark. The axis is set to
the position value at the Position input of the technology function "MC_Home."
S7-Technology
4-188 A5E00251798-04
Configuration
Note
When homing with " external zero mark", connect the external zero mark as digital input at
the measured value input of the drive component.
Note
In order to execute the reference point approach in "external zero mark" homing mode,
select the values at "Motion direction" and "on the side of the external zero mark" so that
these correspond with the configuration or drive functionality. The "on the side of the
external zero mark" and "Direction of movement" parameters are not used to configure the
measuring function in the drive, but rather reflect their functionality.
For information on the configuration of external zero mark detection, refer to the relevant
product information or to the drive manuals.
S7-Technology
A5E00251798-04 4-189
Configuration
Homing in "Zero mark only" mode is used, for example, at axes equipped with an
encoder which outputs only one zero mark signal in the entire traversing range of
the axis.
Axis homing starts with the detection of the encoder zero mark. When the encoder
zero mark is detected, the axis position value is set to the position value at input
parameters Position of the "MC_Home" technology function.
Meaning of the various parameters:
S7-Technology
4-190 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-191
Configuration
S7-Technology
4-192 A5E00251798-04
Configuration
4.7.13 Monitoring
The "Positioning and standstill monitoring" tab shows whether you set the
Positioning or Synchronism technology for the axis.
S7-Technology
A5E00251798-04 4-193
Configuration
Positioning monitoring
At the end of a positioning motion, the function monitors the approach to the set
position. Define a positioning window and a time tolerance indicating the point in
time at which the end position must have been reached. Monitoring is enabled at
the end of setpoint value interpolation.
You can also set a minimum dwell time in the positioning window, which is to
expire before a positive feedback of the positioning command is received. This time
can be used for oscillating processes and control loops, for which the tolerance
window should be less than the overshoot amplitude.
A positive feedback of the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB indicates error
8019.
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command is equal to the value at the destination position, and the delay time for
setting standstill monitoring.
Standstill monitoring is triggered when the axis moves out of the configured
standstill velocity tolerance window for any time longer than the configured time.
When standstill monitoring is triggered, the axis technology DB indicates error
8018.
S7-Technology
4-194 A5E00251798-04
Configuration
The "Enter velocity" input box allows the user to verify the set values of following
error monitoring in order to determine the permissible maximum following error at
the set velocity.
The "Following error monitoring" tab is shown for position-controlled physical axes.
S7-Technology
A5E00251798-04 4-195
Configuration
S7-Technology
4-196 A5E00251798-04
Configuration
Setpoint tolerance:
Enter the max. permissible setpoint tolerance.
S7-Technology
A5E00251798-04 4-197
Configuration
S7-Technology
4-198 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-199
Configuration
4.7.14.1 Camming
Set the properties of the synchronization object for the synchronization of cam
synchronism in the Axis_SYNCHRONUS_OPERATION > Default dialog box,
"Camming" tab.
The settings in this dialog box are only applied if technology function "MC_CamIn"
or "MC_CamInSuperImposed" Mode = 2 is selected.
The cam synchronism is characterized by a variable coupling between the control
value source and the following axis(axes.) The coupling is described by a cam disk
(transfer function).
Scaling and offset of cam synchronism is possible at the control value source and
at the following axis (axes.) This allows an individual adjustment of the cam disk
definition and range.
Start point in the cam disk with relative cam disk synchronism:
Here, you define the start point in the cam disk with relative cam disk synchronism
at which the leading axis passes the cam disk.
S7-Technology
4-200 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-201
Configuration
Synchronization
• Synchronization:
Here, you determine the time at which the following axis is synchronized with
the leading axis.
• Position reference:
Here, you define the position of the synchronization profile relative to the
position of the synchronization point.
• Synchronization direction: (only for modulo axes)
Here you define the synchronization direction.
• Master value SyncPos:
Here you enter the position of the synchronization point for the leading axis.
• Following axis SyncPos:
Here you enter the position of the synchronization point for the following axis.
Desynchronization
• Desynchronization
Here, you determine the time at which synchronization of the following axis with
the leading axis is deactivated.
• Position reference:
Here, you define the position of the desynchronization profile relative to the
position of the desynchronization point.
• Master value desync.:
Here you enter the position of the desynchronization point for the leading axis.
• Following axis desync.:
Here you enter the position of the desynchronization point for the following axis.
S7-Technology
4-202 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-203
Configuration
Synchronization
• Synchronization:
Here, you determine the time at which the following axis is synchronized with
the leading axis.
• Position reference:
Here, you define the position of the synchronization profile relative to the
position of the synchronization point.
• Synchronization direction: (only for modulo axes)
Here you define the synchronization direction.
• Master value SyncPos:
Here you enter the position of the synchronization point for the leading axis.
• Following axis SyncPos:
Here you enter the position of the synchronization point for the following axis.
Desynchronization
• Desynchronization
Here, you determine the time at which synchronization of the following axis with
the leading axis is deactivated.
• Position reference:
Here, you define the position of the desynchronization profile relative to the
position of the desynchronization point.
• Master value desync.:
Here you enter the position of the desynchronization point for the leading axis.
• Following axis desync.:
Here you enter the position of the desynchronization point for the following axis.
S7-Technology
4-204 A5E00251798-04
Configuration
4.7.14.4 Dynamics
Set the basic defaults for the activation/deactivation of synchronization in the
Axis_SYNCHRONUS_OPERATION > Default dialog box, "Dynamics" tab.
Profile setting:
Here you define the reference of the synchronization profile.
• Leading axis-related synchronization
• Time-related synchronization profile
• Last programmed setting
The default "last programmed setting" profile is not available in this version.
S7-Technology
A5E00251798-04 4-205
Configuration
Time-related synchronization
• Velocity
Here you enter the maximum velocity.
• Velocity profile
Here you select the velocity profile.
• Acceleration
Here you enter the maximum acceleration.
• Deceleration
Here you enter the maximum deceleration.
• Jerk:
Here you enter the maximum jerk.
Velocity profile, velocity, acceleration and jerk are only evaluated for time-based
synchronization profiles.
S7-Technology
4-206 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-207
Configuration
Requirements
• The data of the Technology CPU are configured in HW Config and are
compiled.
Step Description
1. To create a new cam disk in S7T Config using CamEdit, double-click "Insert cam" in the
Navigator of S7T Config.
To create the cam disk using the optional SW package SCOUT CamTool, double-click "Insert
cam disk with CamTool" (this entry is only visible if the optional package is installed.)
In the next phases of this example, we shall refer only to CamEdit. For a detailed description of
the functions and handling of SCOUT CamTool, refer to the "SIMOTION CamTool" manual.
S7-Technology
4-208 A5E00251798-04
Configuration
Step Description
2. In the "Insert cam" dialog box, type in the name of the technology object and of the author, then
add the version number and a comment. Select whether to define the cam disk by means of
interpolation table or polynomials. Set the "Open editor automatically" check box in order to
automatically open the cam configuration dialog box:
Click "OK"
Result: The CamEdit dialog box opens.
3. Define the cam disk by means of the interpolation table or polynomials, depending on the type.
Change the scaling and the interpolation mode of the cam disk.
4. Close CamEdit.
Result: The technology object is inserted.
S7-Technology
A5E00251798-04 4-209
Configuration
Note
After it is interpolated, new polynomials or interpolation points can only be added
after resetting the cam disk.
During interpolation and in the continuity check, the properties of leading and
following axes are neglected.
S7-Technology
4-210 A5E00251798-04
Configuration
In the Insert cam dialog box, you can choose to define the cam disk based on
interpolation points or polynomials.
• Definition based on interpolation points
In the interpolation point table, the interpolation point are described by the
formula P = P(x,y). The order in which the value pairs are entered is irrelevant.
They are automatically sorted in ascending order in the domain.
S7T Config interpolates the cam disks according to the configured interpolation
mode.
• Definition based on polynomials / segments
The various polynomials are described in accordance with "VDI Directive 2143,
Motion Laws for Cam Mechanisms." The maximum degree of the polynomial is
6 and can also contain a trigonometry function.
S7-Technology
A5E00251798-04 4-211
Configuration
• The CamEdit dialog box can be used to perform the following tasks:
• Define the cam disk by entering their segments or interpolation points.
• Create cam disks with defined transitional motions using the VDI wizard.
• Edit the cam of the cam disk.
• Download the cam of a cam disk to the PLC (only possible if the cam disk is not
in use.)
• Read the cams from the PLC.
• View the cam geometry, and compare the offline cam on the PG/PC with the
online cam on the PLC (display: scaled / not scaled)
The interpolation settings in CamEdit will be ignored if made in technology function
"MC_CamInterpolate." The cam can not be scaled and offset in the user program.
S7-Technology
4-212 A5E00251798-04
Configuration
4.8.3.1 Interpolation
In the CamEdit dialog box, "Interpolation" tab, you define whether to retain gaps
between the segments and the cam disk, or whether to interpolate between he end
points of the various segments. Gaps represent discontinuity in the cam profile,
and develop where cam disk segments do not overlap. If the various cam disk
segments overlap you can define which of these will take priority.
The settings shown can be made by setting the "Expert mode" check box:
S7-Technology
A5E00251798-04 4-213
Configuration
S7-Technology
4-214 A5E00251798-04
Configuration
4.8.3.2 Interpolation(2)
Set the type and range of the leading axis values of the cam disk in the
"Interpolation(2)" tab of CamEdit. These settings form the basic conditions of
interpolation.
S7-Technology
A5E00251798-04 4-215
Configuration
Select the "Scaling" tab in the CamEdit dialog box to define the scaling and offset
of the leading and following axes.
S7-Technology
4-216 A5E00251798-04
Configuration
Note
If a scaled and/or offset cam disk is used in more than one object, the adjustments
go into effect in all relevant objects.
S7-Technology
A5E00251798-04 4-217
Configuration
S7-Technology
4-218 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-219
Configuration
S7-Technology
4-220 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-221
Configuration
S7-Technology
4-222 A5E00251798-04
Configuration
S7-Technology
A5E00251798-04 4-223
Configuration
S7-Technology
4-224 A5E00251798-04
Configuration
You can also use SCOUT CamTool to create and edit cam disks. This tool can be
ordered separately. SCOUT CamTool offers the following benefits:
• Precise, graphic visualization of the cam
• Quick and easy cam domain by means of drag-and-drop of cam elements
• Quick and easy cam tuning by means of "dragging at the profile"
• Simultaneous visualization of the position, velocity, acceleration and jerk profile
has an immediate effect on the maximum velocity, the motor torque required
and on mechanical load.
• Tuning the velocity, acceleration or jerk parameters of the cam
The SCOUT CamTool SW is totally integrated into the user interface of
S7T Config.
For detailed information on the functions and handling of this SW, refer to the
"SIMOTION CamTool" manual.
S7-Technology
A5E00251798-04 4-225
Configuration
Working ranges
S7-Technology
4-226 A5E00251798-04
Configuration
Motion transitions
Possible motion transitions in the various working ranges:
Note
The VDI Wizard supports you in creating cam disks in S7T Config. Select
CamEdit to open this tool.
S7-Technology
A5E00251798-04 4-227
Configuration
References
• VDI Directive 2143, Page 1: Motion Laws for Cam Mechanisms - Basic Theory,
Düsseldorf: VDI-Verlag, 1980
• Volmer, J. (Publisher): Mechanism Design - Cam Mechanisms, 2. Release
Berlin: Verlag Technik, 1989
S7-Technology
4-228 A5E00251798-04
Configuration
Requirements
• The data of the Technology CPU are configured in HW Config and are
compiled.
• An axis or external encoder is created in S7T Config.
Step Description
1. In the S7T Config navigator, double-click "cams".
S7-Technology
A5E00251798-04 4-229
Configuration
Step Description
2. In the "Insert Output cam" dialog box, type in the name of the technology object and of the
author, then add the version number and a comment. Set the "Open editor automatically" in
order to open the cam configuration dialog box automatically:
Further procedure
Configure the cam in the Output cam > Configuration dialog box.
S7-Technology
4-230 A5E00251798-04
Configuration
4.9.2 Configuration
In the Output Cam > Configuration dialog box, you can set the following items for
the "Output Cam" technology object:
• Output cam type: Position-based cams, time-based cams, or switching cams
• The system cycle in which the cam is calculated
• Reference values of the cam: setpoint or actual values
• Using the cam as high-speed cam
Note
Cams also take effect at non-homed axes.
Output
Set the "Activate output" check box to assign a HW address and a logic operation
to the "Cam" technology object.
When output is disabled, the cam can only be evaluated in the software.
S7-Technology
A5E00251798-04 4-231
Configuration
HW address
The cam is assigned only to one output. This may be an integrated digital output of
the Technology CPU, a digital output on DP(DRIVE), for example, at an ET200
station, or the output of a TM15 or TM17 High-Feature module.
Several cams can be connected to the same output.
The switching accuracy of the cam is determined by :
• The accuracy of I/O output,
• The priority of the cam in the system cycles,
• The compensation of constant delay times.
Logical operation
In the Output cam > Configuration dialog box, you can determine whether to
interconnect the cam with the output by means of a logical AND or OR operation.
As a result, all cams are ORed at the output, and are then logically linked by an
AND operation.
Two ORed cams:
s
Cam 1
Cam 2
Output
S7-Technology
4-232 A5E00251798-04
Configuration
Requirements
• The data of the Technology CPU are configured in HW Config and are
compiled.
• An axis or external encoder was created in S7T Config.
S7-Technology
A5E00251798-04 4-233
Configuration
Step Description
2. In the "Insert measuring input" dialog box, type in the name of the technology object and of the
author, then add the version number and a comment. Set the "Open editor automatically" in
order to open the measuring sensor configuration dialog box automatically:
Further procedure
In the Measuring Input> Configuration dialog box, configure the measuring
sensor.
S7-Technology
4-234 A5E00251798-04
Configuration
In the Measuring input > Configuration dialog box you can set the following
functions for the "measuring input" technology object:
• Meas.input cycle clock: IPO, IPO2 or position control cycle clock. By default, the
measurement results are written to the system variables of the technology
object based on the interpolator cycle.
• The measuring sensor number: corresponds with the number of the measuring
input used at the drive component (only if "Measuring input an the TM15/TM17
module" is disabled.) One specific measuring input can be assigned to several
measuring inputs.
• The system number: corresponds with the number of the encoder system used
(if several encoders are configured at the axis, otherwise 1). One specific
encoder system can be assigned to several measuring sensors.
Set the "monitor current status" check box to suppress short pulses (shorter than
the position controller cycle) at the measuring sensor input. A measuring sensor
triggered at the positive edge is not enabled until the signal status at the measuring
sensor input was 0 for the duration of at least one position controller cycle.
If the measuring sensor input is located on a TM15/TM17 High Feature module, set
the "Measuring input an the TM15/TM17 module" check box in the configuration
dialog.
An input box opens after you set the check box, showing the byte address of the
measuring sensor signal at DP(DRIVE), and a drop-down list in which you can
select the corresponding bit number.
Note
The measuring sensor input must be located either on the drive component used,
or on a TM15/TM17 High Feature module. Other digital inputs can not be used as
measuring sensor inputs.
The measuring sensor can only be connected to the drive component containing
the encoder input. If the encoder input is connected to SIMODRIVE, for example,
you can only connect the measuring sensor to ADI4 if the ADI4 is also connected
to SIMODRIVE.
S7-Technology
A5E00251798-04 4-235
Configuration
Before external encoders are used in the user program, the hardware of the
external encoder has to be configured in HW Config and the external encoder has
to be inserted as an "External encoder" technology object in S7T Config. For
information on configuring the encoder system in HW Config, refer to the drive
description or description of the SIMODRIVE sensor.
You program the function by calling the technology function "MC_ExternalEncoder"
in the user program. Here you program the enable and disable signals and the
homing settings for the external encoder. The association to the external encoder
created in S7T Config is set at the Axis input, by entering the number of the
relevant technology DB.
S7-Technology
4-236 A5E00251798-04
Configuration
Requirements
• The technology CPU has been configured in the HW Config.
• A drive with a free encoder system or a PROFIBUS encoder SIMODRIVE
sensor has been configured in HW Config. If the PROFIBUS encoder
SIMODRIVE sensor is used, it has to be operated in "synchronous" mode.
Details are provided in the product information, or in the documentation of the
encoder.
• The hardware configuration has been compiled and saved in HW Config.
Step Description
1. In the S7T Config navigator, double-click "Insert external encoder".
S7-Technology
A5E00251798-04 4-237
Configuration
Step Description
2. In the next dialog box, type in the name of the technology object and of the author, and add the
version number and a comment.
S7-Technology
4-238 A5E00251798-04
Configuration
Step Description
3. The "External encoder configuration" wizard appears.
From the fold-down list select "the encoder type": linear or rotary.
S7-Technology
A5E00251798-04 4-239
Configuration
Step Description
4. The "External encoder configuration units" dialog appears.
Select the units, e.g. "Degrees".
S7-Technology
4-240 A5E00251798-04
Configuration
Step Description
5. The "External encoder configuration - Modulo encoder" dialog appears.
To use the external encoder in modulo mode, i.e. the position values returned by the encoder
refer to a traversing range which is defined by the modulo start and length values, set the check
box and define those two values.
The address information in HW Config is read.
S7-Technology
A5E00251798-04 4-241
Configuration
Step Description
6. The "External encoder configuration - Encoder number" dialog appears.
If several encoder systems are available, the "External encoder configuration - Encoder
number" dialog box is opened. If only one drive or only one encoder system is configured in HW
Config, the dialog box from Step 7 is displayed immediately.
From the drop-down list, select the relevant encoder system, or the drive component to which it
is connected, for operation as external encoder.
S7-Technology
4-242 A5E00251798-04
Configuration
Step Description
7. After the encoder has been selected, the dialog box displays additional information as well as a
fold-down list from which the message type is selected.
The telegram type selected for the encoder systems of drives must correspond with the setting
in HW Config (see also Selecting the telegram type ).
• Settings for SIMODRIVE sensor
The "DP_message_frame_81_standard" message type must always be selected in case of
the PROFIBUS encoders SIMODRIVE sensor.
• ADI4 Settings
For ADI4, "DP_Tel3" must always be selected as the message type.
During the selection for the ADI4 the "Drive number" parameter is displayed as a fold-down
list. From this drop-down list, select the encoder number which was configured for this
encoder at AD14.
Confirm your entry with "Continue".
S7-Technology
A5E00251798-04 4-243
Configuration
Step Description
8. The "External encoder configuration - encoder type / mode" dialog appears.
From the "Encoder type", "Encoder mode" and "Measuring system" drop-down lists, select the
settings used in the configuration of the drive component or encoder. Details are found in the
supplementary descriptions of SIMODRIVE 611 universal, MASTERDRIVES MC, ADI4 and
SIMODRIVE Sensor, or in the relevant equipment manuals.
Example of settings at the SIMODRIVE Sensor:
• Encoder type: "Absolute value encoder, cyclic absolute"
• Encoder modes: "SSI"
• Measuring system: "Rotary encoder system"
Confirm your entries with "Continue".
S7-Technology
4-244 A5E00251798-04
Configuration
Step Description
9. The "External encoder configuration - Encoder data" dialog box is displayed. The contents of the
dialog box depends on the selected encoder type. The figure shows the dialog box for the
SIMODRIVE Sensor encoder.
• ADI4 Settings
Enter the encoder data which you have configured in HW Config at the ADI4.
• Settings for the encoder systems of the drives SIMODRIVE, MASTERDRIVES, etc.
Enter the encoder data which you entered at the drive configuration.
• Settings for SIMODRIVE sensor
Enter the values for the SIMODRIVE sensor as shown below:
Parameter Single-turn Multi-turn encoder
encoder
Encoder pulses per revolution 8192 8192
Multiplication factor of the absolute actual 1 1
value
Multiplication factor of the cyclic actual value 524288 128
Number of data bits 13 25
S7-Technology
A5E00251798-04 4-245
Configuration
Step Description
10. The dialog box below shows a summary of the configuration.
S7-Technology
4-246 A5E00251798-04
Configuration
The External encoder > Configuration dialog box shows the drive and encoder
settings.
After selecting the "Reconfigure external encoder" command button, you can use
the encoder wizard to modify the settings.
S7-Technology
A5E00251798-04 4-247
Configuration
In the External encoder > Mechanics, define the mechanical parameters of the
external encoder..
S7-Technology
4-248 A5E00251798-04
Configuration
In the External encoder > Default, enter the reference position of the external
encoder. The reference position is used to specify the position of the "External
encoder" technology object within the coordinate system. This position
specification can be used during the synchronization via the
"MC_ExternalEncoder" technology function in the mode 4 and 5.
S7-Technology
A5E00251798-04 4-249
Configuration
Also set the expected approach direction for homing at the configuration parameter
TypeOfAxis.Encoder_1.IncHomingEncoder.passiveApproachDirection.
Options available:
• APPROACH_NEGATIVE_PASSIVE(0)
Homing with approach to encoder zero mark in negative direction
• APPROACH_POSITIVE_PASSIVE(1)
Homing with approach to encoder zero mark in positive direction
• EDGE_POS_SIDE_NEG_PASSIVE(2)
Homing with approach to external zero mark in positive direction
• EDGE_POS_SIDE_POS_PASSIVE(3)
Homing with approach to external zero mark in negative direction
• EDGE_NEG_SIDE_NEG_PASSIVE(4)
Homing when passing the external zero mark in positive direction
• EDGE_NEG_SIDE_POS_PASSIVE(5)
Homing with passing the external zero mark in negative direction
• ACTUAL_DIRECTION_PASSIVE(6)
Homing at the next edge of the external or encoder zero mark
S7-Technology
4-250 A5E00251798-04
Configuration
The selection of the approach direction depends on the homing mode. The table
below shows the relationship between the approach direction and the homing
mode:
Homing mode
Approach direction CAM_AND_ZM_ ZM_ CAM_ DEFAULT_
PASSIVE(1) PASSIVE(2) PASSIVE(3) PASSIVE(4)
APPROACH_NEGATIVE_PASSIVE(0) X X F Gx
APPROACH_POSITIVE_PASSIVE(1) X X F Gx
EDGE_POS_SIDE_NEG_PASSIVE(2) F F X Gy
EDGE_POS_SIDE_POS_PASSIVE(3) F F X Gy
EDGE_NEG_SIDE_NEG_PASSIVE(4) F F X Gy
EDGE_NEG_SIDE_POS_PASSIVE(5) F F X Gy
ACTUAL_DIRECTION_PASSIVE(6) X X N Gx
X - valid configuration
F - invalid configuration
N - function not supported
Gx - encoder with zero mark (TTL, sine / cosine)
Gy - encoder without zero mark (Endat)
Note
Please not that the homing modes listed earlier are not supported by all drive
component (for details, refer to the corresponding documentation).
S7-Technology
A5E00251798-04 4-251
Configuration
The standstill signal for the external encoder can be set in the configuration data in
the Expert list of S7T Config:
• The "Velocity threshold standstill signal" is found in the configuration data
TypeOfAxis.StandStillSignal.maxVeloStandStill
• The "Signal output delay" signal is found in the configuration data
TypeOfAxis.StandStillSignal.delayTimeToActivate
S7-Technology
4-252 A5E00251798-04
Configuration
Step Description
1. In SIMATIC Manager, select the source station, then select the Edit > Copy command.
2. Select the destination project, then select the Edit > Paste command.
After this insertion, a new station with a unique name is shown in the project. All STEP 7
components were copied to this new station.
3. Open the hardware configuration for the new station. Add it to the configuration of the
DP(DRIVE) interface, and of the MPI/DP interface as required, because the logical network links
or the networks are not included in the copy operation. You should therefore create new
network objects, and then adapt these to the synchronization cycle of the configured drive
component.
4. Save and compile the hardware configuration. Close HW Config.
5. In SIMATIC Manager, select "Technological objects" and then run "Technology Objects
Management" by selecting Edit > Open object.
Adapt the generated technology DBs as required.
You have now created a new station that contains the corresponding data of the
source station (save for the difference in names).
S7-Technology
A5E00251798-04 4-253
Configuration
S7-Technology
4-254 A5E00251798-04
5 Programming
S7-Technology
A5E00251798-04 5-1
Programming
The diagram shows the time requirements of the various clock cycles in time slice
units. These requirements vary depending on the number of configured technology
objects. The time slices of the interpolator, the interpolator clock 2 and the update
cycle of the technology DBs are not processed in all position controller cycles.
DP communication, the position controller cycle, interpolator cycle, interpolator
cycle 2 and the technology DB update cycle are executed with descending priority.
The command executing functions utilize the time interval between two position
controller cycles. The smaller this interval, the more time is left for command
execution.
Clock cycles selected in the example shown:
• position controller cycle = 1
(corresponds with a 1:1 ratio between the DP and position controller cycles)
• Interpolator cycle = 2
(corresponds with a 1:2 ratio between the interpolator cycle and the interpolator
clock)
• Interpolator cycle 2 = 2
(corresponds with a 1:2 ratio between the interpolator cycle and the interpolator
clock 2)
• Update cycle of the technology DB = four times the interpolator cycle
(interpolator cycle 2 in the example shown)
The cycles shown are synchronized with the DP cycle and DP communication.
• DP cycle
The DP cycle determines the intervals of data exchange between the DP IO on
DP(DRIVE.) data are exchanged within the "DP communication" time slice. In
the configuration in HW Config, you need to enable the constant bus cycle time
at the DP(DRIVE). The integrated technology, in combination with the
synchronized components on DP(DRIVE), form the basis of isochronous
operation.
• Position controller clock cycle
The system computes the position control within the time slice of the position
controller cycle, for example. The time requirements of this time slice remain
near constant while the Technology CPU is in operation.
The position controller clock cycle determines the interval between successive
position controller clocks.
The value of the position controller cycle can be set in S7T Config to a multiple
of the DP cycle. We recommend a clock ratio of 1:1 in order to optimize
performance in terms of processing of the technology objects.
• Interpolator clock cycle The time slice of the interpolator clock is used to
calculate control variables, for example. The interpolator clock cycle determines
the interval between successive interpolator cycle. The time slice my increase
briefly at the start of once or several commands.
• Interpolator clock cycle 2 Interpolator clock 2 handles the same tasks as the
interpolator clock, and can be used for technology objects of a lower priority
class.
S7-Technology
5-2 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-3
Programming
The example shows the time profiles when the set DP cycle is too hard-pressed.
The clock ratios as shown in the previous example should be applied:
• Cycle 1
The time required for the interpolator cycle is longer than the time made
available in cycle 1. Interpolator cycle 2, including update of technology DBs
can thus not be started within this cycle. The start will be postponed to the next
cycle.
• Cycle 2
Execution of the interpolator cycle is interrupted by DP communication, and by
the position controller cycle. On completion, the system continues at the time
slice of the interpolator cycle. Next , it executes interpolator cycle 2, and initiates
the update of the technology DBs.
• Cycle 3
In this cycle, the system interrupts the update of the technology DBs in order to
execute the higher-priority tasks (DP communication, position controller cycle,
and the interpolator cycle.) As in cycle 1, is it not possible to completes the
interpolator cycle within this cycle.
• Cycle 4
When the position controller cycle is completed, the system continues with the
execution of the time slice of the interpolator cycle. Next, it executes the time
slice of interpolator cycle 2 and finalizes the update of the technology DBs. This
leaves only a narrow time slice for command execution.
• Cycle 5
The sequence described for cycles 1 to 4 is repeated as of cycle 5.
S7-Technology
5-4 A5E00251798-04
Programming
The command start may briefly increase the time requirements of the interpolator
cycle. The diagram shows a state which may lead to an "overflow" of the
interpolator cycle. The cycle characteristics as shown in the earlier examples apply:
• Cycle 1
The time required for the interpolator cycle is much longer than the time made
available in cycle 1. Interpolator cycle 2, including update of technology DBs
can thus not be started within this cycle. The start will be postponed to a later
cycle.
• Cycle 2
Execution of the interpolator cycle is interrupted by DP communication, and by
the position controller cycle. On completion, the system continues at the time
slice of the interpolator cycle.
• Cycle 3
Again, the system interrupts the interpolator cycle to execute DP
communication and the position controller cycle. The system is still busy
executing the interpolator cycle, and calls a new interpolator cycle. This action
leads to an "overflow" of the interpolator cycle. The technology CPU goes into
stop or tolerates this overflow, depending on the settings in S7T Config. In this
example, at least one overflow will be tolerated and execution is continued, i.e.,
the Interpolator cycle will be completed. Next , it executes interpolator cycle 2,
and updates the technology DBs. This leaves only a narrow time slice for
command execution.
• Cycle 4
The interpolator cycle which should have been started in cycle 3 will be skipped
in this cycle, i.e., the system executes the command execution time slice when
the position controller cycle is completed.
• Cycle 5
Again, the time required for the interpolator cycle can be neglected. The
interpolator cycle, interpolator cycle 2 and the technology DB update can be
executed in cycle 5.
Note
If the clock cycles are set too tight, an overflow of interpolator clock 2, or an update
of the technology DB may be expected. The number of tolerated overflow events
can be set in the "System clocks" dialog box of S7T Config (menu command
Target system > Set system cycle clocks).
S7-Technology
A5E00251798-04 5-5
Programming
Control cycles
• OB1 cycle
The length of the OB1 cycle is determined by the number of instructions to be
executed. The OB1 cycle operated independent on the cycles of the integrated
technology.
• OB 32...35 cycle
The watchdog interrupt OBs are called within a time pattern of 1 s to 60 s. The
watchdog interrupts are called independent on the clock and cycles of the
integrated technology.
• OB 65 cycle
The technology synchronization interrupt OB is called after each update of the
technology DBs. The technology synchronization interrupt is thus coupled to the
integrated technology.
S7-Technology
5-6 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-7
Programming
You can set a basic clock for technology DB updates as a multiple of the
interpolator clock.
S7-Technology
5-8 A5E00251798-04
Programming
The technology system clock of axes, external encoders, cams and measuring
sensors are configured in the Configuration dialog box of S7T Config.
The synchronization axis and the corresponding synchronization object must be
operated within the same execution cycle. If you modify the execution cycle of a
synchronization axis, the change also has to be applied to the synchronization
object:
1. In Navigator of S7T Config, select the synchronization object of the
corresponding synchronization axis.
2. Select Expert > Expert list from the shortcut menu.
3. You can edit the execution cycle at configuration parameter
Execution.executionlevel.
You can reduce a job execution time which requires several position controller
cycles by taking the measures described below:
• Set a longer DP or position controller cycle
• Extend the technology DB update cycle, or distribute the update of individual
technology DBs to different cycles (see also Updating the technology DBs ).
• Assign the low-priority technology objects the interpolator cycle 2. This reduces
load on the interpolator cycle and increases the time slices for command
execution.
S7-Technology
A5E00251798-04 5-9
Programming
Runtime model
The figure below shows the command interface between the PLC and its integrated
technology.
S7-Technology
5-10 A5E00251798-04
Programming
Programming model
The figure below shows the structure of a user program. The step sequence is
independent of processing in OB1 or in a watchdog interrupt cycle (OB32 to
OB35).
S7-Technology
A5E00251798-04 5-11
Programming
S7-Technology
5-12 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-13
Programming
S7-Technology
5-14 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-15
Programming
The BRB bit will be reset from 1 to 0 and output A 16.0=TRUE when an error is
detected.
Note
The output parameter values may be invalid if the BRB bit indicates an error during
the execution of the technology function.
Hence, you should first evaluate the BRB bit after you have called the technology
function. Next, check the ErrorID output parameter.
S7-Technology
5-16 A5E00251798-04
Programming
Acknowledging errors
Eliminate the cause of errors detected in the ErrorID variable (ErrorID = 8xxx). The
errors indicated at the technology DB "MCDevice" and "Trace" can not be
acknowledged.
S7-Technology
A5E00251798-04 5-17
Programming
Acknowledging warnings
Warnings at the (ErrorID = 00xx) technology DB may, but do not need to be
acknowledged with "MC_Reset."
However, note the data volume in the ErrorBuffer[0..2] variable array. You can
keep the ErrorBuffer[0..2] variable array clear for any incoming error messages by
acknowledging the errors in due time.
Acknowledging errors
To acknowledge all errors, first eliminate their cause, and then acknowledge with
"MC_Reset" (Restart = FALSE). The technology object can then be enabled again
by calling the MC_Power technology function.
Caution
! Several unacknowledged errors may cause the CPU to go into STOP.
S7-Technology
5-18 A5E00251798-04
Programming
Acknowledging warnings
Warnings at the (ErrorID = 00xx) technology DB may, but do not need to be
acknowledged with "MC_Reset."
However, note the data volume in the ErrorBuffer[0..2] variable array. You can
keep the ErrorBuffer[0..2] variable array clear for any incoming error messages by
acknowledging the errors in due time.
Acknowledging errors
To acknowledge all errors, first eliminate their cause, and then acknowledge with
"MC_Reset" (Restart = FALSE).
Caution
! Several unacknowledged errors may cause the CPU to go into STOP.
S7-Technology
A5E00251798-04 5-19
Programming
Take into account that not all the parameters can be read or modified at virtual
axes.
S7-Technology
5-20 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-21
Programming
S7-Technology
5-22 A5E00251798-04
Programming
S7-Technology
A5E00251798-04 5-23
Programming
S7-Technology
5-24 A5E00251798-04
6 Technology functions
6.1 Overview
Requirements
Motion control commands can be programmed with the help of function blocks, if
• the station configuration in HW Config was saved and compiled,
• the technology objects were added and configured in S7T Config,
• the technology DBs were created in the "Technology Objects Management"
dialog box in S7T Config
Define the reference to the technology object by means of the number of the
relevant technology DB.
S7-Technology
A5E00251798-04 6-1
Technology functions
Function blocks
Function blocks available for programming:
S7-Technology
6-2 A5E00251798-04
Technology functions
Purpose
• The technology function "MC_Power" allows you to enable or disable an axis.
• You can define the operating mode of the axis
• You can define the emergency program for handling events such as a disabled
axis or the CPU changing to STOP.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• No errors preventing enabling of the axis at the technology DB.
• The technology function may only be active once per axis
Overriding commands
An MC_Power command can not be canceled by any other command.
An MC_Power command does not cancel any other commands with Enable =
TRUE.
An MC_Power cancels all other commands output to this TO with Enable = FALSE.
New command - busy single command (3)
S7-Technology
A5E00251798-04 6-3
Technology functions
Input parameters
S7-Technology
6-4 A5E00251798-04
Technology functions
Caution
An axis switched off due to an error event is re-enabled with Enable = TRUE after
the error is eliminated and acknowledged.
Note
The "MC_Power" technology function influences the following status bits of the
Statusword variable of the technology DB:
• DriveEnable
• FollowUpControl
• Simulation
S7-Technology
A5E00251798-04 6-5
Technology functions
S7-Technology
6-6 A5E00251798-04
Technology functions
Note
When an axis is running in following mode, the selected StopMode is of no
significance, because the axis can not be ramped down dynamically! This means,
that a moving axis trails to standstill within an indefinite time.
Caution
When StopMode = 4 and the cams are in synchronism, the following axis could
restart before the leading axis has reached standstill !
S7-Technology
A5E00251798-04 6-7
Technology functions
MC_Power MC_MoveVelocity
Axis_1 Axis Status Status Axis_1 Axis InVelocity
Enable Enable Busy ExeVelo Execute Busy
0 Mode Error 100 Velocity CommandAborted
0 StopMode ErrorID Acceleration Error
Deceleration ErrorID
Jerk
FB2 Direction
MC_Reset Current
Axis_1 Axis Done PositionControl
ExeReset Execute Busy DoneFlag
0 Restart CommandAborted
Error
ErrorID
FB1
1
Enable
0 t
1
Status
0 t
FB2
1
ExeReset
0 t
FB3
1
ExeVelo
0 t
Error
100
Velocity
a b
S7-Technology
6-8 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-9
Technology functions
S7-Technology
6-10 A5E00251798-04
Technology functions
MC_Power - ErrorIDs
S7-Technology
A5E00251798-04 6-11
Technology functions
S7-Technology
6-12 A5E00251798-04
Technology functions
Purpose
• The technology function "MC_Home" establishes a position-based relationship
between the control and the mechanical system by means of a measuring
system.
• Active and passive axis homing. The homing mode is always defined at the
technology function. The homing mode and direction parameters must be set in
S7T Config.
• Setting a position value. The assigned position value is an absolute value, and
allows absolute and relative motions based on its value.
• Relative correction / offset of the actual value.
• Correction of the setpoint in the base coordinate system and superimposing
coordinate system. Only a relative offset is possible.
• Absolute encoder adjustment
Applicable to
• Positioning axes
• Synchronization axes
Limitations
Only Mode = 346 and 7 is possible at virtual axes
Only Mode = 0, 1, 2, 3 46 and 7 is possible at axes with incremental encoders
Only Mode = 3, 4, 5, 6 and 7 is possible for axes with absolute encoders
When "no mode" was selected in the homing configuration of the axis, only Mode =
3, 4, 6 and 7 are possible.
In mode = 4, 6 and 7 the axis status remains unchanged (homed/not homed.)
Mode = 2, 3 and 5 can only be used if the axis not operating in "velocity control
mode" ("MC_MoveVelocity" - PositionControl = FALSE.)
Requirements
• When Mode = 0, 1 and 2 is set, the axis has to be enabled for position control
• When Mode = 0 and 1 is set, no MC_Stop command may be being processed
• The analog drive interface ADI4 does not support the simultaneous execution of
an MC_MeasuringInput command and MC_Home command with homing cam.
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
A5E00251798-04 6-13
Technology functions
Input parameters
S7-Technology
6-14 A5E00251798-04
Technology functions
Note on Mode 7
The superimposing coordinate system can be modified by superimposing motions
or homing commands ("MC_Home" Mode = 7.) The coordinates of the
superimposed coordinate system are applied to the basic coordinate system,
independent of configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposed. The superimposing coordinate
system is reset in this operation.
The tiem at which the coordinates of the superimposing coordinate system are
applied to the basic coordinate system can be set at configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposed.
Settings of configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposed:
• TRANSFER_STANDSTILL (default setting):
The coordinates of the superimposing coordinate system are applied to the
basic coordinate system when the superimposing motion is completed and the
axis has reached zero velocity. However, if the axis can not reach zero velocity
due to static control values and active synchronization command, the values of
the superimposing coordinate system will be retained. An MC_Home command
output by setting input parameter Mode = 7 also affects the base coordinate
system when the axis has reached zero velocity.
• TRANSFER_RESET:
The superimposing coordinate system is only reset after a restart of the axis.
When axes are operating in following mode, Mode = 7 is always executed in the
base coordinate system.
S7-Technology
A5E00251798-04 6-15
Technology functions
S7-Technology
6-16 A5E00251798-04
Technology functions
FB1 FB2
MC_MoveVelocity MC_Home
Axis_1 Axis InVelocity InVel_1 Axis_1 Axis Done Done_1
Exe_1 Execute Busy Exe_2 Execute Busy
50 Velocity CommandAborted 180 Position CommandAborted
10 Acceleration Error 2 Mode Error
10 Deceleration ErrorID 0 DoneFlag ErrorID
0 Jerk
1 Direction
0 Current
1 PositionControl
0 DoneFlag
FB1
1
Exe_1 0 t
1
InVel_1
0 t
FB2
1
Exe_2
0 t
1
Done_1
0 t
50
Velocity
Axis_1 t
360
Position
Axis_1
180
0 t
1
BERO
0 t
S7-Technology
A5E00251798-04 6-17
Technology functions
S7-Technology
6-18 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-19
Technology functions
MC_Home - ErrorIDs
S7-Technology
6-20 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-21
Technology functions
Purpose
• The "MC_Stop" technology function stops all motions and ramps the axis down
to standstill. The standstill position is not defined.
• The command is done (Done = TRUE), when the axis is in standstill and
Execute = FALSE is set, i.e. as long as Execute = TRUE is set, startup of the
axis is inhibited. This also applies if the axis was locked in the meantime with
MC_Power and then re-enabled.
• The dynamic response within the motion stop operation is determined at the
input parameters Jerk and Deceleration.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• For dynamic stop, the axis must be enabled for position or velocity control. The
axis can not be ramped down dynamically when it is in following mode or locked
state!
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
Note
When MC_STOP is busy, you should not disable the axis with MC_Power. If this
happens all the same, the STOP condition configured at MC_Power overrides the
STOP motion configured at MC_Stop. The axis can not be moved dynamically with
MC_Power as long as Execute = TRUE is set at MC_Stop.
S7-Technology
6-22 A5E00251798-04
Technology functions
Input parameters
If the value for Deceleration > +1E+12, the axis is decelerated with the maximum
delay.
If the value for Jerk > +1E+12, the axis is decelerated with the maximum jerk.
Warning
! If a numerical value which can not be represented as a REAL value is specified at
the Deceleration or Jerk input parameter, MC_Stop is not executed.
S7-Technology
A5E00251798-04 6-23
Technology functions
MC_Stop - Example
a) A rotary axis is ramped down by means of the technology function "MC_Stop."
b) The axis rejects motion commands as long as parameter Execute = TRUE at
the FB MC_Stop technology function. The MC_MoveVelocity technology
function outputs an error message indicating the busy MC_Stop command.
FB1 FB2
MC_MoveVelocity MC_Stop
Axis_1 Axis InVelocity InVel_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
50 Velocity CommandAborted Abort_1 20 Deceleration Error
10 Acceleration Error Error_1 0 Jerk ErrorID
10 Deceleration ErrorID 0 DoneFlag
0 Jerk
1 Direction
0 Current
1 PositionControl
0 DoneFlag
FB1 a b
1
Exe_1
0 t
1
InVel_1
0 t
Abort_1 1
0 t
1
Error_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
50
Velocity
Axis_1
t
S7-Technology
6-24 A5E00251798-04
Technology functions
MC_Stop - ErrorIDs
S7-Technology
A5E00251798-04 6-25
Technology functions
S7-Technology
6-26 A5E00251798-04
Technology functions
Purpose
• The "MC_Halt" technology function stops all motions and ramps the axis down
to standstill. The standstill position is not defined.
• You define the motion dynamics at the input parameters Jerk and Deceleration.
• The command is terminated when the axis has reached a standstill, or is
canceled by a new motion command.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• The axis is enabled for velocity and position control
• No MC_Stop command busy
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
Input parameters
S7-Technology
A5E00251798-04 6-27
Technology functions
Note
Note that the Technology CPU reduces an active acceleration under consideration
of the set dynamic parameters (Jerk.) The axis velocity may thus still increase after
the MC_Halt command is output.
S7-Technology
6-28 A5E00251798-04
Technology functions
MC_Halt - Example
a) A rotary axis is ramped down by means of the technology function "MC_Halt."
b) Another motion command overrides the MC_Halt command. "MC_Halt" allows
this, in contrast to "MC_Stop."
FB1 FB2
MC_MoveVelocity MC_Halt
Axis_1 Axis InVelocity InVel_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
50 Velocity CommandAborted Abort_1 5 Deceleration CommandAborted Abort_2
10 Acceleration Error 0 Jerk Error
10 Deceleration ErrorID 0 DoneFlag ErrorID
0 Jerk
1 Direction
0 Current
1 PositionControl
0 DoneFlag
FB1
1
Exe_1
0 t
1
InVel_1
0 t
Abort_1 1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
1
Abort_2
0 t
50
Velocity
Axis_1
t
a b
S7-Technology
A5E00251798-04 6-29
Technology functions
MC_Halt - ErrorIDs
S7-Technology
6-30 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-31
Technology functions
Purpose
• The technology function can be used to change between the data records of an
axis.
• Several data records can be used, for example, to:
- Change to other controller data when the system is in RUN.
- Change the encoder used while the system is in RUN (motor encoder,
machine encoder, ...).
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• The corresponding data records must have been configured at the relevant
technology object.
• The encoders must be interconnected with the technology object in order to
allow their change. The encoders must return valid values at the time of
changeover. You can verify this by calling the technology function
"MC_ReadSysParameter" with parameter number 4050.
Interaction of commands
New command - busy single command (3)
Input parameters
S7-Technology
6-32 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-33
Technology functions
You can modify this response in the expert list of S7T Config. You could also edit
the configuration variable at the technology function "MC_WriteParameter."
Caution
Differences in the parameter data sets which have an influence on the generation
of control variables may cause unwanted jumps at the axis regardless of whether
the axis is at a standstill. This concerns in particular, for example gear ratio or all
controller parameters.
Encoder calibration
If the encoder of the current data record and the new encoder do not match, an
encoder calibration is performed based on input parameter SyncEncoder. The
encoder calibrating function assigns the actual position value of the overridden
encoder to the new encoder. After calibration, the function changes the data
record.
Both encoders must operate at the same speed in order to ensure their precise
calibration. A precise integration into the active process can not be ensured if any
slip between the encoders is detected, or if one of the encoders is idle. Within the
time expiring between encoder calibration and data record changeover, this would
lead to the development of a difference in encoder values which can not be
aligned.
Encoder calibration is repeated cyclically if the data record can not be changed
immediately.
Caution
When you change the encoder alongside with the data record and do not calibrate
the encoder, the axis may perform a compensating movement as a result of the
different encoder positions.
S7-Technology
6-34 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-35
Technology functions
S7-Technology
6-36 A5E00251798-04
Technology functions
MC_ChangeDataset - ErrorIDs
Valid as of firmware version V3.1.x of the integrated technology
S7-Technology
A5E00251798-04 6-37
Technology functions
S7-Technology
6-38 A5E00251798-04
Technology functions
Purpose
• The "MC_MoveAbsolute" technological function starts a the approach of the
axis to an absolute position.
• Define the dynamic motion response at the input parameters Velocity, Jerk,
Acceleration and Deceleration.
• The function is terminated when the destination position is reached.
• You can preset the sense of rotation of modulo axes.
• At input parameter Mode you can specify whether to trigger an active motion, to
overlay the current motion, or to append the motion.
Applicable to
• Positioning axes
• Synchronization axes
Requirements
• The axis is enabled for position control
• The axis is homed, if "Homing required" was selected in the configuration
• No MC_Stop command busy
• Valid for appended and overlaying motions (mode = 1, 2):
- An"MC_CamIn" or "MC_GearIn" has not been started
- No basic synchronization active
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
A5E00251798-04 6-39
Technology functions
Input parameters
S7-Technology
6-40 A5E00251798-04
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB1 starts absolute
positioning of the axis (Axis_1). Done_1 reports that the absolute destination
position 1000 has been reached.
In time with Done_1 = TRUE, the system starts a further positioning command at
FB2 (input parameter Execute (Exe_2)). Reaction times during command
execution lead to a brief standstill of the axis (see the zoomed visualization.) After
this standstill, the axis approaches the (Axis_1) absolute position 1500. Done_2
outputs a corresponding signal when this position is reached.
S7-Technology
A5E00251798-04 6-41
Technology functions
Phase "b"
A further positive edge at input parameter Execute (Exe_1) of FB1 starts absolute
positioning of the axis (Axis_1).
A further positioning command is started at FB2 before the destination position
1000 is reached (input parameter Execute (Exe_2)). Abort_1 reports the
cancellation of the current positioning command at FB1. The axis (Axis_1) is driven
at the specified deceleration Deceleration = 10 until it has reached Velocity = 30.
Done_2 outputs a message when the destination position 1500 is reached.
FB1 FB2
MC_MoveAbsolute MC_MoveAbsolute
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1000 Position CommandAborted Abort_1 1500 Position CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Direction 0 Direction
0 Mode 0 Mode
0 DoneFlag 0 DoneFlag
a b
FB1
1
Exe_1
0 t
1
Done_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
50
30
Velocity
t
1500
1000
Position
t
S7-Technology
6-42 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-43
Technology functions
S7-Technology
6-44 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-45
Technology functions
FB1 FB2
MC_MoveAbsolute MC_MoveAbsolute
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Position CommandAborted 1500 Position CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Direction 0 Direction
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
50
30
Velocity
t
1500
1000
Position
t
S7-Technology
6-46 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-47
Technology functions
FB1 FB2
MC_MoveAbsolute MC_MoveAbsolute
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Position CommandAborted 1500 Position CommandAborted
50 Velocity Error 70 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Direction 0 Direction
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
70
50
Velocity
t
1500
1000
Position
t
S7-Technology
6-48 A5E00251798-04
Technology functions
Reversal
Absolute positioning is started with a positive edge at input parameter Execute
(Exe_1) of FB1. The axis (Axis_1) accelerates to its final speed 50 based on the
set acceleration ramp (Acceleration = 10.) Before it reaches the destination
position (Position = 1000), a further MC_MoveAbsolute command is started
(positive edge Exe_2 at FB2.) Busy_2 reports that the new command is busy.
The current positioning command is not canceled, but rather "overlaid" by setting
Mode = 2 at FB2. The value of destination position 1000 of the currently busy
MC_MoveAbsolute command is higher than destination position 700. The next
MC_MoveAbsolute must therefore reverse the sense of direction.
"MC_MoveAbsolute" decelerates the axis with Deceleration = 10 in order to reach
0 at destination position 1000. Completion of the command is reported with
Done_1 at FB1.
After it has reached destination position 1000, the axis decelerates (Axis_1) with
Acceleration = 10 to the final speed -30 . This is a bumpless transition, as the
zoomed view shows. The axis Deceleration = 10 at the approach to the target
position 700 . Done_2 reports the destination position at FB2, and Busy_2 is
toggled to FALSE state.
S7-Technology
A5E00251798-04 6-49
Technology functions
FB1 FB2
MC_MoveAbsolute MC_MoveAbsolute
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Position CommandAborted 700 Position CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Direction 0 Direction
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
50
Velocity
t
-30
1000
Position
700
S7-Technology
6-50 A5E00251798-04
Technology functions
MC_MoveAbsolute - ErrorIDs
S7-Technology
A5E00251798-04 6-51
Technology functions
S7-Technology
6-52 A5E00251798-04
Technology functions
Purpose
• The "MC_MoveRelative" technology starts an axis motion at a position relative
position to the start position.
If the axis was already in motion at the start of command execution and a
"motion override" was set with Mode = 0, the system uses its internal start
position which is valid the start of command execution. Allowances must be
made for the reaction time between the execution of a technology function and
of a command, based on the load and cycle time.
• define the dynamic response during axis movement at the input parameters
Velocity, Jerk, Acceleration and Deceleration.
• At input parameter Mode you can specify whether to trigger an active motion, to
overlay the current motion, or to append the motion.
Applicable to
• Positioning axes
• Synchronization axes
Requirements
• The axis is enabled for position control
• No MC_Stop command busy
• Valid for saving and overlaying motions (mode = 1, 2):
- An"MC_CamIn" or "MC_GearIn" has not been started
- No basic synchronization active
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
A5E00251798-04 6-53
Technology functions
Input parameters
S7-Technology
6-54 A5E00251798-04
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB1 starts relative
positioning of the axis (Axis_1). Done_1 changes to TRUE when Distance = 1000
is reached.
In time with Done_1 = TRUE, the system starts a further relative positioning
command at FB2 (input parameter Execute (Exe_2)). Reaction times during
command execution lead to a brief standstill of the axis (see the zoomed
visualization.) After a brief stop, the axis (Axis_1) continues to move by a distance
of 500. Done_2 reports conclusion of the command.
S7-Technology
A5E00251798-04 6-55
Technology functions
Phase "b"
A further positive edge at input parameter Execute (Exe_1) of FB1 starts relative
positioning of the axis (Axis_1).
A further positioning command is started at FB2 before the destination position
1000 is reached (input parameter Execute (Exe_2)). Abort_1 reports the
cancellation of the current positioning command at FB1. The axis (Axis_1) is driven
at the specified deceleration Deceleration = 10 until it has reached Velocity = 30.
Done_2 outputs a message at FB2 when the axis has passed the Distance = 500 .
FB1 FB2
MC_MoveRelative MC_MoveRelative
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1000 Distance CommandAborted Abort_1 500 Distance CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 0 Mode
0 DoneFlag 0 DoneFlag
a b
FB1
1
Exe_1
0 t
1
Done_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
50
30
Velocity
t
1500
500
1000
500
Position
t
S7-Technology
6-56 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-57
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveRelative
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Distance CommandAborted 500 Distance CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 1 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
50
30
Velocity
t
1500
1000
Position
t
S7-Technology
6-58 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-59
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveRelative
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Distance CommandAborted 500 Distance CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
50
30
Velocity
t
1500
1000
Position
t
S7-Technology
6-60 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-61
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveRelative
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Distance CommandAborted 500 Distance CommandAborted
50 Velocity Error 70 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
70
50
Velocity
t
1500
1000
Position
t
S7-Technology
6-62 A5E00251798-04
Technology functions
Reversal
Relative positioning is started with a positive edge at input parameter Execute
(Exe_1) of FB1. The axis (Axis_1) accelerates to its final speed 50 based on the
set acceleration ramp (Acceleration = 10.) Before it has traversed the specified
distance (Distance = 1000), a further MC_MoveRelative command is started
(positive edge Exe_2 at FB2.) Busy_2 reports that the new command is busy.
The current positioning command is not canceled, but rather "overlaid" by setting
Mode = 2 at FB2. The sense of direction is reversed, because a negative distance
was set at FB2 (Distance = -300). "MC_MoveAbsolute" decelerates the axis with
Deceleration = 10 in order to reach 0 speed after the axis has covered the distance
of 1000. Completion of the command is reported with Done_1 at FB1.
After it has covered the distance 1000, the axis accelerates (Axis_1) with
Acceleration = 10 to a speed of -30. This is a bumpless transition, as the zoomed
view shows. The axis (Axis_1) covers the distance to go at the set speed and
deceleration. Done_2 is toggled to TRUE, and Busy_2 ids toggled to FALSE state,
after the axis has covered the distance Distance -300.
S7-Technology
A5E00251798-04 6-63
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveRelative
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Distance CommandAborted -300 Distance CommandAborted
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 2 Mode
0 DoneFlag 0 DoneFlag
FB1
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Busy_2
0 t
50
Velocity t
-30
1000
700
Position
t
S7-Technology
6-64 A5E00251798-04
Technology functions
MC_MoveRelative - ErrorIDs
S7-Technology
A5E00251798-04 6-65
Technology functions
S7-Technology
6-66 A5E00251798-04
Technology functions
Purpose
• The "MC_MoveAdditive" technology function starts an axis approach with user-
definable dynamic values, towards a position which is relative to the destination
position of the current positioning command. This method allows you to adjust
the previously commanded target position by a defined distance.
• Define the motion dynamics at the dynamic parameters Velocity, Jerk,
Acceleration, Deceleration.
• The axis stops at the target position.
• A MC_MoveAdditive command overrides the current command.
Applicable to
• Positioning axes
• Synchronization axes
Requirements
• Axis has to be enabled for position control.
• Axis has to be homed if "Homing required" was selected at the configuration
- and the axis is in motion
- or "MC_MoveAdditive" overrides an active motion command (exception:
"MC_MoveVelocity".)
• Axis does not have to be homed,
- If the axis is not in motion
- If a running MC_MoveVelocity command is overridden.
• No MC_Stop command is busy
Note
"MC_MoveAdditive" responds as "MC_MoveRelative",
• when the axis is idle at the start of the motion command, or
• when a continuous function is overridden, i.e. when the target position is not
defined. The target position depends in this case on the override position, and
is derived from the distance and the position at the start of the operation.
S7-Technology
A5E00251798-04 6-67
Technology functions
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
Input parameters
S7-Technology
6-68 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-69
Technology functions
MC_MoveAdditive - Example
Signal profile
Case A: Two MC_MoveAdditive commands are started in succession.
Case B: The second MC_MoveAdditive command (FB2) is started before the
first is completed. This will lead to an abortion of the first command
(FB1). The target position results from the target position of the first
command corrected by the distance of the second command.
FB1 FB2
MC_MoveAdditive MC_MoveAdditive
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1000 Distance CommandAborted Abort_1 500 Distance CommandAborted Abort_2
50 Velocity Error 30 Velocity Error
10 Acceleration ErrorID 10 Acceleration ErrorID
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 DoneFlag 0 DoneFlag
a b
FB1
1
Exe_1
0 t
1
Done_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
50
30
Velocity
t
1500
500
1000
Position
t
S7-Technology
6-70 A5E00251798-04
Technology functions
MC_MoveRelative - ErrorIDs
S7-Technology
A5E00251798-04 6-71
Technology functions
S7-Technology
6-72 A5E00251798-04
Technology functions
Purpose
• The "MC_Move SuperImposed" technology function allows superimposing
positioning of an axis, for example, for impression mark adjustment.
• Define the motion dynamics at the dynamic parameters VelocityDiff, Jerk,
Acceleration, Deceleration.
• A current positioning or synchronization motion is not aborted.
• A new MC_MoveSuperImposed command overrides the active
MC_MoveSuperImposed command. The distance-to-go value of the aborted
MC_MoveSuperImposed is lost!
Applicable to
• Positioning axes
• Synchronization axes
Requirements
• The axis is enabled for position control
• No MC_Stop command busy
• For superimposing positioning, the axis velocity usually needs to be increased.
This is why the basic velocity of the axis may not have reached the maximum
when this positioning function is set.
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
A5E00251798-04 6-73
Technology functions
Input parameters
S7-Technology
6-74 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-75
Technology functions
FB1 FB2
MC_MoveAbsolute MC_MoveSuperImposed
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1000 Position CommandAborted 100 Distance CommandAborted
50 Velocity Error 25 VelocityDiff Error
20 Acceleration ErrorID 10 Acceleration ErrorID
20 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Direction 0 DoneFlag
0 Mode
0 DoneFlag
FB1 a b c
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
75
Velocity 50
25
t
1500
1300
1000
Position
500
S7-Technology
6-76 A5E00251798-04
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveSuperImposed
Axis_1 Axis Done Done_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1000 Distance CommandAborted 100 Distance CommandAborted
50 Velocity Error 25 VelocityDiff Error
20 Acceleration ErrorID 10 Acceleration ErrorID
20 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 Mode 0 DoneFlag
0 DoneFlag
FB1 a b c
1
Exe_1
0 t
1
Done_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
75
Velocity 50
25
t
1500
1300
1000
Position
500
S7-Technology
A5E00251798-04 6-77
Technology functions
MC_MoveSuperImposed - ErrorIDs
S7-Technology
6-78 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-79
Technology functions
Purpose
• The "MC_MoveVelocity" technology function initiates acceleration of the axis to
its preset velocity.
• Define motion dynamics at the input parameters Jerk, Acceleration and
Deceleration.
• When a velocity-override function is active, allowances are made for this
override in the calculation of the final velocity (output parameter InVelocity).
make allowances for these characteristics in your user program.
• You can use input parameter PositionControl to set position or velocity control
mode for position-controlled axes.
• At input parameter Mode you can specify whether to trigger an active motion, to
override the current motion or to append the motion.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• The axis is enabled for velocity and position control
• No MC_Stop command busy
• Requirements for appended motions (Mode = 1):
- An MC_CamIn or MC_GearIn has not been started
- No basic synchronization active
- "MC_MoveVelocity" can not be saved and appended to an active
"MC_MoveVelocity."
Interaction of commands
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
6-80 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-81
Technology functions
S7-Technology
6-82 A5E00251798-04
Technology functions
Note
Velocity setpoint zero (Velocity = 0.0): InVelocity is set when the axis has reached
standstill, and remains set as long as Execute = 1. Command execution is
completed when InVelocity is set, i.e. Busy = FALSE, and the technological
function can neither report CommandAborted , nor an Error .
S7-Technology
A5E00251798-04 6-83
Technology functions
Note
Velocity-controlled operation is maintained until one of the following positioning
commands is started:
• "MC_MoveAbsolute"
• "MC_MoveRelative"
• "MC_MoveAdditive"
• MC_MoveVelocity (when PositionControl = TRUE)
• "MC_MoveToEndPos"
• "MC_GearIn"
• "MC_CamIn"
Restrictions with active velocity control:
• Homing not possible (MC_Home)
• The axis must be enabled for position control in order to operated in master
mode with setpoint coupling. When PositionControl = FALSE, the setpoint
position of the axis is held constant.
Note
If the user program causes a velocity-controlled axis to pass a SW limit switch, you
first need to disable this switch in order to release the axis.
If the user program does not support disabling of limit switches, you have to cycle
power off and on in order to reset position control mode at the axis. You can then
release the axis.
S7-Technology
6-84 A5E00251798-04
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB1 initiates
movement of the axis (Axis_1) at a velocity of 50. InVel_1 outputs a message when
the final velocity is reached.
A positive edge at input parameter Execute (Exe_2) of FB2 overrides the current
motion. Abort_1 reports the override operation. Abort_1 remains set as long as
Exe_1 is set at FB1. After the override, the axis continues to move (Axis_1) at
velocity 15.
Phase "b"
A further positive edge at input parameter Execute (Exe_1) of FB1 overrides the
current motion and resets the velocity to 50.
If the velocity of 50 is not reached yet, a further command at FB2 (positive edge at
Exe_2) overrides the motion. After this override, the axis continues operation
(Axis_1) at velocity 15. InVel_2 outputs a message when this velocity is reached.
Exe_1 is only set briefly in phase "b"; Abort_1 is therefore indicated only for the
duration of one cycle.
S7-Technology
A5E00251798-04 6-85
Technology functions
FB1 FB2
MC_MoveVelocity MC_MoveVelocity
Axis_1 Axis InVelocity InVel_1 Axis_1 Axis InVelocity InVel_2
Exe_1 Execute Busy Exe_2 Execute Busy
50 Velocity CommandAborted Abort_1 15 Velocity CommandAborted
10 Acceleration Error 10 Acceleration Error
10 Deceleration ErrorID 10 Deceleration ErrorID
0 Jerk 0 Jerk
1 Direction 1 Direction
0 Current 0 Current
1 PositionControl 1 PositionControl
0 Mode 0 Mode
0 DoneFlag 0 DoneFlag
a b
FB1
1
Exe_1 0 t
1
InVel_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
InVel_2
0 t
50
Velocity
Axis_1
15
t
S7-Technology
6-86 A5E00251798-04
Technology functions
FB1 FB2
MC_MoveRelative MC_MoveVelocity
Axis_1 Axis Done Done_1 Axis_1 Axis InVelocity InVel_2
Exe_1 Execute Busy Exe_2 Execute Busy Busy_2
1000 Distance CommandAborted 15 Velocity CommandAborted
50 Velocity Error 5 Acceleration Error
10 Acceleration ErrorID 5 Deceleration ErrorID
10 Deceleration 0 Jerk
0 Jerk 1 Direction
0 Mode 0 Current
0 DoneFlag 1 PositionControl
1 Mode
0 DoneFlag
1
Busy_2
0 t
1
InVel_2
0 t
50
Velocity
Axis_1
15
t
S7-Technology
A5E00251798-04 6-87
Technology functions
MC_MoveVelocity - ErrorIDs
Valid as of firmware version V3.1.x of the integrated technology
S7-Technology
6-88 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-89
Technology functions
Purpose
• The "MC_MoveToEndPos" technology function moves the axis into contact with
an obstruction and holds it at this position, for example at the end of a
traversing range.
• Define the motion dynamics at the dynamic parameters Velocity, Jerk,
Acceleration, Deceleration.
• The traversing motion and the criteria for detecting the end position can be
defined in the axis configuration of S7T Config, for example, the following error
or torque.
• If drive torque can be limited, torque limiting at the technology function also
influences the endstop detection setting "use following error" (in S7T Config).
Applicable to
• Positioning axes (physical axes only)
• Synchronization axes (physical axes only)
Requirements
• The axis is enabled for position control
• No MC_Stop command busy
• Endstop detection must be enabled at the axis.
In the S7T Config dialog box Axis > Limits > Fixed endstop, set endstop
detection parameter "Via following error" or "Via force/torque."
Interaction of commands
• Other motion commands can override the current command before the fixed
endstop is reached.
• When the axis is clamped at the fixed endstop (InClamping = TRUE), the
system only accepts commands for motions which release the axis from the
fixed endstop. The MC_MoveToEndPos command remains active until the drive
has left the clamping tolerance window. New motion commands in direction of
the fixed endstop can then be output. Any synchronization commands which are
executed within the clamping tolerance window and trigger a reversal direction
of the fixed endstop will be canceled.
• MC_MoveToEndPos can only override an active MC_MoveToEndPos
command if both are in the same effective direction.
• New command - busy single command (2)
• New command - busy commands (2)
S7-Technology
6-90 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-91
Technology functions
Note
When "use following error" is set at "Axis > Limits > Fixed endstop" tab in the
axis configuration, following error monitoring is disabled when the technology
function is used.
If the fixed endstop breaks, the following error is eliminated according to the limits
configured at the drive. Neither the dynamic values defined at the input
parameters, nor the limits set in the technology object influence this operation.
You should make sure that the following error is eliminated before you stop the
axis with "MC_Stop" or "MC_Halt."
Caution
The start value of the velocity ramp is set to 0.0 for reasons of safety. This value is
not permitted in actual fact, and will lead to an error. Define a useful value.
S7-Technology
6-92 A5E00251798-04
Technology functions
MC_MoveToEndPos - Example
a ) An axis approaches the fixed endstop with reduced torque. To hold the drive at
this torque, a following error is formed, based on position setpoint > actual
position value.
b) The clamping torque is doubled when a new command is received to move the
axis in the same direction.
c) To terminate clamping mode, an "MC_MoveRelative" command is output to start
the drive in reversed direction. Clamping is terminated after the position setpoint
is outside of clamping tolerance window.
S7-Technology
A5E00251798-04 6-93
Technology functions
FB1 FB2
MC_MoveToEndPos MC_MoveRelative
Axis_1 Axis InClamping Clamp_1 Axis_1 Axis Done Done_2
Exe_1 Execute Busy Exe_2 Execute Busy
1 Direction CommandAborted -300 Distance CommandAborted
Torque_1 Torque Error 200 Velocity Error
100 Velocity ErrorID Acceleration ErrorID
Acceleration Deceleration
Deceleration Jerk
Jerk 0 DoneFlag
0 DoneFlag
FB1 a b c
1
Exe_1
0 t
Torque_1 10
5
t
1
Clamp_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0
t
position setpoint
Position dX
position actual
value
Actual
t
values
100
Velocity t
-150
10
Torque
5
t
S7-Technology
6-94 A5E00251798-04
Technology functions
MC_MoveToEndPos - ErrorIDs
S7-Technology
A5E00251798-04 6-95
Technology functions
S7-Technology
6-96 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-97
Technology functions
Purpose
• The "MC_SetTorqueLimit" technology function enables/disables torque limiting.
• Torque limiting is always disabled when the axis enable signal is reset.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
Requirements
• No MC_Stop command busy
• The axis is enabled for velocity and position control
• The torque reference for the axis must be set correctly, in order to maintain the
specified torque. The default torque reference is 3.2 N/m.
• The drive must support torque reduction, and must be operated by one of the
telegrams 101 to 106.
Interaction of commands
• New command - busy single command (3)
Input parameters
* Always set the "Max. drive torque" parameter in your axis configuration (in the
expert list: TypeOfAxis.SetPointDriverInfo.DriveData.maxTorque).
S7-Technology
6-98 A5E00251798-04
Technology functions
Note
Following error monitoring is disabled when the technology function is being used.
Any accumulated following errors are eliminated based on the configured drive
limits when torque is increased or countering torque is reduced. Neither the
dynamic values defined at the input parameters, nor the limits set in the technology
object influence this operation.
You should make sure that the following error is eliminated before you stop the
axis with "MC_Stop" or "MC_Halt." Hence, you should preferably stop the axis
without position control, i.e. by using the technology function MC_MoveVelocity
with the settings PositionControl = FALSE and Velocity = 0.0.
S7-Technology
A5E00251798-04 6-99
Technology functions
MC_SetTorqueLimit - Example
A torque limiting value of 3.2 N/m is set by default (configuration parameter
TypeOfAxis.SetPointDriverInfo.maxTorque).
In the example below, torque limiting is reduced to 1.6 N/m.
MC_SetTorqueLimit - ErrorIDs
S7-Technology
6-100 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-101
Technology functions
Purpose
• Activating a Q valve profile (velocity valve.).
• The valve profile can also be changed while the hydraulic axis is in motion. The
optional control signal compensation is limited.
• A new call of the technology function at the positive edge at input parameter
Execute cancels the previous command.
Applicable to
• Hydraulic velocity-controlled axes
• Hydraulic positioning axes
• Hydraulic synchronization axes
Requirements
• The selected axis must be configured for operation as hydraulic axis.
• The profile is mapped to a cam disk and configured in S7T Config as optional
valve profile.
Interaction of commands
• New command - busy single command (3)
Input parameters
S7-Technology
6-102 A5E00251798-04
Technology functions
Note
Conditions of enabling the hydraulic axis for position control using technology
function "MC_Power":
• The hydraulic axis must be assigned a cam disk as valve profile.
• The valve profile must be activated using technology function
"MC_SetCharacteristic."
MC_SetCharacteristic - Example
The characteristic valve profile is stored in cam disk (Cam_1). When called, it is
used at the hydraulic axis to determine control signals for motion commands.
MC_SetCharacteristic - Description
MC_SetCharacteristic - ErrorIDs
S7-Technology
A5E00251798-04 6-103
Technology functions
MC_SetCharacteristic - ErrorIDs
Valid for firmware V3.2.x of the integrated technology
S7-Technology
6-104 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-105
Technology functions
Purpose
• The "MC_GearIn" technology function starts basic gear synchronization
between a leading axis and a following axis.
• You define the dynamic response when synchronizing the following axis at the
dynamic parameters Velocity, Jerk, Acceleration, Deceleration.
• The gear ratio is defined as the ratio between two integer numbers at the input
parameter (nominator / denominator.)
• Synchronism can be defined relative to the start position (random position
values upon reaching synchronism) or absolute.
• The gear ratio can be changed when the system is RUN by outputting a new
MC_GearIn command. This operation does not require a stop of the leading or
following axis. Transitions are executed according to the specified acceleration
or deceleration values.
• The function can be started when the leading axis is at a standstill, or when it is
in motion.
Applicable to
• Synchronization axes
Requirements
• The leading axis is configured for operation as external encoder, or as
positioning or synchronization axis.
• The following axis is configured for operation as synchronized axis.
• The leading axis is set as available control value at the base synchronization
object of the following axis.
• The following axis is enabled for position-controlled operation
• No MC_Stop command is busy at the following axis
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
6-106 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-107
Technology functions
S7-Technology
6-108 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-109
Technology functions
FB1 FB2
MC_GearIn MC_GearIn
Axis_1 Master InGear InGear_1 Axis_1 Master InGear InGear_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Exe_2 Execute CommandAborted Abort_2
1 RatioNumerator Error 1 RatioNumerator Error
1 RatioDenominator ErrorID 1 RatioDenominator ErrorID
50 Velocity 50 Velocity
10 Acceleration 10 Acceleration
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 PhaseShift 0 PhaseShift
0 Absolute 1 Absolute
1 Mode 1 Mode
0 DoneFlag 0 DoneFlag
1
Exe_1 0 t
1
InGear_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
InGear_2
0 t
50
Slave (Axis_2)
Velocity
25
Master (Axis_1)
t
Masterposition (Axis_1)
Position
Slaveposition (Axis_2)
t
S7-Technology
6-110 A5E00251798-04
Technology functions
MC_GearIn
Axis_1 Master InGear InGear_1
Axis_2 Slave Busy
Exe_1 Execute CommandAborted
1 RatioNumerator Error
1 RatioDenominator ErrorID
Velocity
Acceleration
Deceleration
Jerk
PhaseShift
1 Absolute
0 Mode
DoneFlag
1
Exe_1
0 t
1
InGear_1
0 t
360°
300°
Masterposition
Position (Axis_1) 220°
80°
Slaveposition
(Axis_2)
t
S7-Technology
A5E00251798-04 6-111
Technology functions
S7-Technology
6-112 A5E00251798-04
Technology functions
FB1 FB2
MC_GearIn MC_GearIn
Axis_1 Master InGear InGear_1 Axis_1 Master InGear InGear_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Exe_2 Execute CommandAborted Abort_2
1 RatioNumerator Error 1 RatioNumerator Error
1 RatioDenominator ErrorID 1 RatioDenominator ErrorID
50 Velocity 50 Velocity
10 Acceleration 10 Acceleration
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 PhaseShift 20 PhaseShift
1 Absolute 1 Absolute
1 Mode 1 Mode
0 DoneFlag 0 DoneFlag
Slaveposition Slaveposition
(Axis_2) (Axis_2)
Masterposition
Masterposition (Axis_1)
(Axis_1)
Position
} Phaseshift
S7-Technology
A5E00251798-04 6-113
Technology functions
MC_GearIn - ErrorIDs
Valid for firmware version V3.2.x of the integrated technology
S7-Technology
6-114 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-115
Technology functions
Purpose
• The "MC_GearOut" technology function terminates basic gearing. A s
superimposing motion or superimposing synchronism is not affected by this
operation.
• Synchronized operation is terminated according to the default setting of the
synchronization object in S7T Config.
• The technology function is terminated when basic gearing of the following axis
was terminated.
• Recommendation: Use the technology function if you want to stop the axis
based on the position of the leading axis and / or the following axis.
You can also remove the following axis from synchronized operation by means
of the technology functions "MC_Halt", "MC_Stop", "MC_MoveRelative",
"MC_MoveAdditive", "MC_MoveAbsolute", "MC_MoveVelocity" or
"MC_MoveToEndPos".
Applicable to
• Synchronization axes
Requirements
• The axis must be configured as slave for operation in an existing basic gear
synchronization compound. When no basic gearing is active, the command is
ignored and the technology function reports Done = TRUE.
• No active MC_Stop command at the following axis
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
Input parameters
S7-Technology
6-116 A5E00251798-04
Technology functions
Note
The simultaneous output of MC_GearIn and MC_GearOut commands to the same
technology object may lead to the cancellation the MC_GearIn command
(CommandAborted = TRUE). The technology function "MC_gearOut" will then
return the message Done = TRUE.
Do not start the MC_GearOut command unless MC_GearIn has reported
synchronism (InGear = TRUE).
S7-Technology
A5E00251798-04 6-117
Technology functions
MC_GearOut - Example
The "MC_GearOut" technology function (technology function) is used to terminate
basic gearing and to stop the axis according to the configured mode. In this
example we have a relative basic gearing with an offset between the leading and
following axes which has developed during synchronization. The gear ratio is 1:1.
The following axis is to be stopped at position 180°. Required settings:
ADesynchronization: "Preset desynchronization position of the following axis"
Position reference: "Stop before desynchronization position"
ADesync. following axis: 180°
The axis is desynchronized based on the leading axis position. The following axis
is desynchronized while the leading axis covers an angular distance of 100°. The
following axis covers half the distance of the leading axis (50°).
Default profile setting: "Leading axis-specific synchronization profile"
Desync. length: 100°
MC_GearOut
Axis_1 Axis Done Done_1
Exe_1 Execute Busy
CommandAborted
Error
ErrorID
1
Exe_1
0 t
1
Done_1
0 t
360
Position
Master 100° syncofflength
180
50°
Slave
S7-Technology
6-118 A5E00251798-04
Technology functions
MC_GearOut - ErrorIDs
S7-Technology
A5E00251798-04 6-119
Technology functions
S7-Technology
6-120 A5E00251798-04
Technology functions
Purpose
• The "MC_GearInSuperImposed" technology function starts superimposing gear
synchronization between a leading axis and a following axis.
• You define the dynamic response when synchronizing the following axis at the
dynamic parameters Velocity, Jerk, Acceleration, Deceleration.
• The gear ratio is defined as the ratio between two integer numbers at the input
parameter (nominator / denominator.)
• Synchronism can be defined relative to the start position (random position
values upon reaching synchronism) or absolute.
• The gear ratio can be changed when the system is in RUN by outputting a new
MC_GearInSuperImposed command. This operation does not require a stop of
the leading or following axis. Transitions are executed according to the specified
acceleration or deceleration values.
• The function can be started when the leading axis is at a standstill, or when it is
in motion.
Applicable to
• Synchronization axes with superimposing synchronization object
Requirements
• The leading axis is configured for operation as external encoder, or as
positioning or synchronization axis.
• The following axis is configured as synchronization axis with superimposing
synchronization object.
• The leading axis is set as available superimposing synchronization object of the
following axis.
• The following axis is enabled for position-controlled operation
• No MC_Stop command is busy at the following axis
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
A5E00251798-04 6-121
Technology functions
Input parameters
S7-Technology
6-122 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-123
Technology functions
S7-Technology
6-124 A5E00251798-04
Technology functions
FB1 FB2
MC_GearIn MC_GearInSuperImposed
Axis_1 Master InGear InGear_1 Axis_2 Master InGear InGear_2
Axis_3 Slave Busy Axis_3 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Exe_2 Execute CommandAborted Abort_2
1 RatioNumerator Error 1 RatioNumerator Error
1 RatioDenominator ErrorID 1 RatioDenominator ErrorID
50 Velocity 75 Velocity
10 Acceleration 10 Acceleration
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 PhaseShift 0 PhaseShift
1 Absolute 1 Absolute
1 Mode 1 Mode
0 DoneFlag 0 DoneFlag
Master (Axis_2)
75
Velocity 50
Slave (Axis_3)
25
Master (Axis_1)
t
Master(Axis_1)
Position of
basic motion
t
Master(Axis_2)
Position of
superimposing
motion
Sum
S7-Technology
A5E00251798-04 6-125
Technology functions
S7-Technology
6-126 A5E00251798-04
Technology functions
FB1 FB2
MC_GearInSuperImposed MC_GearInSuperImposed
Axis_1 Master InGear InGear_1 Axis_1 Master InGear InGear_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Exe_2 Execute CommandAborted Abort_2
1 RatioNumerator Error 1 RatioNumerator Error
1 RatioDenominator ErrorID 1 RatioDenominator ErrorID
50 Velocity 50 Velocity
10 Acceleration 10 Acceleration
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 PhaseShift 0 PhaseShift
0 Absolute 1 Absolute
1 Mode 1 Mode
0 DoneFlag 0 DoneFlag
1
Exe_1 0 t
1
InGear_1
0 t
1
Abort_1
0 t
FB2
1
Exe_2
0 t
1
InGear_2
0 t
50
Slave (Axis_2)
Velocity
25
Master (Axis_1)
t
Slaveposition (Axis_2)
Masterposition (Axis_1)
Position
superimposing
slave position (Axis_2)
t
S7-Technology
A5E00251798-04 6-127
Technology functions
S7-Technology
6-128 A5E00251798-04
Technology functions
FB1 FB2
MC_GearInSuperImposed MC_GearInSuperImposed
Axis_1 Master InGear InGear_1 Axis_1 Master InGear InGear_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Exe_2 Execute CommandAborted Abort_2
1 RatioNumerator Error 1 RatioNumerator Error
1 RatioDenominator ErrorID 1 RatioDenominator ErrorID
50 Velocity 50 Velocity
10 Acceleration 10 Acceleration
10 Deceleration 10 Deceleration
0 Jerk 0 Jerk
0 PhaseShift 20 PhaseShift
1 Absolute 1 Absolute
1 Mode 1 Mode
0 DoneFlag 0 DoneFlag
1
Exe_1 0 t
1
InGear_1
0 t
FB2
1
Exe_2
0 t
1
InGear_2
0 t
50
Velocity Slave (Axis 2)
25
Master (Axis 1)
t
superimposing slave
Slaveposition (Axis_2) Masterposition (Axis_1) position (Axis_2)
Position
} Phaseshift
S7-Technology
A5E00251798-04 6-129
Technology functions
MC_GearInSuperImposed - ErrorIDs
S7-Technology
6-130 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-131
Technology functions
S7-Technology
6-132 A5E00251798-04
Technology functions
Purpose
• The "MC_CamOutSuperImposed" technology function terminates
superimposing camming. This does not affect basic motions or base
synchronism.
• Superimposing synchronism can be terminated immediately in Mode = 1 by
means of the input parameters Deceleration and Jerk. You can also terminate
superimposing synchronism in Mode = 0, according to the default setting of the
superimposing synchronization object in S7T Config.
• The technology function is terminated after superimposing synchronism of the
following axis is terminated.
Applicable to
• Synchronization axes with superimposing synchronization object
Requirements
• The axis must be configured as slave for operation on a system with
superimposing synchronization. If the axis is not operating with superimposing
synchronism, the command is ignored and the technology function reports
Done = TRUE.
• No MC_Stop command is busy
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
A5E00251798-04 6-133
Technology functions
Input parameters
S7-Technology
6-134 A5E00251798-04
Technology functions
Note
The simultaneous output of MC_GearInSuperImposed and
MC_GearOutSuperImposed commands to the same technology object may lead to
the cancellation the MC_GearInSuperImposed command
(CommandAborted = TRUE). The technology function
"MC_GearOutSuperImposed" will then return the message Done = TRUE.
Do not start MC_GearOutSuperImposed command unless
MC_GearInSuperImposed has reported synchronism (InGear = TRUE).
S7-Technology
A5E00251798-04 6-135
Technology functions
MC_GearOutSuperImposed - ErrorIDs
S7-Technology
6-136 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-137
Technology functions
Purpose
• The "MC_CamIn" technology function initiates cam synchronization between
the leading and following axes.
• You define the dynamic response when synchronizing the following axis at the
dynamic parameters Velocity, Jerk, Acceleration.
• The specified cam can be scaled and/or shifted.
• The specified cam disk can be executed once or cyclically.
• Synchronization may be relative or absolute.
Applicable to
• Synchronization axes
Requirements
• The leading axis is configured for operation as external encoder, or as
positioning or synchronization axis.
• The following axis is configured for operation as synchronized axis.
• In your configuration of the synchronization object of the following axis, you
must have selected the required cam disk and leading axis.
• The axis is enabled for position control
• No MC_Stop command is busy at the following axis
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
6-138 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-139
Technology functions
S7-Technology
6-140 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-141
Technology functions
S7-Technology
6-142 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-143
Technology functions
MC_CamIn
Axis_1 Master InSync InSync_1
Axis_2 Slave Busy
Cam_1 CamTable CommandAborted
Exe_1 Execute Error
0.0 MasterOffset ErrorID
0.0 SlaveOffset
1.0 MasterScaling
1.0 SlaveScaling
1 MasterAbsolute
Cam_1
0 SlaveAbsolute
1 CycleMode Position
50 Velocity Slave
10 Acceleration
10 Jerk
0 Mode
0 DoneFlag 20
Position 360
Master
1
Exe_1 0 t
1
InSync_1
0 t
Position Position
Slave
x
Startpos
x
Cam_1
20
t
360
Position
Master
Xend 200
Xstart 100
S7-Technology
6-144 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-145
Technology functions
MC_CamIn
Axis_1 Master InSync InSync_1
Axis_2 Slave Busy
Cam_1 CamTable CommandAborted
Exe_1 Execute Error
0.0 MasterOffset ErrorID
0.0 SlaveOffset
1.0 MasterScaling
1.0 SlaveScaling
1 MasterAbsolute Cam_1
1 SlaveAbsolute
1 CycleMode Position
50 Velocity Slave
10 Acceleration
10 Jerk
0 Mode 40
0 DoneFlag
Position 360
Master
1
Exe_1 0 t
1
InSync_1
0 t
Position
100
Position
Slave
40
Cam_1
t
360
Position
Master
Xend 200
synclength
Xstart 70 syncpositionmaster
S7-Technology
6-146 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-147
Technology functions
MC_CamIn
Axis_1 Master InSync InSync_1
Axis_2 Slave Busy
Cam_1 CamTable CommandAborted
Exe_1 Execute Error
0.0 MasterOffset ErrorID
0.0 SlaveOffset
1.0 MasterScaling
1.0 SlaveScaling
1 MasterAbsolute Cam_1
Position
0 SlaveAbsolute
Slave
1 CyclicMode
50 Velocity 120
10 Acceleration
10 Jerk
1 Mode
20
0 DoneFlag
Position 360
Master
1
Exe_1 0 t
1
InSync_1
0 t
360
Master
Position
Slave
160
Startpos = 60 Cam_1
20
0 t
Velocity
Master
S7-Technology
6-148 A5E00251798-04
Technology functions
Sequence
1. In S7T Config "Preset synchronization position of the leading axis" was
selected as the synchronization mode when presetting the synchronization
axis. The position reference was set to "Synchronize starting at the
synchronization position" and the value 0.0 was selected as the Sync. pos.
master setpoint.
After Execute = 1, synchronization to Cam_1 starts at the value of 0.0 of the
leading axis.
2. The synchronization condition is changed by calling FB MC_WriteParameter
(parameter 4266 of the following axis is set to
"AT_THE_END_OF_CAM_CYCLE".)
3. Data are provided to the cam instance of Cam_2 cam at input parameter
CamTable.
4. After the next Execute = 1, synchronization to Cam_2 cam starts at the end of
the active cams.
Position
Cam_1
Slave
Cam_2
80
360
Position Master
360
Master
Slave
Position
Startpos = 80
S7-Technology
A5E00251798-04 6-149
Technology functions
S7-Technology
6-150 A5E00251798-04
Technology functions
Position
Slave Definition
Cam_1
80
360
Position Master
syncpositionslave (MC_WriteParameter)
100
0 t
1
Execute
0 t
360
Master
Position Slave
120 100
80
S7-Technology
A5E00251798-04 6-151
Technology functions
MC_CamIn - ErrorIDs
Valid for firmware version V3.2.x of the integrated technology
S7-Technology
6-152 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-153
Technology functions
Purpose
• "MC_CamOut" stops camming and the following axis. You can define the
corresponding criteria in the axis configuration.
• Recommendation: Use the technology function if you want to stop the axis
based on the position of the leading axis and / or the following axis.
You can also remove the following axis from synchronized operation by means
of the technology functions "MC_Halt", "MC_Stop", "MC_MoveRelative",
"MC_MoveAdditive", "MC_MoveAbsolute", "MC_MoveVelocity" or
"MC_MoveToEndPos".
Applicable to
• Synchronization axes
Requirements
• The axis must be configured as slave for operation in an existing cam
synchronization compound. If the cam is not operating in synchronized mode,
the command is ignored and the technology function reports Done = TRUE.
• No MC_Stop command busy
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
Input parameters
S7-Technology
6-154 A5E00251798-04
Technology functions
Note
The simultaneous output of MC_CamIn and MC_CamOut commands to the same
technology object may lead to the cancellation the MC_CamIn command
(CommandAborted = TRUE). The technology function "MC_CamOut" will then
return the message Done = TRUE.
Do not start the MC_CamOut command unless MC_CamIn has reported cam
synchronism (InSync = TRUE).
S7-Technology
A5E00251798-04 6-155
Technology functions
MC_CamOut - Example
The MC_CamOut technology function (technology function) is used to stop
camming and to stop the axis according to the configured mode. In this example,
the slave is to be stopped at 160°. Required settings:
Desynchronization "at the following axis position"
Position reference: "Stop before desynchronization position"
Desync. Following axis: 160°
The axis is desynchronized based on the leading axis position. The following axis
is desynchronized while the leading axis covers an angular distance of 80°. The
start time of desynchronization is calculated internally.
Default profile setting: "Leading axis-specific synchronization profile"
Desync. Length: 80°
Position
MC_CamOut Slave Definition
Axis_1 Axis Done Done_1 Cam_1
Exe_1 Execute Busy
CommandAborted
Error 80
ErrorID
360
Position Master
1
Exe_1
0 t
1
Done_1
0 t
360
Master
Position
Slave 80° syncofflength
160
80
Cam_1
t
S7-Technology
6-156 A5E00251798-04
Technology functions
MC_CamOut - ErrorIDs
S7-Technology
A5E00251798-04 6-157
Technology functions
S7-Technology
6-158 A5E00251798-04
Technology functions
Purpose
• The "MC_CamInSuperImposed" technology function initiates superimposing
camming between the leading and following axes (master and slave axes.)
• You define the dynamic response when synchronizing the following axis at the
dynamic parameters Velocity, Jerk, Acceleration.
• The specified cam can be scaled and/or shifted.
• Synchronization may be relative or absolute.
• The specified cam disk can be executed once or cyclically.
Applicable to
• Synchronization axes with superimposing synchronization object
Requirements
• The leading axis is configured for operation as external encoder, or as
positioning or synchronization axis.
• The following axis is configured as synchronization axis with superimposing
synchronization object.
• The leading axis is set as available superimposing synchronization object of the
following axis.
• The cam disk is marked available at the superimposing synchronization object.
• The following axis is enabled for position-controlled operation
• An MC_Stop command is not busy at the following axis
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
A5E00251798-04 6-159
Technology functions
Input parameters
S7-Technology
6-160 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-161
Technology functions
S7-Technology
6-162 A5E00251798-04
Technology functions
MC_CamInSuperImposed
Axis_1 Master InSync InSync_1
Axis_2 Slave Busy
Cam_1 CamTable CommandAborted
Exe_1 Execute Error
0.0 MasterOffset ErrorID
0.0 SlaveOffset
1.0 MasterScaling
1.0 SlaveScaling
1 MasterAbsolute
Cam_1
0 SlaveAbsolute
1 CycleMode Position
0 Velocity Slave
0 Acceleration
0 Jerk
0 Mode
0 DoneFlag 20
Position 360
Master
1
Exe_1 0 t
1
InSync_1
0 t
360
Masterposition (Axis_1)
Slaveposition (Axis_2)
Cam_1
Position
Startpos Xstart
superimposing slave
20 position (Axis 2)
t
S7-Technology
A5E00251798-04 6-163
Technology functions
FB1 FB2
MC_GearIn MC_CamInSuperImposed
Axis_1 Master InGear InGear_1 Axis_1 Master InSync InSync_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Abort_1 Cam_1 CamTable CommandAborted
1 RatioNumerator Error Exe_2 Execute Error
1 RatioDenominator ErrorID 0.0 MasterOffset ErrorID
Velocity 0.0 SlaveOffset
Acceleration 1.0 MasterScaling
1.0 SlaveScaling Position
Deceleration Slave
0 Jerk 1 MasterAbsolute Cam_
1 SlaveAbsolute 1
0 PhaseShift 90
1 CycleMode
1 Absolute
Velocity
0 Mode
Acceleration
0 DoneFlag
Jerk
0
0 Mode Position 360
0 DoneFlag Master
Position
Xstart 100
superimposing
slave position (Axis_2)
S7-Technology
6-164 A5E00251798-04
Technology functions
MC_CamInSuperImposed - ErrorIDs
Valid for firmware version V3.2.x of the integrated technology
S7-Technology
A5E00251798-04 6-165
Technology functions
S7-Technology
6-166 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-167
Technology functions
Purpose
• The "MC_CamOutSuperImposed" technology function stops superimposing
camming. This does not affect basic motions or base synchronism.
• The command is completed when the following axis synchronism is terminated
according to the axis configuration or to the dynamic parameters of the
technology function.
Applicable to
• Synchronization axes with superimposing synchronization object
Requirements
• The axis must be configured as slave for operation on the system with
superimposing synchronization. If the axis is not operating in synchronous
mode, the command is ignored and the technology function reports
Done = TRUE.
• No MC_Stop command is busy
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
Input parameters
S7-Technology
6-168 A5E00251798-04
Technology functions
Note
The simultaneous output of MC_CamInSuperImposed and
MC_CamOutSuperImposed commands to the same technology object may lead to
the cancellation the MC_CamInSuperImposed command
(CommandAborted = TRUE). The technology function
"MC_CamOutSuperImposed" will then return the message Done = TRUE.
Do not start MC_CamOutSuperImposed command unless
MC_CamInSuperImposed has reported synchronism (InGear = TRUE).
S7-Technology
A5E00251798-04 6-169
Technology functions
MC_CamOutSuperImposed - ErrorIDs
S7-Technology
6-170 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-171
Technology functions
Purpose
• The "MC_Phasing" technology function sets a phase shift between the leading
axis position and the following axis. This does not actually influence the position
of the leading axis.
• The effect on the following axis in cam synchronism is the same as a horizontal
cam shift.
• The phase can be referenced relative or absolute.
• The function can be started when the axis is at a standstill and also when it is
moving.
• You define motion dynamics at the dynamic parameters Velocity, Jerk,
Acceleration, Deceleration.
Applicable to
• Synchronization axes in camming or gearing mode
Requirements
• An MC_Stop command is not busy at the following axis
• The axis must be configured as slave for operation in an existing gearing or
camming compound.
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
6-172 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-173
Technology functions
MC_Phasing - Example
Use the "MC_Phasing" technology function to shift the phase of a cam during
camming.
When Absolute = 1, the phase shift of the cam compared with its defined position is
defined by an absolute value. Repeated phasing with the same value of PhaseShift
does not have any effect.
When Absolute = 0, the phase shift changes relative, i.e. the phase shifts with each
command by the value set at PhaseShift.
MC_Phasing
Axis_1 Master Done Done_1
Axis_2 Slave Busy
Exe_1 Execute CommandAborted Definition
90 PhaseShift Error Cam
Velocity ErrorID Position
Acceleration Slave
Deceleration
Jerk 180 360
Abs_1 Absolute
Position Master
0 DoneFlag
Exe_1 1
0 t
Abs_1 1
0 t
1
Done_1
0 t
Position
Slave
t
180 270 270 360 450
Position
Master
t
S7-Technology
6-174 A5E00251798-04
Technology functions
MC_Phasing - ErrorIDs
S7-Technology
A5E00251798-04 6-175
Technology functions
S7-Technology
6-176 A5E00251798-04
Technology functions
Purpose
• The MC_PhasingSuperImposed technology function sets a superimposing
phase shift between the leading axis and following axis positions. The phase
shift value is based on the following axis requirements. Superimposing phase
shift affect the following axis. The phase shift does not influence the position of
the leading axis.
• The effect on the following axis in cam synchronism is the same as a horizontal
cam shift.
• The phase can be referenced relative or absolute.
• The function can be started when the axis is at a standstill and also when it is
moving.
• Use the dynamic parameters Velocity, Jerk, Acceleration, Deceleration to define
the dynamic response during axis movement.
Applicable to
• Synchronization axes with superimposing synchronization object operating with
camming and gearing
Requirements
• An MC_Stop command is not busy at the following axis
• The axis must be configured as slave for operation on the system with
superimposing camming or gearing.
Interaction of commands
• New command - busy single command (1)
• New command - busy commands (1)
S7-Technology
A5E00251798-04 6-177
Technology functions
Input parameters
S7-Technology
6-178 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-179
Technology functions
MC_PhasingSuperImposed - Example
FB1 FB2
MC_GearInSuperImposed MC_PhasingSuperImposed
Axis_1 Master InGear InGear_1 Axis_1 Master Done Done_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Exe_2 Execute CommandAborted
1 RatioNumerator Error 20 PhaseShift Error
1 RatioDenominator ErrorID 50 Velocity ErrorID
50 Velocity 10 Acceleration
10 Acceleration 10 Deceleration
10 Deceleration 0 Jerk
0 Jerk 0 Absolute
0 PhaseShift 0 DoneFlag
1 Absolute
0 Mode
0 DoneFlag
FB1
1
Exe_1 0 t
1
InGear_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Masterposition (Axis_1)
Slaveposition (Axis_2)
} Phaseshift
Position
} 2x Phaseshift
überlagernde
Slaveposition (Axis_2)
t
S7-Technology
6-180 A5E00251798-04
Technology functions
FB1 FB2
MC_GearInSuperImposed MC_PhasingSuperImposed
Axis_1 Master InGear InGear_1 Axis_1 Master Done Done_2
Axis_2 Slave Busy Axis_2 Slave Busy
Exe_1 Execute CommandAborted Exe_2 Execute CommandAborted
1 RatioNumerator Error 20 PhaseShift Error
1 RatioDenominator ErrorID 50 Velocity ErrorID
50 Velocity 10 Acceleration
10 Acceleration 10 Deceleration
10 Deceleration 0 Jerk
0 Jerk 1 Absolute
0 PhaseShift 0 DoneFlag
0 Absolute
0 Mode
0 DoneFlag
FB1
1
Exe_1 0 t
1
InGear_1
0 t
FB2
1
Exe_2
0 t
1
Done_2
0 t
Slaveposition (Axis_2)
Masterposition (Axis_1)
Position
} Phaseshift
überlagernde
Slaveposition (Axis_2) t
S7-Technology
A5E00251798-04 6-181
Technology functions
MC_PhasingSuperImposed
Axis_1 Master Done Done_1
Axis_2 Slave Busy
Exe_1 Execute CommandAborted Definition
90 PhaseShift Error Cam
Velocity ErrorID Position
Acceleration Slave
Deceleration
Jerk 180 360
Abs_1 Absolute
Position Master
0 DoneFlag
Exe_1 1
0 t
Abs_1 1
0 t
1
Done_1
0 t
überlagernde
Slaveposition
t
180 270 270 360 450
Master-
position
t
S7-Technology
6-182 A5E00251798-04
Technology functions
MC_PhasingSuperImposed - ErrorIDs
S7-Technology
A5E00251798-04 6-183
Technology functions
S7-Technology
6-184 A5E00251798-04
Technology functions
Purpose
• The "MC_CamClear" technology function deletes all defined interpolation points
or segments of a cam, and sets cam disk editing mode.
Applicable to
• Cam disks
Requirements
• The cam disk may not be in use when you delete it.
• An MC_CamSectorAdd command may not be busy (restriction only applies to
firmware V3.0.x of the integrated technology.)
Overriding commands
An MC_CamClear command can not be canceled by any other command.
An MC_CamClear command does not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-185
Technology functions
Caution
The deletion of cam disks with many interpolation points or polynomials may take a
relatively long time. Other technology objects can not accept any new commands
within this period of time. This also applies to MC_Stop commands ! Note that you
can not cancel commands without defined termination ( "MC_MoveVelocity", for
example) within this time.
If the monitoring time for command execution is set too short in S7T Config, a
deletion may lead to a time-out and, thus, to a STOP of the Technology CPU.
MC_CamClear - ErrorIDs
S7-Technology
6-186 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-187
Technology functions
Purpose
• The technology function "MC_CamSectorAdd" adds new interpolation points or
polynomials to a cam disk.
Applicable to
• Cam disks
Requirements
• The cam is in editing mode
Editing mode is started by calling the technology function "MC_CamClear", and
ends with cam interpolation by the technology function "MC_CamInterpolate".
This enables operation of the cam disk for camming.
Overriding commands
An MC_CamSectorAdd command can not be canceled by any other command.
An MC_CamSectorAdd command does not cancel any other commands.
Input parameters
S7-Technology
6-188 A5E00251798-04
Technology functions
Note
• To add cam segments, use only mathematical functions up to the 3rd order.
Because of the resolution of floating-point values, any coefficients of a higher
order may lead to inaccuracies.
• Segments defined as polynomials are recalculated in the Technology CPU.
When read out afterwards in S7T Config it is thus possible that deviating
coefficients are indicated. It is also possible that the Y-coordinates of the start
and end points are swopped.
However, the cam form is retained.
Y = A0 + A1 ⋅ X + A2 ⋅ X 2 + A3 ⋅ X 3 + A4 ⋅ X 4 + A5 ⋅ X 5 + A6 ⋅ X 6 + B 0 ⋅(sin (B1 ⋅ X ) + B2 )
S7-Technology
A5E00251798-04 6-189
Technology functions
Example:
In our example, the ANY pointer refers to a range of values starting at address 16
in DB20. The data structure of the polynomial is fixed and has a set length of
60 bytes.
Note
You can save yourself editing work by using UDT 20 from the "S7-Tech" library.
UDT 20 contains the data structure of the polynomial. You can add up to 4
polynomials in one call by repeating this structure.
In our example, the ANY pointer refers to a range of values of interpolation points
that begins at address 6 in DB10 and consists of eight interpolation points (eight
value pairs).
S7-Technology
6-190 A5E00251798-04
Technology functions
Note
Integrated technology firmware V3.1.x or higher
This firmware version allows you to add all interpolation points and polynomials of
an MC_CamSectorAdd command in a single command execution cycle. By
starting several MC_CamSectorAdd commands, you can also add more than 30
interpolation points, or more than 4 polynomials to the cam disk.
Note
Firmware V3.0.x of the integrated technology
With this firmware version, the interpolation points and polynomials are distributed
to several command execution cycles.
While a MC_CamSectorAdd command is busy, you may not start any further
MC_CamSectorAdd, MC_CamClear or MC_CamInterpolate commands.
S7-Technology
A5E00251798-04 6-191
Technology functions
S7-Technology
6-192 A5E00251798-04
Technology functions
MC_CamSectorAdd - ErrorIDs
S7-Technology
A5E00251798-04 6-193
Technology functions
S7-Technology
6-194 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-195
Technology functions
Purpose
• The "MC_CamInterpolate" technology function interpolates a cam disk. After its
interpolation, the cam disk can be used for camming.
• Interpolation closes the gaps between the interpolation points and polynomials
contained, according to the specified type of interpolation.
Applicable to
• Cam disks
Requirements
• The cam is in editing mode
Marginal conditions
• Rule applied to interpolation points:
- With superimposed interpolation points, the last created interpolation point
takes priority
- The system uses the value 1e-4 in the continuity check
• Rule applied to segments:
- The gaps between segments are filed with an interpolated cam.
- The start point of a segment is relevant for overlapping segments; the
previous segment is truncated, starting at this position.
• Rule applied to mixed mode cam disks (segments and interpolation points):
- The start point takes priority as in a segmented cam.
• The cam disk is calculated according to the settings at input parameter
CamMode. This may involve a changes by the system in the marginal areas of
the cam disk.
S7-Technology
6-196 A5E00251798-04
Technology functions
Overriding commands
An MC_CamInterpolate command can not be canceled by any other command.
An MC_CamInterpolate command does not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-197
Technology functions
When cyclic absolute or relative mode is set, the runtime system can only calculate
the cam disk if there is a sufficient interval between the last defined position on the
cam disk and the end of the definition range, or between the definition range and
the first defined value.
S7-Technology
6-198 A5E00251798-04
Technology functions
Caution
The interpolation of cam disks with many interpolation points or polynomials may
take a relatively long time. Other technology objects can not accept any new
commands within this period of time. This also applies to MC_Stop commands!
Note that you can not cancel commands without defined termination
("MC_MoveVelocity", for example) within this time.
If the monitoring time for command execution is set too short in S7T Config, the
interpolation may lead to a time-out and, thus, to a STOP of the Technology CPU.
S7-Technology
A5E00251798-04 6-199
Technology functions
1. A gap between two segments is closed automatically by the interpolation. If the gap is smaller
than a specific limit value, it is closed by joining the interpolation points.
If the cam disk is created in S7T Config, the limit value of the gap can be specified in expert
mode (CamEdit > "Interpolation" Tab, activate "Expert mode" check box.
When the cam disk is created by means of the technology function MC_CamSectorAdd, the limit
value of the gap is set fixed to 1E-04. Above this limit, the gap is closed by interpolation; below
this limit, it is closed by joining the interpolation points.
2. When two successive segment have the same X coordinate, but different Y coordinates, this
discontinuity persists irrespective of the interpolation.
3. Of two overlapping successive segments, the start position of the successive segment (sector 2)
is used. The overlapping end position of the previous segment (sector 1) is truncated and
therefore lost. Overlapping segments are particularly prone to discontinuity at the segment
borders, because sector 1 is assigned a random Y value at the end of the segment (Y(X1)).
S7-Technology
6-200 A5E00251798-04
Technology functions
MC_CamInterpolate - ErrorIDs
S7-Technology
A5E00251798-04 6-201
Technology functions
S7-Technology
6-202 A5E00251798-04
Technology functions
Purpose
• The "MC_GetCamPoint" technology function can be used to determine the
position of a following axis to the leading axis position, based on an existing
cam disk.
• The "MC_GetCamPoint" technology function can be used to determine the
position between a following axis and the leading axis, based on an existing
cam disk.
- The same following axis positions can be entered for different leading axis
positions in the cam disk definition. Hence, the leading axis position must
be defined in closer details. This can be done at input parameter
ApproachPosition. At this input parameter, enter the assumed leading axis
position as approximate value.
• When a cam disk was configured in S7T Config using CamEdit or CamTool, the
scaling and shift defined with those tools are included when the positions are
determined. Cam disk dynamically created in RUN are never scaled or shifted.
Any scaling or shift operations by the input parameters of the technology
function MC_CamIn are ignored when the positions are determined.
Applicable to
• Cam disks
Requirements
• The cam disk was interpolated without error (status in technology DB 2 =
interpolated.)
Overriding commands
An MC_GetCamPoint command can not be canceled by any other command.
An MC_GetCamPoint command does not cancel any other commands.
S7-Technology
A5E00251798-04 6-203
Technology functions
Input parameters
S7-Technology
6-204 A5E00251798-04
Technology functions
MC_GetCamPoint - ErrorIDs
S7-Technology
A5E00251798-04 6-205
Technology functions
S7-Technology
6-206 A5E00251798-04
Technology functions
Purpose
• Using the "MC_CamSwitch" technology function you can enable / disable
position-based cams or switching cams, and define their switching
characteristics.
• In your cam configuration, you can define whether the switching positions are
based on setpoints or actual values.
• Switching points can be advanced or retarded (derivative time and deactivation
time). Here, the time unit set in S7T Config applies to the axis.
• The current switching state of the cam is stored in the technology DB.
Applicable to
• Position-based cam
• Switching cams
Overriding commands
An MC_CamSwitch command can only be canceled by a further MC_CamSwitch
command to the same technology object. An MC_CamSwitch command does not
cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-207
Technology functions
Note:
Reaction to the failure of the drive of an actual value cam:
The corresponding encoder value for a cam configured as actual value cam in
S7T Config must be valid. When the drive fails, the associated cam will thus be
disabled. The command will be canceled with ErrorID = 8021 at the technology DB.
Reaction to the failure of the drive of a setpoint cam:
The corresponding encoder value for a cam configured as setpoint value cam in
S7T Config is not required. The cam remains active after a drive failure. The cam
resumes switching at the configured positions after the error has been
acknowledged and the was drive enabled.
Reaction to axis restart
The cam will be disabled when its associated axis performs a restart ("MC_Reset",
Restart = TRUE), regardless whether the cam was configured as setpoint or actual
value cam in S7T Config.
S7-Technology
6-208 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-209
Technology functions
MC_CamSwitch - ErrorIDs
S7-Technology
6-210 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-211
Technology functions
S7-Technology
6-212 A5E00251798-04
Technology functions
Purpose
• At the "MC_CamSwitchTime" technology function, you enable / disable time-
based or switching cams, and define their switching characteristics. The time-
based cams are set when the ON position is reached, and are reset when the
pulse period has expired.
• In your cam configuration, you can define whether the switching positions are
based on setpoint or actual values.
• All specified times refer to the timebase configured in S7T Config.
• The current switching state of the cam is stored in the technology DB.
Applicable to
• Time-based cam
Overriding commands
An MC_CamSwitchTIME command can only be canceled by a further
MC_CamSwitchTime command to the same technology object. An
MC_CamSwitchTime command does not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-213
Technology functions
Note
Reaction to the failure of the drive of an actual value cam:
The corresponding encoder value for a cam configured as actual value cam in
S7T Config must be valid. When the drive fails, the associated cam will thus be
disabled. The command will be canceled with ErrorID = 8021 at the technology DB.
Reaction to the failure of the drive of a setpoint cam:
The corresponding encoder value for a cam configured as setpoint value cam in
S7T Config is not required. The cam remains active after a drive failure. The cam
resumes switching at the configured positions after the error has been
acknowledged and the was drive enabled.
Reaction to axis restart
The cam will be disabled when its associated axis performs a restart ("MC_Reset",
Restart = TRUE), regardless whether the cam was configured as setpoint or actual
value cam in S7T Config.
S7-Technology
6-214 A5E00251798-04
Technology functions
MC_CamSwitchTime - Example
MC_CamSwitchTime - ErrorIDs
S7-Technology
A5E00251798-04 6-215
Technology functions
S7-Technology
6-216 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-217
Technology functions
Purpose
• The "MC_MeasuringInput" technology function is used to enable recording of
one measurement by means of measuring sensor.
• A measuring sensor records the length of a configured axis or of an external
encoder, based on the trigger by an external event such as an impression mark
or homing cam.
• The measurement range can be limited. The first value measured within the
range of the StartPosition and EndPosition is accepted.
• StartPosition = EndPosition is neglected for measurement.
• The function is terminated after the measured value has been recorded and
output, or if the measurement was canceled, for example, by another command.
• Several operating modes can be selected at input Mode, based on the drive
and measuring components used.
Applicable to
• Measuring input
Requirements
• The axis is enabled for position control
• The connected drive or measuring component supports the selected mode.
Refer to the relevant drive documentation!
• The analog drive interface ADI4 does not support the simultaneous execution of
an MC_MeasuringInput command and MC_Home command with homing cam.
Note
Make allowances for the drive reaction times. Further information is provided in the
documentation of the drive used
(for example on the "S7-Technology" CD).
Overriding commands
An MC_MeasuringInput command can only be canceled by a further
MC_MeasuringInput command to the same technology object. An
MC_MeasuringInput command does not cancel any other commands.
Input parameters
S7-Technology
6-218 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-219
Technology functions
MC_MeasuringInput - Beispiel
The measuring sensor will be activated. The actual position value (46.7, for
example) will be saved to MeasuringValue1 when the measuring sensor input is
detected.
MC_MeasuringInput - ErrorIDs
S7-Technology
6-220 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-221
Technology functions
Purpose
• The "MC_ExternalEncoder" technology function controls an external encoder
that can is used, for example, as physical leading axis (master) for synchronous
operation.
• The external encoder can be enabled / disabled.
• Absolute value encoder adjustment is possible
• Synchronization: the actual position value of an incremental encoder can be
influenced by setting or passive homing.
Applicable to
• External encoders
Requirements
• The actual position value of an external encoder can only be influenced when
the encoder is enabled.
Overriding commands
An MC_ExternalEncoder command can only be canceled by a further
MC_ExternalEncoder command to the same technology object. An
MC_ExternalEncoder command does not cancel any other commands.
S7-Technology
6-222 A5E00251798-04
Technology functions
Input parameters
S7-Technology
A5E00251798-04 6-223
Technology functions
S7-Technology
6-224 A5E00251798-04
Technology functions
MC_ExternalEncoder - Example
An external encoder is enabled. The position value is zero prior to this enable, and
is not updated until activation is completed. The position value is no longer updated
if the encoder is disabled in a next step, regardless whether the encoder can be
moved. The position changes to the actual value when the encoder is enabled
again.
S7-Technology
A5E00251798-04 6-225
Technology functions
MC_ExternalEncoder - ErrorIDs
S7-Technology
6-226 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-227
Technology functions
Purpose
• Use the technology function "MC_Reset" to acknowledge all errors accepting
acknowledgment in the user program. Acknowledgment of fatal errors is only
possible either by cycling power, or by downloading the project data to the
module again. The acknowledgment also clears the entries at the ErrorID and
ErrorBuffer parameters, and resets the ErrorStatus bits in the technology DB.
• Use the technology function "MC_Reset" Restart = TRUE to start the re-
initialization (restart) of axes, cams, cam disks, external encoders and
measuring sensors. After initialization, the status of an axis with incremental
encoder is "Not homed." The cam originally configured in S7T Config is restored
at the cam disks.
• If the technology function "MC_Reset" (Restart = TRUE or FALSE) is applied to
technology DB "MCDevice" (Axis = DB no. of the MCDevice DB), the maximum
runtime of command execution will be rest to 0 (MaxLoopDuration at the
MCDevice DB). As of firmware V3.2.x of the integrated technology, an
additional variable TODBTaskOverflows (number of overflows in technology DB
updates) will be set to 0.
• The system continues command processing during a restart. However, the TO
performing the restart can not accept any commands for the duration of the
restart.
Applicable to
• Velocity-controlled axes
• Positioning axes
• Synchronization axes
• Output cam
• Measuring input
• Cam disks
• External encoders
• MCDevice DB
S7-Technology
6-228 A5E00251798-04
Technology functions
Caution
Set Restart = FALSE if you only want to clear the errors at a technology object.
Re-initialization of a technology object (Restart = TRUE) may take several 100
milliseconds. The technology object is not available for the duration of this process.
Interaction of commands
New command - busy single command (3)
S7-Technology
A5E00251798-04 6-229
Technology functions
Input parameters
S7-Technology
6-230 A5E00251798-04
Technology functions
MC_Reset - ErrorIDs
S7-Technology
A5E00251798-04 6-231
Technology functions
S7-Technology
6-232 A5E00251798-04
Technology functions
Purpose
• The parameters represent selected system variables and configuration data of
the integrated technology".
• The technology function "MC_ReadSysParameter" returns selected parameters
of a technology object, for example, of an axis or cam.
• The result is transferred to the corresponding output parameter, depending on
the data type of parameter read. In this case the other outputs return the a 0
value.
• At input parameter Index you can define which of the multiple parameters of the
project you want to access. Multiple parameters exist in these areas:
- Data records (Dataset_1 to Dataset_16)
- Encoders (Encoder_1 to Encoder_8)
- Synchronization objects (1 for synchronization object, 2 for superimposing
synchronization object)
Applicable to
• The parameter defined by the parameter number and the index must be
available in the system.
Requirements
• The parameter defined by the parameter number and the index must be
available in the system.
• Check the values of the encoders before you read their parameters. You can
validate the encoder values for the currently active encoder by reading the
variable Statusword.EncoderValid at the technology DB of the axis or external
encoder. At axes with several encoders, you can query the status of all other
encoders by calling the technology function "MC_ReadSysParameter" with
parameter number 4050.
Overriding commands
An MC_ReadSysParameter command can not be canceled by any other
command.
An MC_ReadSysParameter command does not cancel any other commands.
S7-Technology
A5E00251798-04 6-233
Technology functions
Input parameters
S7-Technology
6-234 A5E00251798-04
Technology functions
MC_ReadSysParameter - ErrorIDs
S7-Technology
A5E00251798-04 6-235
Technology functions
S7-Technology
6-236 A5E00251798-04
Technology functions
Purpose
• The parameters represent selected system variables and configuration data of
the integrated technology".
• You can use the "MC_WriteParameter" technology function to edit the
parameters of technology objects while the Technology CPU is in RUN. These
changes apply until the next POWER OFF / POWER ON or CPU memory reset
operation was carried out (exception: the value set during absolute value
adjustment is retained even under those conditions.)
• Of the input parameters Value, ValueDInt, ValueDword1, ValueDword2 and
ValueBool the system evaluates only the ones which conform to the relevant
technology parameter (for details, refer to the List of technology parameters ).
• The technology function can only modify parameters identified in the list of
technology parameters by the access mode "W" ("Write".).
• At input parameter Index you can define which of the multiple parameters of the
project you want to access. Multiple parameters exist in these areas:
- Data records (Dataset_1 to Dataset_16)
- Encoders (Encoder_1 to Encoder_8)
- Synchronization objects (1 for synchronization object, 2 for superimposing
synchronization object)
Caution
! The use of this technology function is intended for experienced users. Wrong input
may result in uncontrolled response of the drive!
The system does not check the plausibility of your entries.
Wrong input may lead to inconsistency of the technology object.
Applicable to
• Parameters of the technology objects you configured in S7T Config
Note that some parameter changes require a system restart (for information,
refer to the list of technology parameters, "Activation" column.)
S7-Technology
A5E00251798-04 6-237
Technology functions
Requirements
• The parameter defined by the parameter number and index must be avaliable
and allow write access. The data record defined in the index must have been
activated in the Technology CPU using technology function
"MC_ChangeDataset."
• Validate the encoder values before you write the encoder parameters (absolute
encoder adjustment, for example). You can validate the encoder values for the
currently active encoder by reading the variable Statusword.EncoderValid at the
technology DB of the axis or external encoder. At axes with several encoders,
you can query the status of all other encoders by calling the technology function
"MC_ReadSysParameter" with parameter number 4050.
Overriding commands
An MC_WriteParameter command can not be canceled by any other command.
An MC_WriteParameter command does not cancel any other commands.
Input parameters
S7-Technology
6-238 A5E00251798-04
Technology functions
Caution
Observe the range limits applying to the parameters. Valid range limits are listed in
the "list of technology parameters".
When editing data record parameters, note that some of the parameters must be
identical in the data records:
• parameters changing the structure (different controller types such as PV or PID
controllers, for example)
• important activating parameters (following monitoring on/off, DSC on/off, for
example)
The system reports a configuration error if you assign illegal values to data record
parameter in runtime by means of the technology function "MC_WriteParameter."
You should therefore edit only the data record parameters you can compile as
consistent project when you configure these in S7T Config.
Note
To change several parameters which do not require a restart and come into effect
immediately in one pass, group all parameter deltas, and then enable these.
Procedure:
1. Use "MC_WriteParameter" to set technology parameter
ParameterNumber = 4001 (activationmodechangedconfigdata) to
COLLECT_CHANGED_CONFIG_DATA (82).
This forms a collection of all subsequent changes at the relevant technology
object.
2. Use "MC_WriteParameter" to change the relevant technology parameters.
3. Use "MC_WriteParameter" to set activationmodechangedconfigdata to
ACTIVATE_CHANGED_CONFIG_DATA (81) in order to apply all changes.
This procedure is called for when editing technology parameters requiring identical
values in all data records.
S7-Technology
A5E00251798-04 6-239
Technology functions
Set the following input parameter values, in order to set velocity override:
ParameterNumber = 4142
Value = 0.0 to 200.0 (in [%])
Set the following input parameter values, in order to set acceleration override:
ParameterNumber = 4141
Value = 1.0 to 1000.0 (in [%])
S7-Technology
6-240 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-241
Technology functions
Example of ValueDword2
Set mask value FB00 for control word CW1 to overwrite all free bits of the control
word. meaning of the hexadecimal characters:
F = 1111 / bits 12 to 15 are written
B = 1011 / bits 8, 9 and 11 are written; bit 10 is protected
0 = 0000 / bits 4 to 7 are protected
0 = 0000 / bits 0 to 3 are protected
Set mask value 0FFF for control word CW1 to overwrite all free bits of the control
word. meaning of the hexadecimal characters:
0 = 0000 / bits 12 to 15 are protected
F = 1111 / bits 8 to 11 are written
F = 1111 / bits 4 to 7 are written
F = 1111 / bits 0 to 3 are written
S7-Technology
6-242 A5E00251798-04
Technology functions
Create a backup copy of the data of your absolute value encoder adjustment
Step Description
1. Read the current value of the absolute value encoder adjustment by means of the
"MC_ReadSysParameter" technology function, using the input parameters described below, for
example:
• Axis = Technology DB of the relevant axis
• Execute = positive edge to start the read operation
• ParameterNumber = 4010 Parameter number of the absolute value encoder adjustment
• ValueDword1 = DBx.DBD0 (temporary memory)
• ValueDword2 = DBx.DBD4 (temporary memory)
2. Use SFC 82 "CREA_DBL" to generate a DBy in load memory of the Technology CPU. The DB
is also generated in the RAM when you reset bit 0 of input parameter ATTRIB .
3. Call SFC 84 "WRIT_DBL" to write the previously backed up data of the absolute value encoder
adjustment to the new DBy.
Replacing the CPU and restoring the data of your absolute value encoder
adjustment
Step Description
1. Replace the Technology CPU, and integrate your MMC using the configuration data.
2. The backup DB for the data of your absolute value encoder adjustment is stored to working
memory after the startup of your Technology CPU.
3. Call the "MC_WriteParameter" technology function to restore the values of the absolute value
encoder adjustment to the nonvolatile memory of your Technology CPU. Use these input
parameters:
• Axis = Technology DB of the relevant axis
• Execute = positive edge to start the write operation
• ParameterNumber = 4010 Parameter number of the absolute value encoder adjustment
• ValueDword1 = DBx.DBD0 (x = number of the DB generated with SFC 82)
• ValueDword2 = DBx.DBD4 (x = number of the DB generated with SFC 82)
S7-Technology
A5E00251798-04 6-243
Technology functions
MC_WriteParameter - ErrorIDs
S7-Technology
6-244 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-245
Technology functions
Purpose
• The "MC_ReadPeriphery" technology function can be used to read the I/O
image (DP(DRIVE) of the integrated technology. The time-based dependency of
the update is shown in the example.
Applicable to
• DP I/O on DP(DRIVE)
• Integrated I/O of the Technology CPU
Requirements
• The addressed I/O must exist in the I/O image DP(DRIVE) of the integrated
technology.
Overriding commands
An MC_ReadPeriphery command can not be canceled by any other command.
An MC_ReadPeriphery command does not cancel any other commands.
Input parameters
S7-Technology
6-246 A5E00251798-04
Technology functions
Note
The runtime of command execution in the integrated technology plus the runtime of
the OBx cycle in which "MC_ReadPeriphery" is called may lead to a high reaction
times. You should therefore connect the I/O requiring a quick reaction to the
MPI/DP interface of your Technology CPU.
MC_ReadPeriphery - Example
The example shown in the diagram shows the time-based relationship when
reading or loading the I/O image DP(DRIVE).
At the start of each command execution cycle, the signal status of inputs is loaded
from the position controller and written to the I/O image of inputs. This load
operation is independent of the "MC_ReadPeriphery" technology function. The
"MC_ReadPeriphery" technology function accesses this I/O image and provides
these data to the user program.
The I/O image is read to the controller, initiated by the first call of
MC_ReadPeriphery with Enable = TRUE. Output parameter Busy is set TRUE in
time with this operation. The MC_ReadPeriphery command is processed as new
command within the first command execution cycle (new commands are processed
at the start of the command execution.) The I/O image of inputs is written to the
PLC inputs with the next call of MC_ReadPeriphery, and output parameter
DataValid reports a TRUE status.
The current MC_ReadPeriphery command is tracked, starting at the second
command execution cycle (current commands are processed at the end of
command execution, whereby the most recent command is processed last.) With
the third call of MC_ReadPeriphery, the I/O image of inputs of the second
command execution cycle is transferred to the PLC.
The DB update is triggered by the subsequent IPO cycle. This is not concluded
until the next position controller cycle is completed and is interrupted by the
position controller. The time slice for the third command execution is available after
the DB update. Due to the delayed start of command execution, this is interrupted
by the next position controlled and by the subsequent IPO. An updated I/O image
is therefore not available at the time of the fourth call of MC_ReadPeriphery.
Hence, the I/O image of call 3 is transferred to the PLC.
S7-Technology
A5E00251798-04 6-247
Technology functions
The I/O image of the fourth call is available at the fifth call of MC_ReadPeriphery,
and transferred to the PLC (the PLC does not read the I/O image of the third
command execution cycle.)
DB update
DB update
DB update
Position c.
Position c.
Position c.
Position c.
Position c.
Position c.
Position c.
IPO
IPO
IPO
IPO
load inputs into I/O load inputs into I/O load inputs into I/O load inputs into I/O load inputs into I/O
image image image image image
Command execution
1 2 3 3 4
OB 1 cycle
1
0 Enable
t
1
0 Busy
t
1
DataValid
0 t
S7-Technology
6-248 A5E00251798-04
Technology functions
MC_ReadPeriphery - ErrorIDs
S7-Technology
A5E00251798-04 6-249
Technology functions
S7-Technology
6-250 A5E00251798-04
Technology functions
Purpose
• The "MC_WritePeriphery" technology function can be used to write the I/O
image DP(DRIVE) of the integrated technology. The time-based dependency of
the update is shown in the example.
Applicable to
• DP I/O on DP(DRIVE)
• Integrated I/O of the Technology CPU
Requirements
• The addressed I/O must exist in the I/O image DP(DRIVE) of the integrated
technology.
Overriding commands
An MC_WritePeriphery command can not be canceled by any other command.
An MC_WritePeriphery command does not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-251
Technology functions
Note
The runtime of command execution in the integrated technology plus the runtime of
the OBx cycle in which "MC_WritePeriphery" is called may lead to considerable
reaction times. You should therefore connect the I/O requiring a quick write access
to the MPI/DP interface of your Technology CPU.
Note
To write the I/O image DP(DRIVE) cyclically, always retrigger input parameter
Execute after each write operation.
Interconnect input parameter "Execute" with the inverted signals of the output
parameters Busy and Error.
MC_WritePeriphery - Example
The example shown in the diagram shows the time-based relationship when writing
the I/O image DP(DRIVE).
The I/O image of outputs is written to the I/O via the position controller at the end of
each time slice for command execution. This write operation is carried out,
regardless whether the technology function "MC_WritePeriphery" is started or not.
"MC_WritePeriphery" is used to write the PLC data specified at input parameter
Data to the I/O image of outputs.
Write access to the I/O image of outputs is triggered by the positive edge at input
parameter Execute. Output parameter Busy is set fTRUE in time with this
operation. The MC_WritePeriphery command is added as new command to the
time slice of the first command execution cycle. Command execution is started
within this time slice. The second MC_WritePeriphery call reports completion of this
command (Busy is toggled to FALSE and Done is set TRUE).
At the end of the second command execution time slice, the most recently written
I/O image of outputs is written once again to the I/O via the position controller.
S7-Technology
6-252 A5E00251798-04
Technology functions
DB update
DB update
Position c.
Position c.
Position c.
Position c.
Position c.
Position c.
Position c.
IPO
IPO
IPO
IPO
Writing the I/O image Writing the I/O image Writing the I/O image Writing the I/O image
DP(DRIVE) DP(DRIVE) DP(DRIVE) DP(DRIVE)
Command execution
1 2 3 3 4
1
0 Execute
t
1
0 Busy t
1
0 Done t
S7-Technology
A5E00251798-04 6-253
Technology functions
MC_WritePeriphery - ErrorIDs
S7-Technology
6-254 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-255
Technology functions
Purpose
• The "MC_ReadRecord" technology function can be used to read a data record
from an I/O on DP(DRIVE).
• The technology function can be compared with the system function SFC 59
"RD_REC" which is used to read data records at the DP interface of an S7
CPU.
Applicable to
• DP I/O on DP(DRIVE)
Requirements
• The I/O must support data record communication.
• The I/O must support the relevant data record.
Overriding commands
An MC_ReadRecord command can not be canceled by any other command.
An MC_ReadRecord command does not cancel any other commands.
Input parameters
S7-Technology
6-256 A5E00251798-04
Technology functions
MC_ReadRecord - ErrorIDs
S7-Technology
A5E00251798-04 6-257
Technology functions
S7-Technology
6-258 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-259
Technology functions
Note
In accordance with PROFIBUS DP V1, a DP slave can report the errors A0 to CF.
The errors A0 to CF are mapped to the ErrorID of the technology function as error
80A0 to 80CF.
When output parameter ErrorID reports an error in the range from 80A0 to 80CF
which are not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
6-260 A5E00251798-04
Technology functions
Purpose
• The "MC_WriteRecord" technology function can be used to write a data record
to an I/O on DP(DRIVE).
• The technology function can be compared with the system function SFC 58
"WR_REC" which is used to write data records at the DP interface of an S7
CPU.
Applicable to
• DP I/O on DP(DRIVE)
Requirements
• The I/O must support data record communication.
• The I/O must support the relevant data record.
Overriding commands
An MC_WriteRecord command can not be canceled by any other command.
An MC_WriteRecord command does not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-04 6-261
Technology functions
MC_WriteRecord - ErrorIDs
S7-Technology
6-262 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-263
Technology functions
S7-Technology
6-264 A5E00251798-04
Technology functions
Note
In accordance with PROFIBUS DP V1, a DP slave can report the errors A0 to CF.
The errors A0 to CF are mapped to the ErrorID of the technology function as error
80A0 to 80CF.
When output parameter ErrorID reports an error in the range from 80A0 to 80CF
which are not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-04 6-265
Technology functions
Purpose
• The "MC_ReadDriveParameter" technology function allows the user program to
read the parameters of a drive connected to DP(DRIVE).
Applicable to
• Profidrive-compliant drives on DP(DRIVE)
Requirements
• The drive is configured for operation on DP(DRIVE).
• The drive must support data record communication.
• The drive must support the parameter number and the index.
Overriding commands
An MC_ReadDriveParameter command can not be canceled by any other
command.
An MC_ReadDriveParameter command does not cancel any other commands.
Input parameters
S7-Technology
6-266 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-267
Technology functions
MC_ReadDriveParameter - ErrorIDs
S7-Technology
6-268 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-269
Technology functions
S7-Technology
6-270 A5E00251798-04
Technology functions
Note
In accordance with PROFIBUS DP V1, a DP slave can report the errors A0 to CF .
The errors A0 to CF are mapped to the ErrorID of the technology function as error
80A0 to 80CF.
When output parameter ErrorID reports an error in the range from 80A0 to 80CF
which are not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-04 6-271
Technology functions
Purpose
• The "MC_WriteDriveParameter" technology function allows the user program to
write parameters of a drive connected to DP(DRIVE).
Applicable to
• Profidrive-compliant drives on DP(DRIVE)
Requirements
• The drive is configured for operation on DP(DRIVE).
• The drive must support data record communication.
• The drive supports the parameter number and the index.
Overriding commands
An MC_WriteDriveParameter command can not be canceled by any other
command.
An MC_WriteDriveParameter command does not cancel any other commands.
Input parameters
S7-Technology
6-272 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-273
Technology functions
MC_WriteDriveParameter - ErrorIDs
S7-Technology
6-274 A5E00251798-04
Technology functions
S7-Technology
A5E00251798-04 6-275
Technology functions
S7-Technology
6-276 A5E00251798-04
Technology functions
Note
In accordance with PROFIBUS DP V1, a DP slave can report the errors A0 to CF.
The errors A0 to CF are mapped to the ErrorID of the technology function as error
80A0 to 80CF.
When output parameter ErrorID reports an error in the range from 80A0 to 80CF
which are not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-04 6-277
Technology functions
The table below shows the interaction of new and busy commands.
S7-Technology
6-278 A5E00251798-04
Technology functions
Moving Waiting
The axis is moving, i.e., it is operating in The axis is waiting for the (de)synchronization
synchronous mode, or is currently being condition.
synchronized or desynchronized. • The command is active in synchronization wait
• For operation in synchronous mode, the system state. The variable Statusword.SynchrCommand
sets the output parameters of technology is not yet set at the technology DB (system
function InGear or InSync. (system variable of variable of the synchronization object
the synchronization object enablecommand=waiting_to_start).
enablecommand=active). • In desynchronization wait state, the output
• The command is active during the parameter of the technology function InSync or
synchronization motion. Variable InGear are still set. In addition, variable
Statusword.SynchrCommand in the technology Statusword.SynchrCommand at the technology
DB of the synchronization axis is set (system DB of the synchronization axis is set (system
variable of the synchronization object variable of the synchronization object
enablecommand=active). disablecommand=waiting_to_start).
• The output parameters InGear or InSync of the
technology function are FALSE when a
desynchronization motion is active. Variable
Statusword.SynchrCommand at the technology
DB of the synchronization axis is still set (system
variable of the synchronization object
disablecommand=active).
Abort 1 Abort direction
The new command is executed, busy commands are The MC_MoveToEndPos command is canceled and
canceled immediately. the new command is aborted with error, depending
on the direction of the new command.
Abort error Error
The new command is canceled, an ErrorID is A new command reports an error at the technology
entered at the technology DB, and the busy function and is not executed; a busy command is
command continues. continued.
No influence Superimposed
Does not have any influence on the currently The new motion command is superimposed on the
executed function; command execution is current motion command; the current command will
determined by the status of the technology object. not be canceled.
Superimposed abort Superimposed waiting
The new motion command is superimposed on the The new command is executed and waits for the
current motion command; the current command will synchronization or desynchronization condition. The
not be canceled. If the synchronization or new motion command is superimposed on the
desynchronization condition of the busy command is current motion command; the busy command will not
not yet met, and the new command will be canceled be canceled.
when the condition is satisfied.
Waiting Waiting abort
The new command is queued in memory and is The new command is executed and waits for the
appended to the busy command. The waiting synchronization or desynchronization condition. The
command is executed after the current command busy command will be canceled when the
was completed. synchronization or desynchronization condition of the
new command is fulfilled.
The default axis configuration shown in the table above applies to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL (0) ).
S7-Technology
A5E00251798-04 6-279
Technology functions
The table below shows the interaction of new and busy single commands.
Moving Waiting
The axis is moving, i.e., it is operating in The axis is waiting for the (de)synchronization
synchronous mode, or is currently being condition.
synchronized or desynchronized. • The command is active in synchronization wait
• For operation in synchronous mode, the system state. The variable Statusword.SynchrCommand
sets the output parameters of technology is not yet set at the technology DB (system
function InGear or InSync. (system variable of variable of the synchronization object
the synchronization object enablecommand=waiting_to_start).
enablecommand=active). In desynchronization wait state, the output parameter
• The command is active during the of the technology function InSync or InGear are still
synchronization motion. Variable set. In addition, variable
Statusword.SynchrCommand in the technology Statusword.SynchrCommand at the technology DB
DB of the synchronization axis is set (system of the synchronization axis is set (system variable of
variable of the synchronization object the synchronization object
enablecommand=active). disablecommand=waiting_to_start).
The output parameters InGear or InSync of the
technology function are FALSE when a
desynchronization motion is active. Variable
Statusword.SynchrCommand at the technology DB
of the synchronization axis is still set (system
variable of the synchronization object
disablecommand=active).
S7-Technology
6-280 A5E00251798-04
Technology functions
The default axis configuration shown in the table above applies to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL (0) ).
S7-Technology
A5E00251798-04 6-281
Technology functions
The table below shows the interaction of new and busy commands.
The default axis configuration shown in the table above applies to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL (0) ).
S7-Technology
6-282 A5E00251798-04
Technology functions
The table below shows the reciprocal action of a new command on a busy commands.
S7-Technology
A5E00251798-04 6-283
Technology functions
Moving Waiting
The axis is moving, i.e., it is operating in The axis is waiting for the (de)synchronization
synchronous mode, or is currently being condition.
synchronized or desynchronized. • The command is active in synchronization wait
• For operation in synchronous mode, the system state. The variable Statusword.SynchrCommand
sets the output parameters of technology is not yet set at the technology DB (system
function InGear or InSync. (system variable of variable of the synchronization object
the synchronization object enablecommand=waiting_to_start).
enablecommand=active). • In desynchronization wait state, the output
• The command is active during the parameter of the technology function InSync or
synchronization motion. Variable InGear are still set. In addition, variable
Statusword.SynchrCommand in the technology Statusword.SynchrCommand at the technology
DB of the synchronization axis is set (system DB of the synchronization axis is set (system
variable of the synchronization object variable of the synchronization object
enablecommand=active). disablecommand=waiting_to_start).
• The output parameters InGear or InSync of the
technology function are FALSE when a
desynchronization motion is active. Variable
Statusword.SynchrCommand at the technology
DB of the synchronization axis is still set (system
variable of the synchronization object
disablecommand=active).
Abort 1 Abort 2
The new command is executed and busy commands The new command is executed; a waiting command
will be canceled. is canceled immediately; a busy command is
canceled if the synchronization or desynchronization
condition of the new command are satisfied.
Abort 3 Abort direction
The new command is executed and immediately The MC_MoveToEndPos command is canceled and
cancels the second busy command; the first busy the new command is aborted with error, depending
command continues and is not canceled. on the direction of the new command.
Abort error Error
The new command is canceled, an ErrorID is A new command reports an error at the technology
entered at the technology DB, and the busy function and is not executed; busy commands are
commands continue. continued.
No influence Superimposed
Does not have any influence on the currently The new motion command is superimposed on the
executed function; command execution is current motion commands; the current commands
determined by the status of the technology object. will not be canceled.
Superimposed abort Waiting abort
The new motion command is superimposed on the The new command is executed and waits for the
current motion commands; the current commands synchronization or desynchronization condition. The
will not be canceled. If the synchronization or current commands will be canceled when a
desynchronization condition of the busy command is synchronization or desynchronization condition of the
not yet met, and the new command will be canceled new command is fulfilled.
when the condition is satisfied.
The default axis configuration shown in the table above applies to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL (0) ).
S7-Technology
6-284 A5E00251798-04
Technology functions
The table below shows the reciprocal action of a new command on a busy
commands.
Moving Waiting
The axis is moving, i.e., it is operating in The axis is waiting for the (de)synchronization
synchronous mode, or is currently being condition.
synchronized or desynchronized. • The command is active in synchronization wait
• For operation in synchronous mode, the system state. The variable Statusword.SynchrCommand
sets the output parameters of technology is not yet set at the technology DB (system
function InGear or InSync. (system variable of variable of the synchronization object
the synchronization object enablecommand=waiting_to_start).
enablecommand=active). • In desynchronization wait state, the output
• The command is active during the parameter of the technology function InSync or
synchronization motion. Variable InGear are still set. In addition, variable
Statusword.SynchrCommand in the technology Statusword.SynchrCommand at the technology
DB of the synchronization axis is set (system DB of the synchronization axis is set (system
variable of the synchronization object variable of the synchronization object
enablecommand=active). disablecommand=waiting_to_start).
• The output parameters InGear or InSync of the
technology function are FALSE when a
desynchronization motion is active. Variable
Statusword.SynchrCommand at the technology
DB of the synchronization axis is still set (system
variable of the synchronization object
disablecommand=active).
Abort 1 Superimposed
The new command is executed and busy commands The new motion command is superimposed on the
will be canceled. current motion commands; the current commands
will not be canceled.
S7-Technology
A5E00251798-04 6-285
Technology functions
Superimposed abort
The new motion command is superimposed on the
current motion commands; the current commands
will not be canceled. If the synchronization or
desynchronization condition of the busy command is
not yet met, and the new command will be canceled
when the condition is satisfied.
The default axis configuration shown in the table above applies to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL (0) ).
S7-Technology
6-286 A5E00251798-04
Technology functions
Example 1
S7-Technology
A5E00251798-04 6-287
Technology functions
Example 2
S7-Technology
6-288 A5E00251798-04
Technology functions
The technology function is reinitialized after POWER OFF (POWER OFF ->
POWER ON) and restart (RUN-STOP -> STOP-RUN).
Note
If the value Execute=TRUE is set at the input parameter after POWER OFF or
restart, a signal edge is detected, and the command is started.
To prevent any unintentional start of the command, open SIMATIC Manager, and
then set the "non-retain" check box in the block properties of the instance DB.
The relevant block is initialized again after POWER On or restart if "non-retain" is
set.
The DoneFlag can be used to indicate and evaluate the completion of technology
object commands in the local MCDevice DB.
At the input parameter DoneFlag of the technology function, you define which
DoneFlag or which DoneFlag in the MCDevice DB is to be generated.
Each time the technology function completes a task, the value in DoneFlag is
inverted in the MCDevice DB (FALSE is set TRUE or TRUE is set FALSE.) The
DoneFlag is only set as long as the initiated command can be tracked. The
command can no longer be tracked if a subsequent command uses the same
instance.
S7-Technology
A5E00251798-04 6-289
Technology functions
Note
The default limits of the axis configuration can be edited by calling the
"MC_WriteParameter" technology function.
Note
Initially, the dynamic values in the technology function are not verified when the
motion control command starts. The command is output to the system, where the
dynamic values are verified. The system reports any errors at the corresponding
technology DB. Output parameter CommandAborted is then set at the technology
function.
S7-Technology
6-290 A5E00251798-04
Technology functions
The technology transforms all absolute positioning parameters into the modulo axis
cycle.
Example with modulo start value 0° and modulo length 360°:
1. An absolute positioning command to the position 400° carries out positioning to
40° (400° modulo 360° = 40°).
2. When a homing position of -20° is specified for homing, the effect is the same
as a homing position 340°.
3. The ON position of a cam is set to 730°. The cam ON position is 10° (730°
modulo 360° = 10°)
S7-Technology
A5E00251798-04 6-291
Technology functions
S7-Technology
6-292 A5E00251798-04
7 Technology DBs
Variable UpdateFlag/UpdateCounter
See: Updating technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected at the velocity-controlled
axis.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-1
Technology DBs
Variable ErrorStatus.xxx
The bits in variable ErrorStatus.xxx return information on various axis errors.
S7-Technology
7-2 A5E00251798-04
Technology DBs
Variable Statusword.xxx
The Statusword indicates the current status of the velocity-controlled axis.
S7-Technology
A5E00251798-04 7-3
Technology DBs
Variable CommandVelocity
Shows the current velocity setpoint for the axis (allowance is made for
SpeedOverride.)
Variable CommandAcceleration
Shows the current acceleration setpoint for the axis (allowance is made for
AccelerationOverride.)
Variable ActualVelocity
Shows the current axis velocity.
If the velocity-controlled axis does not have an encoder, this value is always 0.
S7-Technology
7-4 A5E00251798-04
Technology DBs
Variable ActualAcceleration
Shows the current axis acceleration.
If the velocity-controlled axis does not have an encoder, this value is always 0.
Variable SpeedOverride
Shows the percentage of the currently effective SpeedOverride. The percentage is
reciprocal to the velocity setpoint of the axis, and is set to 100% by default.
The SpeedOverride can be set at the technology function"MC_WriteParameter"
from 0% to 200%.
Variable AccelerationOverride
Shows the percentage of the currently effective AccelerationOverride. The
percentage is reciprocal to the acceleration setpoint of the axis, and is set to 100%
by default.
AccelerationOverride can be set at the technology function"MC_WriteParameter"
from 1% to 1000%.
S7-Technology
A5E00251798-04 7-5
Technology DBs
Variable UpdateFlag/UpdateCounter
See: Update of technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected at the positioning axis.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
7-6 A5E00251798-04
Technology DBs
Variable ErrorStatus.xxx
The bits in variable ErrorStatus.xxx return information on various positioning axis
errors.
S7-Technology
A5E00251798-04 7-7
Technology DBs
Variable Statusword.xxx
The Statusword variable indicates the current status of the velocity-controlled axis.
S7-Technology
7-8 A5E00251798-04
Technology DBs
Variable CommandVelocity
Shows the current velocity setpoint for the axis (allowance is made for
SpeedOverride.)
Variable CommandAcceleration
Shows the current acceleration setpoint for the axis (allowance is made for
AccelerationOverride.)
Variable ActualVelocity
Shows the current axis velocity.
S7-Technology
A5E00251798-04 7-9
Technology DBs
Variable ActualAcceleration
Shows the current axis acceleration.
Variable SpeedOverride
Shows the percentage of the currently effective SpeedOverride. The percentage is
reciprocal to the velocity setpoint of the axis, and is set to 100% by default.
SpeedOverride can be set at the technology function FB "MC_WriteParameter"
from 0% to 200%.
Variable AccelerationOverride
Shows the percentage of the currently effective AccelerationOverride. The
percentage is reciprocal to the acceleration setpoint of the axis, and is set to 100%
by default.
AccelarationOverride can be set at the technology function FB
"MC_WriteParameter" from 1% to 1000%.
Variable ActualPosition
Shows the current axis position.
Variable CommandPosition
Indicates the current target position for positioning operations.
Variable TargetPosition
Indicates the target position for the current command. This value is only valid
during the execution of a positioning command.
Variable Distance
Shows the current distance of relative / absolute positioning. This value is only
valid during the execution of a positioning command.
Variable DecelerationDistance
Indicates the current stop distance of the axis. This value is only valid during the
execution of a positioning command.
Variable FollowingError
Indicates the current following error value of the axis. This value is only valid during
the execution of a positioning command.
S7-Technology
7-10 A5E00251798-04
Technology DBs
Variable UpdateFlag/UpdateCounter
See: Update of technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected of the synchronous axis.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-11
Technology DBs
Variable ErrorStatus.xxx
The bits in variable ErrorStatus.xxx return information on various axis errors.
S7-Technology
7-12 A5E00251798-04
Technology DBs
Variable Statusword.xxx
The status word variable indicates the current status of the synchronous axis.
S7-Technology
A5E00251798-04 7-13
Technology DBs
Variable CommandVelocity
Shows the current velocity setpoint for the axis (allowance is made for
SpeedOverride.)
Variable CommandAcceleration
Shows the current acceleration setpoint for the axis (allowance is made for
AccelerationOverride.)
S7-Technology
7-14 A5E00251798-04
Technology DBs
Variable ActualVelocity
Shows the current axis velocity.
Variable ActualAcceleration
Shows the current axis acceleration.
Variable SpeedOverride
Shows the percentage of the currently effective SpeedOverride. The percentage is
reciprocal to the velocity setpoint of the axis, and is set to 100% by default.
SpeedOverride can be set at the technology function FB "MC_WriteParameter"
from 0% to 200%.
Variable AccelerationOverride
Shows the percentage of the currently effective AccelerationOverride. The
percentage is reciprocal to the acceleration setpoint of the axis, and is set to 100%
by default.
AccelarationOverride can be set at the technology function FB
"MC_WriteParameter" from 1% to 1000%.
Variable ActualPosition
Shows the current axis position.
Variable CommandPosition
Indicates the current target position for positioning operations.
Variable TargetPosition
Indicates the target position for the current command. This value is only valid
during the execution of a positioning command.
Variable Distance
Shows the current distance of relative / absolute positioning. This value is only
valid during the execution of a positioning command.
Variable DecelerationDistance
Indicates the current stop distance of the axis. This value is only valid during the
execution of a positioning command.
S7-Technology
A5E00251798-04 7-15
Technology DBs
Variable FollowingError
Indicates the current following error value of the axis. This value is only valid during
the execution of a positioning command or in synchronous operation.
Variable SyncStatus
Direction variable
In gear synchronism mode, the Technology CPU includes the input parameters
RatioNumerator and RatioDenominator to calculate the ratio and sense of direction
of gear synchronism.
The sense of direction of the gear is defined by the variable Direction.
Variable NumGear/DenomGear
The variables indicate the gear ratio for base synchronism. The NumGear variable
indicates the leading axis coefficient, and the DenomGear variable the following
axis coefficient (in the context of base synchronism.) The indicated values apply
only to base synchronous operation.
Example:
With a transmission ratio of 17:25 between the leading and following axes, the
NumGear variable outputs the value 17 and the DenomGear variable has the value
25.
Variable PhaseShift
Shows the phase offset between the reference positions of the leading axis and
following axis. The value indicated is only valid during base synchronism.
S7-Technology
7-16 A5E00251798-04
Technology DBs
SupImpSyncStatus variable
Variable SupImpDirection
In superimposing gear synchronism mode, the Technology CPU includes the input
parameters RatioNumerator and RatioDenominator to calculate the ratio and sense
of direction of superimposing gear synchronism.
The sense of direction of the gear is defined by the variable Direction.
SupImpNumGear/SupImpDenomGear variable
These variables indicate the gear ratio for base synchronism. The
SupImpNumGear shows the coefficient of the leading axis, and the
SupImpDenomGear shows the coefficient of the following axis (referenced to the
superimposing coordinate system of the following axis.). The indicated values
apply to superimposing synchronism.
SupImpPhaseShift variable
Indicates the phase shift between the reference position of the leading axis and the
reference position in the superimposing coordinate system of the following axis.
This value is only valid for superimposed synchronism.
S7-Technology
A5E00251798-04 7-17
Technology DBs
Variable UpdateFlag/UpdateCounter
See: Update of technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected of the external encoder.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
7-18 A5E00251798-04
Technology DBs
Variable ErrorStatus.xxx
The bits in variable ErrorStatus.xxx return information on various errors at the
external encoder.
S7-Technology
A5E00251798-04 7-19
Technology DBs
Variable Statusword.xxx
The Statusword indicates the current status of the external encoder.
These values are no longer updated when the external encoder is disabled. The
values shown correspond with the last status registered at the time the enable
signal was reset.
S7-Technology
7-20 A5E00251798-04
Technology DBs
Variable ActualPosition
Shows the current position of the external encoder.
The position is no longer updated when the external encoder is disabled. The
indicated position corresponds with the last position before the enable signal was
reset.
Variable ActualVelocity
Shows the current velocity of the external encoder.
The velocity value is no longer updated when the external encoder is disabled. The
indicated velocity corresponds with the last velocity before the enable signal was
reset.
S7-Technology
A5E00251798-04 7-21
Technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected at the cam disk.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable Status
Variable UserCount
Indicates how many technology objects are currently using the cam.
S7-Technology
7-22 A5E00251798-04
Technology DBs
Variable Statusword.xxx
The Statusword variable indicates the current status of the cam disk.
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-23
Technology DBs
Variable UpdateFlag/UpdateCounter
See: Update of technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected of the measuring sensor.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable Status
Indicates the operational state of the measuring sensor. The following operating
states can be shown:
Variable MeasureValue1
Indicates measured value 1 of the measuring sensor. This value is valid in status
(operating state) 2.
S7-Technology
7-24 A5E00251798-04
Technology DBs
Variable MeasureValue2
Indicates measured value 2 of the measuring sensor. This value is valid in status
(operating state) 2.
The measured value 2 is only logged in modes 3 and 4 of the technology function
"MC_MeasuringInput."
Variable MeasureStart/MeasureEnd
The MeasureStart variable indicates the lo limit, the MeasureEnd variable the hi
limit of the measuring hysteresis. Only the measured values within this hysteresis
are logged. When the MeasureStart and MeasureEnd values are equal, the
hysteresis has no effect.
The MeasureStart/MeasureEnd variables shown at the DB correspond with the
values at the input parameters of the relevant technology function
"MC_MeasuringInput."
Variable Statusword.xxx
The Statusword indicates the current status of the measuring sensor.
Variable Reserve02
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve03
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve04
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-25
Technology DBs
Variable Reserve05
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve06
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve07
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve08
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve09
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve10
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
7-26 A5E00251798-04
Technology DBs
Variable ErrorID
Shows the ErrorID of the last error or warning detected at the cam.
This error message can be acknowledged by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable State
Variable CamType
Variable Mode
S7-Technology
A5E00251798-04 7-27
Technology DBs
Direction variable
Shows the effective cam direction of the most recent MC_CamSwitch or
MC_CamSwitchTime command. The variable is not changed in the following
"MC_CamSwitch" and "MC_CamSwitchTime" modes:
• Mode = 1 (cam deactivated)
• Mode = 4 (cam always on)
Value Meaning
1 Positive direction of action
2 Positive and negative (i.e. the effective direction is irrelevant)
3 Negative direction of action
4 The current sense of direction of the axis is the effective direction
OnPosition variable
This variable indicates the current ON position.
OffPosition variable
Indicates the current cam deactivation position of a position-controlled axis.
Duration variable
Indicates the pulse duration of a time-based cam. The physical unit corresponds
with the physical unit of the "time" at the corresponding axis.
Delay variable
Indicates the current offset (derivative action time) of the ON/OFF times.
Value < 0: Advanced switching
Value > 0: Delayed switching
Hysteresis variable
Indicates the current values of the hysteresis.
S7-Technology
7-28 A5E00251798-04
Technology DBs
Variable Statusword.xxx
The Statusword indicates the current status of the cam.
Variable Reserve02
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve03
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve04
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve05
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve06
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve07
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-29
Technology DBs
Variable Reserve08
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve09
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve10
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
7-30 A5E00251798-04
Technology DBs
Variable ErrorID
Indicates the ErrorID of the most recently detected error. The error must be
eliminated and can not be acknowledged.
Possible error messages and warnings
Variable S7_TraceDINT[0..1]
The S7_TraceDINT variable is an ARRAY consisting of two elements of the data
type DINT.
These values can be selected for tracing Technology > userdata1 > user1 and
user2 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceDWORD[0..1]
The S7_TraceDWORD variable is an ARRAY consisting of two elements of the
data type DWORD. Use these variables to trace bit information, such as the status
word / error word, in the TraceTool of S7T Config. In the TraceTool, you can select
the bit information as you are used to in the SIMATIC numbering system.
These values can be selected for tracing Technology > userdata1 > user3 and
user4 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceREAL[0..3]
The S7_TraceREAL variable is an ARRAY consisting of four elements of the data
type REAL.
These values can be selected for tracing Technology > userdata1 > user5, user6,
user7 and user8 when you select the signal source in the TraceTool of S7T Config.
S7-Technology
A5E00251798-04 7-31
Technology DBs
Variable UpdateFlag/UpdateCounter
See: Update of technology DBs
Variable ErrorID
Indicates the ErrorID of the most recently detected error. The error must be
eliminated and can not be acknowledged.
Possible error messages and warnings
Variable ErrorBuffer[0..2]
Buffer for the first three errors and warnings. The first error is written to ARRAY
element 0, the second to ARRAY element 1, etc.
This content of the buffer can be cleared by calling the technology function
"MC_RESET" (with Axis = number of the technology DB).
Variable Reserve34
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable MaxLoopDuration
Shows the maximum command execution time of the integrated technology.
The entry will be deleted at the startup of the Technology CPU, at the call of FB
"MC_Reset" (with Axis = MCDevice-DB; Restart = TRUE or FALSE.)
Variable CmdLoopDuration
Indicates the command execution cycle of the integrated technology, averaged
over the seconds.
The entry will be deleted at the startup of the Technology CPU, at the call of FB
"MC_Reset" (with Axis = MCDevice-DB; Restart = TRUE or FALSE.)
S7-Technology
7-32 A5E00251798-04
Technology DBs
Variable StationLifeList[0..127]
The ARRAY of this variable lists all available partner stations on PROFIBUS
DP(DRIVE). The index of the ARRAY element corresponds with the PROFIBUS
address. A value 1 in an element indicates that the partner station can be reached,
while the value 0 indicates that the station can not be reached.
Variable DoneFlag[1..32]
The ARRAY elements 1 to 32 can be assigned to the DoneFlag input parameter of
the function blocks.
Each time the technology function completes a task, the value in DoneFlag is
inverted (FALSE is set TRUE or TRUE is set FALSE). The DoneFlag is only set as
long as the initiated command can be tracked. The command can no longer be
tracked if a subsequent command uses the same instance.
Variable DIStatus[0..3]
The ARRAY elements indicate the status at the integrated digital outputs of the
Technology CPU.
Variable DOStatus[0..7]
The ARRAY elements 0 to 7 indicate the status at the integrated digital outputs of
the Technology CPU. The outputs of the integrated technology can be assigned to
individual cams in S7T Config, for example.
Variable Statusword.xxx
The status word variable indicates the current status of the synchronous axis.
S7-Technology
A5E00251798-04 7-33
Technology DBs
Variable TODBTaskOverflows
Shows the number of technology DB update overflows. The max. indicated value is
FFFFFFFF.
The entry will be deleted at the startup of the Technology CPU, at the call of the
"MC_Reset" technology function (with Axis = MCDevice-DB; Restart = TRUE or
FALSE.)
Note
You also set the basic clock cycle for the technology DB updates in S7T Config, by
selecting the Target system > Set system cycle clocks.
A time setting which is too short can lead to an overflow during the technology DB
update (the CPU will no longer go into STOP as a reaction, starting with firmware
V3.2x of the integrated technology.)
An "overflow" is given when a busy update operation prevents the start of the
technology DB update. The new update command will be discarded.
The number of overflows, and therefore the number of failed technology DB
updates, can be read from the TODBTaskOverflows variable.
Variable Reserve02
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve03
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve04
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve05
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve06
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
7-34 A5E00251798-04
Technology DBs
Variable Reserve07
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve08
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve09
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable Reserve10
The variable is reserved for internal functions. It does not contain user-relevant
information.
Variable TO_Adaption
The variable is reserved for internal functions. It does not contain user-relevant
information.
S7-Technology
A5E00251798-04 7-35
Technology DBs
Note
You define the basic clock of the update in S7T Config by selecting the
Target system > Set system cycle clocks command.
We speak of an "overflow" situation when a new technology DB update is initiated
while a previous update cycle is not yet completed. Up to firmware V3.1.x of the
integrated technology, the CPU will go into STOP when a technology DB update
overflow is detected. Starting with V3.2.x of the integrated technology, such an
overflow will be tolerated, the non-executable update is discarded, and technology
synchronization interrupt OB 65 ill not be called.
The number of overflows, and therefore the number of failed technology DB
updates, can be read from the TODBTaskOverflows variable of technology DB
"MCDevice."
With reference to this basic clock, you can distribute the update of the various
technology DBs to several basic clocks by programming a reduction ratio and an
offset in "Technology Objects Management" (expert mode view.)
S7-Technology
7-36 A5E00251798-04
Technology DBs
A reduction ratio 1 and an offset 0 is set for the technology DBs by default. All
technology DBs are updated within the basic clock cycle (clock of the technology
DB update.) The selected basic clock cycle of the technology DB update must be
of sufficient length to allow the update of all technology DBs.
S7-Technology
A5E00251798-04 7-37
Technology DBs
Update of technology DBs with graded reduction ratio and uniform offset
The reduction ratio determines in which basic clock cycle the technology DB is to
be updated.
• A reduction ratio 1 means that the technology DB is updated within each basic
clock cycle.
• A reduction ratio 2 means that the technology DB is updated in every second
basic clock cycle, and so forth.
Compared to the default setting, this improves the distribution of technology DB
updates. However, the basic clock cycles 1, 5, 7 and 9 will still cause high loads.
S7-Technology
7-38 A5E00251798-04
Technology DBs
The example shows that a graded reduction ratio and offset can be used to limit
update load to three technology DBs per basic clock cycle. Compared to the
example shown earlier, this allows doubling of the basic clock. The update time of
DB 1 and DB 2 is reduced by 50%. The update time of DB 3 remains the same.
The update time of DB 3 to DB 6 is tripled.
Note
Use the information below in order to optimize the reduction ratio and offset:
• Do not set any cycles below the evaluating capacity of your program.
• Select the same reduction ratio and offset for technology DBs which you want
to evaluate consistently to each other.
• Create a diagram of your update schedule which shows you the cyclic
distribution of updates.
• The time required for the update of a technology DB depends on the DB's
length. A cyclic distribution of technology DBs of a grater length (for example,
axis technology DBs) will lead to a more even distribution compared to the
distribution of short technology DBs.
S7-Technology
A5E00251798-04 7-39
Technology DBs
Note
The technology synchronization interrupt is called in each basic cycle, regardless
whether or not a technology DB is updated in this period.
S7-Technology
7-40 A5E00251798-04
Technology DBs
Note
The ErrorID, ErrorStatus and ErrorBuffer entries are updated asynchronously, i.e.
independently of the "UpdateFlag."
S7-Technology
A5E00251798-04 7-41
Technology DBs
Warnings
* Interrupts in S7T Config, which may be associated with the indicated warning.
S7-Technology
7-42 A5E00251798-04
Technology DBs
Error
S7-Technology
A5E00251798-04 7-43
Technology DBs
S7-Technology
7-44 A5E00251798-04
Technology DBs
S7-Technology
A5E00251798-04 7-45
Technology DBs
S7-Technology
7-46 A5E00251798-04
Technology DBs
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
A5E00251798-04 7-47
Technology DBs
Warnings
ErrorID Warning message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
0020 Restart to apply You have changed a To apply the parameter 20010 20010
parameter changes parameter which is not changes, you need to lock and
applied directly reinitialize the object
("MC_Reset" with Restart =
TRUE)
0021 Dynamic values are The dynamic values of the Check why the setpoint values 40002, 40002,
being limited command (velocity, are too high: configured max. 40003, 40003,
acceleration, delay or values; mean velocity setpoint 40004 40004,
starting torque) are being interface; encoder connection; 50003,
limited, because they are mechanical installation. 50005
out of configured limits.
Any superimposing
commands which are
active at the technology
object may also lead to a
limitation of dynamic
values. The wanting can
only be acknowledged if
only one motion
commands mains active.
0022 Internal warning Temporary internal For detailed information, refer 50103, 20009,
problem to the alarm view in 50104, 40109,
S7T Config 50105, 50010
50106,
50108,
50109
0023 Stop time is limited The specified stop time In your configuration, increase 40013 0023
by max. acceleration can not be maintained. the stop time or the max.
value The stop time of the drive acceleration.
is extended, because its
value can not be reached
due to the currently
effective max.
acceleration.
0024 Long-term instability The nominator and Adjust the gear ratio, 50008
of gear denominator values of the or correct any inaccuracies
synchronism gear ratio are too high. caused by repeated
This may result in synchronization
mathematical rounding
errors in long-term
operation.
0026 The position is The target position of a Check the calculated target 40105
limited to the SW positioning command is position
limit switches out of range of the
software limit switches
* Interrupts in S7T Config, which may be associated with the indicated warning.
S7-Technology
7-48 A5E00251798-04
Technology DBs
Error
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8001 Fatal internal error Faulty / inconsistent Check consistency of your 20001 20001,
project / software; can not project data. Compile the data 50015
be influenced by the user. again, then download all data
to the module. Evaluate the
error code in the alarm view of
S7T Config and inform the
Siemens Hotline.
8002 Internal fault • Version conflict Check consistency of your 30004, 30004,
• Firmware error project data. Compile the data 30005, 30005,
again, then download all data 30010, 30010,
• Inconsistent software
to the module. Evaluate the 30011, 30011,
alarm view of S7T Config and 30015 30015
inform the Siemens Hotline.
8003 Fatal configuration Faulty axis configuration • Check the plausibility of 20004, 20004,
error data. A hardware driver, or changed parameters. 20006 20006
the device it addresses, (Example: Spindle pitch is
may not be available 0; homing with absolute
value encoder above zero
mark is not possible).
• Check the connected
devices and their
configuration in
HW Config.
• Verify that the telegram
used is compatible with
the object.
• Reload the technology to
the PLC.
8004 Configuration error The configuration of a Check the plausibility of 20003, 20003,
technological object is changed parameters. 20011 20011
incomplete or faulty. Evaluate the detailed
information in the alarm view
of S7T Config.
8005 Job memory is full The command can not be In S7T Config, increase the 30003 30003
executed, because of "maximum number of active
insufficient command commands IDs.". Set the
capacity - cause: value in the expert list,
• The technology object including the configuration
can not save parameter
additional commands numberOfMaxBufferedComm
andId .
This setting also increases the
command handling capacity of
the technology object.
8006 Insufficient memory Integrated technology is Reduce the number of 20002 20002
out of memory. technology objects or the
number of interpolation points
or polynomials in the cam
disks.
S7-Technology
A5E00251798-04 7-49
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8008 Invalid technology The technology does not Recreate the DB in the
DB recognize this DB, "Technology Objects
because it has an invalid Management" dialog box, and
internal ID. Perhaps the download the configuration
DB was generated in a data again, i.e. establish
copy operation. online / offline consistency.
8009 The technology DB The DB is no longer Delete the DB
is disabled because assigned to the technology
it was substituted object, because a newer
with a new instance instance with a different
DB number has been
downloaded.
800A HW driver not The driver of a physical Check whether the logical 20014 20014
available device is not available or device was available at the
is being used by another time the command was
TO. output, or whether it was
being used by another
technology object (TO).
Connect a suitable device and
check its functions,
connections and terminals.
Check the topology in HW
Config.
Compare the configuration in
HW Config and of the TO.
8010 Drive failure The drive or an external Check the device functions, 20005 20005,
device has failed, or connections and terminals. 50001
communication is Check the configuration in
disrupted as a result of HW Config, based on the
faulty configuration or current telegram settings.
parameter data.
8012 Homing error The required homing Check the settings for axis 40103
mode is not possible. homing with respect to
Examples: Homing with inconsistency and invalid
absolute value encoder; values.
homing velocity
= 0.;
8013 Hardware • The hardware Return the drive to its 50007
limit switch is limit switch is operational range . Check the
actuated actuated. limit switch terminals.
• The polarity of the
switch is reversed.
• Wrong direction of the
release motion
8014 Approached a A motion was stopped Check the motion program. 40106,
software when the software limit 40111
limit switch switch was reached
8015 Approached a An axis has passed the Check the motion program. 40107,
software software limit switch. 40112
limit switch passed
8016 Following error out The offset between the Check the sense of direction 50102
of limits position setpoint and of the encoder, the settings of
actual value of the axis the position control circuit and
has exceeded the following error monitoring.
configured limit.
S7-Technology
7-50 A5E00251798-04
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8017 Following error has The offset between the Check the sense of direction 50103
exceeded the position setpoint and of the encoder, the settings of
warning limit actual value of the axis the position control circuit and
has exceeded the following error monitoring.
configured warning limit.
8018 Standstill monitoring The axis has left or failed Check the functions of the 50107,
error to reach the standstill velocity and position control 50008
monitoring window within the loop, and the settings of
specified time. standstill monitoring.
8019 Positioning The axis could not reach Check the functions of the 50106
monitoring error the positioning window velocity and position control
monitoring within the specified time. loop, and the settings of
positioning monitoring.
801A Synchronization The following axis of a Check the synchronization 40110,
monitoring has synchronization compound and de synchronization 40201
responded can not operate within the parameters, the gear ratio and
monitoring configured tolerance limit, the configured units. Increase
i.e. the offset between the the set tolerance.
position setpoint and
actual value is too high.
801B Clamping monitoring Clamping error. Check: 50108
has responded The axis has overrun the • the fixed endstop
monitoring "Position tolerance after • the function of the position
fixed endstop detection" control loop
without having received a
new motion command. • the clamping monitoring
settings in S7T Config
(Position tolerance setting
in S7T Config > Limits >
"Fixed endstop" tab >
Parameter "Position
tolerance after fixed
endstop
detection".)
S7-Technology
A5E00251798-04 7-51
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
801C Dynamic limits are • The internal Particularly when setting the 40012
exceeded monitoring system has values of release motions,
intervened in the make sure you do not set
dynamic process, these too low in terms of
because user input acceleration, deceleration and
would violate limit jerk. With superimposing
values, or lead to motions, always make
impermissible reversal allowances for superimposing
or overshoot of the values at the dynamic
axis. parameters.
• The dynamic values
returned by the
leading axis during
synchronization are Change the value at
higher than the values configuration parameter
defined at the SyncingMotion.
following axis. The synchronizingAdaption of the
dynamic values set at synchronization object to NO,
the following axis for if the following axis is to be
synchronization will be synchronized based on its set
ignored, and the dynamic values.
following axis is You can also change the
synchronized with the configuration parameter using
leading axis parameter number 4337 at the
accordingly. "MC_WriteParameter"
technology function.
801D Reference cam or • Reference cam or Check the permissible ranges 40101,
encoder zero mark encoder zero mark are (e.g. max. distance between 40102
not found outside the permitted reference cam and encoder
range. zero mark), the end position
• An end position monitoring system and reduce
monitoring the cutoff velocity.
has responded.
• The velocity was too
high.
801F Dynamic control • The position or • Check the sense of 50101
circuit out of range velocity controllers are direction of the encoder.
not tuned • Check the control loop
• Wrong sense of parameters.
direction of the • Modify the following error
encoder monitoring parameters.
• Following error monitoring
monitoring too
sensitive
• Offset between
velocity setpoint and
actual value too high
8030 The frequency of the The pulse frequency of the Check the electrical 50002
measuring system is encoder signals is too connection of the encoder.
out of range high. Check whether the configured
max. velocity is too low.
S7-Technology
7-52 A5E00251798-04
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8031 Actual value • An incremental Check and adjust the 50001,
acquisition error encoder is out of configuration data for the 50013
range adaptation of the actual value
• The movement per to mechanical requirements
position controller
cycle exceeds the
modulo length of the
axis
8032 Can not shift the The programmed shift of Check the programmed shift 30014
coordinate system the coordinate system of the coordinate system.
(set or correct the actual
position value) leads to a
violation of the internal
traversing range. The
coordinate system is not
shifted.
8033 Zero-mark Wrong number of Check the wiring and the set 50006
monitoring increments between two encoder resolution.
has responded zero marks of the encoder.
8040 The axis / external The enable signal required Eliminate and acknowledge all 40005
encoder is not for a motion command is queued errors and then
enabled, or the missing. enable the axis in the relevant
wrong mode is set mode (e.g. position-
controlled).
8041 Axis not homed A motion command is Home the axis ("MC_Home") 40108
active and requires a If this command is to be
homed axis. executed at an axis which is
not homed, then set axis
homing to "Homing required =
no"
8042 Illegal change of Command for 40001
axis status the axis status was
rejected, because:
• The current Repeat the command
phase in operation is
not completed yet.
• A mode transition is Reset first.
not possible.
8043 Illegal command One or several invalid Check the command and 30001, 30001
parameter values at the input adjust illegal parameters. Note 50107
or preset value parameters of the the current preset values.
technology function of the
command, or illegal
default parameters.
8045 Illegal command with • A command of higher Acknowledge all queued 30006 30006,
current status priority is busy (e.g. errors of the technology 30009
"MC_Stop".) object.
• The technology object Wait for the initialization of the
is disabled or not technology object (after
ready. restart).
• Received Enable the technology object.
measurement Disable "MC_Stop."
command when
Do not start any measuring
homing
commands during homing.
S7-Technology
A5E00251798-04 7-53
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8046 Job not supported The connected drive does Check and adjust the drive 50012
by the drive not support this type of configuration data and
command, for example, a settings.
certain homing mode.
8047 Can not It is not possible to reset Eliminate all causes of error 30007 30007
acknowledge this the error with "MC_Reset." and retry to acknowledge.
error Examples: Please note that you must
• An axis has been acknowledge particular errors
brought to standstill, by cycling power.
and the error causing
this can not be
acknowledged.
• Further errors occur in
the acknowledgment
or restart phase.
8048 Unable to restart The object is busy or a Eliminate and acknowledge all 20012 20012
queued error prevents queued errors and disable the
restart. object.
8049 Illegal object Faulty combination of 20007 20007
combination technology objects.
Examples:
• Axis_2 was set as • Set a definite leading /
leading following axis
synchronization axis combination.
for Axis_1, while
Axis_1 is set as
leading axis for
Axis_2.
• All synchronized
drives are processed • Assign the leading /
at different run levels. following axes to the same
run level (usually the
interpolator cycle).
804A The required object • No allowances have Select the required leading 30008 30008
interconnection is been made in the axes, cam disks, or valve
missing application program profiles from the
for relevant "Configuration" section of the
combinations of synchronization object of the
leading / following following axis.
axes and cam disks.
• The configured cam
disk was not assigned
the valve profile in
S7T Config of the axis.
804B Limit switch A hardware Check the mechanical 50009
actuated; illegal limit switch is actuated. installation and the wiring.
command Permitted are only motion Correct any programming
commands in direction of errors or use the software limit
the operating range. switches.
8063 Cam is not At the start of camming, it Check the current cam status 50002
interpolated was detected that the cam at the technology DB. Add the
was not interpolated yet. missing points or segments,
then interpolate the cam.
S7-Technology
7-54 A5E00251798-04
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8064 Failed to access the • Can not find the • Check the cam disk and 50001,
cam specified cam disk. all possible 50004
• The cam disk is not interconnections with the
interconnected with axes (configuration of
synchronous synchronism).
operation.
• The cam disk is busy. • In order to be able to edit
the cam disk, the cam disk
may neither be active in
cam synchronization, nor
be used as valve profile of
a hydraulic axis.
• To initiate cam
• The position of the synchronism relative to
leading axis is outside the leading axis, the value
the definition range of at the system variable
the cam effectivedata.
camstartpositionmaster of
the synchronization object
must match the definition
range of the cam disk.
• To execute acyclic cam
synchronization with
absolute reference to the
leading axis, the current
position of the master
must lie within the
definition range of the
cam.
Make allowances for the cam
shift caused by input
parameter MasterOffset.
8065 Range violation A specified cam Check the start and end 50003
at the cam interpolation point violates positions of cam
the defined cam range. synchronization and
desynchronization.
8072 Can not enable / This error is caused by an Check the motion of the 50007
disable illegal status of the leading leading axis, or select a
synchronism axis during different synchronization
synchronization and strategy.
desynchronization.
Example: The leading axis
reverses during position-
related synchronization.
8073 Violation of leading The dynamic values at the Check the motion of the 50009
axis dynamics in leading axis are too high leading axis, or select a
synchronous during synchronization different synchronization
operation and desynchronization strategy.
(e.g. acceleration values
too high)
S7-Technology
A5E00251798-04 7-55
Technology DBs
ErrorID Error message Possible causes To correct or avoid errors Interrupts in Interrupts in
S7T Config* S7T Config*
Synchroni- Synchroni-
zation zation
object axis
8074 The leading axis is • In the configuration of Adjust the configuration of the 50101,
not configured for the following axis, the following axis or use the 50102
synchronous axis connected at the configured leading axes.
operation "Master" terminal was Operate the leading axis in
not defined as leading position-controlled mode or
axis. enable it.
• The leading axis is not
enabled (applies only
for the external
encoder).
• The leading axis is
operated with velocity
control.
8077 Deactivation of Deactivation of Deactivate camming with 50005
synchronous synchronous operation MC_CamOut and gearing with
operation aborted was rejected, because the MC_GearOut, or use global
current synchronous instructions (MC_Halt,
operation type (gear/cam "MC_Stop", ...)
gear) does not agree with
the deactivation type.
8078 Superimposing Superimposing Adjust the settings in the
synchronism is not synchronism was set for experts list
possible the axis in the experts list.
8082 Illegal Zero value in A command was passed Check the parameters and 40006, 40006,
parameter alongside with a Zero default values. Observe in 40007, 40007,
parameter. This value particular the limit and 40008, 40008,
must always be unequal to dynamic values (for example, 40009, 40009,
Zero. max. velocity or deceleration 40010, 40010,
of a positioning operation.) 40011 40011
8085 Illegal limit switch Implausible position Adjust the setting of the SW 40104
parameters values for the SW limit limit switch. After the first
switch. One of the values change of the position, the
violates the range, or the position value of the positive
start value exceeds the switch must be higher than
end value. The latter may that of the negative switch.
occur if the order is
neglected when the
parameters are changed.
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
7-56 A5E00251798-04
Technology DBs
Warnings
* Interrupts in S7T Config, which may be associated with the indicated warning.
Error
S7-Technology
A5E00251798-04 7-57
Technology DBs
S7-Technology
7-58 A5E00251798-04
Technology DBs
S7-Technology
A5E00251798-04 7-59
Technology DBs
8046 Job not supported by the The connected drive does Check and adjust the drive 50012
drive not support this type of configuration data and settings.
command, for example, a
certain homing mode.
8047 Can not acknowledge this It is not possible to reset Eliminate all causes of error and 30007
error the error with "MC_Reset." retry to acknowledge. Please note
Examples: that you must acknowledge
• An axis has been particular errors by cycling power.
brought to standstill,
and the error causing
this can not be
acknowledged.
• Further errors occur in
the acknowledgment or
restart phase.
8048 Unable to restart The object is busy or a Eliminate and acknowledge all 20012
queued error prevents queued errors and disable the
restart. object.
8049 Illegal object combination Faulty combination of 20007
technology objects.
Examples:
• Axis_2 was set as • Set a definite leading / following
leading synchronization axis combination.
axis for Axis_1, while
Axis_1 is set as leading
axis for Axis_2.
• All synchronized drives • Assign the leading / following
are processed at axes to the same run level
different run levels. (usually the interpolator cycle).
S7-Technology
7-60 A5E00251798-04
Technology DBs
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
A5E00251798-04 7-61
Technology DBs
Warnings
* Interrupts in S7T Config, which may be associated with the indicated warning.
Error
S7-Technology
7-62 A5E00251798-04
Technology DBs
S7-Technology
A5E00251798-04 7-63
Technology DBs
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
7-64 A5E00251798-04
Technology DBs
Warnings
* Interrupts in S7T Config, which may be associated with the indicated warning.
Error
S7-Technology
A5E00251798-04 7-65
Technology DBs
S7-Technology
7-66 A5E00251798-04
Technology DBs
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
A5E00251798-04 7-67
Technology DBs
Warnings
* Interrupts in S7T Config, which may be associated with the indicated warning.
Error
S7-Technology
7-68 A5E00251798-04
Technology DBs
S7-Technology
A5E00251798-04 7-69
Technology DBs
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
7-70 A5E00251798-04
Technology DBs
Error
* Interrupts in S7T Config, which may be associated with the indicated error.
S7-Technology
A5E00251798-04 7-71
Technology DBs
S7-Technology
7-72 A5E00251798-04
8 Download, testing and diagnostics
Always use the online cable to interconnect the PG with the "X1" interface of the
Technology CPU.
Programming devices such as text-based displays and Operator Panels may not
be connected to the "X3" interface (DP(DRIVE).) Any operation of these devices
will disrupt cyclic synchronous operation at the DP(DRIVE).
As an option, you may want to connect the programming device to a CP in your
system. Make allowances for prolonged load times when connecting to a CP, or
when setting a constant bus cycle at the "X1" interface.
S7-Technology
A5E00251798-04 8-1
Download, testing and diagnostics
8.2 Onlinefunctions
User program (OB, FC, FB, DB) Program blocks and DBs from the blocks folder of your project.
System data The system data contain the permanent and configured
technical data of the CPU, i.e. the HW configuration and all
configuration information of the integrated technology.
Hardware Configuration The hardware configuration data are created in HW Config and
reflect the HW structure of the station.
Technology These data include the configuration data of the integrated
technology and of technology objects.
Firmware of the integrated technology The current firmware of the integrated technology is packed to
SDBs and saved to load memory of your Technology CPU. The
firmware download is based on the conditions listed below:
• The "Generate technology data" check box was set at the
time "Save and compile" was executed. You will find this
check box in the properties dialog box of the technology >
"Technology system data" tab in HW Config.
If the technology system data were not generated when
"Save and compile" was executed (check box was reset),
any existing firmware data are deleted from load memory.
• The current firmware of the integrated technology is not yet
saved to load memory. If it already exists in load memory,
the firmware will not be downloaded again.
Drive configuration In S7T Config, you can configure the MICROMASTER and
SINAMICS drives with integrated STARTER.
Below you will find a listing of objects you can download with the various tools:
S7-Technology
8-2 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-3
Download, testing and diagnostics
All downloads described can also be directed to the MMC in the MMC interface of
the PG / PC. This reduces download times.
S7-Technology
8-4 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-5
Download, testing and diagnostics
ACTUAL
The "ACTUAL" memory area is also a memory area of the integrated technology.
The "ACTUAL" memory area is used to save and process actual runtime
configuration data, system variables, and the interpolation points and polynomials
of the cam disks.
NEXT
The "NEXT" memory area is also a memory area of the integrated technology. This
memory area is used for the interim storage of changes which are not immediately
activated.
S7-Technology
8-6 A5E00251798-04
Download, testing and diagnostics
The configuration data and the default values of system variables for the relevant
technology object are transferred from "ROM" to" RAM."
If the TO is a cam disk, the default interpolation points/polynomials will be included.
The configuration data, the default values of system variables, and the default
interpolation points/polynomials of the cam disks are transferred from "RAM" to
"ACTUAL."
S7-Technology
A5E00251798-04 8-7
Download, testing and diagnostics
You define the destination devices of the "PLC" in the "Download" tab.
• set the "CPUs" check box, if the Technology CPU should belong to the "PLC"
• set the "Drives" check box, if all drives listed in the Navigator should belong to
the "PLC"
Note
The destination devices must be online to the "PLC."
You define which destination devices should go online by selecting the
Target system > Select target devices command.
S7-Technology
8-8 A5E00251798-04
Download, testing and diagnostics
The delta data of the project are downloaded from the PG/PC to "RAM."
The delta data of the project are downloaded from "RAM" to "ROM."
At the transition of the Technology CPU from STOP to RUN, the configuration data,
the default values of the system variables, and the default interpolation
points/polynomials are transferred from "RAM" to "ACTUAL."
This command uploads the configuration data from "RAM" to the project data on the
PG/PC.
S7-Technology
A5E00251798-04 8-9
Download, testing and diagnostics
Download to drive
The diagram below shows the reaction in memory to the output of download
commands of S7T Config to the drive.
Downloads drive-specific project data from the PG/PC to "ACTUAL" of the drive.
Transfers drive-specific project data from "ACTUAL" to "ROM" of the drive.
S7-Technology
8-10 A5E00251798-04
Download, testing and diagnostics
The configuration data are transferred from "ACTUAL" to "RAM," and then from
"RAM" to "ROM."
The configuration data defined in item 1 will also be uploaded to the PG/PC when
you set the "Upload configuration data to PG" in the dialog box of the menu.
S7-Technology
A5E00251798-04 8-11
Download, testing and diagnostics
Online changes in dialog boxes, in the expert list of the TOs, and by calling the
technology function "MC_WriteParameter"
In online mode of S7T Config, the modified value will be accepted and transferred
to the memory areas shown below when you close a field in the dialog boxes or in
the expert list. This also applies to write operations of the technology function
"MC_WriteParameter".
You must distinguish between delta configuration data of the type "Restart" and
"Immediate." You can identify the type in online mode by the entries in the "Effects"
of the expert list, or by the entries in the parameters list.
Configuration data of the type "Restart" which were modified in online mode are
initially downloaded to the "NEXT" memory area "NEXT."
When a "Restart" is applied to the technology object (for example, by setting input
parameter Restart = TRUE at the technology function "MC_Reset",) the delta value
will be transferred from memory area "NEXT" to "ACTUAL."
Delta values of configuration data of the "Immediate" type and of system variables
will be downloaded directly to "ACTUAL." Memory area "NEXT" will be by-passed.
S7-Technology
8-12 A5E00251798-04
Download, testing and diagnostics
Any values changed in the "Next value" column will be transferred immediately to
memory area "NEXT." This applies to configuration data of the type "Restart" and
"Immediate."
When a "Restart" is applied to the technology object (for example, by setting input
parameter Restart = TRUE at the technology function "MC_Reset",) the delta value
will be transferred from memory area "NEXT" to "ACTUAL" (applies only to
configuration data of the type "Restart".)
When "Collect changes" is active, the configuration data of the type "immediate" will
also be transferred to memory area "NEXT."
Click "Activate changes" to apply all collected changes to the integrated technology.
Delta values of system variables are downloaded directly to "ACTUAL." Memory area
"NEXT" will be by-passed.
S7-Technology
A5E00251798-04 8-13
Download, testing and diagnostics
S7-Technology
8-14 A5E00251798-04
Download, testing and diagnostics
DP cycle
The clock-synchronized DP cycle of the DP(DRIVE) interface forms the basic clock
of the technology system cycles. The value of the DP cycle is set in HW Config. In
this dialog box it is only displayed.
Note
The DP cycle time must be an integer multiple of 0.250 ms. Change the value in
HW Config if this is not so.
S7-Technology
A5E00251798-04 8-15
Download, testing and diagnostics
Note
The reduction ratio between the DP cycle and position control cycle is also set at
the drive as "Master application cycle" in order to enable interactive life-sign
monitoring. For further information, refer to the drive documentation..
S7-Technology
8-16 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-17
Download, testing and diagnostics
S7-Technology
8-18 A5E00251798-04
Download, testing and diagnostics
Tune the position controller of your axes if your objective is precise axis positioning
without oscillation. The description below is a practical example which can be
varied as required.
The controller to be tuned must be reduced to its basic functionality, i.e., disable
"bias control" and "symmetry filter."
In a position control loop without DSC (Dynamic Servo Control), the system
calculates the position controller in the Technology CPU and the velocity controller
at the drive. The parameters are calculated in different cycles.
S7-Technology
A5E00251798-04 8-19
Download, testing and diagnostics
In a position control loop with DSC (Dynamic Servo Control), the system calculates
the position controller and the velocity controller at the drive. this allows you to
define significantly higher gain factors (Kv) for the position controller. The position
and velocity controller parameters are calculated within the same cycle, i.e. the
position controller parameters are calculated at the same speed as its cascaded
control loop (velocity controller).
Do not deactivate Dynamic Servo Control (DSC) during tuning if you want to
operate the drive in tuned state with DSC.
Requirements
• The axis is configured, except for the acceleration limits and the controller
settings.
• The cascaded control loops are commissioned, and the velocity control loop is
overshoot-free by means of feed-forward control.
• The scaling of the drive, encoder and technology object matches.
To tune the position controller, make the settings described in the section below.
Make a note of all original values before you make any changes, in order to be able
to restore these settings after tuning.
• Deactivating velocity bias control
Reset the "Precontrol" check box in the "Static controller data" tab of the Axis >
Closed-loop control dialog box.
• Fine interpolator "constant acceleration interpolation"
Select "constant acceleration interpolation" from the "Fine interpolator" drop-
down list. This drop-down list is available in the Axis > Closed-loop control
dialog box, "Static controller data" tab.
• Disabling drift compensation
Reset the "Drift compensation" check box in the "Static controller data" tab of
the Axis > Closed-loop control dialog box.
S7-Technology
8-20 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-21
Download, testing and diagnostics
Implement a test routine in the user program which sets step-shaped position
values at the position controller.
The example below lists a practical function block. Copy the contents of this FB
from the Online Help to STEP 7 as STL source file.
The function block generates a step function. Using technology function
"MC_MoveRelative" the axis position is increased by 100 mm, and the returned to
its original position.
Requirements:
You project must contain the following technology functions. Copy these
technology function from the block library of S7-Technology to your block folder:
• FB 401 MC_Power
• FB 402 MC_Reset
• FB 411 MC_MoveRelative
S7-Technology
8-22 A5E00251798-04
Download, testing and diagnostics
FUNCTION_BLOCK FB 130
TITLE = PositionControl
VERSION : 1.0
VAR_INPUT
Axis_No : INT ;
Enable_Axis : BOOL ;
Start_Function : BOOL ;
Reset_Axis : BOOL ;
Restart_Axis : BOOL ;
END_VAR
VAR
MC_Power_Axis : FB 401; // MC_Power
MC_Reset_Axis : FB 402; // MC_Reset
MC_Move_Axis : FB 411; // MC_MoveRelative
Start_Optimation : BOOL ;
Forward : BOOL ;
Backward : BOOL ;
Forward_Store : BOOL ;
END_VAR
BEGIN
NETWORK
TITLE =Enable Axis
U #Enable_Axis;
= #MC_Power_Axis.Enable;
L #Axis_No;
T #MC_Power_Axis.Axis;
NETWORK
TITLE =Reset / Restart Axis
L #Axis_No;
T #MC_Reset_Axis.Axis;
U #Reset_Axis;
O #Restart_Axis;
= #MC_Reset_Axis.Execute;
U #Restart_Axis;
= #MC_Reset_Axis.Restart;
NETWORK
TITLE =Generation of Test functions for axis optimization
L #Axis_No;
T #MC_Move_Axis.Axis;
U #Start_Function;
FP #Start_Optimation;
O( ;
U #Start_Function;
U #MC_Move_Axis.Done;
UN #Forward_Store;
) ;
S7-Technology
A5E00251798-04 8-23
Download, testing and diagnostics
= #Forward;
U #Forward;
S #Forward_Store;
U #Forward;
SPB FWD;
U #Start_Function;
U #Forward_Store;
U #MC_Move_Axis.Done;
= #Backward;
U #Backward;
R #Forward_Store;
U #Backward;
SPB BWD;
SPA GO;
FWD: L 1.000000e+002;
T #MC_Move_Axis.Distance;
L 1.000000e+002;
T #MC_Move_Axis.Velocity;
L 1.000000e+004;
T #MC_Move_Axis.Acceleration;
T #MC_Move_Axis.Deceleration;
SPA GO;
BWD: L -1.000000e+002;
T #MC_Move_Axis.Distance;
L 1.000000e+002;
T #MC_Move_Axis.Velocity;
L 1.000000e+004;
T #MC_Move_Axis.Acceleration;
T #MC_Move_Axis.Deceleration;
GO: U #Forward;
O #Backward;
= #MC_Move_Axis.Execute;
NETWORK
TITLE =Call Motion Commands
CALL #MC_Power_Axis ;
CALL #MC_Reset_Axis ;
CALL #MC_Move_Axis ;
END_FUNCTION_BLOCK
S7-Technology
8-24 A5E00251798-04
Download, testing and diagnostics
In this procedure you adapt the gain factor Kv of the position controller. In this step
you record and analyze the velocity profile of the axis using the TraceTool of
S7T Config. The user program described earlier controls the axis motion between
two positions.
Settings in TraceTool
Recording: Value
Condition Isochronous recording
Clock Position controller cycle
Factor 1
Duration approx. 5000 ms or longer
Signal 1 _project."Axis".motionstatedata.
commandvelocity
Signal 2 _project."Axis".motionstatedata.
actualvelocity
S7-Technology
A5E00251798-04 8-25
Download, testing and diagnostics
The recording signals are available in the corresponding selection window, under
"Project name" > Technology > TO > "Axis name".
Trigger Value
Pretrigger approx. 6 ms or higher
Clock Position controller cycle
Type Trigger on variable
S7-Technology
8-26 A5E00251798-04
Download, testing and diagnostics
Although this trend profile does not show any overshoot, it discloses significant
settling times. The Kv factor must be increased to tune the position controller.
S7-Technology
A5E00251798-04 8-27
Download, testing and diagnostics
S7-Technology
8-28 A5E00251798-04
Download, testing and diagnostics
When increasing the Kv factor, keep an eye on the following properties of the trend
profile:
• The trend shows a short settling time.
• The trend does not disclose any reversal of the actual value.
• There is no overshoot when the setpoint is activated.
• The trend profile shows an overall stable response (no oscillation in trend
profile.)
S7-Technology
A5E00251798-04 8-29
Download, testing and diagnostics
Once you completed the optimization of gain factor Kv, you need to optimize the
time constant vTc (velocity Time constant) of the symmetry filter.
Setpoint changes require fast and precise settling in the controller. The Technology
CPU thus controls setpoint deviations using bias control and the position controller.
The symmetry filter compensates the runtime delay of the bias control.
• Bias control
The bias control is a differential function which react to setpoint changes, and
thus produces high-speed reactions. The bias control function immediately
settles the greater part of the setpoint deviation.
• Position controller
Although the reaction of the p-action position controller is slower control, its
precision is significantly higher. Its task is to fine adjust the residual control
deviation the bias control has not yet settled. The deviation in a well tuned
control loop is small compared to the setpoint change.
• Symmetry filter
The symmetry filter compensated the runtime delay of the bias control loop.
S7-Technology
8-30 A5E00251798-04
Download, testing and diagnostics
The bias control transfers a differential value of the setpoint change to the drive,
i.e., in a high-speed process. The velocity controller in the drive settles the portion
of the setpoint change output by the bias control loop; the drive is moving. A
change of the actual value is fed back to the position controller.
The position controller now has to settle the residual error between the defined
position setpoint and the difference in the actual value generated by the bias
control. The position controller requires the setpoint at the correct time.
The symmetry filter has to compensate the runtime delay derived from the bias
control loop. This requires a delay in the transfer of the setpoint to the position
controller.
Recording: Value
Signal 1 _project."Axis".servodata.
controllerdifference
Signal 2 _project."Axis".servodata. followingerror
To tune the symmetry filter, you must now enable bias control again.
• Activating the symmetry filter
Reset the value at configuration parameter
TypeOfAxis.NumberOfDataSets.DataSet_x.ControllerStruct.PV_Controller.bala
nceFilterMode to its original value Mode_1 or Mode_2.
You can also reset the symmetry filter using the technology function
"MC_WriteParameter", parameter number 2035. Select the value 90 for
Mode_1, or the value 91 for Mode_2.
• Activating velocity bias control
Set the "Precontrol" check box in the "Static controller data" tab of the Axis >
Closed-loop control dialog box.
S7-Technology
A5E00251798-04 8-31
Download, testing and diagnostics
The objective of symmetry filter tuning is to correct the time-based factor of the bias
control.
• Setting the time constant vTc
Set the time constant vTc (velocity Time constant) in the user program using
technology function "MC_WriteParameter", parameter number 2063, or at
configuration parameter
TypeOfAxis.NumberOfDataSets.DataSet_x.DynamicData.velocityTimeConstant
You can also set the time constant vTc (velocity Time constant) in the
Axis > Closed-loop control dialog box, "Dynamic controller data". The tab is
visible when the "Expert mode" check box was set in the dialog box. Enter the
value at parameter "Speed control loop equivalent time" in this tab.
Example of a time constant vTc setting of insufficient length
S7-Technology
8-32 A5E00251798-04
Download, testing and diagnostics
The setpoint is output too early to the position. The difference between the setpoint
and actual value is too high, because the setpoint leads the returned actual value.
As a result, the value output by the position controller in the control variable is too
high; the velocity controller overreacts and the loop is imposed an increase in the
following error.
The symmetry filter setting is optimal. The position controller receives the setpoint
just in time with the actual value. Now the position controller only has to correct the
minimal deviations the bias control has not yet adjusted.
Tuning of the position controller is completed with completion of the symmetry filter
tuning.
Note
• The following error can not reach zero with dimensioning without overshoot in
the constant travel phase.
• As the position controller cycle is included in the calculation of the substitution
time of the velocity control loop (=velocityTimeConstant)the maximum value of
this time constant is 16 of the position controller clocks. The maximum buffer
length of the dead time element = 16.
• Do not forget to restore the original values after you completed the changes
made in "Preparing for tuning".
• Note that the tuned values of the Kv factor and of time constant vTc are also
changed in the offline project.
S7-Technology
A5E00251798-04 8-33
Download, testing and diagnostics
The position controller will be deactivated when the system changes from control
loop mode to control mode, for example, for emergency off, or at a transition of the
control loop mode from position control to velocity control.
When the position controller is disabled, the system changes to the velocity
controller. To achieve a bumpless changeover between both controllers, the
changeover time must be made dependent on the substitution time constant of the
position control loop (pTc.)
To calculate the substitution time constant of the position control loop pTc:
P-action controller with bias control vTc <> 0 pTc = vTc + Tservo/2
vTc = 0 pTc = 0
P-action controller without bias pTc = 1/Kv
control
The substitution time constant of the velocity control loop (vTc) used here can be
determined as described in the chapter "Tuning symmetry filters."
Select the "Dynamic controller data" tab from the Axis > Closed-loop control
dialog box to configure the substitution time constant.
S7-Technology
8-34 A5E00251798-04
Download, testing and diagnostics
Breakpoint reached
After the breakpoint is reached, the PLC changes as usual to "HOLD"; the "RUN"
LED flashes at 0.5 Hz, the "STOP" LED is lit permanently. In "HOLD" mode, the
outputs of the PLC and of its integrated technology are shut down.
The Debug > Execute Next Statement command
After the breakpoint is reached, you can continue to test your user program by
selecting the Debug > Execute Next Statement.
The Debug > Resume command
After you execute Debug > Resume , the Technology CPU changes to "STOP".
"Restart" the Technology CPU in order to set it to "RUN" mode again.
S7-Technology
A5E00251798-04 8-35
Download, testing and diagnostics
Note
An online connection is required to monitor variables in the watch table.
S7-Technology
8-36 A5E00251798-04
Download, testing and diagnostics
Using the TraceTool of S7T Config, you can trace and save the signals and values
of variables. The recorded data are helpful, for example, in the diagnosis of motion
sequences of machines and troubleshooting in user programs. For better
diagnosis, you can also assign defined setpoint values to variables by means of the
function generator, while recording the values of other variables at the same time.
You can display and edit recorded measurements in a diagram.
For information about the user interface and operation of TraceTool, refer to the
S7T Config Online Help.
The "Trace" technology DB forms the interface between TraceTool and the user
program. For tracing, you can write two values of the data type DINT, two values of
the data type DWORD and four values of the data type REAL to the relevant
variables of the Trace DB. The ErrorID variable may not be overwritten by the user
program.
The DB data are fetched from the integrated technology within the technology DB
update cycle. The technology DB update cycle can be set in S7T Config by
selecting Target system > Set system cycle clocks....
The DB is non-retentive, irrespective of the retention setting of the CPU.
Variable S7_TraceDINT[0..1]
The S7_TraceDINT variable is an ARRAY consisting of two elements of the data
type DINT.
These values can be selected for tracing Technology > userdata1 > user1 and
user2 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceDWORD[0..1]
The S7_TraceDWORD variable is an ARRAY consisting of two elements of the
data type DWORD. Use these variables to trace bit information, such as the status
word / error word, in the TraceTool of S7T Config. In the TraceTool, you can select
the bit information as you are used to in the SIMATIC numbering system.
These values can be selected for tracing Technology > userdata1 > user3 and
user4 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceREAL[0..3]
The S7_TraceREAL variable is an ARRAY consisting of four elements of the data
type REAL.
These values can be selected for tracing Technology > userdata1 > user5, user6,
user7 and user8 when you select the signal source in the TraceTool of S7T Config.
S7-Technology
A5E00251798-04 8-37
Download, testing and diagnostics
The TraceTool is particularly useful for monitoring dynamic controller data. The ext
section shows various interesting trace values which help you in controller tuning.
The trace values are available at the signal selection in Trace, under
Project name > Technology > TO > Axis name :
sensordata
S7-Technology
8-38 A5E00251798-04
Download, testing and diagnostics
sensormonitoring
servodata
S7-Technology
A5E00251798-04 8-39
Download, testing and diagnostics
servomonitoring
servosettings
S7-Technology
8-40 A5E00251798-04
Download, testing and diagnostics
The control panel is used to control and monitor individual axes and drives. You
can use it to move drives or axes. It allows the commissioning engineer to
• test each part of the installation individually before he initiates programdriven,
coordinated axis motions
• test under error conditions whether individual axes can be operated at all from
the control panel, or whether this function is affected by the error
• "Release run": Moving the axis quickly and independently of the program to
another position.
• traverse axes for controller optimization purposes
• perform active homing
• position relative / absolute
• set and remove the axis enable
• initiate an axis reset
• adjust the absolute value encoder by adding the absolute value encoder offset
("Homing" dialog box)
Note
While the control panel is active and S7T Config has control priority, only
configuration data that become immediately active can be changed.
If configuration data that require a RESTART are changed, control priority must be
returned beforehand. The control priority must be requested again after the
RESTART
Warning
! Use the axis control panel only in the commissioning or testing phases.
S7-Technology
A5E00251798-04 8-41
Download, testing and diagnostics
S7-Technology
8-42 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-43
Download, testing and diagnostics
You can use this area in the monitoring mode and control mode to monitor values
of the selected axis:
• In monitoring mode (e.g. directly after the control panel is started):
You can, for example, test the traversing motions initiated by a program.
• In control mode (after control priority has been assigned to panel):
You can initiate a test of traversing motions by outputting motion commands to
the axis.
S7-Technology
8-44 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-45
Download, testing and diagnostics
Warning
! You must observe the appropriate safety regulations.
Use the axis control panel in control mode only with the PG / CPU lifesign
monitoring function activated with a suitably short monitoring time!
Otherwise, if problems occur in the communication between the programming
device and the technology CPU, the axis may start moving in an uncontrollable
manner.
Procedure:
1. In the control area, click "Assume control priority !".
A warning box appears.
2. Read the warning message in S7T Config!
3. Do not make any changes to the defaults for lifesign monitoring.
Caution
When the control panel is in control mode, a space bar signal will be interpreted as
a control signal to stop the axis. This also affects other applications running on the
programming device (word processors, for example). If you assign the space bar to
the emergency-stop function, it is no longer available for word processors.
S7-Technology
8-46 A5E00251798-04
Download, testing and diagnostics
S7-Technology
A5E00251798-04 8-47
Download, testing and diagnostics
Simulation Off This command switches the axis from simulation mode into
normal operation. The setpoint last valid in the simulation is
activated for output.
Warning:
The drive is disabled while you are running a simulation. Hence,
the axis may perform an adjusting movement when you close
simulation mode.
You can avoid these adjusting motions by running the axis to its
initial position while you are still in simulation mode.
Reset axis The axis is switched to its initial state.
You should use this command if the axis has reached an
undefined state as a result of a configuration error.
Start motion The motion command last configured (Velocity preset, Start axis
positioncontrolled, Position axis or Home axis) is started.
Stop motion The motion last started is stopped again.
Jog mode The motion commands Velocity preset and Start axis position-
controlled can also be executed in jog mode. The motion
continues as long as you keep the right button pressed and the
cursor positioned on the button.
Execute trace recording Starts the TraceTool.
Caution
Please take all the specified safety measures before starting up the axis!
S7-Technology
8-48 A5E00251798-04
Download, testing and diagnostics
Check that all enabling signals have been set and followup mode canceled in
the displayed window. Confirm with "OK".
3. Click the button of a motion command (Velocity preset, Start axis position-
controlled, Position axis or Home axis).
In the next dialog box, enter the parameters. Confirm with "OK".
4. Set override at the "Speed Override" shift register to an acceptable value.
5. Click "Start".
While the axis is moving, you can alter the velocity override factor.
6. To stop the motion, click "Stop" or press the space bar.
Note
When using the "Velocity preset" and "Start axis positioncontrolled" commands,
you can also start the motion by clicking "Jog." Keep the left mouse button pressed
while the motion is to continue. The motion stops when the mouse button is
released.
You can also stop the axis by pressing the space bar.
S7-Technology
A5E00251798-04 8-49
Download, testing and diagnostics
S7-Technology
8-50 A5E00251798-04
A Appendix
S7-Technology
A5E00251798-04 A-1
Appendix
Technology objects
In S7T Config, you configure the technology objects used to control the conveyor
drive and the target sensor. Technology objects used in this example:
Technology objects
• Positioning axis
(conveyor)
• Measuring sensor (target
sensor)
Technology functions
The task is solved in the user program by calling the following technology functions
at the FBs:
S7-Technology
A-2 A5E00251798-04
Appendix
The example shows a typical application for cutting the continuously produced
material to length.
The incoming material is conveyed by the feed axis (Axis 1) in a continuous
motion, and cut to length "on the fly" by the severing axis (Axis 2).
The marks on the surface of the material identify the severing points. A sensor
detects the mark, and sets the process value of the feed axis (Axis 1) to -500 mm.
This sensor signal also triggers synchronization of the shearing axis. During axis
synchronization, the shearing blade approaches the mark. The material is cut after
the shearing axis is synchronized. Finally, the flying shears are returned to home
position, waiting for the next mark.
Technology objects
You configure the technology objects in S7T Config. Technology objects used in
this example:
Technology objects
• Positioning axis (feed axis)
• Synchronization axis (severing
axis)
• Measuring sensor (sensor)
S7-Technology
A5E00251798-04 A-3
Appendix
Technology functions
The task is solved in the user program by calling the following technology functions
at the FBs:
S7-Technology
A-4 A5E00251798-04
Appendix
The example shows a press to which the material is fed by means of a gripper feed
mechanism.
At the angular position of 300°, the gripper closes and moves the material up to the
angular position 150°.
The gripper remains closed during the press operation and opens again at 200°.
The gripper feed returns to its home position, starting at angular position 200°, up
to angular position 270°.
The motion of the feed axis is directly proportional to the rotary movement of the
die axis. Because of this, the feed axis is coupled to the die axis by means of a
cam disk technology. The opening (at 200°) and closing (at 300°) movement of the
gripper tool is controlled with the help of a cam switching function.
S7-Technology
A5E00251798-04 A-5
Appendix
Technology objects
You configure the technology objects in S7T Config. Technology objects used in
this example:
Technology objects
• Positioning axis (die axis)
• Synchronization axis (feed axis)
• Cam disk (for coupling the feed axis
to the die axis)
• Cam (for controlling the gripper
function)
Technology functions
The task is solved in the user program by calling the following technology functions
at the FBs:
S7-Technology
A-6 A5E00251798-04
Appendix
Query:
How to use the performance features of S7-Technology described in "What's new
in S7 Technology"
Answer:
To be able to utilize the new performance features of S7-Technology, the firmware
versions listed in the diagram must be installed. Start by checking the firmware
versions of the integrated technology and of the CPU.
Caution
Create a backup copy of your project data before you start the upgrade.
Do not open any additional dialog windows such as the expert list when you
perform the upgrades.
S7-Technology
A5E00251798-04 A-7
Appendix
Query:
Can I replace the Technology CPU with a different type and reuse its configuration
data?
Answer:
The Technology CPUs listed below support interchanging and reuse of their
configuration data:
Caution
When saving the current project in SIMATIC Manager by selecting the File > Save
as command and setting the "With reorganization (slow)" check box, you need to
perform the following steps before you replace the Technology CPU:
1. Run S7T Config.
2. Follow the instructions and then close S7T Config.
S7-Technology
A-8 A5E00251798-04
Appendix
Replacing a Technology CPU with the same CPU and technology firmware
version
1. Replace the Technology CPU in HW Config (analog to the description in
chapter "How to upgrade the firmware of the integrated technology")
2. Select Station > Save.
3. Close HW Config.
4. In SIMATIC manager, double-click "Technology objects". Open S7T Config by
selecting Options > Configure the technology.
5. Select Project > Save and recompile all.
6. Close S7T Config.
7. Download the project data to the PLC (in analog to the description in the
chapter "What to download to the PLC after the upgrade")
Replacing a Technology CPU with the different CPU and technology firmware
version
To replace the Technology CPU, proceed in analog to an upgrade. For detailed
information, refer to the chapter "How to utilize the new performance features."
Note
Make allowances for any different data volumes when you replace the Technology
CPU.
S7-Technology
A5E00251798-04 A-9
Appendix
Query:
The documentation frequently refers to different firmware versions. How do I
identify the firmware version of the Technology CPU or Technology used in my
system?
Answer:
Open HW Config, and then mark the top station window (represented below by an
example of a 317T-2 DP CPU.) The station window at the bottom shows you the
firmware version of the CPU and of the Technology.
Note
Open HW Config in Online mode if you are uncertain of the consistency between
offline data and online data.
S7-Technology
A-10 A5E00251798-04
Appendix
Query:
You may need to upgrade the firmware of CPU 31xT-2 DP in order to be able to
use the new performance features of S7-Technology. How can I upgrade the
firmware of CPU 31xT-2 DP?
Answer:
Check the relevant firmware versions before you upgrade the CPU firmware:
• You identify the firmware version of CPU 31xT-2 DP as described in the
chapter "Identifying firmware versions".
• The firmware version required for the upgrade is specified in the representation
of chapter "How to utilize the new performance features".
The firmware upgrade is carried out from a Micro Memory Card. Components
required:
• A programming device / PC with STEP 7 Basis and Micro Memory Card
adapter.
• A Micro Memory Card with a minimum capacity of 8 MB.
You can download the current firmware update from our Internet Service & Support
pages:
http://www.siemens.com/automation/service&support
In SIMATIC Manager, select PLC > Update Operating System. For details on
procedures, refer to the STEP 7 Online Help.
Note
Note the differences in the hardware versions of CPU 31xT-2 DP.
The hardware versions differ, for example, in memory load of the integrated
technology. For further information, refer to relevant the CPU Data manual,
chapter 6.6 "Memory in the integrated technology of the CPU".
S7-Technology
A5E00251798-04 A-11
Appendix
Query:
You may need to upgrade the firmware of the integrated technology in order to be
able to use the new performance features of S7-Technology. How can I upgrade
the firmware of the integrated technology?
Answer:
Check the relevant firmware versions before you upgrade the firmware of
integrated technology:
• You identify the firmware version of the integrated technology as described in
the chapter "Identifying firmware versions".
• The firmware version required for the upgrade is specified in the representation
of chapter "How to utilize the new performance features".
To upgrade the firmware: The diagrams below show the upgrade of a
CPU 317T-2 DP. The representation in HW Config may differ slightly according to
the Technology CPU used:
1. Open HW Config.
2. From the hardware catalog, select the "SIMATIC Technology CPU" profile.
3. Open the folder which contains the Technology CPU or firmware version as shown in
the diagram below. Drag-and-drop the required component to the slot on the CPU.
S7-Technology
A-12 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-13
Appendix
Query:
A new version of S7-Technology may required a converted technology. How do I
convert the technology?
Answer:
The use cases which may require a conversion of the technology are specified in
the chapter "How to utilize the new performance features".
How to convert the technology is described below. The diagrams show a
conversion of S7-Technology V1.0 to V2.0. The text-based contents of the
diagrams may differ according to the conversion:
Confirm this dialog box with "Yes". The project is now converted.
3. This dialog box opens:
S7-Technology
A-14 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-15
Appendix
Query:
You may need to convert the technology and upgrade the technology packages
when using a new version of S7-Technology. How can I do this?
Answer:
The use cases which may require these actions are specified in the chapter
"How to utilize the new performance features".
Proceed as described below. The diagrams show a conversion of S7-Technology
V1.0 to V2.0. The text-based contents of the diagrams may differ according to the
conversion:
Confirm this dialog box with "Yes". The project is now converted.
S7-Technology
A-16 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-17
Appendix
8. Confirm the next message with "Yes." The system updates the technology
packages.
Note
The conversion changes the units at some of the system variables. For this reason,
the detail view of S7T Config outputs warnings during conversion, indicating that
some of the system variables ("userdefaultqfaxis.maxderivative.foutput", for
example) could not be set.
You may ignore these warnings, because the Technology CPU does not use these
system variables
9. Confirm the "Update of technology objects completed" message with "OK".
10. Close the "Select technology packages" dialog box with "OK."
S7-Technology
A-18 A5E00251798-04
Appendix
Exception: an external encoder returns an additional actual value for the axis.
The condition is here the use of standard telegrams 4 or 6, or 103, 104, or 106.
S7-Technology
A5E00251798-04 A-19
Appendix
Query:
It may be necessary to recreate the technology DBs when using a new version of
S7-Technology. How can I recreate the technology DBs?
Answer:
The use cases which may require the recreation of technology DBs are defined in
the chapter "How to utilize the new performance features".
To create new technology DBs:
S7-Technology
A-20 A5E00251798-04
Appendix
After this deletion, all technology DBs are selected in the area of the technology DBs
which are not generated yet.
S7-Technology
A5E00251798-04 A-21
Appendix
4. Click "Create" in order to generate the technology DBs with the new structure.
S7-Technology
A-22 A5E00251798-04
Appendix
Query:
Which data do I have to download to the PLC after a migration?
Answer:
The conversion is finalized by downloading the user program, HW configuration,
technology and the firmware of the integrated technology to the Technology CPU.
Procedure:
1. Change to SIMATIC Manager. Select the upgraded SIMATIC station in your project.
S7-Technology
A5E00251798-04 A-23
Appendix
Query:
The current project was created in a previous version of S7 Technology. Can I
analyze an older project using S7-Technology?
Answer:
Yes. You can analyze a project using your current S7-Technology. Write-protect
your project data. Procedure:
3. You need to convert the project to view it in S7T Config. Confirm the message with
"Yes."
4. This dialog box opens:
S7-Technology
A-24 A5E00251798-04
Appendix
Note
meaning of the Navigator icons during the online analysis:
• Objects with green icons are consistent.
• Objects with red/green icons have an indefinite state, i.e., a "consistent" or
"inconsistent" state can not be determined.
S7-Technology
A5E00251798-04 A-25
Appendix
Query:
The current project was created in a previous version of S7 Technology. Can I
change the contents of the project using the current S7-Technology and maintain
compatibility with the original version
Answer:
Yes, you can change the project so that it retains its compatibility with the original
version. Procedure:
1. In SIMATIC Manager, select "Technology objects", then select Options > Configure
technology
2. A dialog box (as shown below) appears when S7T Config opens:
3. You need to convert the project to edit it in S7T Config. Confirm the message with
"Yes."
4. This dialog box opens:
S7-Technology
A-26 A5E00251798-04
Appendix
9. Confirm the dialog with "Yes" in order to reconvert the project to its original version.
Caution
Although the project data are identical, the system may also report inconsistency
as a result of an offline / online comparison of converted or reconverted project
data.
Reason: internal adaptation of data structures in later versions.
Remedy: Go through the steps outlined below in order to eliminate inconsistency:
1. "Save and recompile all" in S7T Config
2. Download the project data to the Technology CPU
Carry out these steps in the relevant version of S7-Technology.
Note
If you forgot to reconvert the project before you closed S7T Config, you can rectify
the issue by calling the Project > Save in old project format in S7T Config.
S7-Technology
A5E00251798-04 A-27
Appendix
After you save a project with Technology CPU using the File > Save as command
in SIMATIC Manager, and the "with reorganization (slow)" check box is set, you
need to run S7T Config.
Follow the instructions and then close S7T Config.
If you created, saved and reorganized a project created in an older version of S7-
Technology, the system will output a message reporting that any technology
objects which may exist could not be copied.
You can ignore this message, because the technology object were actually copied.
A.2.13 Why do some system DBs have a different online / offline time
stamp?
Query:
Some of the SDBs in the project have a different time stamp than the SDBs in the
technology CPU.
Does this time stamp difference represent a problem?
Answer:
When you download the technology in S7T Config to the Technology CPU with
Target system > Download > Project to target system, the downloaded SDBs of
the type 3311 are assigned the time stamp of the integrate real-time clock of the
CPU. A different time stamp as such does not present a problem at the moment.
The SDBs of the type 3311 are assigned the time stamp of the integrate real-time
clock of the CPU at the time of their download. Hence, it may well be the online /
offline SDBs have a different time stamp, but are not different by contents. If the
online view of S7T Config marks all drives "green", you can presume that your
technology configuration is consistent.
Note
When "Automatic summertime/wintertime" is set in Windows, the time stamp of the
system data shows an additional hour in the summertime.
S7-Technology
A-28 A5E00251798-04
Appendix
A.2.14 Why does the number of system DBs differ in the online and
offline view?
Query:
The online view of the Technology CPU shows more system DBs of the type 3311
than the project view. Does this difference represent a problem?
Answer:
When you download the technology in S7T Config to the CPU, the system
generates additional SDBs of the type 3311 and assigns these a different time
stamp.
You can use S7T Config to compare the online and offline data. If all objects
appear in green color, these are identical.
When you download system data with STEP 7 or HW Config, the online / offline
comparison does not return any differences.
Query:
During the download of blocks to the Technology CPU, STEP 7 outputs the
message "The memory space in the module is not sufficient. Do you want to
compress the load memory?". The message persists after you compressed the
data and sufficient work memory is available.
Answer:
The cause of this message may be:
• The Technology CPU contains "orphan" technology DBs which are not listed in
your project. You can identify technology DBs based on the creation language
"TechObj".
To perform a corresponding check, open SIMATIC Manager and select View >
Details.
Delete all obsolete technology DBs from the Technology CPU.
Query:
You have tuned the system cycles; when operating in continuous mode, however,
the CPU sporadically goes into STOP because of a time-out at the integrated
technology.
Answer:
The system load on the integrated technology fluctuates, based on the command
volume and possibly occurring errors. Short system cycles may lead to time-out at
the integrated technology and, thus, to CPU STOP.
If this happens, extend the system cycles, so that the system does no longer
respond with time-out errors over a longer period of time.
S7-Technology
A5E00251798-04 A-29
Appendix
A.2.17 Errors occur when the "Save and compile all" function is
executed for the technology data
Query:
Errors occur when the "Save and compile all" function is executed for the
technology data in S7T Config But I have only applied the default parameter
values?
Answer:
For reasons of safety, all safety- and function-relevant parameters or addresses
are assigned default values in S7T Config, so that the "Save and compile all"
function can not be executed.
This is why you should always exercise due care when setting safety- and function-
relevant parameters, and then verify their values and logical context.
S7-Technology
A-30 A5E00251798-04
Appendix
We assume you are familiar in handling the Expert list in S7T Config before you
work through the settings described in the chapters below. The Expert list in
S7T Config provides read / write access to all configuration data and system
variables of a technology object. These also include those data that can not be set
in the wizards and in the parameter assignment windows.
Expert lists are available for all configured technology objects.
Caution
! The expert mode is intended for the experienced user. Wrong input may result in
uncontrolled response of the drive!
The system does not check the plausibility of your entries.
Wrong input may lead to inconsistency of the technology object.
S7-Technology
A5E00251798-04 A-31
Appendix
The left pane of the Expert list shows the tree structure of the system variables and
configuration data. The right pane shows a table of system variables and
configuration data.
Mark an element in the tree structure to show the associated parameter values in
this table.
Values requiring a restart, and all subsequently changed configuration data, are
indicated in brown color until you have performed the restart.
Click the value you want to edit. Type in a new value or select a symbolic name
(grayed out values can not be edited.) Save your changes with ENTER. Set the
"Collect changes" check box to change a group of values. Make your changes,
then confirm your entries by clicking "Activate". All your changes will be saved.
S7-Technology
A-32 A5E00251798-04
Appendix
In the Navigator, select the technology, then select Target device > Copy
current data to ROM to save your changes in configuration data to retentive
memory.
To store the values permanently in your project data, you need to apply your
changes in OFFLINE mode, save and compile the technology data and
download these to the destination device. You can also upload the deltas to the
project data of the technology by executing the Target system > Download >
Configuration data to PG. Next, select Project > Save and recompile all to
save and compile the technology.
S7-Technology
A5E00251798-04 A-33
Appendix
Note
The interpolator cycle may not be assigned online!
"Save and compile all" the technology and download the system data to the
technology CPU in the SIMATIC Manager.
S7-Technology
A-34 A5E00251798-04
Appendix
Percentage of reduction
To override the absolute value with a torque reduction percentage, set the
reference torque to 100.0 N/m:
Configuration data: TypeOfAxis.SetPointDriverInfo.DriveData.maxTorque = 100.0
N/m
When you set the parameter MaxTorque = 25.0 at the call of MC_SetTorqueLimit,
the maximum torque of the motor is reduced to 25 %.
Load conversion
The motor torque can be converted into a load torque value, while making
allowances for the gear load and spindle gradients. There is no allowance made for
frictional losses in the following.
Rotary axes:
MMotor
NM NM
Motor
DN
MLoad M Load = M Motor ⋅
DN
Gear
MMotor MLoad DX
NM 2π
Motor
NM
FLoad = M Motor ⋅ ⋅
DN DN DX
FLoad
Gear
S7-Technology
A5E00251798-04 A-35
Appendix
A.3.3 Monitoring
S7-Technology
A-36 A5E00251798-04
Appendix
The lists below contain the parameter numbers and the range of values of the
technology parameters. These specifications are required, when using FB
"MC_WriteParameter" to change the parameters of the (Axes, Output cams,
External encoders, Traces, Measuring sensors) technology objects.
If the old value corresponds to the new value when parameters are modified, the
restart specified in the list is not required. Parameter modifications of virtual axes
do not necessarily require a restart either. Whether a restart is required, is
indicated in the variable Statusword.RequestRestart of the corresponding
technology DB.
Legend
No. Parameters number
Name Parameter name in the expert list of S7T Config.
Data type There are several ranges of values of the data type DINT for parameters
identified with "Enum...". You find these in the List of DINT values.
Min./Max. Parameter range of values.
Access R (Read): Parameters are read only.
W (Write): Parameters can be edited.
Activation Imme- diately: Parameter changes are applied Imme- diately.
Restart: Parameter are not applied until after the next restart, i.e. when the
technology object is reinitialized. This is only possible when the technology
object is locked.
Index Range of index values.
S7-Technology
A5E00251798-04 A-37
Appendix
S7-Technology
A-38 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1 Setpoint values. Position. Target positioningstate. REAL - -1E+12 1E+12 R - X X Set position of the axis
position commandposition
2 Limits Position and Speed swlimit. minusposition REAL - -1E+12 1E+12 R, W Imme- X X negative software limit switch
Software limit switches Negative diately
3 Limits Position and Speed swlimit. plusposition REAL - -1E+12 1E+12 R, W Imme- X X positive software limit switch
Software limit switches Positive diately
4 Limits Position and Speed swlimit. state DINT Enum - - - R, W Imme- X X Activation software limit switch
Software limit switches Activation active / diately
inactive
6 Offset error monitoring functions. TypeOfAxis. NumberOfDataSets. DINT 1-16 - - R, W Restart X X Enable dynamic follow-up
Activation DataSet_x. DynamicFollowing. EnumYesNo monitoring
enable
7 Monitoring Offset error monitoring. TypeOfAxis. NumberOfDataSets. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Hi limit follow-up error trend
Maximum DataSet_x. DynamicFollowing. diately
maxPositionTolerance
8 Limits Position and Speed Speed TypeOfAxis. MaxVelocity. REAL - 0.0 1E+12 R, W Restart X X X Maximum permitted speed
Maximum maximum
10 Actual values Motion. Speed motionstatedata. actualspeed REAL - -1E12 +1E12 R - X X X Actual speed of the axis
11 Setpoint values. Motion. Speed motionstatedata. REAL - -1E12 +1E12 R - X X X Speed setpoint of the axis
commandvelocity
12 Limits Dynamic response TypeOfAxis. MaxAcceleration. REAL - -1E+12 1E+12 R, W Imme- X X X Maximum permitted acceleration
Acceleration Maximum maximum diately
16 Limits Dynamic response Jerk TypeOfAxis. MaxJerk. maximum REAL - -1E+12 1E+12 R, W Imme- X X X Maximum permitted jerk
Maximum diately
S7-Technology
A5E00251798-04 A-39
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1100 Mechanical spindle setting. LeadScrew.pitchVal REAL - 0.0 1E+12 R, W Restart X X Spindle pitch per axis revolution
Spindle pitch per axis revolution
1110 Synchronization extrapolator. TypeOfAxis.Extrapolation. REAL - 0.0 1E+12 R, W Imme- X X Extrapolation time for master
Extrapolation time ExtrapolationTime diately axis
1111 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. DINT - - - R, W Restart X X Selection criterion for actual
Mode Filter.Mode EnumAxis value smoothing
FilterMode
1112 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. DINT - - - R, W Imme- X X Activation status
Activation Filter. enable EnumYesNo diately
1113 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. REAL - 0.0 1E+12 R, W Imme- X X Time constant for PT1 smoothing
Time constant Filter. timeConstant diately
1114 Synchronization extrapolator. TypeOfAxis.Extrapolation. DINT - R, W Imme- X X Enable tolerance range
Tolerance range.Activation ToleranceRange.Enable EnumYesNo diately
1115 Synchronization extrapolator. TypeOfAxis.Extrapolation. REAL - -1E+12 1E+12 R, W Imme- X X Tolerance window
Tolerance range.Tolerance ToleranceRange.Value diately
window
1120 Homing.Distance to Bero TypeOfAxis.Homing. REAL - 0.0 1E+12 R, W Imme- X X Traversing distance to BERO
beroDistance diately
1121 Homing.Approach direction TypeOfAxis.Homing.direction DINT Enum - - - R, W Imme- X X Approach direction when homing
DirectionType diately
1122 Homing.Enable Bero monitoring TypeOfAxis.Homing. DINT - - - R, W Imme- X X Monitoring mode enable status
enableBeroDistance EnumYesNo diately
1123 Homing.Homing necessary TypeOfAxis.Homing. DINT - - - R, W Imme- X X Homing necessary
homingNecessary EnumYesNo diately
1201 Mechanical Modulo. Activation Modulo. state DINT Enum - - R, W Restart X X Activation of modulo settings
active / inactive
1202 Mechanical Modulo. Length Modulo. length REAL - 1E-12 1E+12 R, W Restart X X Modulo length
1203 Mechanical Modulo. Start value Modulo. startValue REAL - -1E+12 1E+12 R, W Restart X X Modulo start value
1211 Monitoring Acceleration TypeOfAxis. DINT - - - R, W Imme- X X Enable actual acceleration
Activation ActualAccelerationMonitoring. EnumYesNo diately monitoring
enable
1212 Monitoring Acceleration TypeOfAxis. REAL - -1E+12 1E+12 R, W Imme- X X Maximum permitted actual value
Maximum value ActualAccelerationMonitoring. diately of acceleration
maximum
S7-Technology
A-40 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1221 Monitoring Speed Activation TypeOfAxis. DINT - - - R, W Imme- X X X Enable actual speed monitoring
ActualVelocityMonitoring. EnumYesNo diately
Enable
1222 Monitoring Speed Maximum TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X X Maximum permitted actual speed
value ActualVelocityMonitoring. diately
maximum
1231 Position control Static controller TypeOfAxis. Drift. enable DINT - - - R, W Imme- X X X Activation of drift compensations
data Drift compensation EnumYesNo diately
1241 Limits Position and Speed TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X Delay of emergency-off ramp
Emergency-off delay EmergencyRampGenerator. diately generator
maxDeceleration
1251 Position control Static controller TypeOfAxis. FineInterpolator. DINT Enum - - - R, W Restart X X X Type of fine interpolator
data Fine interpolator type _type AxisFine
Interpolator
Mode
1261 Position control Friction TypeOfAxis.Friction. amplitude REAL - -1E+12 1E+12 R, W Imme- X X X Amplitude of the friction
compensation Amplitude diately compensation trend
1262 Position control Friction TypeOfAxis.Friction. decayTime REAL - 0.0 1E+12 R, W Imme- X X X Decay time constant.
compensation Decay time diately
constant.
1263 Position control Friction TypeOfAxis. Friction. REAL - 0.0 Refer R, W Imme- X X X Delay of standstill signal
compensation Decay time delayTimeStandStill descript. diately
constant standstill
1264 Position control Friction TypeOfAxis. Friction. enable DINT - - - R, W Restart X X X Activation of friction
compensation Activation EnumYesNo compensation
1265 Position control Friction TypeOfAxis. Friction. REAL - -1E+12 1E+12 R, W Imme- X X X Maximum value of standstill
compensation Maximum maxVeloStandStill diately signal
standstill speed
1271 Monitoring Synchronous TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X Permissible actual value
operation monitoring Actual GearingPosTolerance. diately deviation
value tolerance actualValueTolerance
1272 Monitoring Synchronous TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X Permissible setpoint deviation
operation monitoring Setpoint GearingPosTolerance. diately
tolerance commandValueTolerance
1273 Monitoring Synchronous TypeOfAxis. DINT - - - R, W Imme- X Actual value tolerance monitoring
operation monitoring Activation GearingPosTolerance. EnumYesNo diately
of the actual value monitoring. enableActualValue
S7-Technology
A5E00251798-04 A-41
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1274 Monitoring Synchronous TypeOfAxis. DINT Enum - - - R, W Imme- X Setpoint tolerance monitoring
operation monitoring Activation GearingPosTolerance. Gearing diately
of setpoint monitoring enableCommandValue PosTolerance
Command
Value
1275 Monitoring Synchronous TypeOfAxis. DINT Enum - - - R, W Imme- X Message of tolerance monitoring
operation monitoring Message to GearingPosTolerance. ErrorReporting diately
master enableErrorReporting
1281 Limits Position and Speed TypeOfAxis. HWEndPos. DINT - - - R, W Restart X X X Activation of limit switches
Hardware limit switches Enable EnumYesNo
Activation
1284 Position and speed limits TypeOfAxis.HWEndPos. DINT - - R, W Restart X X X Position of the HW limit switch
Hardware limit switch.Modus Mode EnumMount relative to the axis traversing
Switch range
1291 Limits Dynamic response TypeOfAxis.MaxAcceleration. EnumYesNo - - - R, W Restart X X X Enable manipulated variable
Acceleration Activation of enableSetPointMonitoring monitoring
monitoring functions
S7-Technology
A-42 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1301 Configuration Neutral band TypeOfAxis. NeutralBand. REAL - -1E+12 1E+12 R, W Imme- X X X Center point of the neutral band
compensation. Center point centreValue diately
1302 Configuration Neutral band TypeOfAxis. NeutralBand. enable DINT - - - R, W Restart X X X Enable neutral band
compensation. Activation EnumYesNo compensation
1303 Configuration Neutral band TypeOfAxis. NeutralBand. range REAL - -1E+12 1E+12 R, W Imme- X X X Expansion of the neutral band
compensation. Expansion diately
1311 Monitoring Positioning and TypeOfAxis. PositionMonitoring. REAL - 0.0 1E+12 R, W Imme- X X Time to go until message is
standstill monitoring. Message posWinTolDelayTime diately enabled
delay time
1312 Monitoring Positioning and TypeOfAxis. PositionMonitoring. REAL - 0.0 1E+12 R, W Imme- X X Time to go until tolerance
standstill monitoring. Tolerance posWinTolTime diately window is reached
window delay time
1313 Monitoring Positioning and TypeOfAxis. PositionMonitoring. REAL - -1E+12 1E+12 R, W Imme- X X Width of the positioning window
standstill monitoring. Tolerance tolerance diately
1321 Mechanical Measuring system. TypeOfAxis. SetPointDriverInfo. DINT - - - R, W Restart X X X Enable reversal of direction
Axis reversal InvertSetPoint. invSetPoint EnumYesNo
1331 Configuration Actual value TypeOfAxis. SmoothingFilter. DINT - - - R, W Imme- X X X Enable filter functionality
smoothing Activation enable EnumYesNo diately
1332 Configuration Actual value TypeOfAxis. SmoothingFilter. DINT Enum - - - R, W Restart X X X Method for calculating actual
smoothing Mode mode AxisFilter value smoothing
Mode
1333 Configuration Actual value TypeOfAxis. SmoothingFilter. REAL - 0.0 1E+12 R, W Imme- X X X Time constant for PT1 smoothing
smoothing Time constant timeConstant diately
1341 Monitoring Positioning and TypeOfAxis. StandStillMonitoring. REAL - 0.0 1E+12 R, W Imme- X X Message enable delay
standstill monitoring. Standstill delayTimeToActivate diately
message delay
1342 Monitoring Positioning and TypeOfAxis. StandStillMonitoring. REAL - -1E+12 1E+12 R, W Imme- X X Permissible tolerance of
standstill monitoring. Standstill stillStandTolerance diately standstill position
position tolerance
1351 Monitoring Standstill signal TypeOfAxis. StandStillSignal. REAL - 0.0 214748 R, W Imme- X X X Standstill signal delay
Message delay time delayTimeToActivate diately
1352 Monitoring Standstill signal TypeOfAxis. StandStillSignal. DINT - 0 15 R, W Imme- X X X Filtering degree
Filtering degree filterDegree diately
1353 Monitoring Standstill signal Filter TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- X X X Filter frequency
frequency filterFrequency diately
S7-Technology
A5E00251798-04 A-43
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
1354 Monitoring Standstill signal TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- X X X Standstill speed limit
Speed limit maxVeloStandStill diately
1400 Position control Static controller TypeOfAxis.SpeedLimitation. DINT Enum - - - R, W Restart X X X Enable status of speed range
data Control variable limiting. Enable AxisFilterMode limit
Activation
1401 Position control Static controller TypeOfAxis.SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- X X X Low speed limit
data Control variable limiting. MinSpeed diately
Low limit
1402 Position control Static controller TypeOfAxis.SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- X X X High speed limit
data Control variable limiting. MaxSpeed diately
High limit
S7-Technology
A-44 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
2000 Configuration Data record TypeOfAxis.NumberOfData DINT - 0 16 R - X X X Number of data records
changeover. Number of data Sets.numberOfDataSets
records
2001 Configuration Data record TypeOfAxis.NumberOfData DINT - 0 16 R, W Restart X X X Initialization data record
changeover. Initialization data Sets.initDataSet
record
2002 Configuration Data record TypeOfAxis.NumberOfData DINT Enum - - - R, W Restart X X X Data record changeover mode
changeover. Data record Sets.changeMode ChangeMode
changeover mode
2010 Mechanical stop limits. Follow- TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Definition of the necessary
up error NumberOfDataSets.DataSet_x. diately dynamic follow-up error for the
ClampingMonitoring. detection of the mechanical stop
followingErrorDeviation position
2011 Mechanical stop limits. TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Permitted setpoint/actual value
Position tolerance NumberOfDataSets.DataSet_x. diately offset in clamped state
ClampingMonitoring.
positionTolerance
2012 Mechanical stop limits. Mode TypeOfAxis. DINT Enum 1-16 - - R, W Restart X X Torque monitoring activation
of mechanical stop position NumberOfDataSets.DataSet_x. Recognition method
detection ClampingMonitoring Mode
.recognitionMode
2020 Mechanical.Load gear. Load TypeOfAxis.NumberOfData DINT 1-16 0 2147483647 R, W Restart X X X Gear ratio nominator
rotations Sets.DataSet_x.Gear denFactor
2021 Mechanical.Load gear. Motor TypeOfAxis.NumberOfData DINT - 0 2147483647 R, W Restart X X X Gear factor denominator
rotations Sets.DataSet_x.Gear.
numFactor
2031 Position control.Static TypeOfAxis. DINT 1-16 - - R, W Restart X X Enable DSC
controller data.PV NumberOfDataSets. DataSet_x. EnumYesNo
controller.DSC activation ControllerStruct. PV_Controller.
enableDSC
2032 Position control.Static TypeOfAxis. REAL 1-16 0.0 150.0 R, W Imme- X X Precontrol weighting
controller data.PV NumberOfDataSets. DataSet_x. diately
controller.Weighting factor ControllerStruct. PV_Controller.
kpc
2033 Position control.Static TypeOfAxis. REAL 1-16 0.0 < 1E+7 R, W Imme- X X Pcontroller gain
controller data.PV controller.kp NumberOfDataSets. DataSet_x. diately
ControllerStruct. PV_Controller.
kv
S7-Technology
A5E00251798-04 A-45
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
2034 Position control.Static TypeOfAxis. DINT 1-16 - - R, W Restart X X Enable pre-control
controller data.PV NumberOfDataSets. DataSet_x. EnumYesNo
controller.Activation of the ControllerStruct. PV_Controller.
precontrol preCon
2035 Position control.Static TypeOfAxis. DINT 1-16 - - R, W Imme- X X Symmetry filter mode
controller data.PV NumberOfDataSets.DataSet_x. EnumBalance diately
controller.Symmetry filter ControllerStruct.PV_Controller. FilterMode
activation/mode balanceFilterMode
2041 Position control.Static TypeOfAxis. REAL 1-16 0.0 100 R, W Imme- X X Pcontroller gain
controller data.PD controller.kp NumberOfDataSets. DataSet_x. diately
ControllerStruct. PD_Controller.
kp
2042 Position control.Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Time constant of the DT1
controller data.PD NumberOfDataSets. DataSet_x. diately element
controller.Delay time ControllerStruct. PD_Controller.
decayTime
2043 Position control.Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Amplification of DT1 element
controller data.PD controller.kd NumberOfDataSets. DataSet_x. diately
ControllerStruct. PD_Controller.
kd
2051 Position control Dynamic TypeOfAxis. DINT 1-16 - - R, W Restart X X Enable dynamic compensation
compensation. Activation NumberOfDataSets. DataSet_x. EnumYesNo
DynamicComp. enable
2052 Position control Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X First time constant
compensation. First time NumberOfDataSets. DataSet_x. diately
constant DynamicComp. T1
2053 Position control Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Second time constant
compensation. Second time NumberOfDataSets. DataSet_x. diately
constant DynamicComp. D2
2061 Position control Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Substituted time constant of
controller data Time constant NumberOfDataSets. DataSet_x. diately position control loop
of position control loop DynamicData.
positionTimeConstant
2062 Position control Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X X Substituted time constant of
controller data Time constant NumberOfDataSets. DataSet_x. diately torque control loop
of torque control loop DynamicData.
torqueTimeConstant
2063 Position control Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X X Substituted time constant of
controller data Time constant NumberOfDataSets. DataSet_x. diately speed control loop
of speed control loop DynamicData.
velocityTimeConstant
S7-Technology
A-46 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
2071 Monitoring dynamic follow-up TypeOfAxis. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Lo limit of dynamic follow-up
error NumberOfDataSets. DataSet_x. diately error trend
Monitoring Minimum DynamicFollowing.
minPositionTolerance
2072 Monitoring dynamic follow-up TypeOfAxis. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Lo speed limit of dynamic follow-
error NumberOfDataSets. DataSet_x. diately up error trend
Monitoring Min. speed DynamicFollowing. minVelocity
2073 Monitoring dynamic follow-up TypeOfAxis. REAL 1-16 0.0 100.0 R, W Imme- X X Follow-up monitoring warning
error NumberOfDataSets. DataSet_x. diately limit
Monitoring Warning limit DynamicFollowing. warningLimit
2081 Position control.Static TypeOfAxis.NumberOfDataSets. REAL 1-16 0 1E+12 R, W Imme- X X Gain of the P component
controller data.PID DataSet_x.ControllerStruct.PID_ diately
controller.kp Controller.kp
2082 Position control.Static TypeOfAxis.NumberOfDataSets. REAL 1-16 0 150 R, W Imme- X X Weighting of the precontrol
controller data.PID DataSet_x.ControllerStruct.PID_ diately
controller.Evaluation factor Controller.kpc
2083 Position control.Static TypeOfAxis.NumberOfDataSets. REAL 1-16 0 1E+12 R, W Imme- X X Gain of the I component
controller data.PID DataSet_x.ControllerStruct.PID_ diately
controller.PID controller.ki Controller.ki
2084 Position control.Static TypeOfAxis.NumberOfDataSets. DINT 1-16 - - R, W Restart X X Activation of the precontrol
controller data.PID DataSet_x.ControllerStruct.PID_ EnumYesNo
controller.Precontrol activation Controller.preCon
2085 Position control.Static TypeOfAxis.NumberOfDataSets. REAL 1-16 0 1E+12 R, W Imme- X X Gain of the D component
controller data.PID DataSet_x.ControllerStruct.PID_ diately
controller.kd Controller.kd
2086 Position control.Static TypeOfAxis.NumberOfDataSets. REAL 1-16 0 1E+12 R, W Imme- X X Delay time of the DT1
controller data.PID DataSet_x.ControllerStruct.PID_ diately component
controller.Delay time Controller.DecayTime
2087 Position control.Static TypeOfAxis.NumberOfDataSets. DINT 1-16 - - R, W Restart X X Activation of the integrator
controller data.PID DataSet_x.ControllerStruct.PID_ EnumYesNo limitation
controller.Integrator limitation Controller.EnableAntiWindUp
activation
2088 Position control.Static TypeOfAxis.NumberOfDataSets. DINT 1-16 - - R, W Imme- X X Specification of the balancing
controller data.PID DataSet_x.ControllerStruct.PID_ EnumBalance diately filter
controller.Activation/mode Controller.BalanceFilterMode FilterMode
balancing filter
S7-Technology
A5E00251798-04 A-47
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
3000 Mechanical.Measuring system. TypeOfAxis.NumberOf DINT - 0 8 R - X X X Number of measuring systems
Number of encoders Encoders.numberOfEncoders
3010 Mechanical.Measuring system. TypeOfAxis. DINT Enum 1-8 - - R, W Restart X X Type of encoder assembly
Mounting of encoder NumberOfEncoders.Encoder_x. AxisEncoder
AssemblyBase.assemblyBase AssemblyType
3011 Mechanical.Measuring system. TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X Denominator
Measuring gear on motor side. NumberOfEncoders.Encoder_x.
Number of encoder revolutions AdaptDrive.denFactor
3012 Mechanical.Measuring system. TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X Numerator
Measuring gear on motor side. NumberOfEncoders.Encoder_x.
Motor rotations AdaptDrive.numFactor
3013 Mechanical.Measuring system. TypeOfAxis.NumberOf DINT 1-8 1 2147483647 R, W Restart X X X Denominator
Measuring gear load side. Encoders.Encoder_x.
Number of encoder revolutions AdaptExtern. denFactor
3014 Mechanical.Measuring system. TypeOfAxis.NumberOf DINT 1-8 1 2147483647 R, W Restart X X X Numerator
Measuring gear load side. Encoders.Encoder_x.
Load rotations AdaptExtern. numFactor
3015 Mechanical.Measuring system. TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Restart X X Distance per measuring wheel
External measuring NumberOfEncoders. revolution
gear.Distance per measuring Encoder_x.PathPerRevolution.
wheel revolution length
3016 Mechanical.Measuring system. TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X Denominator
External measuring NumberOfEncoders.
gear.Number of encoder Encoder_x.AdaptLoad.
revolutions denFactor
3017 Mechanical.Measuring system. TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X Numerator
External measuring NumberOfEncoders.
gear.Distance per measuring Encoder_x.AdaptLoad.
wheel revolution numFactor
3021 Mechanical backlash TypeOfAxis. DINT 1-8 - - R, W Imme- X X Enable status of backlash
compensation. Activation NumberOfEncoders. Encoder_x. EnumYesNo diately compensation
AbsBackLash. enable
3022 Mechanical backlash TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Direction of backlash
compensation. direction NumberOfEncoders. Encoder_x. BackLash diately compensation
AbsBackLash. _type Type
3023 Mechanical backlash TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Preferred position
compensation. Preferred NumberOfEncoders. Encoder_x. BackLash Diff diately
position AbsBackLash. startUpDifference
S7-Technology
A-48 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
3024 Mechanical backlash TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Value
compensation. Value NumberOfEncoders. Encoder_x. diately
AbsBackLash. length
3025 Mechanical backlash TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Speed of backlash
compensation. Speed NumberOfEncoders. Encoder_x. diately compensation
AbsBackLash. velocity
3031 Homing Offset TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X Absolute value encoder offset
NumberOfEncoders. Encoder_x. diately
AbsHomingEncoder. absShift
3041 Configuration Measuring TypeOfAxis. Encoder_x. Filter. DINT 1-8 - - R, W Imme- Enable status of filter
system. Filter Activation enable EnumYesNo diately functionality
3042 Configuration Measuring TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X Time constant for PT1
system. Filter Time constant NumberOfEncoders. Encoder_x. diately smoothing (actual value
Filter. timeConstant smoothing)
3051 Mechanical backlash TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Direction of action of backlash
compensation. direction NumberOfEncoders. Encoder_x. BackLash diately compensation
IncBackLash. _type Type
3052 Mechanical backlash TypeOfAxis. DINT 1-8 - - R, W Imme- X X Enable status of backlash
compensation. Activation NumberOfEncoders. Encoder_1. EnumYesNo diately compensation
IncBackLash. enable
3053 Mechanical backlash TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Backlash value
compensation. Value NumberOfEncoders. Encoder_x. diately
IncBackLash. length
3054 Mechanical backlash TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Specifies the speed at which
compensation. Speed NumberOfEncoders. Encoder_x. diately backlash compensation is active.
IncBackLash. velocity
3061 Homing.Active homing. TypeOfAxis. DINT 1-8 - - R, W Imme- X X Homing.Approach direction
Approach direction NumberOfEncoders. EnumAxis diately
Encoder_x.IncHomingEncoder. Approach
approachDirection Direction
3063 Homing.Enable zero mark TypeOfAxis. DINT 1-8 - - R, W Imme- X X Enable status of zero mark
monitoring NumberOfEncoders. EnumYesNo diately monitoring
Encoder_x.IncHomingEncoder.
enableZeroMarkDistance
3064 Homing.Active homing. TypeOfAxis. DINT Enum 1-8 - - R, W Restart X X Active homing mode
Homing mode NumberOfEncoders.Encoder_x. AxisHoming
IncHomingEncoder. Mode
homingMode
S7-Technology
A5E00251798-04 A-49
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
3066 Homing.Passive homing. TypeOfAxis. DINT 1-8 - - R, W Imme- X X expected approach direction
Approach direction NumberOfEncoders.Encoder_x. EnumAxis diately
IncHomingEncoder. Passive
passiveApproachDirection Approach
Direction
3068 Homing.Passive homing. TypeOfAxis.NumberOf DINT 1-8 - - R, W Restart X X Passive homing mode
Homing mode Encoders.Encoder_x. EnumAxis
IncHomingEncoder. Passive
passiveHomingMode HomingMode
3070 Homing Active homing. TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Reference point shift at
Homing position offset NumberOfEncoders. Encoder_x. diately incremental encoders
IncHomingEncoder.
proceedShiftPos
3071 Homing.Zero mark distance TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X maximum distance between
NumberOfEncoders. diately BERO and zero mark
Encoder_x.IncHomingEncoder.
zeroMarkDistance
S7-Technology
A-50 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4001 Configuration Application of Activationmodechanged DINT EnumTo - - - R, W Imme- X X X Activate modified configuration
changes configdata Activation diately data
ModeSet
ConfigData
4010 Homing Absolute encoder absoluteEncoder_x. 2 x DWORD 1-8 - - R, W - X X Measuring system status of the
adjustment Total offset totalOffsetValue absolute value encoder,
including total offset
4011 Homing Absolute encoder absoluteEncoder_x.state DINT 1-8 - - R - X X Measuring system status of the
adjustment Measuring system EnumYesNo absolute value encoder,
status including total offset
4020 Actual values Data record datasetmonitoring.actualdataset DINT - 0 16 R - X X X Currently effective data record
changeover. Active data number
record
4030 Actual values.Motion. superimposedmotion.position REAL - -1E+12 1E+12 R - X X Position in the superimposed
Superimposed motion. coordinate system
Position
4031 Actual values.Motion. superimposedmotion.velocity REAL - -1E+12 1E+12 R - X X Speed in the superimposed
Superimposed motion. Speed coordinate system
4040 Actual values.Motion. Basic basicmotion.position REAL - -1E+12 1E+12 R - X X X Position in basic cooridinate
motion.Position system
4041 Actual values.Motion. Basic basicmotion.velocity REAL - -1E+12 1E+12 R - X X X Speed in basic cooridinate
motion. Speed system
4050 Actual values.Sensor.Status sensordata_x.state DINT 1-8 - - R Imme- X X X Measuring system status
EnumSensorSt diately
ate
4121 Limits Dynamic response minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limits of negative acceleration /
Negative acceleration negativeaccel diately deceleration
4122 Limits Dynamic response minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting of jerk during
Negative jerk negativeacceljerk diately acceleration / deceleration
4123 Limits Dynamic response minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limits of positive acceleration /
Positive acceleration positiveaccel diately deceleration
4124 Limits Dynamic response minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting of jerk during
Positive jerk positiveacceljerk diately acceleration and deceleration
4125 Limits Position and Speed minuslimitsofdynamics. velocity REAL - 0.0 1E+12 R, W Imme- X X X Speed limit
Speed diately
4141 Setpoint values. Override override.acceleration REAL - 1.0 1000.0 R, W Imme- X X X Acceleration override in [%]
Acceleration diately
S7-Technology
A5E00251798-04 A-51
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4142 Setpoint values. Override override.velocity REAL - 0.0 200.0 R, W Imme- X X X Speed override in [%]
Speed diately
4151 Limits Dynamic response pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limits of negative acceleration /
Negative acceleration negativeaccel diately deceleration
4152 Limits Dynamic response pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting of jerk during
Negative jerk negativeacceljerk diately acceleration / deceleration
4153 Limits Dynamic response pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limits of positive acceleration /
Positive acceleration positiveaccel diately deceleration
4154 Limits Dynamic response pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting of jerk during
Positive jerk positiveacceljerk diately acceleration and deceleration
4155 Limits Position and Speed pluslimitsofdynamics. velocity REAL - 0.0 1E+12 R, W Imme- X X X Speed limit
Speed diately
4162 Actual values Commands. poscommand. distancetogo REAL - -1E+12 1E+12 R - X X Current distance to destination
Positioning Distance to go
4173 Actual values Homing Homing positioningstate. homeposition REAL - -1E+12 1E+12 R - X X Homing position coordinate
position coordinate
4174 Actual values.Homing.Status homingcommand.berostate DINT Enum - R - X X BERO active (homing with zero
Bero ActiveInactive mark and BERO)
4180 Homing Homing position userdefaulthoming. REAL - -1E+12 1E+12 R, W Imme- X X Homing position coordinate
coordinate homeposition diately
4181 Homing Approach velocity userdefaulthoming. REAL - 0.0 10000.0 R, W Imme- X X Homing point approach
homingapproachvelocity diately speed
4182 Homing Entry velocity userdefaulthoming. REAL - 0.0 2000.0 R, W Imme- X X Homing point approach
homingentryvelocity diately speed
4183 Homing Reduced velocity userdefaulthoming. REAL - 0.0 1000.0 R, W Imme- X X Honing point shutdown
homingreducedvelocity diately speed
4190 Position control.Static servosettings.setpointoffset REAL 0.0 -1E+12 1E+12 R, W Imme- X X X Offset compensation for the
controller data.Offset compensation diately analog drive interface
compensation
S7-Technology
A-52 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4231 Limits "Mechanical end stop" userdefaultclamping. REAL - 0.0 1E+12 R, W Imme- X X Clamping value (e.g. running up
Clamping value clampingvalue diately to a mechanical end stop)
4241 Default values Default value. userDefaultDynamics.direction DINT Enum - - - R, W Imme- X X X Direction preset
Dynamic. direction Direction diately
4242 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X negative acceleration /
Dynamic. Negative negativeAccel diately deceleration
acceleration
4243 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X jerk limiting during deceleration
Dynamic. Jerk at end of negativeAccelEndJerk diately
deceleration
4244 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X jerk limiting during acceleration
Dynamic. Jerk at the start of negativeAccelStartJerk diately
deceleration
4245 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Positive acceleration
Dynamic. Positive acceleration positiveAccel diately
4246 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting jerk at the end of
Dynamic. Jerk at the end of positiveAccelEndJerk diately acceleration
acceleration
4247 Default values Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Limiting jerk at the start of
Dynamic. Jerk at the start of positiveAccelStartJerk diately acceleration
acceleration
4248 Default values Default value. userDefaultDynamics.profile DINT Enum - - - R, W Imme- X X X Speed profile type
Dynamic. Speed profile Profile diately
4249 Default values Default value. userDefaultDynamics.stopTime REAL - 0.0 1E+12 R, W Imme- X X X Specified time for emergency-off
Dynamic.Emergency-stop time diately
4250 Default values Default value. userDefaultDynamics.velocity REAL - -1E+12 1E+12 R, W Imme- X X X Specified speed
Dynamic. Speed diately
4262 Synchronous operation userdefault. cammingsettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Offset for cam disk start position
Synchronous cam operation camstartpositionmaster diately at 'relative' master
(cam synchronism) Master
offset
4266 Synchronous operation Curve userdefault.cammingSettings. DINT Enum 1-2 - - R, W Imme- X Cam disk synchronizing criterion
synchronization Synchronizing synchronizingMode Sync Mode diately
mode Camming
4267 Synchronous operation Curve userdefault.cammingSettings. DINT Enum 1-2 - - R, W Imme- X Sync Off mode criterion cam
synchronization Sync Off syncOffMode SyncOff Mode diately disk
mode Camming
S7-Technology
A5E00251798-04 A-53
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4268 Synchronous operation Curve userdefault.cammingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Master position for
synchronization Master syncPositionMaster diately synchronization
position for synchronizing
4269 Synchronous operation Curve userdefault.cammingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Slave position for
synchronization Slave position syncPositionSlave diately synchronization
for synchronizing
4270 Synchronism.Camming. userdefault.cammingsettings. DINT Enum 1-2 - - R, W Imme- X Synchronization direction of
Synchronization direction of syncronizingDirection Following diately slave
slave Object
Synchronizing
Direction
4286 Synchronous operation Gear userdefault.gearingSettings. DINT Enum 1-2 - - R, W Imme- X Gearing criterion
synchronization. Synchronizing synchronizingMode SyncMode diately
criteria Gearing
4287 Synchronous operation Gear userdefault.gearingSettings. DINT Enum 1-2 - - R, W Imme- X Gear sync OFF criterion
synchronization. Sync OFF syncOffMode SyncOff diately
criteria ModeGearing
4288 Synchronous operation Gear userdefault.gearingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Synchronization position of
synchronization. Master syncPositionMaster diately master
position
4289 Synchronous operation Gear userdefault.gearingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Synchronization position of slave
synchronization. Slave position syncPositionSlave diately
4291 Synchronous operation Gear userdefault.gearingsettings. DINT Enum 1-2 - - R, W Imme- X Synchronization direction of
synchronization. syncronizingDirection Following diately slave
Synchronization direction of Object
slave Synchronizing
Direction
S7-Technology
A-54 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4301 Synchronous operation userDefault.syncDynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Negative acceleration
Dynamic. Negative negativeAccel diately
acceleration
4302 Synchronous operation userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit during deceleration
Dynamic. Jerk at end of negativeaccelendjerk diately
deceleration
4303 Synchronous operation userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit during acceleration
Dynamic. Jerk at the start of negativeaccelstartjerk diately
deceleration
4304 Synchronous operation userDefault.syncDynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Positive acceleration
Dynamic. Positive acceleration positiveAccel diately
4305 Synchronous operation userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit at end of acceleration
Dynamic. Jerk at the end of positiveaccelendjerk diately
acceleration
4306 Synchronous operation userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit at start of acceleration
Dynamic. Jerk at the start of positiveaccelstartjerk diately
acceleration
4307 Synchronous operation userDefault.syncDynamics. REAL 1-2 -1E+12 1E+12 R, W Imme- X Speed
Dynamic. Speed velocity diately
4308 Synchronous operation userdefault. syncdynamics. DINT Enum 1-2 - - R, W Imme- X Speed profile type
Dynamic. Speed profile velocityprofile Profile diately
4321 Synchronous operation userdefault. syncoffpositions. REAL 1-2 -1E+12 1E+12 R, W Imme- X Master sync OFF position
Synchronization Master sync master diately
OFF position
4322 Synchronous operation userdefault. syncoffpositions. REAL 1-2 -1E+12 1E+12 R, W Imme- X Slave sync OFF position
Synchronization Slave sync slave diately
OFF position
4331 Synchronous operation userdefault.syncProfile. REAL 1-2 0 1E+12 R, W Imme- X Synchronizing length for master
Synchronization Synchronizing syncLength diately axis-related synchronizing profile
distance
4332 Synchronous operation userdefault.syncProfile. REAL 1-2 0 1E+12 R, W Imme- X Sync OFF length for master
Synchronization Sync Off syncOffLength diately axis-related synchronizing profile
distance
4333 Synchronous operation userdefault.syncProfile. DINT Enum 1-2 - - R, W Imme- X Position of the sync OFF profile
Synchronization Sync OFF syncOffPositionReference SyncOff diately to sync OFF position
reference Position
Reference
S7-Technology
A5E00251798-04 A-55
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4334 Synchronous operation userdefault.syncProfile. DINT Enum 1-2 - - R, W Imme- X Position of the synchronization
Synchronization syncPositionReference SyncPosition diately profile to the synchronizing
Synchronization reference Reference position
4335 Synchronous operation userdefault.syncprofile. DINT Enum 1-2 - - R, W Imme- X Reference variable of
Synchronization Profile syncprofilereference SyncProfile diately synchronization profile
reference Reference
4336 Synchronous SyncinMotion.smoothAbsolute DINT - - - R, W Imme- - - X Enable of the jerk-limited
operation.absolut.jerkLimiting Synchronization EnumYesNo diately synchronization with absolute
synchronous operation
relationships
4337 Synchronous SyncingMotion. DINT - - - R, W Imme- - - X Slave dynamic could be risen
operation.synchronisation.limiti synchronizingAdaption EnumYesNo diately over the limiting values during
ng synchronizing
4350 Actual values.Synchronous cammingadjustments.master. REAL 1-2 -1E+12 1E+12 R - X Master offset
operation.Cam offset
synchronization.Master offset
4351 Actual values.Synchronous cammingadjustments.master. REAL 1-2 -1E+12 1E+12 R - X Master scale
operation.Cam scale
synchronization.Master scale
4360 Actual values.Synchronous cammingadjustments.slave. REAL 1-2 -1E+12 1E+12 R - X Slave offset
operation.Cam offset
synchronization.Slave offset
4361 Actual values.Synchronous cammingadjustments.slave. REAL 1-2 -1E+12 1E+12 R - X Slave scale
operation.Cam scale
synchronization.Slave scale
4370 Actual values.Synchronous gearingadjustments.master. REAL 1-2 -1E+12 1E+12 R - X Master offset
operation.Gear offset
synchronization.Master
4400 Actual values.limits. SW limit swlimitstate.swlimitswitchminus DINT - - - R - - X X Software limit switch minus
switch.Status SW limit switch EnumLimit
minus ExceededOk
4401 Actual values.limits. SW limit swlimitstate.swlimitswitchplus DINT - - - R - - X X Software limit switch plus
switch.Status SW limit switch EnumLimit
plus ExceededOk
4410 Actual values.limits. Hardware sensormonitoring. DINT - - - R - X X X Hardware limit switch minus
limit switches Status HW limit hwlimitswitchminus EnumLimit
switch minus ExceededOk
S7-Technology
A-56 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
4411 Actual values.limits. Hardware sensormonitoring. DINT - - - R - X X X Hardware limit switch plus
limit switches Status HW limit hwlimitswitchplus EnumLimit
switch plus ExceededOk
4412 Actual values.Measuring sensormonitoring.actualsensor DINT - 1 8 R - X X X Number of active
system.Active encoder encoder/sensor
4500 Setpoints.Drive.Control word. driveData.stw.STW CDWORD - - - R, W - X X X Control word 1 and 2
Control word
4501 Actual values.Drive. Status driveData.ztw.ZTW DWORD - - - R - X X X Status word 1 and 2
word.Status word
S7-Technology
A5E00251798-04 A-57
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
5000 Hydraulic.superposition.Setpoi servosettings. REAL - -1E+12 1E+12 R, W Imme- X X X Interface-specific
nt additionalqoutputvalue diately superimposition of the direct
output value
5001 Hydraulic.superposition.Activat servosettings. DINT - - - R, W Imme- X X X Interface-specific
ion additionalqoutputvalueswitch EnumYesNo diately superimposition of the direct
output valu
5002 Hydraulic.Setpoints.QOutputV actordata.qoutputvalue REAL - -1E+12 1E+12 R Imme- X X X Output value in relation to Q-
alue diately output in %
5003 Hydraulic.Sliding friction actordata.slidingfriction REAL - -1E+12 1E+12 R Imme- X X X Velocity-dependent sliding-
compensation.Dynamic.set compensationvalue diately friction compensation value
value
5004 Hydraulic.Sliding friction TypeOfAxis.SlidingFriction. DINT - - - R, W Imme- X X X Activation of the sliding-friction
compensation.Dynamic.Aktivat enable EnumYesNo diately compensation
ion
5005 Hydraulic.Sliding friction TypeOfAxis.SlidingFriction. REAL - 0.0 1E+12 R, W Imme- X X X Sliding-friction compensation
compensation.Dynamic.Faktor FactorMotionControl diately factor for actual velocity
5006 Hydraulic.Sliding friction TypeOfAxis.AdditionalOffset. DINT - - - R, W Imme- X X X Activation of the sliding-friction
compensation.Static.Aktivierun enable EnumYesNo diately compensation offset injection
g
5007 Hydraulic.Sliding friction TypeOfAxis.AdditionalOffset. REAL - -1E+12 1E+12 R, W Imme- X X X Offset when traversing with
compensation.Static.Negative offsetMotionControlNegative diately motion setting and negative
direction direction of motion
5008 Hydraulic.Sliding friction TypeOfAxis.AdditionalOffset. REAL - -1E+12 1E+12 R, W Imme- X X X Offset when traversing with
compensation.Static.Positive offsetMotionControlPositive diately motion setting and positive
direction direction of motion
5009 Hydraulic.Limiting.set value userdefaultqfaxis. REAL - 0.0 1E+12 R, W Imme- X X X Limit
increasing maxderivative.qoutput diately
5010 Hydraulic.Sliding friction actordata. REAL - -1E+12 1E+12 R Imme- X X X Direction-dependent sliding-
compensation.static.Set value frictionadditionaloffsetvalue diately friction compensation value
5011 Position control.Static friction actordata.frictioncompensation DINT - - - R Imme- X X X Activation state of the static
compensation. Activation EnumActive diately t friction compensation
Inactive
5012 Position control.Static friction actordata. REAL - -1E+12 1E+12 R Imme- X X X Static friction compensation
compensation.outputvalue frictioncompensationvalue diately value
5013 Hydraulic.Limiting.Set value actormonitoring. DINT - - - R Imme- X X X Limit of Q-output increase
limit exceeded qoutputderivativelimitingstate EnumLimit diately
ExceededOk
5014 Hydraulic.Valve active actormonitoring.qoutputstate DINT - - - R Imme- X X X Q-output active
EnumActive diately
Inactive
S7-Technology
A-58 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access- Active D P V Description
(standard in S7T Config) (Expert list in S7T Config)
5015 Hydraulic.DynamicData.Hydra NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X X X Replacement time constant of
ulic time constant DynamicQFData. diately the hydraulic controlled system
qOutputTimeConstant
5016 Hydraulic.DynamicData.Velocit NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X - - Replacement time constant of
y time constant DynamicQFData. diately the velocity control loop
velocityTimeConstant
5017 Hydraulic.DynamicData.Positio NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X X X Replacement time constant of
n time constant DynamicQFData. diately the position control loop
positionTimeConstant
5018 Hydraulic.invert setpoint.In NumberOfDataSets. DINT - - - R, W Restart X X X Activation of the output value
front of characteristic InvertQ.invSetPoint EnumYesNo inversion
5019 Hydraulic.invert setpoint.After NumberOfDataSets. DINT - - - R, W Imme- X X X Activation of the inversion of the
characteristic InvertSetPoint.Invert EnumYesNo diately Q-output value
5020 Actual values.Sensor.Velocity sensordata. REAL 1-8 -1E+12 1E+12 R Imme- X X X Actual velocity value
sensordata_x.velocity diately
S7-Technology
A5E00251798-04 A-59
Appendix
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
1361 Configuration Enable cam LogAddress. enableOutput DINT EnumYesNo - - - R, W Restart Cam output status
output The status of the hardware output can not be
modified at a high-speed cam.
1362 Configuration Logic operation LogAddress. logicOperation DINT EnumLogic - - - R, W Restart Logical link operation for cam signals
Operation
1371 Configuration Output cam type OcaType. _type DINT EnumOutput - - - R, W Restart Output cam type
CamType
4001 Configuration Application of activationmodechangedconfigdata DINT EnumTo - - - R, W Imme- Activate modified configuration data
changes ActivationMode diately
SetConfigData
S7-Technology
A-60 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
1100 Mechanical spindle setting. LeadScrew.pitchVal REAL - 0.0 1E+12 R, W Restart Spindle pitch per axis revolution
Spindle pitch per axis revolution
1110 Synchronization extrapolator. TypeOfAxis.Extrapolation. REAL - 0.0 1E+12 R, W Imme- Extrapolation time for master axis
Extrapolation time ExtrapolationTime diately
1111 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. DINT - - - R, W Restart Selection criterion for actual value
Mode Filter.Mode EnumAxisFilter smoothing
Mode
1112 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. Filter. DINT EnumYesNo - - - R, W Imme- Activation status
Activation enable diately
1113 Synchronism.Extrapolator.Filter. TypeOfAxis.Extrapolation. Filter. REAL - 0.0 1E+12 R, W Imme- Time constant for PT1 smoothing
Time constant timeConstant diately
1114 Synchronization extrapolator. TypeOfAxis.Extrapolation. DINT EnumYesNo - - - R, W Imme- Enable tolerance range
Tolerance range.Activation ToleranceRange.Enable diately
1115 Synchronization extrapolator. TypeOfAxis.Extrapolation. REAL - -1E+12 1E+12 R, W Imme- Tolerance window
Tolerance range. Tolerance ToleranceRange.Value diately
window
1201 Mechanical Modulo. Activation Modulo. state DINT EnumActive - - - R, W Restart Activation of modulo settings
Inactive
1202 Mechanical Modulo. Length Modulo. length REAL - -1E+12 1E+12 R, W Restart Modulo length
1203 Mechanical Modulo. Start value Modulo. startValue REAL - -1E+12 1E+12 R, W Restart Modulo start value
1221 Monitoring Speed Activation TypeOfAxis. DINT EnumYesNo - - - R, W Imme- Enable actual speed monitoring
ActualVelocityMonitoring. enable diately
1222 Monitoring Speed Maximum TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- Maximum permitted actual speed
value ActualVelocityMonitoring. diately
maximum
1331 Configuration Actual value TypeOfAxis. SmoothingFilter. DINT EnumYesNo - - - R, W Imme- Enable filter functionality
smoothing Activation enable diately
1332 Configuration Actual value TypeOfAxis. SmoothingFilter. DINT Enum - - - R, W Restart Method for calculating actual value
smoothing Mode mode AxisFilterMode smoothing
1333 Configuration Actual value TypeOfAxis. SmoothingFilter. REAL - 0.0 1E+12 R, W Imme- Time constant for PT1 smoothing
smoothing Time constant timeConstant diately
1351 Monitoring Standstill signal TypeOfAxis. StandStillSignal. REAL - 0.0 214748 R, W Imme- Standstill signal delay
Message delay time delayTimeToActivate diately
S7-Technology
A5E00251798-04 A-61
Appendix
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
1352 Monitoring Standstill signal TypeOfAxis. StandStillSignal. DINT - 0 15 R, W Imme- Filtering degree
Filtering degree filterDegree diately
1353 Monitoring Standstill signal Filter TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- Filter frequency
frequency filterFrequency diately
1354 Monitoring Standstill signal TypeOfAxis. StandStillSignal. REAL - -1E+12 1E+12 R, W Imme- Standstill speed limit
Speed limit maxVeloStandStill diately
1400 Position control Static controller TypeOfAxis.SpeedLimitation. DINT Enum - - - R, W Restart Enable status of speed range
data Control variable limiting. Enable AxisFilterMode limit
Activation
1401 Position control Static controller TypeOfAxis.SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- Low speed limit
data Control variable limiting. MinSpeed diately
Low limit
1402 Position control Static controller TypeOfAxis.SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- High speed limit
data Control variable limiting. MaxSpeed diately
High limit
2020 Mechanical.Load gear. Load TypeOfAxis.Gear.denFactor DINT - 0 2147483647 R, W Restart Gear ratio nominator
rotations
2021 Mechanical.Load gear. Motor TypeOfAxis.Gear.numFactor DINT - 0 2147483647 R, W Restart Gear factor denominator
rotations
3010 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT Enum - - - R, W Restart Type of encoder assembly
Mounting of encoder AssemblyBase.assemblyBase AxisEncoder
AssemblyType
3011 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
Measuring gear on motor side. AdaptDrive.denFactor
Number of encoder revolutions
3012 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Counter
Measuring gear on motor side. AdaptDrive.numFactor
Motor rotations
3013 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
Measuring gear load side. AdaptExtern. denFactor
Number of encoder revolutions
3014 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Counter
Measuring gear load side. Load AdaptExtern. numFactor
rotations
3015 Mechanical.Measuring system. TypeOfAxis.Encoder_1. REAL - 0.0 1E+12 R, W Restart Distance per measuring wheel
External measuring gear. PathPerRevolution.length revolution
Distance per measuring wheel
revolution
S7-Technology
A-62 A5E00251798-04
Appendix
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
3016 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
External measuring gear. AdaptLoad.denFactor
Number of encoder revolutions
3017 Mechanical.Measuring system. TypeOfAxis.Encoder_1. DINT - 1 2147483647 R, W Restart Counter
External measuring gear. AdaptLoad.numFactor
Number of measuring wheel
revolutions
3031 Homing Offset TypeOfAxis. Encoder_1. REAL - 0.0 1E+12 R, W Imme- Absolute value encoder offset
AbsHomingEncoder. absShift diately
3041 Configuration Measuring TypeOfAxis.Encoder_1. Filter. DINT EnumYesNo - - - R, W Imme- Enable status of filter functionality
system. Filter Activation enable diately
3042 Configuration Measuring TypeOfAxis. Encoder_x. Filter. REAL 8 0.0 1E+12 R, W Imme- Time constant for PT1 smoothing
system. Filter Time constant timeConstant diately (actual value smoothing)
3063 Homing.Enable zero mark TypeOfAxis.Encoder_1. DINT EnumYesNo - - - R, W Imme- Enable status of zero mark
monitoring IncHomingEncoder. diately monitoring
enableZeroMarkDistance
3066 Homing Passive TypeOfAxis.Encoder_1. DINT - - - R, W Imme- expected approach direction
homing.Approach direction IncHomingEncoder. EnumAxisPassive diately
passiveApproachDirection _Approach_
Direction
3068 Homing.Passive homing. TypeOfAxis.Encoder_1. DINT - - - R, W Restart Passive homing mode
Homing mode IncHomingEncoder. EnumAxisPassive
passiveHoming Mode Homing_Mode
3071 Homing.Zero mark distance TypeOfAxis.Encoder_1. REAL - 0.0 1E+12 R, W Imme- maximum distance between BERO
IncHomingEncoder. diately and zero mark
zeroMarkDistance
4001 Configuration Application of Activationmodechanged DINT EnumTo - - - R, W Imme- Activate modified configuration data
changes configdata ActivationMode diately
SetConfigData
4010 Homing Absolute encoder absoluteEncoder.totalOffset 2 x DWORD - - - R, W Measuring system status of the
adjustment Total offset Value absolute value encoder, including
total offset
4011 Homing Absolute encoder absoluteEncoder.state DINT EnumYesNo - - - R Measuring system status of the
adjustment Measuring system absolute value encoder, including
status total offset
4341 Default values Default values. userdefault. syncposition REAL - -1E+12 1E+12 R, W Imme- Synchronizing position
Synchronizing position diately
S7-Technology
A5E00251798-04 A-63
Appendix
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
4410 Actual values.limits. Hardware sensormonitoring. DINT EnumLimit - - - R - Hardware limit switch minus
limit switches Status HW limit hwlimitswitchminus ExceededOk
switch minus
4411 Actual values.limits. Hardware sensormonitoring. DINT EnumLimit - - - R - Hardware limit switch plus
limit switches Status HW limit hwlimitswitchplus ExceededOk
switch plus
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
4001 Configuration Application of Activationmodechanged DINT - - - R, W Imme- diately Activate modified configuration
changes configdata EnumToActivation data
ModeSet ConfigData
4201 Actual values Cam disk type interpolation. camMode DINT EnumCam - - - R - Marginal conditions of interpolation
Mode
4202 Actual values Interpolation type interpolation. interpolationMode DINT EnumCam - - - R - Interpolation type
InterpolationMode
4211 Default values Default values. userDefault. camPositionMode DINT EnumCam - - - R, W Imme- diately Reference of specified coordinates
Coordinate reference PositionMode
No. Name Name Data type Index min. max. Access Active Description
(standard in S7T Config) (Expert list in S7T Config)
4001 Configuration Application of Activationmodechanged DINT EnumTo - - - R, W Imme- diately Activate modified configuration data
changes configdata ActivationMode
SetConfigData
S7-Technology
A-64 A5E00251798-04
Appendix
The list below contains the DINT values of technology parameters, for which several ranges of values can be selected. These specifications are
required, when using FB "MC_WriteParameter" to edit the parameters of technology objects.
S7-Technology
A5E00251798-04 A-65
Appendix
S7-Technology
A-66 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-67
Appendix
S7-Technology
A-68 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-69
Appendix
S7-Technology
A-70 A5E00251798-04
Appendix
S7-Technology
A5E00251798-04 A-71
Appendix
S7-Technology
A-72 A5E00251798-04
Appendix
SIMATIC documentation
http://www.ad.siemens.de/support
Training Center
http://www.sitrain.com/
FAQs
http://support.automation.siemens.com/
S7-Technology
A5E00251798-04 A-73
Appendix
S7-Technology
A-74 A5E00251798-04
Index
"Measuring input" technology object .... 3-70 actual value - velocity ................4-39, 4-104
"Synchronization axis" actual value coupling ...............4-141, 4-142
technology object.............................. 3-25 actual value detection ................4-39, 4-104
actual value logging ..............................A-36
A Actual value setting............................... 3-12
Actual values......................................... 2-10
abort message...................................... 2-10 ActualAcceleration -
Absolute and relative camming ............ 3-32 technology DB ............................7-1, 7-11
Absolute encoder adjustment............... 3-14 ActualAcceleration - Technology DB ...... 7-6
Absolute gearing .................................. 3-30 ActualPosition - technology DB ...7-11, 7-18
Absolute position FB 410 ActualPosition - Technology DB ............. 7-6
MC_MoveAbsolute ........................... 6-39 ActualVelocity - technology DB.....7-1, 7-11,
Absolute positioning of modulo axes.. 6-291 .......................................................... 7-18
Absolute synchronism .......................... 3-37 ActualVelocity - Technology DB ............. 7-6
Absolute value ........................... 4-49, 4-168 Adding a cam disk............................... 4-211
Absolute value encoders - External Adding a cam segment with FB 435
encoders ........................................... 3-75 MC_CamSectorAdd ........................ 6-188
Acceleration...........4-49, 4-50, 4-168, 4-169 Adding a data record .................4-34, 4-100
Acceleration model - Direction-based . 4-49, Adding a data record for data record
........................................................ 4-168 changeover.............................4-34, 4-100
Acceleration model - Status-based ..... 4-49, Adding a measuring sensor ................ 4-233
........................................................ 4-168 Adding a segment to a cam disk with FB
AccelerationOverride - technology DB .. 7-1, 435 MC_CamSectorAdd ................. 6-188
.......................................................... 7-11 Adding a synchronous axis................. 4-139
AccelerationOverride - Technology DB.. 7-6 Adding a valve profile ........................... 4-94
acknowledge................................ 5-18, 5-19 Additional compensation functions ..... 4-115
Acknowledge ............................... 5-16, 5-17 Additional information on the Internet...A-73
acknowledging errors with FB 402 ADI4 ........................................................ 2-2
MC_Reset ....................................... 6-228 analyzing a project ................................A-24
activating a valve profile by calling AND logic - Cams ............................... 4-231
FB 439 MC_SetCharacteristic ........ 6-102 ANY-Pointer - MC_CamSectorAdd..... 6-188
activating changes................................ 8-12 Application example of flying shears ......A-3
Active homing ...........4-57, 4-58, 4-62, 4-65, Application example of gripper feed .......A-5
.......... 4-116, 4-117, 4-121, 4-124, 4-176, Application solutions on the Internet.......A-1
..................................4-177, 4-181, 4-184 Approach to fixed end stop ........4-51, 4-170
Active homing - in homing mode with BERO assigning cam disks............................ 4-141
and zero mark .............4-57, 4-116, 4-176 Assigning interpolator cycle 2 ...............A-34
Active homing - in homing mode with assigning leading axes and cam disks -
homing cam only.........4-57, 4-116, 4-176 actual value coupling....................... 4-141
Active homing - Time-based reference point assigning leading axes and cam disks -
approach- in homing mode with homing setpoint coupling ............................. 4-141
cam and encoder zero mark . 4-57, 4-116, assigning leading axes zuordnen ....... 4-141
........................................................ 4-176 assigning system clocks ......................... 5-6
Active homing mode with encoder zero Assigning the valve profile .................... 4-99
mark only ....................4-57, 4-116, 4-176 Assume control priority - Control panel 8-46
Active range - Measuring sensor.......... 3-72 averaging - actual value
ACTUAL ........................................ 8-8, 8-11 detection.................................4-39, 4-104
ACTUAL - memory area......................... 8-5
actual value - acceleration......... 4-39, 4-104
actual value - Position ............... 4-39, 4-104
S7-Technology
A5E00251798-04 Index-1
Index
S7-Technology
Index-2 A5E00251798-04
Index
S7-Technology
A5E00251798-04 Index-3
Index
S7-Technology
Index-4 A5E00251798-04
Index
Errors occur when the "Save and compile Example of Mode 2 - MC_MoveAbsolute ....
all" function is executed for the .......................................................... 6-45
technology data ................................ A-30 Example of Mode 2 - MC_MoveRelative .....
ErrorStatus - technology DB. 7-1, 7-11, 7-18 .......................................................... 6-59
ErrorStatus - Technology DB ................. 7-6 Example of positioning with target sensor ...
ErrorStatus.xxx ..................................... 5-18 ............................................................A-1
ET 200M ................................................. 2-4 example of relative positioning -
ET 200S.................................................. 2-4 MC_MoveSuperImposed ................ 6-103
Example - Electronic cam control......... 3-69 Example of relative positioning -
Example - Flying shears......................... A-3 MC_MoveSuperImposed .................. 6-77
Example - Gripper feed .......................... A-5 Example passive homing - MC_Home . 6-17
Example - MC_CamInSuperImposed - Example position-based cam -
Superimposition .............................. 6-162 MC_CamSwitch............................... 6-209
Example - MC_CamOut ..................... 6-156 Example switching cam -
Example - MC_CamSwitchTime ........ 6-215 MC_CamSwitch............................... 6-210
Example - MC_ExternalEncoder ........ 6-225 Examples of using the tables.............. 6-287
Example - MC_GearIn........................ 6-109 Execute ................................................. 5-10
Example - MC_GearInSuperImposed - Execute - Monitoring busy commands.. 5-13
relative/absolute.............................. 6-126 execution.ExecutionLevel ....................... 5-6
Example - MC_GearOut..................... 6-118 expert list......................................8-12, 8-13
Example - MC_Halt .............................. 6-29 Expert list in S7T Config .......................A-31
Example - MC_MeasuringInput.......... 6-220 External encoder - Configuration ........ 4-247
Example - MC_MoveAdditive ............... 6-70 External encoder - Dynamic Servo Control -
Example - MC_MoveToEndPos ........... 6-93 DSC................................................... 3-74
Example - MC_Phasing...................... 6-174 External encoder - High resolution ....... 4-38
Example - MC_PhasingSuperImposed ........ External encoder - Mechanical settings.......
........................................................ 6-180 ........................................................ 4-248
Example - MC_Power ............................ 6-8 External encoder - Monitoring functions ......
Example - MC_ReadPeriphery........... 6-247 ..........................................................A-36
Example - MC_Reset ............................. 6-8 External encoder - Preset ................... 4-249
Example - MC_SetTorqueLimit .......... 6-100 External encoder - technology DB ........ 7-18
Example - MC_Stop ............................. 6-24 External encoder technology object...... 3-73
Example - MC_WriteParameter ......... 6-240 external encoder with FB 432
Example - MC_WritePeriphery........... 6-252 MC_ExternalEncoder ...................... 6-222
Example - Positioning with target External encoders ................................. 3-75
sensor ................................................. A-1 External encoders - Connection ........... 3-74
Example "hydraulic axis ......................... 6-9 External encoders - Direct homing ....... 3-75
Example application - External encoders - Interconnection ..... 3-74
MC_ChangeDataset ......................... 6-36 External encoders - Passive homing .... 3-75
Example encoder changeover - External encoders - Synchronization .... 3-75
MC_ChangeDataset ......................... 6-35 External encoders - Synchronization
Example Mode 6 - MC_Home .............. 6-18 with incremental encoders .............. 4-250
Example Mode 7 - MC_Home .............. 6-19 extrapolationdata.filteredvelocity ........ 4-141
Example of absolute positioning - extrapolationdata.position................... 4-141
MC_MoveSuperImposed .................. 6-76 extrapolationdata.velocity ................... 4-141
Example of Mode 0 -
MC_MoveAbsolute ........................... 6-41 F
Example of Mode 0 -
MC_MoveRelative ............................ 6-55 fast start of axis commands .................. 5-15
Example of Mode 0 - FastStop.................................................. 6-3
MC_MoveVelocity............................. 6-85 FB 401 MC_Power.................................. 6-3
Example of Mode 1 - FB 402 MC_Reset .............................. 6-228
MC_MoveAbsolute ........................... 6-43 FB 403 MC_Home ................................ 6-13
Example of Mode 1 - FB 405 MC_Halt ................................... 6-27
MC_MoveRelative ............................ 6-57 FB 406 MC_ReadSysParameter ........ 6-233
Example of Mode 1 - FB 407 MC_WriteParameter .............. 6-237
MC_MoveVelocity............................. 6-86 FB 409 MC_ChangeDataset................. 6-32
S7-Technology
A5E00251798-04 Index-5
Index
S7-Technology
Index-6 A5E00251798-04
Index
J
I job processing - time model.................... 5-1
I/O address areas of the integrated Job Processing Task - command
technology........................................... 4-7 monitoring time.................................. 8-15
I/O image ................................................ 4-7
Identifying firmware versions................ A-10 L
Identifying the firmware version............ A-10
immediately .......................................... 8-13 LAD/FBD/STL ......................................... 2-8
impression mark ................................. 6-218 Layout of the axis control panel ............ 8-43
impression mark correction .................. 6-73 leading axis - gear synchronism ......... 6-106
Inconsistency........................................ A-27 Limit frequency......................................A-36
Incremental encoder - Homing ............. 3-75 limit monitoring - actual value detection ......
Infinite axes - Modulo axes..................... 3-3 ...............................................4-39, 4-104
Inputs...................................................... 2-6 Linear axes ............................................. 3-3
Inserting a cam disk ........................... 4-208 List - Technology parameters ...............A-37
inserting an electrical axis .................... 4-25 live-sign monitoring ...............................A-36
Inserting an external encoder............. 4-237 load - time model .................................... 5-1
Inserting cams .................................... 4-229 log changes........................................... 8-12
Insufficient memory on the module ...... A-29
integrated I/O.......................................... 2-6 M
integrated I/Os ...................................... 2-10
Managing technology DBs.................... 4-17
Integrated PLCopen-compliant Motion
Manipulated variable limiting .....4-53, 4-172
Control functions in STEP 7................ 2-2
Manipulated variable monitoring........... 4-78
Integrated technology............................. 2-7
Marginal conditions for interpolation ..... 3-48
Interactions between axis and
Master - gear synchronism ................. 6-106
synchronization technology objects.. 3-26
MASTERDRIVES.................................... 2-2
Interconnection - External encoders .... 3-74
MASTERDRIVES - Hardware
Interconnection - Measuring sensor ..... 3-71
components......................................... 2-6
Interface TraceTool - Trace DB............ 8-37
MaxLoopDuration - Technology DB...... 7-32
interpolate........................................... 6-196
MaxLoopDuration - time model............... 5-1
interpolating cams with FB 436
MC_CamClear .................................... 6-185
MC_CamInterpolate........................ 6-196
MC_CamClear - ErrorIDs ................... 6-186
Interpolation - CamEdit....................... 4-213
MC_CamIn - Effect of offset values .... 6-142
Interpolation - Correction options ....... 4-213
MC_CamIn - Effect of scaling
Interpolation - Overlapping segments 4-213
coefficients ...................................... 6-142
Interpolation 2 - CamEdit.................... 4-215
MC_CamIn - ErrorIDs ......................... 6-152
Interpolation 2 - Master area .............. 4-215
MC_CamIn - Example - Cam changeover at
Interpolation between two
the end of a cycle ............................ 6-149
cam segments................................. 6-200
MC_CamIn - Example - cyclic absolute
interpolation modes ............................ 6-196
synchronism .................................... 6-145
Interpolation modes.............................. 3-52
MC_CamIn - Example - cyclic relative
Interpolation of cams ............................ 3-48
synchronism .................................... 6-143
interpolation point table ...................... 6-196
MC_CamIn - Example - Synchronization
Interpolation point table ...................... 4-211
condition
interpolator clock .................................. 8-16
AT_MASTER_AND_SLAVE_POSITION
interpolator clock 2 ............................... 8-16
........................................................ 6-150
interpolator cycle ...................... 5-7, 5-8, 5-9
MC_CamIn - Example - Synchronization
Interpolator cycle - time model ............... 5-1
with the leading axis position6-143, 6-145
Interpolator cycle 2 - time model ............ 5-1
MC_CamInSuperImposed - ErrorIDs.. 6-165
Introduction - Control panel .................. 8-41
MC_CamInSuperImposed - Example
Inverted output...................................... 3-64
"Base synchronism with superimposing
IPO levels ............................................. 3-26
camming"......................................... 6-163
IPO overflow .................................. 5-1, 8-15
MC_CamInSuperImposed - Example of
IPO synchronous command start ......... 5-15
superimposition ............................... 6-162
MC_CamInterpolate............................ 6-197
MC_CamOut ....................................... 6-155
S7-Technology
A5E00251798-04 Index-7
Index
S7-Technology
Index-8 A5E00251798-04
Index
S7-Technology
A5E00251798-04 Index-9
Index
S7-Technology
Index-10 A5E00251798-04
Index
S7-Technology
A5E00251798-04 Index-11
Index
S7-Technology
Index-12 A5E00251798-04
Index
S7-Technology
A5E00251798-04 Index-13
Index
S7-Technology
Index-14 A5E00251798-04
Index
X Z
X1 interface ............................................ 8-1 zero mark - encoder zero mark............. 3-12
X3 interface ............................................ 8-1 zero mark monitoring ............................A-36
S7-Technology
A5E00251798-04 Index-15
Index
S7-Technology
Index-16 A5E00251798-04