Page 1
CPX terminal Electronics manual CPX field bus node Type CPX−FB13 Field bus protocol PROFIBUS−DP as per EN 50170 Manual 526 428 en 0503b [684 311]...
Page 3
....... . . 526 428 E (Festo AG & Co. KG, D 73726 Esslingen, Federal Republic of Germany, 2005) Internet: http://www.festo.com...
Page 4
Contents and general instructions PROFIBUS, PROFIBUS−DP® are registered trade marks of Profibus International (P.I.) SIMATIC® is a registered trademark of Siemens AG TORX® is a registered trade mark of CAMCAR TEXTRON INC., Rockford, Ill., USA Festo P.BE−CPX−FB13−EN en 0503b...
....2−40 Commissioning the CPX terminal in the system ..... . . 2−41 Festo P.BE−CPX−FB13−EN en 0503b...
Page 6
....... A−22 A.3.1 Reading and writing data records ......A−22 Festo P.BE−CPX−FB13−EN en 0503b...
Page 7
............B−1 Festo P.BE−CPX−FB13−EN en 0503b...
Page 8
This manual is intended exclusively for technicians trained in control and automation technology, who have experience in installing, commissioning, programming and diagnosing slaves on the PROFIBUS−DP. Service Please consult your local Festo repair service if you have any technical problems. Festo P.BE−CPX−FB13−EN en 0503b...
Page 9
General basic information on the method of operation, fitting, installation and commissioning of CPX terminals can be found in the CPX system manual. Information on further CPX modules can be found in the man ual for the relevant module. Festo P.BE−CPX−FB13−EN en 0503b...
Page 10
This means that failure to observe this instruction may result in damage to property. The following pictogram marks passages in the text which describe activities with electrostatically sensitive compo nents. Electrostatically sensitive components may be damaged if they are not handled correctly. VIII Festo P.BE−CPX−FB13−EN en 0503b...
Page 11
Accessories: Information on necessary or sensible accessories for the Festo product. Environment: Information on environment−friendly use of Festo products. Text markings The bullet indicates activities which may be carried out in · any order. 1. Figures denote activities which must be carried out in the numerical order specified.
Page 12
Information on fitting, installing and CPA pneumatics" commissioning CPA pneumatics (type 12) type P.BE−CPA−... Valve terminals with Instructions on fitting, installing and commis Midi/Maxi pneumatics" sioning Midi/Maxi pneumatics (type 03) type P.BE−MIDI/MAXI−03−... Tab. 0/2: Manuals on the CPX terminal Festo P.BE−CPX−FB13−EN en 0503b...
Page 13
Number of address words assigned by the CPX terminal PLC/IPC Programmable logic controller/industrial PC Pneumatic interface The pneumatic interface is the interface between the modular electric periphery and the pneumatics. Tab. 0/3: CPX−specific terms and abbreviations Festo P.BE−CPX−FB13−EN en 0503b...
Page 14
Contents and general instructions Festo P.BE−CPX−FB13−EN en 0503b...
Installation Chapter 1 1−1 Festo P.BE−CPX−FB13−EN en 0503b...
Page 16
........1−27 1−2 Festo P.BE−CPX−FB13−EN en 0503b...
Page 17
CPX pneumatic interfaces and the CPX I/O modules (P.BE−CPX−EA−...). Instructions on installing the pneumatic components can be found in the relevant pneumatics manual (see Tab. 0/2). 1−3 Festo P.BE−CPX−FB13−EN en 0503b...
Do not therefore touch any contacts. · Observe the regulations for handling electrostatically · sensitive components. You will then prevent the electronics from being damaged. Information on fitting the CPX terminal can be found in the CPX system manual (P.BE−CPX−SYS−...). 1−4 Festo P.BE−CPX−FB13−EN en 0503b...
Page 19
CPX field bus node for PROFIBUS−DP: Bus status−specific and Service interface for handheld (V24) CPX−specific LEDs Field bus connection (9−pin sub−D socket) Transparent cover for the DIL switches Fig. 1/1: Connecting and display elements on the CPX field bus node 1−5 Festo P.BE−CPX−FB13−EN en 0503b...
Page 20
2. Pull the field bus node carefully and without tilting away from the contact rails of the manifold base. Field bus node CPX−FB13 Manifold base Contact rails TORX T10 screws Fig. 1/2: Dismantling/fitting the field bus node 1−6 Festo P.BE−CPX−FB13−EN en 0503b...
Page 21
3. Tighten the screws at first only by hand. Place the screws so that the self−cutting threads can be used. 4. Tighten the screws with a TORX screwdriver size T10 with torque 0.9 ... 1.1 Nm. 1−7 Festo P.BE−CPX−FB13−EN en 0503b...
1. Place the cover carefully on the node. Please note Make sure that the seal is seated correctly. · 2. Tighten the two fastening screws at first by hand and then with torque 0.4 Nm. 1−8 Festo P.BE−CPX−FB13−EN en 0503b...
4. Assign an unused station number to the CPX terminal. Set the desired station number (8−position DIL switch 3, switch elements 1...7). 5. Set the diagnostic mode (8−position DIL switch 3, switch element 8). 6. Fit the cover again (section 1.2.1). 1−9 Festo P.BE−CPX−FB13−EN en 0503b...
Page 24
An FEC integrated in the CPX terminal takes control of DIL 1.2: OFF the I/Os. This operating mode is only useful if an FEC is integrated in the CPX terminal. Tab. 1/1: Setting the operating mode with DIL switch 1 1−10 Festo P.BE−CPX−FB13−EN en 0503b...
Page 25
(see section 3.5). Device−related diagnosis Device−related diagnosis active inactive DIL 3.8: ON DIL 3.8: OFF Tab. 1/2: Setting the diagnostic mode with DIL switch 3 1−11 Festo P.BE−CPX−FB13−EN en 0503b...
Page 26
The following station numbers are permitted: Protocol Address designation Permitted station numbers PROFIBUS−DP PROFIBUS address 1; ...; 125 Recommendation: Assign the station numbers in ascending order. Assign the station numbers to suit the machine structure of your system. 1−12 Festo P.BE−CPX−FB13−EN en 0503b...
Page 27
Set station number: 38 2 + 4 + 32 = 1 + 4 = Fig. 1/5: Examples of set station numbers (binary coded) The following pages contain a summary of the settings for the station numbers. 1−13 Festo P.BE−CPX−FB13−EN en 0503b...
Page 28
1. Installation tion tion Reserved Tab. 1/3: Setting station numbers 1...31: Position of the DIL switch elements 1−14 Festo P.BE−CPX−FB13−EN en 0503b...
Page 29
1. Installation tion tion Tab. 1/4: Setting station numbers 32...63: Position of the DIL switch elements 1−15 Festo P.BE−CPX−FB13−EN en 0503b...
Page 30
1. Installation tion tion Tab. 1/5: Setting station numbers 64...95: Position of the DIL switch elements 1−16 Festo P.BE−CPX−FB13−EN en 0503b...
Page 31
1. Installation tion tion Tab. 1/6: Setting station numbers 96...125: Position of the DIL switch elements 1−17 Festo P.BE−CPX−FB13−EN en 0503b...
If the CPX terminal is fitted onto the moving part of a machine, the field bus cable on the moving part must be provided with strain relief. Please observe also the relevant regulations in EN 60204 part 1. 1−18 Festo P.BE−CPX−FB13−EN en 0503b...
Page 33
< 110 /km Core diameter: > 0.64 mm Core cross−sectional area: > 0.34 mm Bus length Exact specifications on the bus length can be found in the next section and in the manuals for your control system. 1−19 Festo P.BE−CPX−FB13−EN en 0503b...
9.6; 19.2; 93.75 kBaud 1200 m 187.5 kBaud 1000 m 500 kBaud 400 m 1500 kBaud 200 m 3000...12000 kBaud 100 m Tab. 1/7: Maximum field bus segment lengthsfor PROFIBUS−DP depending on the baud rate 1−20 Festo P.BE−CPX−FB13−EN en 0503b...
You can connect the CPX terminal with the field bus plug from Festo type FBS−SUB−9−GS−DP−B. Please note Only the Festo field bus plug complies with IP65. Before connecting sub−D plugs from other manufacturers: replace the two flat screws by bolts ·...
(T−TAP function). Please note The clamp strap in the field bus plug from Festo is con nected internally only capacitively with the metallic hous ing of the sub−D plug. This is to prevent equalizing currents flowing through the screening of the field bus cable.
Page 37
Field bus continuing (OUT) Only connected capacitively Fig. 1/6: Field bus plug from Festo, type FBS−SUB−9−GS−DP−B DIL switch With the switch in the field bus plug you can switch the following: Switch position Bus termination Continuing field...
Page 38
5. FE: Functional earth Housing/thread: Screening/shield Bus out Bus in Protective cap or plug with bus termination resistor if connection is not used. Tab. 1/9: Pin assignment of the field bus interface with adapter for M12 connection, 5−pin 1−24 Festo P.BE−CPX−FB13−EN en 0503b...
Page 39
Siemens Optical Link Module (OLM) for PROFIBUS plus Siemens Optical Link Plug (OLP) for PROFIBUS (IP20) ® Harting Han−InduNet Media converter IP65 in combina tion with adapter cable for Festo products (optical data transmission in DESINA installation concept). 1−25 Festo P.BE−CPX−FB13−EN en 0503b...
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. A suitable resistor network is incorporated in the housing of this plug (see Fig. 1/7).
The current consumption of a CPX terminal depends on the number and type of integrated modules and components. Read the information on power supply as well as on the earthing measures to be carried out in the CPX system manual. 1−27 Festo P.BE−CPX−FB13−EN en 0503b...
Page 42
5: 24 V EL/SEN 5: 24 V / 24 V 7/8"−5POL : Operating voltage for electronics/sensors EL/SEN Load voltage for outputs Load voltage for valves Tab. 1/10: Pin assignment for system supply, additional supply and valve supply 1−28 Festo P.BE−CPX−FB13−EN en 0503b...
Commissioning Chapter 2 2−1 Festo P.BE−CPX−FB13−EN en 0503b...
Page 44
..... . . 2−41 2.3.1 Faultless commissioning, normal operating status ... . . 2−42 2−2 Festo P.BE−CPX−FB13−EN en 0503b...
Page 45
Information on commissioning the I/O modules, the pneu matic interfaces and MPA pneumatic modules can be found in the manual for the CPX I/O modules (P.BE−CPX−EA−...). Instructions on commissioning the pneumatic components can be found in the relevant pneumatics manual. 2−3 Festo P.BE−CPX−FB13−EN en 0503b...
With each further FREEZE command, the input image is updated and sent again to the master. Return to normal operation: UNFREEZE command 2−4 Festo P.BE−CPX−FB13−EN en 0503b...
Counting from left to right. Depending on the configuration, the field bus node can occupy status information as logical inputs. Outputs Counting is module−orientated, irrespective of the posi tion of the field bus node. Counting from left to right. 2−5 Festo P.BE−CPX−FB13−EN en 0503b...
Page 48
(I: CPX−8DA) Digital multi I/O module 8DI/8DO 1 byte I + 1 byte O (Y: CPX−8DE−8DA) Module identifier in the handheld Identifiers can be grouped together Tab. 2/1: Overview of electric CPX modules (part 1) 2−6 Festo P.BE−CPX−FB13−EN en 0503b...
Page 49
Front−End−Controller FEC Controller 8 bytes I, 8 bytes O CPX−FEC Module identifier in the handheld Number of inputs which can be switched between 2 and 4 Tab. 2/2: Overview of electric CPX modules (part 2) 2−7 Festo P.BE−CPX−FB13−EN en 0503b...
Page 50
, 07 (Remote Controller) 8 bytes I, 8 bytes O (FB13: CPX−8 Byte E/8 Byte A) Module identifier in the handheld Tab. 2/3: Configuration of the field bus node for the operating mode Remote Controller 2−8 Festo P.BE−CPX−FB13−EN en 0503b...
Page 51
(see Fig. 2/1). Further information on MPA pneumatic modules can be found in the manual for the CPX I/O modules (P.BE−CPX−EA−...) and in the information supplied with the relevant pneumatic module. 2−9 Festo P.BE−CPX−FB13−EN en 0503b...
Page 52
4 bits O (VI: CPX−Typ32−G: 1−4V..) Module identifier in the handheld Identifiers can be grouped together Tab. 2/4: Ôverview of identifiers for MPA pneumatic modules and CPX pneumatic interfaces part 1 2−10 Festo P.BE−CPX−FB13−EN en 0503b...
Page 53
1...32 valve coils, 32DO / 23 4 bytes O Module identifier in the handheld Depending on the version of the handheld Tab. 2/5: Ôverview of identifiers for MPA pneumatic modules and CPX pneumatic interfaces part 2 2−11 Festo P.BE−CPX−FB13−EN en 0503b...
Page 54
MPA2 with modules of type MPA2. Between the grouped electric modules there may be any other electric module types. Further information can be found in the following configuration examples: 2−12 Festo P.BE−CPX−FB13−EN en 0503b...
Page 55
4−output module 1...16 valve coils) Valves/CPA pneumatics Fig. 2/2: Example terminal 1 (with CPA pneumatics) Configure the CPX terminal module−by−module from left to right. The following table shows the configuration of the above terminal example: 2−13 Festo P.BE−CPX−FB13−EN en 0503b...
Page 56
The identifier bytes of locations 3 and 5 are grouped together. The identifier with the star symbol is used in location 5. Please note Make sure that the modules are correctly grouped to gether. The project planning software does not make a check. 2−14 Festo P.BE−CPX−FB13−EN en 0503b...
Page 57
Pneumatic interface for MPA pneumatics Fig. 2/3: Example terminal 2 (with MPA1 and MPA2 pneumatics) Configure the CPX terminal module−by−module from left to right. The following table shows the configuration of the above terminal example: 2−15 Festo P.BE−CPX−FB13−EN en 0503b...
Page 58
As no output module with groupable identifier is used in the subsequent locations, 8 bits are assigned here, but only 4 are used. * Identifiers can be grouped together Tab. 2/7: Configuration for example terminal 2 2−16 Festo P.BE−CPX−FB13−EN en 0503b...
Page 59
CPX terminal with CP interface Cylinder (module no. 3) CP output module on CP string 4 CP valve terminal on CP string 1 CP input module Sensor Fig. 2/4: Example terminal 3 (with CP interface) 2−17 Festo P.BE−CPX−FB13−EN en 0503b...
Page 60
Identifier bytes are used (VI: CPX−Typ32: 1−8V..) completely. As no output module with groupable identifier is used in the subsequent locations, 8 bits are assigned here, but only 4 are used. Tab. 2/8: Configuration for example terminal 3 2−18 Festo P.BE−CPX−FB13−EN en 0503b...
You will require one of the following files for the CPX terminal: CPX_059E.GSD (German version) CPX_059E.GSE (international version) Icon files In order to represent the CPX terminal in your configuration software, you will find icon files for Festo CPX terminals at the above−mentioned Internet addresses: Normal operating Diagnostic case Special operating...
(e.g. with Windows Explorer) or loaded via the menu [Options] [Install new GSD]. Please note Update the hardware catalogue if you copy the GSD during work with STEP 7. Menu in HW Config: [Optionss] [Update catalogue] 2−20 Festo P.BE−CPX−FB13−EN en 0503b...
Page 63
4. Insert a DP master system: Right−hand mouse click on DP" under CPU" in the rack. Click on [Insert master system] in the context menu. The line of the DP master system will be displayed. 2−21 Festo P.BE−CPX−FB13−EN en 0503b...
Page 64
\PROFIBUS−DP\Additional Field devices\Valves." The folder Valves" is displayed when you copy the GSD (see step 1 of the preparations). Pull the station type FESTO CPX−Terminal" onto the line of the DP master system 2. The dialogue window Properties PROFIBUS interface"...
Page 65
2. Commissioning Fig. 2/5: Station selection with STEP 7 HW Config (the windows displayed are not all visible at the same time, see text) 2−23 Festo P.BE−CPX−FB13−EN en 0503b...
Page 66
1. Click on the icon of the valve terminal to be configured in HW Config 1. The configuration table will be displayed under the rack 2. 2. Open the module FESTO CPX−Terminal" (folder\PROFIBUS−DP\Additional Field Devices\Valves\...) in the hardware catalogue. 3.
Page 67
2. Commissioning Fig. 2/6: Configuration with STEP 7 Hardware catalogue This concludes the station selection and configuration. 2−25 Festo P.BE−CPX−FB13−EN en 0503b...
Page 68
4DO 8DI Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Ó Field bus node CPX−FB13 CPA pneumatics Pneumatic interface Fig. 2/7: Addressing the example terminal 1 (see also Fig. 2/2) 2−26 Festo P.BE−CPX−FB13−EN en 0503b...
Page 69
(*A: CPX−4DA) CPA pneumatic interface 16DO (VI: CPX−Typ12: 1−16V..) Occupies bits 4...7 of output byte 42 automatically. * Identifiers can be grouped together Tab. 2/10: Input and output addresses for example terminal 1 (see diagram above) 2−27 Festo P.BE−CPX−FB13−EN en 0503b...
Page 70
Addressing example 2: CPX terminal with MPA1 and MPA2 pneumatics Addresses used as from input/output word 42: Module no.: 0 Field bus node CPX−FB13 MPA2 pneumatic modules MPA1 pneumatic modules Fig. 2/8: Addressing the example terminal 2 (see also Fig. 2/3) 2−28 Festo P.BE−CPX−FB13−EN en 0503b...
Page 71
(VI: CPX−Typ32: 1−4V..) MPA2 pneumatic module (45) (VI: CPX−Typ32: 1−4V..) ) Passive module ) Occupies bits 4...7 of output byte 45 automatically Tab. 2/11: Input and output addresses for example terminal 2 (see diagram above) 2−29 Festo P.BE−CPX−FB13−EN en 0503b...
Page 72
Field bus node CPX−FB13 Output module on the CP interface (16 DO) CP modules on the CP interface (inputs and outputs) MPA1 pneumatic modules Fig. 2/9: Addressing the example terminal 3 (see also Fig. 2/4) 2−30 Festo P.BE−CPX−FB13−EN en 0503b...
Page 73
(Y: CPX−8DE−8DA) MPA pneumatic interface (type VMPA−FB−EPL−...) MPA1 pneumatic module (VI: CPX−Typ32: 1−8V..) MPA1 pneumatic module (VI: CPX−Typ32: 1−8V..) ) Passive module Tab. 2/12: Input and output addresses for example terminal 3 (see diagram above) 2−31 Festo P.BE−CPX−FB13−EN en 0503b...
When the field bus system is switched on, the CPX terminal is parametrized as Start parametrizing" by parameter set 1 saved in the PROFIBUS master. The field bus node then dis tributes the parameters module−orientated to the CPX mod ules 2. 2−33 Festo P.BE−CPX−FB13−EN en 0503b...
3. Click on the parameter value which you wish to modify. A list with the possible values will be opened 4. 4. Modify the value by clicking it and confirm this with OK. 2−34 Festo P.BE−CPX−FB13−EN en 0503b...
Page 77
2. Commissioning Fig. 2/12: Setting system parameters with STEP 7 2−35 Festo P.BE−CPX−FB13−EN en 0503b...
Page 78
1. Click on the value of the parameter Diag.Buffer Mode" or Diag.Buffer Error end". A list with the possible values will be opened. 2. Modify the value as follows and confirm this with OK. Fig. 2/13: Parametrizing the diagnostic memory with STEP 7 2−36 Festo P.BE−CPX−FB13−EN en 0503b...
Page 79
Record coming only": Only when a fault occurs, the fault number and the time of the event are recorded. If the fault is eliminated, the time of the event will not be re corded. 2−37 Festo P.BE−CPX−FB13−EN en 0503b...
Page 80
1. The dialogue window Properties DP slave" will be shown. 2. Proceed further as described above under System para meters" in steps 3 and 4. Fig. 2/14: Parametrizing the module with STEP 7 2−38 Festo P.BE−CPX−FB13−EN en 0503b...
The value of these parameters will not be modified when the field bus system is switched on. Values already set with the handheld or via DPV1 are retained. Information on operating the handheld can be found in the manual for the handheld P.BE−CPX−MMI−1−..2−39 Festo P.BE−CPX−FB13−EN en 0503b...
0.1 ms: Shorter signals can also be registered. (applies to the complete module). Modification of the signal lengthening time to 50 ms: The signal will be registered reliably by the controller. (Applies only to the input channel of the 2nd. sensor.) 2−40 Festo P.BE−CPX−FB13−EN en 0503b...
Providing the safety concept of your machine/system per mits, commission the CPX terminal with both operating volt ages (pins 1 and 2) but without compressed air. You can then test the CPX terminal without triggering undesired reac tions. 2−41 Festo P.BE−CPX−FB13−EN en 0503b...
3 of this manual and in the CPX system manual (P.BE−CPX−SYS−...). Colour Operating status Fault treatment Green lights up Normal None Green lights up Normal None LED is out Normal None Tab. 2/13: Normal operating status of the CPX terminal 2−42 Festo P.BE−CPX−FB13−EN en 0503b...
Diagnosis Chapter 3 3−1 Festo P.BE−CPX−FB13−EN en 0503b...
Page 86
... 3−27 3.7.2 Device−related diagnosis with STEP 7 (up to V5.2) ... . . 3−29 3−2 Festo P.BE−CPX−FB13−EN en 0503b...
Page 87
Information on diagnosing the pneumatic interface and the I/O modules can be found in the manual for the CPX I/O mod ules (P.BE−CPX−EA−...). Information on diagnosing the pneumatics can be found in the relevant pneumatics manual. 3−3 Festo P.BE−CPX−FB13−E N en 0503b...
Access to all system data of Extended access to diagnos Appendix A.3 PROFIBUS DPV1 the CPX terminal via the field tic data in the PLC user bus. program (e.g. diagnostic memory). Tab. 3/1: Diagnostic possibilities part 1 3−4 Festo P.BE−CPX−FB13−E N en 0503b...
Page 89
Diagnostic possibilities part 2 Please note Note that the diagnostic information shown can depend on the settings (see section 1.2.2) as well as on the parame trizing (see section 2.2) of the CPX terminal. 3−5 Festo P.BE−CPX−FB13−E N en 0503b...
PS: Power System (green) PL: Power Load (green) SF: System Fault (red) M: Modify (yellow) Fig. 3/1: LEDs of the CPX node The LEDs are represented in their various states as follows: lights up flashes 3−6 Festo P.BE−CPX−FB13−E N en 0503b...
· circuited or faulty field bus connection Faulty configuration configuration of the master in · respect of the modules of the CPX terminal Tab. 3/3: Fault diagnosis with the red LED BF" 3−7 Festo P.BE−CPX−FB13−E N en 0503b...
The load voltage supply will be · LED flashes switched on again automatically when the undervoltage has been eliminated (default) Power Off/On is necessary · Tab. 3/4: Fault diagnosis with the LEDs PS and PL 3−8 Festo P.BE−CPX−FB13−E N en 0503b...
Page 93
The system fault LED flashes depending on the class of fault which has occurred. Fault class 1 (simple fault): one flash, pause Fault class 2 (fault): flash twice, pause Fault class 3 (serious fault): flash three times, pause Tab. 3/5: Fault diagnosis with the LED SF 3−9 Festo P.BE−CPX−FB13−E N en 0503b...
Page 94
4402, Tab. A/15 in the LED flashes appendix). The display of the Force function (LED flashes) has priority over the display of the setting for the system start (LED lights up). Tab. 3/6: Messages of the LED M 3−10 Festo P.BE−CPX−FB13−E N en 0503b...
FB13: DP−Slave−System Diagnosis". Further information can be found here: in the appendix A.3 Access to the CPX terminal via DPV1" in the CPX system manual P.BE−CPX−SYS−... in the chapter Diagnosis and eliminating faults". 3−11 Festo P.BE−CPX−FB13−E N en 0503b...
One bit is reserved per module for displaying a diagnosis. Channel−related diagnosis (see section 3.5.5): module number channel number and type type of diagnosis (fault number). Ó Ó Ó Ó Ó Ó Device−related diagnosis Module−related diagnosis Channel−related diagnosis Fig. 3/2: Diagnostic possibilities 3−12 Festo P.BE−CPX−FB13−E N en 0503b...
The diagnostic information is sent to the master system only if the device−related diagnosis has been activated with the DIL switch. In order to do this, set switch element 8 of the 8−element DIL switch to ON". 3−13 Festo P.BE−CPX−FB13−E N en 0503b...
CPX terminal, is entered in this byte. Ident_number high byte Manufacturer identifier high byte (05 Ident_number low byte Manufacturer identifier low byte (9E Tab. 3/8: Overview of diagnostic bytes: Standard diagnostic information 3−14 Festo P.BE−CPX−FB13−E N en 0503b...
Page 99
11 = Module failed or does not exist (invalid useful data) Module 4...7 Like byte 10 Module 8...10 Like byte 10 (bits 6 and 7 are reserved) 13...21 Reserved Tab. 3/9: Overview of device−related diagnosis (fixed at length of 16 bytes) 3−15 Festo P.BE−CPX−FB13−E N en 0503b...
Page 100
Channel number and input/output Channel−related diagnostic module x byte 3 Fault type and channel type x, y, z: See explanation in the following text. Tab. 3/11: Overview of diagnostic bytes: Channel−related diagnosis (details in section 3.5.5) 3−16 Festo P.BE−CPX−FB13−E N en 0503b...
Page 101
If there are several channel−orientated faults on a module, only the diagnostic message of the channel with the lowest channel number will be entered. Maximum 11 diagnostic messages can be processed. 3−17 Festo P.BE−CPX−FB13−E N en 0503b...
1 = CPX terminal does not support the function requested Diag.Invalid_Slave_Response Always 0 (set by the CPX terminal) Diag.Prm_Fault Last parametrizing telegram faulty Diag.Master_Lock Always 0 (set by the CPX terminal) bold = CPX terminal related bits Tab. 3/12: Diagnostic bits Station status_1 3−18 Festo P.BE−CPX−FB13−E N en 0503b...
Page 103
Explanation 0...6 Reserved Diag.Ext_Diag_Overflow 1 = The CPX terminal has more diagnostic messages than can be buffered or the master receives more diagnostic messages than it can buffer. Tab. 3/14: Diagnostic bits station status_3 3−19 Festo P.BE−CPX−FB13−E N en 0503b...
Module 7 has diagnosis Fig. 3/5: Module−related diagnosis 3.5.5 Channel−related diagnosis 3 bytes of diagnostic data are available for each channel: Byte 1: Module number Byte 2: Channel number Byte 3: Type of diagnosis 3−20 Festo P.BE−CPX−FB13−E N en 0503b...
Page 105
000 = reserved 100 = 1 byte 001 = 1 bit 101 = 1 word 010 = 2 bits 110 = 2 words 011 = 4 bits 111 = reserved Fig. 3/8: Channel−related diagnostic byte 3 3−21 Festo P.BE−CPX−FB13−E N en 0503b...
Page 106
Reserved Faulty actuator supply Reserved Reserved Reserved Reserved Reserved Reserved Reserved Slave has no bus connection Reserved Channel failed bold = relevant for CPX−FB13 Tab. 3/15: Fault types (byte 3 of the channel−related diagnosis) 3−22 Festo P.BE−CPX−FB13−E N en 0503b...
Single−solenoid valves move to the basic position. Double−solenoid valves remain in the current position. Mid−position valves move to the mid−position (depend ing on valve type: pressurized, exhausted or blocked). 3−23 Festo P.BE−CPX−FB13−E N en 0503b...
Response monitoring". For the operating modes named, the specified time corresponds to the drop−out time of the valves and electrical outputs. Further details on response monitoring can be found in the relevant controller manuals. 3−24 Festo P.BE−CPX−FB13−E N en 0503b...
Page 109
OB is diagnosis programmed OB86 Reaction to failure of a DP slave Default OB is programmed QVZ: quitting delay, OB: organisation module, PEU: peripherals not clear Tab. 3/16: Fault reaction STOP and RUN with S5/S7 3−25 Festo P.BE−CPX−FB13−E N en 0503b...
Page 110
When faults occur, output fault code RET_VAL:=MW100 Pointer at start of data range for diagnosis RECORD:=P#M110.0 BYTE 64 and maximum length of the diagnostic data Read procedure finished BUSY:=M10.0 Fig. 3/9: Programming example in STL 3−26 Festo P.BE−CPX−FB13−E N en 0503b...
4. Click on the register Diagnostic Buffer" 4. 5. Click on the event and read the details 5. Here you will find more detailed information on the further procedure, depending on the S7 controller used. 3−27 Festo P.BE−CPX−FB13−E N en 0503b...
Page 112
3. Diagnosis Fig. 3/10: Online diagnosis via the diagnostic buffer (explanation see text) 3−28 Festo P.BE−CPX−FB13−E N en 0503b...
CPX terminal 1. Click on Module information" in the con text menu which now appears. The dialogue window Module information" now appears. 3. Select the register DP Slave Diagnostics". 4. Read the diagnostic information 2. 3−29 Festo P.BE−CPX−FB13−E N en 0503b...
Page 114
3. Diagnosis Fig. 3/11: Device−related diagnosis with STEP 7 V5.1 (explanation see text) 3−30 Festo P.BE−CPX−FB13−E N en 0503b...
Page 115
Technical appendix Appendix A A−1 Festo P.BE−CPX−FB13−EN en 0503b...
Power supply Operating voltage / load voltage See CPX system manual P.BE−CPX−SYS−... Current consumption of field bus node CPX−FB13 of operating voltage supply for electronics/sensors Max. 200 mA (only CPX−FB13) el/sen Electrical isolation Bus interface opto−decoupled A−3 Festo P.BE−CPX−FB13−EN en 0503b...
Page 118
Serial asynchronous, half duplex Protocol PROFIBUS−DP Transmission speed 9.6 ... 12000 kBaud, automatic baud rate recognition Cable type Depends on the cable length and on the set field bus baud rate: see the manual for your controller A−4 Festo P.BE−CPX−FB13−EN en 0503b...
A. Technical appendix Operation with the general DP master The Festo CPX terminal can be controlled from any PLC, PC or industrial PC with a PROFIBUS−DP module in accordance with EN 50170. Further information Read the information on the following themes in the appropriate sections: GSD: section 2.1.3...
Page 120
PROFIBUS master to the field bus node. An exchange of individual CPX modules is therefore possible without the need for manual parametrizing. A−6 Festo P.BE−CPX−FB13−EN en 0503b...
Bit 6 Explanation Lock_Req min T + slave parameter may be overwritten CPX terminal released for other masters CPX terminal blocked for other masters CPX terminal released for other masters Tab. A/1: Octet 1: Station status A−7 Festo P.BE−CPX−FB13−EN en 0503b...
Page 122
Not supported by the CPX terminal 8...198 User_Prm_Data Information on the slave−specific parameters can be found in section and the CPX system manual P.BE−CPX−SYS−... as well as in the manual for the I/O modules P.BE−CPX−EA−..Tab. A/2: Octets 2...198 A−8 Festo P.BE−CPX−FB13−EN en 0503b...
A. Technical appendix A.2.3 Check the configuration data Chk_Cfg The configuration data are transferred to the CPX terminal by the DP master with the function Chk_Cfg. Permitted identifiers for the Festo CPX terminal: Module (order code) Module Occupied bytes Identifier...
Page 124
FEC Controller 8 bytes I, 8 bytes O CPX−FEC Module identifier in the handheld Number of inputs which can be switched between 2 and 4 Identifiers can be grouped together Tab. A/4: Overview of electric CPX modules (part 2) A−10 Festo P.BE−CPX−FB13−EN en 0503b...
Page 125
4 bits O (VI: CPX type 32−G: 1−4V..) Module identifier in the handheld Identifiers can be grouped together Tab. A/5: Overview of identifiers for MPA pneumatic modules and CPX pneumatic interfaces part 1 A−11 Festo P.BE−CPX−FB13−EN en 0503b...
Page 126
3 bytes O 1...32 valve coils, 4 bytes O Module identifier in the handheld Depending on the version of the handheld Tab. A/6: Overview of identifiers for MPA pneumatic modules and CPX pneumatic interfaces part 2 A−12 Festo P.BE−CPX−FB13−EN en 0503b...
Page 127
(VI: CPX type 12: 1−16VS) correspond to the pneumatic equipment fitted. * Identifiers can be grouped together Tab. A/7: Example of the configuration of a CPX terminal (see Fig. 2/2) with different modules and CPA pneumatics A−13 Festo P.BE−CPX−FB13−EN en 0503b...
Please note With the function Data_Exchange, the CPX terminal ex pects the output information for the valves and electric outputs. The input data are sent to the master as a reply telegram. A−14 Festo P.BE−CPX−FB13−EN en 0503b...
Page 129
Two 4DO modules are grouped together in this byte. x, y, z, u, v, w = Address offset of master module Tab. A/8: Cyclic exchange of data for example 1 (CPX with CPA, see Fig. 2/2) A−15 Festo P.BE−CPX−FB13−EN en 0503b...
Page 130
Only the first 4 bits in this byte are used. x, y, z, s = Address offset of master module Tab. A/9: Cyclic exchange of data for example 2 (CPX with MPA, see Fig. 2/3) A−16 Festo P.BE−CPX−FB13−EN en 0503b...
Page 131
Only the first 4 bits in this byte are used. x, y, u, v = Address offset of master module Tab. A/10: Cyclic data exchange for examp. 3 part 1 (CPX with CP interface, see Fig. 2/4) A−17 Festo P.BE−CPX−FB13−EN en 0503b...
Page 132
Bit 7: Output t.7 Only 4 bits are used in this byte. y, z, s, t, v, w ... = Address offset of master module Tab. A/11: Cyclic data exchange for example 3 part 2 A−18 Festo P.BE−CPX−FB13−EN en 0503b...
With the function Set_Prm you can determine the watchdog time (WD_Fact_1, Octet 2, WD_Fact_2, Octet 3). The reaction of the CPX terminal in the event of a fault (e. g. a bus failure) depends on the parametrizing (see section 3.6.). A−19 Festo P.BE−CPX−FB13−EN en 0503b...
You can access the DPV1 services with the following functions: MSAC_C1: For masters of class 1 (e.g. PLC), fixed service access points. MSAC_C2: For masters of class 2 (e.g. PC/programmer), dynamic use, service access points are specified when connec tions are set up. A−20 Festo P.BE−CPX−FB13−EN en 0503b...
The delay time within the CPX terminal is very brief. It is con siderably less than 1 ms, irrespective of the equipment fitted on your CPX terminal. Please refer to the manual for your controller for ascertaining the total time required for transmission. A−21 Festo P.BE−CPX−FB13−EN en 0503b...
SFB 53 WRREC DP_WRREC DPV1 compatibility S7 compatible" S7 compatible" Standard" IEC 61131−3 EN 50170 Parametrizing the field bus node as in the following section. Tab. A/14: Overview of function modules for reading and writing data records A−22 Festo P.BE−CPX−FB13−EN en 0503b...
Page 137
The dialogue window Properties DP slave" will be displayed. 2. Select the register Parameter Assignment" and modify the value of the DPV1 Services" to S7 compatible" (see following diagram). 3. Confirm with OK. Fig. A/1: Setting the compatibility for accessing the DPV1 A−23 Festo P.BE−CPX−FB13−EN en 0503b...
Page 138
Pointer at start of data range for diagnosis RECORD :=P#M130.0 BYTE 8 and length of diagnostic data If faults occur, output fault code RET_VAL :=MW102 Writing in process BUSY :=M10.1 Fig. A/3: Example program for transmitting the diagnostic memory status A−24 Festo P.BE−CPX−FB13−EN en 0503b...
Page 139
Access identifier or fault code STATUS :=MD206 Source range for the data record and max. data record RECORD :=P#M230.0 BYTE 10 length to be written Fig. A/5: Example program for transmitting the diagnostic memory status A−25 Festo P.BE−CPX−FB13−EN en 0503b...
Page 140
A. Technical appendix Standard For standard−conform access to the data records, set the DPV1 compatibility to Standard" (see above under Setting the DPV1 compatibility"). Use function module DP_RDREC for reading and DP_WRREC for writing data. A−26 Festo P.BE−CPX−FB13−EN en 0503b...
Page 141
The following tables show the relationship between access to parameters and data via DPV1 and via the function numbers. Further information on the function numbers can be found in the appendix to the CPX system manual P.BE−CPX−SYS−..A−27 Festo P.BE−CPX−FB13−EN en 0503b...
Page 143
Read Box and the Write Box. Slot 3: Indexed addressing of the objects Index Name Length Access Data record Function no. [byte] number Command box Read Box Write Box Siemens S7 Tab. A/17: Slot 3: Indexed addressing of the objects A−29 Festo P.BE−CPX−FB13−EN en 0503b...
Page 144
Module fault state Module force Outputs Module force Outputs Module force Inputs Module force Inputs m = module number (counting from left to right, beginning with 0) Siemens S7 Tab. A/18: Module data and parameters A−30 Festo P.BE−CPX−FB13−EN en 0503b...
Page 145
In the following, entry 0 of the diagnostic memory will be read out indirectly via the command box. 1. Assign the command box as follows: Byte Contents Slot no. Index no. Offset Example 2. Read out the diagnostic memory with the Read Box. A−31 Festo P.BE−CPX−FB13−EN en 0503b...
Page 146
A. Technical appendix A−32 Festo P.BE−CPX−FB13−EN en 0503b...
Page 147
Index Appendix B B−1 Festo P.BE−CPX−FB13−EN en 0503b...
Page 148
............B−1 B−2 Festo P.BE−CPX−FB13−EN en 0503b...
Page 149
Designated use ........B−3 Festo P.BE−CPX−FB13−EN en 0503b...
Page 150
General DP master ....... A−5 B−4 Festo P.BE−CPX−FB13−EN en 0503b...
Page 151
......2−36 Example of application ......2−40 B−5 Festo P.BE−CPX−FB13−EN en 0503b...
Need help?
Do you have a question about the CPX-FB13 and is the answer not in the manual?
Questions and answers