HB S7 Technology e
HB S7 Technology e
Preface
Contents
Technology objects 3
S7-Technology
Configuration 4
Programming 5
Manual
Technology functions 6
Technology DBs 7
Appendix A
Index
11/2006
A5E00251798-05
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-05 Copyright © Siemens AG 2006
Automation and Drives
11/2006 Technical data subject to change
Postfach 4848
90437 NÜRNBERG
GERMANY
Preface
S7-Technology
A5E00251798-05 iii
Preface
Manual Purpose
Getting Started The example used in these Getting Started
CPU 317T-2 DP: Controlling a SINAMICS S120 manuals guides you through the various steps
CPU 317T-2 DP: Controlling a physical axis in commissioning required to obtain a fully
CPU 317T-2 DP: Controlling a virtual axis functional application.
Microbox 420-T: Commissioning
Manual Description of the operation, functions and
S7-300 CPU Data: CPU 315T-2 DP technical specifications of the Technology CPU.
S7-300 CPU Data: CPU 317T-2 DP
Installing Microbox 420-T
Manual Describes how to commission and connect the
IM 174 PROFIBUS Module IM 174 and the ADI4 to the Technology CPU.
ADI4 – Analog Drive Interface for 4 Axes
Manual Describes the various technological functions:
S7-Technology • Applications and usage
You are reading this manual • Basics and configuration
• Download, testing and diagnostics
• PLCopen functions
Manual
Safecard On Motherboard Description of the installation and the operation
of the application "Safecard On Motherboard"
for the Technology CPU Microbox 420-T.
Product Information Describes how to commission and connect the
Connecting the SIMODRIVE 611U drive to the Technology CPU.
to the Technology CPU
Connecting SIMOVERT MASTERDRIVES MC
to the Technology CPU
Connection of the SINAMICS S120
to the Technology CPU
User Manual
SIMODRIVE sensor Absolute Value Encoder Instruction on how to install and use the
with PROFIBUS-DP PROFIBUS DP absolute encoder.
Operating Instructions Describes the engineering, installation,
S7-300 PLCs: networking and commissioning of an S7-300.
S7-300, CPU 31xC and CPU31x: Installation
Reference Manual Describes the functions and the technical data
S7-300 PLCs: Module data of signal modules, power supply modules and
interface modules.
Operations list Lists the instruction set of the CPUs and the
CPU 31xC, CPU 31x IM 151-7CPU, BM 147-1CPU, corresponding execution times. List of
BM 147-2CPU executable blocks (OBs/SFCs/SFBs) and their
execution times.
S7-Technology
iv A5E00251798-05
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
S7-Technology
A5E00251798-05 v
Preface
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
vi A5E00251798-05
Contents
S7-Technology
A5E00251798-05 vii
Contents
S7-Technology
viii A5E00251798-05
Contents
S7-Technology
A5E00251798-05 ix
Contents
S7-Technology
x A5E00251798-05
Contents
S7-Technology
A5E00251798-05 xi
Contents
S7-Technology
xii A5E00251798-05
Contents
S7-Technology
A5E00251798-05 xiii
Contents
A Appendix A-1
A.1 Sample applications..........................................................................................A-1
A.1.1 Application example "Positioning with target sensor".......................................A-1
A.1.2 Application example "Flying shears" ................................................................A-3
A.1.3 Application example "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-9
A.2.3 Identifying firmware versions ..........................................................................A-11
A.2.4 How to upgrade the firmware of CPU 31xT-2 DP ..........................................A-12
A.2.5 How to upgrade the firmware of the integrated technology............................A-13
A.2.6 How to convert the technology .......................................................................A-15
A.2.7 How to convert the technology and upgrade the technology packages.........A-17
A.2.8 How to recreate the technology DBs ..............................................................A-21
A.2.9 What to download to the PLC after a migration..............................................A-24
A.2.10 How to analyze an older project using S7-Technology ..................................A-25
A.2.11 How to edit an older project using S7-Technology.........................................A-27
A.2.12 What to observe when using "Save as" with reorganization ..........................A-29
A.2.13 Why do specific system DBs have a different online / offline time stamp? ....A-29
A.2.14 Why does the number of system DBs differ in the online
and offline configuration?................................................................................A-30
A.2.15 STEP 7 reports "Insufficient memory space"..................................................A-30
A.2.16 The CPU goes into STOP sporadically as a result of timeout........................A-30
A.2.17 Errors occur when the "Save and compile all" function is executed
for the technology data ...................................................................................A-31
A.3 Expert list in S7T Config .................................................................................A-32
A.3.1 Using the Expert List.......................................................................................A-32
A.3.2 Axis settings....................................................................................................A-35
A.3.2.1 Assigning interpolator cycle 2.........................................................................A-35
A.3.2.2 Torque settings ...............................................................................................A-36
A.3.3 Monitoring .......................................................................................................A-38
A.3.3.1 Encoder monitoring functions .........................................................................A-38
A.3.3.2 Encoder limit frequency monitoring ................................................................A-38
A.4 Technology parameters ..................................................................................A-39
A.4.1 List of technology parameters ........................................................................A-39
A.4.2 List of DINT values for technology parameters ..............................................A-72
A.5 Additional information on the Internet.............................................................A-80
Index Index-1
S7-Technology
xiv A5E00251798-05
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 axes to control the flow direction and volume of the hydraulic axis by setting
the proportional directional valves.
Hydraulic axes can be created using the "speed control", "positioning" or
"synchronism" technology. The non-linearity of the hydraulic drive is recorded and
compensated for 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".
S7-Technology
A5E00251798-05 1-1
What's new in S7-Technology
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. When operating with integrated
technology firmware V3.1.x or earlier, the Technology CPU will go into STOP when
it detects a technology DB update overflow. Integrated technology with firmware
V3.2.x or higher tolerates this overflow, i.e. the non-executable update is
discarded, and technology synchronization interrupt OB 65 will not be called.
S7-Technology
1-2 A5E00251798-05
2 Application and benefits
The Technology CPU is integrated to 100 % into the SIMATIC and TIA world and
demonstrates its high performance when used in coupled motion sequences.
S7-Technology
A5E00251798-05 2-1
Application and benefits
S7-Technology
2-2 A5E00251798-05
Application and benefits
S7-Technology
A5E00251798-05 2-3
Application and benefits
* For additional high-speed output cams, hardware limit switches and measuring
inputs.
** For analog absolute encoders, analog outputs for hydraulic axes,
additional output cams and hardware limit switches.
Components which can be configured in HW Config are listed in the "Hardware
Catalog" window of HW Config. Select the "SIMATIC Technology CPU" profile in
HW Config.
You must have installed the most recent version of S7- Technology in order to
obtain a complete selection list in the profile.
S7-Technology
2-4 A5E00251798-05
Application and benefits
S7-Technology
A5E00251798-05 2-5
Application and benefits
The figure below shows the hardware components of a Motion Control solution with
Technology CPU:
Technology CPU
The control unit of the Technology CPU performs the tasks known from a standard
CPU of the S7-300 family. The integrated technology controls, evaluates and
monitors all hardware components at DP(DRIVE) which are required by the Motion
Control tasks. CPU 31xT features 4 integrated digital inputs and 8 integrated digital
outputs. Microbox T features 8 integrated digital outputs.
MPI/DP
The MPI/DP interface is used to connect additional SIMATIC components, such as
a PG, OP, S7 controllers and distributed I/O. Its operation as DP interface allows
the configuration of large, extended networks.
S7-Technology
2-6 A5E00251798-05
Application and benefits
DP(DRIVE)
The Technology CPU operates the DP(DRIVE) PROFIBUS interface in
isochronous mode. All hardware components addressed by the integrated
technology must be available at the DP(DRIVE). That includes components of the
MICROMASTER, SIMODRIVE, MASTERDRIVES, SINAMICS, and
SIMODRIVE Sensor family.
S7-Technology
A5E00251798-05 2-7
Application and benefits
All Motion Control applications are configured and programmed in STEP 7. The
figure below shows the tools used to configure your MC application.
SIMATIC STEP 7
STEP 7 represents the global platform for configuring and programming the
Technology CPU. All configuration tools required are called in SIMATIC Manager
of STEP 7.
SIMATIC S7-Technology
SIMATIC S7-Technology is an options package used to configure Motion Control
functionality of your Technology CPU. SIMATIC S7-Technology is fully integrated
in STEP 7 after installation. Tools included in its installation:
• Technology Objects Management
• S7-Tech Library
• S7T Config, including STARTER
S7-Technology
2-8 A5E00251798-05
Application and benefits
LAD/FBD/STL
You program your application and Motion Control jobs in the LAD/FBD/STL block
editor. You read the actual values of your Motion Control application from the user
program to analyze information and errors.
S7-Tech Library
The S7-Tech Library is compliant with technology functions to PLCopen standard
and is called in your user program as function block. You use these to control your
Motion Control commands.
S7T Config
You configure the TOs required to implement your motion control task in
S7T Config. The STARTER for drives of the MICROMASTER and SINAMICS
families is integrated in S7T Config.
CamTool (optional)
You can purchase the optional SCOUT CamTool which provides an easy-to-use
graphical interface for creating cam disks.
HW Konfig
HW Config is used to configure the hardware of your Technology CPU and the
subnets at the DP/MPI and DP(DRIVE) interfaces.
S7-Technology
A5E00251798-05 2-9
Application and benefits
Technology functions
The PLCopen-compliant technology functions are called in the user program of the
controller. Technology functions form the command interface to the TOs. The user
program can monitor the status of Motion Control commands by evaluating the
output parameters of the technology function.
Technology objects
The drives are mapped to TOs which describe their properties. Each TO is mapped
to the STEP 7 user program as Technology DB to indicate its status. TOs may be
interconnected and be logically linked to hardware components. All TOs such as
axes, cam disks, output cams, measuring inputs or external encoders are
configured in S7T Config.
S7-Technology
2-10 A5E00251798-05
Application and benefits
Technology functions and Technology DBs form the user interface to the integrated
technology. The figure below shows the corresponding tasks handled by these
components:
S7-Technology
A5E00251798-05 2-11
Application and benefits
Technology functions
All Motion Control jobs are initiated by the Technology CPU by means of
technology functions. The integrated technology processes the jobs based on the
sequence initiated by the control system.
Motion Control commands address the TOs you configured in S7T Config. The
technology objects are addressed by setting the number of the corresponding
Technology DB.
The command is initiated by a signal transition (positive edge) at input parameter
Execute or Enable. The output parameters of the technology functions return
information to the user relating to job done and job cancelled messages, and to
error message generated when a command could not be initiated.
Technology DB
The integrated technology writes the actual values of the TO to the associated
Technology DB. Status and error messages generated in the course of job
processing will also be written to the Technology DB.
The Technology DBs are always non-retentive and write-protected in the
automation system.
DB - MCDevice
The status of integrated technology is mapped to the Technology DB MCDevice.
MCDevice contains information about the maximum and average job processing
time of Motion Control commands, and about any errors of integrated technology.
MCDevice also supports the option of indicating the status of integrated I/O,
including 32 done messages (DoneFlags) of certain technology functions. The
done messages indicated are defined by setting input parameter DoneFlag of the
technology function (TF.)
DB - Trace
S7T Config features the graphical TraceTool which can be used to analyze system
parameters and actual values.
In addition to the system parameters of integrated technology, the tool supports
logging of up to 8 variables of the S7 user program, i.e. two DINT values, two
DWORDvalues, and four REAL values. The Trace Technology DB interfaces the
control system with the integrated technology.
S7-Technology
2-12 A5E00251798-05
3 Technology objects
Axis technologies
Configure the "Axis" TO as "speed-controlled axis", "positioning axis" or
"synchronization axis". The various axis technologies differ according to the
functionality provided at the axis.
S7-Technology
A5E00251798-05 3-1
Technology objects
S7-Technology
3-2 A5E00251798-05
Technology objects
You can select 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 physical units used to calculate axis-specific
variables such as the position or speed.
• 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 length units such as millimeter.
• Rotary axes
Rotary axes are usually configured for the rotary motion range. Their traversing
range is not limited mechanically. Basic units for these motions are rotational
units such as degrees. Rotary axes are usually also configured for operation as
modulo axes.
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, i.e. the low limit, and by the modulo
start value plus modulo length, i.e. the 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
configured as unidirectional modulo axes
The variables representing the setpoint and actual position values are of the data
type REAL and have a resolution of 23 binary digits (mantissa). This has the effect
that axis positioning accuracy deteriorates when the position value is increased.
For this reason, you should preferably use modulo axes for infinite axes, or reset
the position to zero at appropriate times.
S7-Technology
A5E00251798-05 3-3
Technology objects
S7-Technology
3-4 A5E00251798-05
Technology objects
S7-Technology
A5E00251798-05 3-5
Technology objects
A variable speed pump controls the flow volume (Q) for cylinder movement. The
Technology CPU handles the control of the variable speed pump by setting an
analog output at DP(DRIVE). The control of 4/3 switching directional valves must
be handled by the user program setting digital outputs. An encoder can be used to
return the cylinder position.
This variable speed pump control only allows the Technology CPU to control die
hydraulic axis in one direction, i.e. as speed-controlled, or position-controlled, or
synchronization axis. The reversal of direction by setting the 4/3 switching
directional valves, including 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 of the shared axis.
S7-Technology
3-6 A5E00251798-05
Technology objects
The term axes in this documentation always refers to real and virtual axes.
• Real axis
This axis features motion control functions and a drive and encoder interface
• Virtual axis
This axis type supports the generation of control variables. However, it has
neither a closed-loop control, nor a drive interface, nor an encoder interface.
The setpoints and actual values are always identical. A virtual axis is usually
implemented as an auxiliary axis, for example, to generate the master
setpoints for several real axes when operated as leading axis in a
synchronized group.
Difference between the real and virtual axes (position axis example)
Note
Hydraulic axes are real axes with valve profile.
S7-Technology
A5E00251798-05 3-7
Technology objects
The "Axis" TO interfaces the user program with the actual drive. It receives,
executes and monitors motion control commands requested by the PLC's user
program.
The axis communicates via PROFIBUS with the drive which contains the speed
and current controllers.
Drives are configured and commissioned separately from the axis.
Note
An axis can only execute functions which the connected drive actually supports.
The supported functions, for example, operation with SIMODRIVE 611U or
MASTERDRIVES MC, are described in the drive documentation. See also the
corresponding product descriptions.
S7-Technology
3-8 A5E00251798-05
Technology objects
In terms of their effect, we distinguish between two different types of motion in the
Technology CPU:
• Basic motion
• superimposing movement
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-05 3-9
Technology objects
The vectors of the coordinate systems are indicated as system variables 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-05
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.
3.1.8 Homing
At position-controlled axes, the entries and indication of the position refer to the
coordinate system of the axis. The coordinate system of the axis must be
synchronized with the real, physical position of the axis.
Note
• Absolute encoders must be adjusted only once
• The homing of axes with incremental is retained when the CPU goes into
STOP, and is lost after POWER OFF
• After initialization (restart) the axis must be homed again when operated with
incremental measuring system
• Motion commands with relative position definitions ("MC_MoveRelative", for
example) can be executed both in the homed / not homed states
• Motion commands with absolute positioning at a non-homed axis:
- Executable if "no" was selected from the drop-down list in S7T Config, Axis
> Homing dialog box, "Active homing" tab
- Not executable if "yes" was selected from the drop-down list in S7T Config,
Axis > Homing dialog box, "Active homing" tab
S7-Technology
A5E00251798-05 3-11
Technology objects
Homing modes
• Active homing
In active homing mode, the "MC_Home" technology function performs the
required reference point approach. Any active motions will be canceled for this
operation. Homing modes available in S7T Config:
- reference cam and encoder zero mark
- encoder zero mark only
- external zero mark only.
• Passive homing
In passive homing mode, the "MC_Home" technology function does not
perform a reference point approach. Any active motion commands will not be
affected. The "reference point approach" required must be activated using
external functions, or in the user program.
Homing modes supported in the configuration in S7T Config:
- reference cam and encoder zero mark
- encoder zero mark only
- external zero mark only
- default
• Direct homing
The axis position is set without making allowances for reference cams or zero
marks. The axis must be at a standstill for you to be able to assign the
reference point precisely to a mechanical position.
• Correct position value
An offset value will be subtracted from the current axis position. Any current
motions and homing will not be affected.
• Correct the internal axis coordinate system
An offset value will be subtracted from the current position of the base or the
superimposed coordinate system. Any current motions and homing will not be
affected.
Note
Device-specific properties
For 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).
For 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 IM 174/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 IM 174/ADI4 on your product CD-ROM
and to the equipment manuals.
S7-Technology
3-12 A5E00251798-05
Technology objects
Offset by absolute
value encoder Correction in runtime
adjustment (MC_Home: Mode 3, 4)
(permanent)
S7-Technology
A5E00251798-05 3-13
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:
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Pay attention to: Virtual axes always have only one data record.
Configuration
Create the date record in the axis configuration in S7T Config. Set the data record
parameters using the Axis Wizard. Use the "MC_ChangeDataset" technology
function to change the data record in RUN.
S7-Technology
3-14 A5E00251798-05
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
A5E00251798-05 3-15
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
3-16 A5E00251798-05
Technology objects
The block diagram below shows a positioning axis with position control:
The controller and the monitoring and compensation functions are active when
position control is active. The monitoring functions are disabled in certain modes,
for example, the position-related monitoring functions for torque or pressure
limiting.
All compensation functions can be enabled/disabled.
Encoder systems, actual value calculation, and monitoring functions are active on
the actual value side when position control is not activated. Compensation
functions are not taken into account.
System variable servomonitoring.controlstate indicates the active state of the
position controller.
S7-Technology
A5E00251798-05 3-17
Technology objects
Recommendation
Controllers featuring a pre-control function should be used as shown below:
• P-action controller with pre-control for the electric axis
• DSC to improve the control quality (higher kv values) for digitally coupled
drives (only with P-action controllers with pre-control)
• PID controller for hydraulic axes (allows you to set the actual value directly at
the D-action element)
S7-Technology
3-18 A5E00251798-05
Technology objects
Balancing filters
Balancing filters are used to delay setpoints by the value of the process transition
time, before these are compared with the actual value and multiplied by the
position control gain, and are then set again at the process.
When pre-control is active, the process reaction parameters can be included in the
calculation of the balancing filter before the control error is calculated based on the
offset between the setpoint position and the actual position.
• A PT1 filter is used as balance filter when setting the balanceFilterMode =
MODE_1 configuration parameter The corresponding time constant is defined
at dynamicData.velocityTimeConstant for electrical axes, or at
dynamicQFdata.qOutputTimeConstant for hydraulic axes
• The equivalent time of the speed control circuit, including the dead time
determined by the system with respect to the drive, plus an additive dead time
that can be entered by the user are taken into account in the balance filter
when setting configuration parameter balanceFilterMode = MODE_2 (V3.1 or
later)
• The equivalent time of the speed-control loop is included in settings with DSC .
We recommend you set balanceFilterMode = MODE_2 for the balancing filter.
S7-Technology
A5E00251798-05 3-19
Technology objects
Note
An axis operated with setpoint superimposition cannot be switched back directly to
normal position-controlled mode. You first have to reset the setpoint
superimpositions to zero.
Superimposition has an effect on the position of the positioning axis. This effect
also applies to the active position control and interpolator in following mode.
S7-Technology
3-20 A5E00251798-05
Technology objects
You can set PT2 response and thus prevent overshoot by wiring two PT1 elements
in series.
Note
Set T1 unequal to T2
S7-Technology
A5E00251798-05 3-21
Technology objects
S7-Technology
3-22 A5E00251798-05
Technology objects
S7-Technology
A5E00251798-05 3-23
Technology objects
For position control with DSC (Dynamic Servo Control), the system calculates the
position controller and the speed controller in the drive. This allows you to set
significantly higher gain factors (Kv) for the position controller. The position and
speed control parameters are calculated within the same cycle. Hence, the position
control and its subordinate control loop, i.e. the speed controller, are calculated at
precisely the same speed.
The actual values changes are smaller compared 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 gain factors.
The use of DSC allows you to set a higher Kv coefficient for the sampling rates.
This increases the dynamics in the reference variable sequence and of disturbance
response at highly dynamic drives. DSC is supported by all drives which support
message frame 5 or 6, or 105 and 106.
DSC is only useful for P-action position controllers.
Note
The position controller requires tuning, see the chapter "Position controller tuning -
overview".
S7-Technology
3-24 A5E00251798-05
Technology objects
S7-Technology
A5E00251798-05 3-25
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
3-26 A5E00251798-05
Technology objects
The axis and synchronization object are separate objects. Both objects form a
synchronization axis.
The "Axis" and synchronization objects are interactive in terms of their relevant
operating states and effectiveness of commands.
If an active error is only pending at the synchronization object, the following axis is
still capable of positioning, but not of synchronous operation. You can always avoid
this effect by acknowledging all errors. Errors at the "Axis" have an immediate
reciprocal effect on synchronization functionality.
When the axis reacts with a stop, the synchronous motion is stopped as well.
Example
A leading axis (master) generates a master setpoint. The synchronization object
processes this value based on defined criteria, i.e. the gear ratio, scaling, offset,
and the cam disk, and assigns it to the following axis as a control variable.
Note
The master setpoints and slave values are coupled without physical conversion in
the relevant programmed unit. If, for example, the system operates with a linear
leading axis (in mm units) and a slave rotary axis (in degree units), then one
millimeter corresponds to one degree at a conversion ratio of 1:1.
S7-Technology
A5E00251798-05 3-27
Technology objects
Synchronized group
A synchronized group consists at least of these elements:
• a leading axis which returns the master setpoint
Leading axes can be formed by real and virtual positioning and synchronization
axes, or by external encoders
• a synchronization object
• a following axis
S7-Technology
3-28 A5E00251798-05
Technology objects
S7-Technology
A5E00251798-05 3-29
Technology objects
Superimposing synchronism
Superimposing synchronism responds similar to superimposed positioning motions
with regard to the basic motion on the axis (motion or synchronism).
The interconnection conditions for superimposing synchronism and basic
synchronism are identical. Same as a basic synchronization object, you can
logically link a superimposing synchronization object with several leading axes or
cam disks.
Rules
The following rules apply to the interconnection:
• Control values can be used at multiple instances A leading axis can output the
master setpoint to several following axes Positioning axes, synchronization
axes, virtual axes or external encoders can determine master setpoints.
• The synchronization object can be interconnected with several master
setpoints and cam disks. Allowances must be made in the configuration of the
synchronization object for all combinations required for operation.
• An axis may feature up to two synchronization objects (basic synchronism and
superimposing synchronism.)
S7-Technology
3-30 A5E00251798-05
Technology objects
3.4.3 Gearing
Response characteristic
The response characteristic of gearing can be expressed as a linear correlation
between the master setpoint and the slave value.
Direction
The gear ratio can be defined by a positive or negative value. Resultant response:
• Positive gear ratio:
The leading and following axes move in the same direction.
• Negative gear ratio:
The leading and following axes move in opposite direction.
S7-Technology
A5E00251798-05 3-31
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 reset the axis position at the technology function "MC_Home" (Mode = 3 or 4).
S7-Technology
3-32 A5E00251798-05
Technology objects
3.4.4 Camming
Response characteristic
The response characteristics of camming are defined by a cam disk (y = f(x)).
MasterOffset SlaveOffset
MasterScaling SlaveScaling
S7-Technology
A5E00251798-05 3-33
Technology objects
S7-Technology
3-34 A5E00251798-05
Technology objects
MasterAbsolute = 1; SlaveAbsolute = 1
In absolute synchronous operation, the effective cam disk precisely represents the
configured cam disk. The cam disk is not shifted in the coordinate system slave
value = f(master setpoint).
During synchronization, the system approaches the cam disk point which is
assigned to the actual master position. A synchronization motion is not initiated if
the following axis is already positioned on a cam disk point at the start of camming.
Relative synchronism with the leading axis, and absolute with the following axis
MasterAbsolute = 0; SlaveAbsolute = 1
System variable userdefault.cammingsettings.camstartpositionmaster is evaluated
and defined as start position for relative synchronization of the cam with the leading
axis.
You obtain the effective cam disk by shifting the configured cam disk along the
abscissa of the slave value = f(master setpoint) coordinate, so that its start position
coincides with the actual following axis position. As synchronism is absolute to the
following axis, the axis will not be shifted along the ordinate of the coordinate
system.
When synchronizing, the following axis approaches the slave value at the cam disk
which is defined at userdefault.cammingsettings.camstartpositionmaster.
A synchronization motion is not initiated if the following axis has already reached
this position.
S7-Technology
A5E00251798-05 3-35
Technology objects
Absolute synchronism with the leading axis, and relative with the following axis
MasterAbsolute = 1; SlaveAbsolute = 0
You obtain the effective cam disk by shifting the configured cam disk the ordinate
in the slave value = f(master setpoint) coordinate, so that its start position coincides
with the actual following axis position. 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 moves by a distance defined by the
difference between the slave value at the actual position of the leading axis set in
the cam disk definition and the start position of the cam disk. The following axis is
positioned on the point of the effective cam disk assigned to the actual position of
the leading axis.
If the leading axis has reached the start position, or a certain cam disk point of
which the slave value corresponds with that of the start position, the axis will not
perform a synchronizing motion.
S7-Technology
3-36 A5E00251798-05
Technology objects
MasterAbsolute = 0; SlaveAbsolute = 0
System variable userdefault.cammingsettings.camstartpositionmaster is evaluated
and defined as start position for relative synchronization of the camk with the
leading axis.
You obtain the effective cam disk by shifting the configured cam disk along the
abscissa in the slave value=f(master value) coordinate system in order to shift
userdefault.cammingsettings.camstartpositionmaster and the actual leading axis
position so that the start position of the cam disk coincides with start position of the
active following axis.
When synchronizing, the following axis approaches the slave value at the cam disk
which is defined at userdefault.cammingsettings.camstartpositionmaster.
When synchronizing, the following axis moves by a distance defined by the
difference between the slave value at
userdefault.cammingsettings.camstartpositionmaster and the slave value at the
start point of the cam disk. The following axis is positioned on the point of the
effective cam disk assigned to the actual position of the leading axis.
A synchronization motion is not initiated if the following axis has already reached
this position.
Note
Any point of the cam disk can be set as the starting point for camming. This can be
the starting point, the end point, or any point within the cam disk.
S7-Technology
A5E00251798-05 3-37
Technology objects
You can configure superimposed synchronism for camming and gearing. This is
done by configuring an additional superimposing synchronization object at the
synchronization axis. Cross-referencing synchronization objects is impossible.
Superimposed motion
Superimposing synchronism responds similar to superimposed positioning motions
with regard to the basic motion on the axis (motion or synchronism).
Only one superimposing motion can be applied to an axis at any given time:
• superimposing positioning motion, or
• superimposing synchronism
Superimposing synchronism can be active without concurrently active basic motion
or basic synchronism.
For further information on superimposing motions at an axis, refer to the
corresponding description of the technological functions.
Coordinates
The basic 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
3-38 A5E00251798-05
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
A5E00251798-05 3-39
Technology objects
The next examples show you the differences between relative and absolute
synchronism.
In camming mode, 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
cam.
During activation of synchronous operation, the following axis is moved from its
current position to the position derived from the cam.
S7-Technology
3-40 A5E00251798-05
Technology objects
Relative synchronism:
A cam with an offset to the basic cam is applied in relative synchronism. We
distinguish the following variants:
• The cam is shifted along the ordinate (MasterAbsolute = FALSE;
SlaveAbsolute = TRUE)
• The cam is shifted along the ordinate (MasterAbsolute = TRUE;
SlaveAbsolute = FALSE)
• The cam is shifted in any direction (MasterAbsolute = FALSE;
SlaveAbsolute = FALSE)
S7-Technology
A5E00251798-05 3-41
Technology objects
S7-Technology
3-42 A5E00251798-05
Technology objects
The start point of the cam (lowest x value) is relevant in this use case instead of the
system variable userdefault.cammingsettings.camstartpositionmaster. The cam is
shifted so that its start point is shifted to the actual position of the following axis.
S7-Technology
A5E00251798-05 3-43
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
3-44 A5E00251798-05
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
A5E00251798-05 3-45
Technology objects
3.5.1 Scaling
When a cam disk is defined in S7T Config based on segments, the various cam
segments can be provided in a standard form scaled to factor 1, i.e. the range of
values and the defined range corresponds with the completed interval [0,1].
Mapping of a real cam disk segment to the scaled range
Advantages of scaling
• Definite description of the motion for similar tasks
• Independent of real units and ranges of the leading and following axes.
S7-Technology
3-46 A5E00251798-05
Technology objects
A cam disk can be configured for operation in non-cyclic (single operation), cyclic relative
(continuous) or cyclic absolute (return to interpolation point) mode.
If the cam disk is operated in cyclic mode and absolute 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 mode and relative 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. This prevents any step response.
S7-Technology
A5E00251798-05 3-47
Technology objects
Non-cyclic mode means, that the cam disk is only executed once. Camming is
terminated when the end point or start point of the cam is reached.
S7-Technology
3-48 A5E00251798-05
Technology objects
When interpolation is completed, the definition range of the cam disk is assigned
an unambiguous range of values.
Continuity check
The system checks the continuity of a cam disk in the definition and value ranges,
and corrects any discontinuity found.
During this process, the points of discontinuity are examined separately for the
definition range / range of values, and are rated for one of the following corrective
actions:
• If the absolute value of the gap between segments exceeds a maximum, a
correction is made by interpolation between the two segments. This inserts a
new segment according to the defined interpolation mode. The cam disk type is
included in this action if a segment is inserted in the edge area.
S7-Technology
A5E00251798-05 3-49
Technology objects
• If the absolute value of the gap between segments is greater than the minimum
and less than the maximum, a correction is made by joining the segment end
points. The mean value of the gap of the function is used for the correction.
The shape of the segments is affected as a result.
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 points".
The value 1e-004 is used as minimum and maximum value for interpolation using
technology function "MC_CamInterpolate". Segment end points can thus only be
joined by interpolation using CamEdit.
The point of discontinuity is corrected according to the rating of the definition range
/range of values.
Condition Result
Deviation < minimum Discontinuity retained
Minimum < deviation < maximum Joins segment points
Deviation > maximum Interpolation (new segment)
The correction is controlled (separately for the definition range and the range of
values) by the definition of the min/max shape deviation.
S7-Technology
3-50 A5E00251798-05
Technology objects
Depending on the combined evaluation in the definition range and range of values,
the point of discontinuity is corrected according to the following scheme:
If the continuity condition can not be adhered to due to the selected interpolation
method or the programmed geometry, a message is output to that effect.
If an interpolation edge point lies within the programmed geometry, all geometry
elements up to the edge points are rejected. If an interpolation edge point lies
outside the programmed geometry, an end point is extrapolated according to the
interpolation method used and taking into account the geometry characteristic.
Note
After interpolation, new polynomials or interpolation points can only be inserted
after resetting the cam with "MC_CamClear".
S7-Technology
A5E00251798-05 3-51
Technology objects
Interpolation types
The interpolation type determines the rules for the interpolation of gaps.
Interpolation types which can be used:
S7-Technology
3-52 A5E00251798-05
Technology objects
You can select the interpolation type using the technology function
"MC_CamInterpolate", or in CamEdit:
In "cyclic absolute" or "cyclic relative" mode, 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 definition range. The same applies to the first
defined position and the start of the definition range.
S7-Technology
A5E00251798-05 3-53
Technology objects
Polynom2:
X-min=0.5, X-max=1.0
Y-min=0.0, Y-max=0.5
The basic cam consists of two polynomials. In order to be able to interpolate the
cam according to its given interpolation mode (non-cyclic, absolute and relative
cyclic mode), the end of the definition 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 parameter
"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-54 A5E00251798-05
Technology objects
Input parameter
"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 parameter
"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-05 3-55
Technology objects
Input parameter
"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 definition
range according to the
interpolation mode
Interpolation:
Cubic splines,
cyclic absolute
Input parameter
"MC_CamInterpolate":
Mode = 1
CamMode = 1
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the
definition range
according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
S7-Technology
3-56 A5E00251798-05
Technology objects
Result:
The basic cam remains
unchanged. The cam is
extended in the
definition range
according to the
interpolation mode; the
interpolated cam has a
constant velocity
Result:
The basic cam remains
unchanged. The cam is
extended in the
extended definition
range according to the
interpolation mode
S7-Technology
A5E00251798-05 3-57
Technology objects
Input parameter
"MC_CamInterpolate":
Mode = 2
CamMode = 1
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the
definition range
according to the
interpolation mode; the
interpolated cam has a
constant position and
velocity
Interpolation:
Bezier splines,
cyclic relative
Input parameter
"MC_CamInterpolate":
Mode = 2
CamMode = 0
StartPoint = 0.0
EndPoint = 1.5
Result:
The basic cam remains
unchanged. The cam is
extended in the
definition range
according to the
interpolation mode; the
interpolated cam has a
constant velocity
S7-Technology
3-58 A5E00251798-05
Technology objects
Conditions:
• Any different values set at StartPoint and EndPoint in the
"MC_CamInterpolate" technology function determines the range of the master
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 maintained
• To interpolate the cam disk in CamMode = 0 or CamMode = 1, you should
always set values at StartPoint or EndPoint which extend beyond the range of
the non-interpolated cam If this condition is not met it is not possible to
interpolate according to default parameters Technology function
"MC_CamInterpolate" outputs the warning 0027 and S7T Config outputs an
alarm if the cam was interpolated in CamEdit
Example:
The "MC_CamSectorAdd" technology function is used to define a polynomial in
the definition range from 0 to 0.9 In order to be able to interpolate the cam disk
in the edge area according to given interpolation rules, you should at least set
a range from 0 to 1.0 at "MC_CamInterpolate"
• "Linear interpolation" (Mode = 0) does not make any sense if the cam disk is to
be interpolated in "cyclic relative"(CamMode = 0) or "cyclic absolute"
(CamMode = 1) mode 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 that the start point of a
polynomial matches the end point of the partner polynomial, or that a sufficient
definition gap exists between the various polynomials Interpolation will fail
otherwise The cam disk may show any step response 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
• The definition ranges of the technology function "MC_CamSectorAdd" (x-min to
x-max) and "MC_CamInterpolate" (StartPoint to EndPoint) should match if the
cam disk is to be interpolated in "acyclic" mode (CamMode = 2)
• Rule for cyclic relative interpolation:
Constant velocity at the cam transition
V(x-Min) = V(x-Max)
• Rule for cyclic absolute interpolation:
Constant velocity and identical position at the cam transition
V(x-Min) = V(x-Max),
Y(x-Min) = Y(x-Max)
S7-Technology
A5E00251798-05 3-59
Technology objects
The Technology CPU distinguishes between the output cams listed below:
• Position-based cams
Position-based cams are set when the ON position is reached, and are reset
when the OFF position is reached.
• Switching cams
Switching cams are set when the ON position is reached, and must be reset by
the user program.
• Time-based cams
Time-based cams are set for a defined period when the ON position is
reached.
Interconnections
The "Output cam" TO can be interconnected with the TOs listed below:
• Positioning axes
• Synchronization axes
• External encoders
S7-Technology
3-60 A5E00251798-05
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
A5E00251798-05 3-61
Technology objects
The cam output is inverted when the activation position > deactivation position.
Cam activation position > cam deactivation position:
S7-Technology
3-62 A5E00251798-05
Technology objects
Switching action
The switching characteristic of position-based cams is determined by the cam
activation / deactivation positions. In addition, you can define an effective
direction.
Effective direction • when the position lies within • when the position is outside the
the cam activation range and cam activation / deactivation
the effective direction = range
motion direction • if the motion direction does not
match the configured effective
direction
• when the position value is shifted
out of the cam activation range *
* The position value of the interconnected object may change abruptly, for
example, as a result of its referencing, or due to the shift of its coordinate system.
Inverted output
The inverted output function interchanges the cam activation range and the cam
deactivation range.
S7-Technology
A5E00251798-05 3-63
Technology objects
Switching action
The switching action of switching cams is determined by the cam activation
position and by the direction of movement.
Action: Condition:
Switching cam activation • The output cam is enabled using the "MC_CamSwitch"
technology function (positive edge at input parameter
Execute)
• Direction of motion = effective direction (Direction input
parameter)
• The cam activation position (OnPosition input parameter)
is passed.
Switching cam deactivation The cam is deactivated by calling the "MC_CamSwitch"
technology function (input parameter Mode = 1)
Note
The switching cam is not activated if the cam activation position is not passed, for
example, as a result of actual value settings.
Note
The cam is deactivated at the cam activation position if the motion direction =
effective direction, or if the cam was activated using the "MC_CamSwitch"
technology function.
S7-Technology
3-64 A5E00251798-05
Technology objects
Switching action
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
cam deactivation position for the duration of a specified time.
S7-Technology
A5E00251798-05 3-65
Technology objects
Reaction
The diagram below shows the ON and OFF switching characteristics of output
cams, without hysteresis, derivative time, and without cam deactivation time:
Effective direction
You can define a default effective direction when you activate output cams. The
output cam is only activated if the motion corresponds with the set effective
direction.
Options:
S7-Technology
3-66 A5E00251798-05
Technology objects
The diagram below shows the effects of the effective direction (effective direction
Positive)
S7-Technology
A5E00251798-05 3-67
Technology objects
3.6.5 Hysteresis
Mechanical backlash may cause fluctuation of the actual position value, and thus
unwanted transitions of the output cam's switching state. This effect can be
prevented by setting a hysteresis.
Hysteresis conditions
• The hysteresis is always active when the axis reverses its direction.
• The direction of motion is not redefined within the hysteresis.
• Within the hysteresis, the switching state of position-based cams is not
changed.
• This current switching state will be set if modified output cam switching
conditions are detected after the cam has moved out of the hysteresis window.
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-68 A5E00251798-05
Technology objects
Hysteresis range
The high limit of the hysteresis is 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 cannot be limited if a SW limit switch does not
exist. You receive an error message if this maximum setting is exceeded.
• Hysteresis of 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 of time-based cams
The deactivation response of a time-based cam is determined by the cam
activation time and not by the hysteresis.
The function is set at the Hysteresis input parameter of the technology function
"MC_CamSwitch" or "MC_CamSwitchTime".
S7-Technology
A5E00251798-05 3-69
Technology objects
You can define a time-based offset, i.e. a derivative action time, in order to
compensate for mechanical reaction times, the rise times at digital outputs, the
reaction time of connected switchgear, and communication times on DP(DRIVE).
The time-based offset represents the cumulative delay times.
The time-based offset can be defined by setting positive and negative values. A
negative cam activation time must be entered if the output cam is to be switched
before it has reached its programmed start position.
The time-based offset is set at input parameter Delay of the technology functions
"MC_CamSwitch" or "MC_CamSwitchTime". To maximize switching accuracy:
• Determine the system delay time, based on several measurements at constant
speed.
• Set the derived mean value as time-based offset at input parameter Delay.
The result is a switching accuracy of +/- 70 µs for high-speed output cams
interconnected with the integrated outputs of the Technology CPU. The absolute
switching accuracy (distance or angle) is derived from the set switching accuracy
and current velocity.
_______ Output cam activation at input parameter Delay = 0 (no time-based offset)
- - - - - - - Output cam activation at input parameter Delay < 0
Note:
• The integrated technology calculates the dynamic switching position based on
the axis speed factor and the defined time-based offset. The reference speed is
derived from the axis speed at the output cam activation time. Subsequent
speed changes will be ignored in the calculation of the output cam switching
points.
• The offset of the calculated switching position may exceed the length of modulo
axes.
Long derivative action times exceeding one modulo cycle may lead to heavy
fluctuation of the switching position of actual value output cams (actual value
profile). Setpoint output cams should be used in this case.
The dynamic derivative action of modulo axes can be greater than one modulo
length. The system does not collect switching operations. One switching operation
is active in the system at any given point in time. A switching operation is
completed when the output cam is switched off.
S7-Technology
3-70 A5E00251798-05
Technology objects
Lines of glue are applied to a wooden board. The output cams are assigned to an
external encoder. The output cams assigned to defined outputs are switched on
and off at defined positions.
S7-Technology
A5E00251798-05 3-71
Technology objects
Technology functions
Technology functions supported by the TO:
S7-Technology
3-72 A5E00251798-05
Technology objects
• In S7T Config, the "Measuring input" TO can only be inserted at the "Axis" and
"External encoder" TOs
• Each "Measuring input" TO is only assigned a single axis or a single external
encoder
• The measuring input must be located either at the corresponding drive
component, or at a TM15/TM17 High Feature module. The measuring inputs
are indicated specifically at the corresponding hardware, or have to be
configured there as measuring inputs. The number of available measuring
inputs depends on the hardware used.
The digital measuring input used for the "Measuring input" TO at the
TM15/TM17 High Feature module is configured in S7T Config.
• Several "Measuring input" TOs can be configured for a positioning axis,
synchronization axis or an external encoder.
Activation / deactivation
Measuring inputs are activated / deactivated by calling the "MC_MeasuringInput"
technology function.
S7-Technology
A5E00251798-05 3-73
Technology objects
The measuring command may apply to the entire range, or be limited to a start and
end position (active range).
The measurement can be restricted to a defined range. The measurement is only
triggered when the position lies within the measuring range.
If a trigger signal is not detected 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 order by which the start and end values are specified is
irrelevant. If the initial value is greater than the end value, the values are
interchanged.
If the start value is greater than the end value at a modulo axis, the valid range is
extended from the start value beyond the modulo transition of the axis to the end
value.
S7-Technology
3-74 A5E00251798-05
Technology objects
The "External encoder" TO outputs the actual values for the position and velocity of
a distance measuring system. The TO does not control the effective drive
component.
Technology functions
Technology functions supported by the TO:
Interconnection
The "External encoder" TO can be interconnected with the following TOs:
• "Synchronization axis" TO as leading axis
• "Output cam" TO as actual position value
• "Measuring input" TO as actual position value
Wiring
Encoders supported by the "External encoders" TO:
• Analog absolute encoder (sensor analog) wired to an analog input module of
ET 200M or ET 200S
• Incremental encoder (rectangular TTL) wired to analog drive interface IM
174/ADI4
• Absolute encoder (SSI) wired to analog drive interface IM 174/ADI4
• Incremental or absolute encoders wired to the encoder input of a DP drive
• Absolute encoder SIMODRIVE Sensor Isochron (message frame 81)
S7-Technology
A5E00251798-05 3-75
Technology objects
Examples
• You can use the second encoder interface of a double-axis module can be
used to wire an external encoder to SIMODRIVE 611U
• A second encoder can be wired to MASTERDRIVES MC using an encoder
module
• Isochronous PROFIBUS encoders can be operated directly on DP(DRIVE)
• SINAMICS S120 supports the connection of a second encoder via SMC 30,
SME 20, SME 25
The Technology CPU supports various homing modes. The reference position of
the external encoder can be set at input parameter Mode of the
"MC_ExternalEncoder" technology function.
S7-Technology
3-76 A5E00251798-05
4 Configuration
Tool Step
STEP 7/SIMATIC Manager Create project
HW Config Configuring the Technology CPU
Configuring drives
Station > Save and compile
S7T Config Engineering and configuring electrical axes /
engineering and configuring hydraulic axes
Menu command Project > Save and compile all
Technology Objects Management Creating and managing Technology DBs
LAD/FBD/STL Programming function blocks
STEP 7/SIMATIC Manager Menu command
PLC > Download user program to
Memory Card (including system data)
S7-Technology
A5E00251798-05 4-1
Configuration
Step Description
1. Create a new project SIMATIC Manager, and then add a SIMATIC 300 station.
2. Select the "SIMATIC 300" station and double-click "Hardware" to open HW Config.
3. On the "Hardware catalog" view, select the "SIMATIC Technology CPU" hardware profile from
the "Profile" drop-down list.
4. Copy a mounting rail from the "Hardware catalog" view to the HW Config window.
5. Drag-and-drop a power supply module to the mounting rail (for example: "PS 307 5A".)
6. Drag-and-drop the relevant Technology CPU from the HW catalog to the selected row
containing the rail. This opens the message box shown below.
Minimize transfer times by increasing the transmission rate at the MPI/DP interface.
For further information, refer to the message box help.
7. Close the message box
Set the PROFIBUS properties of DP(DRIVE) in the next dialog box.
S7-Technology
4-2 A5E00251798-05
Configuration
Step Description
8.
Click "New" to create a new "Subnet" (DP master system). Make sure that the Technology CPU
is the only master station on DP(DRIVE.)
Set address 0 at the DP(DRIVE) in order to enhance operating performance.
S7-Technology
A5E00251798-05 4-3
Configuration
Step Description
9. Select the "Network settings" tab from the dialog box of PROFIBUS network properties.
Select a transmission rate of 12 Mbps. Do not change the "DP" profile of the PROFIBUS
network.
To enhance performance of the DP(DRIVE) system:
• Set the 0 value at "Highest PROFIBUS address"
• Disable "Enable cyclic broadcast of bus parameters." Click "Bus parameters," and then reset
the check box.
S7-Technology
4-4 A5E00251798-05
Configuration
Step Description
10. Click "Options." On the next dialog box, set the "Activate constant bus cycle time" check box.
As constant DP bus cycle time, enter the time required for isochronous operation of the drive
components on DP(DRIVE). Observe the device-specific properties and data volume of the
components supported for operation on DP(DRIVE.)
Retain the defaults of all other options offered in this dialog box.
Note:
You can also set these configuration data in the properties dialog boxes of the drives. In this
case, the constant DP bus cycle and the cycle time will be activated or calibrated automatically.
11. Close all dialog boxes of HW Config by clicking "OK".
12. Increase the transmission rate at the MPI/DP interface (see step 6.) Save and compile the
hardware configuration data, and then download these to the PLC.
13. In HW Config, double-click the technology (slot 3), and then select the "Technology System
Data" tab. Set the "Generate Technology System Data" check box. Confirm your settings with
"OK."
S7-Technology
A5E00251798-05 4-5
Configuration
Step Description
14. Save and compile the hardware configuration data, and then download these to the PLC. Adapt
the PG / PC interface.
Download the hardware configuration and firmware data of the integrated technology to the
PLC.
Result: After you compiled the data, the project dialog box in SIMATIC Manager shows the
"Technology" folder that contains the "Technology Objects".
S7-Technology
4-6 A5E00251798-05
Configuration
Basic procedure
The next steps below describe basic procedures of configuring the drives, based
on the example of a SIMODRIVE 611 universal.
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 in the
HW catalog.
S7-Technology
A5E00251798-05 4-7
Configuration
Step Description
2. Select the required drive component (example: "SIMODRIVE 611 universal".) Drag-and-drop
the component to the DP master system.
For details on selecting telegrams and on supported function, refer to "Selecting the telegram
type".
S7-Technology
4-8 A5E00251798-05
Configuration
Step Description
5. Select the "Cycle synchronization" tab, and then set the "Synchronize drive with equidistant DP
cycle" check box.
As a result of the settings made in the PROFIBUS network configuration, the DP cycle time will
be activated and are displayed on this dialog box 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.250 ms, and is
mainly determined by the number and type of components to be operated on the network.
Also observe the drive-specific help available in this dialog box when you define 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. Click "Alignment".
This triggers the following settings:·
• The constant bus cycle is activated
• The DP cycle of the master system will be adapted to the drive properties
• All drive components of the same family receive the same parameter configuration
S7-Technology
A5E00251798-05 4-9
Configuration
Step Description
8. Close the dialog box with "OK".
9. Save and compile the hardware configuration data, and then download these to the PLC.
If you have set the "Generate technology system data" check box in the technology properties,
the system will generate the system data for the HW configuration and for the technology
firmware.
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-05
Configuration
The message frame used to communicate with the drive must be defined in
HW Config. The message frame to be selected 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 message frame type of a drive component in HW Config, you
also need to adapt the selection of the message frame in the interface
configuration of the corresponding TO in S7T Config.
S7-Technology
A5E00251798-05 4-11
Configuration
S7-Technology
4-12 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-13
Configuration
Use S7T Config to configure the TOs for your motion control task.
The technology DBs form the interface between the user program and the TOs.
Technology DBs are managed in "Technology Objects Management" (TOM).
"Technology Objects Management" can be used in parallel to SIMATIC Manager.
Prerequisites
• SIMATIC Manager is open
• The Technology CPU was configured in HW Config, and the configuration data
were saved
Select "Technology Objects", and then select Edit > Open object in SIMATIC
Manager.
You can also start S7T Config without running "Technology Objects Management".
Select "Technology objects" from the "Technology" folder in SIMATIC Manager,
and then select Options > Configure technology. Using the menu command in
SIMATIC Manager to start S7T Config is useful if you do want not create any new
TOs, and therefore do not have to create any new technology DBs.
S7-Technology
4-14 A5E00251798-05
Configuration
Toolbar
The toolbar contains the essential menu commands.
Operating range
Each STEP 7 project is opened in a separate working window on your working
area. 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 TOs for which you have not yet
generated any technology DBs.
S7-Technology
A5E00251798-05 4-15
Configuration
The working window of TOM is used to manage technology DBs of the active
STEP 7 project. You can identify the active STEP 7 project by the title bar entry of
TOM or of the active working window.
The working window is divided into two areas:
Area showing the technology DBs not yet created (proposals list)
The list in this area shows a new technology DB when a new TO was configured in
S7T Config. The new technology DB is assigned the next free DB number by
default. The symbol names and comments are also assigned default values. The
DB number, symbol and comment entries may be changed, however, you cannot
modify the technology name. Any technology DB deleted from the block folder
using the "Delete" button is listed in the area of technology DBs not created yet.
Click "Generate" to generate the selected technology DBs in the block folder of
SIMATIC Manager. After their generation, the technology DBs are removed from
the list of technology DBs not yet created.
S7-Technology
4-16 A5E00251798-05
Configuration
You can change the width and sort the contents of all columns.
Selection column
• Here you select the rows which contain the technology DBs to be created or
deleted.
"DB" column
• Shows the technology DB number. The technology DB number can be
changed in the list of technology DBs not yet created.
• Reasons for outputting a cell on a red background:
S7-Technology
A5E00251798-05 4-17
Configuration
"Symbol" column
• Shows the symbolic name of the DB for the symbol table. The technology DB
number can be changed in the list of technology DBs not yet created.
• Reasons for outputting a cell on a red background:
"Comment" column
• Shows the comment of the DB for the symbol table. The comment entry can be
edited in the list of technology DBs not yet created.
S7-Technology
4-18 A5E00251798-05
Configuration
The working window is used to manage technology DBs of the active STEP 7
project. You can identify the active STEP 7 project by the title bar entry of TOM or
of the active working window.
BY contrast to the standard working window, the expert mode allows you to set the
technology DB update times and select the "IPO synchronous" property.
The working window is divided into two areas:
Area showing the technology DBs not yet created (proposals list)
The list in this area shows a new technology DB when a new TO was configured in
S7T Config. The new technology DB is assigned the next free DB number by
default. The symbol names and comments are also assigned default values. The
DB number, symbol and comment entries may be changed, however, you cannot
modify the technology name. Any technology DB deleted from the block folder
using the "Delete" button is listed in the area of technology DBs not created yet.
Click "Generate" to generate the selected technology DBs in the block folder of
SIMATIC Manager. After their generation, the technology DBs are removed from
the list of technology DBs not yet created.
S7-Technology
A5E00251798-05 4-19
Configuration
You can change the width and sort the contents of all columns.
Selection column
• Here you select the rows which contain the technology DBs to be created or
deleted.
S7-Technology
4-20 A5E00251798-05
Configuration
"[ms]" column
• Returns the absolute step-down cycle in milliseconds.
• Example
Technology DB update 18 ms
Step-down ratio 2
Value shown 36 ms
"Offset" column
• You define the "offset" of the technology update cycle in this column. This
"offset" is a function of the time value of "Technology DB update". The offset is
used to define the start of the cyclic technology DB update.
• Reasons for outputting a cell on a red background:
"[ms]" column
• Returns the absolute "offset" in milliseconds.
• Example
Technology DB update 18 ms
Step-down ratio 3
value shown (step-down) 54 ms
Offset 2
value shown (offset) 36 ms
The start of the 54-ms technology DB update cycle is, however, offset by 36 ms.
S7-Technology
A5E00251798-05 4-21
Configuration
"DB" column
• Shows the technology DB number. The technology DB number can be
changed in the list of technology DBs not yet created.
• Reasons for outputting a cell on a red background:
"Symbol" column
• Shows the symbolic name of the DB for the symbol table. The DB name can
be edited in the list of technology DBs not yet created.
• Reasons for outputting a cell on a red background:
"Comment" column
• Shows the comment of the DB for the symbol table. The comment entry can be
edited in the list of technology DBs not yet created.
S7-Technology
4-22 A5E00251798-05
Configuration
Requirements
• The configuration of the Technology CPU in S7T Config is completed, saved
and compiled.
Note
For further information on using "Technology Objects Management", refer to the
corresponding Online Help system.
S7-Technology
A5E00251798-05 4-23
Configuration
Technology objects (TOs) are accessed by means of technology DBs. You should
therefore generate the technology DBs using the "Technology Objects
Management" tool before you create the user program.
Requirements
• You concluded the configuration of your Technology CPU and drives in
HW Config by executing the Station > Save and compile command.
• The configuration of the Technology CPU is successfully completed in
S7T Config and saved.
Step Description
1. In SIMATIC manager, double-click "Technological objects".
S7-Technology
4-24 A5E00251798-05
Configuration
Step Description
The "Technology Objects Management" dialog opens. (Example):
2. From the "Technology DBs in block folder" area, select the relevant line to rename its DB.
3. Click "Delete"
4. Edit the block number in the "Technology DBs not created yet" area.
6. Click "Create"
Note
Delete any previously downloaded technology DB of this name from the CPU. You
can then download the renamed technology DB with the new DB number to the
CPU.
Note
Technology DBs copied in the block folder of SIMATIC Manager must be verified.
The corresponding DBs are not valid as technology DBs
• if they are marked in red in the dialog box mentioned earlier (in this case, select
"Technology DBs in block folder," and then click "Delete")
• if these 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-05 4-25
Configuration
Prerequisites
• SIMATIC Manager is open
• The Technology CPU was configured in HW Config, and the configuration data
were saved
Select "Technology objects", and then select Edit > Open Object in order to run
"Technology Objects Management."
In "Technology Objects Management," select Options > Configure technology to
configure the TOs in S7T Config. S7T Config starts automatically if you have not
yet created any TOs.
You can also start S7T Config without running "Technology Objects Management."
Select "Technological objects" from the "Technology" folder in SIMATIC Manager,
and then select Options > Configure technology. Using the menu command in
SIMATIC Manager to start S7T Config is useful if you do want not create any new
TOs, and therefore do not have to create any new technology DBs.
S7-Technology
4-26 A5E00251798-05
Configuration
S7T Config is used to configure the TOs for your motion control tasks.
S7T Config opens with this user interface:
Navigator
The Navigator visualizes the project structure of the technology, and the
assignment of the configured TOs. Identical objects are indicated by the same
icons. The system indicates online mode by highlighting the icons with a
corresponding background color, or by displaying additional icons (connector
icons) which characterize the interconnection of the PG/PC with the PLC. For
detailed information, refer to the Online Help system of S7T Config. You can open
the relevant configuration dialog box by double-clicking an object on the working
area.
S7-Technology
A5E00251798-05 4-27
Configuration
Operating range
The TO configuration dialog boxes, for example, for setting configuration data,
defaults and limits, are displayed on the working area. The tabs indicate the TOs
for which you have opened the relevant dialog box. You can open dialog boxes for
several TOs.
All parameters you can enter in the working area are assigned high and low limits
which are indicated by a tooltip in S7T Config.
Details view
The details view outputs information about the elements you selected in Navigator.
The view shows different tabs, depending on the object you selected. The number
of tabs depends on the active dialog boxes on the working area and on the project
status (offline or online.)
To view information about an object in the detail view:
1. Select the relevant object in the 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 the name of the active configuration
dialog box of the selected TO.
Menu bar
The menu bar contains the menus currently supported in S7T Config.
S7-Technology
4-28 A5E00251798-05
Configuration
Toolbar
The toolbar icons provide quick access to frequently used and currently available
menu commands by means of mouse click. You can view the tooltip showing the
icon function by positioning the mouse cursor on the icon. The status bar displays
additional information.
Grayed-out symbols indicate functions which cannot be executed in the current
working state.
S7-Technology
A5E00251798-05 4-29
Configuration
Status bar
The status bar indicates context-sensitive information and the project status (offline
or online –mode.)
Offline mode
Communication with the Technology CPU is down when S7T Config is operated in
offline mode. In this mode, you can create new TOs, configure drives using the
integrated STARTER tool, and compile the technology data.
Online mode
S7T Config communication with the Technology CPU is up when operated in online
mode. In this mode you can perform diagnostics operations, download new project
data to the device, and edit parameters in the CPU.
The system checks technology data consistency when you change to online mode.
This check verifies the availability or connection of the devices, drives and TOs
configured in the technology. If inconsistency is detected or an error occurs
(example: inconsistency between the online configuration in the PLC and the offline
configuration in S7T Config) the corresponding objects are highlighted on a red
background in the Navigator.
Caution
! In order to ensure isochronous control of the drives, do not connect the
programming device (PG/PC) to the DP(DRIVE) interface.
S7-Technology
4-30 A5E00251798-05
Configuration
Requirements
• The Technology CPU is configured in HW Config and configuration data are
compiled.
Step Description
1. In the Navigator of S7T Config, double-click "Insert axis".
S7-Technology
A5E00251798-05 4-31
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 speed-controlled axis.
You can edit the name, enter an author, define a version name, and enter a comment.
"Technology Objects Management" applies the name of the TO as symbolic name to the
technology DB of the object in STEP 7.
3. Click on the "OK" button.
Note
You define the axis technology (speed, positioning, synchronous operation) once
when you configure a new axis. In order to change the axis technology at a later
time, you must delete and recreate the axis.
S7-Technology
4-32 A5E00251798-05
Configuration
Step Description
4. Select the axis type and the motor type from the dialog box shown below.
Click "Next."
S7-Technology
A5E00251798-05 4-33
Configuration
Step Description
5. From the list in the next dialog box, select the physical units you want to apply to axis
configuration data and to the user program.
Note: The physical unit settings only apply to this axis. The list may also show physical units
which are irrelevant to this axis due to the axis configuration.
Example The value "1000.0" with positioning unit in [mm] setting at input parameter Position of
the technology function "MC_MoveAbsolute" is equivalent to a position value of 1000.0 mm.
Notice:
Numerical values set in the user programs (for motion commands, for example) are not
converted into the new units when you change the unit settings. The values always refer to the
configured unit!
Click "Next."
S7-Technology
4-34 A5E00251798-05
Configuration
Step Description
6. Set the "Modulo axis" check box, and then type in the required modulo length and start value if
you are going to operate the axis in modulo mode.
Click "Next."
S7-Technology
A5E00251798-05 4-35
Configuration
Step Description
7. On the next dialog box, select the drive component you want to connect to the axis.
The drop-down list shows all drives configured in HW Config. Drives already connected are no
longer included in the drop-down list. The program only shows the "Synchronize Sinamics
devices" button if a SINAMICS S120 drive is configured in HW Config.
Select the "virtual axis" drive component in order to allocate a logic control function to the axis in
a synchronized group. The dialog box displays additional options when a real drive unit is
selected.
Select the relevant "Axis" from the "Drive" box if the selected drive is a multiple axis module
(e.g. SIMODRIVE 611 universal double-axis module, IM 174/ADI4, SINAMICS S120.)
The "HW addresses", "Input" and "Output" boxes show the drive's logical addresses you
selected in the drive configuration in HW Config.
When you recreate the configuration, the default message frame type set in HW Config will be
entered in the drop-down list box (see also Selecting the message frame type ). If the message
frame set in HW Config is unknown or was edited by the user, and thus does not match any
known standard message frames, the telegram wizard helps you to make the correct selection
from the drop-down list.
Enter the rated speed of the motor in the "Rated speed" input box. This value is relevant to
speed assessment and must therefore correspond with the drive configuration.
Click "Next."
Result: The "Interaction axis - drive" dialog box opens. Confirm the dialog box with "OK." The
S7T Config Online Help opens. Close the Online Help and continue the axis configuration.
Note
The message frame type you configured in S7T Config for the interface of the TO
for the drive component must match the message frame type of the component
configured in HW Config.
S7-Technology
4-36 A5E00251798-05
Configuration
Step Description
8. In the next dialog box, you can select the encoder of the drive.
Select a default encoder which is to return its values to the CPU in the message frame
configured in HW Config (usually, the encoder 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 to select the message frame type used to exchange encoder data.
Default is the message frame 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 in drive configuration data.
Click "Next."
9. On the next dialog box, define the encoder resolution and the multiplication factor of the cyclic
actual value.
For information on the encoder resolution, refer to the encoder documentation. Calibrate the
multiplication factor of the cyclic actual value based on the values used in the configuration of
the drive component.
S7-Technology
A5E00251798-05 4-37
Configuration
Step Description
10. You have successfully completed the axis configuration.
S7-Technology
4-38 A5E00251798-05
Configuration
Introduction
The "MC_ChangeDataset" technology function can be used to perform a data
record changeover at an axis. You can create data records for speed-controlled
axes, positioning axes and synchronous axes. Virtual axes always have only one
data record.
The data record changeover function can be used, for example, to toggle between
the motor encoder and the machine encoder, or to edit controller parameters.
Notice
When editing data record parameters, note that certain 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 consistency check reports any illegal technology parameter settings when you
configure data records in S7T Config.
Requirements
• The axis is configured.
S7-Technology
A5E00251798-05 4-39
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 record.
2. Set the "data record changeover" check box.
The check box is hidden if the axis already contains several data records.
3. Click "Add".
Result: A new data record is added to the axis.
4. Click "Configure active data set". Confirm the "reconfigure active data record" message with
"Yes".
S7-Technology
4-40 A5E00251798-05
Configuration
Step Description
7. Select the connection and message frame type for the second encoder. In the final step, 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 "Next". Continue by editing the steps in the wizard, and finalize your configuration.
S7-Technology
A5E00251798-05 4-41
Configuration
Step Description
8. In the axis configuration dialog box, select the data record to be loaded after CPU startup
("active after startup").
Result: The "Encoder" table shows an overview of the encoders configured for the axis.
S7-Technology
4-42 A5E00251798-05
Configuration
Example
An incremental encoder is connected to SIMODRIVE 611U and returns 2048 p/rev
(encoder resolution). By default, the drive multiplies this number of pulses by the
factor of 2048 (2 to the power of 11). This factor must be entered at the
"Multiplication factor of the cyclic actual value" parameter.
Default value
The default setting for the "Multiplication factor of cyclic actual value" is "0". The
system automatically uses multiplication factor 2048 (2exp11).
S7-Technology
A5E00251798-05 4-43
Configuration
The diagram below shows the preparation of the actual value of an axis or external
encoder in the Technology CPU.
Data are logged within the position control 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. For external encoders, the system variables
sensordata.sensordata[n]…. are named sensordata….
The actual position value filter can be configured or activated at configuration
parameter
TypeOfAxis.NumberOfEncoders.Encoder_n.AnalogSensor.PositionFilter. The filter
is only available for analog absolute encoders:
S7-Technology
4-44 A5E00251798-05
Configuration
The actual velocity value filter can be set and activated at configuration parameter
TypeOfAxis.SmoothingFilter:
S7-Technology
A5E00251798-05 4-45
Configuration
4.5.4 Configuration
This dialog box also contains functions for managing the data records for data
record changeover. If the TO supports multiple data records, you can:
• create new data records
• delete data records
• define which data record to load for the TO during CPU startup, and
• reconfigure the selected data record.
S7-Technology
4-46 A5E00251798-05
Configuration
Axis settings:
• Drive direction settings
• Load gear settings
• Leadscrew pitch of a linear axis
• Modulo settings
• Backlash compensation settings
Encoder settings:
• Measuring gear settings
• Backlash compensation settings
• Encoder mounting type
S7-Technology
A5E00251798-05 4-47
Configuration
S7-Technology
4-48 A5E00251798-05
Configuration
4.5.6 Default
Stop time
The time set at "Stop time" comes into effect when a moving axis is disabled and
Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
A5E00251798-05 4-49
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup and when
braking, and to velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose between the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of the motion (jerk = 0).
• Constant
The profile shows a constant acceleration, the jerk profile is controllable (jerk
<> 0).
S7-Technology
4-50 A5E00251798-05
Configuration
4.5.7 Limits
S7-Technology
A5E00251798-05 4-51
Configuration
Wiring
The HW limit switches can be wired to the four integrated digital inputs of the
Technology CPU, or to I/O modules such ET 200 or SINAMICS S120 with
TM15/TM17 which are operated on DP(DRIVE).
Traversing range
Traversing limits are monitored at the digital inputs of the HW limit switches. HW
limit switches are always operated with break action, and must always be active
outside the permissible traversing range.
S7-Technology
4-52 A5E00251798-05
Configuration
Retraction
An axis triggering a HW limit switch is stopped with error messages 8013 and
804B. It is retracted from the HW limit switch (release motion) as described below:
• Manual retraction
The axis is returned manually to the permissible traversing range. The error at
the technology DB can only be acknowledged when the axis is retracted.
• Retraction 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
returned to the 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.
The current position of the axis upon reaching the HW limit switch is saved. Only
when this position, plus a safety range, has been passed is the axis considered to
have left the limit switch.
Caution
Once the HW limit switch has been passed, the controller may not be switched off
in order to avoid a conflict between polarity monitoring of the hardware limit
switches and the overrun monitoring of the hardware limit switches in direction of
the permissible range. In this case, the axis must be moved into the valid range
and enabled again without hardware limit switch monitoring.
When you power up the controller, the axis must be located within the valid
traversing range.
Internal states are lost and the configuration is reloaded when the axis passes the
hardware limit switch. Reloading without loss of the approach information is only
possible within the valid range.
Exception: Deactivation of position limit monitoring after a polarity error.
Safety range
The safety range of the HW limit switches is calculated based on the configured
resolution of the system of units of the axis.
Safety range = 1000 / (increments / position)
Example: A linear axis is assigned the position unit "mm" and a resolution
(increments / position) of "1000/unit" in the "Configure units" dialog box, i.e. the
axis position is calculated at 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-05 4-53
Configuration
S7-Technology
4-54 A5E00251798-05
Configuration
Status-dependent acceleration
• Acceleration
Axis acceleration, independent on the direction of movement.
• Deceleration
Axis deceleration, independent of the motion direction.
Direction-dependent acceleration
• Acceleration
Acceleration in positive direction of movement, and deceleration in negative
direction of movement.
• Deceleration
Acceleration in negative direction of movement, and deceleration in positive
direction of movement.
Parameter settings with dynamic direction vector are useful, for example, for
suspended axes.
S7-Technology
A5E00251798-05 4-55
Configuration
Note
When the axis moves onto the fixed end stop, and fixed end stop detection with
"use following error" is set, the entry in "Position tolerance after fixed end stop
detection" should be significantly less than that of "Following error for fixed end
stop detection".
S7-Technology
4-56 A5E00251798-05
Configuration
The fixed end stop detection function "use force/torque" requires that the digital
drive assigned to the axis supports torque limiting, and that a corresponding
message frame is set for communication with the drive, for example, message
frames 102 or 105.
S7-Technology
A5E00251798-05 4-57
Configuration
S7-Technology
4-58 A5E00251798-05
Configuration
Note
When the Dynamic Servo Control (position controller in the drive) function is active,
backlash locking (limiting of manipulated variable for the drive) is not effective. The
backlash interlock therefore needs to be generated in the drive when DSC is
enabled.
S7-Technology
A5E00251798-05 4-59
Configuration
Fine Interpolator
The fine interpolator function is used is to generate interim setpoints when the
interpolator and controller have a different duty factor. Optional interpolation mode
settings at the fine interpolator:
• No interpolation
• Linear interpolation (constant position for positioning axis)
• Interpolation with constant acceleration (constant acceleration at positioning
axis)
• Interpolation with constant velocity (constant velocity at positioning axis)
When set for positioning axes, the position setpoint is interpolated.
When set as speed-controlled axis, the velocity setpoint is interpolated.
S7-Technology
4-60 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-61
Configuration
The system provides a simple method compensating for the forces of static friction.
During startup from a standstill, a DT1 element adds a static friction compensation
signal to the manipulated variable.
The friction compensation is added relative to the velocity setpoint. It is only active
when motion commands are executed.
The standstill ID for static friction compensation can be set separately, as is the
case for the amplitude and the decay response. The amplitude and decay
response are set in the configuration.
S7-Technology
4-62 A5E00251798-05
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 power is switched on. The axis is synchronized during homing based on the
activation 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 setpoint)
Detailed settings depend on the measuring systems available for measuring the
reference point and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in the "Active homing" tab of the Axis > Homing
dialog box in S7T Config.
Three homing modes are available for "Active homing":
• Reference cam and encoder zero mark
• Encoder zero mark only
• External zero mark only
Start of the homing function:
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
A5E00251798-05 4-63
Configuration
Select yes on the "Homing required" drop-down list " and no active homing from
the "Homing mode" drop-down list if you only want to use passive homing mode.
Active homing mode with "reference cam and encoder zero mark"
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the reference cam, and secondly the referencing encoder zero
mark, according to the axis configuration. The lower section of the diagram shows
the resultant motion sequence.
S7-Technology
4-64 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-65
Configuration
S7-Technology
4-66 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-67
Configuration
S7-Technology
4-68 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-69
Configuration
Note
When homing with "External zero mark", connect the external zero mark as digital input to
the measuring input of the drive component.
Note
In order to execute a reference point approach in "external zero mark" homing
mode, select values for "Signal transition" and "on the side of the external zero
mark" which correspond with the drive's configuration or functionality. Instead of
being used to configure the measuring function in the drive, the "Signal transition"
and "on external zero mark side" parameters merely 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-70 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-71
Configuration
Homing to encoder zero mark is used, for example, at axes for which the encoder
can only set one encoder zero mark in the entire traversing range of the axis. The
homing command initiates axis approach to the encoder zero mark. After the
encoder zero mark is detected, the axis approaches the shifted reference point at
homing velocity. The axis position now has the value defined in the reference point
coordinate. The lower section of the diagram shows the resultant motion sequence.
Meaning of the various parameters:
S7-Technology
4-72 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-73
Configuration
MC_Home Mode = 2 At the reference point, the current position is assigned the
Position = x value of input parameter Position.
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
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 marks or reference cam monitoring during passive homing
operations is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
4-74 A5E00251798-05
Configuration
Passive homing mode with "Reference cam and encoder zero mark"
After the axis has passed the reference cam, the next encoder zero mark triggers
axis homing. At the reference point, 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-05 4-75
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-76 A5E00251798-05
Configuration
Note
For homing with "external zero mark", connect the external zero mark as digital measuring
input to the drive component.
Note
In order to be able to execute the reference point approach in "external zero mark" homing
mode as required, you should always set values at "Motion direction" and "on the side of the
external zero mark" which are compatible with the drive's configuration or 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-05 4-77
Configuration
Homing mode with "Zero mark only" 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 set at the
Position input parameter of the "MC_Home" technology function.
S7-Technology
4-78 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-79
Configuration
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
4-80 A5E00251798-05
Configuration
4.5.10 Monitoring
S7-Technology
A5E00251798-05 4-81
Configuration
S7-Technology
4-82 A5E00251798-05
Configuration
The "Positioning and standstill monitoring" tab shows whether the Positioning or
Synchronism technology is set for the axis.
Positioning monitoring
At the end of a positioning motion, the function monitors axis approach to the target
position. A positioning window and a time tolerance are defined for reaching this
end position. Monitoring is activated at the end of setpoint interpolation.
You can also set a minimum dwell time in the positioning window to expire before
the positive feedback of the positioning command is activated. 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 for the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB returns error
8019.
S7-Technology
A5E00251798-05 4-83
Configuration
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command equals the value of the target position, and the delay of standstill
monitoring activation has expired.
Standstill monitoring is triggered if the axis moves out of the configured standstill
tolerance window for any time longer than the configured period. When standstill
monitoring is triggered, the axis technology DB returns 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 real axes.
S7-Technology
4-84 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-85
Configuration
S7-Technology
4-86 A5E00251798-05
Configuration
Requirements in HW Config
• A Technology CPU was configured
• An analog control output (analog output module, or analog drive interface IM
174/ADI4) is configured
• An encoder is configured (analog encoder, incremental or absolute encoder)
• The configuration was saved in HW Config.
Note
Set "standard telegram 3" in HW Config when using analog drive interface
IM 174/ADI4.
Call "DP Slave properties" in HW Config by double-clicking the IM 174/ADI4 object.
Select the "Configuration" tab, and then select "Standard telegram 3" from the
"Default" drop-down list.
S7-Technology
A5E00251798-05 4-87
Configuration
Step Description
1. In the Navigator of S7T Config, double-click "Insert axis".
S7-Technology
4-88 A5E00251798-05
Configuration
Step Description
2. On the "General" tab, select the "speed control" and "positioning" technology.
You can edit the name, enter an author, define a version name, and enter a comment.
"Technology Objects Management" applies the name of the TO as symbolic name to the
technology DB of the object in STEP 7.
3. Click "OK" - this opens the axis wizard.
Note
You define the axis technology (speed, positioning, synchronous operation) once
when you configure a new axis. In order to change the axis technology at a later
time, you must delete and recreate the axis.
S7-Technology
A5E00251798-05 4-89
Configuration
Step Description
4. Select a "linear," or "rotary" and "hydraulic" axis type in the next dialog box. The valve type is
defined as a "Q valve".
Click "Next."
S7-Technology
4-90 A5E00251798-05
Configuration
Step Description
5. From the list in the next dialog box, select the physical units you want to apply to axis
configuration data and to the user program.
Note: The physical unit settings only apply to this axis. The list may also show physical units
which are irrelevant to this axis due to the axis configuration.
Example The value "1000.0" with positioning unit in [mm] setting at input parameter Position of
the technology function "MC_MoveAbsolute" is equivalent to a position value of 1000.0 mm.
Notice:
Numerical values set in the user programs (for motion commands, for example) are not
converted into the new units when you change the unit settings. The values always refer to the
configured unit!
Click "Next."
S7-Technology
A5E00251798-05 4-91
Configuration
Step Description
6. Set the "Modulo axis" check box, and then type in the required modulo length and start value if
you are going to operate the axis in modulo mode.
Click "Next."
For further information on procedures, refer to the chapters listed below:
• "Configuring hydraulic axes – Q output via IM 174/ADI4"
• Configuring hydraulic axes – Q output via analog output module
S7-Technology
4-92 A5E00251798-05
Configuration
Step Description
1. Define the properties of the analog output module in the next dialog box.
Which output device are you Select the analog drive interface IM 174/ADI4.
using?:
Outlet: Select the analog output of the drive interface.
logical HW addresses: Outlet: The logical addresses can not be edited, as these are defined
by the selection of the analog output.
Message frame type for data Only "Standard telegram 3" (here, "DP_Tel3") is permitted as
transfer message frame type. The message frame must match the
selection in HW Config.
Output of the inverted value: Set this check box to set invert control output to the hydraulic
drive.
Click "Next" when you completed your selection.
S7-Technology
A5E00251798-05 4-93
Configuration
Step Description
2a. On the next dialog box, assign the hydraulic axis an incremental encoder. The encoder must
support "rectangular TTL" mode.
Continue at step 2b when using an absolute encoder.
For information on using analog absolute encoders, refer to the chapter "Configuring hydraulic
axes - Q output via analog output module" .
Where to connect the position Select the encoder interface of drive interface module IM
encoder: 174/ADI4.
logical HW addresses: Input, The logical addresses can not be edited, as these are defined
output: by the encoders selected.
Message frame type for data Only "Standard telegram 3" (here, "DP_Tel3") is permitted as
transfer message frame type.
Encoder type: Select "Incremental encoder" from the drop-down list.
Measuring system: Select "Linear encoder system" or "Rotary encoder system",
depending on the encoder used.
Click "Next" when you completed your settings.
S7-Technology
4-94 A5E00251798-05
Configuration
Step Description
3a. The encoder data are configured in the next dialog box.
Encoder resolution: For information on the encoder resolution, refer to the encoder
documentation.
Multiplication factor of the Calibrate the multiplication factor of the cyclic actual value
cyclic actual value based on the values used in the configuration of the drive
component.
Click "Next" when you completed your settings.
You have successfully completed the axis configuration.
S7-Technology
A5E00251798-05 4-95
Configuration
Step Description
2b. Assign the hydraulic axis an absolute encoder on the next dialog box. The encoder must
support "SSI" mode.
Where to connect the position Select the encoder interface of drive interface module
encoder: IM 174/ADI4.
logical HW addresses: Input, The logical addresses can not be edited, as these are defined
output: by the encoders selected.
Message frame type for data Only "Standard telegram 3" (here, "DP_Tel3") is permitted as
transfer message frame type.
Encoder type: Select "Absolute encoder" or "Absolute encoder cyclic absolute"
from the drop-down list
Measuring system: Select "Linear encoder system" or "Rotary encoder system",
depending on the encoder used.
Click "Next" when you completed your settings.
S7-Technology
4-96 A5E00251798-05
Configuration
Step Description
3b. The next dialog box is used to configure the scaling of the encoder and the multiplication factor
of the cyclic actual value. Calibrate the multiplication factor of the cyclic actual value based on
the values used in the configuration of the drive component.
Scaling: The scaling value describes the distance per encoder pulse.
Multiplication factor of the Encoders connected to a drive can return pulses at a resolution
cyclic actual value higher than the actual encoder resolution (fine resolution).
The multiplication factor of the cyclic actual value is set to 0 by
default. The system automatically uses multiplier 2048
(2exp11).
Example of a deviating value:
The absolute encoder connected to the drive returns 4096
(2exp12) pulses per revolution (encoder resolution). In this
case, set multiplier 12 for the cyclic actual value.
Multiplication factor of the The encoder actual value transferred at power on (startup) is
absolute actual value multiplied by the multiplication factor of the absolute actual
value.
The multiplication factor 0 is set by default for the absolute
actual value. The system automatically uses multiplication
factor 512 (2exp9).
The multiplication factors also have to be set at the drive!
• At SINAMICS S120: Parameters p0418 and p0419 (for encoder 1);
(the effective value in r0979.3 und r0979.4 can be read)
• At SIMODRIVE 611U: Parameters 1042 and 1043 (for encoder 1)
• At Masterdrives MC: Parameter 171
Number of data bits: Total number of pulses
Example
4096 pulses = 2exp12
Exponent 12 = 12 data bits
Click "Next" when you completed your settings.
S7-Technology
A5E00251798-05 4-97
Configuration
Step Description
End You have successfully completed the axis configuration.
Note
Conditions of enabling the hydraulic axis with position control using technology
function "MC_Power":
• The hydraulic axis must be assigned a cam disk as valve profile in S7T Config.
• The valve profile must be activated by calling technology function
"MC_SetCharacteristic".
S7-Technology
4-98 A5E00251798-05
Configuration
Step Description
1. Define the properties of the analog output module in the next dialog box.
Output device used: Select "analog output module" from the drop-down list.
logical HW addresses: Outlet: 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.
Output of the inverted 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 Config" (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 "Next" when you completed your settings.
S7-Technology
A5E00251798-05 4-99
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 IM 174/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 "Next" when you completed your settings.
S7-Technology
4-100 A5E00251798-05
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 the 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 "Next" when you completed your settings.
S7-Technology
A5E00251798-05 4-101
Configuration
Step Description
End You have successfully completed the axis configuration.
Note
Conditions of enabling the hydraulic axis with position control using technology
function "MC_Power":
• The hydraulic axis must be assigned a cam disk as valve profile in S7T Config.
• The valve profile must be activated by calling technology function
"MC_SetCharacteristic".
S7-Technology
4-102 A5E00251798-05
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" TO is used as valve profile. The valve profile is formed by pairs of
values which map the valve position relative to the velocity reached.
Determining a valve profile using the Symbol Browser and the Trace tool
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 the 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 - manipulated 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 value 0 to stop the axis.
8. Enter values between 0% and 100% in succession 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 manipulated variable to the "Master" column, and the velocity value to the "Slave"
column.
S7-Technology
A5E00251798-05 4-103
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 the Navigator
of S7T Config).
3. Enable the hydraulic axis by setting Mode = 0 at technology function "MC_Power".
4. Program the following variables in S7T Config for the recording in Trace:
• actordata.qoutputvalue - manipulated 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 different velocities using the "MC_MoveVelocity" technology function and the
PositionControl = FALSE setting.
Notice: The velocity displayed in sensordata.sensordata[n].velocity does not necessarily have to
correspond with the default velocity set at "MC_MoveVelocity", because you have not yet
activated a valve profile.
You can stop the axis at a defined position in order to prevent the drive from moving to a fixed
end stop. Use technology function "MC_Stop" to set this position.
7. Set several velocity values up to maximum in succession 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 manipulated variable to the "Master" column, and the velocity value to 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
4-104 A5E00251798-05
Configuration
Enter the valve control output as a "%" unit in the "Master" column. The "Slave"
column contains the corresponding velocity values of the hydraulic axis.
S7-Technology
A5E00251798-05 4-105
Configuration
Example - Valve profiles for a variable speed pump with switching directional
valve
In a system containing a variable speed pump with switching directional valve,
negative motion directions are achieved 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:
Enter the valve control output as a "%" unit in the "Master" column. The "Slave"
column contains the corresponding velocity values of the hydraulic axis. Any
negative control values which may briefly develop due to control functions are
limited in row 1 to 0.
S7-Technology
4-106 A5E00251798-05
Configuration
The structure of the valve profile for negative direction of movement is similar that
of positive direction of movement. The first value pair also limits negative
manipulated values to 0.
You activate the relevant valve profile in the user program by calling the
"MC_SetCharacteristic" technology function, depending on the direction of
movement.
S7-Technology
A5E00251798-05 4-107
Configuration
You assign the corresponding cam disk to the hydraulic axis as possible valve
profile in order to let you activate a valve profile by calling the
"MC_SetCharacteristic" technology function.
To do so, double-click "Profile" in the Navigator of S7T Config.
In the next dialog box, select the cam disks to use as valve profile for this hydraulic
axis.
S7-Technology
4-108 A5E00251798-05
Configuration
Introduction
The "MC_ChangeDataset" technology function can be used to perform a data
record changeover at an axis. You can create data records for speed-controlled
axes, positioning axes and synchronous axes. Virtual axes always have only one
data record.
The data record changeover function can be used, for example, to toggle between
the motor encoder and the machine encoder, or to edit controller parameters.
Notice
When editing data record parameters, note that certain 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 consistency check reports any illegal technology parameter settings when you
configure data records in S7T Config.
Requirements
• The axis is configured.
S7-Technology
A5E00251798-05 4-109
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 record.
2. Set the "data record changeover" check box.
The check box is hidden if the axis already contains several data records.
3. Click "Add".
Result: A new data record is added to the axis.
4. Click "Configure active data set". Confirm the "reconfigure active data record" message with
"Yes".
S7-Technology
4-110 A5E00251798-05
Configuration
Step Description
7. Select the connection and message frame type for the second encoder. In the final step, 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 "Next". Continue by editing the steps in the wizard, and finalize your configuration.
S7-Technology
A5E00251798-05 4-111
Configuration
Step Description
8. In the axis configuration dialog box, select the data record to be loaded after CPU startup
("active after startup").
Result: The "Encoder" table shows an overview of the encoders configured for the axis.
S7-Technology
4-112 A5E00251798-05
Configuration
The diagram below shows the preparation of the actual value of an axis or external
encoder in the Technology CPU.
Data are logged within the position control 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. For external encoders, the system variables
sensordata.sensordata[n]…. are named sensordata….
The actual position value filter can be configured or activated at configuration
parameter
TypeOfAxis.NumberOfEncoders.Encoder_n.AnalogSensor.PositionFilter. The filter
is only available for analog absolute encoders:
S7-Technology
A5E00251798-05 4-113
Configuration
The actual velocity value filter can be set and activated at configuration parameter
TypeOfAxis.SmoothingFilter:
S7-Technology
4-114 A5E00251798-05
Configuration
4.6.8 Configuration
This dialog box also contains functions for managing the data records for data
record changeover. If the TO supports multiple data records, you can:
• create new data records
• delete data records
• define which data record to load for the TO during CPU startup, and
• reconfigure the selected data record.
S7-Technology
A5E00251798-05 4-115
Configuration
Axis settings:
• Drive direction settings
• Load gear settings
• Leadscrew pitch of a linear axis
• Modulo settings
• Backlash compensation settings
Encoder settings:
• Measuring gear settings
• Backlash compensation settings
• Encoder mounting type
S7-Technology
4-116 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-117
Configuration
4.6.10 Default
Stop time
The time set at "Stop time" comes into effect when a moving axis is disabled and
Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
4-118 A5E00251798-05
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup and when
braking, and to velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose between the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of the motion (jerk = 0).
• Constant
The profile shows a constant acceleration, the jerk profile is controllable (jerk
<> 0).
S7-Technology
A5E00251798-05 4-119
Configuration
4.6.11 Limits
S7-Technology
4-120 A5E00251798-05
Configuration
Wiring
The HW limit switches can be wired to the four integrated digital inputs of the
Technology CPU, or to I/O modules such ET 200 or SINAMICS S120 with
TM15/TM17 which are operated on DP(DRIVE).
Traversing range
Traversing limits are monitored at the digital inputs of the HW limit switches. HW
limit switches are always operated with break action, and must always be active
outside the permissible traversing range.
S7-Technology
A5E00251798-05 4-121
Configuration
Retraction
An axis triggering a HW limit switch is stopped with error messages 8013 and
804B. It is retracted from the HW limit switch (release motion) as described below:
• Manual retraction
The axis is returned manually to the permissible traversing range. The error at
the technology DB can only be acknowledged when the axis is retracted.
• Retraction 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
returned to the 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.
The current position of the axis upon reaching the HW limit switch is saved. Only
when this position, plus a safety range, has been passed is the axis considered to
have left the limit switch.
Caution
Once the HW limit switch has been passed, the controller may not be switched off
in order to avoid a conflict between polarity monitoring of the hardware limit
switches and the overrun monitoring of the hardware limit switches in direction of
the permissible range. In this case, the axis must be moved into the valid range
and enabled again without hardware limit switch monitoring.
When you power up the controller, the axis must be located within the valid
traversing range.
Internal states are lost and the configuration is reloaded when the axis passes the
hardware limit switch. Reloading without loss of the approach information is only
possible within the valid range.
Exception: Deactivation of position limit monitoring after a polarity error.
Safety range
The safety range of the HW limit switches is calculated based on the configured
resolution of the system of units of the axis.
Safety range = 1000 / (increments / position)
Example: A linear axis is assigned the position unit "mm" and a resolution
(increments / position) of "1000/unit" in the "Configure units" dialog box, i.e. the
axis position is calculated at 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-122 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-123
Configuration
Status-dependent acceleration
• Acceleration
Axis acceleration, independent on the direction of movement.
• Deceleration
Axis deceleration, independent of the motion direction.
Direction-dependent acceleration
• Acceleration
Acceleration in positive direction of movement, and deceleration in negative
direction of movement.
• Deceleration
Acceleration in negative direction of movement, and deceleration in positive
direction of movement.
Parameter settings with dynamic direction vector are useful, for example, for
suspended axes.
S7-Technology
4-124 A5E00251798-05
Configuration
Note
When the axis moves onto the fixed end stop, and fixed end stop detection with
"use following error" is set, the entry in "Position tolerance after fixed end stop
detection" should be significantly less than that of "Following error for fixed end
stop detection".
S7-Technology
A5E00251798-05 4-125
Configuration
The fixed end stop detection function "use force/torque" requires that the digital
drive assigned to the axis supports torque limiting, and that a corresponding
message frame is set for communication with the drive, for example, message
frames 102 or 105.
S7-Technology
4-126 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-127
Configuration
Fine Interpolator
The fine interpolator function is used is to generate interim setpoints when the
interpolator and controller have a different duty factor. Optional interpolation mode
settings at the fine interpolator:
• No interpolation
• Linear interpolation (constant position for positioning axis)
• Interpolation with constant acceleration (constant acceleration at positioning
axis)
• Interpolation with constant velocity (constant velocity at positioning axis)
When set for positioning axes, the position setpoint is interpolated.
When set as speed-controlled axis, the velocity setpoint is interpolated.
S7-Technology
4-128 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-129
Configuration
The system provides a simple method compensating for the forces of static friction.
During startup from a standstill, a DT1 element adds a static friction compensation
signal to the manipulated variable.
The friction compensation is added relative to the velocity setpoint. It is only active
when motion commands are executed.
The standstill ID for static friction compensation can be set separately, as is the
case for the amplitude and the decay response. The amplitude and decay
response are set in the configuration.
S7-Technology
4-130 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-131
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 power is switched on. The axis is synchronized during homing based on the
activation 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 setpoint)
Detailed settings depend on the measuring systems available for measuring the
reference point and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in the "Active homing" tab of the Axis > Homing
dialog box in S7T Config.
Three homing modes are available for "Active homing":
• Reference cam and encoder zero mark
• Encoder zero mark only
• External zero mark only
Start of the homing function:
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
4-132 A5E00251798-05
Configuration
Select yes on the "Homing required" drop-down list " and no active homing from
the "Homing mode" drop-down list if you only want to use passive homing mode.
Active homing mode with "reference cam and encoder zero mark"
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the reference cam, and secondly the referencing encoder zero
mark, according to the axis configuration. The lower section of the diagram shows
the resultant motion sequence.
S7-Technology
A5E00251798-05 4-133
Configuration
S7-Technology
4-134 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-135
Configuration
S7-Technology
4-136 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-137
Configuration
S7-Technology
4-138 A5E00251798-05
Configuration
Note
When homing with "External zero mark", connect the external zero mark as digital input to
the measuring input of the drive component.
Note
In order to execute a reference point approach in "external zero mark" homing
mode, select values for "Signal transition" and "on the side of the external zero
mark" which correspond with the drive's configuration or functionality. Instead of
being used to configure the measuring function in the drive, the "Signal transition"
and "on external zero mark side" parameters merely 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-05 4-139
Configuration
S7-Technology
4-140 A5E00251798-05
Configuration
Homing to encoder zero mark is used, for example, at axes for which the encoder
can only set one encoder zero mark in the entire traversing range of the axis. The
homing command initiates axis approach to the encoder zero mark. After the
encoder zero mark is detected, the axis approaches the shifted reference point at
homing velocity. The axis position now has the value defined in the reference point
coordinate. The lower section of the diagram shows the resultant motion sequence.
Meaning of the various parameters:
S7-Technology
A5E00251798-05 4-141
Configuration
S7-Technology
4-142 A5E00251798-05
Configuration
MC_Home Mode = 2 At the reference point, the current position is assigned the
Position = x value of input parameter Position.
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
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 marks or reference cam monitoring during passive homing
operations is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
A5E00251798-05 4-143
Configuration
Passive homing mode with "Reference cam and encoder zero mark"
After the axis has passed the reference cam, the next encoder zero mark triggers
axis homing. At the reference point, 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-144 A5E00251798-05
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-05 4-145
Configuration
Note
For homing with "external zero mark", connect the external zero mark as digital measuring
input to the drive component.
Note
In order to be able to execute the reference point approach in "external zero mark" homing
mode as required, you should always set values at "Motion direction" and "on the side of the
external zero mark" which are compatible with the drive's configuration or 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-146 A5E00251798-05
Configuration
Homing mode with "Zero mark only" 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 set at the
Position input parameter of the "MC_Home" technology function.
S7-Technology
A5E00251798-05 4-147
Configuration
S7-Technology
4-148 A5E00251798-05
Configuration
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
A5E00251798-05 4-149
Configuration
4.6.14 Monitoring
S7-Technology
4-150 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-151
Configuration
The "Positioning and standstill monitoring" tab shows whether the Positioning or
Synchronism technology is set for the axis.
Positioning monitoring
At the end of a positioning motion, the function monitors axis approach to the target
position. A positioning window and a time tolerance are defined for reaching this
end position. Monitoring is activated at the end of setpoint interpolation.
You can also set a minimum dwell time in the positioning window to expire before
the positive feedback of the positioning command is activated. 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 for the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB returns error
8019.
S7-Technology
4-152 A5E00251798-05
Configuration
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command equals the value of the target position, and the delay of standstill
monitoring activation has expired.
Standstill monitoring is triggered if the axis moves out of the configured standstill
tolerance window for any time longer than the configured period. When standstill
monitoring is triggered, the axis technology DB returns 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 real axes.
S7-Technology
A5E00251798-05 4-153
Configuration
S7-Technology
4-154 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-155
Configuration
Requirements
• The Technology CPU is configured in HW Config and configuration data are
compiled.
Step Description
1. In the Navigator of S7T Config, double-click "Insert axis".
2. Activate the synchronous operation technology when you configure the axis.
This "Synchronization" technology requires the active "Positioning" and "Speed control"
technologies. You can not for this reason disable these technologies.
Result: The synchronization axis appears in the Navigator of S7T Config, and its corresponding
synchronization object will be created automatically. The object name is automatically assigned
the name of the axis and appended the "_synchronism" suffix.
S7-Technology
4-156 A5E00251798-05
Configuration
Further procedures
For synchronous operation, assign the synchronization axis the corresponding
leading axes and / or cam disks.
S7-Technology
A5E00251798-05 4-157
Configuration
In order to implement gearing you must assign the following axis an available
leading axis. In order to implement camming, you must assign the following axis an
additionally available cam disk.
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:
Leading axis is a real axis:
• Setpoint coupling
• Actual value coupling with extrapolation
Leading axis is a virtual axis:
• Setpoint coupling
Leading axis is an external encoder:
• Actual value coupling with extrapolation
• Actual value coupling without extrapolation
Which one of the axes is to provide the master setpoint 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 camming.
4. Click "Close"
S7-Technology
4-158 A5E00251798-05
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
A5E00251798-05 4-159
Configuration
Prerequisites
• A synchronization axis was configured in S7T Config.
• A superimposing synchronization object was not configured for the axis
S7-Technology
4-160 A5E00251798-05
Configuration
Step Description
1. In S7T Config Navigator, select the synchronization axis at which you want to configure
superimposing synchronization, and then select the Expert > Add 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
A5E00251798-05 4-161
Configuration
Step Description
3. Finalize the synchronous grouping of the superimposing synchronism by assigning it a leading
axis (including cam disks as required.) Set the corresponding check boxes, and then select the
coupling mode at the leading axes.
S7-Technology
4-162 A5E00251798-05
Configuration
4.7.3 Synchronization
S7-Technology
A5E00251798-05 4-163
Configuration
For leading axis-related synchronization, a start or end value relative to the master
setpoint is defined for synchronization, including a synchronization length ("Sync.
length" or "Desync. length").
A synchronization profile is determined, i.e., a dynamic transition is calculated
independent of the dynamic profile of the master setpoint.
The velocities at the edges of the synchronization operation are constant.
The synchronization length defined in the dialog forms the basis for the definition of
the synchronization range with reference to the master setpoint. Synchronization is
initiated using the "MC_GearIn" (gearing), or "MC_CamIn" (camming), or
"MC_GearInSuperImposed" (superimposed gearing), or
"MC_CamInSuperImposed" (superimposed camming) technology functions.
Input parameter Mode at the technology functions determines whether to activate
the values set in S7T Config (Mode = 0) for the synchronization profile, or whether
to apply 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, dynamic response is limited only at the slave axis.
S7-Technology
4-164 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-165
Configuration
Note
When synchronizing a synchronization axis with default dynamic values for which
the start point of synchronization is defined, the following axis accelerates along a
hyperbolic ramp to its target velocity.
Note
If synchronization cannot be performed optimally, a reversal of the motion may be
generated.
Any change of the velocity master setpoint is also applied to the dynamic values of
the synchronization operation. A warning message is output if the configured
tolerance is exceeded.
The synchronization is canceled with error if the master setpoint is inverted when
synchronization is active.
S7-Technology
4-166 A5E00251798-05
Configuration
Synchronization direction
You can set the synchronization direction in the following dialog boxes:
• Gearing
Axis_SYNCHRONISM > Default dialog box, "Gear synchronization" tab,
"Synchronization direction"
• Camming
Axis_SYNCHONISM > Default, "Cam synchronization" tab, "Synchronization
direction"
The settings described below apply to synchronization and to desynchronization.
These settings can also be made at 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 following axis is
possible in the currently set direction. The current direction of motion will be
changed for synchronization if necessary. 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 synchronization in negative direction is allowed, i.e. there may be no
transitions from negative to positive velocities during synchronization. If
synchronization fails, S7T Config outputs error message "50007 Error when
activating/deactivating synchronous mode".
• Positive synchronization direction (NEGATIVE_DIRECTION)
Only synchronization in positive direction is allowed, i.e. there may be no
transitions from positive to negative velocities during synchronization. If
synchronization fails, S7T Config outputs error message "50007 Error when
activating/deactivating synchronous mode".
Compatibility mode is always used when Mode = 1 is set at "MC_CamIn" or
"MC_GearIn".
S7-Technology
A5E00251798-05 4-167
Configuration
S7-Technology
4-168 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-169
Configuration
4.7.4 Synchronization
You can set the desynchronization conditions in the "Gear synchronization" and
"Cam synchronization" tab of the Synchronous operation > Default dialog box.
Settings Meaning
Effective immediately. Synchronization is performed immediately after the start of the
function.
The settings in "Sync. pos. master setpoint", "Sync. pos. following axis"
and "Position reference" are not evaluated.
Default synchronization position The synchronization criterion depends on the position of the leading
of the leading axis axis. The synchronization position is defined in "Sync. pos. master
setpoint".
The setting in "Sync. pos. following axis" is ignored.
Default synchronization position The synchronization criterion depends on the position of the following
of the following axis axis. The synchronization position is defined in "Sync. pos. following
(only with gearing) axis".
The setting in "Sync. pos. master setpoint" is ignored.
Transition at the end of the active This can only be set with relative leading axis reference.
cam disk The synchronization criterion is the master setpoint position at the end
(only with camming) of the current cam disk cycle.
The setting in "Sync. pos. following axis" is ignored.
S7-Technology
4-170 A5E00251798-05
Configuration
Settings Meaning
Default synchronization position The synchronization criterion depends on the position of the leading
of the leading axis and following axis. The synchronization position is defined in "Sync. pos. master
axis setpoint".
In addition, an offset is generated at the following axis as a result of
the setting in "Sync. Pos. following axis", i.e., the following axis does
not synchronize to the programmed (e.g., via cam disk) slave position
but to the "Sync. Pos. following axis" position plus the absolute position
value of the following axis from the cam disk.
Example:
The following axis is coupled to the leading axis via cam disk.
The cam disk was created to position the following axis to 70 at a
leading axis position of 50.
With the parameter setting "SyncPos following axis" = 80, the following
axis is synchronized at position 150 (70 + 80) when the leading axis is
at position 50.
Coupling via the cam disk is still present (scaling remains the same),
but now with and offset an 80.
Effective immediately and Synchronization is performed immediately after the start of the
synchronous position of the function. The phase shift between the leading and following slave axes
following axis results from the position the following axis assumed when the function
was started. The offset caused by the acceleration ramp of the
following axis is this compensated for. The synchronization motion is
based on the dynamic response defaults.
The setting in "Sync. pos. master setpoint" is ignored.
Most recent setting Not usable
Position reference
S7-Technology
A5E00251798-05 4-171
Configuration
Settings Meaning
Start at synchronization position Synchronization starts at the synchronization position. The
synchronization length is derived form the time-based synchronization
profile in dynamic data, and for a leading axis-related synchronization
profile from the "Synchronization length" parameter. The following axis
is synchronized when this length has been passed.
Synchronization in before the In this synchronization mode, the following axis is in synchronism with
synchronization position the leading axis when it reaches the synchronization position.
The start position of the synchronization with time-based
synchronization profile is determined by the dynamic data, and with
leading axis-related synchronization profile, by the "Synchronization
length" parameter.
Synchronization direction
S7-Technology
4-172 A5E00251798-05
Configuration
Settings Meaning
Same direction as master Synchronization always takes place in the direction of motion of the
following axis.
Compatibility mode Gearing:
The following axis is synchronized in positive direction
Camming:
The following axis is synchronized within the shortest distance.
Shortest path without direction The following axis is synchronized within the shortest distance.
preset
Negative synchronization The synchronization motion is always performed in negative direction.
direction
Positive synchronization direction The synchronization motion is always performed in positive direction.
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.
S7-Technology
A5E00251798-05 4-173
Configuration
Settings Meaning
Effective immediately. Desynchronization starts immediately after the start of the function.
The settings in "DeSync. master setpoint", "Desync. following axis" and
"Position reference" are ignored.
Default desynchronization Desynchronization starts based on the following axis position set in
position of the following axis "DeSync following axis".
The settings in "DeSync. leading axis" are ignored.
Default desynchronization Desynchronization starts based on the leading axis position set in
position of the leading axis "DeSync master setpoint".
The settings in "DeSync. following axis" are ignored.
End of cam disk cycle The desynchronization is performed at the end of the current cam disk
(only with camming) cycle.
Most recent setting Not usable
Position reference
S7-Technology
4-174 A5E00251798-05
Configuration
Settings Meaning
Stop on reaching the Starts desynchronization at the desynchronization position.
desynchronization 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-related synchronization profile.
Desynchronization starts after this length has been passed.
Stop in advance of the In this mode, desynchronization starts when the axis reaches the
desynchronization 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-related 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
is started in advance of the desynchronization position, and stopped
when the position is passed.
Desynchronization is performed based on the profile in relation to the
desynchronization length or dynamic defaults.
Most recent setting Not usable
S7-Technology
A5E00251798-05 4-175
Configuration
The section below shows various system variables of S7T Config which can be
used to view the synchronization status:
S7-Technology
4-176 A5E00251798-05
Configuration
4.7.7 Configuration
This dialog box also contains functions for managing the data records for data
record changeover. If the TO supports multiple data records, you can:
• create new data records
• delete data records
• define which data record to load for the TO during CPU startup, and
• reconfigure the selected data record.
S7-Technology
A5E00251798-05 4-177
Configuration
Axis settings:
• Drive direction settings
• Load gear settings
• Leadscrew pitch of a linear axis
• Modulo settings
• Backlash compensation settings
Encoder settings:
• Measuring gear settings
• Backlash compensation settings
• Encoder mounting type
S7-Technology
4-178 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-179
Configuration
4.7.9 Default
Stop time
The time set at "Stop time" comes into effect when a moving axis is disabled and
Stop mode = 2 is set at the MC_Power parameter.
S7-Technology
4-180 A5E00251798-05
Configuration
Velocity profile
The velocity profile defines the response of the axis during startup and when
braking, and to velocity changes.
The technology functions do not use the default value. Use input parameter Jerk to
edit the velocity profile.
You can choose between the following profiles:
• Trapezoidal
The trapezoidal profile is used for linear acceleration in positive and negative
direction of the motion (jerk = 0).
• Constant
The profile shows a constant acceleration, the jerk profile is controllable
(jerk <> 0).
S7-Technology
A5E00251798-05 4-181
Configuration
4.7.10 Limits
S7-Technology
4-182 A5E00251798-05
Configuration
Wiring
The HW limit switches can be wired to the four integrated digital inputs of the
Technology CPU, or to I/O modules such ET 200 or SINAMICS S120 with
TM15/TM17 which are operated on DP(DRIVE).
Traversing range
Traversing limits are monitored at the digital inputs of the HW limit switches. HW
limit switches are always operated with break action, and must always be active
outside the permissible traversing range.
S7-Technology
A5E00251798-05 4-183
Configuration
Retraction
An axis triggering a HW limit switch is stopped with error messages 8013 and
804B. It is retracted from the HW limit switch (release motion) as described below:
• Manual retraction
The axis is returned manually to the permissible traversing range. The error at
the technology DB can only be acknowledged when the axis is retracted.
• Retraction 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
returned to the 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.
The current position of the axis upon reaching the HW limit switch is saved. Only
when this position, plus a safety range, has been passed is the axis considered to
have left the limit switch.
Caution
Once the HW limit switch has been passed, the controller may not be switched off
in order to avoid a conflict between polarity monitoring of the hardware limit
switches and the overrun monitoring of the hardware limit switches in direction of
the permissible range. In this case, the axis must be moved into the valid range
and enabled again without hardware limit switch monitoring.
When you power up the controller, the axis must be located within the valid
traversing range.
Internal states are lost and the configuration is reloaded when the axis passes the
hardware limit switch. Reloading without loss of the approach information is only
possible within the valid range.
Exception: Deactivation of position limit monitoring after a polarity error.
Safety range
The safety range of the HW limit switches is calculated based on the configured
resolution of the system of units of the axis.
Safety range = 1000 / (increments / position)
Example: A linear axis is assigned the position unit "mm" and a resolution
(increments / position) of "1000/unit" in the "Configure units" dialog box, i.e. the
axis position is calculated at 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-184 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-185
Configuration
Status-dependent acceleration
• Acceleration
Axis acceleration, independent on the direction of movement.
• Deceleration
Axis deceleration, independent of the motion direction.
Direction-dependent acceleration
• Acceleration
Acceleration in positive direction of movement, and deceleration in negative
direction of movement.
• Deceleration
Acceleration in negative direction of movement, and deceleration in positive
direction of movement.
Parameter settings with dynamic direction vector are useful, for example, for
suspended axes.
S7-Technology
4-186 A5E00251798-05
Configuration
Note
When the axis moves onto the fixed end stop, and fixed end stop detection with
"use following error" is set, the entry in "Position tolerance after fixed end stop
detection" should be significantly less than that of "Following error for fixed end
stop detection".
S7-Technology
A5E00251798-05 4-187
Configuration
The fixed end stop detection function "use force/torque" requires that the digital
drive assigned to the axis supports torque limiting, and that a corresponding
message frame is set for communication with the drive, for example, message
frames 102 or 105.
S7-Technology
4-188 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-189
Configuration
Note
When the Dynamic Servo Control (position controller in the drive) function is active,
backlash locking (limiting of manipulated variable for the drive) is not effective. The
backlash interlock therefore needs to be generated in the drive when DSC is
enabled.
S7-Technology
4-190 A5E00251798-05
Configuration
Fine Interpolator
The fine interpolator function is used is to generate interim setpoints when the
interpolator and controller have a different duty factor. Optional interpolation mode
settings at the fine interpolator:
• No interpolation
• Linear interpolation (constant position for positioning axis)
• Interpolation with constant acceleration (constant acceleration at positioning
axis)
• Interpolation with constant velocity (constant velocity at positioning axis)
When set for positioning axes, the position setpoint is interpolated.
When set as speed-controlled axis, the velocity setpoint is interpolated.
S7-Technology
A5E00251798-05 4-191
Configuration
S7-Technology
4-192 A5E00251798-05
Configuration
The system provides a simple method compensating for the forces of static friction.
During startup from a standstill, a DT1 element adds a static friction compensation
signal to the manipulated variable.
The friction compensation is added relative to the velocity setpoint. It is only active
when motion commands are executed.
The standstill ID for static friction compensation can be set separately, as is the
case for the amplitude and the decay response. The amplitude and decay
response are set in the configuration.
S7-Technology
A5E00251798-05 4-193
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 power is switched on. The axis is synchronized during homing based on the
activation 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 setpoint)
Detailed settings depend on the measuring systems available for measuring the
reference point and on the motion an axis may perform for homing.
Active homing
Active homing can be configured in the "Active homing" tab of the Axis > Homing
dialog box in S7T Config.
Three homing modes are available for "Active homing":
• Reference cam and encoder zero mark
• Encoder zero mark only
• External zero mark only
Start of the homing function:
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
4-194 A5E00251798-05
Configuration
Select yes on the "Homing required" drop-down list " and no active homing from
the "Homing mode" drop-down list if you only want to use passive homing mode.
Active homing mode with "reference cam and encoder zero mark"
When you start homing by calling the "MC_Home" technology function, the axis
first approaches the reference cam, and secondly the referencing encoder zero
mark, according to the axis configuration. The lower section of the diagram shows
the resultant motion sequence.
S7-Technology
A5E00251798-05 4-195
Configuration
S7-Technology
4-196 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-197
Configuration
S7-Technology
4-198 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-199
Configuration
S7-Technology
4-200 A5E00251798-05
Configuration
Note
When homing with "External zero mark", connect the external zero mark as digital input to
the measuring input of the drive component.
Note
In order to execute a reference point approach in "external zero mark" homing
mode, select values for "Signal transition" and "on the side of the external zero
mark" which correspond with the drive's configuration or functionality. Instead of
being used to configure the measuring function in the drive, the "Signal transition"
and "on external zero mark side" parameters merely 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-05 4-201
Configuration
S7-Technology
4-202 A5E00251798-05
Configuration
Homing to encoder zero mark is used, for example, at axes for which the encoder
can only set one encoder zero mark in the entire traversing range of the axis. The
homing command initiates axis approach to the encoder zero mark. After the
encoder zero mark is detected, the axis approaches the shifted reference point at
homing velocity. The axis position now has the value defined in the reference point
coordinate. The lower section of the diagram shows the resultant motion sequence.
Meaning of the various parameters:
S7-Technology
A5E00251798-05 4-203
Configuration
S7-Technology
4-204 A5E00251798-05
Configuration
MC_Home Mode = 2 At the reference point, the current position is assigned the
Position = x value of input parameter Position.
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
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 marks or reference cam monitoring during passive homing
operations is indicated by a corresponding error message at the technology DB. The current
axis motion is terminated in this case.
S7-Technology
A5E00251798-05 4-205
Configuration
Passive homing mode with "Reference cam and encoder zero mark"
After the axis has passed the reference cam, the next encoder zero mark triggers
axis homing. At the reference point, 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-206 A5E00251798-05
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-05 4-207
Configuration
Note
For homing with "external zero mark", connect the external zero mark as digital measuring
input to the drive component.
Note
In order to be able to execute the reference point approach in "external zero mark" homing
mode as required, you should always set values at "Motion direction" and "on the side of the
external zero mark" which are compatible with the drive's configuration or 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-208 A5E00251798-05
Configuration
Homing mode with "Zero mark only" 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 set at the
Position input parameter of the "MC_Home" technology function.
S7-Technology
A5E00251798-05 4-209
Configuration
S7-Technology
4-210 A5E00251798-05
Configuration
When homing is successfully completed, the axis technology DB returns the status
Statusword.HomingDone = TRUE.
S7-Technology
A5E00251798-05 4-211
Configuration
4.7.13 Monitoring
The slave values calculated by the synchronization object and the compensation
functions on the following axis are monitored in terms of their dynamic activation at
the following axis. If necessary, corresponding compensatory motions are
generated.
The currently set high limits of velocity and acceleration (including jerk) are active
at the axis.
If a motion can not be carried out, an attempt is made to follow the values as
closely as possible by initiating a compensation motion which is determined by the
maximum dynamic values of the axis. The result is a setpoint error
S7-Technology
4-212 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-213
Configuration
The "Positioning and standstill monitoring" tab shows whether the Positioning or
Synchronism technology is set for the axis.
Positioning monitoring
At the end of a positioning motion, the function monitors axis approach to the target
position. A positioning window and a time tolerance are defined for reaching this
end position. Monitoring is activated at the end of setpoint interpolation.
You can also set a minimum dwell time in the positioning window to expire before
the positive feedback of the positioning command is activated. 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 for the positioning command is output when the actual value
reaches the positioning window.
When positioning monitoring is triggered, the axis technology DB returns error
8019.
S7-Technology
4-214 A5E00251798-05
Configuration
Standstill monitoring
Standstill monitoring is enabled when the position setpoint of a positioning
command equals the value of the target position, and the delay of standstill
monitoring activation has expired.
Standstill monitoring is triggered if the axis moves out of the configured standstill
tolerance window for any time longer than the configured period. When standstill
monitoring is triggered, the axis technology DB returns 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 real axes.
S7-Technology
A5E00251798-05 4-215
Configuration
S7-Technology
4-216 A5E00251798-05
Configuration
In the "Synchronous operation monitoring" tab of the Axis > Monitoring functions
dialog box, you can enable synchronization error monitoring at the following axis.
The "Synchronous operation monitoring" tab indicates that you have assigned the
synchronization technology to the axis.
The following settings are possible:
Setpoint tolerance:
Enter the maximum permissible setpoint tolerance.
S7-Technology
A5E00251798-05 4-217
Configuration
S7-Technology
4-218 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-219
Configuration
S7-Technology
4-220 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-221
Configuration
Synchronization
• Synchronization:
Here, you specify when the slave axis is synchronized with the master axis.
• Position reference:
Here, you specify 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.
• Sync. Pos. master setpoint:
Here, you enter the position of the synchronization point of the master axis.
• Sync. Pos. following axis:
Here, you enter the position of the synchronization point of the slave axis.
Desynchronization
• Desynchronization
Here, you specify when the following axis is desynchronized from the leading
axis.
• Position reference:
Here, you specify the position of the desynchronization profile relative to the
position of the desynchronization point.
• Desync. master setpoint:
Here, you enter the position of the desynchronization point for the leading axis.
• Desync. following axis:
Here, you enter the position of the desynchronization point for the following
axis.
S7-Technology
4-222 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-223
Configuration
Synchronization
• Synchronization:
Here, you specify when the slave axis is synchronized with the master axis
• Position reference:
Here, you specify 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
• Sync. Pos. master setpoint:
Here, you enter the position of the synchronization point of the master axis
• Sync. Pos. following axis:
Here, you enter the position of the synchronization point of the slave axis
Desynchronization
• Desynchronization
Here, you specify when the following axis is desynchronized from the leading
axis
• Position reference:
Here, you specify the position of the desynchronization profile relative to the
position of the desynchronization point
• Desync. master setpoint:
Here, you enter the position of the desynchronization point for the leading axis
• Desync. following axis:
Here, you enter the position of the desynchronization point for the following
axis
S7-Technology
4-224 A5E00251798-05
Configuration
Profile setting:
Here, you specify the reference for the synchronization profile.
• Leading axis-related synchronization
• Time-based synchronization profile
• Last programmed setting
The default "last programmed setting" profile is not available in this version.
S7-Technology
A5E00251798-05 4-225
Configuration
Time-based 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.
The Velocity profile, Velocity, Acceleration, Deceleration, and Jerk parameters are
only evaluated for time-related synchronization profiles.
S7-Technology
4-226 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-227
Configuration
S7-Technology
4-228 A5E00251798-05
Configuration
Requirements
• The data of the Technology CPU are configured and compiled in HW Config.
Step Description
1. To create a new cam disk in S7T Config using the CamEdit tool, double-click "Insert cam disk"
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 only refer to CamEdit. For a detailed description of
the functions and handling of SCOUT CamTool, refer to the "SIMOTION CamTool" manual.
S7-Technology
A5E00251798-05 4-229
Configuration
Step Description
2. In the "Insert cam disk" dialog box, type in the name of the technology object and of the author,
and 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 if necessary.
S7-Technology
4-230 A5E00251798-05
Configuration
Step Description
4. Close CamEdit.
Note
After interpolation, you can only insert new polynomials or interpolation points after
you cleared the cam disk.
The properties of leading and following axes are ignored during interpolation and in
the continuity check.
S7-Technology
A5E00251798-05 4-231
Configuration
In the Insert cam dialog box, you can choose to define the cam disk based on
interpolation points or on polynomials.
• Definition based on interpolation points
The interpolation point table represents the interpolation points by the formula
P = P(x,y). The order by which the value pairs are entered is irrelevant. They
are automatically sorted in the definition range in ascending order.
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 may also contain a trigonometry function.
S7-Technology
4-232 A5E00251798-05
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 motion transitions using the VDI wizard.
• Edit the cam of the cam disk
• Download the cams 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's geometry. Compare the cam on the PG/PC with the cam in the
PLC (scaled / non-scaled display).
The interpolation settings in CamEdit will be ignored if made in technology function
"MC_CamInterpolate". The cam can not be scaled and shifted in the user program.
S7-Technology
A5E00251798-05 4-233
Configuration
4.8.3.1 Interpolation
At the "Interpolation" tab of the CamEdit dialog box, you define whether to retain
gaps between the segments of the cam disk, or whether to interpolate between the
end points of particular segments. Gaps represent discontinuity in the cam profile.
They develop whenever cam disk segments do not overlap. You can set the priority
of a specific overlapping cam disk segments.
The settings shown can be made by setting the "Expert mode" check box:
S7-Technology
4-234 A5E00251798-05
Configuration
2. If the gap length is greater than the length defined in 1., interpolate with ...
At "Interpolation mode", you can select the mode of interpolation between gaps
with a length greater than the previously defined maximum.
• Linear (linear interpolation
Continuous closing of gaps by inserting a linear segment between the
interpolation points.
• Cubic splines (interpolation with cubic splines)
Gap closing with continuous differentiation. The cam profile runs through the
specified interpolation points.
• Bezier Splines (interpolation with Bezier splines)
The approximation trend runs along the defined interpolation points.
S7-Technology
A5E00251798-05 4-235
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 interpolation conditions.
S7-Technology
4-236 A5E00251798-05
Configuration
Select the "Scaling" tab in the CamEdit dialog box to define the scaling and shift of
the leading and following axes.
S7-Technology
A5E00251798-05 4-237
Configuration
Note
If a scaled and/or shifted cam disk is used in more than one object, the
adjustments affect all relevant objects.
S7-Technology
4-238 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-239
Configuration
S7-Technology
4-240 A5E00251798-05
Configuration
Shift of the leading axis values and of the following axis values:
S7-Technology
A5E00251798-05 4-241
Configuration
S7-Technology
4-242 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-243
Configuration
Scaling of the leading axis values and the following axis values:
S7-Technology
4-244 A5E00251798-05
Configuration
Shift of the leading axis values and the following axis values
Scaling of the leading axis values and the following axis values:
S7-Technology
A5E00251798-05 4-245
Configuration
You can also use SCOUT CamTool to create and edit cam disks. This tool must be
purchased separately. Benefits derived from using the SCOUT CamTool:
• Precise, graphic visualization of the cam
• Quick and easy cam definition 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 maximum velocity, the motor torque required and
on mechanical load.
• Tuning the velocity, acceleration or jerk parameters of the cam
The SCOUT CamTool SW can be totally integrated in 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
4-246 A5E00251798-05
Configuration
Working ranges
S7-Technology
A5E00251798-05 4-247
Configuration
Motion transitions
Possible motion transitions in the various working ranges:
Note
The VDI Wizard supports the creation of cam disks in S7T Config. Select CamEdit
to open this tool.
S7-Technology
4-248 A5E00251798-05
Configuration
References
• VDI-Richtlinie 2143, Bl. 1: Bewegungsgesetze für Kurvengetriebe –
Theoretische Grundlagen. Düsseldorf: VDI-Verlag, 1980
• Volmer, J. (edited.): Getriebetechnik – Kurvengetriebe. 2. Printed in Berlin
Published by Technik Verlag, 1989
S7-Technology
A5E00251798-05 4-249
Configuration
Any output cam to be used in the user program must have been be inserted in
S7T Config as "Output cam" TO.
You program the object in the user program using the technology function
"MC_CamSwitch" (position-based/switching output cam) or "MC_CamSwitchTime"
(time-based output cam.) The reference to the output cam created in S7T Config is
defined by setting the corresponding Technology DB number at input CamSwitch.
The ON / OFF conditions are configured directly at the block.
Requirements
• The data of the Technology CPU are configured and compiled in HW Config.
• An axis or external encoder was created in S7T Config.
Step Description
1. In S7T Config Navigator, double-click "Insert output cam".
S7-Technology
4-250 A5E00251798-05
Configuration
Step Description
2. In the "Insert output cam" dialog box, type in the name of the TO and of the author, then add the
version number and a comment. Set the "Open editor automatically" in order to automatically
open the output cam configuration dialog box:
Further procedures
Configure the output cam in the Cams> Configuration dialog box.
S7-Technology
A5E00251798-05 4-251
Configuration
In the Output Cam_1 - Configuration dialog box, you can set the following items
for the "Output Cam" TO.
• The output cam type: Position-based cams, time-based cams, or switching
cams
• The system cycle in which the cam is calculated
• Reference value of the output cam: Setpoints or actual values
Applicable to the setpoint reference:
If the cam is not being processed within the position control cycle, it must be
run within the same cycle as the axis.
• Using the output cam as high-speed output cam
Note
Output cams also take effect at non-homed axes.
Output
Set the "Enable output" check box to assign a HW address and a logic operation to
the "Output Cam" TO.
With disabled output the output cam can only be evaluated in the software.
S7-Technology
4-252 A5E00251798-05
Configuration
HW address
The output 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 output cams can be connected to the same output.
The switching accuracy of the output cam is determined by:
• The accuracy of I/O output
• The priority of the output cam in the system cycles
• The compensation for constant delay times
Logical operation
In the Cams > Configuration dialog box, you can determine whether to
interconnect the output cam with the output by means of a logical AND or OR
operation.
That is, all ORed output cams will be grouped and then logically linked at the
output with the output cams linked by AND logic.
OR logic with two output cams
s
Cam 1
Cam 2
Output
S7-Technology
A5E00251798-05 4-253
Configuration
In order to enhance the switching accuracy of output cams you can enable the
"High-speed cams" function in the Output cam_1 - Configuration dialog box.
Only the integrated outputs of the Technology CPU or the outputs of a TM15 or
TM17 High Feature modules support operation as high-speed cam, because these
are supported by internal HW functions.
Instructions
• High-speed and normal output cams may not share the same hardware
address and bit number. Always use separate addresses.
• A high-speed cam output may not be operated at a hardware address on
DP(DRIVE)
Output cams are calculated based on the IPO cycle or on the position controller
cycle. High-speed output cams should always be calculated based on the position
controller cycle. The cam signal is output within the position control cycle. TM15
and TM17 output cams are output with time stamp. Hence, their accuracy does not
depend on the execution cycle.
S7-Technology
4-254 A5E00251798-05
Configuration
The examples below shows the time-based reaction of output cams when "Type of
output cam values = setpoints" is set in S7T Config. The examples are based on a
1:1 ratio between the position control cycle and the IPO cycle.
S7-Technology
A5E00251798-05 4-255
Configuration
S7-Technology
4-256 A5E00251798-05
Configuration
Any measuring input deployed in the user program must be inserted in S7T Config
as a "Measuring input" TO.
You program the function by calling the technology function "MC_MeasuringInput"
in the user program. There, you enable and disable the measuring input according
to the various operating mode settings, and define its measurement range. The
reference to the measuring input created in S7T Config is defined by setting the
number of the relevant technology DB at the MeasuringInput input parameter.
Requirements
• The data of the Technology CPU are configured and compiled in HW Config.
• An axis or external encoder was inserted in S7T Config.
Step Description
1. In the S7T Config navigator, double-click "Insert measuring input".
S7-Technology
A5E00251798-05 4-257
Configuration
Step Description
2. On the "Insert measuring input" dialog box, type in the name of the TO, and then add the name
of the author, the version number and a comment as required. Set the "Open editor
automatically" in order to automatically open the measuring input configuration dialog box:
Further procedures
Configure the measuring input in the Measuring Input> Configuration dialog box.
S7-Technology
4-258 A5E00251798-05
Configuration
Select the Measuring input > Configuration dialog box to set the following
parameters for the "measuring input" TO:
• The system clock: Ipo, Ipo2, or position control cycle. The measurement
results are written by default to the system variables of the TO within the
interpolator cycle.
• The measuring input number: This measuring input number corresponds with
the measuring input used at the drive component (only if "Measuring input at
TM15/TM17" is disabled.) You can assign several measuring inputs to a
measuring input.
• Die system number: Corresponds with the number of the encoder system used
(if several encoders are configured at the axis, otherwise 1.) An encoder
system can be assigned to several measuring inputs.
Set the "monitor current status" check box to suppress short pulses (shorter than
the position control cycle) at the measuring input. A measuring input triggered at
the positive edge is not enabled until the signal status at the measuring input was 0
for the duration of at least one position control cycle.
If the measuring input is located on a TM15/TM17 High Feature module, set the
"Measuring input at 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 input signal on DP(DRIVE), and a drop-down list from which you can
select the corresponding bit number.
S7-Technology
A5E00251798-05 4-259
Configuration
Note
The measuring 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 inputs.
The measuring input 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 input to IM 174/ADI4 if the IM 174/ADI4 is also
connected to SIMODRIVE.
S7-Technology
4-260 A5E00251798-05
Configuration
S7-Technology
A5E00251798-05 4-261
Configuration
Requirements
• The Technology CPU is configured in HW Config
• You configured a drive component with a free encoder system, or a
PROFIBUS encoder SIMODRIVE sensor in HW Config A PROFIBUS encoder
SIMODRIVE sensor must be operated in "isochronous" mode. For details, refer
to the product information, or to the encoder documentation.
• The hardware configuration was compiled in HW Config and saved.
Step Description
1. Open the Navigator of S7T Config, and then double-click "Insert external encoder."
{bmc To_extgeber_einfuegen_b.bmp}
2. On the next dialog box, type in the TO name, and include the name of the author, the version
number and a comment as required.
{bmc D_extgeber_allgemein_b.bmp}
Click "OK" to confirm your entries.
3. The "External encoder configuration" wizard opens.
Select the encoder type: linear or rotary.
{bmc D_extgeber_achstyp_b.bmp}
Confirm your entry by clicking "Next."
4. The "External encoder configuration units" dialog box opens.
Select the units required, for example "degrees."
{bmc D_extgeber_Einheiten_b.bmp}
Confirm your entries by clicking "Next."
5. The "External encoder configuration - Modulo encoder" dialog box opens.
{bmc D_geber_modulo_b.bmp}
You can implement the external encoder as modulo encoder, i.e. the position values returned by
the encoder refer to a traversing range which is defined by the modulo start and length values,
by setting the check box and these modulo values.
The address information will be read from HW Config.
6. The "External encoder configuration - Encoder number" dialog box opens.
The "External encoder configuration - Encoder number" dialog box will open if several encoder
systems are available. If you configure only one drive or only one encoder system in HW Config,
the dialog box from shown in step 7 will be opened immediately.
{bmc D_extgeber_auswahl_b.bmp}
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-262 A5E00251798-05
Configuration
Step Description
7. The dialog box shows additional information and options after you selected the encoder.
{bmc D_extgeber_auswahl_2_b.bmp}
Message frame type:
The message frame type selected for the encoder system of the drives must correspond with
the setting in HW Config (see also Selecting the message frame type).
• SIMODRIVE sensor settings
When using the PROFIBUS encoder SIMODRIVE sensor, always select "Standard
telegram 81" as the message frame type.
• IM 174/ADI4 settings
Always select "Standard telegram 3" as message frame type for IM 174/ADI4
The "Drive number" parameter is displayed as drop-down list when you make your settings
for IM 174/AD14 From this drop-down list, select the encoder number set at IM 174/ADI4
for this encoder.
Encoder type / mode and measuring system:
From the "Encoder type", "Encoder mode" and "Measuring system" drop-down lists, select the
settings used to configure the drive component or encoder. For details, refer to the
supplementary descriptions of SIMODRIVE 611 universal, MASTERDRIVES MC, IM 174/ADI4
and SIMODRIVE Sensor, or to the device manuals.
Example of settings at the SIMODRIVE Sensor:
• Encoder type: "Absolute encoder cyclic absolute"
• Encoder mode: "SSI"
• Measuring system: "Rotary encoder system"
Confirm your entries by clicking "Next."
8. The "External encoder configuration - Encoder data" dialog box opens. The content of this
dialog box depends on the selected encoder type. The diagram shows the dialog box for the
SIMODRIVE Sensor encoder.
{bmc D_extgeber_GebDat_b.bmp}
• IM 174/ADI4 settings
Enter the encoder data at IM 174/ADI4 which you configured in HW Config
• Settings of the encoder systems on SIMODRIVE, MASTERDRIVES etc
Enter the same encoder data you set in the drive configuration
• SIMODRIVE sensor settings
Enter the values shown below for the SIMODRIVE sensor:
Parameters Single-turn Multiturn encoder
encoder
Encoder resolution 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
Confirm your entry by clicking "Next."
9. The dialog box below shows a summary of the configuration.
{bmc D_extgeber_fertig_b.bmp}
Close the wizard by clicking "Apply".
S7-Technology
A5E00251798-05 4-263
Configuration
The External encoder > Configuration dialog box shows the drive and encoder
settings.
Click "Reconfigure external encoder" in order to open the encoder wizard and edit
the settings.
S7-Technology
4-264 A5E00251798-05
Configuration
You define the mechanical parameters of the external encoder in the External
encoder > Mechanics dialog box.
S7-Technology
A5E00251798-05 4-265
Configuration
Open the External encoder > Default dialog box to enter the reference position
of the external encoder. Use the reference position to define the position within the
coordinate system of the "External encoder" TO. This position setting can be used
for synchronization using the "MC_ExternalEncoder" technology function in modes
4 and 5.
S7-Technology
4-266 A5E00251798-05
Configuration
Referencing 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 – Permissible configuration
F – Illegal configuration
N - Function not supported
Gx – Encoder with encoder zero mark (TTL, sine/cosine)
Gy - Encoder without encoder zero mark (Endat)
Note
Please note that the reference point modes listed above are not supported by all
drive components (for details, refer to the corresponding documentation).
S7-Technology
A5E00251798-05 4-267
Configuration
The standstill signal for the external encoder can be set at the configuration data in
the Expert List of S7T Config:
• The "Standstill signal velocity threshold" can be set at configuration parameter
TypeOfAxis.StandStillSignal.maxVeloStandStill
• The "Signal output delay" can be set at configuration parameter
TypeOfAxis.StandStillSignal.delayTimeToActivate
S7-Technology
4-268 A5E00251798-05
Configuration
Step Description
1. Select the source station in SIMATIC Manager, and then select the Edit > Copy command.
2. Select the destination project, and then select the Edit > Paste command.
After this insertion, a new station with an unambiguous name is shown in the project. All STEP 7
components were copied to this new station.
3. Open the hardware configuration of 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 the settings for isochronous operation of the configured drive
component.
4. Save and compile the HW configuration. Close HW Config.
5. Select "Technology objects" in SIMATIC Manager, and then run "Technology Objects
Management" by selecting Edit > Open object.
Adapt the technology DBs you generated as required.
You have now created a new station which contains the data of the source station
(save for the difference in names.)
S7-Technology
A5E00251798-05 4-269
Configuration
S7-Technology
4-270 A5E00251798-05
5 Programming
S7-Technology
A5E00251798-05 5-1
Programming
The diagram represents time requirements of the various cycles in time slice units.
The time slice requirements vary, depending on the number of TOs configured.
The time slices of the interpolator cycle, the interpolator cycle 2 and the update
cycle of the technology DBs are not processed in all position control cycles.
DP communication, the position control cycle, the interpolator cycle, interpolator
cycle 2 and the Technology DB update cycle are executed with descending priority.
Command execution utilizes the interval between the position control cycles. The
smaller this interval, the more time is required for command execution.
Cycles selected in the example shown:
• Position control cycle = 1
(corresponds with a 1:1 ratio between the DP cycle and the position control
cycle)
• Interpolator cycle = 2
(corresponds with a 1:2 ratio between the position control cycle and the
interpolator cycle)
• Interpolator cycle 2 = 2
(corresponds with a 1:2 ratio between the interpolator cycle and interpolator
cycle 2)
• Update cycle of the technology DBs = four times the interpolator cycle
(interpolator cycle 2 in the example shown)
The cycles shown are synchronized with the DP cycle, or with DP communication.
• DP cycle
The DP cycle determines the intervals for data exchange with the DP I/O on
DP(DRIVE.) Data are exchanged within the "DP communication" time slice.
The constant bus cycle time at the DP(DRIVE) must be enabled by setting the
corresponding parameters in HW Config. The integrated technology in
combination with the isochronous components on DP(DRIVE) form the basis of
isochronous operation.
• Position control cycle clock
The system also computes the axis position control within the time slice of the
position control cycle clock. The time requirements of this time slice remain
near constant while the Technology CPU is in operation.
The position control cycle clock determines the interval between the position
control cycles.
The value of the position control cycle clock can be set to a multiple of the DP
cycle in S7T Config. We recommend a clock ratio of 1:1 in order to enhance
performance in terms of TO processing.
• Interpolator cycle
The time slice of the interpolator cycle is also used to compute the control
variables. The interpolator cycle clock determines the interval between two
interpolator cycles. Time slice requirements may increase briefly at the start of
one or several commands.
• Interpolator cycle 2
Interpolator cycle 2 handles the same tasks as the interpolator cycle and can
be used for TOs of a lower priority class.
S7-Technology
5-2 A5E00251798-05
Programming
S7-Technology
A5E00251798-05 5-3
Programming
The example shows the time profiles with insufficient DP cycle length. The clock
ratios as shown in the previous example apply:
• Cycle 1
The time required for the interpolator cycle exceeds the time available in cycle
1. Interpolator cycle 2, including the update of Technology DBs, can thus not
be started within this cycle. The start will be postponed to the next cycle.
• Cycle 2
DP communication and the position control cycle interrupt the interpolator
cycle. The time slice of the interpolator cycle resumes when the interrupt is
cleared. Next, the system executed interpolator cycle 2, and initiates the
Technology DB update.
• Cycle 3
The Technology DB update will be interrupted in order to execute tasks of
higher priority (DP communication, position controller / interpolator cycle) Same
as in cycle 1, the interpolator cycle cannot be terminated within this cycle.
• Cycle 4
The time slice of the interpolator cycle will be resumed and concluded on
completion of the position controller cycle. Next, the system 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 processing.
• Cycle 5
The sequence restarts at cycle 5 as explained in cycles 1 to 4.
S7-Technology
5-4 A5E00251798-05
Programming
The command start may briefly increase time requirements of the interpolator
cycle. The diagram shows a state which may lead to an "overflow" of the
interpolator cycle. The cycle characteristics apply as in the examples shown earlier:
• Cycle 1
The time required for the interpolator cycle exceeds the time available in cycle
1. Interpolator cycle 2, including the update of Technology DBs, can thus not
be started within this cycle. The start will be postponed to a later cycle.
• Cycle 2
DP communication and the position control cycle interrupt the interpolator
cycle. The time slice of the interpolator cycle resumes when the interrupt is
cleared.
• Cycle 3
The time slice of the interpolator cycle is interrupted again in order to execute
DP communication and the position control cycle. The system is still busy
executing the current 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 system clock
settings in S7T Config. In this example, at least one overflow will be tolerated
and processing is continued, i.e., the Interpolator cycle will be completed. Next,
the system executes interpolator cycle 2 and updates the Technology DBs.
This leaves only a narrow time slice for command processing.
• Cycle 4
The interpolator cycle which should have been started in cycle 3 will be
skipped, i.e., the system executes the time slice for command processing after
the position control cycle is completed.
• Cycle 5
Again, time requirements of the interpolator cycle are slight. The interpolator
cycle, interpolator cycle 2 and the Technology DB update can be processed in
cycle 5.
Note
A narrow margin in the cycle time settings may lead to an overflow of interpolator
cycle 2.
The number of tolerated overflows of interpolator cycle and interpolator cycle 2 can
be set in the "System clock cycles" dialog of S7T Config (Target system > Set
System Clock Cycles command.) The Technology CPU goes into STOP if the
number of tolerated overflows is exceeded.
S7-Technology
A5E00251798-05 5-5
Programming
The diagram represents time requirements of the various cycles in time slice units.
The time slice requirements vary, depending on the number of TOs configured.
The time slices of the interpolator cycle, the interpolator cycle 2 and the update
cycle of the technology DBs are not processed in all position control cycles.
S7-Technology
5-6 A5E00251798-05
Programming
S7-Technology
A5E00251798-05 5-7
Programming
• User program
The user program and all interrupt OBs from WinLC T (Microbox T control) are
executed within the time slice shown. The length of the time slice can be set on
the WinLC T panel to a percentage of the DP cycle time. You can set values
between 10% and 50%.
The OB 1 cycle is executed within this time slice. However, it is not started
synchronously with the DP cycle. Once the time slice of the user program has
ended, current program execution will be interrupted, and is resumed at the
start of the next time slice.
The time slice of the user program is called at each cycle clock of the DP cycle.
The WinLC T status changes to STOP if the time slice cannot be executed
three times in succession.
• Updating technology DBs
The technology DBs are updated within the time slice. Integrated technology
with firmware version V3.2.x or higher supports the distribution of technology
DB updates to different cycles (see also "Updating the Technology DBs".).
Older firmware versions only support the update of all Technology DBs within
the same time slice.
The update cycle of the technology DBs can be set to a multiple of the
interpolator cycle in S7T Config. The technology synchronization interrupt OB
is called after each update of the Technology DBs.
S7-Technology
5-8 A5E00251798-05
Programming
Command processing
The commands of integrated technology are processed and tracked at indefinite
cycles. The time required to process current commands depends on the number of
active commands and on CPU load. The average and maximum command
processing times can be read from the CmdLoopDuration and MaxLoopDuration
variables of the MCDevice Technology DB. Integrated technology firmware V3.2.x
or later supports the start of axis commands within the interpolator cycle.
Subsequent command tracking operations are again handled by means of the
command processing functions of the integrated technology.
The example above shows that cycle 1 only provides a small time slice for
command processing. In addition to DP communication and the position control
cycle, the system also processes the interpolator cycle and interpolator cycle 2,
and the update of the Technology DBs. This method provides additional time for
command processing in the next cycles.
S7-Technology
A5E00251798-05 5-9
Programming
The example shows the time profiles with insufficient DP cycle length. The clock
ratios as shown in the previous example apply:
• Cycle 1
The time required for the interpolator cycle exceeds the time available in cycle
1. Interpolator cycle 2, including the update of Technology DBs, can thus not
be started within this cycle. The start will be postponed to the next cycle.
• Cycle 2
DP communication and the position control cycle interrupt the interpolator
cycle. The time slice of the interpolator cycle resumes when the interrupt is
cleared. Next, the system executed interpolator cycle 2, and initiates the
Technology DB update.
• Cycle 3
The Technology DB update will be interrupted in order to execute tasks of
higher priority (DP communication, position controller / interpolator cycle) Same
as in cycle 1, the interpolator cycle cannot be terminated within this cycle.
• Cycle 4
The time slice of the interpolator cycle will be resumed and concluded on
completion of the position controller cycle. Next, the system 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 processing.
• Cycle 5
The sequence restarts at cycle 5 as explained in cycles 1 to 4.
S7-Technology
5-10 A5E00251798-05
Programming
The command start may briefly increase time requirements of the interpolator
cycle. The diagram shows a state which may lead to an "overflow" of the
interpolator cycle. The cycle characteristics apply as in the examples shown earlier:
• Cycle 1
The time required for the interpolator cycle exceeds the time available in cycle
1. Interpolator cycle 2, including the update of Technology DBs, can thus not
be started within this cycle. The start will be postponed to a later cycle.
• Cycle 2
DP communication and the position control cycle interrupt the interpolator
cycle. The time slice of the interpolator cycle resumes when the interrupt is
cleared.
• Cycle 3
The time slice of the interpolator cycle is interrupted again in order to execute
DP communication and the position control cycle. The system is still busy
executing the current 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 system clock
settings in S7T Config. In this example, at least one overflow will be tolerated
and processing is continued, i.e., the Interpolator cycle will be completed. Next,
the system executes interpolator cycle 2 and updates the Technology DBs.
This leaves only a narrow time slice for command processing.
• Cycle 4
The interpolator cycle which should have been started in cycle 3 will be
skipped, i.e., the system executes the time slice for command processing after
the position control cycle is completed.
• Cycle 5
Again, time requirements of the interpolator cycle are slight. The interpolator
cycle, interpolator cycle 2 and the Technology DB update can be processed in
cycle 5.
Note
A narrow margin in the cycle time settings may lead to an overflow of interpolator
cycle 2.
The number of tolerated overflows of interpolator cycle and interpolator cycle 2 can
be set in the "System clock cycles" dialog of S7T Config (Target system > Set
System Clock Cycles command.) The Technology CPU goes into STOP if the
number of tolerated overflows is exceeded.
S7-Technology
A5E00251798-05 5-11
Programming
Control cycles
• OB 1 cycle
The length of the OB 1 cycle is determined by the number of instructions to be
executed. The OB 1 cycle operates independent on the cycles of integrated
technology.
• OB 32…35 cycle
The time interrupt OBs are called within a time pattern of 1 s to 60 s. The time
interrupts are called independent on the clocks 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-12 A5E00251798-05
Programming
S7-Technology
A5E00251798-05 5-13
Programming
"X" = allowed
"-" = not allowed
S7-Technology
5-14 A5E00251798-05
Programming
You can set the basic clock for Technology DB updates to a multiple of the
interpolator cycle.
Note
The following combinations are not possible when selecting different execution
cycles for an output cam and the associated axis:
• Axis in interpolator cycle; output cam in interpolator cycle 2
• Axis in interpolator cycle 2; output cam in interpolator cycle
The technology system clock of axes, external encoders, output cams and
measuring inputs 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. Any change of the processing cycle of a
synchronization axis 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 processing cycle at configuration parameter
Execution.executionlevel.
S7-Technology
A5E00251798-05 5-15
Programming
Sequence model
The diagram below shows the command interface for the PLC and integrated
technology.
The sequential user program (OB 1 or the watchdog interrupt OBs) initiates a
command and enters this in the command buffer of integrated technology. "IPO
synchronous" and "non-IPO synchronous" commands are saved to separate input
buffers. Each TO is capable of handling several commands in parallel without
having to wait for discrete commands to be processed.
The status and error messages, including the actual values of the TO, are updated
alongside with the Technology DBs in the PLC. Updates run asynchronously to the
OB XY cycle, i.e. a new actual is returned in each scan cycle of the user program.
S7-Technology
5-16 A5E00251798-05
Programming
Programming model
The diagram below shows the structure of a user program. The step sequence is
independent of processing in OB 1 or in a watchdog interrupt cycle (OB 32 to
OB 35).
S7-Technology
A5E00251798-05 5-17
Programming
S7-Technology
5-18 A5E00251798-05
Programming
Addresses
CPU 315T-2DP CPU 317T-2 DP
CPU 31xT PLC 0 to 2047 0 to 8191
Process image 0 to 127 0 to 255
Integrated technology 0 to 1023 0 to 1023
I/O image 0 to 63 0 to 63
The user program can be used to access the entire address space of the PLC
using STEP 7 commands.
S7-Technology
A5E00251798-05 5-19
Programming
Assign the addresses to be accessed using the TOs to address space 64 to 1023,
as the TOs cannot access addresses outside this space.
S7-Technology
5-20 A5E00251798-05
Programming
Addresses
Microbox 420-T
Microbox T controller 0 to 2047
Process image (default setting *) 0 to 511
Integrated technology 0 to 2047
I/O image 0 to 63
The entire address space of Microbox T can basically be addressed by the user
program using STEP 7 commands. The spaces addressed, however, must be
assigned to the DP interface (X1) in HW Config.
Direct access to addresses of integrated I/O or to addresses assigned to the
DP(DRIVE) interface (X2) is not supported. If these addresses are accessed in the
user program, the controller reacts as though these addresses were not in use
physically.
S7-Technology
A5E00251798-05 5-21
Programming
Assign the addresses to be accessed via TOs to address space 64 to 1023. TOs
cannot access addresses outside this space. The TOs can only access addresses
that were assigned in HW Config to the DP(DRIVE) interface (X2) or to the
integrated I/O.
S7-Technology
5-22 A5E00251798-05
Programming
Note
• "MC_ReadPeriphery"
If the "MC_ReadPeriphery" technology function is used to access address
spaces or subsections which are assigned to the DP interface (X1), the values
read for these addresses will be invalid.
• "MC_WritePeriphery"
If the "MC_WritePeriphery" technology function is used to access address
spaces or subsections which were assigned to the DP interface (X1), the write
operation will not be carried out for these addresses.
S7-Technology
A5E00251798-05 5-23
Programming
S7-Technology
5-24 A5E00251798-05
Programming
Note
Use different instance DBs in this case. Using the same instance DB will prevent
you from tracking the active command at the output parameters of the technology
function (if a start of the new command was prevented due to an error, for
example.) You can avoid this problem by using different instance DBs.
Each one of the instance DBs is assigned a separate command buffer. A rapid
sequence of commands with the same instance DB may lead to consistency
problems at the command buffer. New commands are thus rejected with
ErrorID = 804C as long as the command buffer is being processed. This scenario
also prevents command tracking by reading the output parameters of the
technology function.
S7-Technology
A5E00251798-05 5-25
Programming
The "IPO synchronous" property allows the deterministic, faster on average start of
axis commands.
Unless otherwise specified in the table, only the command start is carried out in
"IPO synchronous" mode. Commands continue to be tracked during standard
command processing.
S7-Technology
5-26 A5E00251798-05
Programming
Note
To define a fixed order of command processing:
Analyze the Done, InGear, InSync and InClamping output parameters of the
commands before you transfer a new command to the TO.
S7-Technology
A5E00251798-05 5-27
Programming
S7-Technology
5-28 A5E00251798-05
Programming
When an error is detected, the BRB bit is reset from 1 to 0, and output Q16.0 =
TRUE.
Note
In order to validate the output parameters, you should always evaluate the BRB bit
immediately after the call of the technology function.
In the next step, check the Error and ErrorID output parameters.
S7-Technology
A5E00251798-05 5-29
Programming
Acknowledging errors
Eliminate the cause of any errors detected in the ErrorID variable (ErrorID = 8xxx).
Errors indicated at the Technology DB "MCDevice" and "Trace" cannot be
acknowledged.
S7-Technology
5-30 A5E00251798-05
Programming
Acknowledging warnings
Warnings at the (ErrorID = 00xx) Technology DB may, but do not necessarily have
to be acknowledged by calling "MC_Reset."
However, observe the data volume at the ErrorBuffer[0..2] variable. You can keep
the ErrorBuffer[0..2] variable clear for any incoming error messages by
acknowledging the warnings in due time.
Acknowledging errors
In order to acknowledge all errors, you first eliminate their cause, and then
acknowledge the errors by executing "MC_Reset" (Restart = FALSE). You can
then re-enable the TO by calling the "MC_Power" technology function.
Caution
! Several unacknowledged errors may cause the CPU to go into STOP.
S7-Technology
A5E00251798-05 5-31
Programming
Acknowledging warnings
Warnings at the (ErrorID = 00xx) Technology DB may, but do not necessarily have
to be acknowledged by calling "MC_Reset."
However, observe the data volume at the ErrorBuffer[0..2] variable. You can keep
the ErrorBuffer[0..2] variable clear for any incoming error messages by
acknowledging the warnings in due time.
Acknowledging errors
In order to acknowledge all errors, you first eliminate their cause, and then
acknowledge the errors by executing "MC_Reset" (Restart = FALSE).
Caution
! Several unacknowledged errors may cause the CPU to go into STOP.
S7-Technology
5-32 A5E00251798-05
Programming
Take into account that it is not possible to read or edit all the parameters of
virtual axes.
S7-Technology
A5E00251798-05 5-33
Programming
S7-Technology
5-34 A5E00251798-05
Programming
S7-Technology
A5E00251798-05 5-35
Programming
S7-Technology
5-36 A5E00251798-05
6 Technology functions
6.1 Overview
Prerequisites
Motion control commands can be programmed with the help of function blocks, if
• the station configuration in HW Config was saved and compiled
• the TOs were inserted and configured in S7T Config
• the technology DBs were generated in the "Technology Objects Management"
dialog box of S7T Config.
Define the reference to the TO by means of the relevant technology DB number.
S7-Technology
A5E00251798-05 6-1
Technology functions
Function blocks
Programmable function blocks:
S7-Technology
6-2 A5E00251798-05
Technology functions
Purpose
• The "MC_Power" technology function can be used to enable or disable an axis.
• You can define the operating mode of the axis
• You can also define the emergency program for handling a disabled axis or a
CPU transition to STOP.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• There may be no active errors at the technology DB which prevent enabling of
the axis.
• The technology function may only be active once per axis
Overriding commands
MC_Power commands can not be canceled by any other command.
MC_Power commands do not cancel any other commands with Enable = TRUE.
The MC_Power command cancels all other commands output to this TO with
Enable = FALSE.
New command – active single command (3)
S7-Technology
A5E00251798-05 6-3
Technology functions
Input parameters
S7-Technology
6-4 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-5
Technology functions
Caution
An axis switched off due to an error is enabled again by setting Enable = TRUE
after the error elimination and acknowledgment.
Note
The "MC_Power" technology function influences the following status bits of the
Statusword variable at the technology DB:
• DriveEnable
• FollowUpControl
• simulation
S7-Technology
6-6 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-7
Technology functions
All errors must be acknowledged before the restart by calling the "MC_Reset"
technology function.
Note
The selected StopMode is of no significance when an axis is operating in following
mode, because the axis can not be ramped down dynamically! A rotating axis will
thus trail to a standstill within an indefinite time.
Caution
When StopMode = 4 and camming is set, the following axis may restart before the
leading axis has reached a standstill!
S7-Technology
6-8 A5E00251798-05
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
A5E00251798-05 6-9
Technology functions
S7-Technology
6-10 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-11
Technology functions
MC_Power - ErrorIDs
Valid for Integrated Technology with firmware V3.2.x
This section describes applications with firmware to V3.1.x
S7-Technology
6-12 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-13
Technology functions
Purpose
• The "MC_Home" technology function establishes a position-based correlation
between the control and mechanical systems by means of a measuring
system.
• Active and passive homing of an axis 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 which
allows absolute and relative motions.
• Relative correction / offset of the actual value
• Correction of the setpoint in the base coordinate system and superimposed
coordinate system Only relative offset is supported
• Absolute encoder adjustment.
Supported for
• Positioning axes
• Synchronization axes
Restraints
Virtual axes only support Mode = 3, 4, 6 and 7.
Axes with incremental encoders only support Mode = 0, 1, 2, 3 4, 6 and 7.
Axes with absolute encoder only support Mode = 3, 4, 5, 6 and 7.
You can only set Mode = 3, 4, 6 and 7 if "no mode" was selected in the homing
configuration of the axis.
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 "speed-controlled
mode" ("MC_MoveVelocity" – PositionControl = FALSE).
Prerequisites
• When Mode = 0, 1 and 2 is set, the axis must be enabled for position-
controlled operation
• In Mode = 0 and 1, no MC_Stop command may be active
• The drive interface IM 174/ IM 174 does not support simultaneous execution of
the MC_MeasuringInput and MC_Home commands
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
6-14 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-15
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 transferred to the basic coordinate system
according to the settings at TypeOfAxis.DecodingConfig.transferSuperimposed.
The superimposing coordinate system is reset in this operation.
Set this configuration parameter to determine the time at which the coordinates of
the superimposing coordinate system should be activated at the base coordinate
system.
Settings of configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposed:
• TRANSFER_STANDSTILL (default):
- Activation when the axis is at a standstill - the axis must be desynchronized.
- Activation when the axis changes to following mode
("MC_Power" Mode = 2 or 3)
- Activation at axis restart ("MC_Reset" and Restart = TRUE)
- Activation when commands are output to override the basic motion
• TRANSFER_MERGE:
- Activation when the axis changes to following mode
("MC_Power" Mode = 2 or 3)
- Activation at axis restart ("MC_Reset" and Restart = TRUE)
- Activation when commands are output to override the basic motion
• TRANSFER_RESET:
- Activation when the axis changes to following mode
("MC_Power" Mode = 2 or 3)
- Activation at axis restart ("MC_Reset" and Restart = TRUE)
Caution: In this mode, the override response of the modules will differ.
Superimposing motions are no longer canceled by basic motions (exceptions).
When axes are operating in following mode, Mode = 7 is always applied to the
base coordinate system.
S7-Technology
6-16 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-17
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
6-18 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-19
Technology functions
S7-Technology
6-20 A5E00251798-05
Technology functions
MC_Home - ErrorIDs
S7-Technology
A5E00251798-05 6-21
Technology functions
S7-Technology
6-22 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-23
Technology functions
6.2.3 FB 404 MC_Stop - Pause axis and prevent new travel jobs
Purpose
• The "MC_Stop" technology function stops all motions and brings the axis to a
standstill. The standstill position is not defined.
• The command is completed (Done = TRUE) when the axis has stopped and
Execute = FALSE, i.e. drive startup is prevented as long as Execute = TRUE.
This also applies if the axis was disabled in the meantime with MC_Power and
then enabled again.
• The dynamic response when stopping the motion is determined at the Jerk and
Deceleration input parameters.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• Dynamic stopping requires that the axis is enabled for position-/speed-
controlled operation. The axis can not be ramped down dynamically when
operated in following mode or when it is disabled!
Interaction of commands
New command – active single command (2)
New command – active commands (2)
Note
You should not disable the axis by calling MC_Power if MC_STOP is active. 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
after it is enabled again by MC_Power as long as Execute = TRUE is set at
"MC_Stop".
S7-Technology
6-24 A5E00251798-05
Technology functions
Input parameters
Warning
! MC_Stop is not executed if a numerical value which can not be represented as a
REAL value is set at the Deceleration or Jerk input parameters.
S7-Technology
A5E00251798-05 6-25
Technology functions
S7-Technology
6-26 A5E00251798-05
Technology functions
MC_Stop - example
a) A rotary axis is ramped down by the call of technology function "MC_Stop".
b) The axis rejects motion commands as long as parameter Execute = TRUE at the
"MC_Stop" technology function. The "MC_MoveVelocity" technology function
outputs an error message to indicate the active 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
A5E00251798-05 6-27
Technology functions
MC_Stop - ErrorIDs
S7-Technology
6-28 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-29
Technology functions
Purpose
• The "MC_Halt" technology function stops all motions and ramps down the axis
to a standstill. The standstill position is not defined.
• You define the dynamic response of the motion at the input parameters Jerk
and Deceleration.
• The command ends when the axis has reached a standstill, or is canceled by a
new motion command.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• The axis is enabled for speed- or position-controlled operation
• No active MC_Stop command
Interaction of commands
New command – active single command (2)
New command – active commands (2)
Input parameters
S7-Technology
6-30 A5E00251798-05
Technology functions
Note
Note that the Technology CPU reduces any active acceleration based on set
dynamic parameters (Jerk). The axis velocity may thus still increase after initiation
of the MC_Halt command.
S7-Technology
A5E00251798-05 6-31
Technology functions
MC_Halt - example
a) Rotary axes are stopped by calling technology function "MC_Halt".
b) Another motion command overrides the active MC_Halt command. By contrast
to "MC_Stop.", this action is supported at the "MC_Halt" command.
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
6-32 A5E00251798-05
Technology functions
MC_Halt - ErrorIDs
S7-Technology
A5E00251798-05 6-33
Technology functions
S7-Technology
6-34 A5E00251798-05
Technology functions
Purpose
• The technology function can be used to change between the data records of
an axis.
• Several data sets can be used, e.g. to:
- change controller data when the system is in run.
- changeover the encoder used while the system is in run (motor encoder,
machine encoder, ...).
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• 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 the changeover. 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 – active single command (3)
S7-Technology
A5E00251798-05 6-35
Technology functions
Input parameters
S7-Technology
6-36 A5E00251798-05
Technology functions
Caution
If the data records differ in terms of parameters which have an influence on the
generation of control variables, the axis may perform unwanted jumps irrespective
of its standstill state. This status has an impact on gear ratio parameters or on all
controller parameters, for example.
S7-Technology
A5E00251798-05 6-37
Technology functions
Encoder synchronization
If the current encoder does not match the encoder of the new data record, the
encoders will be synchronized according to the settings at input parameter
SyncEncoder. The encoder synchronization sets the actual position value of the
current encoder at the new encoder. The data record is changed over when
synchronization is successfully completed.
Both encoders must rotate at the same speed in order to ensure precise
synchronization. Slip between the encoders or one of the encoders being in idle
state will prevent the precise interconnection of the encoder with the active
process. Synchronization of the encoders would therefore fail, due to the difference
between encoder values which would develop in the period between encoder
synchronization and data record changeover.
The encoder synchronization is repeated cyclically if the data record cannot be
changed over immediately.
Caution
If you change over the encoder alongside with the data record without
synchronizing the encoders, the axis may perform a compensating movement as a
result of the different encoder positions.
S7-Technology
6-38 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-39
Technology functions
MC_ChangeDataset - ErrorIDs
Supported by Integrated Technology with firmware V3.1.x or higher
S7-Technology
6-40 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-41
Technology functions
Purpose
• The "MC_MoveAbsolute" technological function starts the approach of an axis
to an absolute position.
• Define the dynamic response of the axis motion at input parameters Velocity,
Jerk, Acceleration and Deceleration.
• The function is terminated when the target position is reached.
• You can preset the direction of rotation of modulo axes.
• At input parameter Mode, you can specify whether to trigger an active motion,
or whether to append or overlay the motion.
Supported for
• Positioning axes
• Synchronization axes
Prerequisites
• Axis is enabled for position-controlled operation
• The axis performs a homing operation if "Referencing obligatory" has been
selected in the configuration
• No active MC_Stop command
• Valid for appended and superimposing motions (mode = 1, 2):
- No "MC_CamIn" or "MC_GearIn" commands were started
- No active basic synchronism
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
6-42 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-43
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB 1 starts absolute
positioning of the axis (Axis_1). Done_1 reports that the absolute target position
1000 has been reached.
In time with Done_1 = TRUE, the system starts a further positioning command at
FB 2 (input parameter Execute (Exe_2)). Reaction times during command
execution will briefly cause a standstill of the axis (see the zoomed view). After a
brief standstill, the axis (Axis_1) approaches absolute position 1500. Done_2
generates a message when this position is reached.
S7-Technology
6-44 A5E00251798-05
Technology functions
Phase "b"
A further positive edge at input parameter Execute (Exe_1) of FB 1 starts absolute
positioning of the axis (Axis_1).
A further positioning command is started at FB 2 before the axis has reached target
position 1000 (input parameter Execute (Exe_2)). Abort_1 reports cancellation of
the current positioning command at FB 1. The axis (Axis_1) is driven at the
specified deceleration Deceleration = 10 until it has reached Velocity = 30. Done_2
generates a message at FB 2 when the axis has reached target position 1500.
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
A5E00251798-05 6-45
Technology functions
S7-Technology
6-46 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-47
Technology functions
S7-Technology
6-48 A5E00251798-05
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
A5E00251798-05 6-49
Technology functions
S7-Technology
6-50 A5E00251798-05
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
A5E00251798-05 6-51
Technology functions
Direction reversal
Absolute positioning is started with a positive edge at input parameter Execute
(Exe_1) of FB 1. The axis (Axis_1) accelerates to its final velocity 50 based on the
set acceleration (Acceleration = 10). A further MC_MoveAbsolute command is
started (positive edge Exe_2 at FB 2) before the axis reaches the target position
(Position = 1000). Busy_2 reports that the new command is active.
Instead of being canceled, the current positioning command is "overlaid" by setting
Mode = 2 at FB 2. The value of target position 1000 of the currently active
MC_MoveAbsolute command is higher than target position 700 of the next
MC_MoveAbsolute command. You therefore have to reverse the direction.
"MC_MoveAbsolute" decelerates the axis with Deceleration = 10 in order to reach
0 at target position 1000. Completion of the command is reported with Done_1 at
FB 1.
After having reached target position 1000, the axis decelerates (Axis_1) with
Acceleration = 10 to the final velocity -30. The axis approaches target position 700
at Deceleration = 10. Done_2 reports the axis at the target position at FB 2, and
Busy_2 is toggled to FALSE state.
S7-Technology
6-52 A5E00251798-05
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
A5E00251798-05 6-53
Technology functions
MC_MoveAbsolute - ErrorIDs
Valid for Integrated Technology with firmware V3.1.x or higher
S7-Technology
6-54 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-55
Technology functions
Purpose
• The "MC_MoveRelative" technology function starts axis motion at a position
relative 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 of the axis motion at input parameters Velocity,
Jerk, Acceleration and Deceleration.
• At input parameter Mode, you can specify whether to trigger an active motion,
or whether to append or overlay the motion.
Supported for
• Positioning axes
• Synchronization axes
Prerequisites
• Axis is enabled for position-controlled operation
• No active MC_Stop command
• Valid for saving and overlaying motions (mode = 1, 2):
- No "MC_CamIn" or "MC_GearIn" commands were started
- No active basic synchronism
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
6-56 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-57
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB 1 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 FB 2 (input parameter Execute (Exe_2)). Reaction times during
command execution will briefly cause a standstill of the axis (see the zoomed
view). After a brief stop, the axis (Axis_1) continues to move by a distance of 500.
Done_2 reports conclusion of the command.
Phase "b"
A further positive edge at input parameter Execute (Exe_1) of FB 1 starts relative
positioning of the axis (Axis_1).
A further positioning command is started at FB 2 before the axis has traversed the
distance 1000 (input parameter Execute (Exe_2)). Abort_1 reports cancellation of
the current positioning command at FB 1. The axis (Axis_1) is driven at the
specified deceleration Deceleration = 10 until it has reached Velocity = 30. Done_2
outputs a message at FB 2 when the axis has passed the Distance = 500.
S7-Technology
6-58 A5E00251798-05
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
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
A5E00251798-05 6-59
Technology functions
S7-Technology
6-60 A5E00251798-05
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
A5E00251798-05 6-61
Technology functions
S7-Technology
6-62 A5E00251798-05
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
A5E00251798-05 6-63
Technology functions
S7-Technology
6-64 A5E00251798-05
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
A5E00251798-05 6-65
Technology functions
Direction reversal
Relative positioning is started with a positive edge at input parameter Execute
(Exe_1) of FB 1. The axis (Axis_1) accelerates to its final velocity 50 based on the
set acceleration (Acceleration = 10). A further MC_MoveRelative command is
started with a positive edge Exe_2 at FB 2 before the axis has traversed the
specified Distance = 1000. Busy_2 reports that the new command is active.
Instead of being canceled, the current positioning command is "overlaid" by setting
Mode = 2 at FB 2. The direction is reversed, because a negative distance was set
at FB 2 (Distance = -300). "MC_MoveRelative" decelerates the axis with
Deceleration = 10 in order to reach 0 speed after the axis has traversed the
distance 1000. Completion of the command is reported with Done_1 at FB 1.
After having traversed the distance 1000, the axis accelerates (Axis_1) with
Acceleration = 10 to the final velocity -30. The zoomed view shows that gaps do
not develop during transition. The axis (Axis_1) covers the remaining distance at
the set velocity and deceleration. Done_2 is toggled to TRUE, and Busy_2 is
toggled to FALSE after the axis has traversed the Distance = -300.
S7-Technology
6-66 A5E00251798-05
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
A5E00251798-05 6-67
Technology functions
MC_MoveRelative - ErrorIDs
S7-Technology
6-68 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-69
Technology functions
Purpose
• The "MC_MoveAdditive" technology function starts axis positioning with user-
definable dynamic values to a position which is relative to the target position of
the current positioning command. This method allows the correction of a
previously commanded target position by a defined distance.
• Using the dynamics parameters Use Velocity, Jerk, Acceleration, Deceleration
to define dynamic response of the axis motion
• The axis stops at the target position
• Any MC_MoveAdditive command overrides the current command
Supported for
• Positioning axes
• Synchronization axes
Prerequisites
• Axis must be enabled for position-controlled operation.
• The axis must be homed if "Homing required" was set in the configuration
- and the axis is in motion
- or "MC_MoveAdditive" overrides an active motion command (except
"MC_MoveVelocity").
• Axis does not have to be homed is
- the axis is at a standstill
- an active MC_MoveVelocity command is overridden.
• No active MC_Stop command
Note
"MC_MoveAdditive" responds as "MC_MoveRelative",
• when the axis is at a standstill at the start of the command, or
• a continuous function is overridden, i.e. the target position is not defined. In
this case, the target position depends on the override position, and is derived
from the distance and the position at the start of the operation.
S7-Technology
6-70 A5E00251798-05
Technology functions
Interaction of commands
New command – active single command (2)
New command – active commands (2)
Input parameters
S7-Technology
A5E00251798-05 6-71
Technology functions
S7-Technology
6-72 A5E00251798-05
Technology functions
MC_MoveAdditive - example
Signal profile
Case a: Two MC_MoveAdditive commands are started in succession.
Case b: The second MC_MoveAdditive command (FB 2) is started before the first
is completed. This action cancels the first command (FB 1). The target
position is derived 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
A5E00251798-05 6-73
Technology functions
MC_MoveAdditive - ErrorIDs
S7-Technology
6-74 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-75
Technology functions
Purpose
• The "MC_Move SuperImposed" technology function allows superimposed
positioning of an axis, for example, for pressure mark adjustment.
• Define the dynamic response of the motion at the dynamic parameters
VelocityDiff, Jerk, Acceleration, Deceleration.
• The dynamic values of technology function "MC_MoveSuperImposed" are add
up to form the dynamic values of the basic motion If the dynamic values
derived from this addition exceed the dynamic value configured in S7T Config
(Default > Dynamics dialog box) the actual dynamic values are limited to the
value configured in S7T Config The axis technology DB returns warning 0021
in this case
• Active positioning or synchronization operations are not canceled.
• A new MC_MoveSuperImposed command overrides the active
MC_MoveSuperImposed command. The distance-to-go value of the canceled
MC_MoveSuperImposed command will be lost!
Supported for
• Positioning axes
• Synchronization axes
Prerequisites
• Axis is enabled for position-controlled operation
• No active MC_Stop command
• The axis velocity usually needs to be increased for superimposed positioning.
For this reason, the basic velocity of the axis may not have reached its
maximum when this positioning function is set.
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
6-76 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-77
Technology functions
S7-Technology
6-78 A5E00251798-05
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
A5E00251798-05 6-79
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
6-80 A5E00251798-05
Technology functions
MC_MoveSuperImposed - ErrorIDs
S7-Technology
A5E00251798-05 6-81
Technology functions
S7-Technology
6-82 A5E00251798-05
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.
• Allowances are made for any active velocity override function in the calculation
of the final velocity (output parameter InVelocity). Make allowances for this
reaction in the user program.
• You can use input parameter PositionControl to set position- or speed-
controlled mode at 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.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• The axis is enabled for speed- or position-controlled operation
• No active MC_Stop command
• Conditions for appending motions (Mode = 1):
- No MC_CamIn or MC_GearIn has been started
- No active basic synchronism
- "MC_MoveVelocity" cannot be saved and appended to an active
"MC_MoveVelocity".
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
A5E00251798-05 6-83
Technology functions
Input parameters
S7-Technology
6-84 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-85
Technology functions
Note
When speed setpoint = zero (Velocity = 0.0): InVelocity is set when the axis has
reached a 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
6-86 A5E00251798-05
Technology functions
Note
Speed-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"
Restraints when speed control is active:
• Homing is not possible ("MC_Home")
• The axis must operate in position-controlled mode in order to allow its use as
leading axis with setpoint coupling. When PositionControl = FALSE, the
setpoint position of the axis is held constant.
Note
The effect of the software limit switch in speed-controlled mode depends on the
settings in S7T Config Axis >Limitations, "Position and velocity" tab, "Effect of the
software limit switches" drop-down list.
• "Stop at software limit switch only when moving in position-controlled
mode"
With this setting, the user program can command an axis operating on speed-
controlled mode to pass the software limit switch. This axis can only be
retracted subsequently when the software limit switch is deactivated.
If the user program does not allow the deactivation of software limit switches,
you can only return the axis to position-controlled mode by cycling POWER
OFF / ON. You can then release the axis.
• "Stop at software limit switch in all modes of operation and force
position-controlled mode"
With this setting, the axis will also stop at the software limit switch when
operated in speed-controlled mode. To do this, the axis first changes to
position-controlled mode. Retraction is not required.
S7-Technology
A5E00251798-05 6-87
Technology functions
Phase "a"
The first positive edge at input parameter Execute (Exe_1) of FB 1 initiates axis
(Axis_1) motion at a velocity of 50. InVel_1 generates a message when the final
velocity is reached.
A positive edge at input parameter Execute (Exe_2) of FB 2 overrides the current
motion. Abort_1 reports the override operation. Abort_1 remains set as long as
Exe_1 is set at FB 1. 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 FB 1 overrides the
current motion and resets the velocity to 50.
A further command at FB 2 (positive edge at Exe_2) overrides the motion before
the axis has reached a velocity of 50. 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
6-88 A5E00251798-05
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
A5E00251798-05 6-89
Technology functions
S7-Technology
6-90 A5E00251798-05
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-05 6-91
Technology functions
MC_MoveVelocity - ErrorIDs
S7-Technology
6-92 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-93
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 the
distance traversed.
• You define dynamic response of the motion at the dynamic parameters
Velocity, Jerk, Acceleration, Deceleration
• The method and criteria for detecting the end position can be defined in the
axis configuration of S7T Config, for example, following error or torque
• If drive torque can be limited, torque limiting at the technology function also
influences the end stop detection setting "use following error" (in S7T Config)
Supported for
• Positioning axes (only electrical real axes)
• Synchronization axes (only electrical real axes)
Prerequisites
• Axis is enabled for position-controlled operation
• No active MC_Stop command
• End stop detection must be enabled for the axis.
In the Axis > Limiting > End stop dialog box of S7T Config, set the end stop
detection criteria "use following error" or "use force/torque".
Interaction of commands
• Other motion commands can override the current command before the fixed
end stop is reached.
• When the axis is clamped at the fixed end stop (InClamping = TRUE), the
system only accepts commands for motions which release the axis from the
end stop. The MC_MoveToEndPos command remains active until the drive
has left the clamping tolerance window. New motion commands in direction of
the fixed end stop can then be output. Any synchronization commands which
are executed within the clamping tolerance window and trigger a reversal in
direction of the fixed end stop will be canceled.
• MC_MoveToEndPos can only override an active MC_MoveToEndPos
command if both set the same effective direction.
Interaction of commands
New command – active single command (2)
New command – active commands (2)
S7-Technology
6-94 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-95
Technology functions
Note
When "use following error" is set at the " S7T Config > Limits > "End stop" tab in
the axis configuration, following error monitoring is disabled when the technology
function is used.
If the fixed end stop breaks, the following error is reduced according to limits
configured at the drive. Neither the dynamic values defined at the input
parameters, nor the limits set in the TO influence this operation.
Make sure that the following error is reduced before you stop the axis with
"MC_Stop" or "MC_Halt".
Caution
The initial velocity value 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 suitable value.
S7-Technology
6-96 A5E00251798-05
Technology functions
MC_MoveToEndPos - example
a) An axis is moved to the fixed end stop with reduced torque. A following error is
generated based on position setpoint > actual position value in order to maintain
torque.
b) The clamping torque is doubled when a new command is received to move the
axis towards the same direction.
c) The "MC_MoveRelative" command is output to start the drive in reversed
direction and thus to terminate clamping. Clamping is terminated after the position
setpoint is outside of clamping tolerance window.
S7-Technology
A5E00251798-05 6-97
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-98 A5E00251798-05
Technology functions
MC_MoveToEndPos - ErrorIDs
S7-Technology
A5E00251798-05 6-99
Technology functions
S7-Technology
6-100 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-101
Technology functions
Purpose
• The "MC_SetTorqueLimit" technology function enables/disables torque limiting.
• Torque limiting is always disabled when the axis enable signal is reset.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
Prerequisites
• No active MC_Stop command
• The axis is enabled for speed- or position-controlled operation
• 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 – active single command (3)
Input parameters
* Always set the "Max. drive torque" parameter in your axis configuration (expert
list: TypeOfAxis.SetPointDriverInfo.DriveData.maxTorque).
S7-Technology
6-102 A5E00251798-05
Technology functions
Note
Following error monitoring is disabled when the technology function is being used.
Any developed following error is 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 TO influence this
operation.
Make sure that the following error is reduced before you stop the axis with
"MC_Stop" or "MC_Halt". 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.
MC_SetTorqueLimit - example
A torque limit of 3.2 N/m is set by default at configuration parameter
TypeOfAxis.SetPointDriverInfo.maxTorque.
In the example below, torque limiting is reduced to 1.6 N/m.
S7-Technology
A5E00251798-05 6-103
Technology functions
MC_SetTorqueLimit - ErrorIDs
S7-Technology
6-104 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-105
Technology functions
Purpose
• Activating a Q valve profile (speed valve)
• The valve characteristic can also be changed while the hydraulic axis is in
motion The optional control signal compensation is limited
• A repeated call of the technology function with the positive edge at input
parameter Execute cancels the previous command.
Supported for
• Hydraulic speed-controlled axes
• Hydraulic positioning axes
• Hydraulic synchronization axes
Prerequisites
• 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 – active single command (3)
Input parameters
S7-Technology
6-106 A5E00251798-05
Technology functions
Note
Conditions to be satisfied before you enable the hydraulic axis for position control
by calling technology function "MC_Power":
• The hydraulic axis must be assigned a cam disk as valve profile.
• The valve profile must be activated by calling 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.
S7-Technology
A5E00251798-05 6-107
Technology functions
MC_SetCharacteristic - ErrorIDs
S7-Technology
6-108 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-109
Technology functions
Purpose
• The "MC_GearIn" technology function starts basic gearing between the leading
(master) and following (slave) axes
• You define the dynamic response of the following axis during synchronization
at the dynamic parameters Velocity, Jerk, Acceleration, and Deceleration
• The gear ratio is defined by the ratio between two integer numbers at the input
parameter (numerator / denominator)
• Synchronism can be relative to the start position (random position values upon
reaching synchronism) or absolute
• The gear ratio can be changed when the system is in operation by requesting a
new MC_GearIn command This operation does not require a stop of the
leading or following axis Transitions are executed according to specified
acceleration or deceleration values
• The function can be started when the leading axis is at a standstill, or when it is
in motion.
Supported for
• Synchronization axes
Prerequisites
• The leading axis is configured for operation as external encoder, or as
positioning axis, or as synchronization axis
• The following axis is configured for operation as synchronization axis
• The leading axis is set for use as master value at the base synchronization
object of the following axis
• The following axis is enabled for position-controlled operation
• No MC_Stop command is being executed at the following axis.
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
6-110 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-111
Technology functions
S7-Technology
6-112 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-113
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-114 A5E00251798-05
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-05 6-115
Technology functions
S7-Technology
6-116 A5E00251798-05
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-05 6-117
Technology functions
MC_GearIn - ErrorIDs
S7-Technology
6-118 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-119
Technology functions
Purpose
• The "MC_GearOut" technology function stops basic gearing. Superimposing
motions or superimposed synchronism are not affected by this operation.
• Synchronous operation is stopped according to the default setting of the
synchronization object in S7T Config.
• The technology function is terminated after basic gearing of the following axis
was stopped.
• Recommendation: Use the technology function when the shutdown process
should depend on the position of the leading axis and/or of the following axis.
You can also remove the following axis from the synchronized group by calling
the technology functions "MC_Halt", "MC_Stop", "MC_MoveRelative",
"MC_MoveAdditive", "MC_MoveAbsolute", "MC_MoveVelocity" or
"MC_MoveToEndPos"
Supported for
• Synchronization axes
Prerequisites
• The axis must be operated as following axis (slave) for basic gearing. The
command is ignored if no basic gearing is active, and the technology function
reports Done = TRUE.
• No MC_Stop command is being executed at the following axis
Interaction of commands
New command – active single command (1)
New command – active commands (1)
Input parameters
S7-Technology
6-120 A5E00251798-05
Technology functions
Note
Simultaneous output of MC_GearIn and MC_GearOut commands to the same TO
may cancel the MC_GearIn command (CommandAborted = TRUE). IN this case,
the technology function "MC_gearOut" return the message Done = TRUE.
Do not start the MC_GearOut command unless MC_GearIn has reported
synchronism (InGear = TRUE).
MC_GearOut - example
The "MC_GearOut" technology function (technology function) is used to stop 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 should stop at position 180°. Corresponding settings:
Desynchronization "Default desynchronization position of the following axis"
Position reference: "Stop before desynchronization position"
Desynchronization Following axis: 180°
The axis is desynchronized based on the leading axis position. The following axis
is desynchronized within the desynchronization length of 100° covered by the
leading axis. The following axis covers half the distance of the leading axis (50°).
Profile setting: "Leading axis-related synchronization profile"
Desync. length: 100°
S7-Technology
A5E00251798-05 6-121
Technology functions
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-122 A5E00251798-05
Technology functions
MC_GearOut - ErrorIDs
S7-Technology
A5E00251798-05 6-123
Technology functions
S7-Technology
6-124 A5E00251798-05
Technology functions
Purpose
• The "MC_GearInSuperImposed" technology function starts superimposed
gearing between a leading axis and a following axis.
• You define the dynamic response of the following axis during synchronization
at the dynamic parameters Velocity, Jerk, Acceleration, Deceleration.
• The gear ratio is defined by the ratio between two integer numbers at the input
parameter (numerator / denominator)
• Synchronism can be relative to the start position (random position values upon
reaching synchronism) or absolute
• The gear ratio can be changed while the system is in RUN by requesting a new
MC_GearInSuperImposed command. This operation does not require a stop of
the leading or following axis Transitions are executed according to specified
acceleration or deceleration values
• The function can be started when the leading axis is at a standstill, or when it is
in motion.
Supported for
• Synchronization axes with superimposing synchronization object
Prerequisites
• The leading axis is configured for operation as external encoder, or as
positioning axis, or as synchronization axis
• The following axis is configured as synchronization axis with superimposing
synchronization object
• The leading axis is set as possible superimposing synchronization object of the
following axis
• The following axis is enabled for position-controlled operation
• No MC_Stop command is executed at the following axis
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-125
Technology functions
Input parameters
S7-Technology
6-126 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-127
Technology functions
S7-Technology
6-128 A5E00251798-05
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-05 6-129
Technology functions
S7-Technology
6-130 A5E00251798-05
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-05 6-131
Technology functions
S7-Technology
6-132 A5E00251798-05
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-05 6-133
Technology functions
MC_GearInSuperImposed - ErrorIDs
S7-Technology
6-134 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-135
Technology functions
S7-Technology
6-136 A5E00251798-05
Technology functions
Purpose
• The "MC_CamOutSuperImposed" technology function terminates
superimposing gearing. This does not affect basic motions or base
synchronism.
• Superimposed gearing can be terminated immediately in Mode = 1 by setting
the input parameters Deceleration and Jerk. You can also terminate
superimposed gearing in Mode = 0 according to the default settings of the
superimposing synchronization object in S7T Config.
• The technology function is terminated after superimposing synchronism of the
following axis is terminated.
Supported for
• Synchronization axes with superimposing synchronization object
Prerequisites
• The axis must be configured as following axis (slave) for operation on a system
with superimposed synchronization. If the axis is not operating with
superimposed synchronism, the command is ignored and the technology
function reports Done = TRUE.
• No MC_Stop command is busy
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-137
Technology functions
Input parameters
Note
Simultaneous output of MC_GearInSuperImposed and
MC_GearOutSuperImposed commands to the same TO may cancel the
MC_GearInSuperImposed command (CommandAborted = TRUE). In this case,
technology function "MC_GearOutSuperImposed" returns Done = TRUE.
Do not start MC_GearOutSuperImposed command unless
MC_GearInSuperImposed has reported synchronism (InGear = TRUE).
S7-Technology
6-138 A5E00251798-05
Technology functions
MC_GearOutSuperImposed - ErrorIDs
S7-Technology
A5E00251798-05 6-139
Technology functions
S7-Technology
6-140 A5E00251798-05
Technology functions
Purpose
• The "MC_CamrIn" technology function starts camming between the leading
and following axes (master and slave).
• You define the dynamic response of the following axis during synchronization
at the dynamic parameters Velocity, Jerk, Acceleration.
• You can scale the specified cam, and/or shift its position.
• You can run the specified cam disk either once or cyclically.
• The synchronism can be absolute or relative.
Supported for
• Synchronization axes
Prerequisites
• The leading axis is configured for operation as external encoder, or as
positioning axis, or as synchronization axis
• The following axis is configured for operation as synchronization axis
• In your configuration of the synchronization object of the following axis, you
must have selected the required cam disk and leading axis
• Axis is enabled for position-controlled operation
• No MC_Stop command is being executed at the following axis.
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-141
Technology functions
Input parameters
S7-Technology
6-142 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-143
Technology functions
S7-Technology
6-144 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-145
Technology functions
S7-Technology
6-146 A5E00251798-05
Technology functions
Synchronization starts when the leading axis has passed position 100°. The
following axis is synchronized while the leading axis is moving within the angular
range from 100° to 200° (synchronization length = 100°).
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
A5E00251798-05 6-147
Technology functions
S7-Technology
6-148 A5E00251798-05
Technology functions
Synchronization starts when the leading axis has passed position 70°. The
following axis is synchronized while the leading axis is moving within the angular
range from 70° to 200° (synchronization length = 130°).
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
A5E00251798-05 6-149
Technology functions
S7-Technology
6-150 A5E00251798-05
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
A5E00251798-05 6-151
Technology functions
Sequence
1. In S7T Config, "Preset synchronization position of the leading axis" was
selected as the synchronization mode in the default settings of 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 value.
When Execute = 1, synchronization to Cam_1 starts at value 0.0 of the leading
axis.
2. The synchronization condition is changed by calling FB MC_WriteParameter
(set "AT_THE_END_OF_CAM_CYCLE" at parameter 4266 of the following
axis).
3. The cam instance of Cam_2 is set at input parameter CamTable.
4. After the next Execute = 1, synchronization to Cam_2 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
6-152 A5E00251798-05
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-05 6-153
Technology functions
MC_CamIn - ErrorIDs
S7-Technology
6-154 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-155
Technology functions
Purpose
• "MC_CamOut" stops camming and the following axis. You can define the
corresponding conditions in the axis configuration
Recommendation:
• Use the technology function when the standstill process should depend on the
position of the leading axis and/or of the following axis.
• You can also remove the following axis from the synchronized group by calling
the technology functions "MC_Halt", "MC_Stop", "MC_MoveRelative",
"MC_MoveAdditive", "MC_MoveAbsolute", "MC_MoveVelocity" or
"MC_MoveToEndPos"
Supported for
• Synchronization axes
Prerequisites
• The axis must be configured as following axis (slave) for camming operations If
camming is not active the command is ignored and the technology function
reports Done = TRUE
• No active MC_Stop command
Interaction of commands
New command – active single command (1)
New command – active commands (1)
Input parameters
S7-Technology
6-156 A5E00251798-05
Technology functions
Note
Simultaneous output of MC_CamIn and MC_CamOut commands to the same TO
may cancel the MC_CamIn command (CommandAborted = TRUE). In this case,
the "MC_CamOut" technology function reports Done = TRUE.
Do not start the MC_CamOut command unless MC_CamIn has reported cam
synchronism (InSync = TRUE).
S7-Technology
A5E00251798-05 6-157
Technology functions
MC_CamOut - example
The MC_CamOut technology function is used to stop camming and to stop the axis
according to the configured mode. In this example, the following axis should stop at
position 160°. Corresponding settings:
Desynchronization "at the following axis position"
Position reference: "Stop before desynchronization position"
Desynchronization following axis: 160°
The axis is desynchronized based on the leading axis position. The following axis
is desynchronized within the desynchronization length of 80° covered by the
leading axis. The start time of desynchronization is calculated internally.
Profile setting: "Leading axis-related 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-158 A5E00251798-05
Technology functions
MC_CamOut - ErrorIDs
S7-Technology
A5E00251798-05 6-159
Technology functions
S7-Technology
6-160 A5E00251798-05
Technology functions
Purpose
• The "MC_CamInSuperImposed" technology function initiates superimposed
camming between the leading and following axes (master and slave axes.)
• You define the dynamic response of the following axis during synchronization
at the dynamic parameters Velocity, Jerk, Acceleration.
• You can scale the specified cam, and/or shift its position.
• The synchronism can be absolute or relative.
• The specified cam disk can be executed once or cyclically.
Supported for
• Synchronization axes with superimposing synchronization object
Prerequisites
• The leading axis is configured for operation as external encoder, or as
positioning axis, or as synchronization axis
• The following axis is configured as synchronization axis with superimposing
synchronization object
• The leading axis is set as possible 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
• No active MC_Stop command at the following axis
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-161
Technology functions
Input parameters
S7-Technology
6-162 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-163
Technology functions
S7-Technology
6-164 A5E00251798-05
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-05 6-165
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-166 A5E00251798-05
Technology functions
MC_CamInSuperImposed - ErrorIDs
S7-Technology
A5E00251798-05 6-167
Technology functions
S7-Technology
6-168 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-169
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 is desynchronized
according to the axis configuration or to the dynamic parameters of the
technology function.
Supported for
• Synchronization axes with superimposing synchronization object
Prerequisites
• The axis must be configured as following axis (slave) for operation on the
system with superimposing camming. If no synchronism is active, the
command is ignored and the technology function reports Done = TRUE.
• No MC_Stop command is busy
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
6-170 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-171
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). In this case, the technology function "MC_CamOutSuperImposed" returns
Done = TRUE.
Do not start the MC_CamOutSuperImposed command unless
MC_CamInSuperImposed has reported synchronism (InGear = TRUE).
S7-Technology
6-172 A5E00251798-05
Technology functions
MC_CamOutSuperImposed - ErrorIDs
S7-Technology
A5E00251798-05 6-173
Technology functions
S7-Technology
6-174 A5E00251798-05
Technology functions
Purpose
• The "MC_Phasing" technology function sets a phase shift of the leading axis
position relative to the following axis position. The actual position of the leading
axis is not influenced.
• The effect on a following axis operating in camming mode is the same as a
horizontal cam shift.
• The phase reference can be either relative or absolute.
• The function can be started when the leading axis is at a standstill or in motion.
• You define the dynamic response of the motion at the dynamic parameters
Velocity, Jerk, Acceleration, Deceleration.
Supported for
• Synchronization axes operating in camming or gearing mode
Prerequisites
• No active MC_Stop command at the following axis
• The axis must be configured as following axis for gearing or camming
operations.
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-175
Technology functions
Input parameters
S7-Technology
6-176 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-177
Technology functions
MC_Phasing - example
Use the "MC_Phasing" technology function to shift the phase angle of a cam during
camming.
When Absolute = 1, the cam shift is set as an absolute value compared to its
defined phase angle. Repeated phasing with the same value of PhaseShift does
not have any effect.
The shift is relative when Absolute = 0, i.e. each command shifts the phase angle
by the value defined 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-178 A5E00251798-05
Technology functions
MC_Phasing - ErrorIDs
S7-Technology
A5E00251798-05 6-179
Technology functions
S7-Technology
6-180 A5E00251798-05
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 defined based on the following axis position. Superimposing
phase shift affects the following axis. It does not influence the position of the
leading axis.
• The effect on a following axis operating in camming mode is the same as a
horizontal cam shift.
• The phase reference can be either relative or absolute.
• The function can be started when the leading axis is at a standstill or in motion.
• Use the dynamic parameters Velocity, Jerk, Acceleration, Deceleration to
define the dynamic response of the axis in motion.
Supported for
• Synchronization axes with superimposing synchronization object operating in
camming and gearing mode
Prerequisites
• No active MC_Stop command at the following axis
• The axis must be configured as following axis (slave) for operation on the
system in superimposing camming mode or gearing mode.
Interaction of commands
New command – active single command (1)
New command – active commands (1)
S7-Technology
A5E00251798-05 6-181
Technology functions
Input parameters
S7-Technology
6-182 A5E00251798-05
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
A5E00251798-05 6-183
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
6-184 A5E00251798-05
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
A5E00251798-05 6-185
Technology functions
MC_PhasingSuperImposed - ErrorIDs
S7-Technology
6-186 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-187
Technology functions
Purpose
• The "MC_CamClear" technology function deletes all defined interpolation
points or segments of a cam, and sets cam disk editing mode.
Supported for
• Cam disks
Prerequisites
• The cam disk may not be in use when you delete it.
• No MC_CamSectorAdd commands may be active (restriction only applies to
firmware V3.0.x of integrated technology).
Overriding commands
The MC_CamClear command can not be canceled by any other command.
The MC_CamClear command does not cancel any other commands.
Input parameters
S7-Technology
6-188 A5E00251798-05
Technology functions
Caution
The deletion of cam disks with many interpolation points or polynomials may take a
relatively long time. Other TOs can not accept any new commands such as
MC_Stop within this period! Note that you can not cancel commands without
defined termination ("MC_MoveVelocity", for example) within this time.
If the setting of the command monitoring time is too short in S7T Config, the
deletion may lead to timeout and, thus, to a STOP of the Technology CPU.
MC_CamClear - ErrorIDs
S7-Technology
A5E00251798-05 6-189
Technology functions
S7-Technology
6-190 A5E00251798-05
Technology functions
Purpose
• The "MC_CamSectorAdd" technology function adds new interpolation points or
polynomials to a cam disk.
Supported for
• Cam disks
Prerequisites
• The cam is in editing mode
Editing mode is started by calling the "MC_CamClear" technology function, and
ends with cam interpolation by technology function "MC_CamInterpolate". The
cam disk can then be reused for camming.
Overriding commands
MC_CamSectorAdd commands can not be canceled by any other command.
MC_CamSectorAdd commands do not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-05 6-191
Technology functions
Note
• Only use mathematical functions up to the 3rd order when you add segments.
Any coefficients of a higher order may lead to inaccuracies due to the resolution
of floating-point values.
• Segments defined as polynomials are recalculated in the Technology CPU.
When you subsequently read the values in S7T Config, you may be returned
deviating coefficients. It is also possible that the Y-coordinates of the start and
end points are swapped.
The cam shape, however, 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
6-192 A5E00251798-05
Technology functions
Example
In the 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.
S7-Technology
A5E00251798-05 6-193
Technology functions
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).
Note
Integrated technology with firmware V3.1.x or higher
This firmware version allows you to add all interpolation points and polynomials of
the MC_CamSectorAdd command in a single command execution cycle. You can
add more than 30 interpolation points, or more than 4 polynomials to the cam disk
by running several MC_CamSectorAdd commands.
Note
Integrated Technology with firmware V3.0.x
With this firmware version, the insertion of interpolation points and polynomials is
distributed to several command execution cycles.
You may not start any further MC_CamSectorAdd, MC_CamClear or
MC_CamInterpolate commands while MC_CamSectorAdd commands are active.
S7-Technology
6-194 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-195
Technology functions
MC_CamSectorAdd - ErrorIDs
S7-Technology
6-196 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-197
Technology functions
S7-Technology
6-198 A5E00251798-05
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 cam disk interpolation points and
polynomials, according to the specified type of interpolation.
Supported for
• Cam disks
Prerequisites
• The cam is in editing mode
Editing mode is started by calling technology function "MC_CamClear", and
ends with cam interpolation by the call of technology function
"MC_CamInterpolate". The cam disk can then be reused for camming.
Conditions
• Rule for interpolation points:
- The last interpolation point set overrides superimposed interpolation points
- The system uses value 1e-4 for the continuity check
• Rule for segments:
Gaps between segments are filled with an interpolated cam
- The segment start point is used when segments overlap, the preceding
segment is truncated at this position.
• Rule for mixed mode cam disks (segments and interpolation points):
- The start point takes priority as with pure segments
• The cam is calculated in accordance with settings at input parameter
"CamMode" This system may change the cam disk boundaries accordingly.
Overriding commands
MC_CamInterpolate commands can not be canceled by any other command.
MC_CamInterpolate commands do not cancel any other commands.
S7-Technology
A5E00251798-05 6-199
Technology functions
Input parameters
With a cyclic absolute or relative setting, the cam disk can only be calculated in the
runtime system if there is a sufficient interval between the last defined position of
the cam and the end of the defined range, or between the beginning of the defined
range and the first defined value.
S7-Technology
6-200 A5E00251798-05
Technology functions
Caution
The interpolation of cam disks with many interpolation points or polynomials may
take a relatively long time. Other TOs can not accept any new commands such as
MC_Stop within this period! Note that you can not cancel commands without
defined termination ("MC_MoveVelocity", for example) within this time.
If the command monitoring time is set too short in S7T Config, the interpolation
may lead to timeout and subsequently to a STOP of the Technology CPU.
1. A gap between two segments is closed automatically during interpolation. A gap smaller than a
specific limit is closed by joining the interpolation points.
At a cam disk is created in S7T Config you can define the gap limit in expert mode (go to
CamEdit > "Interpolation" Tab, and then activate the "Expert mode" check box.
A gap limit of 1E-04 is assigned permanently to a cam disk which is created using the
"MC_CamSectorAdd" technology function. Above this limit, the gap is closed by interpolation.
Below this limit, the gap is closed by joining the interpolation points.
S7-Technology
A5E00251798-05 6-201
Technology functions
2. Where the end point of one segment and the start point of the next have the same X value and
different Y coordinates, this discontinuity persists irrespective of the interpolation.
3. The start position of the successive segment (sector 2) is applied where two successive
segments overlap. 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
limits, because as a result of the truncation sector 1 is assigned a random Y value at the end of
the segment (Y(X1).
MC_CamInterpolate - ErrorIDs
S7-Technology
6-202 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-203
Technology functions
S7-Technology
6-204 A5E00251798-05
Technology functions
Purpose
• The "MC_GetCamPoint" technology function can be used based an existing
cam disk to determine the offset between the position of a following axis and
the leading axis.
• The "MC_GetCamPoint" technology function can be used based on an existing
cam disk to determine the offset between the position of a leading axis and the
following axis.
- As the same following axis positions can be entered for different leading
axis positions when the cam is defined, the leading axis position requires a
more precise definition. This can be done at input parameter
ApproachPosition. Enter an approximation of the presumed leading axis
position at this input parameter.
• If the cam disk was configured in S7T Config using CamEdit or CamTool, the
scaling and shift defined there are included when you calculate the positions.
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.
Supported for
• Cam disks
Prerequisites
• The cam disk was interpolated without error (status at technology DB 2 =
interpolated.)
Overriding commands
MC_GetCamPoint commands cannot be canceled by any other command.
MC_GetCamPoint commands do not cancel any other commands.
S7-Technology
A5E00251798-05 6-205
Technology functions
Input parameters
S7-Technology
6-206 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-207
Technology functions
MC_GetCamPoint - ErrorIDs
S7-Technology
6-208 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-209
Technology functions
Purpose
• The "MC_CamSwitch" technology function is used to enable / disable position-
based cams or switching cams, and to define their switching characteristic.
• In your cam configuration, you can define whether the switching positions are
based on setpoints or on actual values.
• Switching points can be advanced or retarded (derivative time and deactivation
time). The time unit set in S7T Config applies to the axis
• The current switching state of the cam is saved to the technology DB.
Supported for
• Position-based cam
• Switching output cam
Overriding commands
MC_CamSwitch commands can only be canceled by a further MC_CamSwitch
command output to the same TO. MC_CamSwitch commands do not cancel any
other commands.
S7-Technology
6-210 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-211
Technology functions
Instructions
Reaction to the failure of the drive of an actual value cam:
An output cam configured as actual value cam in S7T Config requires a valid
encoder value. The associated output cam is therefore disabled when the drive
fails. The command is canceled with ErrorID = 8021 at the technology DB.
Reaction to the failure of the drive of a setpoint cam:
An output cam configured as setpoint cam in S7T Config does not require the
corresponding encoder value. The output cam remains active when the drive fails.
The output cam resumes switching operations at the configured positions after the
error is acknowledged and the drive is enabled.
Reaction to axis restart
The output cam is deactivated when its associated axis performs a restart
("MC_Reset", Restart = TRUE). This always applies, regardless whether the output
cam was configured as setpoint or as actual value cam in S7T Config.
S7-Technology
6-212 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-213
Technology functions
Call of FB 1:
The "Enable output cam" operating mode is selected by setting input parameter
Mode = 2. The switching cam is enabled by a positive edge at input parameter
Execute.
The direction of movement corresponds to the "positive effective direction" (input
parameter Direction = 1). The switching cam is activated when the cam activation
position is passed (input parameter OnPosition = 20) and remains in this state.
Call of FB 2:
The "Disable output cam" operating mode is selected by setting input parameter
Mode = 1. The switching cam is disabled by a positive edge at input parameter
Execute.
S7-Technology
6-214 A5E00251798-05
Technology functions
MC_CamSwitch - ErrorIDs
S7-Technology
A5E00251798-05 6-215
Technology functions
S7-Technology
6-216 A5E00251798-05
Technology functions
Purpose
• The "MC_CamSwitchTime" technology function is used to activate / deactivate
time-based cams or switching cams, and to define their switching
characteristic. Time-based cams are activated when the cam activation
position is reached, and are reset when the pulse period has expired.
• In your configuration, you can define whether the switching positions are based
on setpoints or actual values.
• All time definitions refer to the timebase configured in S7T Config.
• The current activation state of the cam is saved to the technology DB.
Supported for
• Time-based cam
Overriding commands
MC_CamSwitchTIME commands can only be canceled by a further
MC_CamSwitchTime command output to the same TO. MC_CamSwitchTime
commands do not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-05 6-217
Technology functions
Note
Reaction to the failure of the drive of an actual value cam:
An output cam configured as actual value cam in S7T Config requires a valid
encoder value. The associated output cam is therefore disabled when the drive
fails. The command is canceled with ErrorID = 8021 at the technology DB.
Reaction to the failure of the drive of a setpoint cam:
An output cam configured as setpoint cam in S7T Config does not require the
corresponding encoder value. The output cam remains active when the drive fails.
The output cam resumes switching operations at the configured positions after the
error is acknowledged and the drive is enabled.
Reaction to axis restart
The output cam is deactivated when its associated axis performs a restart
("MC_Reset", Restart = TRUE). This always applies, regardless whether the output
cam was configured as setpoint or as actual value cam in S7T Config.
S7-Technology
6-218 A5E00251798-05
Technology functions
MC_CamSwitchTime - example
S7-Technology
A5E00251798-05 6-219
Technology functions
MC_CamSwitchTime - ErrorIDs
S7-Technology
6-220 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-221
Technology functions
Purpose
• The "MC_MeasuringInput" technology function is used to enable the
acquisition of a single measurement by means of measuring input.
• A measuring input records the length of a configured axis or of an external
encoder, based on the trigger by an external event such as a pressure mark or
reference cam.
• The measurement range can be limited The first measured value within the
range defined by the StartPosition and EndPosition is accepted
• When StartPosition = EndPosition, the measurement range is ignored.
• The function is terminated after the measured value has been recorded and
output, or when 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.
Supported for
• Measuring input
Prerequisites
• The axis is enabled for position-controlled operation
• The connected drive or measuring component supports the selected mode.
Refer to the relevant drive documentation!
• The drive interface IM 174/ IM 174 does not support simultaneous execution of
the MC_MeasuringInput and MC_Home commands
Note
Make allowances for the drive reaction times. For further information, refer to the
relevant drive documentation
(on the "S7-Technology" CD, for example).
Overriding commands
MC_MeasuringInput commands can only be canceled by a further
MC_MeasuringInput command output to the same technology object.
MC_MeasuringInput commands do not cancel any other commands.
S7-Technology
6-222 A5E00251798-05
Technology functions
Input parameters
S7-Technology
A5E00251798-05 6-223
Technology functions
MC_MeasuringInput - example
The measuring input is activated. The actual position value (46.7, for example) will
be saved to MeasuringValue1 when the measuring input is detected.
S7-Technology
6-224 A5E00251798-05
Technology functions
MC_MeasuringInput - ErrorIDs
S7-Technology
A5E00251798-05 6-225
Technology functions
S7-Technology
6-226 A5E00251798-05
Technology functions
Purpose
• The "MC_ExternalEncoder" technology function controls an external encoder
which can is used, for example, as real leading axis (master) for synchronous
operation.
• The external encoder can be enabled / disabled
• Absolute encoder adjustment is supported
• Synchronization: The actual position value of an incremental encoder can be
influenced by corresponding settings, or by passive homing.
Supported for
• External encoder
Prerequisites
• You can only modify the actual position value of an enabled external encoder.
Overriding commands
MC_ExternalEncoder commands can only be canceled by a further
MC_ExternalEncoder command output to the same technology object.
MC_ExternalEncoder commands do not cancel any other commands.
S7-Technology
A5E00251798-05 6-227
Technology functions
Input parameters
S7-Technology
6-228 A5E00251798-05
Technology functions
MC_ExternalEncoder - example
An external encoder is enabled. The position value is zero prior to this enable. The
position value not updated until activation is completed. The position value is no
longer updated if the encoder is subsequently disabled, regardless whether the
encoder can be moved. The position changes to the actual value when the encoder
is enabled again.
S7-Technology
A5E00251798-05 6-229
Technology functions
MC_ExternalEncoder - ErrorIDs
S7-Technology
6-230 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-231
Technology functions
Purpose
• Call the "MC_Reset" technology function 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.
• Call technology function "MC_Reset" Restart = TRUE to start the initialization
(restart) of axes, cams, cam disks, external encoders and measuring inputs.
After initialization, the state of an axis with incremental encoder is "Not homed".
The cam originally configured in S7T Config is restored at the cam disks.
• If technology function "MC_Reset" (Restart = TRUE or FALSE) is applied to
the technology DB "MCDevice" (Axis = DB no. of the MCDevice DB), the
maximum runtime of command execution is reset to 0 (MaxLoopDuration at the
MCDevice DB). When using integrated technology with firmware V3.2.x or
higher, the system also sets the TODBTaskOverflows (number of overflows in
technology DB updates) variable to zero.
• The system continues command execution during a restart. However, the TO
performing the restart cannot accept any commands for the duration of the
restart.
Supported for
• Speed-controlled axes
• Positioning axes
• Synchronization axes
• Output cams
• Measuring inputs
• Cam disks
• External encoders
• MCDevice DB
S7-Technology
6-232 A5E00251798-05
Technology functions
Restart conditions
• "Axis" TO
Restart is only possible when the axis is disabled ("MC_Power" output
parameter Status = FALSE and Busy = FALSE)
• "External encoder" TO
Restart is only possible when the external encoder is disabled (technology DB,
variable Statusword.DriveEnabled = FALSE)
• "Output cam" TO
Restart is only possible when the output cam is disabled (technology DB,
variable Mode = 1)
• "Measuring input" TO
Restart is only possible when the measuring input is inactive (technology DB,
variable Status = 0, 2 or 3)
• "Cam disk" TO
Restart is only possible when the cam disk is not in use (technology DB,
variable UserCount = 0)
Caution
Set Restart = FALSE if you only want to clear the errors of a TO.
Reinitialization of a TO (Restart = TRUE) may take several 100 milliseconds. The
technology object is not available for the duration of this process.
Interaction of commands
New command – active single command (3)
Input parameters
S7-Technology
A5E00251798-05 6-233
Technology functions
S7-Technology
6-234 A5E00251798-05
Technology functions
MC_Reset - ErrorIDs
S7-Technology
A5E00251798-05 6-235
Technology functions
S7-Technology
6-236 A5E00251798-05
Technology functions
Purpose
• Technology function "MC_ReadSysParameter" returns the value of the most
important system variables and configuration data of the TOs, for example,
axis or output cam data The system variables and configuration data are
addressed by setting a parameter number
• The result is transferred to the corresponding output parameter, depending on
the data type of the parameter value read In this case, the other outputs return
a 0 value
• Input parameter Index can be used to access multiple instances of the
parameters 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)
Supported for
• The parameter defined by the parameter number and index must be configured
in S7T Config
Prerequisites
• The parameter defined by parameter number and index must be available in
the system.
• Check the validity of the encoder values before you read the encoder
parameters. You can validate the encoder values of currently active encoder by
reading the variable Statusword.EncoderValid at the technology DB of the axis
or external encoder. The status of axes assigned several data records can be
requested by calling the "MC_ReadSysParameter" technology function with
parameter number 4050.
Overriding commands
MC_ReadSysParameter commands cannot be canceled by any other command.
MC_ReadSysParameter commands do not cancel any other commands.
S7-Technology
A5E00251798-05 6-237
Technology functions
Input parameters
S7-Technology
6-238 A5E00251798-05
Technology functions
MC_ReadSysParameter - ErrorIDs
S7-Technology
A5E00251798-05 6-239
Technology functions
S7-Technology
6-240 A5E00251798-05
Technology functions
Purpose
• You can use the "MC_WriteParameter" technology function to edit the most
important system variable and configuration data of the TOs while the
Technology CPU is in RUN. The system variables and configuration data are
addressed by setting a parameter number The change is active until the next
POWER OFF / POWER ON cycle, or until the CPU performs a memory reset.
Exception: the value set during absolute encoder adjustment is retained even
under those conditions.
• Of the input parameters Value, ValueDInt, ValueDword1, ValueDword2 und
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 access mode "W" ("Write").
• Input parameter Index can be used to access multiple instances of the
parameters 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.
Supported for
• TO parameters 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-05 6-241
Technology functions
Prerequisites
• The parameter defined by parameter number and index must be available and
allow write access. The data record defined by index must be enabled in the
Technology CPU by calling 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 of
currently active encoder by reading the variable Statusword.EncoderValid at
the technology DB of the axis or external encoder. The status of axes assigned
several data records can be requested by calling the "MC_ReadSysParameter"
technology function with parameter number 4050.
Overriding commands
MC_WriteParameter commands cannot be canceled by any other command.
MC_WriteParameter commands do not cancel any other commands.
Input parameters
S7-Technology
6-242 A5E00251798-05
Technology functions
Caution
Observe the valid range limits of the parameters. Valid range limits are listed in the
"list of technology parameters".
When editing data record parameters, note that certain 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
parameters 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, you should collect all parameter changes and then
activate these.
To do this, proceed as follows:
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-05 6-243
Technology functions
S7-Technology
6-244 A5E00251798-05
Technology functions
The control word is written using the corresponding value and a mask. The mask
determines which of the bits of the control word can be accessed by the write
operation. This mask can be used to manipulate single or several bits. Unmasked
bits (value 0) retain their current state. Criterion for selecting the mask is that the
bits reserved for the TO remain unchanged.
The values of control words CW1 and CW2 are defined at input parameter
ValueDword1. Their corresponding mask values are set at input parameter
ValueDword2.
Example of ValueDword1
Example of ValueDword2
Set mask value FB00 for control word CW1 if you want to overwrite all free bits of
the control word. Meaning of the hex code:
F = 1111 / bits 12 to 15 are written
B = 1011 / bits 8, 9 and 11 are written, and 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 if you want to overwrite all free bits of
the control word. Meaning of the hex code:
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
A5E00251798-05 6-245
Technology functions
Step Description
1. Read the current value of absolute encoder adjustment by calling the "MC_ReadSysParameter"
technology function and reading 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 absolute encoder adjustment
• ValueDword1 = DBx.DBD0 (temporary memory space)
• ValueDword2 = DBx.DBD4 (temporary memory space)
2. Call SFC 82 "CREA_DBL" to generate a DBy in load memory of the Technology CPU. The DB
is also generated in RAM when you reset bit 0 at input parameter ATTRIB.
3. Call SFC 84 "WRIT_DBL" to write the previously backed up data of the absolute encoder
adjustment to the new DB.
Step Description
1. Replace the Technology CPU, and then insert the MMC which contains the configuration data.
2. The backup DB for absolute encoder adjustment is available in RAM after startup of the
Technology CPU.
3. Call the "MC_WriteParameter" technology function to restore the data of absolute 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 absolute encoder adjustment
• ValueDword1 = DBx.DBD0 (x = number of the DB generated by SFC 82)
• ValueDword2 = DBx.DBD4 (x = number of the DB generated by SFC 82)
S7-Technology
6-246 A5E00251798-05
Technology functions
MC_WriteParameter - ErrorIDs
S7-Technology
A5E00251798-05 6-247
Technology functions
S7-Technology
6-248 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-249
Technology functions
Purpose
• The "MC_ReadPeriphery" technology function is used to read the I/O image of
the integrated technology. The time-based dependency of the update is shown
in the example.
Supported for
• DP I/O on DP(DRIVE) at address area 0 to 63
• Integrated I/O of the Technology CPU at address area 0 to 63
Prerequisites
• The addressed I/O must exist in the I/O image DP(DRIVE) of the integrated
technology.
Overriding commands
MC_ReadPeriphery commands cannot be canceled by any other command.
MC_ReadPeriphery commands do not cancel any other commands.
Input parameters
S7-Technology
6-250 A5E00251798-05
Technology functions
Error BOOL FALSE TRUE: Command initiation with error. The command is
rejected. For further information on the cause, refer to
the ErrorID.
FALSE: Command initiation without error.
ErrorID WORD 0 ErrorID of output parameter Error.
Note
The runtime of command execution at the integrated technology plus the runtime
of the OBx cycle in which "MC_ReadPeriphery" is called may lead to considerable
reaction times. You should therefore connect the I/O requiring quick reactions to
the MPI/DP interface of your Technology CPU.
MC_ReadPeriphery - example
The example in the diagram below shows the time-based coherency 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 transferred to the controller, starting at 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 executed as new
command within the first command execution cycle (new commands are executed
at the start of the command execution). The I/O image of inputs is written to the
controller inputs at the next call of MC_ReadPeriphery. Output parameter
DataValid reports TRUE status.
The current MC_ReadPeriphery command is monitored starting at the second
command execution cycle (current commands are processed at the end of
command execution, whereby the most recent command is executed last). The I/O
image of inputs of the second command execution cycle is transferred to the PLC
at the third call of MC_ReadPeriphery.
The DB update is triggered by the subsequent IPO cycle. This is not concluded
until the next position control cycle is completed, and is interrupted by the position
control. 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 control 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-05 6-251
Technology functions
The I/O image of the fourth call is available at the fifth call of MC_ReadPeriphery,
and is 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-252 A5E00251798-05
Technology functions
MC_ReadPeriphery - ErrorIDs
S7-Technology
A5E00251798-05 6-253
Technology functions
S7-Technology
6-254 A5E00251798-05
Technology functions
Purpose
• The "MC_WritePeriphery" technology function is used to write the I/O image of
integrated technology. The time-based dependency of the update is shown in
the example.
Supported for
• DP I/O on DP(DRIVE) at address area 0 to 63
• Integrated I/O of the Technology CPU at address area 0 to 63
Prerequisites
• The addressed I/O must exist in the I/O image DP(DRIVE) of the integrated
technology.
Overriding commands
MC_WritePeriphery commands cannot be canceled by any other command.
MC_WritePeriphery commands do not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-05 6-255
Technology functions
Note
The runtime of command execution at 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 any I/O requiring 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 coherency 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 of the run state of the "MC_WritePeriphery" technology function.
"MC_WritePeriphery" is used to write the PLC data specified at input parameter
Data to the I/O image of outputs.
A positive edge at input parameter Execute triggers write access to the I/O image
of outputs and TRUE status at output parameter Busy. The MC_WritePeriphery
command is added as new command to the time slice of the first command
execution cycle. Command execution is started within the first command execution
time slice. The second MC_WritePeriphery call reports completion of this command
(sets Busy = FALSE and Done = TRUE).
At the end of the second command execution time slice, the most recently written
I/O image of outputs is once again written to the I/O via the position controller.
The DB update is triggered in the next position controller cycle. The DB update is
interrupted within the time slice of the position controller, but is resumed on
expiration of this time slice. The start of command execution is delayed due to the
missing time gaps. The delayed command execution cycle is interrupted by the
next position controller time slice and by the subsequent IPO time slice.
S7-Technology
6-256 A5E00251798-05
Technology functions
DB update
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-05 6-257
Technology functions
MC_WritePeriphery - ErrorIDs
S7-Technology
6-258 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-259
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.
Supported for
• DP I/O on DP(DRIVE)
Prerequisites
• The I/O must support data record communication.
• The I/O must support the relevant data record.
Overriding commands
MC_ReadRecord commands cannot be canceled by any other command.
MC_ReadRecord commands do not cancel any other commands.
Input parameters
S7-Technology
6-260 A5E00251798-05
Technology functions
MC_ReadRecord - ErrorIDs
S7-Technology
A5E00251798-05 6-261
Technology functions
S7-Technology
6-262 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-263
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 any error in the range from 80A0 to 80CF
which is not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
6-264 A5E00251798-05
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 system function SFC 58
"WR_REC" which is used to write data records at the DP interface of an
S7 CPU.
Supported for
• DP I/O on DP(DRIVE)
Prerequisites
• The I/O must support data record communication.
• The I/O must support the relevant data record.
Overriding commands
MC_WriteRecord commands cannot be canceled by any other command.
MC_WriteRecord commands do not cancel any other commands.
Input parameters
S7-Technology
A5E00251798-05 6-265
Technology functions
MC_WriteRecord - ErrorIDs
S7-Technology
6-266 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-267
Technology functions
S7-Technology
6-268 A5E00251798-05
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 any error in the range from 80A0 to 80CF
which is not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-05 6-269
Technology functions
Purpose
• The "MC_ReadDriveParameter" technology function allows the user program
to read the parameters of a drive connected to DP(DRIVE).
Supported for
• PROFIdrive-compliant drives on DP(DRIVE)
Prerequisites
• 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
MC_ReadDriveParameter commands cannot be canceled by any other command.
MC_ReadDriveParameter commands do not cancel any other commands.
Input parameters
S7-Technology
6-270 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-271
Technology functions
MC_ReadDriveParameter - ErrorIDs
S7-Technology
6-272 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-273
Technology functions
S7-Technology
6-274 A5E00251798-05
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 any error in the range from 80A0 to 80CF
which is not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-05 6-275
Technology functions
Purpose
• The "MC_WriteDriveParameter" technology function allows the user program
to write the parameters of a drive connected to DP(DRIVE).
Supported for
• PROFIdrive-compliant drives on DP(DRIVE)
Prerequisites
• 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
MC_WriteDriveParameter commands cannot be canceled by any other command.
MC_WriteDriveParameter commands do not cancel any other commands.
Input Data type Initial value Description
parametersParame
ters
Execute BOOL FALSE Start of the command at the positive edge
InOut BOOL 0 I/O assignment of the logical base address of the drive
FALSE: Input address
TRUE: Output address
Address INT 0 Definition of the logical base address of the module
ParameterNumber DINT 0 Definition of the parameter number to which data
should be written.
Possible Values: 0 - 65535
SubIndex DINT 0 Specifies the first parameter index to be read (with
NumberOfElements = 0 the value is internally set to
zero) - Range of values: 0-65535
NumberOfElements DINT 0 Number of sub-parameters to be written:
Value > 0: Parameter with subindex, range
of values 1 to 228 (according to the
maximum length of the data area at
input parameter Data)
Value = 0: Parameter without subindex
Value < 0: Not allowed
S7-Technology
6-276 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-277
Technology functions
MC_WriteDriveParameter - ErrorIDs
S7-Technology
6-278 A5E00251798-05
Technology functions
S7-Technology
A5E00251798-05 6-279
Technology functions
S7-Technology
6-280 A5E00251798-05
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 any error in the range from 80A0 to 80CF
which is not listed in the list shown earlier, consult your DP slave documentation.
S7-Technology
A5E00251798-05 6-281
Technology functions
The table below shows the reciprocal actions of a new command on active single commands.
S7-Technology
6-282 A5E00251798-05
Technology functions
driving 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
• The output parameters of InGear or InSync state. The Statusword.SynchrCommand variable
technology functions are set for synchronous is not yet set at the technology DB (system
operation. (System variable of the variable of the synchronization object
synchronization object enablecommand=active). enablecommand=waiting_to_start).
• The command is active when a synchronization • In desynchronization wait state, the InSync or
motion is active. Variable InGear output parameters of the technology
Statusword.SynchrCommand in the technology function are still set. In addition, the
DB of the synchronization axis is set (system Statusword.SynchrCommand variable is set at
variable of the synchronization object the technology DB of the synchronization axis
enablecommand=active). (system variable of the synchronization object
• The output parameters InGear or InSync of the disablecommand=waiting_to_start).
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 synchronization object
disablecommand=active).
Abort 1 Abort direction
The new command is executed. Active commands The MC_MoveToEndPos command is canceled, or
are 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 execution of the function and is not executed. Execution of the active
active command continues. command is continued.
No influence Superimposed
Does not have any direct influence on the active The new motion command is superimposed on the
function. Command execution depends on the TO current motion command. The active command is
status. not canceled.
Superimposed abort Superimposed waiting
The new motion command is superimposed on the A new command is executed and waits for the
current motion command. The active command is desynchronization condition. The motion initiated by
not canceled. If neither the synchronization nor this new command is superimposed on the motion of
desynchronization condition of the active command the active command without canceling the active
is met, the new command will be canceled when a command.
condition is satisfied.
Waiting Waiting abort
The new command is queued in memory and is A new command is executed and waits for the
appended in waiting state to the active command. synchronization or desynchronization condition. The
The waiting command is executed after the active active command is aborted when either the
command was completed. synchronization or the desynchronization condition of
the new command is satisfied.
The default axis configuration data shown in the table above apply to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL(0)).
S7-Technology
A5E00251798-05 6-283
Technology functions
The table below shows the reciprocal actions of a new command on active single commands.
driving 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
• The output parameters of InGear or InSync state. The Statusword.SynchrCommand variable
technology functions are set for synchronous is not yet set at the technology DB (system
operation. (System variable of the variable of the synchronization object
synchronization object enablecommand=active). enablecommand=waiting_to_start).
• The command is active when a synchronization In desynchronization wait state, the InSync or InGear
motion is active. Variable output parameters of the technology function are still
Statusword.SynchrCommand in the technology set. In addition, the Statusword.SynchrCommand
DB of the synchronization axis is set (system variable is set at the technology DB of the
variable of the synchronization object synchronization axis (system variable of the
enablecommand=active). synchronization object
The output parameters InGear or InSync of the disablecommand=waiting_to_start).
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. The active The MC_MoveToEndPos command is canceled or
command is canceled immediately. the new command is canceled with error, depending
on the direction of the new command.
S7-Technology
6-284 A5E00251798-05
Technology functions
The default axis configuration data shown in the table above apply to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL(0)).
The table below shows the reciprocal actions of a new command on active single commands.
S7-Technology
A5E00251798-05 6-285
Technology functions
The default axis configuration data shown in the table above apply to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL(0)).
S7-Technology
6-286 A5E00251798-05
Technology functions
The table below shows the reciprocal actions of a new command on active commands.
S7-Technology
A5E00251798-05 6-287
Technology functions
driving 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
• The output parameters of InGear or InSync state. The Statusword.SynchrCommand variable
technology functions are set for synchronous is not yet set at the technology DB (system
operation. (System variable of the variable of the synchronization object
synchronization object enablecommand=active). enablecommand=waiting_to_start).
• The command is active when a synchronization • In desynchronization wait state, the InSync or
motion is active. Variable InGear output parameters of the technology
Statusword.SynchrCommand in the technology function are still set. In addition, the
DB of the synchronization axis is set (system Statusword.SynchrCommand variable is set at
variable of the synchronization object the technology DB of the synchronization axis
enablecommand=active). (system variable of the synchronization object
• The output parameters InGear or InSync of the disablecommand=waiting_to_start).
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. Active commands The new command is executed. A waiting command
are canceled immediately. is canceled immediately. An active command is
canceled if either the synchronization or the
desynchronization condition of the new command is
satisfied.
Abort 3 Abort direction
The new command is executed and immediately The MC_MoveToEndPos command is canceled or
cancels the second active command. Execution of the new command is canceled with error, depending
the first active command continues and is not on the direction of the new command.
canceled.
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 execution of the function and is not executed. Execution of active
active commands continues. commands is continued.
No influence Superimposed
Does not have any direct influence on the active The new motion command is superimposed on the
function. Command execution is determined by the active motion commands. The active commands are
TO status. not canceled.
Superimposed abort Waiting abort
The new motion command is superimposed on the A new command is executed and waits for the
active motion commands. Active commands are not synchronization or desynchronization condition. The
canceled. If neither the synchronization nor active commands are aborted when either the
desynchronization condition of the active command synchronization or the desynchronization condition of
is met, the new command will be canceled when a the new command is satisfied.
condition is satisfied.
The default axis configuration data shown in the table above apply to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL(0)).
S7-Technology
6-288 A5E00251798-05
Technology functions
The table below shows the reciprocal actions of a new command on active commands.
driving 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
• The output parameters of InGear or InSync state. The Statusword.SynchrCommand variable
technology functions are set for synchronous is not yet set at the technology DB (system
operation. (System variable of the variable of the synchronization object
synchronization object enablecommand=active). enablecommand=waiting_to_start).
• The command is active when a synchronization • In desynchronization wait state, the InSync or
motion is active. Variable InGear output parameters of the technology
Statusword.SynchrCommand in the technology function are still set. In addition, the
DB of the synchronization axis is set (system Statusword.SynchrCommand variable is set at
variable of the synchronization object the technology DB of the synchronization axis
enablecommand=active). (system variable of the synchronization object
• The output parameters InGear or InSync of the disablecommand=waiting_to_start).
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. Active commands The new motion command is superimposed on the
are canceled immediately. active motion commands. Active commands are not
canceled.
S7-Technology
A5E00251798-05 6-289
Technology functions
Superimposed abort
The new motion command is superimposed on the
active motion commands. Active commands are not
canceled. If neither the synchronization nor
desynchronization condition of the active command
is met, the new command will be canceled when a
condition is satisfied.
The default axis configuration data shown in the table above apply to the axes
(configuration parameter
TypeOfAxis.DecodingConfig.transferSuperimposedPosition =
TRANSFER_STANDSTILL(0)).
S7-Technology
6-290 A5E00251798-05
Technology functions
Example 1
S7-Technology
A5E00251798-05 6-291
Technology functions
Example 2
S7-Technology
6-292 A5E00251798-05
Technology functions
The technology function is initialized after each POWER OFF (POWER OFF ->
POWER ON) and restart (RUN-STOP -> STOP-RUN).
Note
If input parameter Execute=TRUE after POWER OFF or restart, the system starts
the command when it detects a signal edge.
In order 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.
S7-Technology
A5E00251798-05 6-293
Technology functions
Note
You can edit the default limits of the axis configuration by calling the
"MC_WriteParameter" technology function.
Note
Initially, the dynamic values in the technology function are not verified at the start
of motion control commands. The command is output to the system. The system
verifies the dynamic values and reports any errors at the corresponding technology
DB. It also sets output parameter CommandAborted at the technology function.
S7-Technology
6-294 A5E00251798-05
Technology functions
The technology converts all absolute positioning parameters to the modulo axis
cycle.
Example of an axis with modulo start value 0° and modulo length 360°:
1. Absolute positioning to position 400° positions the axis to 40° (400 modulo
360° = 40°).
2. When a homing position of -20° is set, the effect is the same as a homing
position 340°.
3. The ON position of an output cam is set to 730°. The output cam ON position is
10° (730° modulo 360° = 10°)
S7-Technology
A5E00251798-05 6-295
Technology functions
S7-Technology
6-296 A5E00251798-05
7 Technology DBs
The integrated technology writes the data to the DB which is read-only in the
STEP 7 user program.
The DB is not retentive, irrespective of retention settings at the CPU.
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
Returns the ErrorID of the error or warning most recently detected at the speed-
controlled axis.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-1
Technology DBs
ErrorStatus.xxx variable
The bits in the ErrorStatus.xxx variable return information on certain axis errors.
S7-Technology
7-2 A5E00251798-05
Technology DBs
Statusword.xxx variable
Statusword indicates the current status of the speed-controlled axis.
S7-Technology
A5E00251798-05 7-3
Technology DBs
CommandVelocity variable
Shows the current velocity setpoint for the axis (allowance is made for the actual
SpeedOverride).
CommandAcceleration variable
Shows the current acceleration setpoint for the axis (allowance is made for the
actual AccelerationOverride).
ActualVelocity variable
The variable returns the actual velocity of the axis.
If the speed-controlled axis is lacking an encoder, this value is always 0.
ActualAcceleration variable
Returns the current acceleration of the axis.
If the speed-controlled axis is lacking an encoder, this value is always 0.
S7-Technology
7-4 A5E00251798-05
Technology DBs
SpeedOverride variable
Returns the percentage of the currently effective SpeedOverride. The percentage
is reciprocal to the velocity setpoint of the axis. Default = 100%t.
SpeedOverride can be set within the range from 0% to 200% using the
"MC_WriteParameter" technology function.
AccelerationOverride variable
Returns a percentage of the currently active AccelerationOverride. The percentage
is reciprocal to the acceleration setpoint of the axis. Default value = 100%
AccelarationOverride can be set from 1% to 1000% at the "MC_WriteParameter"
technology function.
S7-Technology
A5E00251798-05 7-5
Technology DBs
The integrated technology writes the data to the DB. The DB is read-only in the
STEP 7 user program.
The DB is not retentive, irrespective of retention settings at the CPU.
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
The variable returns the ErrorID of the last error or warning detected at the
positioning axis.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
7-6 A5E00251798-05
Technology DBs
ErrorStatus.xxx variable
The bits in variable ErrorStatus.xxx return information on certain positioning axis
errors.
S7-Technology
A5E00251798-05 7-7
Technology DBs
Statusword.xxx variable
The Statusword variable returns the current status of the positioning axis.
S7-Technology
7-8 A5E00251798-05
Technology DBs
CommandVelocity variable
Shows the current velocity setpoint for the axis (allowance is made for the actual
SpeedOverride).
CommandAcceleration variable
Shows the current acceleration setpoint for the axis (allowance is made for the
actual AccelerationOverride).
S7-Technology
A5E00251798-05 7-9
Technology DBs
ActualVelocity variable
The variable returns the actual velocity of the axis.
ActualAcceleration variable
Returns the current acceleration of the axis.
SpeedOverride variable
Returns the percentage of the currently effective SpeedOverride. The percentage
is reciprocal to the velocity setpoint of the axis. Default = 100%t.
SpeedOverride can be set within the range from 0% to 200% using the
"MC_WriteParameter" technology function.
AccelerationOverride variable
The variable returns the percentage of a currently effective AccelerationOverride.
The percentage is reciprocal to the acceleration setpoint of the axis. Default
value = 100%
AccelarationOverride can be set from 1% to 1000% at the "MC_WriteParameter"
technology function.
ActualPosition variable
Shows the current axis position.
CommandPosition variable
Indicates the current position setpoint for positioning operations.
TargetPosition variable
Indicates the target position for the current command. This value only applies
during the execution of a positioning command.
Distance variable
Shows the current distance of relative / absolute positioning. This value applies
only when a positioning command is busy.
DecelerationDistance variable
The variable returns the current stop distance of the axis. This value only applies
during the execution of a positioning command.
FollowingError variable
Indicates the current following error value of the axis. This value only applies during
the execution of a positioning command.
S7-Technology
7-10 A5E00251798-05
Technology DBs
The integrated technology writes the data to the DB. The DB is read-only in the
STEP 7 user program.
The DB is not retentive, irrespective of retention settings at the CPU.
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
Shows the ErrorID of the last error or warning detected at the synchronization axis.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-11
Technology DBs
ErrorStatus.xxx variable
The bits in the ErrorStatus.xxx variable return information on certain axis errors.
S7-Technology
7-12 A5E00251798-05
Technology DBs
Statusword.xxx variable
The statusword variable returns the current status of the synchronization axis.
S7-Technology
A5E00251798-05 7-13
Technology DBs
CommandVelocity variable
Shows the current velocity setpoint for the axis (allowance is made for the actual
SpeedOverride).
CommandAcceleration variable
Shows the current acceleration setpoint for the axis (allowance is made for the
actual AccelerationOverride).
S7-Technology
7-14 A5E00251798-05
Technology DBs
ActualVelocity variable
The variable returns the actual velocity of the axis.
ActualAcceleration variable
Returns the current acceleration of the axis.
SpeedOverride variable
Returns the percentage of the currently effective SpeedOverride. The percentage
is reciprocal to the velocity setpoint of the axis. Default = 100%t.
SpeedOverride can be set within the range from 0% to 200% using the
"MC_WriteParameter" technology function.
AccelerationOverride variable
The variable returns the percentage of a currently effective AccelerationOverride.
The percentage is reciprocal to the acceleration setpoint of the axis. Default value
= 100%
AccelarationOverride can be set from 1% to 1000% at the "MC_WriteParameter"
technology function.
ActualPosition variable
Shows the current axis position.
CommandPosition variable
Indicates the current position setpoint for positioning operations.
TargetPosition variable
Indicates the target position for the current command. This value only applies
during the execution of a positioning command.
Distance variable
Shows the current distance of relative / absolute positioning. This value only
applies during the execution of a positioning command.
DecelerationDistance variable
The variable returns the current stop distance of the axis. This value only applies
during the execution of a positioning command.
S7-Technology
A5E00251798-05 7-15
Technology DBs
FollowingError variable
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.
SyncStatus variable
Direction variable
The Technology CPU uses the RatioNumerator and RatioDenominator input
parameters to calculate the gear ratio and sense of direction for gearing mode.
The sense of direction of the gear is defined by the Direction variable.
Camming rules out a contradictory sense of direction, i.e. the value 5 will be set in
camming mode.
NumGear/DenomGear variable
The variables return the gear ratio of basic synchronism. The NumGear variable
returns the leading axis coefficient and the DenomGear variable the following axis
coefficient (in the context of basic synchronism). The indicated values apply only to
basic synchronism.
Example:
At a gear ratio of 17:25 between the leading and following axes, the NumGear
variable shows value 17, and the DenomGear variable the value 25.
PhaseShift variable
Shows the phase offset between the position setpoints of the leading axis and
following axis operating in basic synchronism. The value indicated is only valid
during basic synchronism.
S7-Technology
7-16 A5E00251798-05
Technology DBs
SupImpSyncStatus variable
SupImpDirection variable
The Technology CPU uses input parameters RatioNumerator and
RatioDenominator to calculate the gear ratio and sense of direction for
superimposed gearing.
The sense of direction of the gear is defined by the Direction variable.
Superimposed camming rules out a contradictory sense of direction, i.e. the value
5 will be set in superimposed camming mode.
SupImpNumGear/SupImpDenomGear variable
These variables return the gear ratio for superimposed synchronism. The
SupImpNumGear variable shows the coefficient of the leading axis, and the
SupImpDenomGear shows the coefficient of the following axis (with reference to
the superimposing coordinate system of the following axis). The indicated values
apply only to active superimposed synchronism.
SupImpPhaseShift variable
The variable indicates the offset between the position setpoints of the leading axis
and the superimposing coordinate system of the following axis. This value is only
applies to active superimposed synchronism.
S7-Technology
A5E00251798-05 7-17
Technology DBs
The integrated technology writes the data to the DB. The DB is read-only in the
STEP 7 user program.
The DB is not retentive, irrespective of retention settings at the CPU.
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
Shows the ErrorID of the last detected error or warning of the external encoder.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
7-18 A5E00251798-05
Technology DBs
ErrorStatus.xxx variable
The bits in variable ErrorStatus.xxx return information on various errors at the
external encoder.
S7-Technology
A5E00251798-05 7-19
Technology DBs
Statusword.xxx variable
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-05
Technology DBs
ActualPosition variable
Shows the actual 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.
ActualVelocity variable
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-05 7-21
Technology DBs
The integrated technology writes the data to the DB. The DB is read-only in the
STEP 7 user program.
The DB is not retentive, irrespective of retention settings at the CPU.
ErrorID variable
Shows the ErrorID of the last error or warning detected at the cam disk.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
Status variable
UserCount variable
This variable returns the number of TOs which currently use the cam.
S7-Technology
7-22 A5E00251798-05
Technology DBs
Statusword.xxx variable
The Statusword variable indicates the current status of the cam disk.
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-23
Technology DBs
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
The variable returns the ErrorID of the last error or warning detected at the
measuring input.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
Status variable
Indicates the operating state of the measuring input. The following operating states
may be shown:
MeasureValue1 variable
Returns measured value 1 of the measuring input. This value is valid in status
(operating state) 2.
S7-Technology
7-24 A5E00251798-05
Technology DBs
MeasureValue2 variable
Returns measured value 2 of the measuring input. This value is valid in status
(operating state) 2.
The measured value 2 is only logged in modes 3 and 4 of the
"MC_MeasuringInput" technology function.
MeasureStart/MeasureEnd variable
The MeasureStart variable returns the low limit, the MeasureEnd variable the high
limit of the measurement window. Only the measured values within these limits are
logged. When the MeasureStart value equals the MeasureEnd value, the
measuring window limits are ignored.
The MeasureStart/MeasureEnd variables shown at the DB correspond with the
values at the input parameters of the relevant
technology function "MC_MeasuringInput."
Statusword.xxx variable
The Statusword indicates the current status of the measuring input.
Reserve02 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve03 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve04 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-25
Technology DBs
Reserve05 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve06 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve07 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve08 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve09 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve10 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
7-26 A5E00251798-05
Technology DBs
ErrorID variable
Shows the ErrorID of the last error or warning detected at the output cam.
An error entry can be acknowledged by calling technology function "MC_RESET"
(with Axis = number of the technology DB).
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
State variable
CamType Variable
S7-Technology
A5E00251798-05 7-27
Technology DBs
Mode variable
2 normal The current operating state output cam is "Cam enabled (output not
inverted)"
3 Inverse The current operating state of the output cam is "Cam enabled (output
inverted)"
4 Always on The current operating state of the output cam is "Cam always on."
Direction variable
The variable returns the effective cam direction of the most recent MC_CamSwitch
or MC_CamSwitchTime command. It is not changed in the following
"MC_CamSwitch" and "MC_CamSwitchTime" modes:
• Mode = 1 (output cam disabled)
• Mode = 4 (cam always on)
Value Meaning
1 Positive effective direction
2 Positive and negative effective direction , i.e. the effective direction is irrelevant
3 Negative effective direction
4 The current rotational direction of the axis is the effective direction
OnPosition variable
This variable returns the current cam activation position.
OffPosition variable
The variable returns the current cam deactivation position.
Duration variable
The variable returns 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 cam
activation/deactivation times.
Value < 0: advanced activation
Value > 0: retarded activation
S7-Technology
7-28 A5E00251798-05
Technology DBs
Hysteresis variable
The variable returns the actual value of the hysteresis.
Statusword.xxx variable
The Statusword indicates the current status of the cam.
Reserve02 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve03 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve04 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve05 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve06 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-29
Technology DBs
Reserve07 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve08 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve09 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve10 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
7-30 A5E00251798-05
Technology DBs
ErrorID variable
Returns the ErrorID of the most recently detected error. The cause of error must be
eliminated. The error can not be acknowledged.
See: Possible error messages and warnings
S7_TraceDINT[0..1] variable
The S7_TraceDINT variable contains an ARRAY with two elements of the data
type DINT.
These values can be selected for signal tracing in the TraceTool of S7T Config in
Technology > userdata1 > user1 and user2.
S7_TraceDWORD[0..1] variable
The S7_TraceDWORD variable contains an ARRAY with two elements of the data
type DWORD. Use this variable to trace bit information such as status word or error
word using the S7T Config TraceTool. In the TraceTool, you can select the bits as
usual in the SIMATIC numbering system.
These values can be selected for tracing when you select the signal in Technology
> userdata1 > user3 and user4 in the TraceTool of S7T Config.
S7_TraceREAL[0..3] variable
The S7_TraceREAL variable contains an ARRAY with four elements of the data
type REAL.
These values can be selected for tracing at Technology > userdata1 > user5,
user6, user7 and user8 when you select the signal in the TraceTool of S7T Config.
S7-Technology
A5E00251798-05 7-31
Technology DBs
UpdateFlag/UpdateCounter variable
See: Updating technology DBs
ErrorID variable
Returns the ErrorID of the most recently detected error. The cause of error must be
eliminated. The error can not be acknowledged.
See: Possible error messages and warnings
ErrorBuffer[0..2] variable
Memory for the first three errors and warnings received. The first error is written to
ARRAY element 0, the second to ARRAY element 1, etc.
The content of this memory can be cleared by calling technology function
"MC_RESET" (with Axis = number of the technology DB).
Reserve34 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
MaxLoopDuration variable
Returns the maximum command execution time of integrated technology.
The entry will be deleted during startup of the Technology CPU, or at the call of FB
"MC_Reset" (with Axis = MCDevice DB; Restart = TRUE or FALSE.)
CmdLoopDuration variable
The variable returns the mean value by seconds of the command execution time of
integrated technology.
The entry will be deleted during startup of the Technology CPU, or at the call of FB
"MC_Reset" (with Axis = MCDevice DB; Restart = TRUE or FALSE.)
S7-Technology
7-32 A5E00251798-05
Technology DBs
StationLifeList[0..127] variable
The ARRAY of this variable lists all partner stations available on PROFIBUS
DP(DRIVE). The number of the ARRAY element corresponds to the PROFIBUS
address. A value 1 in an element indicates that the partner station is available, and
the value 0 that it is not available.
DoneFlag[1..32] variable
The ARRAY elements 1 to 32 can be assigned to the DoneFlag input parameter of
the function blocks.
The value of the DoneFlag is inverted (FALSE is set TRUE or TRUE is set FALSE)
each time a command of the technology function is completed. The DoneFlag is
only set as long as the initiated command can be monitored. The command can no
longer be monitored if a subsequent command uses the same instance.
DIStatus[0..3] variable
The ARRAY elements 0 to 3 return the status at the integrated digital inputs of
CPU 31xT.
DOStatus[0..7] variable
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 output cams in S7T Config, for example.
Statusword.xxx variable
The statusword variable returns the current status of the synchronization axis.
S7-Technology
A5E00251798-05 7-33
Technology DBs
TODBTaskOverflows variable
Shows the number of technology DB update overflows. The maximum value
returned is FFFFFFFF.
The entry will be deleted during startup of the Technology CPU, or at the call of the
"MC_Reset" technology function (with Axis = MCDevice-DB; Restart = TRUE or
FALSE.)
Note
You also set the basic clock for the technology DB updates in S7T Config by
selecting the Target system > Set system clocks command.
A time setting which is too short can lead to an overflow during the technology DB
update (when operating with integrated technology with firmware V3.2x or higher,
the CPU will no longer go into STOP).
An "overflow" is given when the active technology DB update is not yet completed
and thus prevents the start of a new update cycle. 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.
Reserve02 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve03 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve04 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve05 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve06 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
7-34 A5E00251798-05
Technology DBs
Reserve07 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve08 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve09 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
Reserve10 variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
TO_Adaption variable
The variable is reserved for internal functions. It does not contain any user-relevant
information.
S7-Technology
A5E00251798-05 7-35
Technology DBs
Note
You define the basic clock of the update in S7T Config by selecting the Target
system > Set system 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. When operating with integrated
technology firmware V3.1.x or earlier, the Technology CPU will go into STOP when
it detects a technology DB update overflow. Integrated technology with firmware
V3.2.x or higher tolerates this overflow, i.e. the non-executable update is
discarded, and technology synchronization interrupt OB 65 will not be called.
The number of overflows, and therefore the failure rate of Technology DB updates,
can be read from the TODBTaskOverflows variable at 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 step-down ratio and an
offset in "Technology Objects Management". Select View > Expert mode to
activate the expert mode.
S7-Technology
7-36 A5E00251798-05
Technology DBs
A step-down ratio 1 and offset 0 are set for the technology DBs by default. All
technology DBs are updated within the basic clock cycle (technology DB update
cycle). The selected basic clock cycle of the technology DB update must be of
sufficient length to allow the update of all technology DBs.
Update of technology DBs with graded reduction ratio and uniform offset
S7-Technology
A5E00251798-05 7-37
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. 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 step-down ratio and offset:
• Do not set shorter cycles than you can evaluate in the user program
• Select the same step-down 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 Cyclic distribution of technology DBs of greater length (for example, axis
technology DBs) will lead to a more even distribution of load compared to the
distribution of short technology DBs
S7-Technology
7-38 A5E00251798-05
Technology DBs
Instructions
• The technology synchronization interrupt is called in each basic clock,
regardless whether or not a technology DB is updated within this basic clock
• The technology DBs update and the generation of the feedback signals of the
technology functions are handled asynchronously The data are therefore
inconsistent
After the call of the Done output parameter, wait until the "UpdateCounter" is
incremented before you analyze the technology data block (to determine the
position, for example)
S7-Technology
A5E00251798-05 7-39
Technology DBs
Note
The ErrorID, ErrorStatus and ErrorBuffer entries are updated asynchronously, i.e.
irrespective of the status of the "UpdateFlag".
S7-Technology
7-40 A5E00251798-05
Technology DBs
Warnings
* Alarms in S7T Config which may be associated with the warning indicated.
S7-Technology
A5E00251798-05 7-41
Technology DBs
Errors
S7-Technology
7-42 A5E00251798-05
Technology DBs
S7-Technology
A5E00251798-05 7-43
Technology DBs
S7-Technology
7-44 A5E00251798-05
Technology DBs
S7-Technology
A5E00251798-05 7-45
Technology DBs
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
7-46 A5E00251798-05
Technology DBs
Warnings
ErrorID Warning message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
0020 Restart to activate A parameter was changed Apply the parameter 20010 20010
the parameter and is not applied changes by disabling and
changes immediately then initializing the object
("MC_Reset" with Restart =
TRUE)
0021 Dynamic values are • The command's Check the cause of the 40002, 40002,
limited dynamic values excess setpoint values: 40003, 40004 40003,
(velocity, acceleration, Configured high limits; 40004,
deceleration or jerk) speed setpoint interface; 50003, 50005
are being limited encoder wiring; mechanical
because these exceed configuration.
set limits.
• Any superimposing
commands which are
active at the Acknowledge the warning
technology object may when the superimposing
also limit dynamic motion has ended.
values. The warning
cannot be
acknowledged until
the resulting dynamic
response of the
superimposed
commands is no
longer limited.
0022 Internal warning Temporary internal For detailed information, 50103, 20009,
problem refer to the alarm view of 50104, 40109, 50010
S7T Config 50105,
50106,
50108, 50109
0023 The max. The defined stop time Increase the stop time or 40013 0023
acceleration limits cannot be reached. The acceleration setting in your
the stop time stop time is prolonged configuration.
because it cannot be
reached due to the
effective maximum
acceleration.
0024 No long-term The numerator and Modify the transmission 50008
stability of gear denominator values of the ratio, or correct any
synchronism gear ratio are too high. inaccuracy with a new
This may result in synchronization.
mathematical rounding
errors in long-term
operation.
0026 Position limited to The target position of a Check the calculated target 40105
software limit switch positioning command is position
outside the range of the
software limit switch
* Alarms in S7T Config which may be associated with the warning indicated.
S7-Technology
A5E00251798-05 7-47
Technology DBs
Errors
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8001 Fatal internal error Project/software Check consistency of the 20001 20001, 50015
faulty/inconsistent; cannot project. Recompile all data
be rectified by the user. and download these to the
module. Read the error
code from the alarm view in
S7T Config and then inform
the Siemens Hotline.
8002 Internal error • Version conflict Check consistency of the 30004, 30004,
• Firmware error project. Recompile all data 30005, 30005,
and download these to the 30010, 30010,
• Inconsistent software module. Evaluate the alarm 30011, 30015 30011, 30015
view of S7T Config and
inform the Siemens Hotline.
8003 Fatal configuration Faulty axis configuration. • Check the plausibility of 20004, 20006 20004, 20006
error A hardware driver, or the changed parameters.
device it addresses, may Examples: Leadscrew
not be available pitch is 0; homing with
absolute value encoder
beyond zero mark is not
possible.
• Check the connected
devices and their
configuration in HW
Config.
• Verify that the message
frame type used is
compatible with the
object.
• Download the
technology to the PLC
again.
8004 Configuration error Incomplete or faulty Check the plausibility of 20003, 20011 20003, 20011
configuration of a TO. changed parameters.
Evaluate the detailed
information in the alarm
view of S7T Config.
8005 Command memory The command can not be In S7T Config, increase the 30003 30003
is full executed, because of "maximum number of active
insufficient command command IDs." Set the
capacity - Cause: value in the Expert List at
• The TO can not save configuration parameter
additional commands numberOfMaxBufferedCom
mandId.
This setting also increases
the command handling
capacity of the TO.
8006 Insufficient memory Integrated Technology is Reduce the number of 20002 20002
out of memory. technology objects, or the
number of interpolation
points or the polynomials in
the cam disks.
S7-Technology
7-48 A5E00251798-05
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8008 Invalid technology The Technology rejects Recreate the DB in the
DB the DB because this does "Technology Objects
not have a valid internal Management" dialog box
ID. Perhaps the DB was and download the
generated in a copy configuration data again, i.e.
operation. establish online / offline
consistency.
8009 The technology DB The DB is no longer Delete the DB
is disabled because assigned to the technology
it was replaced with object, because a newer
a newer 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 unavailable or in device was available at the
use by another TO. time the request was output,
or whether it was in use by
another technology object
(TO).
Connect a suitable device.
Check the device, i.e. its
function, connections and
wiring.
Check the topology in HW
Config.
Compare the configuration
in HW Config with that of
the TO.
8010 Drive failure Failure of the drive, or of Check the device functions, 20005 20005, 50001
an external device, or connections and wiring.
communication is Check the configuration in
disrupted, as a result of HW Config, based on
faulty configuration or current message frame
parameter data. settings.
8012 Homing error The requested homing Check the settings for axis 40103
mode is not supported. homing in terms of
Examples: Homing with inconsistency and illegal
absolute value encoder; values.
Homing
velocity = 0.;
8013 Hardware limit • The hardware- Return the drive to its 50007
switch is actuated limit switch was operating range. Check the
triggered. limit switch connections.
• The polarity of the
switch was reversed.
• Wrong direction of the
release motion
8014 Software- A motion was stopped Check the motion program. 40106, 40111
limits switch when the software limit
approached switch was reached
8015 Software limit switch An axis has passed the Check the motion program. 40107, 40112
passed software limit switch.
S7-Technology
A5E00251798-05 7-49
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8016 Following error out The offset between the Check the sense of direction 50102
of limits position setpoint and the of the encoder, the settings
actual position of the axis of the position control loop
has exceeded configured and of following error
limits. monitoring.
8017 Following error has The offset between the Check the sense of direction 50103
exceeded the position setpoint and the of the encoder, the settings
warning limit actual position of the axis of the position control loop
has exceeded configured and of following error
warning limits. monitoring.
8018 Standstill monitoring The axis has moved out of Check the functions of the 50107, 50008
error the standstill window or speed / position control
could not reach the loops, and the settings of
standstill window within standstill monitoring.
the time specified.
8019 Positioning The axis failed to reach Check the functions of the 50106
monitoring error the positioning window speed / position control
within the specified time. loops, and the settings of
positioning monitoring.
801A Synchronization The following axis of a Check the synchronization 40110, 40201
monitoring error synchronous grouping can and desynchronization
not operate within parameters, the gear ratio,
configured tolerance limits, and the configured units.
i.e. the offset between the Increase the set tolerance.
position setpoint and
actual value is too high.
801B Clamping monitoring Clamping error. Check: 50108
error The axis has exceeded • the fixed end stop
the "Position tolerance • the function of the
after fixed end stop position control loop
detection" without having
• the clamping monitoring
received a new motion
command. settings in S7T Config
S7-Technology
7-50 A5E00251798-05
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms 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
would violate limit and jerk. With
values or lead to superimposing motions,
impermissible reversal always make allowances for
or overshoot of the superimposing values at the
axis. dynamic parameters.
• The dynamic values Change the value at
returned by the configuration parameter
leading axis during SyncingMotion.
synchronization are synchronizingAdaption of
higher than the values the synchronization object
defined at the to NO, if the following axis is
following axis. The to be synchronized based
dynamic values set at on its set dynamic values.
the following axis for You can also change the
synchronization will be configuration parameter
ignored, and the using parameter number
following axis is 4337 at the
synchronized with the "MC_WriteParameter"
leading axis technology function.
accordingly.
801D Reference cam or • Reference cam or Check the permissible 40101, 40102
encoder zero mark encoder zero mark ranges (max. distance
not found outside the permitted between reference cam and
range. encoder zero mark, for
• An end position example) and the end
monitoring function position monitoring system,
has responded. and reduce the cutoff
speed.
• The speed was too
high.
801F Dynamic control loop • The position or speed • Check the sense of 50101
out of range controllers are not direction of the encoder.
tuned • Check the control loop
• Wrong sense of parameters.
direction of the • Modify the following
encoder error monitoring
• The parameter parameters.
settings of following
error monitoring are
too sensitive
• Offset between speed
setpoint and actual
value too high
8030 Limit frequency of The pulse rate of the Check the encoder wiring. 50002
the measuring encoder signals is out of Check whether the
system exceeded the permitted range. configured maximum speed
is too low.
S7-Technology
A5E00251798-05 7-51
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8031 Actual value • An incremental Check and adjust the 50001, 50013
monitoring error encoder is out of configuration data for the
range adaptation of the actual
• The movement per value to mechanical
position controller requirements
cycle exceeds the
modulo length of the
axis
8032 Cannot shift the The programmed Check the programmed shift 30014
coordinate system coordinate system shift 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 Encoder zero mark Wrong number of Check the wiring and the set 50006
monitoring increments between encoder resolution.
triggered encoder zero marks.
8040 The axis / external The enable signal required Eliminate and acknowledge 40005
encoder are for a motion command is all queued errors and then
disabled, or the missing. enable the relevant axis
wrong mode is set mode (e.g. position-
controlled).
8041 Axis not homed The active motion Home the axis 40108
command requires a ("MC_Home") If this
homed axis. command is to be executed
at an axis which is not
homed, then set axis
homing to "Homing required
= no"
8042 Illegal change of the The command for 40001
axis status changing the axis status
was rejected, because:
• This phase of the Repeat the command
operating state
is not completed.
• A mode transition is Initialize with reset.
not possible.
8043 Illegal command One or several invalid Check the command and 30001, 50107 30001
parameter- values at the input adjust illegal parameters.
or preset value parameters in the You should also observe
technology function of the current preset values.
command, or illegal
default parameters.
8045 Command not • A command of higher Acknowledge all queued 30006 30006, 30009
allowed in current priority is active (e.g. errors of the technology
state "MC_Stop") object.
• Technology object Wait for initialization of the
disabled or not ready. TO (after restart).
• Received Enable the technology
measurement object.
command when Disable "MC_Stop."
homing
Do not start any measuring
commands during homing.
S7-Technology
7-52 A5E00251798-05
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8046 Command not The connected drive does Check and adjust the drive 50012
supported by the not support this type of settings and configuration
drive command, for example, a data.
specific homing mode.
8047 Cannot 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
brought to standstill, errors by cycling power OFF
and the error causing and ON.
this can not be
acknowledged.
• Further errors occur
during
acknowledgment or in
the restart phase.
8048 Unable to restart The object is active, or a Eliminate and acknowledge 20012 20012
queued error prevents all queued errors and
restart. disable the object.
8049 Illegal object Faulty combination of 20007 20007
combination technology objects.
Examples:
• Axis_2 was set as • Set a defined leading /
leading following axis
synchronization axis combination.
for Axis_1, while
Axis_1 is set as
leading axis for
Axis_2.
• The synchronized • Assign the leading /
drives are processed following axes to the
at different run levels. 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
combinations of the synchronization object
leading / following of the following axis.
axes and cam disks.
• The configured cam
disk was not assigned
to the axis as valve
profile in S7T Config.
804B Limit switch active; A hardware Check the mechanical 50009
illegal command limit switch is actuated. configuration and the wiring.
Only motion commands in Correct any program errors
direction of the operating or use the software limit
range are allowed. switches.
8063 Cam is not At the start of camming, it Check the current cam 50002
interpolated was detected that the cam status at the technology DB.
was not interpolated yet. Add the missing points or
segments, and then
interpolate the cam.
S7-Technology
A5E00251798-05 7-53
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8064 Failed to access the • The cam disk • Check the cam disk and 50001, 50004
cam specified does not all possible
exist. interconnections with
the axes (configuration
of synchronism).
• The cam disk is not • In order to be able to
interconnected with edit the cam disk, the
synchronous cam disk may neither be
operation. active in cam
synchronization, nor be
used as valve profile of
• The cam disk is a hydraulic axis.
already active. • If camming is started
relative to the leading
axis, the value of the
system variable
userdefault.
cammingsettings.
camstartpositionmaster
at the synchronization
object must lie within
the definition range of
the cam disk.
• The position of the
leading axis is outside • In order to execute non-
the cam definition cyclic cam
range synchronization with
absolute reference to
the leading axis, the
current position of the
master must be within
the definition range of
the cam.
Make allowances for the
cam shift caused by input
parameter MasterOffset.
8065 Cam A specified cam Check the start and end 50003
out of range interpolation point violates positions of cam
the defined cam range. synchronization and
desynchronization.
8072 Error when This error is caused by an Check the motion of the 50007
activating/deactivatin illegal status of the leading leading axis, or select a
g synchronous axis during different synchronization
operation synchronization and strategy.
desynchronization.
Example The leading axis
reverses during position-
based 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
7-54 A5E00251798-05
Technology DBs
ErrorID Fault message Possible causes To correct or avoid errors Alarms in Alarms in
S7T Config * S7T Config *
Synchroni- Synchroni-
zation zation
object axis
8074 The leading axis is • In the configuration of Adjust the configuration of 50101, 50102
not configured for the following axis, the the following axis or use the
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 in speed-
controlled mode.
8077 Deactivation of Deactivation of Deactivate camming with 50005
synchronous synchronism has been MC_CamOut and gearing
operation aborted rejected because the with MC_GearOut, or use
current synchronization global instructions
mode (gear / cam gear) (MC_Halt,
does not agree with the "MC_Stop", ...)
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 The command passed Check the parameters and 40006, 40006,
parameter contains a Zero default values. Observe in 40007, 40007,
parameter. This value, particular the limits and 40008, 40008,
however, must be unequal dynamic values (for 40009, 40009,
to Zero. example, max. speed or 40010, 40011 40010, 40011
deceleration of a positioning
operation.)
8085 Illegal limit switch Implausible position Adjust the setting of the SW 40104
parameters values set at 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 you neglect the
order by which parameters
are changed.
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
A5E00251798-05 7-55
Technology DBs
Warnings
* Alarms in S7T Config which may be associated with the warning indicated.
Errors
S7-Technology
7-56 A5E00251798-05
Technology DBs
S7-Technology
A5E00251798-05 7-57
Technology DBs
S7-Technology
7-58 A5E00251798-05
Technology DBs
S7-Technology
A5E00251798-05 7-59
Technology DBs
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
7-60 A5E00251798-05
Technology DBs
Warnings
* Alarms in S7T Config which may be associated with the warning indicated.
Errors
S7-Technology
A5E00251798-05 7-61
Technology DBs
S7-Technology
7-62 A5E00251798-05
Technology DBs
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
A5E00251798-05 7-63
Technology DBs
Warnings
* Alarms in S7T Config which may be associated with the warning indicated.
Errors
S7-Technology
7-64 A5E00251798-05
Technology DBs
S7-Technology
A5E00251798-05 7-65
Technology DBs
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
7-66 A5E00251798-05
Technology DBs
Warnings
* Alarms in S7T Config which may be associated with the warning indicated.
Errors
S7-Technology
A5E00251798-05 7-67
Technology DBs
S7-Technology
7-68 A5E00251798-05
Technology DBs
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
A5E00251798-05 7-69
Technology DBs
Errors
* Alarms in S7T Config which may be associated with the indicated error.
S7-Technology
7-70 A5E00251798-05
8 Download, test and diagnose
Always use the online cable to interconnect the PG with "X1" interface of the
Technology CPU.
Programming devices such as text-based displays and OPs may not be connected
to the "X3" interface (DP(DRIVE)). Any operation of these devices will jeopardize
isochronous operation on DP(DRIVE).
As an option, you may 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-05 8-1
Download, test and diagnose
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 data of integrated technology.
Hardware configuration The hardware configuration data are created in HW Config and
reflect the HW configuration of the station.
Technology These data comprise the configuration data of integrated
technology and of the TOs.
Firmware of integrated technology The current firmware of 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 in the
"Save and compile" operation (check box was reset), all
existing firmware data will be deleted from load memory.
• The current firmware of 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-05
Download, test and diagnose
S7-Technology
A5E00251798-05 8-3
Download, test and diagnose
All download operations described can also be directed to the MMC in the MMC
interface of the PG / PC. The card can be used to reduce download times. The
same applies to the compact Flash card of the Technology CPU Microbox T.
S7-Technology
8-4 A5E00251798-05
Download, test and diagnose
S7-Technology
A5E00251798-05 8-5
Download, test and diagnose
ACTUAL
The "ACTUAL" memory area is a component of 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 component of integrated technology. This
memory area is used for the interim storage of changes which are not immediately
activated.
S7-Technology
8-6 A5E00251798-05
Download, test and diagnose
S7-Technology
A5E00251798-05 8-7
Download, test and diagnose
The configuration data and the default values of system variables for the relevant TO
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, including the default
interpolation points/polynomials of the cam disks are transferred from "RAM" to
"ACTUAL."
S7-Technology
8-8 A5E00251798-05
Download, test and diagnose
You define the destination devices of the "Target system" in the "Download" tab.
• set the "CPUs" check box if the Technology CPU should belong to the "Target
system"
• set the "Drives" check box if all drives listed in the Navigator should belong to
the "Target system"
Note
The target devices of the "Target system" must be online.
You define which destination devices should go online by selecting the Target
system > Select target device command.
S7-Technology
A5E00251798-05 8-9
Download, test and diagnose
The delta data of the project will be 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
8-10 A5E00251798-05
Download, test and diagnose
Download to drive
The diagram below shows the reaction in memory to commands of S7T Config to
download data 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
A5E00251798-05 8-11
Download, test and diagnose
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
8-12 A5E00251798-05
Download, test and diagnose
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 changed configuration data of the type "Restart" and
"Immediate." You can identify the type in online mode by the entries in the "Effects"
column 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.
When a TO "Restart" is executed (example: by setting input parameter Restart =
TRUE at technology function "MC_Reset",) the changed value is transferred from
memory area "NEXT" to "ACTUAL."
Changed 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
A5E00251798-05 8-13
Download, test and diagnose
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 TO "Restart" is executed (example: by setting input parameter Restart =
TRUE at the technology function "MC_Reset") you transfer the changed value from
memory area "NEXT" to "ACTUAL" (applies only to configuration data of the type
"Restart".)
When "Collect changes" is active, all 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.
Changed values of system variables are downloaded directly to "ACTUAL." Memory
area "NEXT" will be by-passed.
S7-Technology
8-14 A5E00251798-05
Download, test and diagnose
Click "Download to device" to interpolate the cam disk represented in CamEdit, and
to download it to memory area "ACTUAL" of the integrated technology.
Click "Upload from device" to upload the interpolated cam disk from memory area
"ACTUAL" to CamEdit.
S7-Technology
A5E00251798-05 8-15
Download, test and diagnose
The integrated technology processes your tasks in single processing cycles. Based
on the task, you can adjust the technology system clocks to suit your requirements
and to enhance performance of the Motion Control application.
Select the technology in S7T Config, and then select Target system > Set system
clocks.
S7-Technology
8-16 A5E00251798-05
Download, test and diagnose
The DP cycle time must be an integral multiple of 0.250 ms. Change the
value in HW Config if this not the case.
• Servo (position control cycle)
The system also calculates the axis position control within this cycle The
position control cycle can be set to an integral multiple of the DP cycle. The
Technology CPU supports the values 1 and 2. Select a multiplication factor
from the drop-down list box in order to set the required position control cycle.
Factor 1 should be the usual entry If you set the factor 2 dynamic performance
of the controller will deteriorate, however, computing time will be released for
processing other tasks. The average and maximum command execution times
can be read from the variables MaxLoopDuration and CmdLoopDuration of
Technology DB MCDevice.
The reduction ratio between the DP cycle and the position control cycle must
also be set at the drive as "master application cycle." This setting is required
for mutual sign-of-life monitoring. For further information, refer to the drive
documentation.
• Ipo (interpolator cycle)
Axis, external encoders, output cams and measuring inputs are computed by
default within the "Interpolator cycle" Select a multiplication factor from the
drop-down list box in order to set the required interpolator cycle
• Ipo_2 (Interpolator cycled 2)
"Interpolator cycle 2" is used to control motions of axis with lower priority This
value determines the time pattern for the calculation of axes, external
encoders, output cams and measuring inputs of a lower priority class. Select a
factor from the drop-down list box in order to set the required interpolator
cycle 2.
S7-Technology
A5E00251798-05 8-17
Download, test and diagnose
Technology parameterization
Click the selection button of the drop-down box on the left edge of the dialog box to
view the contents of this area. Input boxes in this area:
• Command monitoring time
Set this time to determine the maximum execution time of all active Motion
Control command
If the job monitoring time is exceeded, the Technology CPU changes to the
safe operation mode STOP. An error message will be entered in the diagnostic
buffer.
• Technology DB update time
Select an entry from the drop-down list to determine the basic cycle used by
integrated technology to update the technology DBs (cf. "Updating technology
DBs"). Frequent update operations will prolong the execution of Motion Control
commands.
We speak of an "overflow" situation when a new Technology DB update is
initiated while a previous update cycle is not yet completed. When operating
with integrated technology firmware V3.1.x or earlier, the Technology CPU will
go into STOP when it detects a technology DB update overflow. Integrated
technology with firmware V3.2.x or higher tolerates this overflow, i.e. the non-
executable update is discarded, and technology synchronization interrupt OB
65 will not be called. The number of overflows, and therefore the failure rate of
Technology DB updates, can be read from the TODBTaskOverflows variable at
Technology DB "MCDevice"
• Maximum shutdown time
Enter the shutdown monitoring time for integrated technology If the shutdown
of integrated technology is not completed within this time the technology CPU
automatically goes into STOP.
• Number of tolerated IPO overflows / IPO2 overflows
An "IPO overflow" develops when the interpolator execution time exceeds the
configured interpolator cycle In this case, the next interpolator cannot be
started in the selected cycle and will be omitted. The interpolator will be started
as usual if processing is completed up to the next cycle.
Each omitted interpolator will be added to the number of "IPO overflows." At
the dropdown list box, set the number of successive "IPO overflows" to be
tolerated before the Technology CPU goes into STOP operation mode. The
number of overflow can be set separately for IPO and IPO2.
Network settings
Check your DP(DRIVE) settings in HW Config in this area.
S7-Technology
8-18 A5E00251798-05
Download, test and diagnose
The typical use of memory by TOs and cam disk IPOs are described in the
"CPU Data" documentation of your Technology CPU. Determine the approximate
percentile value of memory utilization based on the values described in this
documentation. This approximate value should not exceed 80%.
You can check current memory load in S7T Config.
S7-Technology
A5E00251798-05 8-19
Download, test and diagnose
Tune the position controller of your axes if you set the focus on precise drive
positioning without oscillation. The description below is a practical example which
can be varied as required.
In order to tune the position controller, it must be reduced to its basic functionality,
i.e. the "pre-control" and "balancing filter" must be disabled.
S7-Technology
8-20 A5E00251798-05
Download, test and diagnose
For position control with DSC (Dynamic Servo Control), the system calculates the
position controller and the speed controller in the drive. This allows you to set
significantly higher gain factors (Kv) for the position controller. The position and
speed control parameters are calculated within the same cycle. Hence, the position
control and its subordinate control loop, i.e. the speed controller, are calculated at
precisely the same speed.
Do not disable Dynamic Servo Control (DSC) when tuning if you want to operate
the drive in tuned state with DSC.
Prerequisites
• You configured the axis, with the exception of acceleration limits and input of
the controller settings.
• You commissioned the lower-level control loops, and set a speed control loop
that is free of overshoot when applying pre-control settings.
• The drive, encoder and TO scaling match.
Tune the position controller by making the settings outlined in the next section.
Make a note of all originally set values before you change these in order to be able
to undo these settings after tuning.
• Disabling speed pre-control
Reset the "Pre-control" check box on the "Static controller data" of the Axis >
Control dialog box.
• Fine interpolator "constant acceleration interpolation"
Select "constant acceleration interpolation" from the "Fine interpolator" drop-
down list box. This drop-down list box is available in the "Static controller data"
tab of the Axis > Control dialog box.
• Disabling drift compensation
Reset the "Drift compensation" check box in the "Static controller data" tab of
the Axis > Control dialog box.
S7-Technology
A5E00251798-05 8-21
Download, test and diagnose
S7-Technology
8-22 A5E00251798-05
Download, test and diagnose
Implement a test routine in the user program which sets step response values at
the position controller.
The example below lists a practical function block. You can copy its contents 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 is then returned
to its initial position.
Requirements:
Your project must contain the following technology functions. Copy the 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
A5E00251798-05 8-23
Download, test and diagnose
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 Testfunction for Optimation of Axis
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;
) ;
= #Forward;
U #Forward;
S #Forward_Store;
U #Forward;
SPB FWD;
S7-Technology
8-24 A5E00251798-05
Download, test and diagnose
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
A5E00251798-05 8-25
Download, test and diagnose
In this procedure you adapt the gain factor Kv of the position controller. Record and
analyze the speed profile of the axis using the TraceTool of S7T Config during
positioning. The user program described earlier controls the axis motion between
two positions.
Settings in TraceTool
The recording signals are available in the "Project name" > Technology > TO >
"Axis name" path of the corresponding selection window.
S7-Technology
8-26 A5E00251798-05
Download, test and diagnose
The recording signals are available in the "Project name" > Technology > TO >
"Axis name" path of the corresponding selection window.
Trigger Value
Type Trigger on variable - positive edge
Variables _to."Achsname".motionstatedata. commandvelocity
Cycle Position control cycle
Pretrigger approx. 6 ms or higher
Threshold value approx. 0.01000
(this value serves is used as trigger threshold)
S7-Technology
A5E00251798-05 8-27
Download, test and diagnose
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
8-28 A5E00251798-05
Download, test and diagnose
S7-Technology
A5E00251798-05 8-29
Download, test and diagnose
When increasing the Kv factor, keep an eye on the following properties of the trend
profile:
• The curve 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
8-30 A5E00251798-05
Download, test and diagnose
After having tuned the gain factor Kv, you continue by tuning the time constant vTc
(velocity Time constant) of the balancing filter.
Setpoint changes require fast and precise settling of the controller. The Technology
CPU thus controls setpoint deviations using pre-control and the position controller.
The balancing filter compensates for the runtime delay of the pre-control function.
• Pre-control
Pre-control represents a differential function which reacts to setpoint changes,
and thus produces high-speed reactions. The pre-control function immediately
settles the greater part of a setpoint change.
• Position controller
The p-action position controller is slower in its step response, but its precision
is significantly higher. Its task is to fine adjust the residual control error the pre-
control function has not yet settled. The error in a well-tuned control loop is
small compared to the setpoint change.
• Balancing filter
The balancing filter compensates for runtime delay caused by the pre-control
circuit.
S7-Technology
A5E00251798-05 8-31
Download, test and diagnose
The pre-control function has a differential effect on changing setpoints, i.e. the
resultant value is transferred to the drive at considerable speed. The speed
controller in the drive corrects the portion of the setpoint change output by the pre-
control, and the drive moves. The change of the actual value is returned to the
position controller.
The position controller now has to correct the residual error between the defined
position setpoint and the difference of the actual value generated by the pre-
control. The position controller thus requires the setpoint at the correct time.
The balancing filter has to compensate for the runtime delay caused by the pre-
control circuit. This requires a delayed transfer of the setpoint to the position
controller.
S7-Technology
8-32 A5E00251798-05
Download, test and diagnose
Recording: Value
Signal 1 _project."Achsname".servodata.
controllerdifference
Signal 2 _project."Achsname".servodata.
followingerror
The balancing filter and pre-control must be activated before you can tune the
balancing filter.
• Activating the balancing filter
Reset the value at configuration parameter
TypeOfAxis.NumberOfDataSets.DataSet_x.ControllerStruct.PV_Controller.bala
nceFilterMode to the original value Mode_1 or Mode_2.
You can also reset the balancing filter by setting parameter number 2035 at the
"MC_WriteParameter" technology function. Select value 90 for Mode_1, or
value 91 for Mode_2
• Activating speed pre-control
Set the "Pre-control" check box on the "Static controller data" tab of the Axis >
Control dialog box.
The objective of balancing filter tuning is to correct the time slice required by the
pre-control.
• Setting the time constant vTc
Set the time constant vTc (velocity Time constant) by executing technology
function "MC_WriteParameter" and setting parameter number 2063 in the user
program, or set configuration parameter
TypeOfAxis.NumberOfDataSets.DataSet_x.DynamicData.velocityTimeConstan
t accordingly.
You can also set the time constant vTc (velocity Time constant) on the
"Dynamic controller data tab of the " Axis > Control dialog box. The tab is
visible when the "Expert" check box is set in the dialog box. Edit the value at
parameter "Substitution time speed control loop" in this tab.
S7-Technology
A5E00251798-05 8-33
Download, test and diagnose
The setpoint is output too early to the position control. The difference between the
setpoint and actual value is too high, because the setpoint leads the returned
actual value. The value output by the position controller in the control variable is
therefore too high; the speed controller overreacts and the following error will
deteriorate.
S7-Technology
8-34 A5E00251798-05
Download, test and diagnose
Note
• The following error cannot assume a zero value if the constant velocity phase is
configured without overshoot!
• As the position controller cycle is included in the calculation of the equivalent
time constant of the speed control loop (=velocityTimeConstant), the maximum
value of this time constant is equivalent to 16 position controller clocks. The lag
element has a maximum buffer length of 16
• Do not forget to restore the original values after you completed the changes
described in "preparing for tuning"
• Make sure that you also change the tuned values of the Kv factor and of time
constant vTc in the offline project
S7-Technology
A5E00251798-05 8-35
Download, test and diagnose
The equivalent time constant of the position control loop comes into effect in the
following situations:
• Emergency Off by setting StopMode = 0 at the "MC_Power" technology
function
• Changeover from position-control to speed-control mode by setting
PositionControl = FALSEusing at the "MC_MoveVelocity" technology function.
Note
If the equivalent time constant of the position control loop has not been tuned
adequately, the axis may perform unwanted compensation motions in the
situations described earlier.
To determine the equivalent time constant of the position control circuit pTc:
The equivalent time constant used in this case for the speed control circuit (vTc)
can be determined as described in the "tuning balancing filters" section.
Enter the calculated equivalent time constant for the position control loop thus
determined in the "Dynamic controller data" tab of the Axis > Control dialog box.
This tab can only be selected when expert mode is set.
S7-Technology
8-36 A5E00251798-05
Download, test and diagnose
The equivalent time of the position control loop can be set in the S7T Config expert
list at configuration parameter
TypeOfAxis.NumberOfDataSets.DataSet_x.DynamicData.velocityTimeConstant.
Note
Use an emergency off command to verify the value you determined for the
equivalent time constant of the position control loop. To execute the emergency off
command:
1. "MC_Power" StopMode = 0
2. Negative edge at Enable of "MC_Power"
Increase the value of the equivalent time constant for the position control loop if the
axis shows a tendency towards overshooting.
S7-Technology
A5E00251798-05 8-37
Download, test and diagnose
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.
Test > Execute next statement command
After the breakpoint is reached, you can continue to test your user program by
selecting Test > Execute next statement.
Test > Resume command
The Technology CPU changes to "STOP" when you execute the Test > Resume
command. "Restart" the Technology CPU in order to resume "RUN" mode.
S7-Technology
8-38 A5E00251798-05
Download, test and diagnose
Use the Watch Table in S7T Config to monitor or control system variables of the
TOs. The Watch Table in S7T Config can be compared with the variable table of
STEP 7.
You can group different variables (system variables of several TOs, user variables
of several programs) in a Watch Table and monitor this group.
Note
Monitoring of variables in the Watch Table requires an online connection.
S7-Technology
A5E00251798-05 8-39
Download, test and diagnose
S7-Technology
8-40 A5E00251798-05
Download, test and diagnose
You can use the TraceTool of S7T Config to trace and save signal profiles and the
values of variables. The data recorded can be used to analyze motion sequences
of the machine, and for troubleshooting in user programs, for example. In order to
achieve better diagnostics results, you can assign defined setpoints to variables
using the function generator, while simultaneously recording the values of other
variables. You can visualize and edit your 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 integrated technology within the technology DB
update cycle. The technology DB update cycle can be set in S7T Config by
selecting the Target System > Set system clocks command.
The DB is not retentive, irrespective of the retention setting of the CPU.
S7_TraceDINT[0..1] variable
The S7_TraceDINT variable contains an ARRAY with two elements of the data
type DINT.
These values can be selected for tracing when you select the signal in the
TraceTool of S7T Config in Technology > userdata1 > user1 and user2.
S7_TraceDWORD[0..1] variable
The S7_TraceDWORD variable contains an ARRAY with two elements of the data
type DWORD. Use these variables if you want to trace bit information (e.g. status
word or error word) in the S7T Config TraceTool. In the TraceTool, you can select
the bits as you are used to in the SIMATIC numbering system.
These values can be selected for tracing when you select the signal in Technology
> userdata1 > user3 and user4 in the TraceTool of S7T Config.
S7_TraceREAL[0..3] variable
The S7_TraceREAL variable contains an ARRAY with four elements of the data
type REAL.
These values can be selected for tracing at Technology > userdata1 > user5,
user6, user7 and user8 when you select the signal in the TraceTool of S7T Config.
S7-Technology
A5E00251798-05 8-41
Download, test and diagnose
The TraceTool is particularly useful for monitoring dynamic controller data. The
next section shows various interesting trace values which support controller tuning.
The trace values are available in the signal selection in Trace, under Project name
> Technology > TO > Axis name:
sensordata
S7-Technology
8-42 A5E00251798-05
Download, test and diagnose
sensormonitoring
servodata
S7-Technology
A5E00251798-05 8-43
Download, test and diagnose
servomonitoring
servosettings
S7-Technology
8-44 A5E00251798-05
Download, test and diagnose
The control panel is used to control and monitor individual axes and drives. You
can use it to move drives or axes. This allows the commissioning engineer:
• to test each plant component individually before he initiates program driven,
coordinated axis motions
• to simulate error conditions in order to test whether the various axes can be
operated at all from the control panel, or whether this section is already posing
problems
• "Retract the axis": Moving the axis quickly to another position, independent on
the program.
• to move the axes for tuning purposes (controller tuning)
• perform active homing
• to position in relative / absolute mode
• to set and reset the axis enable signal
• to initiate an axis reset
• to 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, you can only
edit configuration data that become immediately active.
Control priority must be returned before you edit any configuration data which
require a RESTART. Control priority must be requested again after RESTART
Warning
! Use the axis control panel only in the commissioning phase and for test purposes.
S7-Technology
A5E00251798-05 8-45
Download, test and diagnose
S7-Technology
8-46 A5E00251798-05
Download, test and diagnose
S7-Technology
A5E00251798-05 8-47
Download, test and diagnose
You monitor values of the selected axis on this area in monitoring mode and
control mode:
• In monitoring mode (directly after the start of the Control Panel, for example):
You can, for example, test the axis motions which were initiated by a program.
• In control mode (after assuming control priority):
You can test axis motions which are initiated by motion command output to the
axis.
S7-Technology
8-48 A5E00251798-05
Download, test and diagnose
Warning
! You must strictly observe pertinent safety regulations.
Use the axis control panel in control mode only when PG / CPU life-sign monitoring
is enabled and a suitably short monitoring time is set!
The axis may otherwise perform uncontrollable motions if problems occur in the
communication between the programming device and the Technology CPU.
Proceed as follows:
1. On the control area, click "Assume control priority !".
A warning message box opens.
2. Read the warning message in S7T Config!
3. Do not change life-sign monitoring defaults
Changes should only be made in exceptional circumstances and in observance
of all danger warnings.
4. Check the emergency off settings and modify these if necessary
- Click "Expand>>".
- For reasons of safety, you should set the "Emergency-Stop when changing
to another Windows application" check box. Monitoring is not relevant to
the function.
- Set the key that triggers the emergency stop.
<SPACE>
<Esc>
The CP is in control mode after it has assumed control priority. The previously
grayed out buttons and fields on the control area are now active.
Notice
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's function no longer available for entering space
characters in a word processor.
S7-Technology
A5E00251798-05 8-49
Download, test and diagnose
S7-Technology
8-50 A5E00251798-05
Download, test and diagnose
Simulation OFF This command returns the axis from simulation mode to normal
operation. The setpoint last valid in the simulation will be
activated for output.
Notice:
As the drive is disabled in simulation mode, it may perform an
adjusting movement when you exit simulation mode.
You can avoid these adjusting motions by moving the axis to its
initial position while you are still in simulation mode.
Reset axis Resets the axis to its initial state.
This command should be applied if the axis is in an indefinite
state as a result of incorrect parameters.
Start motion The last motion command configured (speed preset, start axis
with position control, position axis or home axis) will be started.
Notice
Take all safety measures before you put the axis into operation.
S7-Technology
A5E00251798-05 8-51
Download, test and diagnose
Note
When using the "Speed preset" and "Start axis position controlled" commands, you
can also start the motion by clicking "Jog." Keep the left mouse button pressed to
run the motion as long as necessary. The motion stops when you release the
mouse button.
You can also stop the axis by pressing the space bar.
S7-Technology
8-52 A5E00251798-05
A Appendix
S7-Technology
A5E00251798-05 A-1
Appendix
Technology objects
In S7T Config, you configure the TOs which you can use to control the conveyor
drive and the target sensor. Technology objects used in this example:
Technology objects:
• Positioning axis
(conveyor)
• Measuring input (target
sensor)
Technology functions
The technology functions required to solve this task are executed by calling the
function blocks listed below in the application program:
S7-Technology
A-2 A5E00251798-05
Appendix
This example shows a typical application for cutting continuously produced material
to length.
The incoming material is fed continuously by the feed axis (Axis1) and cut to length
"on-the-fly" by the shearing axis (Axis2.)
Pressure marks applied to the material indicate the cutting position. A sensor
registers the position of the pressure mark and sets the actual value of the feed
axis (Axis1) to -500 mm. The system starts synchronous operation of the shearing
axis when it detects the sensor. The shear blades approach the pressure mark
while the system performs this synchronization. The material is cut immediately
after the shearing axis has reached synchronism. The shearing axis returns to its
home position after having completed the cut and waits for the next pressure 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 (shearing
axis)
• Measuring input (sensor)
S7-Technology
A5E00251798-05 A-3
Appendix
Technology functions
The technology functions required to solve this task are executed by calling the
function blocks listed below in the application program:
S7-Technology
A-4 A5E00251798-05
Appendix
The example shows a press to which the material is fed by means of a gripper feed
mechanism.
The gripper closes at an angular position of 300° and then pushes the material into
the press position at angular position 150°.
The gripper remains closed during the press operation and opens again at 200°.
The gripper feed returns from angular position 200° to its home position at 270°.
The motion of the feed axis is directly proportional to the rotary movement of the
die axis. The feed axis is therefore coupled to the press axis by means of a cam
disk technology. The gripper release and closing motion is controlled by means of
a cam switch function (close at 300°, release at 200°.)
S7-Technology
A5E00251798-05 A-5
Appendix
Technology objects
You configure the Technology objects in S7T Config. Technology objects used in
this example:
Technology objects
• Positioning axis (press axis)
• Synchronization axis (feed axis)
• Cam disk (to couple the feed and
press axes)
• Output cam (gripper control)
Technology functions
The technology functions required to solve this task are executed by calling the
function blocks listed below in the application program:
S7-Technology
A-6 A5E00251798-05
Appendix
Question:
How to utilize the performance features of S7-Technology described in "What's
new in S7-Technology V2.."
Answer:
In order to utilize the new performance features of S7-Technology you must install
the firmware versions listed in the diagram. Start by checking the firmware versions
of the integrated technology and of the CPU.
S7-Technology
A5E00251798-05 A-7
Appendix
Caution
Create a backup copy of your project data before you run the upgrade.
S7-Technology
A-8 A5E00251798-05
Appendix
Question:
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 you save the current project in SIMATIC Manager by selecting the File >
Save as command and set 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 on your screen and then close S7T Config
S7-Technology
A5E00251798-05 A-9
Appendix
Replacing the Technology CPU with a CPU and technology firmware of the same
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 "Technological objects" Open S7T Config by
selecting Options > Configure technology
5. Select Project > Save and compile all
6. Close S7T Config
7. Download the project data to the PLC (as described in the chapter "What to
download to the PLC after the upgrade")
Replacing the Technology CPU with a CPU and technology with different
firmware version
To replace the Technology CPU, proceed as with the 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
A-10 A5E00251798-05
Appendix
Question:
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 consistency between
offline and online data.
S7-Technology
A5E00251798-05 A-11
Appendix
Question:
The new performance features offered in S7-Technology may require an upgrade
of the firmware of CPU 31xT-2 DP. 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 terms of 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
A-12 A5E00251798-05
Appendix
Question:
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
A5E00251798-05 A-13
Appendix
S7-Technology
A-14 A5E00251798-05
Appendix
Question:
A new version of S7-Technology may require conversion of the technology. How to
convert the technology
Answer:
Configurations which may require a conversion of the technology are specified in
the chapter "How to utilize the new performance features".
Convert the technology as described below. The diagrams show the conversion of
S7-Technology from V1.0 to V2.0. The text contents of the diagrams may differ
depending on the conversion:
Confirm this dialog box with "Yes". The project is now converted.
3. The next dialog box opens:
S7-Technology
A5E00251798-05 A-15
Appendix
S7-Technology
A-16 A5E00251798-05
Appendix
Question:
You may need to convert the technology and upgrade the technology packages
when you implement a new version of S7-Technology. How can I do this?
Answer:
The configuration which may require these actions are specified in the chapter
"How to utilize the new performance features".
Proceed as described below. The diagrams show the conversion of S7-Technology
from V1.0 to V2.0. The text contents of the diagrams may differ depending on the
conversion:
Confirm this dialog box with "Yes". The project is now converted.
3. The next dialog box opens:
S7-Technology
A5E00251798-05 A-17
Appendix
4. Select the technology from the Navigator, then select Edit > Select technology
packages.
5. Confirm the message box with "OK".
S7-Technology
A-18 A5E00251798-05
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
certain system variables ("userdefaultqfaxis.maxderivative.foutput", for example)
could not be set.
You can ignore the warnings, because these system variables are not used in the
Technology CPU.
9. Confirm the "Update of technology objects completed" message with "OK".
10. Close the "Select technology packages" dialog box with "OK".
11. Select Project > Save and compile all.
11a. Continue at step 11b if any error messages appear.
Continue with step 12 if no error messages appear.
11b. Select Project > Check consistency to localize the errors.
Note
Possible causes of the error messages:
• For axis and external encoders, the value at configuration parameter
TypeOfAxis.NumberOfEncoders.Encoder1.DriverInfo. EncoderNumberOnDevice
is not 0.
Exception: An external encoder returns an additional actual value for the axis.
Prerequisite in this case is the use of the standard message frames 4 or 6, or
103, 104, or 106.
To correct or avoid errors: Set the value "0" at the configuration parameter.
• At speed-controlled axes without encoder, the value at configuration parameter
"TypeOfAxis.NumberOfDataSets.DataSet_1.EncoderNumber.EncoderNumber"
is not "0". Set the value "0" at the configuration parameter.
11c. Eliminate the causes of error, and continue at step 11.
You can also save the project with Project > Save, and then continue at step 12 to
eliminate the causes of error at a later time.
12. Close S7T Config.
S7-Technology
A5E00251798-05 A-19
Appendix
S7-Technology
A-20 A5E00251798-05
Appendix
Question:
It may be necessary to recreate the technology DBs when you implement a new
version of S7-Technology. How to recreate the technology DBs
Answer:
The configurations 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
A5E00251798-05 A-21
Appendix
After this deletion, all technology DBs are marked in the area of the technology DBs
which are not generated yet.
S7-Technology
A-22 A5E00251798-05
Appendix
4. Click "Generate" in order to generate the technology DBs with the new structure.
S7-Technology
A5E00251798-05 A-23
Appendix
Question:
Which data do I have to download to the PLC after migration?
Answer:
The conversion is finalized by downloading the user program, the HW
configuration, the technology and the firmware of integrated technology to the
Technology CPU. Procedure:
1. Change to SIMATIC Manager. Select the upgraded SIMATIC station in your project.
S7-Technology
A-24 A5E00251798-05
Appendix
Question:
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:
1. In SIMATIC Manager, select "Technological objects", and 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 view it in S7T Config. Confirm the question with
"Yes".
4. The next dialog box opens:
S7-Technology
A5E00251798-05 A-25
Appendix
Note
Meaning of the Navigator icons during online analysis:
• Objects with green icons are consistent
• Objects with red/green icons have an indefinite state, i.e., the "consistent" or
"inconsistent" state can not be determined
S7-Technology
A-26 A5E00251798-05
Appendix
Question:
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
down 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 "Technological objects", and 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 question with
"Yes".
4. The next dialog box opens:
S7-Technology
A5E00251798-05 A-27
Appendix
8. The dialog box shown below appears when you close the tool.
9. Confirm the dialog with "Yes" in order to reconvert the project to its original version.
Caution
An offline-online comparison of converted or reconverted projects may return
inconsistency of identical same project data.
Reason: Internal data structure adjustments in newer versions.
To correct or avoid errors: Carry out the following steps to eliminate inconsistency
as indicated:
1. "Save and compile all" in S7T Config
3. 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 command in
S7T Config.
S7-Technology
A-28 A5E00251798-05
Appendix
A.2.13 Why do specific system DBs have a different online / offline time
stamp?
Question:
Specific SDBs in the project have a different time stamp than the SDBs in the
technology CPU.
Does this time stamp difference pose a problem?
Answer:
When you download the technology in S7T Config to the Technology CPU with
Target system> Download > Technology to target system, the downloaded
SDBs of the type 3311 are assigned the time stamp of the integrated real-time
clock of the CPU. A different time stamp as such does not pose a problem at the
moment.
The SDBs of the type 3311 are assigned the time stamp of the integrated real-time
clock of the CPU at the time of their download. Hence, it may well be that the
online / offline SDBs are assigned different time stamps, but are not different by
content. If all drives "green" are marked in green color in the online view of
S7T Config, 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 during summertime.
S7-Technology
A5E00251798-05 A-29
Appendix
A.2.14 Why does the number of system DBs differ in the online and
offline configuration?
Question:
The online view of the Technology CPU shows more system DBs of the type 3311
than the project view. Does this difference pose 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.
Question:
During the download of blocks to the Technology CPU, STEP 7 returns the
message "Insufficient memory space on the module. Do you want to compress
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 technology DBs you do not require from the Technology CPU.
Question:
You have tuned the system cycles. When operating in continuous mode, however,
the CPU sporadically goes into STOP because of a timeout at the integrated
technology.
Answer:
System load at the integrated technology fluctuates, based on the command rate
and possibly occurring errors. Short system cycles may lead to timeout at the
integrated technology and thus to CPU STOP.
If this happens, extend the system clocks, so that the system no longer reacts with
timeout errors over a longer period of time.
S7-Technology
A-30 A5E00251798-05
Appendix
A.2.17 Errors occur when the "Save and compile all" function is
executed for the technology data
Question:
Errors occur when the "Save and compile all" function is executed for the
technology data in S7T Config But I have only set the default parameter values?
Answer:
For reasons of safety, all safety- and function-relevant parameters or addresses
are assigned default values in S7T Config which prevent execution of the "Save
and compile all" function.
This is why you should always exercise due care when setting safety- and function-
relevant parameters, and verify their values and logical context.
S7-Technology
A5E00251798-05 A-31
Appendix
Experience in using the Expert List in S7T Config is prerequisite for handling 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 TO. This
includes data which cannot be set neither in the wizards, nor in the parameter
assignment windows.
Expert Lists are available for all configured TOs.
Caution
! The expert mode is intended for experienced users. Incorrect input may result in
uncontrolled response of the drive!
The system does not check the plausibility of your entries.
Incorrect input may lead to inconsistency of the TO.
S7-Technology
A-32 A5E00251798-05
Appendix
The left pane of the Expert List shows the tree structure of the system variables
and of configuration data. The right pane outputs a tabular view of the system
variables and configuration data.
Select an element from the tree structure to view the corresponding parameter
values in this table.
Values which require a restart, and all subsequently changed configuration data,
are represented 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, and
then confirm your entries by clicking "Activate." All your changes will be saved and
accepted.
S7-Technology
A5E00251798-05 A-33
Appendix
Select the technology from the Navigator, and then select Target device >
Copy current data to ROM to save your changes of configuration data to non-
volatile memory.
In order to save the values permanently to your project data, make your
changes in OFFLINE mode, save and compile the technology data, and then
download these to the target device. You can also upload the changes to
configuration data to the project data of the technology by executing the Target
system > Upload > Configuration data to PG command. Next, save and
compile the technology data by calling the Project > Save and Compile All
command
S7-Technology
A-34 A5E00251798-05
Appendix
Note
The interpolator cycle may not be assigned online!
"Save and compile all" technology data, and then download system data to the
technology CPU in SIMATIC Manager.
S7-Technology
A5E00251798-05 A-35
Appendix
Percentile reduction
In order to override the absolute value with a reduction percentage, set a reference
torque of 100.0 N/m:
Configuration parameter: TypeOfAxis.SetPointDriverInfo.DriveData.maxTorque =
100.0 N/m
You reduce the maximum torque of the motor to 25 % by setting parameter
MaxTorque = 25.0 at the call of MC_SetTorqueLimit.
Load conversion
You can calculate the load torque based on the motor torque coefficient, making
allowances for the gear load and spindle pitch. Frictional losses will be ignored in
the following.
Rotary axes:
MMotor
NM NM
Motor
DN
MLoad M Load = M Motor ⋅
DN
Gear
S7-Technology
A-36 A5E00251798-05
Appendix
MMotor MLoad DX
NM 2π
Motor
NM
FLoad = M Motor ⋅ ⋅
DN DN DX
FLoad
Gear
S7-Technology
A5E00251798-05 A-37
Appendix
A.3.3 Monitoring
S7-Technology
A-38 A5E00251798-05
Appendix
S7-Technology
A5E00251798-05 A-39
Appendix
Legend
No. Number of parameter marked in blue and italics are parameters of the
"System variable" type; not marked parameters are of the "Configuration
data" type.
Name Name of parameter in Expert list in S7T Config.
Data type For parameters marked with "Enum...", several value ranges of the data
type DINT exist for each parameter. They are included in the List of DINT
values.
Min./Max. Value range of parameter
Access R (Read): Parameters can only be read
W (Write): Parameters can be changed
Activation Immediately: Changes in the parameters are immediately effective.
Restart: Changes in the parameters become effective only after a restart,
i.e. if the Technology Object has been re-initialized. This is possible only if
the Technology Object is locked.
Index Value range of index
S7-Technology
A-40 A5E00251798-05
Technology parameters - Axes
D: Speed axis, P: Positioning axis, V: Synchronization axis
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1 Setpoints. Position. Set positioningstate. REAL - -1E+12 1E+12 R - X X Position setpoint of axis
position commandposition
2 Limits. Position and velocity. swlimit. minusposition REAL - -1E+12 1E+12 R, W Imme- X X Negative software limit switch
Software limit switch. Negative diately
3 Limits. Position and velocity. swlimit. plusposition REAL - -1E+12 1E+12 R, W Imme- X X Positive software limit switch
Software limit switch. Positive diately
4 Limits. Position and velocity. swlimit. state DINT Enum - - - R, W Imme- X X Activation of the software limit switch
Software limit switch. active / inactive diately
Activation
6 Monitoring. Following error TypeOfAxis. DINT 1-16 - - R, W Restart X X Activation of the dynamic following
monitoring. Activation NumberOfDataSets. EnumYesNo error monitoring
DataSet_x. DynamicFollowing.
enable
7 Monitoring. Following error TypeOfAxis. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Upper barrier of the following error
monitoring. Maximum NumberOfDataSets. diately characteristic
DataSet_x. DynamicFollowing.
maxPositionTolerance
8 Limits. Position and velocity. TypeOfAxis. MaxVelocity. REAL - 0.0 1E+12 R, W Restart X X X Maximum permissible velocity
Velocity. Maximum maximum
10 Actual values. Motion. Velocity motionstatedata. actualspeed REAL - -1E12 +1E12 R - X X X Actual velocity of the axis
11 Setpoints. Motion. Velocity motionstatedata. REAL - -1E12 +1E12 R - X X X Set velocity of the axis
commandvelocity
12 Limits. Dynamic TypeOfAxis. MaxAcceleration. REAL - -1E+12 1E+12 R, W Imme- X X X Maximum permissible acceleration
response.Acceleration. maximum diately
Maximum
16 Limits. Dynamic response. TypeOfAxis. MaxJerk. REAL - -1E+12 1E+12 R, W Imme- X X X Maximum permissible jerk
Jerk. Maximum maximum diately
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
S7-Technology
A5E00251798-05 A-41
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1100 Mechanics. Spindle settings. LeadScrew. pitchVal REAL - 0.0 1E+12 R, W Restart X X Spindle pitch for each revolution of the
Spindle pitch for each axis
revolution of the axis
1110 Synchronous operation. TypeOfAxis. Extrapolation. REAL - 0.0 1E+12 R, W Imme- X X Extrapolation time of the master axis
Extrapolator. Extrapolation ExtrapolationTime diately
time
1111 Synchronous operation. TypeOfAxis. Extrapolation. DINT - - - R, W Restart X X Selection criterion for actual value
Extrapolator. Filter. Mode Filter. Mode EnumAxis smoothing
FilterMode
1112 Synchronous operation. TypeOfAxis. Extrapolation. DINT - - - R, W Imme- X X Activation status
Extrapolator. Filter. Activation Filter. Enable EnumYesNo diately
1113 Synchronous operation. TypeOfAxis. Extrapolation. REAL - 0.0 1E+12 R, W Imme- X X Time constant for PT1 smoothing
Extrapolator. Filter. Time Filter. TimeConstant diately
Constant
1114 Synchronous operation. TypeOfAxis. Extrapolation. DINT - R, W Imme- X X Activation of the tolerance range
Extrapolator. Tolerance ToleranceRange. Enable EnumYesNo diately
Range. Activation
1115 Synchronous operation. TypeOfAxis. Extrapolation. REAL - -1E+12 1E+12 R, W Imme- X X Tolerance window
Extrapolator. Tolerance ToleranceRange. Value diately
Range. Tolerance window
1120 Homing. Distance to the bero TypeOfAxis. Homing. REAL - 0.0 1E+12 R, W Imme- X X Travel path to the BERO
beroDistance diately
1121 Homing. Approach direction TypeOfAxis. Homing. direction DINT Enum - - - R, W Imme- X X Approach direction for homing
DirectionType diately
1122 Homing. Bero monitoring TypeOfAxis. Homing. DINT - - - R, W Imme- X X Activation status of the monitoring
activation enableBeroDistance EnumYesNo diately mode
1123 Homing. Homing required TypeOfAxis. Homing. DINT - - - R, W Imme- X X Homing required
referencingNecessary EnumYesNo diately
1201 Mechanics. Modulo. Activation Modulo. state DINT Enum - - - R, W Restart X X Activation of the modulo settings
active / inactive
1202 Mechanics. Modulo. Length Modulo. length REAL - -1E-12 1E+12 R, W Restart X X Modulo length
1203 Mechanics. Modulo. Starting Modulo. startValue REAL - -1E+12 1E+12 R, W Restart X X Modulo starting value
value
1211 Monitoring. Acceleration. TypeOfAxis. DINT - - - R, W Imme- X X Activation of the actual acceleration
Activation ActualAccelerationMonitoring. EnumYesNo diately monitoring
enable
S7-Technology
A-42 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1212 Monitoring. Acceleration. TypeOfAxis. REAL - -1E+12 1E+12 R, W Imme- X X Maximum value of the permissible
Maximum value ActualAccelerationMonitoring. diately actual acceleration
maximum
1221 Monitoring. Velocity.Activation TypeOfAxis. DINT - - - R, W Imme- X X X Activation of the actual velocity
ActualVelocityMonitoring. EnumYesNo diately monitoring
Enable
1222 Monitoring. Velocity. Maximum TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X X Maximum permissible actual velocity
value ActualVelocityMonitoring. diately
maximum
1231 Position control. Static TypeOfAxis. Drift. enable DINT - - - R, W Imme- X X X Activation of the drift compensations
controller data. Drift EnumYesNo diately
compensation
1241 Limits. Position and velocity. TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X Delay of the emergency stop ramp
Emergency stop delay EmergencyRampGenerator. diately generator
maxDeceleration
1251 Position control. Static TypeOfAxis. FineInterpolator. DINT Enum - - - R, W Restart X X X Fine interpolator type
controller data. Fine _type AxisFine
interpolator type 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
compensation. Amplitude diately characteristic
1262 Position control. Friction TypeOfAxis.Friction. REAL - 0.0 1E+12 R, W Imme- X X X Decay time constant
compensation. Decay time decayTime diately
constant
1263 Position control. Friction TypeOfAxis. Friction. REAL - 0.0 2^31 * R, W Imme- X X X Delay time for standstill signal
compensation. Standstill delayTimeStandStill Servotime * 9 diately
decay time constant
1264 Position control. Friction TypeOfAxis. Friction. enable DINT - - - R, W Restart X X X Activation of the friction compensation
compensation. Activation EnumYesNo
1265 Position control. Friction TypeOfAxis. Friction. REAL - -1E+12 1E+12 R, W Imme- X X X Maximum value for standstill signal
compensation. Standstill maxVeloStandStill diately
maximum velocity
1271 Monitoring.Synchronous TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X Permissible actual value deviation
operation monitoring. Actual GearingPosTolerance. diately
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
S7-Technology
A5E00251798-05 A-43
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1273 Monitoring. Synchronous TypeOfAxis. DINT - - - R, W Imme- X Tolerance monitoring of the actual
operation monitoring. GearingPosTolerance. EnumYesNo diately value
Activation of actual value enableActualValue
monitoring
1274 Monitoring.Synchronous TypeOfAxis. DINT Enum - - - R, W Imme- X Tolerance monitoring of the setpoint
operation GearingPosTolerance. Gearing diately
monitoring.Activation of enableCommandValue PosTolerance
setpoint monitoring Command
Value
1275 Monitoring. Synchronous TypeOfAxis. DINT Enum - - - R, W Imme- X Signalling of the tolerance monitoring
operation monitoring. GearingPosTolerance. ErrorReporting diately
Message to master enableErrorReporting
1281 Limits. Position and velocity. TypeOfAxis. HWEndPos. DINT - - - R, W Restart X X X Activation of the limit switches
Hardware limit Enable EnumYesNo
switch.Activation
1284 Limits. Position and velocity. TypeOfAxis.HWEndPos. Mode DINT - - R, W Restart X X X Position of the hardware limit switch
Hardware limit switch. Mode EnumMount for the axis travel range
Switch
1291 Limits. Dynamic TypeOfAxis. MaxAcceleration. EnumYesNo - - - R, W Restart X X X Activation of the output value
response.Acceleration. enableSetPointMonitoring monitoring
Activation of the monitoring
S7-Technology
A-44 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1301 Configuration. Dead zone TypeOfAxis. NeutralBand. REAL - -1E+12 1E+12 R, W Imme- X X X Center point of the dead zone range
compensation. Center point centreValue diately
1302 Configuration. Dead zone TypeOfAxis. NeutralBand. DINT - - - R, W Restart X X X Activation of the dead zone
compensation. Activation enable EnumYesNo compensation
1303 Configuration. Dead zone TypeOfAxis. NeutralBand. REAL - -1E+12 1E+12 R, W Imme- X X X Expansion of the dead zone range
compensation. Expansion range diately
1311 Monitoring. Positioning and TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X Delay time until the activation of the
standstill monitoring. Message PositionMonitoring. diately message
delay time posWinTolDelayTime
1312 Monitoring. Positioning and TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- X X Delay time until the tolerance window
standstill monitoring. PositionMonitoring. diately is reached
Tolerance window delay time posWinTolTime
1313 Monitoring. Positioning and TypeOfAxis. REAL - -1E+12 1E+12 R, W Imme- X X Width of the positioning window
standstill monitoring. PositionMonitoring. tolerance diately
Tolerance
1321 Mechanics. Measuring TypeOfAxis. DINT - - - R, W Restart X X X Activation of the reversal of the
system. Reversal of direction SetPointDriverInfo. EnumYesNo direction of rotation
of rotation InvertSetPoint. invSetPoint
1331 Configuration. Actual value TypeOfAxis. SmoothingFilter. DINT - - - R, W Imme- X X X Activation of the filter functionality
smoothing. Activation enable EnumYesNo diately
1332 Configuration. Actual value TypeOfAxis. SmoothingFilter. DINT Enum - - - R, W Restart X X X Calculation method for actual value
smoothing. Mode mode AxisFilter Mode smoothing
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. REAL - 0.0 1E+12 R, W Imme- X X Delay time for the activation of the
standstill monitoring. Standstill StandStillMonitoring. diately message
message delay time delayTimeToActivate
1342 Monitoring. Positioning and TypeOfAxis. REAL - -1E+12 1E+12 R, W Imme- X X Permissible position tolerance in
standstill monitoring. Position StandStillMonitoring. diately standstill
tolerance in standstill stillStandTolerance
1351 Monitoring. Standstill signal. TypeOfAxis. StandStillSignal. REAL - 0.0 214748 R, W Imme- X X X Delay time for the triggering of the
Message delay time delayTimeToActivate diately standstill signal
1352 Monitoring.Standstill signal. TypeOfAxis. StandStillSignal. DINT - 0 15 R, W Imme- X X X Degree of filtering
Degree of filtering filterDegree diately
1353 Monitoring.Standstill signal. TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- X X X Filter frequency
Filter frequency filterFrequency diately
S7-Technology
A5E00251798-05 A-45
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
1354 Monitoring. Standstill signal. TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- X X X Velocity limit for standstill signal
Velocity limit maxVeloStandStill diately
1400 Position control. Static TypeOfAxis. SpeedLimitation. DINT Enum - - - R, W Restart X X X Activation status of the speed range
controller data. Manipulated Enable AxisFilterMode limit
variable limit. Activation
1401 Position control. Static TypeOfAxis. SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- X X X Lower limit for the speed range
controller data. Manipulated MinSpeed diately
variable limit. Lower limit
1402 Position control. Static TypeOfAxis. SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- X X X Upper limit for the speed range
controller data. Manipulated MaxSpeed diately
variable limit. Upper limit
S7-Technology
A-46 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
2000 Configuration. Data block TypeOfAxis. NumberOfData DINT - 0 16 R - X X X Number of data blocks
switching. Data blocks count Sets. numberOfDataSets
2001 Configuration. Data block TypeOfAxis. NumberOfData DINT - 0 16 R, W Restart X X X Initialization data block
switching. Data block Sets. initDataSet
initialization
2002 Configuration. Data block TypeOfAxis. NumberOfData DINT Enum - - - R, W Restart X X X Mode for the data record switching
switching. Data block Sets. changeMode ChangeMode
switching mode
2010 Limits. Fixed stop. Following TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Details of the following error required
error NumberOfDataSets.DataSet_x diately for the detection of the end limit
. ClampingMonitoring.
followingErrorDeviation
2011 Limits. Fixed stop. Position TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Permitted deviation of the actual value
tolerance NumberOfDataSets.DataSet_x diately from the setpoint in the clamped state
. ClampingMonitoring.
positionTolerance
2012 Limits. Fixed stop. Fixed stop TypeOfAxis. DINT Enum 1-16 - - R, W Restart X X Activation type of the torque
detection mode NumberOfDataSets.DataSet_x Recognition monitoring
. ClampingMonitoring Mode
.recognitionMode
2020 Mechanics. Load gearbox. TypeOfAxis. DINT 1-16 0 2147483647 R, W Restart X X X Gearbox factor denominator
Load revolutions count NumberOfDataSets.
DataSet_x. Gear denFactor
2021 Mechanics. Load gearbox. TypeOfAxis. DINT 1-16 0 2147483647 R, W Restart X X X Gearbox factor numerator
Motor revolutions count NumberOfDataSets.
DataSet_x.Gear. numFactor
2031 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Restart X X DSC activation
controller data. PV controller. NumberOfDataSets. EnumYesNo
DSC activation DataSet_x. ControllerStruct.
PV_Controller. enableDSC
2032 Position control. Static TypeOfAxis. REAL 1-16 0.0 150.0 R, W Imme- X X Weighting of the precontrol
controller data. PV controller. NumberOfDataSets. diately
Weighting factor DataSet_x. ControllerStruct.
PV_Controller. kpc
2033 Position control. Static TypeOfAxis. REAL 1-16 0.0 < 1E+7 R, W Imme- X X P controller gain
controller data. PV controller. NumberOfDataSets. diately
kp DataSet_x. ControllerStruct.
PV_Controller. kv
S7-Technology
A5E00251798-05 A-47
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
2034 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Restart X X Activation of the precontrol
controller data. PV controller. NumberOfDataSets. EnumYesNo
Activation of the precontrol DataSet_x. ControllerStruct.
PV_Controller. preCon
2035 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Imme- X X Symmetry filter mode
controller data. PV controller. NumberOfDataSets.DataSet_x EnumBalance diately
Symmetry filter . FilterMode
activation/mode ControllerStruct.PV_Controller
. balanceFilterMode
2041 Position control. Static TypeOfAxis. REAL 1-16 0.0 100 R, W Imme- X X P controller gain
controller data. PD controller. NumberOfDataSets. diately
kp DataSet_x. 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 element
controller data. PD controller. NumberOfDataSets. diately
Delay time DataSet_x. ControllerStruct.
PD_Controller. decayTime
2043 Position control. Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Gain of the DT1 element
controller data. PD controller. NumberOfDataSets. diately
kd DataSet_x. ControllerStruct.
PD_Controller. kd
2051 Position control. Dynamic TypeOfAxis. DINT 1-16 - - R, W Restart X X Activation of the dynamic
compensation. Activation NumberOfDataSets. EnumYesNo compensation
DataSet_x. 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. diately
constant DataSet_x. 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. diately
constant DataSet_x. DynamicComp. T2
2061 Position control.Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Replacement time constant of the
controller data. Position NumberOfDataSets. diately position control loop
control loop time constant DataSet_x. DynamicData.
positionTimeConstant
2062 Position control.Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X X Replacement time constant of the
controller data. Torque control NumberOfDataSets. diately torque control loop
loop time constant DataSet_x. DynamicData.
torqueTimeConstant
S7-Technology
A-48 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
2063 Position control.Dynamic TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X X Replacement time constant of the
controller data. Velocity control NumberOfDataSets. diately velocity control loop
loop time constant DataSet_x. DynamicData.
velocityTimeConstant
2071 Monitoring. Following error TypeOfAxis. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Lower barrier of the following error
monitoring. Minimum NumberOfDataSets. diately characteristic
DataSet_x. DynamicFollowing.
minPositionTolerance
2072 Monitoring. Following error TypeOfAxis. REAL 1-16 -1E+12 1E+12 R, W Imme- X X Lower velocity barrier of the following
monitoring. Minimum velocity NumberOfDataSets. diately error characteristic
DataSet_x. DynamicFollowing.
minVelocity
2073 Monitoring. Following error TypeOfAxis. REAL 1-16 0.0 100.0 R, W Imme- X X Warning limit of the following error
monitoring. Warning limit NumberOfDataSets. diately monitoring
DataSet_x. DynamicFollowing.
warningLimit
2081 Position control. Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Gain of the P component
controller data. PID controller. NumberOfDataSets. diately
kp DataSet_x. ControllerStruct.
PID_Controller. kp
2082 Position control. Static TypeOfAxis. REAL 1-16 0.0 150.0 R, W Imme- X X Weighting of the precontrol
controller data. PID controller. NumberOfDataSets. diately
Evaluation factor DataSet_x. ControllerStruct.
PID_Controller. kpc
2083 Position control. Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Gain of the I component
controller data. PID controller. NumberOfDataSets. diately
ki DataSet_x. ControllerStruct.
PID_Controller. ki
2084 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Restart X X Activation of the precontrol
controller data. PID controller. NumberOfDataSets. EnumYesNo
Precontrol activation DataSet_x. ControllerStruct.
PID_Controller. preCon
2085 Position control. Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Gain of the D component
controller data. PID controller. NumberOfDataSets. diately
kd DataSet_x. ControllerStruct.
PID_Controller. kd
S7-Technology
A5E00251798-05 A-49
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
2086 Position control. Static TypeOfAxis. REAL 1-16 0.0 1E+12 R, W Imme- X X Delay time of the DT1 component
controller data. PID controller. NumberOfDataSets. diately
Delay time DataSet_x. ControllerStruct.
PID_Controller. DecayTime
2087 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Restart X X Activation of the integrator limitation
controller data. PID controller. NumberOfDataSets. EnumYesNo
Integrator limitation activation DataSet_x. ControllerStruct.
PID_Controller.
EnableAntiWindUp
2088 Position control. Static TypeOfAxis. DINT 1-16 - - R, W Imme- X X Specification of the balancing filter
controller data. PID controller. NumberOfDataSets. EnumBalance diately
Activation/mode balancing DataSet_x. ControllerStruct. FilterMode
filter PID_Controller.
BalanceFilterMode
S7-Technology
A-50 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
3000 Mechanics. Measuring TypeOfAxis. DINT - 0 8 R - X X X Number of measuring systems
system. Encoder count NumberOfEncoders.
numberOfEncoders
3010 Mechanics. Measuring TypeOfAxis. DINT Enum 1-8 - - R, W Restart X X X Attachment type of the encoder
system. Encoder attachment NumberOfEncoders. AxisEncoder
type Encoder_x. AssemblyBase. AssemblyType
assemblyBase
3011 Mechanics. Measuring TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X X Denominator
system. Motor side measuring NumberOfEncoders.
gearbox. Encoder revolutions Encoder_x. AdaptDrive.
denFactor
3012 Mechanics. Measuring TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X X Numerator
system. Motor side measuring NumberOfEncoders.
gearbox. Motor revolutions Encoder_x. AdaptDrive.
count numFactor
3013 Mechanics. Measuring TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X X Denominator
system. Load side measuring NumberOfEncoders.
gearbox. Encoder revolutions Encoder_x. AdaptExtern.
count denFactor
3014 Mechanics. Measuring TypeOfAxis. DINT 1-8 1 2147483647 R, W Restart X X X Numerator
system. Load side measuring NumberOfEncoders.
gearbox. Load revolutions Encoder_x. AdaptExtern.
count numFactor
3015 Mechanics. Measuring TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Restart X X Path for each measuring wheel
system. External measuring NumberOfEncoders. rotation
gearbox. Path per measuring Encoder_x.
wheel rotation PathPerRevolution. length
S7-Technology
A5E00251798-05 A-51
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
3021 Mechanics.Backlash on TypeOfAxis. DINT 1-8 - - R, W Imme- X X Activation/deactivation of the backlash
reversal compensation. NumberOfEncoders. EnumYesNo diately on reversal compensation of the
Absolute encoder. Activation Encoder_x. AbsBackLash. absolute encoder
enable
3022 Mechanics.Backlash on TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Effective direction of the backlash on
reversal compensation. NumberOfEncoders. BackLash Type diately reversal compensation of the absolute
Absolute encoder. Direction Encoder_x. AbsBackLash. encoder
_type
3023 Mechanics.Backlash on TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Specification of the preferred position
reversal compensation. NumberOfEncoders. BackLash Diff diately of the backlash on reversal
Absolute encoder. Preferred Encoder_x. AbsBackLash. compensation for the first traversing
position startUpDifference motion
3024 Mechanics.Backlash on TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Backlash on reversal value
reversal compensation. NumberOfEncoders. diately
Absolute encoder. Value Encoder_x. AbsBackLash.
length
3025 Mechanics.Backlash on TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Velocity with which the backlash on
reversal compensation. NumberOfEncoders. diately reversal compensation is traversed
Absolute encoder. Velocity Encoder_x. AbsBackLash.
velocity
3031 Homing. Offset TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X Offset of the absolute encoder
NumberOfEncoders. diately
Encoder_x.
AbsHomingEncoder. absShift
3041 Configuration. Measuring TypeOfAxis. Encoder_x. Filter. DINT 1-8 - - R, W Imme- X X X Activation status of the filter
system. Filter. Activation enable EnumYesNo diately functionality
3042 Configuration. Measuring TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X X Time constant for PT1 smoothing
system. Filter. Time constant NumberOfEncoders. diately (actual value smoothing)
Encoder_x. Filter.
timeConstant
3051 Mechanics. Backlash on TypeOfAxis. DINT Enum 1-8 - - R, W Imme- X X Effective direction of the backlash on
reversal compensation. NumberOfEncoders. BackLash Type diately reversal compensation
Incremental encoder. Direction Encoder_x. IncBackLash.
_type
S7-Technology
A-52 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
3052 Mechanics.Backlash on TypeOfAxis. DINT 1-8 - - R, W Imme- X X Activation/deactivation of the backlash
reversal compensation. NumberOfEncoders. EnumYesNo diately on reversal compensation
Incremental Encoder_x. IncBackLash.
encoder.Activation enable
3053 Mechanics. Backlash on TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Backlash on reversal value
reversal compensation. NumberOfEncoders. diately
Incremental encoder. Value Encoder_x. IncBackLash.
length
3054 Mechanics.Backlash on TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X Velocity with which the backlash on
reversal compensation. NumberOfEncoders. diately reversal compensation is traversed
Incremental encoder. Velocity Encoder_x. IncBackLash.
velocity
3061 Homing. Active homing. TypeOfAxis. DINT 1-8 - - R, W Imme- X X X Homing approach direction
Approach direction NumberOfEncoders. EnumAxis diately
Encoder_x. Approach
IncHomingEncoder. Direction
approachDirection
3063 Homing. Zero mark activation TypeOfAxis. DINT 1-8 - - R, W Imme- X X X Activation status of the zero reference
monitoring NumberOfEncoders. EnumYesNo diately mark monitoring
Encoder_x.
IncHomingEncoder.
enableZeroMarkDistance
3064 Homing. Active homing. TypeOfAxis. DINT Enum 1-8 - - R, W Restart X X X Homing mode
Homing mode NumberOfEncoders. AxisHoming
Encoder_x. Mode
IncHomingEncoder.
homingMode
3066 Homing. Passive homing. TypeOfAxis. DINT 1-8 - - R, W Imme- X X X Expected approach direction
Approach direction NumberOfEncoders. EnumAxis diately
Encoder_x. Passive
IncHomingEncoder. Approach
passiveApproachDirection Direction
3068 Homing. Passive homing. TypeOfAxis. DINT 1-8 - - R, W Restart X X X Homing mode
Homing mode NumberOfEncoders. EnumAxis
Encoder_x. Passive
IncHomingEncoder. HomingMode
passiveHomingMode
S7-Technology
A5E00251798-05 A-53
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
3070 Homing. Active homing. TypeOfAxis. REAL 1-8 -1E+12 1E+12 R, W Imme- X X X Reference point offset
Reference point offset NumberOfEncoders. diately
Encoder_x.
IncHomingEncoder.
proceedShiftPos
3071 Homing. Distance to zero TypeOfAxis. REAL 1-8 0.0 1E+12 R, W Imme- X X X Maximum distance between BERO
mark NumberOfEncoders. diately and the zero mark
Encoder_x.
IncHomingEncoder.
zeroMarkDistance
S7-Technology
A-54 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4001 Configuration. Accept changes Activationmodechanged DINT EnumTo - - - R, W Imme- X X X Activation of modified configuration
configdata Activation diately data
ModeSet
ConfigData
4010 Homing. Absolute value absoluteEncoder_x. 2 x DWORD 1-8 - - R, W Imme- X X Measuring system state of the
encoder adjustment. Total totalOffsetValue diately absolute value encoder, calculated
offset total offset
4011 Homing. Absolute value absoluteEncoder_x. DINT 1-8 - - R - X X Measuring system state of the
encoder adjustment. activationstate EnumYesNo absolute value encoder, including
Measuring system status calculated total offset
4020 Actual values. Data block datasetmonitoring. DINT - 0 16 R - X X X Currently active data block number
switching. Active data block actualdataset
4030 Actual values. Motion. superimposedmotion. position REAL - -1E+12 1E+12 R - X X Position in the overlaid coordinate
Overlaid movement. Position system
4031 Actual values. Motion. superimposedmotion. velocity REAL - -1E+12 1E+12 R - X X Speed in the overlaid coordinate
Overlaid movement. Speed system
4040 Actual values. Motion. Base basicmotion. position REAL - -1E+12 1E+12 R - X X X Position in the main coordinate system
motion. Position
4041 Actual values. Motion. Base basicmotion. velocity REAL - -1E+12 1E+12 R - X X X Speed in the main coordinate system
motion. Speed
4050 Actual values. Sensor. Status sensordata_x. state DINT 1-8 - - R - X X X Measuring system status
EnumSensorSt
ate
4121 Limits. Dynamic response. minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Negative acceleration/deceleration
Negative direction of travel. negativeaccel diately limitation
Negative acceleration
4122 Limits. Dynamic response. minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at end of acceleration
Negative direction of travel. negativeacceljerk diately and start of deceleration
Negative jerk
4123 Limits.Dynamic response. minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Positive acceleration/deceleration
Negative direction of travel. positiveaccel diately limitation
Positive acceleration
4124 Limits.Dynamic response. minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at start of acceleration
Negative direction of travel. positiveacceljerk diately and end of deceleration
Positive jerk
S7-Technology
A5E00251798-05 A-55
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4125 Limits.Position and velocity. minuslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Velocity limitation
Negative direction of travel. velocity diately
Velocity
4141 Setpoints. Override. override. acceleration REAL - 1.0 1000.0 R, W Imme- X X X Acceleration override in percent
Acceleration diately
4142 Setpoints. Override. Velocity override. velocity REAL - 0.0 200.0 R, W Imme- X X X Velocity override in percent
diately
4151 Limits.Dynamic response. pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Negative acceleration/deceleration
Positive direction of travel. negativeaccel diately limitation
Negative acceleration
4152 Limits.Dynamic response. pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at end of acceleration
Positive direction of travel. negativeacceljerk diately and start of deceleration
Negative jerk
4153 Limits.Dynamic response. pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Positive acceleration/deceleration
Positive direction of travel. positiveaccel diately limitation
Positive acceleration
4154 Limits.Dynamic response. pluslimitsofdynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at start of acceleration
Positive direction of travel. positiveacceljerk diately and end of deceleration
Positive jerk
4155 Limits.Position and velocity. pluslimitsofdynamics. velocity REAL - 0.0 1E+12 R, W Imme- X X X Velocity limitation
Positive direction of travel. diately
Velocity
4162 Actual values. poscommand. distancetogo REAL - -1E+12 1E+12 R - X X Current resulting distance to go
Commands.Positioning.
Distance to go
4173 Actual values. Homing. positioningstate. homeposition REAL - -1E+12 1E+12 R - X X Home position coordinates
Reference position
coordinates
4174 Actual values. Homing.Bero homingcommand. berostate DINT Enum - R - X X Bero active
status ActiveInactive
4180 Homing. Reference point userdefaulthoming. REAL - -1E+12 1E+12 R, W Imme- X X Reference point coordinate
coordinate homeposition diately
4181 Homing. Approach speed userdefaulthoming. REAL - 0.0 10000.0 R, W Imme- X X Reference point approach speed
homingapproachvelocity diately
4182 Homing. Creep speed userdefaulthoming. REAL - 0.0 2000.0 R, W Imme- X X Reference point creep speed
homingentryvelocity diately
S7-Technology
A-56 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4183 Homing. Shutdown speed userdefaulthoming. REAL - 0.0 1000.0 R, W Imme- X X Reference point shutdown speed
homingreducedvelocity diately
4190 Position control. Static servosettings. setpointoffset REAL 0.0 -1E+12 1E+12 R, W Imme- X X X Offset compensation for the analog
controller data. Offset compensation diately drive interface
compensation
S7-Technology
A5E00251798-05 A-57
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4231 Limits. Fixed stop. Clamping userdefaultclamping. REAL - 0.0 1E+12 R, W Imme- X X Clamping value (e.g. travel to fixed
value clampingvalue diately stop)
4241 Default. Default value. userDefaultDynamics. DINT Enum - - - R, W Imme- X X X Direction specification
Dynamics.Direction direction Direction diately
4242 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Negative acceleration/deceleration
Dynamics.Negative negativeAccel diately
acceleration
4243 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at end of deceleration
Dynamics. Jerk at end of negativeAccelEndJerk diately
deceleration
4244 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at start of deceleration
Dynamics. Jerk at start of negativeAccelStartJerk diately
deceleration
4245 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Positive acceleration
Dynamics. Positive positiveAccel diately
acceleration
4246 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at end of acceleration
Dynamics. Jerk at end of positiveAccelEndJerk diately
acceleration
4247 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Jerk limitation at start of acceleration
Dynamics. Jerk at start of positiveAccelStartJerk diately
acceleration
4248 Default. Default value. userDefaultDynamics. profile DINT Enum - - - R, W Imme- X X X Velocity profile type
Dynamics. Velocity profile Profile diately
4249 Default. Default value. userDefaultDynamics. REAL - 0.0 1E+12 R, W Imme- X X X Time specification for emergency off
Dynamics. Stopping time stopTime diately
4250 Default. Default value. userDefaultDynamics. velocity REAL - -1E+12 1E+12 R, W Imme- X X X Velocity specification
Dynamics. Velocity diately
4262 Synchronous operation. Cam userdefault. cammingsettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Offset for the cam start position with
synchronization. Master offset camstartpositionmaster diately 'relative' master
4266 Synchronous operation. Cam userdefault. cammingSettings. DINT Enum 1-2 - - R, W Imme- X Cam synchronization criterion
synchronization. synchronizingMode Sync Mode diately
Synchronization mode Camming
4267 Synchronous operation. Cam userdefault. cammingSettings. DINT Enum 1-2 - - R, W Imme- X Cam desynchronization criterion
synchronization. syncOffMode SyncOff Mode diately
Desynchronization mode Camming
S7-Technology
A-58 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4268 Synchronous operation. Cam userdefault. cammingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Master position for the synchronization
synchronization. syncPositionMaster diately
Synchronization master
position
4269 Synchronous operation. Cam userdefault. cammingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Slave position for the synchronization
synchronization. syncPositionSlave diately
Synchronization slave position
4270 Synchronous operation.Cam userdefault. cammingsettings. DINT Enum 1-2 - - R, W Imme- X Synchronization direction of the slave
synchronization.Slave syncronizingDirection Following diately
synchronization direction Object
Synchronizing
Direction
4286 Synchronous operation. Gear userdefault. gearingSettings. DINT Enum 1-2 - - R, W Imme- X Gearing synchronization criterion
synchronization. synchronizingMode SyncMode diately
Synchronization criteria Gearing
4287 Synchronous operation. Gear userdefault. gearingSettings. DINT Enum 1-2 - - R, W Imme- X Gearing desynchronization criterion
synchronization. syncOffMode SyncOff diately
Desynchronization criteria ModeGearing
4288 Synchronous operation.Gear userdefault. gearingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Synchronization position of the master
synchronization. Master syncPositionMaster diately
position
4289 Synchronous operation. Gear userdefault. gearingSettings. REAL 1-2 -1E+12 1E+12 R, W Imme- X Synchronization position of the slave
synchronization. Slave syncPositionSlave diately
position
4291 Synchronous operation. Gear userdefault. gearingsettings. DINT Enum 1-2 - - R, W Imme- X Synchronization direction of the slave
synchronization. Slave syncronizingDirection Following diately
synchronization direction Object
Synchronizing
Direction
S7-Technology
A5E00251798-05 A-59
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4301 Synchronous operation. userDefault. syncDynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Negative acceleration
Dynamics. Negative negativeAccel diately
acceleration
4302 Synchronous operation. userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit at end of deceleration
Dynamics. 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 at start of deceleration
Dynamics. Jerk at start of negativeaccelstartjerk diately
deceleration
4304 Synchronous operation. userDefault. syncDynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Positive acceleration
Dynamics. Positive positiveAccel diately
acceleration
4305 Synchronous operation. userdefault. syncdynamics. REAL 1-2 0.0 1E+12 R, W Imme- X Jerk limit at end of acceleration
Dynamics. Jerk at 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
Dynamics. Jerk at start of positiveaccelstartjerk diately
acceleration
4307 Synchronous operation. userDefault. syncDynamics. REAL 1-2 -1E+12 1E+12 R, W Imme- X Velocity
Dynamics. Velocity velocity diately
4308 Synchronous operation. userdefault. syncdynamics. DINT Enum 1-2 - - R, W Imme- X Velocity profile type
Dynamics. Velocity profile velocityprofile Profile diately
4321 Synchronous operation. userdefault. syncoffpositions. REAL 1-2 -1E+12 1E+12 R, W Imme- X Desynchronization position of the
Synchronization. master diately master
Desynchronization master
position
4322 Synchronous operation. userdefault. syncoffpositions. REAL 1-2 -1E+12 1E+12 R, W Imme- X Desynchronization position of the slave
Synchronization. slave diately
Desynchronization slave
position
4331 Synchronous operation. userdefault. syncProfile. REAL 1-2 0.0 1E+12 R, W Imme- X Synchronization length for leading-
Synchronization. syncLength diately axis-related synchronization profile
Synchronization path
4332 Synchronous operation. userdefault. syncProfile. REAL 1-2 0.0 1E+12 R, W Imme- X Desynchronization length for leading-
Synchronization. syncOffLength diately axis-related synchronization profile
Desynchronization path
S7-Technology
A-60 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4333 Synchronous operation. userdefault. syncProfile. DINT Enum 1-2 - - R, W Imme- X Position of the desynchronization
Synchronization. syncOffPositionReference SyncOff diately profile relative to the desynchronization
Desynchronization reference Position position
Reference
4334 Synchronous operation. userdefault. syncProfile. DINT Enum 1-2 - - R, W Imme- X Position of the synchronization profile
Synchronization. syncPositionReference SyncPosition diately relative to the synchronization position
Synchronization reference Reference
4335 Synchronous operation. userdefault. syncprofile. DINT Enum 1-2 - - R, W Imme- X Reference variable of the
Synchronization. Profile syncprofilereference SyncProfile diately sychronization profile
reference Reference
4336 Synchronous operation. SyncinMotion. DINT - - - R, W - - X jerk limited synchronizing movement
absolut. jerkLimiting smoothAbsolute EnumYesNo
Synchronization
4337 Synchronous operation. SyncingMotion. DINT - - - R, W Imme- - - X Slave dynamic could be risen over the
synchronisation. limiting synchronizingAdaption EnumYesNo diately limiting values during synchronizing
4350 Default.Default values. cammingadjustments. master. REAL 1-2 -1E+12 1E+12 R - X Synchronization position
Synchronization position offset
4351 Actual values. Synchronous cammingadjustments. master. REAL 1-2 -1E+12 1E+12 R - X Master offset
operation. Cam scale
synchronization. Master offset
4360 Actual values. Synchronous cammingadjustments. slave. REAL 1-2 -1E+12 1E+12 R - X Master scale
operation. Cam offset
synchronization. Master scale
4361 Actual values. Synchronous cammingadjustments. slave. REAL 1-2 -1E+12 1E+12 R - X Slave offset
operation. Cam scale
synchronization. Slave offset
4370 Actual values. Synchronous gearingadjustments. master. REAL 1-2 -1E+12 1E+12 R - X Slave scale
operation. Cam offset
synchronization. Slave scale
4400 Actual values. Synchronous swlimitstate. DINT - - - R - - X X Master offset
operation. Gear swlimitswitchminus EnumLimit
synchronization. Master offset ExceededOk
4401 Actual values. Limits. Software swlimitstate. swlimitswitchplus DINT - - - R - - X X Software minus limit switch
limit switch. SW minus limit EnumLimit
switch status ExceededOk
4410 Actual values. Limits. Software sensormonitoring. DINT - - - R - X X X Software plus limit switch
limit switch. SW plus limit hwlimitswitchminus EnumLimit
switch status ExceededOk
S7-Technology
A5E00251798-05 A-61
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
4411 Actual values. Limits. sensormonitoring. DINT - - - R - X X X Hardware minus limit switch
Hardware limit switch. HW hwlimitswitchplus EnumLimit
minus limit switch status ExceededOk
4412 Actual values. Limits. sensormonitoring. DINT - 1 8 R - X X X Hardware plus limit switch
Hardware limit switch. HW actualsensor
plus limit switch status
4500 Actual values. Drive. Status drivedata. stw DWORD - - - R, W Restart X X X Satus word 1 and status word 2
words
4501 Setpoints. Drive. Control word. drivedata. zsw DWORD - - - R - X X X Control word 1 and control word 2
Control words
S7-Technology
A-62 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
5000 Hydraulic. superposition. servosettings. REAL - -1E+12 1E+12 R, W Imme- X X X Interface-specific superimposition of
Setpoint additionalqoutputvalue diately the direct output value
5001 Hydraulic. superposition. servosettings. DINT - - - R, W Imme- X X X Interface-specific superimposition of
Activation additionalqoutputvalue switch EnumYesNo diately the direct output value
5002 Hydraulic. Setpoints. actordata. qoutputvalue REAL - -1E+12 1E+12 R Imme- X X X Output value in relation to Q-output
QOutputValue diately
5003 Hydraulic. Sliding friction actordata. slidingfriction REAL - -1E+12 1E+12 R Imme- X X X Velocity-dependent sliding-friction
compensation. Dynamic. set compensationvalue diately compensation value
value
5004 Hydraulic. Sliding friction TypeOfAxis. SlidingFriction. DINT - - - R, W Imme- X X X Activation of the sliding-friction
compensation. Dynamic. enable EnumYesNo diately compensation
Activation
5005 Hydraulic. Sliding friction TypeOfAxis.SlidingFriction. REAL - 0.0 1E+12 R, W Imme- X X X Factor for actual velocity
compensation. Dynamic. FactorMotionControl diately
Factor
5006 Hydraulic. Sliding friction TypeOfAxis.AdditionalOffset. DINT - - - R, W Imme- X X X Activation of the offset injection
compensation. Static. enable EnumYesNo diately
Activation
5007 Hydraulic. Sliding friction TypeOfAxis.AdditionalOffset. REAL - -1E+12 1E+12 R, W Imme- X X X Offset when traversing with motion
compensation. Static. offsetMotionControlNegative diately setting and negative direction of
Negative direction motion
5008 Hydraulic. Sliding friction TypeOfAxis.AdditionalOffset. REAL - -1E+12 1E+12 R, W Imme- X X X Offset when traversing with motion
compensation. Static. Positive offsetMotionControlPositive diately setting and positive direction of motion
direction
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 - X X X Direction-dependent sliding-friction
compensation. static. Set frictionadditionaloffsetvalue compensation value
value
5011 Position control. Static friction actordata. DINT - - - R - X X X Activation state of the static friction
compensation. Aktivierung frictioncompensation EnumActive compensation
Inactive
5012 Position control. Static friction actordata. REAL - -1E+12 1E+12 R - X X X Static friction compensation value
compensation. Stellsignal frictioncompensationvalue
5013 Hydraulic. Limiting. Set value actormonitoring. DINT - - - R - X X X Limit of Q-output increase
limit exceeded qoutputderivativelimiting state EnumLimit
ExceededOk
S7-Technology
A5E00251798-05 A-63
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active D P V Description
(type of indication "Normal") (type of indication "Expert") cess
5014 Hydraulic. Valve active actormonitoring. qoutputstate DINT - - - R - X X X Q-output active
EnumActive
Inactive
5015 Hydraulic. DynamicData. NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X X X Replacement time constant of the
Hydraulic time constant DynamicQFData. diately hydraulic controlled system
qOutputTimeConstant
5016 Hydraulic. DynamicData. NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X - - Replacement time constant of the
Velocity time constant DynamicQFData. diately velocity control loop
velocityTimeConstant
5017 Hydraulic. DynamicData. NumberOfDataSets. REAL - 0.0 1E+12 R, W Imme- X X X Replacement time constant of the
Position time constant DynamicQFData. diately position control loop
positionTimeConstant
5018 Hydraulic. invert setpoint. In NumberOfDataSets. DINT - - - R, W Restart X X X Activation of the output value inversion
front of characteristic InvertQOutput. invSetPoint EnumYesNo
5019 Hydraulic. invert setpoint. After NumberOfDataSets. DINT - - - R, W Imme- X X X Activation of the inversion of the Q-
characteristic InvertSetPoint. Invert EnumYesNo diately output value
5020 Actual values. Sensor. Velocity sensordata. sensordata_x. REAL 1-8 -1E+12 1E+12 R - X X X Actual velocity value
velocity
S7-Technology
A-64 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
1361 Configuration. Activate cam LogAddress. enableOutput DINT - - - R, W Restart Activation status for the output cam output
output EnumYesNo
1362 Configuration. Logic operation LogAddress. logicOperation DINT - - - R, W Restart Operation for the interconnection of the output cam
EnumLogic signals
Operation
1371 Configuration. Cam type OcaType. _type DINT - - - R, W Restart Output cam type
EnumOutput
CamType
4001 Configuration. Accept changes activationmodechanged DINT EnumTo - - - R, W Imme- Activation of modified configuration data
configdata ActivationMode diately
SetConfigData
S7-Technology
A5E00251798-05 A-65
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
1100 Mechanics. Spindle settings. LeadScrew. pitchVal REAL - 0.0 1E+12 R, W Restart Spindle pitch for each revolution of the axis
Spindle pitch for each
revolution of the axis
1110 Synchronous operation. TypeOfAxis. Extrapolation. REAL - 0.0 1E+12 R, W Imme- Extrapolation time of the master axis
Extrapolator. Extrapolation time ExtrapolationTime diately
1111 Synchronous operation. TypeOfAxis. Extrapolation. DINT - - - R, W Restart Selection criterion for actual value smoothing
Extrapolator. Filter. Mode Filter. Mode EnumAxisFilter
Mode
1112 Synchronous operation. TypeOfAxis. Extrapolation. DINT - - - R, W Imme- Activation status
Extrapolator. Filter. Activation Filter. enable EnumYesNo diately
1113 Synchronous operation. TypeOfAxis. Extrapolation. REAL - 0.0 1E+12 R, W Imme- Time constant for PT1 smoothing
Extrapolator. Filter. Time Filter. timeConstant diately
Constant
1114 Synchronous operation. TypeOfAxis. Extrapolation. DINT - - - R, W Imme- Activation of the tolerance range
Extrapolator. Tolerance Range. ToleranceRange. Enable EnumYesNo diately
Activation
1115 Synchronous operation. TypeOfAxis. Extrapolation. REAL - -1E+12 1E+12 R, W Imme- Tolerance window
Extrapolator. Tolerance Range. ToleranceRange. Value diately
Tolerance window
1201 Mechanics. Modulo. Activation Modulo. state DINT - - - R, W Restart Activation of the modulo settings
EnumActive
Inactive
1202 Mechanics. Modulo. Length Modulo. length REAL - -1E+12 1E+12 R, W Restart Modulo length
1203 Mechanics. Modulo. Starting Modulo. startValue REAL - -1E+12 1E+12 R, W Restart Modulo starting value
value
1221 Monitoring. Velocity. Activation TypeOfAxis. DINT - - - R, W Imme- Activation of the actual velocity monitoring
ActualVelocityMonitoring. EnumYesNo diately
enable
1222 Monitoring. Velocity. Maximum TypeOfAxis. REAL - 0.0 1E+12 R, W Imme- Maximum permissible actual velocity
value ActualVelocityMonitoring. diately
maximum
1331 Configuration. Actual value TypeOfAxis. SmoothingFilter. DINT - - - R, W Imme- Activation of the filter functionality
smoothing. Activation enable EnumYesNo diately
S7-Technology
A-66 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
1332 Configuration. Actual value TypeOfAxis. SmoothingFilter. DINT Enum - - - R, W Restart Calculation method for actual value smoothing
smoothing. Mode mode AxisFilterMode
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- Delay time for the triggering of the standstill signal
Message delay time delayTimeToActivate diately
1352 Monitoring. Standstill signal. TypeOfAxis. StandStillSignal. DINT - 0 15 R, W Imme- Degree of filtering
Degree of filtering filterDegree diately
1353 Monitoring. Standstill signal. TypeOfAxis. StandStillSignal. REAL - 0.0 1E+12 R, W Imme- Filter frequency
Filter frequency filterFrequency diately
1354 Monitoring. Standstill signal. TypeOfAxis. StandStillSignal. REAL - -1E+12 1E+12 R, W Imme- Velocity limit for standstill signal
Velocity limit maxVeloStandStill diately
1400 Position control. Static TypeOfAxis. SpeedLimitation. DINT Enum - - - R, W Restart Activation status of the speed range limit
controller data. Manipulated Enable AxisFilterMode
variable limit. Activation
1401 Position control. Static TypeOfAxis. SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- Lower limit for the speed range
controller data. Manipulated MinSpeed diately
variable limit. Lower limit
1402 Position control. Static TypeOfAxis. SpeedLimitation. REAL - -1E+12 1E+12 R, W Imme- Upper limit for the speed range
controller data. Manipulated MaxSpeed diately
variable limit. Upper limit
2020 Mechanics. Load gearbox. TypeOfAxis. Gear. denFactor DINT - 0 2147483647 R, W Restart Gearbox factor denominator
Load revolutions count
2021 Mechanics. Load gearbox. TypeOfAxis. Gear. numFactor DINT - 0 2147483647 R, W Restart Gearbox factor numerator
Motor revolutions count
3010 Mechanics.Measuring TypeOfAxis. Encoder_1. DINT Enum - - - R, W Restart Attachment type of the encoder
system.Encoder attachment AssemblyBase. assemblyBase AxisEncoder
type AssemblyType
3011 Mechanics. Measuring TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Denominator
system.Motor side measuring AdaptDrive. denFactor
gearbox. Encoder revolutions
count
3012 Mechanics. Measuring system. TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
Motor side measuring gearbox. AdaptDrive.numFactor
Motor revolutions count
S7-Technology
A5E00251798-05 A-67
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
3013 Mechanics. Measuring system. TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Denominator
Load side measuring gearbox. AdaptExtern. denFactor
Encoder revolutions count
3014 Mechanics.Measuring system. TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
Load side measuring gearbox. AdaptExtern. numFactor
Load revolutions count
3015 Mechanics. Measuring system. TypeOfAxis. Encoder_1. REAL - 0.0 1E+12 R, W Restart Path for each measuring wheel rotation
External measuring gearbox. PathPerRevolution. length
Path per measuring wheel
rotation
3016 Mechanics. Measuring system. TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Denominator
External measuring gearbox. AdaptLoad.denFactor
Encoder revolutions count
3017 Mechanics. Measuring system. TypeOfAxis. Encoder_1. DINT - 1 2147483647 R, W Restart Numerator
External measuring gearbox. AdaptLoad.numFactor
Measuring wheel revolutions
count
3031 Homing Offset TypeOfAxis. Encoder_1. REAL - 0.0 1E+12 R, W Imme- Offset of the absolute encoder
AbsHomingEncoder. absShift diately
3041 Configuration. Measuring TypeOfAxis. Encoder_1. Filter. DINT - - - R, W Imme- Activation status of the filter functionality
system. Filter. Activation enable EnumYesNo diately
3042 Configuration. Measuring TypeOfAxis. Encoder_1. Filter. REAL - 0.0 1E+12 R, W Imme- Time constant for PT1 smoothing (actual value
system. Filter. Time constant timeConstant diately smoothing)
3063 Homing. Zero mark activation TypeOfAxis. Encoder_1. DINT - - - R, W Imme- Activation status of the zero reference mark
monitoring IncHomingEncoder. EnumYesNo diately monitoring
enableZeroMarkDistance
3066 Homing. Passive homing. TypeOfAxis. Encoder_1. DINT - - - R, W Imme- Expected approach direction
Approach direction IncHomingEncoder. EnumAxisPassi diately
passiveApproachDirection ve _Approach_
Direction
3068 Homing. Passive homing. TypeOfAxis. Encoder_1. DINT - - - R, W Restart Homing mode
Homing mode IncHomingEncoder. EnumAxisPassi
passiveHomingMode ve
Homing_Mode
3071 Homing. Distance to zero mark TypeOfAxis. Encoder_1. REAL - 0.0 1E+12 R, W Imme- Maximum distance between BERO and the zero
IncHomingEncoder. diately mark
zeroMarkDistance
S7-Technology
A-68 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
4001 Configuration. Accept changes Activationmodechanged DINT EnumTo - - - R, W Imme- Activation of modified configuration data
configdata ActivationMode diately
SetConfigData
4010 Homing. Absolute value absoluteEncoder. 2 x DWORD - - - R, W Imme- Measuring system state of the absolute value
encoder adjustment. Total totalOffsetValue diately encoder, calculated total offset
offset
4011 Homing. Absolute value absoluteEncoder. DINT - - - R - Measuring system state of the absolute value
encoder adjustment. activationstate EnumYesNo encoder, including calculated total offset
Measuring system status
4341 Default. Default values. userdefault. syncposition REAL - -1E+12 1E+12 R, W Imme- Synchronization position
Synchronization position diately
4410 Actual values. Limits. sensormonitoring. DINT - - - R - Hardware minus limit switch
Hardware limit switch. HW hwlimitswitchminus EnumLimit
minus limit switch status ExceededOk
4411 Actual values. Limits. sensormonitoring. DINT - - - R - Hardware plus limit switch
Hardware limit switch. HW plus hwlimitswitchplus EnumLimit
limit switch status ExceededOk
S7-Technology
A5E00251798-05 A-69
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
4001 Configuration. Accept changes Activationmodechanged DINT - - - R, W Imme- Activation of modified configuration data
configdata EnumToActivati diately
on ModeSet
ConfigData
4201 Actual values. Cam type interpolation. camMode DINT - - - R - Boundary conditions of the interpolation
EnumCam
Mode
4202 Actual values. Interpolation interpolation. DINT - - - R - Interpolation type
type interpolationMode EnumCam
InterpolationMo
de
4211 Default. Default values. userDefault. camPositionMode DINT - - - R, W Imme- Reference of the coordinate specifications
Coordinate reference EnumCam diately
PositionMode
S7-Technology
A-70 A5E00251798-05
Appendix
No. Name in DB-Param Name in DB-Param Data type Index min. max. Ac- Active Description
(type of indication "Normal") (type of indication "Expert") cess
4001 Configuration. Accept changes Activationmodechanged DINT EnumTo - - - R, W Imme- Activation of modified configuration data
configdata ActivationMode diately
SetConfigData
S7-Technology
A5E00251798-05 A-71
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
A-72 A5E00251798-05
Appendix
S7-Technology
A5E00251798-05 A-73
Appendix
S7-Technology
A-74 A5E00251798-05
Appendix
S7-Technology
A5E00251798-05 A-75
Appendix
S7-Technology
A-76 A5E00251798-05
Appendix
S7-Technology
A5E00251798-05 A-77
Appendix
S7-Technology
A-78 A5E00251798-05
Appendix
S7-Technology
A5E00251798-05 A-79
A.5 Additional information on the Internet
If you can access the Internet on your PG/PC, you can download supplementary
information from the Internet.
Additional information on the Technology CPU can also be obtained on the Internet
URL shown below if your PG/PC is capable of connecting to the Internet:
SIMATIC documentation
http://www.ad.siemens.de/support
Training Centers
http://www.sitrain.com
FAQs
http://support.automation.siemens.com
S7-Technology
A-80 A5E00251798-05
Index
Active range - Measuring input 3-74
A Active single command 1 - new command
6-282
Absolute and relative camming 3-33 Active single command 2 - New command
Absolute encoder adjustment 3-13 6-284
Absolute encoder on ADI4 - Encoder Active single command 3- new command
parameter assignment 4-93 6-285
Absolute encoders - External encoders ACTUAL 8-9, 8-12
3-76 ACTUAL - memory area 8-5
Absolute gearing 3-31 Actual value - acceleration 4-44, 4-113
Absolute positioning of modulo axes 6-295 Actual value - Position 4-44, 4-113
Absolute positioning with FB 410 Actual value - Velocity 4-44, 4-113
MC_MoveAbsolute 6-42 Actual value coupling 4-158, 4-159
Absolute synchronism 3-38 Actual value detection A-38
Absolute values 4-54, 4-123, 4-185 Actual value logging 4-44, 4-113
Acceleration 4-54, 4-55, 4-123, 4-124, Actual value setting 3-11
4-185, 4-186 Actual values 2-12
Acceleration model - direction-dependent ActualAcceleration - Technology DB 7-1,
4-54, 4-123, 4-185 7-6, 7-11
Acceleration model - status-dependent ActualPosition - Technology DB 7-6, 7-11,
4-54, 4-123, 4-185 7-18
AccelerationOverride - Technology DB 7-1, ActualVelocity - Technology DB 7-1, 7-6,
7-6, 7-11 7-11, 7-18
Accessing address spaces of CPU 31xT Adding a cam sector with FB 435
5-19 MC_CamSectorAdd 6-191
Accessing address spaces of Microbox T Adding a data record 4-39, 4-109
5-21 Adding a data record for data record
Acknowledge 5-28 changeover 4-39, 4-109
Acknowledging errors with FB 402 Adding a sector to a cam disk with FB 435
MC_Reset 6-232 MC_CamSectorAdd 6-191
Acknowledgment 5-30, 5-31, 5-32 Adding a valve profile 4-103
Activating a valve profile by calling FB 439 Additional information on the Internet A-80
MC_SetCharacteristic 6-106 Address spaces of CPU 31xT 5-19
Activating changes 8-13 Address spaces of the Microbox T 5-21
Active - Monitoring active commands 5-24 Addresses of CPU 31xT 5-19
Active command 2 - New command 6-289 Addresses of the Microbox T 5-21
Active commands 5-24 ADI4 2-3
Active commands 1- new command 6-287 Analog absolute encoder - encoder
Active homing 4-63, 4-64, 4-67, 4-68, parameter assignment 4-99
4-71, 4-132, 4-133, 4-136, 4-137, 4-140, Analyzing a project A-25
4-194, 4-195, 4-198, 4-199, 4-202 AND logic - Output cams 4-252
Active homing - in homing mode with ANY-Pointer - MC_CamSectorAdd 6-191
reference cam only 4-63, 4-132, 4-194 Application example Flying shears A-3
Active homing - Time-based reference point Application example Gripper feed A-5
approach Application example positioning with target
Active homing - in homing mode with sensor A-1
reference cam and encoder zero mark Application examples on the Internet A-1
4-63, 4-132, 4-194 Assigning cam disks 4-158
Active homing mode with encoder zero Assigning interpolator cycle 2 A-35
mark only 4-63, 4-132, 4-194 Assigning leading axes 4-158
S7-Technology
A5E00251798-05 Index-1
Index
S7-Technology
Index-2 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-3
Index
S7-Technology
Index-4 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-5
Index
S7-Technology
Index-6 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-7
Index
S7-Technology
Index-8 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-9
Index
N P
New command - active command 2 6-289 Parameter 5009 6-3
New command - active commands 1 6-287 Parameter list - Technology parameter
New command - active single command 1 A-39
6-282 Parameter numbers A-39
New command - active single command 2 Passive homing 4-74, 4-75, 4-76, 4-78,
6-284 4-79, 4-143, 4-144, 4-145, 4-147, 4-148,
New command - active single command 3 4-205, 4-206, 4-207, 4-209, 4-210
6-285 Passive homing mode with BERO and
NEXT 8-13 encoder zero mark 4-74, 4-143, 4-205
NEXT - memory area 8-5 Passive homing mode with BERO only
Normal stop with FB 405 MC_Halt 6-30 4-74, 4-143, 4-205
Not 6-3, 6-5, 6-8 Passive homing mode with default settings
NumGear - Technology DB 7-11 4-74, 4-143, 4-205
Passive homing mode with encoder zero
O mark only 4-74, 4-143, 4-205
performance features A-7
OB 1 - Sequence and programming model Phase position 6-175
5-16 PhaseShift - gearing 6-110
OB 1 - time pattern 5-1 PhaseShift - Technology DB 7-11
OB 1- Programming model 5-16 PLCopen 2-2
OB 32...35 - time pattern 5-1 Polynomial 6-199
OB 65 7-36, 7-39, 7-40 Polynomials 4-232
OB 65 - time pattern 5-1 Position and velocity - Axis 4-51, 4-120,
OFF2Stop 6-4 4-182
Offline A-30 Position control 3-17, 3-19
time stamp A-29 Position control cycle 5-13, 8-17
Offline/Online comparison A-27 Position controller - tuning 8-20
Offset 7-36, 7-37, 7-38 Position controller cycle - time pattern 5-1
Offset compensation 6-76 Position controller tuning - overview 8-20
Online A-29, A-30 Position correction 4-80, 4-149, 4-211,
Online changes in S7T Config 8-13 6-76
Online changes of a cam disk 8-13 Position monitoring 4-83, 4-152, 4-214
OR logic - Output cams 4-252 Position reference 4-174
Output cam - inverted output 3-62 Position-based cams 3-63
Output cam - Technology DB 7-27 Cam activation range 3-62, 3-63
Output cam configuration 4-254 Cam deactivation range 3-63
Output cam technology DB - ErrorIDs 7-61 Inverted output 3-63
Output cams - Configuration 4-252 Switching characteristic 3-63
Output cams - derivative action time 3-70 Position-based cams or switching cams
Output cams - effective direction 3-66 with FB 430 MC_CamSwitch 6-210
Output cams - reaction 3-66 position-controlled mode 6-85, 6-87
outputs - integrated 2-6 Positioning and standstill monitoring 4-83,
Overflow - Technology DB update 8-16 4-152, 4-214
Overflow IPO 5-1 Positioning axis - Technology DB -
Override response 6-16 Firmware version 3.1.x of the integrated
Overview - configuration 4-1 technology 7-6
Overview - Monitoring functions 4-81, Positioning relative to current target position
4-150, 4-212 with FB 412 MC_MoveAdditive 6-70
Overview - Programming 6-1 positioningstate.actualposition 4-44, 4-113,
Overview - TraceTool 8-41 4-158
POWER OFF 6-293
POWER ON 6-293, 8-7
POWER ON and CPU memory reset 8-7
S7-Technology
Index-10 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-11
Index
S7-Technology
Index-12 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-13
Index
S7-Technology
Index-14 A5E00251798-05
Index
S7-Technology
A5E00251798-05 Index-15
Index
S7-Technology
Index-16 A5E00251798-05