TheCP field bus node typeCP−FB13−E described in this man
ualhas been designed exclusively for useasaslaveon the
PROFIBUS−DP. CP modulesfrom Festocan beconnected toCPfield bus nodeCP−FB13−E.
TheCP node may only be used asfollows:
asspecified in industrialapplications.
w
in faultless technicalcondition.
The maximum valuesspecified for pressures, temperatures,
electrical data, torques etc. must be observed.
If add
sors and actuators are connected, the specifiedlimits for pres
sures, temperatures, electrical dat
be exceeded.
ithout any modifications by the user Only the conver
sions or modifications described in the documentation
supplied with the product are p
ermitted.
itional commercially−available components such as sen
a, torques, etc. must not
Festo P. BE−CP−FB13−E−EN en 0802h
Pleasecomply with nationaland localsafety lawsand regula
tions.
V
Page 8
Contentsand generalinstructions
Target group
This manual is intended exclusively for technicians trained in
control and automation technology, who have experience in
installing, commissioning, programming and diagnosing
PROFIBUS−DPslaves.
Service
Pleaseconsult your local Festo repair serviceif you haveany
technical problems.
Notes on the use of this manual
This manualcontainsspecificinformation on installing, com
missioning, programming and diagnosingCP field bus node
FB13for PROFIBUS−DP in accordance with
EN 50170.
Information on further CP modulescan befound in the
manualfor the relevant module. An overview is provided in
Tab.0/1.
Informat
manual, P. BE−CPV−... ."
Further information on the PROF IB US−DP can befound in:
the setting up guidelines
the manuals of the master manufacturer.
VI
ion on pneumaticscan befound in the Pneumatics
for the PROFIBUS−DP
Festo P. BE−CP−FB13−E−EN en 0802h
Page 9
Contentsand generalinstructions
Important user instructions
Danger categories
This manualcontainsinstructionson the possible dangers
which may occur if the product is not used correctly. These
instructions are marked
shaded background and marked additionally with a picto
gram. A distinction is made between thefollowing danger
warnings:
Warning
This means that failure toobserve thisinstruction may
result in serious personalinjury or damage to property.
Caution
This means that failure toobserve thisinstruction may
result in personalinjury or damage to property.
(Warning, Caution, etc.), printed on a
Festo P. BE−CP−FB13−E−EN en 0802h
Please note
This means that failure toobserve thisinstruction may
result in damage to property.
Thefollowing pictogram marks passagesin the te
describeactivities withelectrostatically sensitivecompo
nents.
Electrostatically sensitivecomponents may be damaged if
they are n
ot handled correctly.
xt which
VII
Page 10
Contentsand generalinstructions
Marking specialinformation
Thefollowing pictograms mark passagesin the text contain
ing specialinformation.
Pictograms
Information:
Recommendations, tips and references to other sources
information.
Accessories:
Information on necessary or sensible accessories for the
Festo product.
Environment:
Information on environment−friendly useof Fest
of
o products.
VIII
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
numericalorder
specified.
Hyphensindicate generalactivities.
Festo P. BE−CP−FB13−E−EN en 0802h
Page 11
Contentsand generalinstructions
Manuals on the CP systemPeri−
pherals
ManualCP system, installation and commissioning"
ContentsGeneral basic information on the method of operation, fitting, installation
ManualCP field bus node,
ContentsSpecial information
type P.BE−CPSYS−...
and commissioning of CP systems
programming and
diagnosis"
type P.BE−CP−FB...
or P. BE−VIFB...−10...
on commissioning,
programming and
diagnosing related
tothe node used
CPV valve terminal,
pneumatics" or
CPAvalve terminal,
pneumatics"
type P.BE−CPV−...
or P. BE−CPA−...
Information on fitting,
installing and
commissioning CPA or
CPV valve terminals
CP modules,
electronics"
type P.BE−CPEA−...
Information on fitting,
installing and
commissioning
CPI/Omodules
Tab.0/1:Manuals on the CP system
Festo P. BE−CP−FB13−E−EN en 0802h
IX
Page 12
Contents and general instructions
Thefollowing product−specific termsand abbreviationsare
used in this manual:
Term/abbreviation
Busy bitEnable bit, for analysing data exchange with the CP system
CP cableSpecial cable for coupling the various CP modules
CP connectionPlug or socket on the CP modules which enables the modules to be
CP modulesCommon term for various modules which can be incorporated in a
CP systemComplete system consisting of CP field bus node and P modules
IDigital input
I/O modulesCommon term for the CP modules which provide digital inputs and
I/OsDigital inputs and outputs
NodeCP field bus node with/without field bus connection to which the
ODigital output
OctetNumber of address bytes assigned by the CP system
PLC/IPCProgrammablelogiccontroller/industrial PC
SAVE buttonSave thecurrent string assignment (connected I/Os); when theCP
Meaning
connected with the CP cable
CPsystem
outputs (CP input modules and CP output modules)
I/Omodules are connected
system is restarted, the last saved string assignment will be compared
with thecurrent string assignment. Deviations will be indicated by flash
ing LEDs.
StringTotal number of I/O modules connected together on one CP connection
String assignmentTotal number of all I/O modules connected via strings to a CP field bus
Before carrying out installation and maintenance work,
switch off the following:
the compressed air supply,
the operating voltage on the field bus nod
(pins1and 2),
the load voltage supply to the valves.
You can thereby avoid:
uncontrolled movements of loose tubing.
e
unexpected movements of
theconnected actuators.
non−defined switching states of the electronic compo
nents.
Caution
The nodeof theCP system containselectrostatically sensi
tivecomponents.
· Do not therefore touch any contacts.
· Observe the regulations for handling electrostatically
sensitivecomponents.
You will then prevent theelectronicsin the nodefrom being
damage
d.
Generalinformation on installing theCP modulescan be
found in the manual Installing and commissioning
CPsystems."
Festo P. BE−CP−FB13−E−EN en 0802h
1−3
Page 16
1. Installation
1
Field businterface
2 LED BUS ERROR
3 LEDs POWER and
POWER V
4 CP connections
for 4 strings (0...3)
5 String fault LEDs
6 Identification
fields
7 Rotary and DIL
switches
8 Cover of the
rotary/DIL
switches
9 SAVE button
Electricalconnecting and display elements
1
PROFIBUS−DP
BUSERROR
aJ
24VDC
9
8
POWER
POWERV
SAVE
0
7
8
6
9
0
5
134
2
7
1
8
6
9
5
0
134
2
2
3
ERROR
2
3
aJ Connection for
7
power supply
Fig.1/1: Connecting and display elementsof theCP field bus node
1−4
Festo P. BE−CP−FB13−E−EN en 0802h
456
Page 17
1. Installation
1.2Configuring the field bus node
Rotary and DIL switches can be found under the cover on the
field bus node (see Fig.1/1).
Open and close the cover as follows:
· Opening: Remove the 2 screws in the cover. Lift up the
cover.
· Closing: Place the cover in position and tighten the screws
by hand.
Caution
Tighten the screws of the switch cover only by hand.
1.2.1Setting the field bus node
Festo P. BE−CP−FB13−E−EN en 0802h
With the rotary and DIL switches you can set thefollowing
functions:
the station number
the voltage monitoring
the field bus protocol PROFIB U
S−DP:
Switchelements3...6are reserved and must beset to the
positionsspecified below.
1−5
Page 18
1. Installation
1 Rotary switchfor
theUNITS figure
2 Rotary switchfor
the TENS figure
3 DIL switchfor the
HUNDR EDS figure
Setting the station number
You can set the station number with the rotary switches and
element 1 of the DIL−switch.
7
1
2
3
8
6
9
0
5
4
3
7
6
5
4
3
UNITS
1
2
8
9
0
TENS
1
2
HUNDR EDS
7
8
6
5
4
2
3
7
8
6
5
4
2
3
9
0
1
9
0
1
Examplesofset station numbers:
Fig.1/2:Setting the station number and examples
Proceed asfollows:
1.Switch off the operating voltage.
2.Assign an unused PROFIB US address to the field
node.
3. Use a screwdriver to set the arrow of the relevant rotary
switch or element 1 of the DIL switch to the units, tens o
hundreds figure of the desired station number.
1−6
005121
bus
r
Festo P. BE−CP−FB13−E−EN en 0802h
Page 19
1. Installation
Thefollowing station numbersare permitted:
Protocol
Address designationPermitted station
numbers
PROFIBUS−DPStation number1; ...; 125
Tab.1/1:Permitted station numbers
Please note
Thestation number (DP slaveaddress) of the valve ter
minalcannot be modified by theDP master. The valve ter
minalcan only b
eaddressed by thestation number set on
the rotary/DIL switches.
Station numbers may only be assigned once per field bus
module/PROFIBUS−DPinter
face.
Observe any possible limitations as regards the assign
ment of station addresses by your DP master.
Recommendation:
Assign the station numbers in
ascending order. If necessary,
assign the station numbers to suit the machine structure of
your system.
Festo P. BE−CP−FB13−E−EN en 0802h
1−7
Page 20
1. Installation
Setting the voltage monitoring
Withswitchelement 2of theDIL switch, you can specify
whether or not theload voltageof the valvesand theoutput
modulesis
to be monitored (seechapter 3 Diagnosisand
fault treatment").
DIL switch
Voltage monitoring
active
DIL 2: ONDIL 2: OFF
Voltage monitoring
inactive
Tab.1/2:Setting the voltage monitoring, DIL switch
element 2
Reserved DIL switch elements 3...6
Leaveswitchelements3...6set asfollows:
DIL switch
Setting reserved
1−8
DIL 3...5: ON
DIL 6: OFF
Tab.1/3:Reserved DIL switch elements 3...6
Festo P. BE−CP−FB13−E−EN en 0802h
Page 21
1. Installation
1.3Connecting the field bus
1.3.1Field bus cable
Please note
Withincorrect installation and high baud rates, data trans
mission faults may occur asa result ofsignal reflections
and attenuation
Causes of the transmission faults may be:
missing or incorrect terminating resistor
incorrect screening/shield connection
branches
transmission over
unsuitable cables.Observe thecablespecifications. Refer to the manualfor
your controller for information on the typeofcable to be
used.
s.
long distances
Festo P. BE−CP−FB13−E−EN en 0802h
Please note
If the CP system is fitted onto the moving part of a ma
chine, the field bus cable on the moving part must be pro
vided wi
tionsin I EC/DIN EN 60204−1.
thstrain relief. Pleaseobserve the relevant regula
1−9
Page 22
1. Installation
Use a twisted, screened 2−wire cable for the field bus.
Cable specification as per EN 50170 (cable type A):
Surge impedance:135...165 ohms (3...20 MHz)
Capacitance
per unit length:< 30 nF/km
Loop resistance:< 110ohms/km
Core diameter:> 0.64 mm
Core cross−sectional area:> 0.34 mm
2
Bus lengthExact specifications on the bus length can be found in the
next section and in the manuals for your control system.
1−10
Festo P. BE−CP−FB13−E−EN en 0802h
Page 23
1. Installation
1.3.2Field bus baud rate and field bus length
Please note
The maximum permitted field bus length and branch line
length depend on the baud rate used.
· Please observe the maximum permitted length of the
field bus cable if you connect the CP system via a branch
line.
· Takeintoaccount also thesum of the branchlinelengths
when calculating the maximum permitted lengthof thefield buscable.
Field bus node FB13sets
itselfautomatically tooneof the
following baud rates:
Baud rate
(inkBaud)
9.61200 m500 m
19.21200 m500 m
93.751200 m100 m
187.51000 m33.3 m
500400 m20 m
1500200 m6.6 m
3000...12000100 m
Field bus length
(max.)
Max. permitted
branch line length
Tab.1/4:Max. field buslengthand branchlinelengthfor
PROFIBUS−DP depending on the baud rate
Festo P. BE−CP−FB13−E−EN en 0802h
1−11
Page 24
1. Installation
1.3.3Field bus interface
Thereisa 9−pin sub−Dsocket on the nodefor connecting the
valve terminal to thefield bus.
Thisconnection is used for theincoming cable
thecontinuing field buscable. You can connect the valve
terminal with thefield bus plug from Festo
typeFBS−SUB−9−GS−DP−B.
as wellasfor
Please note
Only the Festo field bus plug complies with IP65. Before
connecting field bus plugs from other manufacturers:
· replace the two flat screws by bolts (part no. 340960).
Pin
1
2
3
4
5
6
7
8
9
Housing
Field bus plug
IP65 from Festo
B
A
Clamp strap
PROFIBUS−DPDesignation
1)
n.c.
n.c.
RxD/TxD−P
2)
CNTR−P
DGND
VP
n.c.
RxD/TxD−N
n.c.
Screening/shield
(view ofsocket on field bus node)
1)
Typ e FBS−SUB−9−GS−DP−B (part no. 532216)
2)
Repeater control signal CNTR−P is in the form of a TTL signal.
Tab.1/5:Pin assignment of the field bus interface
1−12
Not connected
Not connected
Receive/send data P
Repeater control signal
Data reference potential (M5V)
Power supply positive (P5V)
Not connected
Receive/send data N
Not connected
Connection to functional earth
Festo P. BE−CP−FB13−E−EN en 0802h
2)
Page 25
1. Installation
1.3.4Connection possibilities
Please note
Usea protectivecap or blanking plug toseal unused con
nections. You will then comply with protection classI P65.
Connection withfield bus plugsfrom Festo
· Observe the fitting instructions for the field bus plug.
You can connect the valve terminal to thefield buseasily with
thefield bus plug fro
partno.532216). You can disconnect the plug from the node
without interrupting the buscable (T−TAP function).
m Festo (type FBS−SUB−9−GS−DP−B,
1 Hinged cover with
display window
213
2 Blanking plug if
connection is not
used
3 Clamp strap for
screening/shield
connection
4 Field bus
incoming (IN)
5 Switch for bus
termination and
continuing fieldbus
6 Field bus
continuing (OUT)
7 Only connected
capacitively
Fig.1/3:Field bus plug from Festo type FBS−SUB−9−GS−DP−B
Festo P. BE−CP−FB13−E−EN en 0802h
Busout
ABAB
ON
567
Bus in
4
1−13
Page 26
1. Installation
Please note
Theclamp strap in thefield bus plug from Festoiscon
nected internally only capacitively with the metallichous
ing of the sub−D p
lug. This is to prevent equalizing currents
flowing through the screening of the field bus cable.
DIL switchWith the switch in the field bus p
following:
Switch position OFF: The bus termination isswitched off
and the continuing field bus cable is switched in.
Switch
position ON: The bus termination isswitched on
and thecontinuing field buscableisswitched off
(seeFig.1/4).
Please note
Note the type designation of your field bus plug. The new
plug type FBS−SUB−9−GS−DP−Bswitches thecontinuing
field bus cable off when the bus termi
on.
lug you can switch the
nation is switched
1−14
Festo P. BE−CP−FB13−E−EN en 0802h
Page 27
1. Installation
Connection with M12 adapter (reverse key coded)
Withadapter (type: FBA−2−M12−5POL−RK, part no. 533118),
you can connect the valve terminal to thefield bus viaan M12
plug connector. Theanicalcoding (reverse key or B−coded), toavoid confusion
between incoming and continuing connections.
You can disconnect the M12adapter from the node without
interrupting the buscable (T−TAP function).
plug connectorshavean inverted mech
Connection to thefield busis made wi
tha5−pin M12 plug
with PG9 screw connector. Use thesecond connection socket
for thecontinuation of thefield bus.
Protectivecap or plug with bus
termination resistor ifconnection
is not used.
Tab.1/6:Pin assignment of the field bus interface with adapter for M12 connection,
5−pin
Festo P. BE−CP−FB13−E−EN en 0802h
1−15
Page 28
1. Installation
Connection with optical−fibre waveguide
The PRO FIBUS−DP interface of the node complies with specifi
cation EN 50170−2 and supports the control of network com
ponents for optical fibre wavegui
Use optical−fibre waveguides when transmission is affected
by heavy interference, as wellasfor extending the trans
mission range when high baud
Siemens Optical Link Module (OLM) for PRO FIBUS plus
des.
ratesare used.
Siemens Optical Li
Harting Han−InduNet
nk Plug (OLP) for PROFIB US (I P20)
®
Mediaconverter IP65in combina
tion withadapter cablefor Festo products (optical data
transmission in DESINA installation concept)
1−16
Festo P. BE−CP−FB13−E−EN en 0802h
Page 29
1. Installation
1.4Bus termination with terminating resistors
Please note
If the CP system is at the beginning or end of the field bus
system, a bus termination will be required.
· Fit a bus termination to both ends of a bus segment.
Recommendation:
Use the ready−to−use field bus plugs from Festo for the bus
termination.
housing of this plug (see Fig.1/4).
A suitable resistor network isincorporated in the
Pin 6: Power supply
390
Festo P. BE−CP−FB13−E−EN en 0802h
Receive/send data P
(datacableB)
120 nH
Pin 3
220
Receive/send data N
(datacable A)
Pin 8
120 nH
390
Pin 5: Data reference potential
Fig.1/4: Circuit diagram for busconnection network for
cable type A as per EN 50170 (switchin Festofield
bus plug set toON)
1−17
Page 30
1. Installation
1.5Connecting the CP modules
Warning
· For connecting the CP modules to a string, use the
special CP cable from Festo (type KVI−CP−1−...).
· Please note that the totallengthofcableon astring
must not exceed 10 m.
You can thereby avoid:
faultsin dataexchange between the
nodeand thecon
nected CP modules.
Information on theconnection procedurecan befound in the
manual Installing and commissioning CP system
s."
1−18
Festo P. BE−CP−FB13−E−EN en 0802h
Page 31
1. Installation
1.6Connecting the power supply
Please note
Use a suitable power unit to supply the CP field bus node
separately with operating voltage.
Information on the procedure as
well as on connecting cables
and current requirements can be found in the manual Instal
ling and commissioning CP systems."
Warning
· Use only PELV circuits as per IEC/DIN EN 60204−1 (Pro
tective Extra−Low Voltage, PELV) for theelectricalsupply.
Consider also the general requirements for PELV circuits
in accordance with IEC/DIN EN 60204−1.
· Use power supplies which guarantee reliable electrical
isolation of the operating voltage as per IEC/DIN EN
60204−1.
By the use of PELV circuits, protection
against electricshock
(protection against direct and indirect contact) is guaranteed
in accordance withIEC/EN 60204−1 (Electricalequipment for
machines,
General requirements).
Please note
Check within the framework of your EMERGENCY STOP
circuit, to ascertain the measures necessary for putting
your machine/system intoasafestate
in theevent ofan
EMERGENCY STOP (e.g. switching off the operating voltagefor the valvesand output modules, switching off thecom
pressed air).
Configure in standard mode 16 outputs and 16 inputs per as
signed string. DP identifier: 049 or 16DX for each assigned
string.
The following table shows
for the valve terminal in standard mode:
an overview of the possible entries
Last used
string number
0216DX
1416DX, 16DX
2616DX, 16DX, 16DX
3816DX, 16DX, 16DX, 16DX
Number of bytes
for input/outputs
Individual identifier
Tab.2/1:Standard mode: possibleconfiguration of the
inputs and outputs
The last used string is decisive for the number of DP ident
ifiers, even if numericall
y lower stringsare not assigned
physically (see manual Installing and commissioning
CPsystems").
Example:
CP system with 3 strings, a total of
3 input modules and
3output modules, highest assigned string number = 2.
DP identifier Comment
016DXInput module and output module of string 0
2−8
116DXInput module and output module of string 1
216DXInput module and output module of string 2
Tab.2/2:Example of configuration in standard mode
Festo P. BE−CP−FB13−E−EN en 0802h
Page 41
2. Commissioning
Compact mode
In compact mode configure the sum of the input bytes and
the sum of theoutput bytes separately and independently
of each other (see Tab.2/3). Thefollowing applieshere:
Please note
Observe the sequence inputs before outputs" in
compactmode, if both inputs and outputs areinstalled
in a CPsystem.
CP valve terminals occupy
twooutput bytesirrespectiveof
the number of valvecoils.
Assign the DP identifiers in ascending order without gaps.
Non−existent CP valve terminals occupy input or output
bytesifahigher string isassi
gned withinputsor outputs.
Maximum configuration in compact mode:
023
039d8 input bytes and 8 output bytes
d
Festo P. BE−CP−FB13−E−EN en 0802h
2−9
Page 42
2. Commissioning
The following table shows an overview of the possible entries
for the valve terminal in compact mode.
With input modules
Last used string
number
Number ofinput bytes
Sum identifier (decimal)
02017
14019
26021
38023
d
d
d
d
16DI
32DI
With output modules or valve terminals
Last used string
number
02033
14035
26037
38039
Number of
output bytes
Sum identifier (decimal)
d
d
d
d
16DO
32DO
Tab.2/3:Compact mode: possibleconfiguration of the
inputs and outputs
2−10
Festo P. BE−CP−FB13−E−EN en 0802h
Page 43
2. Commissioning
Example 1:
CP system with 3 strings, a total of 3 input modules and
3output modules, highest assigned string number = 2.
DP identifierComment
0021
1037
d
d
6 bytes inputs
6 bytes outputs
Example 2:
CP system with 3 strings, only 3 output modules, highest
assigned string number = 2.
DP identifierComment
0037
d
6 bytesoutputs
Festo P. BE−CP−FB13−E−EN en 0802h
2−11
Page 44
2. Commissioning
2.2Device master file (GSD) and icon files
In order toconfigure the valve terminal witha PC/pro
grammer, you will require theappropriate GSDfile. In addi
tion toslave−typical
the device master file (GSD) alsocontainsaselection ofident
ifiers.
entries (Ident. number, Revision, etc.),
Reference sourcesCurrent GSD files can be found on the
under:
www.festo.com/fieldbus
You can obtain the GSDfilesand further configuration aids
with theCDROM Utilities" from Festo:
type P.CD−VI−UTILITIES−2, part no. 533500
The most up−to−date GSDfilesarealwaysavailable via theInternet.
GSDfilesYou will require one of the
following filesfor theCP field bus
node13:
VI10F13C.GSD (German version) or
VI10F13C.GSE (International version)
Icon files In order to represent the CP sy
stem in your configuration
software, you will find icon files under the above−mentioned
Internet address:
Various configuration programs are available for use in
conjunction with a Siemens master. Please observe the
relevant procedurefor your co
Thefollowing sections describeasan example the main con
figuration steps with the STEP7software. It isassumed that
reader isalready familiar with theinformation in the man
the
ualfor the STEP7software.
Information on operation with general DP mas
found in appendix A.2.
Before commissioning or programming, compile a configur
ation list of all connected field bus slaves. On the basis of this
list you can:
nfiguration program.
terscan be
Festo P. BE−CP−FB13−E−EN en 0802h
carry out acomparison between the NOMINAL and the
ACTUAL configurations toascertain if thereareany con
nection faults.
access t
hesespecifications during thesyntax check ofa
program, in order toavoid addressing faults.
Theconfiguration of theCP system requiresa very
accurate
procedure, as different configuration specificationsaresome
times required for eachsystem, due to the modular structure.
Pleaseobserveher
e thespecificationsin thefollowing sec
tions.
2−13
Page 46
2. Commissioning
2.3.1STEP 7 HW Config (up to V 5.2)
Preparations
GSD1. Copy the GSDof the valve terminalinto the directory
...\STEP7\S7DATA\GSDon your PC/programmer.
File: VI10F13C.GS*
(Referencesourcesfor the GSDseesectio
The GSDscan beeither:
copied manually into theabove mentioned directory
(e.g. with Windows Explorer) or
n 2.2)
loaded via the menu
Please note
Update thehardwarecatalogueif you copy the GSD during
work with STEP 7.
Menu HW Config: [Options] [Updatecatalogue]
Please note
Asfrom STEP 7 V4.02, GSDsarestored within the STEP7
project (station GSD). Thiscan cause the updating/reading
of new GSDfiles toappea
yourselfabout handling thestation GSDfilesin the STEP7help.
[Options] [Install new GSD].
r asifincorrect. Pleaseinform
2−14
Festo P. BE−CP−FB13−E−EN en 0802h
Page 47
2. Commissioning
2.Process the dialogue window Properties PROFIB US"
Baud rate
Profile
Icons3. Copy the icon files (see section 2.2) for the CPX terminal
into directory ...\STEP7\S7DATA\NS
BMP on your PC or
programmer.
Theicon filescan either becopied
manually into the above named directory or
loaded via the menu [Option
s] [Install new GSD]
file type Bitmap files" in HW Config."
4. Insert aDP master system:
Right−hand mouseclick on DP" under CPU" i
rack.
Click on [Add master system] in thecontext menu.
Thelineof theDP master system will be displayed.
n the
Festo P. BE−CP−FB13−E−EN en 0802h
2−15
Page 48
2. Commissioning
Station selection with STEP 7
1. If the hardware catalogue is not open: click on the cata
logue icon (see Fig.2/3 1).
The hardware catalogue will be displayed.
2. Open the
following folder in the hardware catalogue:
\PROFIBUS−DP\AdditionalFieldDevices\Valves."
Thefolder VALVES is displayed when you copy the GSD
(seestep 1of the
preparations).
Pull thestation type FESTOCP FB13" onto thelineof theDP master system 2.
The dialogue window Properties PROFIBUS i
nterface"
will be displayed 3.
3.Select the PROFIBUS address identical to the selected
setting on the DIL/rotary switch in the node (see section
1) and confirm this with OK.
1.2.
The dialogue window Properties DP slave" appears4.
4. Process the dialogue window, if necessary, and closeit.
Theicon of the
valve terminal will be displayed on theline
of the DP master system.
2−16
Festo P. BE−CP−FB13−E−EN en 0802h
Page 49
2. Commissioning
12
34
Fig.2/3:Station selection with STEP 7 HW Config
(the windows displayed are not all visibleat thesame time, see text)
Festo P. BE−CP−FB13−E−EN en 0802h
2−17
Page 50
2. Commissioning
Configuration with STEP 7
You can configure theCP system in standard mode" or in
compact mode." Assign theconfiguration tableasfollows:
Modifying theaddress
1. Click on the icon
of the valve terminal to be configured in
Hardwareconfig. (see Fig.2/4 1). Theconfiguration
table will be displayed under the rack 2.
Open the module F ESTO CP FB13" (folder\PROFIBUS−
2.
DP\Additional Field Devices\Valves\...) in the hardware
catalogue 3.
3. Configuration in standard mode
Pull the modulecorresponding
to thehighest assigned
string number of your CP system onto location 0 in the
configuration table.
Assign the starting address in the window Pr
operties
DP slave" 4.
Configuration in compact mode
Pull the Universal module" onto location 0 in the con
figuration table (see Fig.2/5).
Select theI/O type,
thestarting addressand the number
of I or O−bytes in the window Properties DP slave."
Information on this can be found in Tab.2/3. Repeat
last steps for further modules.
· Double click the appropriate line in the configuration
tableand modify thestarting addressof theinputsor
outputsin the window Properties D
P slave."
the
2−18
Please note
With S7−400controllers, up to 4 bytesofaddressesare
reserved for eachDP identifier depending on the version
status.
Festo P. BE−CP−FB13−E−EN en 0802h
Page 51
2. Commissioning
123
4
Fig.2/4: Configuration in standard mode with STEP 7 HW Config
Fig.2/5: Configuration in compact mode with STEP 7 HW Config
Festo P. BE−CP−FB13−E−EN en 0802h
2−19
Page 52
2. Commissioning
2.3.2Examples of addressing
Example 1: Standard mode
String assignment
of the CPsystem
String 0:
16 outputs and
16 electrical inputs
String 1:
not assigned
String 2:
16 outputs and
16 electrical inputs
String 3:
not assigned
DP
I/O address (IN/OUT)
identifier
049
049(O22.0...23.7, (unused)
049
Address range can be
O20.0...21.7
I20.0...21.7
(I22.0...23.7, (unused)
O24.0...25.7
I24.0...25.7
used for other busslaves
Tab.2/5:Addressing theCP system shown in Fig.2/6
7Diag.Ext_Diag_OverflowAlways 0 (set by CP system)
Tab.3/6:Diagnostic bitsofstation status3
Festo P. BE−CP−FB13−E−EN en 0802h
3−13
Page 72
3. Diagnosis and error treatment
Further octets
Octets 4...7: Overview
OctetDesignationExplanation
4Diag.Master_AddMaster address:
5...6Ident_numberManufacturer identification:
7Ext_Diag_Data
(device−related diagnosis)
Theaddressof the master, which parametrized theCP system, isentered in thisoctet.
Theseoctetscontain the manufacturer identification:
F13Ch for the FestoCP system.
Header device−related diagnosis:
TheCP system enters thefixed value8in thisoctet,
i.e. 8 Octets Device−related diagnosis" incl. the
header octet, are made available/transferred, irre
spective of the equipment fitted on the CP system.
6 of the 8 octets are used.
Tab.3/7:Overview of octets 4...7
3−14
Festo P. BE−CP−FB13−E−EN en 0802h
Page 73
3. Diagnosis and error treatment
Structure of device−related diagnosis
Octet 8: Device−related diagnosis 1
BitMeaningExplanation
0Common fault in CP system1 =Fault in one or several CP strings (bits 4...7)
1Busy bit1 = During the starting phase: CP system not yet ready
With thefollowing faults, the behaviour of theCP system de
pendson theconfigured behaviour of the master module:
telegram failure
master
stopped
interruption in the buscable.
Depending on thesetting or configuration, all theoutputs
(valvesand electricoutputs) will beswitched offor
retain
their status.
Warning
· Make sure that valves and outputs are put into a safe
state when the faults named occur.
An incorrect status of the valves and outputs may
lead to
dangerous situations.
Please note
Please observe the following if the outputs are reset in the
event of a PLC stop, field bus interruption or field bus fault:
Single−solenoid valves m
ove to the basic position.
Double−solenoid valves remain in thecurrent position.
Mid−position valves move to the mid−position (depend
ing on valv
e type: pressurized, exhausted or blocked).
Festo P. BE−CP−FB13−E−EN en 0802h
3−17
Page 76
3. Diagnosis and error treatment
3.4.1Siemens SIMATIC S5/S7
With these controllers, you can determine the reaction of the
CP system to the faults named above.
Almost allconfiguration programs
Response monitoring." For theoperating modes named, the
timespecified corresponds to the drop−off timeof the valvesand electricoutputs.
Thereare two waysin which you can set thecontrolsystem to
react tofaults:
hard fault reaction: When afault
switches to theoperating mode STOP."
soft fault reaction: When afault occurs thecontroller
remainsin theoperating m
Control system
SIMATIC S5 with
IM308C
SIMATIC S7/M7OM82Reaction to a device−specific
ModuleMeaningSTOPRUN
OM23Reaction to QVZ with direct
periphery access
OM24Reaction to QVZ with periphery
access via process image
OM35Reaction to PEU
(periphery not clear)
diagnosis
OM86Reaction tofailureofaDP slaveDefaultOM is
contain thefunction
occurs thecontroller
ode RUN."
DefaultOM is
programmed
DefaultOM is
programmed
DefaultOM is
programmed
DefaultOM is
programmed
programmed
QVZ: Quitting delay; OM: Organisation module; PEU: Periphery not clear
Tab.3/11:Fault reactions STOP and RUN with S5/S7
Further detailscan befound in the relevant controller
manuals.
3−18
Festo P. BE−CP−FB13−E−EN en 0802h
Page 77
3. Diagnosisand error treatment
Possibilitiesfor reading out the diagnosisfor S5/S7
The diagnosisfor PROFIBUS−DP issupported in the various
control systems by means of function modules. These read
out the slave diagnosis and writ
user program.
A.1Technical specifications Field bus node CP FB13−E
General information
Temperature range
Operation
Storage/transport
Relative humidity95 %, non−condensing
− 5 ... + 50 °C
− 20 ... + 70 °C
Protection class as per EN 60529 plug connector
inserted or provided with protective cap
Protection against electric shock
(protection against direct and indirect contact as
per IEC/DIN EN 60204−1)
Electromagnetic compatibility
Interferenceemitted
Resistance tointerference
*)
TheCP system isintended for industrial usage.
IP65
by meansof PELV circuits
(ProtectiveExtra−Low Voltage)
Tested as per EN 61000−6−4 (industry)
Tested as per EN 61000−6−2 (industry)
Operating voltage for the electronics and the input modules
Pin 1
Power supply connection
Rated value
Tolerance
Current consumption
Pin 1 node FB13−E
Completeelectronicsof theCP system
Residual ripple4 Vpp (within tolerance)
Bridging time during drop in logic voltage20 ms
24 V DC
20.4 ... 26.4 V
250 mA
See manual CP system," current consumption
table
*)
Festo P. BE−CP−FB13−E−EN en 0802h
A−3
Page 86
A. Technicalappendix
Load voltage for solenoid valves of CP valve terminal
Pin 2
Power supply connection
Rated value
Tolerance
Current consumption
Pin 2 node FB13−ESum of all switched−on CP solenoid valves;
Residual ripple4 Vpp (within tolerance)
Bridging time during drop in logic voltage20 ms
24 V DC
20.4 ... 26.4 V
see manual CP pneumatics"
Field bus
ProtocolPROFIBUS−DP as per EN 50170
DesignRS 485, floating
Transmission typeSerialasynchronous, half−duplex
Baud rate9.6...12000kBaud,
Cable typeDepending on cable length and baud rate:
A−4
automatic baud rate recognition
see controller manual
Festo P. BE−CP−FB13−E−EN en 0802h
Page 87
A. Technicalappendix
A.2Commissioning with the general DP master
The Festo CP system can be controlled from any PLC, PC or
industrial PC with a PROFIB US−DP modulein accordance with
EN 50170.
Further informatio
A.2.1Busstart
nRead theinformation on thefollowing themesin the
appropriatesections:
Module consistency, FREEZE and SYNC, identifiers:
Section 2.1.2
GSD: S
In order tocommission theCP system correctly, theDP master
must carry out thefollowing functionsin thesequencespeci
fied:
1.Send param
2. Check the configuration data
3.Transfer input and output data (cyclic data exchange)
4. Read diagnosticinformation
Thecomposition and
described in thefollowing sections.
ection 2.2
etrizing data
contents of the individual tele grams are
Festo P. BE−CP−FB13−E−EN en 0802h
A−5
Page 88
A. Technicalappendix
A.2.2Send parametriziung data
Set_PrmThe parametrizing dataare transferred from theDP master
to the valve terminal with thefunction Set_Prm.
Octet 1: Station status
BitMeaningExplanation
0Reserved
1
2
3WD_OnResponse monitoring of the CP system on/off:
4Freeze_Req0 = FREEZE mode not requested by the master
5Sync_Req0 = SYNC mode not requested by the master
6Unlock_ReqBit 7 Bit 6 Explanation
7Lock_Req00min T
0 = off
1 = on
1 = FREEZE mode set by the master
1 = SYNC mode set by the master
+ slave parameter may beoverwritten
SDR
01CP system released for other masters
10CP system blocked for other masters
11CP system released for other masters
Tab.A/1:Octet 1: Station status
A−6
Festo P. BE−CP−FB13−E−EN en 0802h
Page 89
A. Technicalappendix
Further octets
OctetDesignationExplanation
2and 3WD_Fact_1
4Minimum station delay
5 and 6Ident_numberTransmission of the manufacturer identifier of the
7Group_IdentNot supported by the CP system
8...32User_Prm_DataNot supported by the CP system
WD_Fact_2
responder (min T
SDR
)
Range 1...255: The response monitoring time of the
CP system is transferred with these two octets:
TWD [s] = 10 ms x WD_Fact_1 x WD_Fact_2
The minimum time theCP system must wait, before
the reply telegram may besent to theDP master.
CPV Direct (= F13Ch); parametrizing telegrams to
theCP system areonly accepted if the transmitted
and the programmed manufacturer identifiersare
thesame.
Tab.A/2:Octets2...32
A.2.3Check theconfiguration data
Chk_CfgThe configuration dataare transferred from theDP master
to theCP system with thefunction Chk_Cfg.
Please note
The configuration of the CP system must be carried out as
follows:
per string: a DP identifier for inputs and outputs
via sum identifier: sum of
output bytes.
theinput bytesand sum of the
Festo P. BE−CP−FB13−E−EN en 0802h
Thecomposition of theidentifier bytescan befound in
section 2.1.2.
A−7
Page 90
A. Technicalappendix
Summary of parameters (Chk_Cfg):
Octet 1−n: DP identifier
Permitted identifiersfor CP systemsfrom Festoin
compact mode (see also Tab.2/
3):
Number of
Decimal inputsDecimal outputs
I/Os
up to16017033
up to32019035
up to 48021037
up to64023039
Tab.A/3:Overview ofDP identifiersfor theCP system
Example:
Configuration:Function: Chk_Cfg
String
OctetDP identifier
decimalhex
01049031
12049031
Tab.A/4:Configuring a CP system with 32 inputs/outputs
in standard mode
A−8
Festo P. BE−CP−FB13−E−EN en 0802h
Page 91
A. Technicalappendix
A.2.4Transferring input and output data
Data_ExchangeThecyclicexchangeof dataisaccomplished with thefunc
tion Data_Exchange.
With thisfunction theoutput datafor CP systemsis tr
ans
mitted asan octet string oflength x. Theoctet string length
dependson the number ofidentifier bytes.
Please note
With thefunction Data_Exchange, theCP system expects
the output datafor the valvesand electricoutputs.
Theinput dataissent to the master asa
reply telegram.
Festo P. BE−CP−FB13−E−EN en 0802h
A−9
Page 92
A. Technicalappendix
Overview of parameters (Data_Exchange):
Octet 1:I/O data byte_0
Bit 0: Input/output x
Bit 1: Input/output x+1
. . .
Bit 7: Input/output x+7
Octet 2:I/O data byte_1
Bit 0: Input/output x+8
Bit 1: Input/output x+9
. . .
Bit 7: Input/output x+15
Octet 3:
I/O data byte_2
Bit 0: Input/output y
Bit 1: Input/output y+1
. . .
Bit 7: Input/output y+7
. . .
Octet 5:I/O data byte_4
Bit 0: Input/output z
Bit 1: Input/output z+1
. . .
Bit 7: Input/output z+7
. . .
*)
*)
*)
A−10
Octet 8:I/O data byte_7
Bit 0: Input/output t+8
Bit 1: Input/output t+9
. . .
Bit 7: Input/output t+15
*)
x, y, z, t = Addressoffset of the master module
Festo P. BE−CP−FB13−E−EN en 0802h
Page 93
A. Technicalappendix
A.2.5Read diagnosticinformation
Slave_DiagThe diagnostic data are requested by the CP system via the
function Slave_Diag (see section 3.3, Diagnosis via PROFI
BUS−DP).
Set_PrmWi
th thefunction Set_Prm you have the possibility of deter
mining the watchdog time (WD_Fact_1, Octet 2, WD_Fact_2,
Octet 3). In thee
vent ofafault, theCP system willswitchoffall the valvesand electricoutputsafter the parametrized
time (e.g. if thereisa busfailure).
A.2.6Implemented functionsand service access points (SAP)
FunctionAvailableDestination SAP
Data_ExchangeYesNIL
RD_InpYes56
RD_OutpYes57
Slave_DiagYes60
Set_PrmYes61
Chk_CfgYes62
Get_CfgYes59
Global_ControlYes58
Set_Slave_AddNo55
(DSAP)
Festo P. BE−CP−FB13−E−EN en 0802h
Tab.A/5:Overview ofimplemented functionsand service
access points
A−11
Page 94
A. Technicalappendix
11
A.2.7Bus parameters/reaction times
Baud rate
max T
(kBaud)
... 187.560
500100
1500150
3000250
6000450
12000800
Tab.A/6:Bus parametersand reaction times
A.2.8Transmission timeson the PROFIBUS−DP
The time delay within theCP system dependson theamount
of data and therefore on the extension to the CP system. It
amounts
Please refer to the manualfor your controller for ascertaining
the total time required for transmission.
to: < 2 ms.
Please note
Observehere thecycle timeof your PLCand the update
timeof the PROFIBUS−DP.