compact performance cp fieldbus node 13 programming and
TRANSCRIPT
Compact PerformanceCP fieldbus node 13
Programming and diagnosis
fieldbus protocol: PROFIBUS-DP as per EN 50170 (DIN 19245)
Author: H.-J. DrungEditors: H.-J. Drung, M. HolderTranslation: D. Smith Layout: Festo, Dept. KI-TDType setting: DUCOM
Edition: 9904b
(Festo AG & Co., 73726 Esslingen,Federal Republic of Germany, 1998)
The copying, distribution and utilization of this docu-ment as well as the communication of its contents toothers without expressed authorization is prohibited. Of-fenders will be held liable for the payment of damages.All rights reserved, in particular the right to carry outpatent, utility model or ornamental design registration.P
rinte
d on
100
% r
ecyc
led
pape
rContents and general safety instructions
CP FB13-E 9904b I
Order no.: 165 213Title: ManualDesignation: P.BE CP-FB13-E-GB
Contents and general safety instructions
II CP FB13-E 9904b
Contents
Designated use. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VTarget group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VInformation on this manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIImportant user instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII
1. Installation
1.1 General instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31.2 Setting the DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41.2.2 Setting the fieldbus address. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-71.3 Fieldbus baud rate and fieldbus length . . . . . . . . . . . . . . . . . . . 1-101.3.1 Branch line length. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-111.4 Connecting CP modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-121.5 Connecting the operating voltage . . . . . . . . . . . . . . . . . . . . . . . 1-131.6 Connecting the PROFIBUS DP interface . . . . . . . . . . . . . . . . . 1-141.6.1 Connecting the screening. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-151.6.2 Bus termination with terminating resistors . . . . . . . . . . . . . . . 1-161.6.3 Optical fibre waveguide connection . . . . . . . . . . . . . . . . . . . . . 1-18
2. Commissioning
2.1 Preparing the CP system for operation on the PROFIBUS-DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.1.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32.1.2 Saving the string assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32.1.3 Compiling the configuration list . . . . . . . . . . . . . . . . . . . . . . . . . 2-52.1.4 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62.2 Configuration with a Siemens master . . . . . . . . . . . . . . . . . . . . 2-132.2.1 COM PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-132.2.2 STEP 7 V4.x - Hardware configurator . . . . . . . . . . . . . . . . . . . 2-202.2.3 Commissioning the CP system on the PROFIBUS-DP. . . . . . 2-30
Contents and general safety instructions
CP FB13-E 9904b III
2.3 Operation with general DP master . . . . . . . . . . . . . . . . . . . . . 2-322.3.1 Starting the bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-322.3.2 Sending parametrizing data . . . . . . . . . . . . . . . . . . . . . . . . . . 2-332.3.3 Sending configuration data. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-352.3.4 Requesting diagnostic information . . . . . . . . . . . . . . . . . . . . . 2-362.3.5 Cyclic exchange of data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-362.3.6 Summary of implemented functions and
service access points (SAP) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-382.3.7 Bus parameters/reaction times. . . . . . . . . . . . . . . . . . . . . . . . . 2-392.3.8 Transmission times on the PROFIBUS-DP . . . . . . . . . . . . . . . 2-392.4 Type file and device master file (GSD) . . . . . . . . . . . . . . . . . . 2-40
3. Diagnosis
3.1 LED displays on the bus node . . . . . . . . . . . . . . . . . . . . . . . . . 3-33.1.1 Normal operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43.1.2 Diagnosis operating voltage POWER or POWER V . . . . . . . . . 3-53.1.3 Diagnosis LED BUS ERROR . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63.2 Testing the valves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-73.3 Diagnosis via PROFIBUS-DP. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-93.3.1 Diagnostic words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-93.3.2 Diagnostic information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-123.4 Error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-173.4.1 General DP master. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-183.4.2 Siemens SIMATIC S5/S7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-183.5 STEP 7 V4.x - Online diagnosis via diagnostic buffer . . . . . . . 3-213.6 Short circuit/overload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-243.6.1 Output module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-243.6.2 Sensor supply at an input module . . . . . . . . . . . . . . . . . . . . . . 3-25
A. Technical specifications
A.1 Technical specifications of fieldbus node CP FB13-E . . . . . . . . A-3A.2 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Contents and general safety instructions
IV CP FB13-E 9904b
Designated use
The CP fieldbus node CP-FB9-E documented in thismanual is designated exclusively for use as a slave onthe PROFIBUS-DP. Festo CP modules can be con-nected to the fieldbus node CP-FB9-E. The CP nodemay only be used as follows:
– as designated
– in original condition
– without unauthorized modifications
– in faultless technical condition.
The specified limit values for pressures, temperatures,electrical data, moments, etc. must be observed whenadditional commercially-available components such assensors and actuators are connected. Please complyalso with national and local safety laws and regulations.
Target group
This manual is directed exclusively at technicians whoare trained in control and automation technology andwho have experience in installing, commissioning, pro-gramming and diagnosing PROFIBUS-DP slaves.
Contents and general safety instructions
CP FB13-E 9904b V
Information on this manual
This manual contains specific information on the instal-lation, commissioning, programming and diagnosis ofthe CP fieldbus node 13 for PROFIBUS-DP as per EN50170 (DIN 19245).
Enclosed with this manual is a CD ROM with devicemaster files. Information on the contents can be foundin the file "readme".
Information on further CP modules can be found in therelevant manual. This is summarized in a table furtherin this chapter.
Contents and general safety instructions
VI CP FB13-E 9904b
Important user instructions
This manual contains instructions on the dangers whichmay occur if the CP system is not used correctly. Theseinstructions are always printed in italics, are framed andalso signalled by pictograms.
Dangercategories
A distinction is made between the following:
WARNINGThis means that personal injury or damage toproperty may occur if these instructions are not observed.
CAUTIONThis means that damage to property may occur if these instructions are not observed.
PLEASE NOTEThis means that this instruction must also be observed.
Contents and general safety instructions
CP FB13-E 9904b VII
Pictograms and symbols complement the danger warn-ings and draw attention to the nature and conse-quences of dangers.
Pictograms
The following pictograms are used:
Uncontrolled movements of loose tubing.
Unintentional movements of the connected actuators.
High electric voltage or undefined voltage states of theelectronic components which can affect connected cir-cutis.
Electrostatically vulnerable components.These will be damaged if you touch the contact surfaces.
•• This mark indicates activities which can be carriedout in any order.
Text markings
1. Figures indicate activities which must be carried outin the numerical order of the figures.
– Hyphens indicate general items.
Contents and general safety instructions
VIII CP FB13-E 9904b
Manuals for the CP system Peripherals
Manual "CP system, Installation and commissioning"
Contents General, basic information on operating, fitting, installingand commissioning CP systems.
Manual "CP field bus node,programming anddiagnosis"
"CPA valve terminal,pneumatics" or "CPV valve terminal,pneumatics"
"CP modules,electronics"
Contents Special informationon commissioning,programming anddiagnosing related tothe node used.
Information on fitting,installing and com-missioning CPA orCPV valve terminals
Information onfitting,installing andcommissioningCP I/O modules
Fig. 0/1: Manuals on the CP system
AAAAAA
AAAAAAAAAA
AAAAAAAAAAAA
AAAA
AAAAAA
AAAAAAAA
AAAAAAAA
AAA
AAAAAAAAAAAA
AAAAAAAA
AAA
Contents and general safety instructions
CP FB13-E 9904b IX
The following product-specific terms and abbreviations are used in this manual:
Term/abbreviation
Meaning
Busy bit Release bit to analyze the data transfer with the CP system
CP cable Special cable for connecting the various CP modules
CP connection Socket or plug on the CP modules, with which the modules areconnected to the node by means of the CP cables
CP modules Common term for the various modules which can be incorporatedin a CP system
CP system Complete system consisting of CP fieldbus node and CP modules
I Digital input
I/O module Common term for the CP modules which provide digital inputs andoutputs (CP input and CP output modules)
I/Os Digital inputs and outputs
Node CP fieldbus node with/without fieldbus connection, to which the I/O modules are connected
Octet Number of address words reserved by the CP system
O Digital output
PLC/IPC Programmable logic controller/industrial PC
Save(SAVE buttons)
Save the current string assignment (connected I/Os);when the CP system is started the saved string assignment is comparedwith the current string assignment. If these differ the LEDs will blink.
String Total number of I/O modules that are connected to one commonCP connection on the fieldbus node
Stringassignment
Total of all I/O modules that are connected to a CP fieldbus node via strings (0..3)
Contents and general safety instructions
X CP FB13-E 9904b
Chapter 1
Installation
1. Installation
CP-FB13-E 9904b 1-1
Contents
1. Installation
1.1 General instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31.2 Setting the DIL switches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41.2.2 Setting the fieldbus address . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-61.3 Fieldbus baud rate and fieldbus length . . . . . . . . . . . . . . . . . . . 1-91.3.1 Branch line lenght. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-101.4 Connecting CP modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-111.5 Connecting the operating voltage. . . . . . . . . . . . . . . . . . . . . . . 1-121.6 Connecting the PROFIBUS DP interface . . . . . . . . . . . . . . . 1-131.6.1 Connecting the screening. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-141.6.2 Bus termination with terminating resistors . . . . . . . . . . . . . . . 1-151.6.3 Optical fibre waveguide connection . . . . . . . . . . . . . . . . . . . . . 1-17
1. Installation
1-2 CP FB13-E 9904b
1.1 General instructions
WARNINGBefore starting installation or maintenance work,switch off the following:• the compressed air supply• the operating voltage on the fieldbus node
(pins 1 and 2)• the load voltage for the valves
You thereby avoid:
– uncontrolled movements of loose tubing.
– unintentional movements of the connected actuators.
– undefined switching states of the electroniccomponents.
CAUTIONThe node of the CP system contains electrostaticallyvulnerable components.• Do not, therefore, touch any components.• Please observe the regulations for dealing
with electrostatically vulnerable components.
In this way you will avoid irreparable damage to theelectronic components on the node.
General information on the installation of the CP modules can be found in the manual "CP system".
1. Installation
CP-FB13-E 9904b 1-3
1.2 Setting the DIL switches
The DIL (dual in-line) switch is situated under the coverof the fieldbus node.
You should open and close the cover as follows:
• To open the cover, unscrew the two screws in thecover. Remove the cover by lifting it up.
• To close the cover, replace it and tighten the screwsagain by hand.
PLEASE NOTETighten the screws of the switch cover only by hand.
WARNING• Before commissioning:
Make sure that switch elements 3..6 are set at PROFIBUS-DP.
• During operation:Do not modify the setting of the DIL switches.
In this way you can avoid unintentional reactions of theconnected actuators.
1. Installation
1-4 CP FB13-E 9904b
12
DIL switchCover screws
Fig. 1/1: Position of the DIL switch
2
1
1. Installation
CP-FB13-E 9904b 1-5
Set the following functions on the DIL switch:Dual in-lineswitch
– the hundreds figure of the fieldbus address
– the fieldbus protocol PROFIBUS-DP. Switch elements 3..6 must be set at the positionspecified below, in order that the fieldbus protocolPROFIBUS-DP is set.
DIL switch(factorysetting)
Switchelement
Function description
1fieldbus addressON: fieldbus address > 100 OFF: fieldbus address < 100
2Diagnostic information VValves/VOutputs
ON: active OFF: not active
3Fieldbus protocol PROFIBUS-DPON: must be set at ON OFF: reserved
4Fieldbus protocolON: must be set at ONOFF: reserved
5Fieldbus protocolON: must be set at ON OFF: reserved
6Fieldbus protocolON: reservedOFF: must be set at OFF
1. Installation
1-6 CP FB13-E 9904b
1.2.2 Setting the fieldbus address
PLEASE NOTEThe fieldbus addresses of the CP system cannot be modified by the DP master. The CP system can onlybe addressed by the fieldbus addresses set on the address selector switches.
123
Address selector switch UNITS figureAddress selector switch TENS figureAddress selector switch HUNDREDS figure
Fig. 1/2: Setting the fieldbus address on the address selector switches
6
5
2
7 890
13
4
6
5
2
7 89
0
13
4
1
2
3
1. Installation
CP-FB13-E 9904b 1-7
Set the fieldbus address of the CP system with the tworound address selector switches and DIL switch el-ement no. 1. The switches are numbered from 0..9. Thearrow indicates the units or tens figure of the fieldbusaddress which is set.
Summary of possible fieldbus addresses
PLEASE NOTEFieldbus addresses may only be assigned once perPROFIBUS-DP interface.Observe also any restrictions concerning the assignment of fieldbus addresses by your DP master.
RecommendationAssign the fieldbus addresses in ascending order.Adapt the station numbers to suit the machine structureof your system.
Permitted fieldbus addresses 0; ... ; 125
1. Installation
1-8 CP FB13-E 9904b
Proceed as follows:
1. Switch off the operating voltage.
2. Assign an unused fieldbus address to the CP system.
3. Use a screwdriver to set the arrow of the relevantaddress switch or DIL switch 1 to the units, tens orhundreds figure of the desired fieldbus address.
Examples
Set fieldbus address Set fieldbus address 005 121
Fig. 1/3: Example of set fieldbus addresses
6
5
2
7 890
13
4
6
5
2
7 89
01
34
1. Installation
CP-FB13-E 9904b 1-9
1.3 Fieldbus baud rate and fieldbus length
PLEASE NOTEThe CP system sets itself automatically to one of thebaud rates below.
The maximum permitted fieldbus length depends on thebaud rate used. The baud rates which can be used areshown in the table below.
Baud rate (in kBaud) Fieldbus length (max.)
9.6 1200 m
19.2 1200 m
93.75 1200 m
187.5 1000 m
500 400 m
1500 200 m
3000 - 12000 100 m
1. Installation
1-10 CP FB13-E 9904b
1.3.1 Branch line length
PLEASE NOTE• Note the maximum permitted length of the fieldbus cable if you connect the bus node via a branch line. • When calculating the maximum permitted length of the fieldbus cable, also take into account the sum of the branch lines.
The maximum permitted length of the branch linedepends on the type of cable and baud rate used.
Recommendation:Use a cable with a capacitance per unit length< 30 nF/km as specified below.Otherwise the permitted cable length will be shorter.
Baud rate (in kBaud) Maximum permittedbrauch line (in m)
9.6 500
19.2 500
93.75 100
187.5 33.3
500 20
1500 6.6
3000 - 12000 –
1. Installation
CP-FB13-E 9904b 1-11
Cable specification as per EN 50170(cable type A):Surge impedance: 135-165 Ohm (3-20 MHz)Capacitance per unit length: < 30 nF/kmLoop resistance: < 110 Ohm/kmCore diameter: > 0.64 mmCore cross section: > 0.34 mm2
1.4 Connecting CP modules
WARNING• Use te CP cable KVI-CP-1-... to connect the input module to the node.• Please note that the maximum cable length on a string must not exceed 10 m.
You thereby avoid:
– errors in data exchange between the node and theconnected input modules.
Information on the procedure can be found in the ma-nual "CP system, installation and commissioning".
1. Installation
1-12 CP FB13-E 9904b
1.5 Connecting the operating voltage
Information on the procedure as well as the connectingcable and current consumption can be found in the ma-nual "CP system, installation and commissioning".
WARNINGUse only power units which guarantee reliable isolation of the operating voltages as per IEC 742/EN 60742/VDE 0551 with at least 4 kV isolation resistance (protected extra low voltage,PELV). Switch power packs are permitted if they guarantee reliable isolation as per EN 60950/VDE 0805.
Remark:By using PELV power units, protection against electricshock (protection against direct and indirect contact) inaccordance with EN 60204-1/IEC 204 is guaranteed onFesto valve terminals.Safety transformers with the adjacent designation mustbe used for supplying PELV networks. The valve termi-nals must be earthed in order to ensure their function(e.g. EMC).
PLEASE NOTECheck your EMERGENCY STOP circuitry, to seewhich measures are required in order to place yourmachine/system in a safe state in the event of anEMERGENCY STOP (e.g. switching off the powersupply to the valves and output modules, switchingoff the compressed air supply).
1. Installation
CP-FB13-E 9904b 1-13
1.6 Connecting the PROFIBUS DP interface
PLEASE NOTEOnly the Festo plug will fulfill requirement IP 65.
There is a sub-D connection on the node for connectingthe CP system to the PROFIBUS-DP. This connectionis used for the incoming cable, as well as for the con-tinuing fieldbus cable. The node can be connected withthe sub-D plug from Festo (part no. 18529).Outer diameter of cable for Festo Sub-D plug: 6..9 mm.
Pin assignment(view of socket)
Pin Signal Designation
123456789
Housing
n.c.n.c.RxD/TxD-PCNTR-P *DGNDVPn.c.RxD/TxD-Nn.c.Shield
Not connectedNot connectedReceive/send data-PRepeater control signalData reference potential (M5V)Positive power supply (P5V)Not connectedReceive/send data-NNot connectedDirect connection to housing
* Repeater control signal CNTR-P is produced as TTL signal.
PLEASE NOTEBefore connecting Sub-D plugs of other manu-facturers, replace both flat screws with bolts (part no. 340960)
1. Installation
1-14 CP FB13-E 9904b
1.6.1 Connecting the screening
• Clamp the screening of the fieldbus cable under theclip of the Festo plug (see diagram).
PLEASE NOTEThe cable clip in the Festo plug is only capacitivelyconnected internally with the metal housing of theSub-D plug. This is to prevent equalizing currents from flowingvia the screening of the fieldbus cable (see diagram).
12
Screening connection, cable clipOnly capacitively connected
Fig. 1/4: Connecting the screening
1
2
1. Installation
CP-FB13-E 9904b 1-15
1.6.2 Bus termination with terminating resistors
PLEASE NOTEA bus termination is required at both ends of the buscable.This also applies if the module or the communicationprocessor is at the beginning of the bus cable.
Recommendation:If the CP system is at the end of the fieldbus system, abus termination is required.Use the Sub-D plug from Festo (part no. 18529) for thispurpose. A suitable RC network has already been fittedinto the housing of the Festo-sub-D plug.The bus termination must be switched manually.
Bus termination switched on switched off
Fig. 1/5: Switch for bus termination in the Festo sub-Dplug
1. Installation
1-16 CP FB13-E 9904b
Pin 6 Power supplyPin 3 RxD/TxD-PPin 8 RxD/TxD-NPin 5 DGND
Fig. 1/6: Bus termination for cable A
390
220
390
Pin 6
Pin 3
Pin 8
Pin 5
1. Installation
CP-FB13-E 9904b 1-17
1.6.3 Optical fibre waveguide connection
The following types transmission media can be used forthe PROFIBUS:
– cable transmission (screened two-core cable)
– optical fibre waveguide (plastic and glass fibre)
We recommend the optical fibre waveguide technologyfor transmission in environments subject to strong inter-ference as well as for extending the transmission rangewhen high baud rates are used.
The optical fibre waveguide technology offers the fol-lowing advantages:
– higher EMC, ESD protection thanks to the opticaltransmission of signals
– protection against lightning
– potential isolation of the individual DP slaves (equali-zing currents cannot flow via the cable screening)
The PROFIBUS DP interface of the node has been de-signed in accordance with specification EN 50170 vol-ume 2 and thereby supports the control of networkcomponents for optical fibre waveguides.
Example of optical fibre waveguide network compo-nents:
– Siemens optical link module (OLM) for PROFIBUS plus
– Siemens optical link plug (OLP) for PROFIBUS
1. Installation
1-18 CP FB13-E 9904b
Chapter 2
Commissioning
2. Commissioning
CP FB13-E 9904b 2-1
Contents
2. Commissioning
2.1 Preparing the CP system for operation on the PROFIBUS-DP 2-32.1.1 Operating voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32.1.2 Saving the string assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32.1.3 Compiling the configuration list . . . . . . . . . . . . . . . . . . . . . . . . 2-52.1.4 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
FREEZE and SYNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6Module consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7Sequence of configuration entries . . . . . . . . . . . . . . . . . . . . . . . 2-8DP identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8Standard mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10Compact mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.2 Configuration with a Siemens master . . . . . . . . . . . . . . . . . . . 2-132.2.1 COM PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Preparations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13Station selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Configuration with COM PROFIBUS . . . . . . . . . . . . . . . . . . . . 2-16Alternative entry via "Identifier" mask. . . . . . . . . . . . . . . . . . . . 2-18Input and output addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19"PROFIBUS Configuration Help tool" software . . . . . . . . . . . . 2-19
2.2.2 STEP 7 V4.x - Hardware configurator . . . . . . . . . . . . . . . . . . . 2-20Prerequirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20Station selection and configuration . . . . . . . . . . . . . . . . . . . . . 2-22Addressing examples in standard mode . . . . . . . . . . . . . . . . . 2-26Addressing examples in compact mode . . . . . . . . . . . . . . . . . 2-28
2.2.3 Commissioning the CP system on the PROFIBUS-DP . . . . . . 2-302.3 Operation with general DP master . . . . . . . . . . . . . . . . . . . . . 2-322.3.1 Starting the bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-322.3.2 Sending parametrizing data . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-332.3.3 Sending configuration data. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-352.3.4 Requesting diagnostic information . . . . . . . . . . . . . . . . . . . . . 2-362.3.5 Cyclic exchange of data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-362.3.6 Summary of implemented functions and
service access points (SAP) . . . . . . . . . . . . . . . . . . . . . . . . . 2-382.3.7 Bus parameters/reaction times. . . . . . . . . . . . . . . . . . . . . . . . . 2-392.3.8 Transmission times on the PROFIBUS-DP . . . . . . . . . . . . . . . 2-392.4 Type file and device master file (GSD) . . . . . . . . . . . . . . . . . . 2-40
2. Commissioning
2-2 CP FB13-E 9904b
2.1 Preparing the CP system for operation on the PROFIBUS-DP
2.1.1 Operating voltage
PLEASE NOTEThe CP fieldbus node must be supplied with opera-ting voltage by a suitable power unit.
2.1.2 Saving the string assignment
PLEASE NOTEBefore commissioning the CP system, you must firstprepare the CP system for commissioning (see "CP system" manual).
2. Commissioning
CP FB13-E 9904b 2-3
Before commissioning the CP system on thePROFIBUS-DP, proceed as follows:
1. Connect the operating voltage for the node (see "CPsystem" manual).
2. Connect the CP modules.
3. Switch on the operating voltage.
4. Save the string assignment by pressing the SAVEbutton.
1 SAVE-Button: saves the configuration of the CP system as theACTUAL configuration
Fig. 2/1 SAVE button
1
2. Commissioning
2-4 CP FB13-E 9904b
2.1.3 Compiling the configuration list
Before commissioning or programming you must createa configuration list of all connected fieldbus slaves. Onthe basis of this list, you can do the following:
Configurationlist
•• Make a comparison between the NOMINAL configu-ration and the ACTUAL configuration saved in theCP fieldbus node, in order to detect any connectionerrors
•• Access these specifications during a syntax check ofa program, in order to avoid addressing errors.
Configuration of the CP system requires a very accur-ate procedure, as different configuration specificationsmay be rquired for each system due to the modularstructure. Please observe here also the specifications insubsequent sections.
2. Commissioning
CP FB13-E 9904b 2-5
2.1.4 General
FREEZE and SYNC
The I/O processing modes FREEZE and SYNC aresupported by the CP system as per EN 50170 (DIN19245). The method od accessing the FREEZE orSYNC command depends on your controller. Pleaserefer here to the documentation for your field bus mo-dule.
CAUTIONIn the following cases the FREEZE or SYNC modeis reset automatically:•• when the CP system is switched on/off•• when the field bus module is stopped.
The FREEZE is also reset automatically in the following case:•• when the bus connection to the CP system is
interrupted (response monitoring active).
2. Commissioning
2-6 CP FB13-E 9904b
FREEZE
With this function all the inputs of the CP system canbe "frozen". The CP system then sends a constantinput image of all the inputs to the master. The follow-ing FREEZE command causes the input image to beupdated. The updated input image is then sent con-stantly to the master.You can return to normal mode with the command UNFREEZE.
SYNC
With this function all the outputs of the CP system canbe "frozen". As a result the CP system no longer reactsto modifications to the output image in the master. Thefollowing SYNC command causes the output image ofthe master to be updated and transferred.You can return to normal mode with the command UNSYNC.
Module consistency
The CP system supports the following variants in mo-dule consistency:
Module consistency
– over the complete extent of the CP system
– over the selected format (word)
2. Commissioning
CP FB13-E 9904b 2-7
Sequence of configuration entries
CAUTIONThe number of inputs/ouputs must correspond to the equipment fitted on the CP system. Additional inputs/outputs must not be configured as laterreserves.
DP identifier
PLEASE NOTEThe DP identifier 049 or 16DX is used here for further examples.
The configuration data must be known or determinedfor each bus slave.There are two methods of configuring the CP system:
•• standard mode
•• compact mode
The CP system automatically recognizes the mode inwhich you wish to operate the CP system, due to theDP identifier sent by the master.
WARNINGConfigure a CP system only in one of these twomethods:•• standard mode (4 x 049)•• compact mode (sum identifiers)Mixing the identifiers is not permitted.
2. Commissioning
2-8 CP FB13-E 9904b
*) is not supported
Lenght of data00 = 1 byte/word...15 = 16 byte/word
Input/output00 = Spezific identifier formats *)01 = Input10 = Output11 = Input/Output *)
Lenght0 = byte1 = word
Consistency0 = byte or word1 = total lenght
Fig. 2/2: Structure of identifier byte
Example:00010000b = 016d (010h): 8DE = 8 digital inputs
7 6 5 4 3 2 1 0
Bit Bit
2. Commissioning
CP FB13-E 9904b 2-9
Standard mode
In the standard mode configure 16 outputs and 16 in-puts per assigned string.DP identifier: 049 or 16DX for each assigned string.
The table below shows the possible entries for thevalve terminal in standard mode.
Last usedstring number
No. of bytesper input
Individual identifier
0 2 16DX
1 4 16DX, 16DX
2 6 16DX, 16DX, 16DX
3 8 16DX, 16DX, 16DX, 16DX
Fig. 2/3: Standard mode – possible configuration of theinputs and outputs
The last used string is decisive for the number of I/Oaddresses, even if numerically lower strings are not oc-cupied physically (see manual "CP system, installationand commissioning").
Example:CP system with 3 strings, 3 input modules, 3 outputmodules, highest occupied string number = 2.
DP Identifier Comment
0 16DX I module und O module of string 0
1 16DX I module und O module of string 1
2 16DX I module und O module of string 2
Fig. 2/4: Configuration in standard mode
2. Commissioning
2-10 CP FB13-E 9904b
Compact mode
PLEASE NOTEObserve the sequence "inputs before outputs" incompact mode, if both inputs and outputs are in-stalled in a CP system.
In compact mode configure the sum of the input bytesand the sum of the output bytes separately and inde-pendently of each other (see fig. 2/9).The following applies:
•• CP valve terminals occupy two output bytes inde-pendently of the valves fitted.
•• Assign the DP identifiers in ascending order withoutgaps. No field may remain unused.Enter inputs before outputs.
•• If there are only output modules or CP valve termi-nals, enter their DP identifiers in line 0.
•• The highest string with the highest number of inputsor outputs defines the sum of input or output bytes.
•• Non-existent CP valve terminals, output modules orinput modules occupy input or output bytes if ahigher string is occupied with inputs or outputs.
Maximum configuration in compact mode 023 039 8 input bytes and 8 output bytes.
2. Commissioning
CP FB13-E 9904b 2-11
The following tables show the possible entries for thevalve terminal in compact mode.
With input modules
Last used string no.
No. of bytes per input
Sum identifier(decimal)
0 2 017 16DI
1 4 019 32DI
2 6 021 –
3 8 023 –
With output modules or valve terminals
Last usedstring no.
No. of bytesper output
Sum identifier(decimal)
0 2 033 16DO
1 4 035 32DO
2 6 037 –
3 8 039 –
Fig. 2/5: Compact mode – possible configurations of the inputs and outputs
Example 1CP system with 3 strings, 3 input modules and 3 outputmodules; highest occupied string number = 2.
DP identifier Comment
0 021 6 bytes per input
1 037 6 bytes per output
Example 2CP system with 3 strings, only 3 output modules, hig-hest occupied string number = 2.
DP identifier Comment
0 037 6 bytes per output
2. Commissioning
2-12 CP FB13-E 9904b
2.2 Configuration with a Siemens master
PLEASE NOTEVarious configuration programs are available in con-junction with a Siemens master.Observe the appropriate procedures for your configu-ration program.
2.2.1 COM PROFIBUS
Preparations
1. Copy the GSD of the valve terminals into the direc-tory \COMPB3x\GSD of your PC/programmer. Youwill find the GSD on the accompanying CD ROM. File VI10F13C.GSE.
CD ROM
Further information (directories etc.) can be found inthe file "readme" in the main directory of the CDROM.
PLEASE NOTEUpdate the slave catalogue when you copy the GSDwhilst working with COM PROFIBUS. Menu: "File" - "Load GSD file"
2. Commissioning
CP FB13-E 9904b 2-13
2. Process the mask "Bus parameter" in the menu"Configure"– bus profile– baud rate
3. There are bitmap files with icons of the valve termi-nals on the CD ROM to simplify the configuration.Copy the file PBFB13CN.BMP into the directory\COMPB3x\BITMAPS\ on your PC/programmer.
Symbols
Further information (directories etc.) can be found in thefile "readme" in the main directory of the CD ROM.
Station selection
Fig. 2/6: Station selection with COM PROFIBUS
2
4
1
3
2. Commissioning
2-14 CP FB13-E 9904b
1 Use the left-hand mouse key to mark the slave type"VALVES" in the slave catalogue. The slave type"VALVES" appears when you have copied the GSD(see section 1 of the preparations).
2 Move the mouse to the left and click below thegraphic.
3 The entry mask "PROFIBUS Address" will appear.Select the slave address identical to the setting ofthe rotary/DIL switch (see chapter 1.2.1) in the slaveand confirm this.
4 The entry mask "Slave parameters" will appear. Se-lect the station type "FESTO CP FB13" and confirmthis.
5 The mask "Preset Configuration" will now appear.Select here the highest occupied string number andconfirm this with OK.
Fig. 2/8: Selecting the highest occupied string number
The icon of the Festo valve terminal will now appearunder the graphic of the master. The icon appearswhen you have copied the bitmap file (see step 3 of thepreparations).This concludes the station selection.
5
2. Commissioning
CP FB13-E 9904b 2-15
Configuration with COM PROFIBUS
Prerequirements:
– the GSD must be in the directory of your PC/pro-grammer
– the mask "Bus parameter" must be processed- busprofile- baud rate
– the PROFIBUS address has been assigned
– the station type "FESTO CP FB13" has been se-lected (see above)
Access the mask "Configure".Configure
1. Double click with the left-hand mouse key or singleclick with the right-hand mouse key on the icon ofthe Festo valve terminal.
2. Select "Configure" in the menu which appears.
The mask "Configure" will then appear (Fig. 2/8).
2. Commissioning
2-16 CP FB13-E 9904b
Fig. 2/8: Configuration with COM PROFIBUS
The program automatically enters the identifiers instandard mode in this mask.
Standardmode
If you wish to use the compact mode, proceed as fol-lows:
Compact mode
1. Delete the identifiers for the standard mode.
2. Enter the identifiers for the compact mode (summarysee Fig. 2/5).
2. Commissioning
CP FB13-E 9904b 2-17
Example 1:Standard mode, highest occupied string = 2String 0 = input module, output module/valve terminalString 1 = input module, output module/valve terminalString 2 = output module/valve terminal
DP identifier Comment
0 16DX String 0-2 bytes per input/output
1 16DX String 1-2 bytes per input/output
2 16DX String 2-2 bytes per output (inputs not used)
Example 1 - configuration
Example 2:As example 1, but entry in compact mode
DP identifier Comment
0 019 String 0, 1-4 bytes per input
1 037 String 0, 1, 2-6 bytes per output
Example 2 - configuration
Alternative entry via "Identifier" mask
You can also enter the identifiers via a mask:
1. Click the button "Identifier..." in the mask "Configure".
2. The mask "Configure" will open.
2. Commissioning
2-18 CP FB13-E 9904b
Input and output addresses
Enter the start addresses of the inputs and outputsunder I address or O address.
Example 3:3 strings each with input modules and output modulesor valve terminals. Input addresses as from input word42 are used.
DP identifier Comment I address O address
0 16DX P042 P042
1 16DX P044 P044
2 16DX P046 P046
Example 3 - input and output addresses
PLEASE NOTEWith a marked I/O address range, the function "Autoaddress" carries out an automatic assignment of thefree addresses in the system depending on the sys-tem limits.
This completes the configuration/address assignmentwith COM PROFIBUS.
"PROFIBUS Configuration Help tool" software
In order to simplify configuration, the CD ROM containsthe "PROFIBUS Configuration Help Tool" software. This software will enable you to ascertain thePROFIBUS configuration in graphic form.Further information (directories, etc.) can be found inthe file "readme" in the main directory of the CD ROM.
2. Commissioning
CP FB13-E 9904b 2-19
2.2.2 STEP 7 V4.x - Hardware configurator
Prerequirements
1. Copy the device master file (GSD) of the valve ter-minals into directory \STEP7\S7DATA\GSD on yourPC/programmer. The device master file can befound on the accompanying CD ROM. File: VI10FB13C.GSE.
CD ROM
The GSD can be either:
•• copied manually into the above-mentioned directory(e.g. via Windows Explorer) or
•• loaded via the menu item "Extras" - "Install newGSD" in the mask "Hardware configuration."
Further information (directories, etc.) can be found inthe file "Readme" in the main directory of the CD ROM.
PLEASE NOTEUpdate the hardware catalogue if you copy the GSDwhilst working with STEP7. Menu in Hardware Configuration: "Extras" - "Update catalogue"
PLEASE NOTEAs from STEP7 V4.02, device master files (GSD)are stored in the STEP7 project (station GSD). This can lead to errors in updating/loading newGSDs. Please refer to STEP7 help for information on dealing with the station GSD.
2. Commissioning
2-20 CP FB13-E 9904b
2. Process the mask "Properties of the "DP master"– bus profile– baud rate
3. In order to simplify the configuration, there are bitmap files with icons of the valve terminals on the CDROM.Copy the file PBFB13CN.BMP into directory\STEP7\S7DATA\NSBMP on your PC/programmer.
Symbols
The bit maps can be either:•• copied manually into the above-mentioned directory
(e.g. via Windows Explorer) or•• loaded via menu item "Extras" – "Install new GSD" –
file type "Bit map" in hardware configuration.
Further information (directories, etc.) can be found inthe file "readme" in the main directory of the CD ROM.
4. Activate the DP master in the rack.
2. Commissioning
CP FB13-E 9904b 2-21
Station selection and configuration
Fig. 2/9: Station selection with STEP7 V4.x - hardware configuration (the masks shown are not all visible at the same time, see text)
1
4
3
5
2
2. Commissioning
2-22 CP FB13-E 9904b
1 Click the catalogue icon. You then open the hard-ware catalogue.
2 Mark the station type "FESTO CP FB13"(\PROFIBUS-DP\Additional FIELD DEVICE-S\VALVES) in the hardware catalogue with the left-hand mouse button. The slave type "VALVES" willappear under the file "Additional FIELD DEVICES"when you have copied the GSD (see step 1 in thepreparations).
3 Hold the left-hand mouse button pressed down andpull the cursor onto the graphic PROFIBUS line onthe DP master (drag and drop).
4 The mask "Selecting the Setpoint Configuration" willappear. Select here the highest occupied stringnumber and confirm this with OK.
5 The entry mask "Properties - PROFIBUS Node" willappear. Select the slave (PROFIBUS) addressidentical to the setting of the rotary switch/DIL switch(see Chapter 1.2.1) on the slave and confirm thiswith OK.
The icon of the valve terminal will appear on thePROFIBUS line (see Fig. 2/10).
2. Commissioning
CP FB13-E 9904b 2-23
Fig. 2/10: Configuration with STEP7 - hardware catalogue
Mark the icon of the valve terminal to be configured onthe graphic surface of the hardware configuration (1).The configuration data appear with the columns "Mo-dule/DPID", "Order Number", "I Address", "O Address"and "Comment" in the table in the lower half of thescreen (2).
Addressing
1
2
2. Commissioning
2-24 CP FB13-E 9904b
The program automatically enters in this table the ident-ifiers in standard mode.
Standard mode
If you wish to use the compact mode, proceed as fol-lows:
Compact mode
1. Delete the identifiers of the standard mode.
2. Select the "Universal module" in directory\PROFIBUS-DP\Additional FIELD DEVICES\VALVES\Festo CP FB13 in the hardware catalogue andmove it to line 0 in the table of DP identifiers in thelower half of the screen. If necessary, repeat this fora second identifier.
3. Open the mask "Properties - DP slave" by double-clicking the appropriate line in the configuration table(2) of the DP slave and modify the starting addressof the inputs/outputs.
4. Select the identifiers as shown in the summary inFig. 2/5.
The input and output addresses are assigned automat-ically by STEP7. Proceed as follows if you wish to mod-ify this address assignment.
Modify address
Open the mask "Properties - DP slave" by double-click-ing the appropriate line in the configuration table of theDP slave and modify the starting address of the inputs/outputs.
PLEASE NOTEWith the S7-400 controllers, 4 bytes of addressesare always reserved for each DP identifier.
This concludes the station selection and configuration.
2. Commissioning
CP FB13-E 9904b 2-25
Addressing examples in standard mode
Address of the CP system: 12
Stringassignmentof CP system
DPidentifier
I/O address(IN/OUT)
String 0:16 outputsand16 electricalinputs
049 O 20.0 ... 21.7I 20.0 ... 21.7
String 1:not assigned 049 O 22.0 ... 23.7
I 22.0 ... 23.7
String 2:16 outputsand16 electricalinputs
049 O 24.0 ... 25.7I 24.0 ... 25.7
String 3:not assigned —
Address range for otherbus slaves
See also Fig. 2/11.
2. Commissioning
2-26 CP FB13-E 9904b
Address of the CP system: 12
A = InputE = Output--- = occupied, but unused
Fig. 2/11: Example – addressing the inputs and outputs of a CP systemon the PROFIBUS-DP in standard mode
0
1
3
2
SAVE
POWER
24 VDC
POWER V
ERROR
PROFIBUS-DP
BUS ERROR
Octet 1: Bits 0...7 (A20.0...A20.7)Octet 2: Bits 0...7 (---)
Octet 1: Bits 0...7 (E20.0...E20.7)Octet 2: Bits 0...7 (E21.0...E21.7)
Octet 3: Bits 0...7 (---)Octet 4: Bits 0...7 (---)
Octet 3: Bits 0...7 (---)Octet 4: Bits 0...7 (---)
Octet 5: Bits 0...7 (A24.0...A24.7)Octet 6: Bits 0...7 (---)
Octet 5: Bits 0...7 (E24.0...E24.7)Octet 6: Bits 0...7 (E25.0...E25.7)
2. Commissioning
CP FB13-E 9904b 2-27
Addressing examples in compact mode
Address of the CP system: 12
Stringassignmentof CP system
DPidentifier
I/O address(IN/OUT)
String 0:8 outputs 017 037
O 20.0 ... 20.7I 20.0 ... 21.7 (unused)
String 1:16 inputs
O 22.0 ... 23.7 (unused)I 22.0 ... 23.7
String 2:16 outputs
O 24.0 ... 25.7
String 3:not assigned
Address range for otherbus slaves
See also Fig. 2/12.
2. Commissioning
2-28 CP FB13-E 9904b
Address of the CP system: 12
E = InputA = Output--- = assigned, but not usedSum of occupied bytes: 6 output bytes; 4 input bytes
Fig. 2/12: Example – addressing the outputs and inputs of a CP system on the PROFIBUS-DP in compact mode
Octet 1: Bits 0...7 (---)Octet 2: Bits 0...7 (---)
Octet 5: Bits 0...7 (A24.0...A24.7)Octet 6: Bits 0...7 (A25.0...A25.7)
Octet 3: (---)Octet 4: (---)
Octet 5: Bits 0...7 (A24.0...A24.7)Octet 6: Bits 0...7 (A25.0...A25.7)
Octet 3: Bits 0...7 (E22.0...E22.7)Octet 4: Bits 0...7 (E23.0...E23.7)
No more input bytesoccupied
2. Commissioning
CP FB13-E 9904b 2-29
2.2.3 Commissioning the CP system on the PROFIBUS-DP
PLEASE NOTEThe switching-on instructions in the manual for yourcontroller must also be observed.
Proceed as follows:
1. Connect the fieldbus cable to the fieldbus node.
2. Switch on the operating voltages:•• for all fieldbus slaves, •• for the CP system.
3. Switch on the operating voltage for the mastermodule.
When switched on, some master systems will automat-ically carry out a comparison between the NOMINALand ACTUAL configurations. For this configuration run itis important that:
Configura-tion run
– the specifications on the NOMINAL configuration arecomplete and correct (see also section 2.1.2).
– the power supplies to the PLC and to the fieldbusslaves are switched on either simultaneously or inthe sequence specified above.
2. Commissioning
2-30 CP FB13-E 9904b
RecommendationProviding the safety requirements of your machine/sys-tem are fulfilled, commission the CP system with bothoperating voltages (pins 1 and 2), but without com-pressed air.In this way, you have the possibility of testing withoutthe risk of unintentional reactions.
PLEASE NOTEA CP valve location occupies two addresses. The following applies:– lower-value address: pilot solenoid 14– higher-value address: pilot solenoid 12
2. Commissioning
CP FB13-E 9904b 2-31
2.3 Operation with general DP master
The Festo CP system can be controlled from any PLC,PC or industrial PC with a PROFIBUS-DP module asper EN 50170 (DIN 19245).
Information on the functions FREEZE and SYNC, theDP identifiers, satndard and compact mode can befound in section 2.1.4.
2.3.1 Starting the bus
In order to operate the CP system correctly, the DPmaster must perform the following functions in the se-quence specified:
1. Send a parametrizing telegram
2. Send a configuration telegram
3. Request diagnostic information
4. Start useful cyclic data transmission
The structure and content of the individual telegramsare described in subsequent chapters.
2. Commissioning
2-32 CP FB13-E 9904b
2.3.2 Sending parametrizing data
The parametrizing data are transferred from the DPmaster to the CP system with the function Set_Prm .
Octet 1: Station status
Bit Meaning Explanation
0 — Reserved
1 —
2 —
3 WD_On Response monitoring of CP system on/off:logic "0": offlogic "1": on
4 Freeze_Req logic "0": Freeze mode not requested by the masterlogic "1": Freeze mode not activated by the master
5 Sync_Req logic "0": Sync mode not requested by the masterlogic "1": Sync mode not activated by the master
6 Unlock_Req Bit 7 Bit 6 Explanation
7 Lock_Req 0 0 min TSDR + CP system parametersmay be overwritten
0 1 CP system released for other masters
1 0 CP system blocked for other masters
1 1 CP system released for other masters
2. Commissioning
CP FB13-E 9904b 2-33
Octets 2 and 3: WD_Fact_1 WD_Fact_2
Bit Meaning Explanation
Range 1-255:The response monitoring time of the CP system is transferred with these two octets:TWD [s] = 10ms * WD_Fact_1 * WD_Fact_2
Octet 4: Minimum station delay responder (min T SDR)
Explanation
The minimum time which the CP system must wait before the reply telegram may be sent to the DP master.
Octets 5 and 6: Ident_Number
Explanation
Transfer the Ident number (= FB9C) of theCP system;Parametrizing telegrams to the CP system are onlyaccepted when the transferred and the programmed Ident numbers are identical.
Octet 7: Group_Ident
Explanation
Not supported by the CP system
Octet 8 - 32: User_Prm_Data
Explanation
Not supported by the CP system
2. Commissioning
2-34 CP FB13-E 9904b
2.3.3 Sending configuration data
The configuration data are transferred from the DPmaster to the CP system with the function Chk_Cfg .
PLEASE NOTEThe configuration of a valve terminal must be carriedout as follows:– per string:
one DP identifier for inputs and outputs– via sum identifier:
sum of the input bytes and sum of the output bytes
The structure of the identifier byte can be found in sec-tion 2.1.4.
Parameter summary (Chk_Cfg)
Octet 1-n: DP IdentifierPermitted identifiers for Festo CP systemsin compact mode (see also Fig. 2/5):
No. of I/Os Inputsdecimal
Outputsdecimal
up to 16 017 033
up to 32 019 035
up to 48 021 037
up to 64 023 039
2. Commissioning
CP FB13-E 9904b 2-35
ExampleConfigure a CP system with 32 inputs/outputs instandard mode.Configuration: Function: Chk_Cfg
String Octet DP identifier
decimal hex
01
12
049049
031031
2.3.4 Requesting diagnostic information
The diagnostic data are requested from the CP systemwith the function Slave_Diag .A description of this function is to be found in chapter 3,Diagnosis via PROFIBUS-DP.
2.3.5 Cyclic exchange of data
The cyclic exchange of data is carried out with the func-tion Data_Exchange . With this function, the output data for CP systems aretransferred as an octet string of length x.The octet string length is determined by the number ofidentifier bytes.
PLEASE NOTEWith the function "Data_Exchange", the CP system expects the output information for the valves andelectrical outputs. The input information is sent to the master as a reply telegram.
2. Commissioning
2-36 CP FB13-E 9904b
Parameter overview (Data_Exchange):
Octet 1: I/O data byte_1Bit 0: input/output x *)Bit 1: input/output x+1Bit 2: input/output x+2Bit 3: input/output x+3Bit 4: input/output x+4Bit 5: input/output x+5Bit 6: input/output x+6Bit 7: input/output x+7
Octet 2: I/O data byte_2Bit 0: input/output x+8Bit 1: input/output x+9
* * *Bit 7: input/output x+15
Octet 8: I/O data byte_8Bit 0: input/output x+sBit 1: input/output x+tBit 2: input/output x+uBit 3: input/output x+vBit 4: input/output x+wBit 5: input/output x+xBit 6: input/output x+yBit 7: input/output x+z
*) x = Address offset of the master module
2. Commissioning
CP FB13-E 9904b 2-37
2.3.6 Summary of implemented functions and service access points (SAP)
Function Available Destination SAP (DSAP)
Data_Exchange Yes NIL
RD_Inp Yes 56
RD_Outp Yes 57
Slave_Diag Yes 60
Set_Prm Yes 61
Chk_Cfg Yes 62
Get_Cfg Yes 59
Global_Control Yes 58
Set_Slave_Add No 55
2. Commissioning
2-38 CP FB13-E 9904b
2.3.7 Bus parameters/reaction times
Baud rate (kBaud) max T SDR (TBit) min T SDR (TBit )
.. 187.5 60
11
500 100
1500 150
3000 250
6000 450
12000 800
2.3.8 Transmission times on the PROFIBUS-DP
PLEASE NOTE•• Observe also the cycle time of your PLC and the update time of the PROFIBUS-DP.
The delay time within the CP system depends on theamount of data and therefore on the string assignment:< 5 ms.
The calculation of the complete transmission time canbe found in the controller manual.
2. Commissioning
CP FB13-E 9904b 2-39
2.4 Type file and device master file (GSD)
The CD ROM supplied with this manual contains thetype files and the device master file (GSD) with the spe-cific standardized device master file for the CP system.
Device masterfile
Further information can be found in the file "Readme"on the diskette.
The device master file contains a selection of identifiersin addition to the slave-typical entries (ident number, re-vision, etc.).
Enter the identifiers for the CP system in the followingsequence:
1. Digital inputs
2. Digital outputs
Example:CP system with 2 valve terminals and 2 input modules.
CP systemlast used string
Identifier Assigned address range
01
049049
16 inputs/outputs32 inputs/outputs
2. Commissioning
2-40 CP FB13-E 9904b
Chapter 3
Diagnosis
3. Diagnosis
CP FB13-E 9904b 3-1
Contents
3. Diagnosis
3.1 LED displays on the bus node . . . . . . . . . . . . . . . . . . . . . . . . . 3-33.1.1 Normal operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43.1.2 Diagnosis operating voltage POWER or POWER V . . . . . . . . . 3-53.1.3 Diagnosis LED BUS ERROR . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63.2 Testing the valves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Starting the test routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Stopping the test routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3.3 Diagnosis via PROFIBUS-DP. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-93.3.1 Diagnostic words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Busy bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9Diagnostic possibilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10Summary of diagnostic bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.3.2 Diagnostic information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12Structure of station status 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12Structure of station status 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13Structure of station status 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13Master address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14Manufacturer identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14Header device-related diagnosis . . . . . . . . . . . . . . . . . . . . . . . 3-14Structure of device-related diagnosis 1 . . . . . . . . . . . . . . . . . . 3-15Structure of device-related diagnosis 2-5. . . . . . . . . . . . . . . . . 3-16
3.4 Error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-173.4.1 General DP master. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-183.4.2 Siemens SIMATIC S5/S7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
Possibilities of reading the diagnosis for S5/S7. . . . . . . . . . . . 3-203.5 STEP 7 V4.x - Online diagnosis via diagnostic buffer . . . . . . . 3-21
Module status of the Festo valve terminal . . . . . . . . . . . . . . . . 3-233.6 Short circuit/overload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-243.6.1 Output module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
Reset error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-243.6.2 Sensor supply at an input module . . . . . . . . . . . . . . . . . . . . . . 3-25
Reset error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
3. Diagnosis
3-2 CP FB13-E 9904b
3.1 LED displays on the bus node
The LEDs on the node permit fast on-the-spot diag-nosis of the operating status of the CP system.
123
BUS LEDOperating voltage LEDsString LEDs
Fig. 3/1: LEDs on the CP node FB13
0
1
3
2
SAVE
POWER
24 VDC
POWER V
ERROR
PROFIBUS-DP
BUS ERROR
3
2
1
3. Diagnosis
CP FB13-E 9904b 3-3
LED designation Function Meaning
BUS ERROR PROFIBUS communication Blinks if there is an error inconnection with the fieldbus
POWER Operating voltage displayof internal electronic components
Lights up if operating voltageis applied to pin 1and the nodeis ready for use
POWER V Operating voltage displayof valves
Lights up if operatingvoltage of valvesis ok (pin 2);blinks if operating voltageis < 20.4 V
0..3 CP string LED During start-up phase:blinks if the string assignmenthas been changed sincethe last operation
during operation:lights up if a CP connectionhas been interrupted
3.1.1 Normal operating status
In normal operating status the following LEDs light upon CP node 13:
( = lights up; = LED flashes; = out)
LEDs Operating status Error treatment
BUS
POWERPOWER V
normal none
3. Diagnosis
3-4 CP FB13-E 9904b
3.1.2 Diagnosis operating voltage POWER or POWER V
( = lights up; = LED flashes; = out)
LEDs Operating status Error treatment
POWER POWER V
Operating status normaloroperating status normal, but valves do not switch.– compressed air supply not correct– pilot exhaust blocked
oroperating status normal, but PROFIBUS error message ofLED BUS ERROR
None
Check the ...
• compressed air supply
• pilot exhaust channels
See error message ofLED BUS ERROR
POWERPOWER V
Operating voltage of outputs(pin 2) not applied.CP valve terminal or outputmodule defective.
• Replace CP module
POWERPOWER V
Operating voltage of outputs(pin 2) not in tolerance range.
• Check operating voltage of outputs (pin 2)
POWER Operating voltage of electroniccomponents (pin 1) not applied
Hardware error
• Check operating voltage connection
• Return for servicing
3. Diagnosis
CP FB13-E 9904b 3-5
3.1.3 Diagnosis LED BUS ERROR
Possible PROFIBUS-specific LED displays on the oper-ating status of the CP node are listed below.
Error displays BUS ERROR;( = lights up; = LED flashes; = out)
LEDs Operating status Error treatment
BUS (fast)
Station number not permitted Correct station number
BUS (at 1 s intervals)
Fieldbus connection not correct.Possible causes:– Station number not correct
(e.g. address assigned twice)– fieldbus module switched off
or defective– interrupted, short-circuited
or faulty fieldbus connection– Configuration not correct
Check nominal <> actual status
Check the ...
• setting of the address selector switch• fieldbus module
• fieldbus connection
• configuration
BUS Valve test –(Conclude valve test)
3. Diagnosis
3-6 CP FB13-E 9904b
3.2 Testing the valves
WARNING Before starting the test: • switch off the compressed air supply
for the valves. • save the string assignment if it has not already
been saved.
You thereby avoid:
– unintentional or dangerous movements of the actua-tors
– the need to press the SAVE button again.
CAUTION– This test function runs automatically within the CP valve terminals. All the valves are
switched on/off cyclically. – None of the programmed locking or
switching conditions will be taken into account.
During the test routine of the CP valve terminal, all thevalves will be switched on and off at 1 s intervals.
Test routine
3. Diagnosis
CP FB13-E 9904b 3-7
Starting the test routine
1. Switch off the operating voltage supplies (pins 1 and2) at the node.
2. Switch off the operating voltage supply at the outputmodules.
3. Remove the cover from the DIL switches.
4. Note the settings of the address selector switch andthe DIL switch elements.
5. Set station number 199.
6. Switch on the operating voltage supplies (pins 1 and 2).
7. Start the test routine by setting DIL switch element 1to OFF.
If errors occur when the test routine is started, the redLED on the node will flash fast. The process must then be repeated.
Stopping the test routine
1. Switch off the operating voltage supplies (pins 1 and2) at the node.
2. Reset the address selector switch and the DILswitch elements to their original positions.
Switch the operating voltages on again when the testroutine is finished:• on the node• on the output modules
3. Diagnosis
3-8 CP FB13-E 9904b
3.3 Diagnosis via PROFIBUS-DP
The CP system supports diagnostic possibilities via thePROFIBUS in accordance with EN 50170 (DIN 19245).
PLEASE NOTEThe identifier-related or channel-related diagnosislisted in standard EN 50170 (DIN 19245) will not besupported.
3.3.1 Diagnostic words
The following error states of the CP system aregrouped together in diagnostic words and communi-cated to the controller.
– load voltage drop on the output modules
– short circuit / overload at the output modules
– interruption of the CP connection at various CP modules
Additional error messages (DIL switch 2 = ON):
– load voltage drop at the CP connection
– voltage for CP valves below tolerance level (< 20.4 V)
Busy bit
With device-related diagnosis 1, the CP system sup-plies status information as bit 1:
– Busy bit = CP system in start-up phase and thereforenot ready for exchange of data.
If the busy bit is set (= "logic 1"), the diagnostic bits inbytes 2..5 contain "logic 0". Only device-related diag-nosis 1 is supported.
3. Diagnosis
CP FB13-E 9904b 3-9
Diagnostic possibilities
The CP system offers extensive diagnostic possibilitiesvia the PROFIBUS-DP. The diagram below shows thesteps necessary for diagnosing the CP system. Onlythose diagnostic bits are shown which require a furtherdiagnostic step.
Read device-relateddiagnosis 1
Read device-relateddiagnoses 2...5
Bit
Station status 1
Bit
Device-relateddiagnosis 1
Fig. 3/2: Diagnostic steps
7 6 5 4 3 2 1 0
1
7 6 5 4 3 2 1 0
1
3. Diagnosis
3-10 CP FB13-E 9904b
Summary of diagnostic bytes
Several diagnostic words are made available in moduleIM 308-x for each bus slave. The diagnostic words andtheir meaning in conjunction with the Festo CP systemare shown in the table below.
diagnosticwords
Byte Octed Diagnostic address Diagnostic address +1 Octed Byte
0 1 Station status 1 Station status 2 2 1
2 3 Station status 3 Master address(Diag.master_Add)
4 3
4 5 Manufacturer identifier(Ident_numberHigh byte F1H)
Manufacturer identifier (Ident_numberLow byte 3CH)
6 5
6 7 Header Device-related diagnosis 1(Error summary)
8 7
8 9 Device-related diagnosis 2(error byte CP string 0)
Device-related diagnosis 3(error byte CP string 1)
10 9
10 11 Device-related diagnosis 4(error byte CP string 2)
Device-related diagnosis 5(error byte CP string 3)
12 11
12 13 Device-related diagnosis 6(not used)
Device-related diagnosis 7(not used)
14 13
Contents are modified by the CP system
Fig. 3/4: Diagnostic words
3. Diagnosis
CP FB13-E 9904b 3-11
3.3.2 Diagnostic information
The following diagnostic information can be requestedby the DP master from the CP system with the functionSlave_Diag. The CP system replies with an octet stringof length 15.The procedure for reading out this diagnostic informa-tion with a SIMATIC S5/S7 system is described in chap-ter 3.4.2.
Structure of station status 1
Octet 1: Station status_1
Bit Meaning Explanation
0 Diag.Station_Non_Existent
CP system can no longer/cannot yet be addressed.Possible causes:– operating voltage not applied– data cable interrupted– interference in data cable
1 Diag.Station_Not_Ready CP system not yet ready for exchange of data
2 Diag.Cfg_Fault The configuration data received from the master do notcorrespond to those ascertained by the CP system.
3 Diag.Ext_Diag There is a device-related diagnosis.Possible causes:– cable interrupted at I/O module– short circuit/overload at electrical outputs– Vvalves < 20.4 V– Voutputs < 10 V– Vsensor < 10 V
4 Diag.Not_Supported logic "1": Function not supported by CP system
5 Diag.Invalid_Slave_Response
Always logic "0" (set by CP system)
6 Diag.Prm_Fault Last parametrizing telegram faulty
7 Diag.Master_Lock Always logic "0" (set by CP system)
Valve terminal related bits
Fig. 3/4: Diagnostic bits of station status_1
3. Diagnosis
3-12 CP FB13-E 9904b
Structure of station status 2
Octet 2: Station status_2
Bit Meaning Explanation
0 Diag.Prm_Req Logic "1":master must configure the CP system again
1 Diag.Stat_Diag Logic "1":master must request diagnostic data, until this bitis set at logic "0"
2 — Always logic "1" (set by CP system)
3 Diag.WD_On Logic "1": watchdog activated
4 Diag.Freeze_Mode logic "0": Freeze activated
5 Diag.Sync_Mode logic "0": Sync activated
6 — Reserved
7 Diag.Deactivated Always logic "0" (set by CP system)
Fig. 3/5: Diagnostic bits of station status_2
Structure of station status 3
Octet 3: Station status_3
Bit Meaning Explanation
0 —
Reserved
1 —
2 —
3 —
4 —
5 —
6 —
7 Diag.Ext_Diag_Overflow
Always logic "0" (set by CP system)
Fig. 3/6: Diagnostic bits of station status_3
3. Diagnosis
CP FB13-E 9904b 3-13
Master address
Octet 4: Diag.Master_Add
Explanation
The address of the master which parametrizedthe CP system is entered in this octet.
Fig. 3/7: Diagnosis Diag. Master_Add
Manufacturer identifier
Octets 5 and 6: Ident_Number
Explanation
These octets contain the manufacturer identification:F13CH for the Festo CP system.
Fig. 3/8: Diagnosis Ident_Number
Header device-related diagnosis
Octet 7: Ext_Diag_Data (device-related diagnosis)
Explanation
This octet represents the header for the device diagnosis.The CP system enters the fixed value 8 in this octet, i.e. 8 octets "device-related diagnosis",are made available/transferred, incl. header octet. This value is independent of the equipment fitted onto the CP system.6 of the 8 octets are used.
Fig. 3/9: Diagnosis Ext_Diag_Data
3. Diagnosis
3-14 CP FB13-E 9904b
Structure of device-related diagnosis 1
Octet 8: Device-related diagnosis 1
Bit Meaning Explanation
0 Common error CP system
Logic "1":error in one or several CP strings (bits 4-7)
1 Busy Bit Logic "1":during the start-up phase: CP system not yetready for exchange of data
2 -- Not assigned
3 -- Not assigned
4 Common error 0 Logic "1":error in string 0
5 Common error 1 Logic "1":error in string 1
6 Common error 2 Logic "1":error in string 2
7 Common error 3 Logic "1":error in string 3
Fig. 3/10: Diagnostic bits of device-related diagnosis 1
3. Diagnosis
CP FB13-E 9904b 3-15
Structure of device-related diagnosis 2-5
Overview Octet 9- 12: Device-related diagnosis 2..5
Meaning Explanation
Octet 9 Device-related diagnosis 2: string 0
Octet 10 Device-related diagnosis 3: string 1
Octet 11 Device-related diagnosis 4: string 2
Octet 12 Device-related diagnosis 5: string 3
Fig 3/11: Overview Octets 9-12
Octets 9..12: Device-related diagnosis 2..5
Bit Meaning Explanation
0 Iout Logic "1":CP connection interrupted at output module
1 Iinp Logic "1":CP connection interrupted at input module
2 Short circuit/overload Logic "1":short circuit/overload at output module
3 Vout Logic "1":load voltage drop at output module
4 Vsen Logic "1":voltage supply to sensors <10 V
5 Vval Logic "1":voltage supply to valve coils <20.4 V
6 Vload Logic "1":voltage supply to valve coils <10 V
7 Ex Logic "1":(at present without significance)
Fig. 3/12: Diagnostic bits of device-related diagnosis 2...5
3. Diagnosis
3-16 CP FB13-E 9904b
3.4 Error treatment
In the case of the following faults, the reaction of theCP system depends on the configured reaction of themaster module.
– telegram failure
– master stop
– interruption in bus cable
Depending on the setting or the configuration, all theoutputs (valves and electrical outputs) will be switchedoff or maintain their status.
WARNING• Make sure that the valves and outputs are reset
after rectifying the above mentioned faults.Dangerous situations can arise if the valves and out-puts are not reset after one of the above faults.
PLEASE NOTESingle solenoid valves move to the basic position;double solenoid valves remain in the current position. If mid-position functions are implemented byCP valves, these will move to defined positions (ex-hausted, pressurized, blocked)
3. Diagnosis
CP FB13-E 9904b 3-17
3.4.1 General DP master
By means of the function Set_Prm you can determinethe watchdog time (WD_Fact_1, Octet 2, WD_Fact_2,Octet 3). In the case of a fault, e.g. a bus failure, theCP system will switch off all valves and electrical out-puts after the parametrized time.
3.4.2 Siemens SIMATIC S5/S7
With these controllers, you can determine the reactionof the CP system to the faults named (details see con-troller manual).
Almost all configuration programs contain the function"Response monitoring". For the operating modesnamed, the specified time corresponds to the drop-offtime of the valves and the electrical outputs.Further details on response monitoring can be found inthe appropriate manuals.
3. Diagnosis
3-18 CP FB13-E 9904b
You can set two types of reactions to faults in the con-trol system:
• the controller switches to operating mode STOPwhen a fault occurs (hard error reaction) or
• the controller remains in operating mode RUN whena fault occurs (soft error reaction)
Control system
Module Meaning STOP RUN
SIMATIC S5with IM 308C
OB23 Reaction to QVZ with direct periphery access
default OB isprogrammed
OB24 Reaction to QVZ with periphery access via process image
default OB isprogrammed
OB35 Reaction to PEU (periphery unclear)
default OB isprogrammed
SIMATIC S7/M7 OB82 Reaction to device specific diagnosis
default OB isprogrammed
OB86 Reaction to failure of aDP slave
default OB isprogrammed
Further details can be found in the appropriate manualsfor the control systems.
3. Diagnosis
CP FB13-E 9904b 3-19
Possibilities of reading the diagnosis for S5/S7
The diagnosis for PROFIBUS DP is supported in thevarious control systems by means of function modules.These read the slave diagnosis and write it into a datarange in the user program.
Control system Function module
Refer to ... Manufacturer
SIMATIC S5 withIM 308C
FB 192"IM 308C"
Manual "Decentral peripherysystem ET 200"
Siemens
SIMATIC S5 withS5-95U/DP master
FB 230"S_DIAG"
Manual "Decentral peripherysystem ET 200"
Siemens
SIMATIC S5 withSF 50/DP master
FB 230"S_DIAG"
Manual "Programmable valveterminal with SB/SF 50"
Festo
SIMATIC S7/M7 SFC 13"DP NRM_DG"
Reference manual "Systemand standard functions"
Siemens
Example of a STEP 7 user program:
STL Explanation
CALL SFC 13
REQ := TRUE Request to read
LADDR := W#16#03FE Pointer to diagnostic address e.g. 1022d =03FEh (see mask "Features DP slave" inhardware configuration)
RET_VAL := MW100 If faults occur, output error code
RECORD := P#M110.0 WORD 7 Pointer to start of data range for diagnosisand length of diagnostic data
BUSY := M10.0 Read process finished
3. Diagnosis
3-20 CP FB13-E 9904b
3.5 STEP 7 V4.x - Online diagnosis via diagnostic buffer
The diagnostic buffer of STEP7 offers the possibility ofdisplaying diagnostic events of the S7 system in thesequence in which they occur.
Fig. 3/13: Online diagnosis via diagnostic buffer
1
2
3
4
5
6
5
3. Diagnosis
CP FB13-E 9904b 3-21
Direct diagnostic events in conjunction with the Festovalve terminal can be:
• decentral periphery: station failure- communication between slave and master inter-rupted
• faulty module- see device-specific diagnosis
• transition of operating status from START to RUN(there is a difference between nominal and actualstates)- configuration data of the valve terminal do not corres-pond with the periphery- valve terminal has incorrect DIL/rotary switch setting
Prerequirements
• the hardware configuration must be accessed
Proceed as follows (Fig. 3/13):
1 Switch from offline to online
2 Use the right-hand mouse key to mark the CPU inthe rack. Click "Module Information" in the menuwhich now appears.
3 The window "Module Information" now appears.
4 Select the rider "Diagnostic buffer."
5 Mark the event and read the details on the event.These will give you more information on how to pro-ceed further and depend on the S7 controller used.
3. Diagnosis
3-22 CP FB13-E 9904b
Module status of the Festo valve terminal
6 Mark the Festo valve terminal instead of the CPU.By means of the window "Module Information" youcan read out more information on the status of thevalve terminal.
3. Diagnosis
CP FB13-E 9904b 3-23
3.6 Short circuit/overload
3.6.1 Output module
If there is a short circuit or overload:
1. all digital outputs of a string will be switched off
2. the green LED "Diag" on the output module will flashfast
3. the short circuit/overload bit of the octets 9-12 "De-vice-related diagnosis 2..5" will be set to logic "1".
PLEASE NOTEThe outputs cannot be used until the short circuit oroverload is eliminated and the error reset.
Reset error
In order to reset the error, the 8 outputs must be reset.The following possibilities are available:
Possibilities Explanation
• Set all outputs of the output module to logic "0" (RESET)or• Briefly interrupt CP connection on the CP output moduleor• Briefly interrupt operating voltage of the CP system on the fieldbus node
- manually or automatically in the program
- Outputs of the output module are reset automatically
- All outputs of the CP system are reset automatically
The outputs can then be operated again. If the shortcircuit still exists, the outputs will be switched off again.
3. Diagnosis
3-24 CP FB13-E 9904b
3.6.2 Sensor supply at an input module
If there is a short circuit:
1. the sensor supply to all the inputs of a module willbe switched off
2. the green LED "Diag" on the input module will flashfast
3. the error bit VSen of the octets 9-12 "Device-relateddiagnosis 2..5" will be set to logic "1".
PLEASE NOTEThe inputs cannot be used until the short circuit oroverload is eliminated and the error reset.
Reset error
In order to reset the error the following possibilities areavailable:
•• Briefly interrupt the CP connection on the CP inputmodule.
or
•• Briefly interrupt the operating voltage of the CP systemon the fieldbus node.
The inputs can then be interrogated again. If the shortcircuit still exists, the error message will appear again.
3. Diagnosis
CP FB13-E 9904b 3-25
3. Diagnosis
3-26 CP FB13-E 9904b
Appendix A
Technical specifications
A. Technical specifications and index
CP FB13-E 9904b A-1
Contents
A. Technical specifications
A.1 Technical specifications of fieldbus node CP FB13-E . . . . . . . . A-3A.2 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
A. Technical specifications and index
A-2 CP FB13-E 9904b
A.1 Technical specifications of fieldbus node CP FB13-E
General
Temperature range:– operation– storage/transport
- 5 oC ... + 50 oC-20 oC ... + 70 oC
Relative humidity 95 %, non condensing
Protective class as per EN 60 529Plug connectors inserted or fitted with protective caps
IP 65
Protection against electric shock(protection against direct and indirect contact as per EN 60204-1/IEC 204)
By means of PELV power units (protected extra low voltage)
Operating voltage of electronic components and input modules
Pin 1Operating voltage connection – rated value – tolerance
24 V DC20.4 .. 26.4 V
Current consumption– pin 1 node FB13-E– all electronic components in CP system
250 mAsee manual "CP system",chapter 3.1.2, Table of current consumption
Residual ripple 4 Vpp (within tolerance)
Power failure bridging time 20 ms
A. Technical specifications and index
CP FB13-E 9904b A-3
Operating voltage of solenoid valves on CP terminal
Pin 2Operating voltage connection – rated value– tolerance
24 V DC20.4 .. 26.4 V
Current consumption• Pin 2 node FB13-E Sum of all switched
CP solenoid valves;see manual "CP pneumatics"
Residual ripple 4 Vpp (within tolerance)
Power failure bridging time 20 ms
Field bus
Design RS 485, floating
Transmission type serialasynchronous, half-duplex
Protocols PROFIBUS-DP
Baud rate 9.6...12000 kBaudAutomatic baud rate recognition
Cable length(dependent on baud rate and cable type)
up to 23.8 km
Cable type(dependent on cable length and field busbaud rate set)
See controller manual
Maximum loadingPositive power supply (P5V) pin 6 max. 40 mA
Electromagnetic compatibility
– Interference emissiontested as per EN 55011
– Resistance to interferencetested as per EN 50082-2
Limit value class B
A. Technical specifications and index
A-4 CP FB13-E 9904b
A.2 Index
AAbbreviations
product-specific . . . . . . . . . . . . . . . . . . . . . . . . . . . X
BBus LED
diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6Busy bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
CConfiguration list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
compiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5Configuration run . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30Connecting
CP modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12operating voltage . . . . . . . . . . . . . . . . . . . . . . . . 1-13PROFIBUS-DP interface . . . . . . . . . . . . . . . . . . 1-14screening . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15
CP systemoperating voltage . . . . . . . . . . . . . . . . . . . . . . . . . 2-3preparing for operation on the PROFIBUS-DP. . 2-3
A. Technical specifications and index
CP FB13-E 9904b A-5
DDesignated use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VDevice master file (GSD) . . . . . . . . . . . . . . . . . . . . . 2-40Diagnosis
bus LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6operating voltage LEDs . . . . . . . . . . . . . . . . . . . . 3-5
DP master (standard). . . . . . . . . . . . . . . . . . . . . . . . 2-32cyclic exchange of data . . . . . . . . . . . . . . . . . . . 2-36fetching diagnostic information . . . . . . . . . . . . . 2-36general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32implemented functions . . . . . . . . . . . . . . . . . . . . 2-38send parametrizing data . . . . . . . . . . . . . . . . . . 2-33service access points (SAP) . . . . . . . . . . . . . . . 2-38
EError treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
short circuit / overload at output . . . . . . . . . . . . 3-24short circuit at input . . . . . . . . . . . . . . . . . . . . . . 3-25
FFREEZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 - 2-7
GGeneral DP master
send parametrizing data . . . . . . . . . . . . . . . . . . 2-33GSD (device master file) . . . . . . . . . . . . . . . . . . . . . 2-40
A. Technical specifications and index
A-6 CP FB13-E 9904b
IInput
short circuit / error treatment . . . . . . . . . . . . . . . 3-25Instructions on this manual . . . . . . . . . . . . . . . . . . . . . VI
LLED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 - 3-6
MModule consistency . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
NNominal/actual configurations . . . . . . . . . . . . . . . . . . 2-5
OOperating status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4Operating voltage
CP system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
PPictograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIIIPOWER LEDs
diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5PROFIBUS-DP
diagnostic information . . . . . . . . . . . . . . . . . . . . 3-12PROFIBUS-DP interface
cable termination . . . . . . . . . . . . . . . . . . . . . . . . 1-16connecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
A. Technical specifications and index
CP FB13-E 9904b A-7
SSAVE
string assignment. . . . . . . . . . . . . . . . . . . . . . . . . 2-3Setting
fieldbus address. . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Short circuit
at output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24Siemens
settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4, 2-3Siemens master
configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
String assignmentsaving. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Switching statusvalves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
SYNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6 - 2-7
TTarget group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VTechnical specifications . . . . . . . . . . . . . . . . . . . . . . A-3Test routine for valves . . . . . . . . . . . . . . . . . . . . . . . . 3-7
finishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Type file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-40
UUser instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII
A. Technical specifications and index
A-8 CP FB13-E 9904b