The reproduction, distribution and utilization of this docu
ment as well as the communicaton of its
contents to others
without express authorization is prohibited. Offenders will
be held liable for the payment of damages. All rights reser
ved in the event of the grant of a patent, utility module or
design.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
I
Contents and general instructions
PROFIBUS
SIMATIC
®
®
is a registered trade name of PROFIBUS International (P.I.)
The function blocks (FB) described serve for controlling and
parametrizing motor controllers type SFC−DC−...−PB via PROFI
BUS−DP in a SIMATIC−S7 controller with integrated DP master
module (e.g. CPU315−2DP).
With the blocks the many functions of the motor controller
can be comfortably incorporated in the program.
The blocks can be parametrized and are capable of
many
instances. They are linked into the user program for each
motor controller (each axis) from where they can be accessed
cyclically with a separate instance data block or multi−in
stance block. Simultaneous use of other function blocks for
controlling the same controller is not permitted.
The motor controller (Single Field Controller, single
axis field
controller) type SFC−DC−... serves as a position controller and
position servo for the electric mini slide type SLTE−... with
control via the PROFIBUS field bus.
It is absolutely necessary to observe the Safety instructions"
as well as the designated use of the relevant components and
modules listed in the manual for the
SFC−DC. Please observe
also the safety instructions in the operating instructions for
the components used.
If additional commercially−available components such as sen
sors and actuators are connected, the specified limits for
pressures, temperatures, electrical data, torques, etc. must
not be exceeded.
Note also the Siemens specifications regarding the use of
their PLC Simatic S7.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
VII
Contents and general instructions
Basic principles of programmed software
Please note that it is not possible with the present state of
technology to create programmed software which functions
without problems and is compatible with all applications and
combinations intended by the user.
As a rule the software must therefore be used in the desig
nated manner as specified in the program description
the user instructions.
At the moment when the software is transferred or made
available, it is in a state in which it will function under normal
operating and application conditions.
Festo does not guarantee that the software will suffice for all
applications and purposes intended by the user, or that it will
function without problems when used with other programs,
or that it is compatible with these programs. The responsibil
ity for the correct selection and the consequences of using
the software within the scope of use defined by the user, as
well as for the intended and achieved results therefore lies
with the user.
plied with the software.
The same applies to the written material sup
and in
VIII
The use of the programmed software does not exempt you as
customer from your duties and responsibility for observing
and adhering to technical machine and safety regulations as
well as for a comprehensive functional check.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Contents and general instructions
Safety instructions
When commissioning and programming positioning systems,
you must observe the safety regulations in this manual as
well as those in the operating instructions for the other
components used.
The user must make sure that nobody is in the operating
range of the connected actuators or axis system. Access to
the possible danger area must
measures such as protective screens and warning signs.
Warning
Electric axes can move suddenly with high force and at
high speed. Collisions can lead to serious injury to human
beings and damage to components.
Make sure that nobody can gain access to the operating
range of the axes or other connected actuators and that no
objects lie in the positioning range while
connected to a power supply.
be prevented by suitable
the system is still
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Warning
Faults in parametrization can cause injury to people and
damage to property.
Enable the controller only if the axis system is correctly
installed and parametrized.
IX
Contents and general instructions
Target group
This manual is intended exclusively for technicians trained in
control and automation technology, who have experience in
installing, commissioning, programming and diagnosing
positioning systems and PROFIBUS−DP slaves.
Service
Please consult your local Festo repair service or write to the
following e−mail address if you have any technical problems:
service_international@festo.com
The function blocks described here as well as software com
plementary to the product (e.g. GSD/GSG files) can be be
found on the Festo Internet pages under the address:
www.festo.com [Industrie−Automation/Service & Support/
Download Area/Software].
X
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Contents and general instructions
Important user instructions
Danger categories
This manual contains instructions on the possible dangers
which may occur if the product is not used correctly. These
instructions are marked (Warning, Caution, etc.), printed on a
shaded background and marked additionally with a picto
gram. A distinction is made between the following danger
warnings:
Warning
This means that failure to observe this instruction may
result in serious personal injury or damage to property.
Caution
This means that failure to observe this instruction may
result in personal injury or damage to property.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Please note
This means that failure to observe this instruction may
result in damage to proper ty.
The following pictogram marks passages in the text which
describe activities with electrostatically sensitive compo
nents.
Electrostatically sensitive components may be damaged if
they are not handled correctly.
XI
Contents and general instructions
Marking special information
The following pictograms mark passages in the text
containing special information.
Pictograms
Information:
Recommendations, tips and references to other sources of
information.
Accessories:
Information on necessary or sensible accessories for the
Festo product.
Environment:
Information on environment−friendly use of Festo products.
XII
Text markings
·The bullet indicates activities which may be carried out in
any order.
1. Figures denote activities which must be carried out in the
numerical order specified.
Hyphens indicate general activities.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Contents and general instructions
Manuals on motor controller type SFC−DC
This manual contains information on the S7 blocks for motor
controller type SFC−DC−...−PB with PROFIBUS field bus inter
face.
The following manual is also required for understanding the
function blocks:
Manual for motor controller type SFC−DC with PROFIBUS
interface, type P.BE−SFC−DC−PB−...
This manual on the S7 blocks contains all necessary informa
tion for commissioning the
portant extracts from the manual for motor controller type
SFC−DC are also reproduced.
However this does not replace in any way the manual for
motor controller type SFC−DC. The guidelines and safety re
gulations listed therein must be observed at all costs in order
to guarantee correct
section Designated use".
blocks. In addition, the most im
and reliable functioning. Note also the
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
Information on components, such as the electric slide type
SLTE−... or the reference switch can be found in the operating
instructions supplied with the relevant product.
Siemens
When reference is made in this manual to documents from
Siemens, this always means the Step 7 version 5.3 (service
pack 1). Other versions of Step 7 may differ from that de
scribed in this manual.
XIII
Contents and general instructions
Overview of documentation on the SFC−DC
DesignDesignationContents
Docu package with brief
description + manuals
on CD ROM
ManualMotor controller type SFC−DC
Help system for
software
Operating instructionsMini slide
Manual for S7 blockS7 block for the SFC−DC
P.BE−SFC−DC−UDOKBrief description: Important instructions
with PROFIBUS interface
P.BE−SFC−DC−PB−...
Festo Configuration Tool help
(contained in FCT software)
type SLTE−...
P.BE−SFC−DC−PB−S7−...
Tab.0/1:Documentation on the SFC−DC
on commissioning and preliminary
information.
Manuals: Contents as described below.
Installation, commissioning and
diagnosis of electric axes with motor
controller type SFC−DC with
communication via PROFIBUS.
Function description of the Festo
Configuration Tool configuration
software.
Fitting and commissioning the electric
mini slide as a drive element.
Using the S7 block for motor controller
type SFC−DC with PROFIBUS interface.
XIV
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
Contents and general instructions
Information on the versions
The function blocks for the SFC−DC require the following ver
sions:
motor controller type SFC−DC−...−PB with firmware version
GSD/GSG file as from revised version 14.12.2005
The firmware version specifies the version status of the
operating system of the SFC−DC.
You can find the specifications on the version status as
follows:
as from V1.10
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
in the
Festo Configuration Tool with active device
connection to the SFC−DC under Device data"
on the control panel under [Diagnostic] [Software
information].
XV
Contents and general instructions
Product−specific terms and abbreviations
The following product−specific terms and abbreviations are
used in this manual:
Field bus specific abbreviations see following Tab.0/3.
Term/abbreviation
0−signal0 V present at input or output (positive logic, corresponds to LOW).
1−signal24 V present at input or output (positive logic, corresponds to HIGH).
AxisComplete actuator, consisting of motor, encoder and drive, optional with
Axis zero point (AZ)Measuring basis point for the project zero point and the software end
ControllerControl electronics which evaluate the control signals and provide the
DriveMechanical component of an axis which transfers the drive power for the
EncoderWith the SLTE: magnetic pulse generator (rotor position transducer).
E
O
I/O
Festo Handling und
Positioning Profile (FHPP)
Meaning
gear, if applicable with controller.
positions. The basis point for the axis zero point is the reference point.
power supply for the motor via the power electronics
(power electronics + controller + position controller).
movement, defines the guide for the positioning movement, and enables
the work load and the reference switch to be fitted.
The electric mini slide type SLTE is an integrated unit consisting of a
motor, encoder, gear unit and drive.
The electric signals generated are sent to the controller, which then
calculates the position and speed on the basis of the signals received.
Input
Output
Input and/or output
Uniform field bus data profile for positioning controllers from Festo.
Festo Parameter Channel
(FPC)
Jog modeManual positioning in positive or negative direction (only on field bus
XVI
FHPP−specific PKW design
(see PROFIBUS−specific terms and abbreviations", Tab.0/3).
variants of the SFC−DC via the field bus or only with FCT or control panel).
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Contents and general instructions
Term/abbreviationMeaning
Operating modeType of controller or internal operating mode of the controller.
PLCProgrammable logic controller; in brief: controller
Positioning mode
(Profile position mode)
Position setPositioning command defined in the position set table, consisting of
Project zero point (PZ)Measuring reference point for all positions in positioning tasks (Project
Reference point (REF)Basis point for the incremental measuring system. The reference point
Reference switchExternal sensor (e.g. type SMT−10) which serves for ascer taining the
Reference travelThe reference position and therefore the source of the measuring
Referencing
(Homing mode)
Type of control: Record Select, Direct mode
Operating mode of the controller: Position profile mode,
Homing mode, Demo mode, ...
(also IPC: industrial PC).
Operating mode for processing a position set or a direct positioning
task.
target position, positioning mode, positioning speed and accelerations.
zero point). The project zero point forms the basis for all absolute posi
tion specifications (e.g. in the position set table or with direct control via
the controller interface or diagnostic interface). The basis point for the
project zero point is the axis zero point.
defines a known orientation or position within the positioning path of
the drive.
reference position and is connected directly to the controller.
reference system of the axis will be defined by the reference travel.
Operating mode in which reference travel is carried out.
Referencing methodMethod for defining the reference position: against a fixed stop
(overcurrent/speed evaluation) or with reference switch.
SLTE...Type designation, electric slide.
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
XVII
Contents and general instructions
Term/abbreviationMeaning
Software end positionProgrammable stroke limitation (basis point = axis zero point)
Teach modeOperating mode for setting positions by moving to the target position
Software end position, positive:
max. limit position in positive direction (away from the motor);
must not be exceeded during positioning.
Software end position, negative:
min. limit position in negative direction (towards the motor);
must not be exceeded during positioning.
e.g. when creating position sets.
Tab.0/2:Index of terms and abbreviations for the SFC−DC
PROFIBUS−specific terms and abbreviations
Term/abbreviationMeaning
0x1234 or 1234hHexadecimal numbers are marked by a prefixed 0x" or by a suffixed
AKSee under response identifier or task identifier
BCDBinary coded decimal
ConsistencyA data range, which is defined as consistent, is transmitted complete,
GSD fileDevice master file in which all specific features of the slave are saved
h".
i.e. in a bus cycle.
(e.g. number of I/Os, number of diagnostic bytes etc.).
LSBLeast significant bit (lower−value bit)
MSBMost significant bit (higher−value bit)
OctetByte (8 bits); basis type for PROFIBUS telegrams
Parameter channel (PKW)Telegram part used for transmitting parameters (PKW = parameter
Parameter identifier (PKE)Integral part of the parameter channel (PKW) which contains the task
XVIII
identifier value) See also Festo Parameter Channel (FPC)" under
Product−specific abbreviations" (Tab.0/2).
and reply identifiers (AK) and the parameter number (PNU).
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
Contents and general instructions
Term/abbreviationMeaning
Parameter number (PNU)Parameters which can be transmitted via the parameter channel are
PKESee under parameter identifier
PKWSee under parameter channel
PNUSee under parameter number
Reply telegramTelegram sent from the slave to the master (slave reply)
Response identifier (AK)Integral part of the parameter channel in reply telegrams specifying
PROFIBUSPROcess FIeld BUS; German processing and field bus standard defined
PROFIBUS addressServes for clear identification of a bus slave on the PROFIBUS
Subindex (IND)Integral part of the parameter channel (PKW) which addresses an
Task identifier (AK)Integral part of the parameter channel in task telegrams specifying the
Task telegramTelegram sent from the master to the slave (task of master)
Terminating resistorResistor for minimizing signal reflections. Terminating resistors must be
Work dataTelegram data without protocol frame data The length of the work
addressed with the parameter number (PNU). The parameter number
is an integral part of the parameter identifier (PKE) and serves for
identifying or addressing the individual parameter.
the type of reply of a parameter processing.
in IEC 61158 type 3.
element of an array parameter (sub−parameter number)
type of task of a parameter processing.
installed or switched in at the end of bus segment cables.
data is defined in the configuration of the field bus slave.
Tab.0/3:Index of terms and abbreviations for PROFIBUS
In order to facilitate commissioning of the motor controller
type SFC−DC, Festo has made available a SIMATIC STEP 7
Project. The STEP 7 Project contains function and data blocks
for controlling motor controller type SFC−DC via PROFIBUS−DP
with a SIMATIC−S7 controller.
The blocks for the SFC−DC will support you in programming
the PROFIBUS communication
SIMATIC S7 and motor controller type SFC−DC.
The blocks are available with full access rights. This offers
the possibility of adapting the blocks individually to the
project. However no guarantee can be given that open blocks
will function.
between the Siemens PLC
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
1−3
1. Overview
1.2The blocks at a glance
With the blocks you can incorporate the functions of the
SFC−DC directly in your programs. Normally you would
require three blocks for the various functions.
The blocks have been purposely split into groups, so that you
can decide yourself which functions you require for your ap
plication. In this way, e.g. parametrizing functions
implemented in a separate project.
The example project contains the following special blocks:
SFC_DC_CTRL (example project: FB10)
PRM_FPC (example project: FB20)
PRM_DPV1_SFB (example project: FB21)
PRM_DPV1_SFC (example project: FB22)
can be
1−4
PRM_DB−FILE (example project: FB23)
A complete overview of the contents of the example project
can be found in chapter 2.3.
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
1. Overview
1.3Festo Profile for Handling and Positioning (FHPP)
Festo has developed an optimized data profile especially
tailored to the target applications for handling and position
ing tasks, the Festo Handling and Positioning Profile
(FHPP)".
The FHPP enables uniform control and programming for the
various field bus systems and controllers from Festo.
In addition it defines the following for the user:
the operating modes
the I/O data structure
the parameter objects
the sequence control.
. . .
Record Select
1
>
2
3
...
n
Fig.1/1: The FHPP principle
Festo P.BE−SFC−DC−PB−S7−E N en 0604NH
Field bus communication
Direct modeParameter channel
ModePositionSpeed
Free acces to all
parameters
reading and writing
. . .
Detailed information on the FHPP can be found in
appendixA.1.
1−5
1. Overview
Control and status bytes
Control via the field bus is made via 8 bits of I/O data.
Functions and status messages required in operation can be
conntrolled directly mostly with single−bit operations.
Record Select
Saved position sets can be processed in the Record Select
mode.
For this purpose, up to 31 position sets
are parametrized with
the Festo Configuration Tool or taught via the control panel
during commissioning.
Direct mode
In the Direct operating mode the important positioning data
are transferred directly via the control bytes.
1−6
Target positions and speeds can be ascertained and
specified by the controller during running time, depend
ing on the operating status.
limitations due to the number of saved position sets.
No
In both operating modes values can be taught/parametrized
via the PLC.
Parameter channel
By means of the parameter channel, the controller can access
all parameter values of the controller via the field bus.
A further 8 bytes of I/O data are used for this