B.3Communication profile in accordance with DS 30167...............................
B.4Device profile for generic I/O modules in accordance with DS 40172...................
B.5Festo profile for CPX terminals (dynamic equipment configuration)76..................
Festo – P.BE-CPX-FB40-EN – 1408NH – English5
Page 6
Bus node CPX-FB40
Notes on this documentation
This description includes specific information about installation, commissioning and diagnostics of the
CPX bus node for Ethernet POWERLINK as well as Ethernet POWERLINK-specific information regarding
parameterisation, commissioning, programming and diagnostics of a CPX terminal in an Ethernet
POWERLINK network.
Additional information on Ethernet POWERLINK can be found in the Internet:
www.ethernet-powerlink.org
Product identification, versions
General basic information about the mode of operation, mounting, installation and commissioning of
CPX t erminals can be found in the CPX system description ( P.BE-CPX-SYS-…).
Information about additional CPX modules can be found in the description for th e respective module.
All documents can also be found in the Internet ( www.festo.com).
Service
Please consult your regional Festo contact if you have any technical problems.
6Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 7
1Safety and requirements for product use
1Safety and requirements for product use
1.1Safety
1.1.1General safety information
• The general safety information in the corresponding cha pters must be observed.
Special safety and danger warnings are written directly before the action instruction.
Note
Damage to the product from incorrect handling
• Switch off the supply voltage before mounting and installation work. S witch on
supply voltage only when mounting and installation work are completely finished.
• Never unplug or plug in a product wh en powered!
• Observe the handling specifications for electrostatically sensitive devices.
1.1.2Intended use
The module described in this document, in combination with a CPX terminal, permits connection as a
participant in an Ethernet POWERLINK network.
The module is intended for use in an industrial environment. Outside of industrial environments, e.g. in
commercial and mixed-residential areas, actions to suppress interference may have to be taken.
The module is intended exclusively for use in CPX terminals from Festo for installation in machines or
automated systems and may be used only in the following ways:
– in perfect technical condition
– in original status without unauthorised modifications, except for the adaptations described in this
documentation
– within the limits of the product defined through the technical data ( A.1 Technical data).
Festo – P.BE-CPX-FB40-EN – 1408NH – English7
Page 8
1Safety and requirements for product use
Warnin g
Electric shock
Injury to people, damage to the machine and system
• For the electrical power supply, use only PELV circuits in accordance with
IEC 60204-1 (Protective Extra-Low Voltage, PELV).
• Observe the general requirements of IEC 60204-1 for PE LV circuits.
• Use only voltage sources which guarantee reliable electrical isolation of the operating and load voltage in accordance with IEC 60204-1.
• Always connect all circuits for operating and load voltage supply U
U
VAL
and U
OUT
.
EL/SEN
,
Through the use of PELV circuits, protection against electric shock (pro tection against direct and indirect c ontact) is ensured in accordance with I EC 60204-1.
Observe the information on power supply as well as on the earthing measures to be carried out in the CPX system description ( P.BE-CPX-SYS-…).
Note
In the event of damage caused by unauthorised manipulation or other than intended
use, the guarantee is invalidated and the manufacturer is not liable for damages.
1.2Re quirements for product use
• Make this documentation available to the design engineer, installer and personnel responsible for
commissioning the machine or system in which this product is used.
• Make sure that the specifications of the documentation are always complied with. Consider also the
documentation for other components and modules (e.g. CPX system description P.BE-CPX-SYS-…).
• Take into consideration the legal regulations applicable for the destination, as well as:
– regulations and standards
– regulations of the testing organizations and insurers
– national specifications.
8Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 9
1Safety and requirements for product use
1.2.1Technical prerequisites
General notes for the correct and safe use of the product, which must be obser ved at all times:
• Comply with the connection and environmental conditions specified in the technical data of the
product ( A.1 Technical data) and of all connected components.
Only compliance with the limit values or load limits permits operation of the product in accordance
with the relevant safety regulations.
• Observe the notes and warnings in this documentation.
1.2.2Qualification of specialists (personnel requirements)
This description is directed exclusively to technicians trained in control and automation technology,
who are experienced in:
– installation, commissioning, programming and diagnostics of programmable logic controllers (PLC)
and fieldbus systems
– the applicable regulations for operating safety-engineered systems
– the applicable regulations for accident protection and operational reliability
– the documentation for the product.
1.2.3Range of application and certifications
Standards and test values, which the product complies with and fulfils, can be found in the “Technical
data” section ( Appendix A.1). The product-relevant EU directives can be found in the declaration of
conformity.
Certificates and declaration of conformity on this product c an be found at www.festo.com.
Festo – P.BE-CPX-FB40-EN – 1408NH – English9
Page 10
2Installati on
2Installation
2.1General notes on installation
Warnin g
• Before carrying out installation and maintenance work, switch off the following:
– compressed air supply
– operating voltage supply for the electronics/sensors
– load voltage supply for the outputs/valves.
In this way, you can avoid
– uncontrolled movements of loose tubing
– accidental movements of the connected actuator technology
– undefined switching statuses of the electronics.
Caution
The CPX bus node contains electrostatically sensitive devices.
• Therefore, do not touch any components.
• Observe the handling specifications for electrostatically sensitive devices.
They will help you avoid damage to the electronics.
Note
Ensuring degree of protection IP65/IP67
• Use connection technology with degree of protection IP65/IP67
( www.festo.com/catalogue, examples in Tab. 2.1).
• Use cover ca ps to seal unused connections
( 2.3.3 Complying with degree of protection IP65/IP67).
10Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 11
2Installati on
2.2Electrical connections and indicators
On the bus node, you will find the following connections and displays:
3) Adapter NEFC-M12G5-0.3-U1G5 for parameterisation via a
USB connection
Fig. 2.1
5
4
1
2
3
Festo – P.BE-CPX-FB40-EN – 1408NH – English11
Page 12
2Installati on
2.3Mounting and dismantling
Warnin g
Electric shock
Injury to people, damage to the machine and system
• Switch supply power off before assembly work.
2.3.1Mounting
Note
Material damage due to incorre ct mounting
• Select screws that are suitable for the material of the interlinking block:
– plastic: Thread-cutting tapping screws
– metal: Screws with metric thread.
When orde ring a single module without a CPX terminal, all required screws are supplied.
1. Check seal and sealing surface. Replace damaged parts.
2. Push the module carefully and without tilting
into the interlinking block up to the stop.
3. Turn the screws into the existing thread.
4. Tighten t he screws in diagonally opposite sequence. Tightening torque: 0.9 … 1.1 Nm.
1Screws
2Module
3Interlinking block
Fig. 2.2
2.3.2Dismantling
1. Unscrew screws.
2. Pull the module without tilting out of the interlinking block.
1
2
3
12Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 13
2Installati on
2.3.3Complying with degree of protection IP65/IP67
• Use connection devices with degree of protection IP65/IP67 ( www.festo.com/catalogue,
examples in Tab. 2.1).
• Use cover ca ps to seal unused connections.
Port
Connection technologyCover cap
Network connectionPlug NECU-M-S-D12G4-C2-ETISK-M12
Service interfaceConnecting cable KV-M12-M12-…
1) Connecting cable for operator unit (CPX-MMI)
2) Included in the scope of delivery
1)
Tab. 2 .1
2)
Festo – P.BE-CPX-FB40-EN – 1408NH – English13
Page 14
2Installati on
2.4Settings of the DIL switches on the bus node
In order to set the bus node, you must first remove the cover for the DIL switches.
Caution
The CPX bus node contains electrostatically sensitive devices.
• Therefore, do not touch any components.
• Observe the handling specifications for electrostatically sensitive devices.
They will help you avoid damage to the electronics.
2.4.1Removing and attaching the DIL switch cover
• Use an appropriate tool to remove or attach the DIL switch cover.
Note
Observe the following notes when removing or attaching the DIL switch cover:
• Disconnect the power supply before removing the cover.
• Make sure that the seal is seated correctly when attaching the cover!
• Tighten the two mounting screws with a max. torque of 0.4 Nm.
2.4.2Arrangement of the DIL s witches
There are 3 DIL switches available for configuring the bus node. They are located underneath the DIL
switch cover ( Section 2.4.1).
1) The function is dependent on the set operating mode ( DIL switch 1)
Fig. 2.3
3
14Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 15
2Installati on
2.4.3Setting the DIL switches
1. Switch off the power supply.
2. Remove the DIL switch cover ( 2.4.1).
3. Perform the required settings ( 2.4.4 … 2.4.7).
4. Attach the DIL switch cover again ( 2.4.1).
Note
Parameterisation via DIL switch settings is taken over only when the power supply is
switched on.
2.4.4Setting the operating mode
You set the operating mode of the bus node with DIL switch element 1.1 of DIL switch 1.
Operating mode
Remote I/O operating mode
All functions of the CPX terminal are controlled directly by the
Ethernet POWERLINK controller or a higher-order PLC/IPC. The
bus node thereby takes over the connection to the Ethernet
POWERLINK network.
Remote Controller operating mode
An F EC or CEC integrated into the CPX terminal controls all functions of the CPX terminal, i.e. the FEC or CEC undertakes the I/O
control. The bus node thereby takes over the connection to the
EHTERNET POWERLINK network.
Tab. 2 .2
Note
Setting of the operating mode via DIL switch 1 has priority over all other settings.
The diagnostic mode is available only in the remote I/O operating mode.
Diagnostic mode (remote I/O operating mode)
Setting DIL switch 2
I/O diagnostics interface and status bits are switched off2.1:OFF
2.2:OFF
(factory setting)
I/O diagnostics interface is switched on
1)
2.1:ON
2.2:OFF
Status bits are switched on
2)
2.1:OFF
2.2:ON
Reserved2.1:ON
2.2:ON
1) The I/O diagnostic interface occupies an additional 16 input and 16 output bits
2) The status bits occupy an additional 16 input bits
Tab. 2 .3
Note
The diagnost ics mode re duces the available address space.
• When planning your CPX terminal, consider that the number of input and output bits
available for communication is reduced with usage of the diagnostic mode.
Subsequent activation of the diagnostics mode requires a reconfiguration.
• Observe that the CPX-internal I/O image can be displaced during subsequent ac tivation of the diagnostics mode.
• In this case, repeat the Ethernet POWERLINK network configuration.
16Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 17
2Installati on
2.4.6Setting of the I/O mode (remote controller)
The I/O mode is available only in the remote controller operating mode.
Number of I/O bytes (remote controller operating mode)
8 byte I/8 byte O for c ommunication of the bus node with the
CPX-FEC or CPX-CEC.
Setting DIL switch 2
2.1:OFF
2.2:OFF
(factory setting)
Reserved2.1:ON
2.2:OFF
16 byte I/16 byte O for c ommunication of the bus node with the
CPX-FEC or CPX-CEC.
2.1:OFF
2.2:ON
Reserved2.1:ON
2.2:ON
Tab. 2 .4
2.4.7Setting the station number
The station number is set binary coded using the DIL switch elements 3.1 to 3.8.
Station number
Permissible station numbers: 1 … 239
Factory setting: 1
Setting DIL switch 3
3.8:2
3.7:2
3.6:2
3.5:2
3.4:2
3.3:2
3.2:2
12 34 56 78
3.1:2
7
6
5
4
3
2
1
0
128
64
32
16
8
4
2
1
Tab. 2 .5
Station 05
Station 38Station 55Station 106Station 239
–
–
–
–
–
4
+
–
1234 56 78
+
1
Address:
5
Address:
Tab. 2 .6
Festo – P.BE-CPX-FB40-EN – 1408NH – English17
1234 56 78
1234 56 78
–
+
64
+
32
–
+
8
–
+
2
–
106
Address:
–
–
+
32
–
–
+
4
+
2
–
38
Address:
1234 56 78
–
–
+
32
+
16
–
+
4
+
2
+
1
55
Address:
1234 56 78
+
128
+
64
32
+
–
+
8
4
+
+
2
+
1
239
Page 18
2Installati on
2.5Connecting to the network
2.5.1General information about networks
Note
Sub-assemblies with Ethernet interfaces should only be operated in networks if all connected network components are supplied by PELV circuits or integrated power circuits
with equivalent protection.
Installation guidelines
The installation guidelines can be obtained via the POWERLINK user organisation
( http://www.ethernet-powerlink.org, EPSG Draft Standard DS 301, „Communication
Profile Specification“ „Physical Layer“).
Note
Guarantee of real-time transmission
• Use in your network hubs instead of switches and routers.
2.5.2Overview of connection technology and network plugs
Note
Faulty installation and high transmission rates may cause data transmission errors as a
result of signal reflections and attenuations.
• Observe the cable specification ( Tab. 2.8).
Transmission errors can be cause d by:
– faulty screened connection
–branches
– transmission over distances which are too long
– unsuitable cables.
Connection technology
2 x M12-socket, D-coded, 4-pin,
Network connectors
Plug NECU-M-S-D12G4-C2-ET
corresponding to IEC 61076-2, SPEEDCON compatible
Tab. 2 .7
18Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 19
2Installati on
2.5.3Cable specification
• Use shielded Industrial Ethernet lines of category Cat 5 or better.
The bus node supports the “crossover detection” function (Auto-MDI/MDI-X).
Patch cables or crossover cables can be optionally used for connecting the bus node to
your network or a PC.
The circuitry of the network connections X1 and X2 is adjusted automatically.
1) Required for maximum connection length between the network participants
2) corresponding to specification for Ethernet networks, based on ISO/IEC 11801, ANSI/TIA/EIA-568
2)
1)
Tab. 2 .8
Note
When mounting the CPX terminal on a moving part of a machine:
• Provide the network cables with strain relief.
• Observe the corresponding regulations of IEC 60204.
2.5.4Network connections
There are two 4-pin, D-coded M12 sockets on the bus node for the network connection. The sockets are
compatible with SPEEDCON plugs.
Socket
M12, 4-pinPin
1)
Connection [X1]/[X2]
SignalExplanation
1) Functional earth is accomplished via the housing.
Tab. 2 .9
Functional earth
Note
The screened connection of the two network connections is connected to the earth
potential of the CPX terminal through an RC element.
• Connect the earth c onnection on the left end plate of the CPX-terminal with the
earth potential over a large surface.
Festo – P.BE-CPX-FB40-EN – 1408NH – English19
1
2
3
4
TD+
RD+
TD–
RD–
Transmitted data +
Received data +
Transmitted data –
Received data –
Page 20
2Installati on
2.5.5Setting the IP address
The I P address of the bus node consists of 4 octets: 192.168.100.[node ID]
The octets 1 … 3 are fixed and cannot be changed.
The octet 4 (node ID) is set through DIL switch 3 (factory setting: 1).
Permissible values: 1 … 239
Examples
IP address
192.168.100.005192.168.100.038192.168.100.055
–
–
–
–
–
+
4
–
1234 56 78
+
1
Tab. 2.10
Subnet mask
The subnet mask is always 255.255.255.0.
Gateway address
The gateway address is set at the factory to 192.168.100.240 and can be changed via
CPX parameters or A S startup parameters.
1234 56 78
–
–
+
32
–
–
4
+
+
2
–
1234 56 78
–
–
+
32
16
+
–
4
+
+
2
+
1
20Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 21
2Installati on
2.5.6Webserver function
A web server is integrated in the bus node CPX-FB40. It makes available read access to the most important parameters and diagnostic functions of the CPX terminal.
Procedure
1. Open an Internet browser of your choice on a PC that is connected to the network.
2. In the address bar of the I nternet browser, enter the IP address of the bus node as follows:
http://192.168.100.[Station number]
Fig. 2.4
2.6Power supply
The operating and load voltage supply is fed in via the interlinking block
( CPX system description P.BE-CPX-SYS-…).
Warnin g
Electric shock
Injury to people, damage to the machine and system
• For the electrical power supply, use only PELV circuits in acco rdance with
IEC 60204-1 (Protective Extra-Low Voltage, PELV).
• Observe the general requirements of I EC 60204-1 for PE LV circuits.
• Use only voltage sources which guarantee reliable electrical isolation of the operating and load voltage in accordance with I EC 60204-1.
• Always connect all circuits for operating and load voltage supply U
U
VAL
and U
OUT
.
Through the use of PELV circuits, protection against electric shock (pro tection against direct and indirect c ontact) is ensured in accordance with I EC 60204-1.
Observe the information on power supply as well as on the earthing measures to be
carried out in the CPX system description ( P.BE-CPX-SYS-…).
EL/SEN
,
Festo – P.BE-CPX-FB40-EN – 1408NH – English21
Page 22
3Commissioning
3Commissioning
Note
Only commission a correctly installed CPX terminal ( 2 Installation).
– General information on commissioning the CPX terminal as well as a detailed
description of individual parameters is found in the CPX system description
( P.BE-CPX-SYS-…).
– Information on commissioning the pneumatic interfaces and I/O modules is found in
the description for the CPX I/O modules ( P.BE-CPX-EA-…).
– Notes on commissioning the pneumatic components can be found in the correspond-
ing pneumatics description.
3.1Address assignment
A CPX terminal consists of a different number of inputs and outputs, depending on your order and the
configuration of the bus node.
The inputs and outputs are assigned automatically within the CPX terminal.
Warnin g
Uncontrolled movement of the actuators, undefined switching statuses.
Injury to people, damage to the machine and system.
ThebytesequenceoftheprocessdataisLittleEndian.
• Make sure that the process data are correctly interpreted.
Note
– Including the bus node, a maximum of 10 electric modules plus a pneumatic inter-
face or MPA pneumatic module is permitted in a CPX terminal.
– The address space of a CPX terminal is limited. The bus node provides the CPX ter-
minal a maximum address space of 64 bytes for inputs and 64 bytes for outputs.
– An activated diagnostic mode reduces the number of available I/O bytes.
– Each module of the CPX ter minal occupies a spec ific number of bits, bytes or words
for module communication.
• Determine the address assignment or number of assigned inputs and outputs of your CPX terminal
with a generic configuration.
Use Tab. 3.5 to determine the address assignment or number of assigned inputs and outputs of your CPX terminal. The number of occupied inputs and outputs of the respective
module can be found in the following tables:
– bus node ( Tab. 3.1)
– analogue modules ( Tab. 3.2)
– technology modules ( Tab. 3.3)
– digital modules ( Ta b . 3. 4 ).
22Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 23
3Commissioning
3.1.1Bus node
Bus node CPX-FB40
in operating mode
Module typeModule
identifiers
Allocated address space
1)
InputsOutputs
Remote I/O
without diagnostics modeCPX-FB40FB-40––
With status bitsCPX-FB40FB-401x 16 bit
with I/O diagnostics
CPX-FB40FB-401x 16 bit1x 16 bit
2)
–
interface
Remote controllerCPX-FB40FB-40-RC8x 8 bit
8x 16 bit
1) Module identifier in the operator unit or in the hardware configuration of the programming software
2) Diagnostics mode status bits occupies 2 bytes of address space (8 inputs or 8 bits remain unused)
3) Assigned address space is dependent on the setting of the DIL switch 2.1
for valve terminal MPA-SVMPA-FB-EPL-…–––
for valve terminal MPA-FVMPAF-FB-EPL-…–––
For valve terminal MPA-LVMPAL-FB-EPL-…
1 ... 4 solenoid coils––8x 1 bit
1 ... 8 solenoid coils––8x 1 bit
1 ... 16 solenoid coils––16x 1 bit
1 ... 24 solenoid coils––24x 1 bit
1 ... 32 solenoid coils––32x 1 bit
Pneumatic interface
for valv e terminal VTSA-/VTSA-F
with setting:
5)
VABA-…VTSA -
type44/45
1 ... 8 solenoid coils–8x 1 bit
1 ... 16 solenoid coils–16x 1 bit
1 ... 24 solenoid coils–24x 1 bit
1 ... 32 solenoid coils–32x 1 bit
OutputsInputs
3)
4)
1) Module identifier in the operator unit or in the hardware configuration of the programming software
2) Digital 4-fold modules (CPX-4DE and CPX-4DA) always occupy 8 inputs or 8 outputs.
3) Electronic/electrical modules VMPA1 always occupy 8 outputs independent of the number of attached valves.
4) Electronic/electrical modules VMPA2 always occupy 8 outputs, although only 4 bits are used.
5) Setting via DIL switches of the pneumatic interface.
Tab. 3 .4
– The address assignment within the individual CPX I/O modules can be found in the
description for the I/O modules ( P.BE-CPX-EA-…).
– Information about pneumatic interfaces and pneumatic modules can be found in the
corresponding pneumat ics descriptions.
– An overview of the “Descriptions of the CPX terminal” documentation can be found in
the CPX system description ( P.BE-CPX-SYS-…).
– From the technical point of view, the individual pneumatic modules each represent an
electric module for controlling the attached valves.
26Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 27
3Commissioning
3.1.5Determination of the address ass ignment
Use Tab. 3.5 to determine the address assignment or number of assigned inputs and outputs of your CPX terminal.
Modules (analogue/digital) and diagnostics mode
InputsOutputs
Bus node
With status bits+ 16 I+ _____ I
with I/O diagnostics interface+ 16 I/O+ _____ I+ _____ O
Analogue modules
CPX-2AE-U-I+ ___ x 32 I+ _____ I
CPX-4AE-I, CPX-4AE-U-I, CPX-4AE-P-…, CPX-4AE-TC+ ___ x 64 I+ _____ I
CPX-4AE-T+ _ _ _ x 32/64 I
1)
+ _____ I
CPX-2AA-U-I+ ___ x 32 O+ _____ O
VMPA-FB-PS-… (pressure sensors)+ ___ x 16 I+ _____ I
VPPM-…TA-L-1-F… (Proportional pressure regulators)+ __ x 16 I/O+ _____ I+ _____ O
Technology modules
e.g. CPX-CMAX-C1-1, CPX-2ZE2DA, CPX-CP-4-FB+ ___ I/O+ _____ I+ _____ O
Digital modules
CPX-4DE, CPX-8DE, CPX-8NDE, CPX-8DE-D+ ___ x 8 I
2)
+ _____ I
CPX-16DE, CPX-M-16DE-D, CPX-L-16DE-16-KL-3POL+ ___ x 16 I+ _____ I
CPX-4DA, CPX-8DA, CPX-8DA-H+ ___ x 8 O
2)
+ _____ O
CPX-8DE-8DA, CPX-L-8DE-8DA-16-KL-3POL+ __ x 8 I/O+ _____ I+ _____ O
VMPA1-…, VMPA2-… (Pneumatic modules)+ ___ x 8 O
2)
+ _____ O
VMPAL-…, VABA-… (pneumatic interfaces)
Number of configured valve solenoid coils (+ 8 O … 32 O)
3)
+ _____ O
Sum total of the assigned inputs and outputs of your CPX terminal
(maximum 512 I and 512 O):
1) The number of inputs is dependent on the setting.
2) Digital modules with 4 inputs or outputs (CPX-4DE, CPX-4DA) as well as electric modules and electronic modules VMPA2 always
occupy 8 inputs or 8 outputs.
3) At the factory, 32 O (VABA, VMPAL) are configured.
= _____ I= _____ O
Tab. 3 .5
Festo – P.BE-CPX-FB40-EN – 1408NH – English27
Page 28
3Commissioning
3.2Addressing
3.2.1Basic rules for addressing
– The address assignment of t he inputs does not depend on the address assignment of the outputs.
– Counting is byte-wise from left to right, in ascending order without gaps.
Even modules with less than 8 bits occupy 8 bits of address space, but do not use all this space.
– The bus node counts as a module with 0 inputs and 0 outputs when the status bits and the I/O
diagnostic interface are deactivated.
Note
Address assignment with activated status bits or activated I/O diagnostics interface.
– If the 8 status bits are activated, these occ upy the first 16 inputs in the address
range, although only 8 inputs are used.
– If the I/O diagnostics interface is activated, it will occupy the first 16 inputs and
outputs in the address range.
– The inputs and outputs of different module types are assigned separately from each other, whereby
the following sequence applies ( Tab. 3.6):
Sequence of addressing
1. Status bits or I/O diagnostics interface
1)
Description
Diagnostics mode, if activated
2. Analogue modulesModules with analogue inputs/outputs
4. Digital modulesModules with digital inputs/outputs
1) Status bits and I/O diagnostics interface can be activated via DIL switch 2 ( 2.4.5 Setting of the diagnostic mode (Remote I/O)).
Tab. 3 .6
28Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 29
3Commissioning
3.2.2Example 1: CPX terminal with electronic modules VMPA1 and VMPA2
The following graphic shows a CPX terminal with electronic modules VMPA1 and VMPA2 and the following setting:
– status bits and I/O diagnostics interface deactivated.
Module no.: 0
1
8DI4DO
12
1Bus node CPX-FB40
2End plate VM PAL (pneumatic interface)
3.2.3Example 2: CPX terminal with electrical interface (CP interface)
The following graphic shows a CPX terminal with electrical interface and the following setting:
– status bits and I/O diagnostics interface deactivated.
1
2
3
123 45
8DI4DO8DI8DO
6Module no.:0
4
5
1Bus node CPX-FB40
2CPV valve terminal (16DO) on string 1 of the
electrical interface
3Cylinder
4CP input module (16DI )
5Sensor
6CP output module (16DO) on string 4 of the
electrical interface
Fig. 3.2
The following table shows the address assignment for the presented CPX terminal.
3.2.4Example 3: CPX terminal with analogue module and pneumatic interface
The following graphic shows a CPX terminal with pneumatic interface and the following setting:
– status bits activated and I/O diagnostic interface deactivated
– pneumatic interface set with DIL switch to 1 ... 8 solenoid coils (8 DO).
Moduleno.:0123456
8DI8DI4DO8DI2AO
12
1Bus node CPX-FB40 (status bits activated)
8DO
3
3VTSA pneumatics
2Pneumatic interface (set with DIL switch to
1 ... 8 solenoid coils)
Fig. 3.3
The following table shows the address assignment for the presented CPX terminal.
3.2.5Address assignment after extension/conversion
If the requirements for the machine or system change, the CPX terminal can be adapted as required due
to its modular design.
Caution
If the CPX terminal is extended or converted at a later stage, input/output addresses
may be shifted. This applies in the following cases:
– Additional modules are inserted between existing modules.
– Existing modules are removed or replaced by other modules which have fewer or
more input/output addresses.
– Interlinking blocks or pneumatic connection blocks for monostable valves are
replaced by interlinking blocks/connection blocks for bistable valves or vice versa
( Pneumatics description).
– Additionalinterlinking blocks orconnectionblocksare insertedbetweenexistingones.
– StatusbitsortheI/Odiagnosticinterfaceareactivated/deactivated.
– The configured addresses of the pneumatic interface are modified.
Note
If the configuration of a CPX terminal was changed, new requirements for the CPX
terminal that may be necessary must be checked and adjusted, if necessary.
Moreover, it should be noted that the needed address space may increase due to modification of the CPX terminal and thus the slave addresses of the following slaves in the network must be checked and adjusted if necessary.
32Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 33
3Commissioning
3.3Ethernet POWERLINK
Ethernet POWERLINK is an Ethernet-based communication protocol for automation applicat ions in real
time. The two protocols Ethernet and CANopen are thereby combined in a c ommon communication
system.
For additional information on Ethernet POWERLINK ( www.ethernet-powerlink.org).
3.4Communication and device profiles
The bus node CPX-FB40 is based on the Ethernet POWERLINK communication profile DS 301. It
supports the device prof ile for generic I/O modules in accordance with DS 401. According to
POWERLINK specifications, the range 6000h … 9FFFh is planned for standardised device profiles in the
object directory.
For the I/O configuration of a CPX terminal, there are 3 different module types (digital, analogue and
technology modules), separated by inputs and outputs.
This results in the following objects in the overview:
Module type
DigitalInput6000h––
AnalogueInput–6401h–
Tec hno l og yInput–6100h6120h
Tab. 3.10
Dependent on th e switch setting o f DIL switch 2, the use of the diagnostics mode
(status bits via object 2401h or I/O diagnostics interface via object 2402h) is possible.
Configuration in accordance with DS 401 permits clear representation of all I/O process data in Automation Studio (AS), corresponding to the expansion of the CPX terminal. This enables a simple and
unique assignment of the inputs and outputs.
Besides the generic device profile, the bus node also supports a dynamic (manufacturer-specific)
profile. As a result, I/O configuration can be executed by slot through the export function of the Festo
Maintenance Tool (CPX-FMT) software.
I/O type8bit16 bit32 bit
Output6200h––
Output–6411h–
Output–6300h6320h
You can find the object directory in the appendix ( B Object directory).
Festo – P.BE-CPX-FB40-EN – 1408NH – English33
Page 34
3Commissioning
3.5Device description
When you place a new Ethernet POWERLI NK par ticipant into operation for the first time, you must inform the control software about c ertain characteristics of the participant.
The characteristics of the individual participants are administered in a so-called device description file
in the standardised XML format. This serves to identify the bus node in the network and transmit basic
characteristics and manufacturer's information of the Ethernet POWERLI NK device to the control software.
A distinction is made here between dynamic and generic device description.
3.5.1Dynamic device description (XDC file)
With the help of the Festo Maintenance Tool (CPX-FMT) software, the device description file of a CPX
terminal can be dynamically generated in the form of an XDC file (XML Device Configuration).
TheFestoMaintenanceTool(CPX-FMT)softwareisavailablefordownloadintheFesto
Support Portal ( www.festo.com/sp).
An XD C file represents the complete configuration of the CPX terminal, including module expansion and
parameter settings.
Use of the dynamic device description permits:
– convenient and simple integration and representation of CPX terminals in Automation Studio
– saving all parameters in the control program
– automatic transmission of parameters to the CPX terminal when the controller is run up.
34Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 35
3Commissioning
3.5.2Exporting XDC file with the CPX-FMT
With the export function of the Festo Maintenance Tool (CPX-FMT) software, you can export a dynamic
device description file (XDC file) of your CPX terminal and then import it into the Automation Studio
software.
During export of the XDC file, the I/O assignment of the channels is determined and the corresponding
objects for cyclical transmission is automatically generated.
The XDC files for operation in the remote controller operating mode are already present:
– remote controller with 8 bytes I/O (8x 8 bit):
0000001D_CPX_FB40_RC.xdc
– remote controller with 16 bytes I/O (8x 16 bit):
0000001D_CPX_FB40_RC_double.xdc
The corresponding XDC files are available for download in the Festo Support Portal
( www.festo.com/sp).
Procedure
1. Start the Festo Maintenance Tool software (CPX-FMT).
2. Establish a connection between the CPX-FMT and the CPX terminal.
3. Activate the online mode in order to directly read out the expansion of the CPX terminal:
Online > Online
Fig. 3.4
Alternatively, you can manually select the expansion of the CPX terminal in the offline
mode as well from the CPX-FMT catalogue.
• Open the c atalogue in the CPX-FMT: View > Catalog.
• Select the corresponding CPX modules from the c atalogue and add them to the
configuration.
After configuration is completed, the parameters of the individual CPX modules can be adjusted.
Festo – P.BE-CPX-FB40-EN – 1408NH – English35
Page 36
3Commissioning
4. Select in the menu File > Export > Powerlink (.xdc).
Fig. 3.5
5. In the Powerlink node selection dialogue, select the correct station number.
In the online mode, the station number is automatically read using the DIL switch setting
of the bus node ( 2.4.7 Setting the station number).
6. Choose a directory in which the XDC file should be saved.
The file name of the XDC file is automatically created corresponding to the Ethernet
POWERLINK standard (0000001D_CPX_FB40_[Station number].xdc).
3.5.3Generic device description (XDD file)
The device description can be made generically with help of a device-specific XDD file (XML Device
Description). The generic device description uses the device profile in accordance with DS 401 and is
able to depict all CPX configurations.
The corresponding file “0000001D_CPX_FB40.xdd” is available for download in the Festo
Support Portal ( www.festo.com/sp).
Note
Disadvantages of the generic device description
– Configuration of the inputs and outputs (length and type of cyclically transmitted
data) must be made manually.
– System/module parameters c annot be set in Automation Studio.
36Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 37
3Commissioning
3.6“Automation Studio” controller software
3.6.1General information on Automation Studio
With the help of the “Automation Studio” controller software from the B&R company, you can add a
CPX terminal to an Ethernet POWERLINK network and conveniently configure and parameterise it.
The following figure shows the division of the user interface ( Fig. 3.6).
1
23
1Work Book
3Project Explorer
2Desktop
Fig. 3.6
The contents of this documentation always refer to the version 3.0.90 with language
setting English.
For fur ther information on the “Automation Studio” software
( www.br-automation.com).
Configuration of a CPX terminal in an Ethernet POWERLINK network can be made dynamically or
generically with the “Automation Studio” software:
3.6.2 Dynamic configuration (Manufacturer-specific device profile)
3.6.3 Generic configuration in ac c ordance with DS 401.
Requirements for execution of the subsequent steps:
– A project with a c ompletely configured controller has been created.
– A dynamic device description file (XDC file) has been exported with the Festo Main-
tenance Tool (CPX-FMT) software ( 3.5.2 Exporting XDC file with the CPX-FMT).
Procedure
1. Start the Automation Studio software and open the corresponding AS project.
2. Select “Tools” > “Import Fieldbus Device…”.
Fig. 3.7
3. Choose the corresponding XDC file in the following dialogue.
4. Confirm the selection by clicking on “Open”.
The CPX terminal is now available in Automation Studio as an Ethernet POWERLINK
device.
38Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 39
3Commissioning
Adding a CPX terminal to a project
After the dynamic device description file (XDC file) has been generated with the Festo Maintenance Tool
(CPX-FMT) software and imported into Automation Studio, the CPX terminal is available in Automation
Studio as an Ethernet POWERLINK device and can be added to a project.
Procedure
1. In the Physical View in “Project Explorer”, click with the right-hand mouse key on the CPU icon.
A funct io n menu opens.
2. Select “Open POWERLINK”.
Fig. 3.8
3. In the menu, select “Insert” > “Module…”.
The dialogue “Select controller module” opens.
Fig. 3.9
4. Expand the entry “POWERLINK Devices”.
Festo – P.BE-CPX-FB40-EN – 1408NH – English39
Page 40
3Commissioning
5. Select the imported CPX terminal and confirm the selection with “Next”.
The dialogue “Module Parameter” opens.
Fig. 3.10
6. Enter the correct station number (here 2).
Note
Specification of the st ation number must agree with the setting of DIL switch 3 on the
bus node ( 2.4.7 Setting the station number).
7. Confirm the station number entry with “Next”.
The CPX terminal is added to the AS project and appears as an entry in the Physical View
in the “Project Explorer”.
40Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 41
3Commissioning
I/O configuration
After the CPX terminal is added to a project, all CPX modules are available.
Configuration of the individual input and output modules is automatically performed with
regard to data length and data type.
Note
Cyclical transmission is deactivated in Automation Studio as default and must be manually activated for all inputs and outputs.
• Activate the parameter “Cyclic transmission” for all input and output modules as
described subsequently.
Procedure
1. In the Physical View in “Project Explorer”, click with the right mouse key on the CPX terminal.
A funct io n menu opens.
2. Select “Open I/O Configuration”.
The “I/O Configuration” work book is displayed.
Fig. 3.11
Festo – P.BE-CPX-FB40-EN – 1408NH – English41
Page 42
3Commissioning
3. Expand the “Channels” entry in the “I/O Configuration” work book.
All CPX modules are displayed corresponding to the sequence of the CPX terminal.
The CPX module of the bus node itself has no inputs or outputs and so is not displayed.
4. Expand the tree structure of all listed CPX modules completely.
5. Set the parameter “Cyclic transmission” f or all CPX modules corresponding to the module type (input or output module):
– input module: “Read”
– output module: “Write”.
Fig. 3.12
6. Save the project to take over the I/O c onfiguration.
I/O assignments
After the inputs and outputs of the CPX terminal are configured, they can be depicted in the variables of
a higher-order controller.
1. In the Physical View in “Project Explorer”, click with the right mouse key on the CPX terminal.
A funct io n menu opens.
2. Select “Open I/O Mapping”.
All inputs and outputs are displayed in the “I/O Mapping” work book and can be assigned to the
higher-order controller.
Parameterisation performed with the Festo Maintenance Tool (CPX-FMT) software is automatically saved in the AS project and is transferred to the CPX terminal each time the
controller is run up.
42Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 43
3Commissioning
3.6.3Generic configuration in accordance with DS 401
ImportXDDfileinAutomationStudio
Note
Requirements for execution of the subsequent steps:
– project with configured controller in Automation Studio
– fitting device description file (XDD file) for the bus node CPX-FB40
• Note that the generic device description file is dependent on the operating mode
( 3.5.3 Generic device description (XDD file)).
The corresponding XDD-Datei for the bus node CPX-FB40 is available for download in the
Festo Support Portal ( www.festo.com/sp).
Procedure
1. Start the Automation Studio software and open the corresponding project.
2. Select in the menu “Tools” > “Import Fieldbus Device…”.
Fig. 3.13
3. In the following dialogue, c hoose the file “0000001D_CPX_FB40.xdd”.
Festo – P.BE-CPX-FB40-EN – 1408NH – English43
Page 44
3Commissioning
Adding a CPX ter minal to an AS project
After the generic device description file (XDD file) has been imported into Automation Studio, the CPX
terminal is available as an Ethernet POWERLINK device and can be added to an AS project.
Procedure
1. In the Physical View in “Project Explorer”, click with the right-hand mouse key on the CPU icon and
select “Open POWERLINK”.
Fig. 3.14
2. In the menu, select “Insert” > “Module…”.
3. In the dialogue “Select controller module”
under “POWERLINK Devices”, select the entry “CPX-FB40 basic”.
Fig. 3.15
4. Confirm your selection with “Next”.
44Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 45
3Commissioning
5. Enter the station number (here 2) in the “Module Parameter” dialogue.
Note
Specification of the st ation number must agree with the setting of DIL switch 3 on the
bus node ( 2.4.7 Setting the station number).
Fig. 3.16
6. Confirm your entry with “Next”.
The entry for the CPX terminal appears in the Physical View in the “Project Explorer”.
Festo – P.BE-CPX-FB40-EN – 1408NH – English45
Page 46
3Commissioning
I/O configuration
After the device description (XD D file) is added to an AS project, it is available only generically and must
be configured corresponding to the expansion of the CPX terminal.
Note
For each module type of the CPX terminal, the correct number of inputs and outputs
required for cyclical transmission can be activated.
• Activate th e parameter “Cyclic transmission” for all module types of the CPX terminal,
as described subsequently.
– input module: “Read”
– output module: “Write”.
If the status bits or I/O diagnostics interface is activated via DIL switch 2, the parameter
“Cyclic transmission” must be activated for these entries.
– status bits: “Read”
– I/O diagnostics interface: “Read” and “Write”.
With t echnology modules, a distinction is made between 16 bit and 32 bit.
The specifications for each can be found in the manual of the technology module or,
alternatively, through the module characteristics of the CPX-FMT.
Procedure
1. Determine the number of required inputs and outputs of all modules ( 3.1 Address assignment).
2. In the Physical View in “Project Explorer”, click with the right mouse key on the CPX terminal.
A funct io n menu opens.
3. Select “Open I/O Configuration”.
4. Expand the “Channels” entry in the “I/O Configuration” work book.
The entries of the various module types are displayed.
Fig. 3.17
46Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 47
3Commissioning
5. Expand the entry of one of the module types or status bits to be configured or the I/O diagnostics
interface.
For each module type, several entries are provided with a size of 1 byte (8 bit) each
( Fig. 3.18).
Fig. 3.18
6. Activate the parameter “Cyclic transmission” corresponding to the required number of inputs and
outputs.
– input module: “Read”
– output module: “Write”.
With 2 digital input modules with 8 inputs (16 bits) each, the first two entries “DigitalInput_8Bit_I6000_Sxx” must be activated, for example.
Fig. 3.19
7. Repeat the steps 5. and 6. for all modules of the CPX terminal correspondingly.
8. Save the project to take over the I/O c onfiguration.
Festo – P.BE-CPX-FB40-EN – 1408NH – English47
Page 48
3Commissioning
I/O assignment
After the inputs and outputs of the CPX terminal are configured, they can be depicted in the variables of
a higher-order controller.
1. In the Physical View in “Project Explorer”, click with the right mouse key on the CPX terminal.
A funct io n menu opens.
2. Select “Open I/O Mapping”.
All inputs and outputs are displayed in the “I/O Mapping” work book and can be assigned to the
higher-order controller.
The depiction does not correspond to the actual arrangement of the CPX modules.
48Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 49
3Commissioning
3.6.4Changing parameters in “Automation Studio”
With the help of the “Automation Studio” software, the following parameters can also be changed
subsequently. Further options ( 3.7.5 Parameterisation via Ethernet POWERLI NK).
Parameter
Function
TraceParameterSettings for diagnostics recording
Clear_TraceHistoryDelete all diagnostics recording entries
GlobalSystemParameterCPX system parameters
Module parameters
1) The module parameters are sorted according to slots “slot N” (N = module number).
1)
Settings of the module parameters
Tab. 3.11
You can find the parameters in the “I/O Configuration” work book under the entry “Device specific parameters”.
To change a parameter, the corresponding initial value (“InitValue”) must be adjusted.
The parameter settings are displayed only as numeric values. The significance of the
respective numeric value can be found in the documentation of the corresponding CPX
module.
Procedure
1. In the Physical View in “Project Explorer”, click with the right mouse key on the CPX terminal.
A funct io n menu opens.
2. Select “Open I/O Configuration”.
The “I/O Configuration” work book is displayed.
3. Expand the entry “Device specific parameter”.
4. Change the initial value (“InitValue”) of the desired parameters.
Fig. 3.20
Festo – P.BE-CPX-FB40-EN – 1408NH – English49
Page 50
3Commissioning
3.7Parameterisation
3.7.1Introduction to parameterisation
The CPX terminal is supplied with factory-preset paramete r s (default parameterisation).
The system behaviour of a CPX terminal and of individual modules and channels can be parameterised
individually. A distinction is made here between the following parameters:
Parameter
DescriptionExamples
System parametersGlobal system functions for the
complete CPX terminal
Module parametersModule and channel-specific func-
tions of the respective module
Diagnostic memory
parameters
Operating method of the diagnost-
ic memory
Tab. 3.12
A detailed description of the individual parameters as well as basic principles of application can be found in the CPX system description ( P.BE-CPX-SYS-...).
Which parameters stand for the modules used are found in the description for the
respective module.
Caution
If the Modify-LED (M) lights up permanently, the parameterisation is not stored locally in
the bus node and is not restored automatically by the higher-order system upon replacement.
• In the se cases, check befor e replacement to see which settings are required and
carry out these settings.
Changes in parameterisation or application-specific parameter settings result in
changes to the module or system behaviour.
• Check especially when replacing CPX terminals to see which settings are necessary
and make sure that these are restored, if necessary (e.g. by appropriate systemstart parameterisation).
– Short-circuit monitoring
– System start
– Input debounce time
– Signal extension time
– Remaining entries with Power ON
– Error number filter
Warnin g
The connected ac tuators can move unexpectedly!
Modification of the signal statuses and parameters can trigger dangerous movements of
the connected actuator tec hnology.
• Make sure that nobody is in the positioning range of connected actuators and be
very careful with the parameterisation or manipulation of signal states.
• It is imperative that you observe the notes on “Force” and “Fail safe” in the CPX
system de scription ( P.BE-CPX-SYS-…,) in the description of the CPX-MMI
( P.BE-CPX-MMI-1-…) and in the online help of the CPX-FMT.
50Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 51
3Commissioning
3.7.2Methods of parameterisation
A CPX terminal with the bus node CPX-FB40 can be parameterised with various methods.
Method
Festo Maintenance Tool
(CPX-FMT)
Menu-guided parameter
entries via PC software
Operator unit (CPX-MMI)
Menu-guided parameter
entry
BenefitsDisadvantages
Easy parameter entry guided by
menu in plain text.
Parameterisation is saved locally
in the CPX terminal and is lost if
the CPX terminal or bus node is re-
placed.
Easy parameter entry guided by
menu in plain text.
Parameterisation is saved locally
in the CPX terminal and is lost if
the CPX terminal or bus node is
replaced.
Ethernet POWERLINKPa rameterisation can be carried
–
out via the control system. Parameters are automatically transferred to the bus node at every
run-up of the controller.
Tab. 3.13
3.7.3Parameterisation via the Festo Maintenanc e Tool (CPX-FMT) software
With the Festo Maintenance Tool (CPX-FMT) software, a CPX terminal can be parameterised over an
Ethernet or USB connection.
Note
For parameterisation via a USB connection, you need a USB connector cable as well as
the adapter NEFC-M12G5-0.3-U1G5.
The current version of the Festo Maintenance Tool (CPX-FMT) software is available for
download in the Festo Support Portal ( www.festo.com/sp).
3.7.4Parameterisation with the operator unit (CPX-MMI)
With the operator unit ( CPX-MMI), a CPX terminal can be parameterised through a menu even without
controller software.
Information on general operation of the operator unit can be found in the corresponding
description ( P.BE-CPX-MMI-1-…).
Note
The last parameterisation set or received in the CPX terminal is always valid.
Festo – P.BE-CPX-FB40-EN – 1408NH – English51
Page 52
3Commissioning
3.7.5Parameterisation via Ethernet POWERLINK
With a dynamic configuration according to manufacturer-specific device profile, the bus node can be
parameterised directly by the controller via Ethernet POWERLINK.
This has the advantage that all parameters are saved in the c ontroller software and automatically transferred to the bus node at run-up of the controller.
As a result, parameterisation remains intact if the bus node is replaced.
Note
A CPX terminal can be parameterised only if the function “System start with default
parameterisation and current CPX expansion” is activated.
• Set the “System start” system parameter c orrespondingly.
Options
– Configuration and parameterisation of a CPX terminal via the Festo Maintenance Tool ( CPX-FMT)
software.
– Generate device description (XDC file) with the Festo Maintenance Tool (CPX-FMT) software
( 3.5.2 Exporting XDC file with the CPX-FMT).
– Import device description (XDC file) into controller software
The CPX terminal provides comprehensive and user-friendly options for diagnostics and error handling.
The following options are available, depending on the configuration:
Diagnostic
possibility
LED displayThe LEDs show directly config-
Status bitsInternal inputs that supply
I/O diagnostics
interface
Diagnostics
via the operator unit
(CPX-MMI)
Diagnostics
via EtherNet
POWERLINK
Brief descriptionBenefitsDetailed
uration errors, h ardware errors, bus errors, etc.
coded common diagnostic
messages.
Bus-independent diagnostic
interface at I/O level, which
enables access to the internal
data of the CPX terminal
(16 inputs and 16 outputs).
Diagnostic information can be
displayed on the operator unit
in a convenient and menudriven manner.
Access to all system data o f
the CPX terminal over the network.
Description
Fast “on-the-spot” error detection
Fast access to error messages, irrespective of the
module and master.
Detailed error recognition: the
diagnostic data can be processed further, e.g. with a PLC
user program.
Fast “on-the-spot” recognition
of errors
Detailed error detectionSection 4.5
Section 4.2
Section 4.3 and
CPX system description
( P. B E - CP XSYS-…)
Section 4.4 and
CPX system description ( P. B E CPX-SYS-…)
Operator unit description ( P. B E CPX-MMI-1-…)
Tab. 4 . 1
Note
Note that the available diagnostic information is dependent on the DI L switch settings
on the bus node, ( 2.4.5 Setting of the diagnostic mode (Remote I/O)) as well as on
the parameterisation of the CPX terminal.
You can find additional information on general diagnostics of the CPX terminal in the CPX
system de scription ( P.BE-CPX-SYS-…).
Information on diagnostics of the pneumatics, of the pneumatic interface and of the I/O
module are found in the corresponding descriptions.
Festo – P.BE-CPX-FB40-EN – 1408NH – English53
Page 54
4Diagnostics and error handling
4.2Diagnostics via LED displays
LED displays for the diagnostics of the CPX terminal are available on the bus node as well as on the
individual modules.
The significance of the LED displays on the electric modules can be found in the description for the relevant module.
– M (yellow)
*)The SF LED also shows Ethernet-POWERLINK-specific errors.
Fig. 4.1
SF
M
PS
PL
SF
*)
2
In th e following sections, the different sta tuses of the LED displays are represented as follows:
LED lights up;LED flashes;LED is out
54Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 55
4Diagnostics and error handling
4.2.1Normal operating status
LED display
These green LEDs are illuminated:
Operating status
Normal
–BS
–PS
BS
BE
L/A1
PS
PL
SF
–PL
These green LEDs are illuminated or flash:
–L/A1andL/A2
1) 2)
Red LEDs do not light up:
–BE
L/A2M
–SF
the yellow LED is illuminated, flashes or is dark:
2)
–M
1) If a network cable is connected.
2) Depending on the data communication or configuration.
4.2.2CPX-specific LED displays
PS (Power System) – operating voltage supply for electronics/sensors
LED (green)ProcessStatusSignificance/error handling
ON
OFF
LED
No error. Operating
voltage/sensor supply applied.
–
illuminated
ON
OFF
LED flashes
ON
OFF
Operating voltage/sensor
supply outside the tolerance range.
Internal fuse for the operating voltage/sensor supply
has responded.
• Eliminate undervoltage
1. Eliminate short circuit/overload
2. Depending on the parameterisation:
• The sensor supply voltage will be
switched on again automatically
after the short circuit has been
elimin ated (factory setting).
• Power OFF/ON necessary.
ON
OFF
Operating voltage/sensor
supply is not applied.
• Check the operating voltage connection of the electronics.
LED is not
illuminated
Festo – P.BE-CPX-FB40-EN – 1408NH – English55
Page 56
4Diagnostics and error handling
PL (Power Load) – load voltage supply for valves/outputs
LED (green)ProcessStatusSignificance/error handling
ON
OFF
No error. Load voltage applied.
–
LED
illuminated
ON
OFF
LED flashes
Load voltage at the system
supply or additional supply
outside the tolerance range.
• Eliminate undervoltage
SF (system failure) – system fault
LED (green)Process
ON
OFF
LED flashes
ON
OFF
ON
OFF
ON
OFF
1)
StatusSignificance/error handling
Simple error/information
(error class 1)
Error
Description of error numbers in the
CPX system description
( P.BE-CPX-SYS-…).
(error class 2)
Serious error
(error class 3)
No error–
LED is not
illuminated
1) The system fault LED flashes depending on the class of fault which has occurred.
Error class 1 (slight error): 1× flash, pause time
Error class 2 (error): 2× flashes, pause time
Error class 3 (severe error): 3× flashes, pause time
56Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 57
4Diagnostics and error handling
M (modify) – parameterisation modified or forcing active
LED (yellow)Proce ssStatusSignificance/error handling
ON
OFF
LED
illuminated
Setting: System start with
saved parametrisation and
saved CPX expansion;
Parameters and CPX expansion are stored permanently.
For replacement of the bus node or
CPX terminal in case of service, parameterisation is not created automatically by the higher-order system
(PLC/IPC).
• Save and apply the parameterisation
when the bus node is replaced.
1)
The Force function is enabled.
Further information can be found in
the CPX system description
LED flashes
ON
OFF
Force is active
( P.BE-CPX-SYS-…).
ON
OFF
LED is not
illuminated
Setting: System start with
default parameterisation
(factory setting) and c urrent CPX expansion;
–
external parameterisation
is possible (pre setting).
1) The display of the Force function (LED flashes) has priority over the display of the setting for the system start (LED lights up).
Festo – P.BE-CPX-FB40-EN – 1408NH – English57
Page 58
4Diagnostics and error handling
4.2.3Ethernet-POWERLINK-specific LED displays
BS (POWERLINK bus status) – communication status
LED (green)ProcessStatusSignificance/error handling
ON
OFF
LED
OperationalNo error.
Data communication OK.
illuminated
ON
OFF
Approx. 10 Hz
LED flickers
ON
OFF
Basic EthernetThe bus node did not detect any
POWERLINK communication.
Communication via UDP is possible.
Pre-operational 1The bus node waits for reception of an
SoC frame.
LED flashes
ON
OFF
Pre-operational 2The bus node is configured by the
manager.
LED flashes
LED flashes
LED is not
ON
OFF
Approx. 2.5 Hz
ON
OFF
StoppedNo output data are output a nd no
input data a r e supplied.
Not activeThe bus node is not supplied. No com-
munication possible with the bus node.
illuminated
BE (POWERLINK bus error) – communication error
LED (red)ProcessStatusSignificance/error handling
ON
OFF
LED
illuminated
ON
OFF
LED is not
Communication error.The bus node receives defective Eth er-
net frames. An existing POWERLINK
communication has been separated.
No error.
–
Data communication OK.
illuminated
L/A1 and L/A2 (link/activity por t 1/2) – network activity
LED (green)ProcessStatusSignificance/error handling
LED
lights up
or
flickers
LED is not
ON
OFF
ON
OFF
Approx. 10 Hz
ON
OFF
The link to the remote station is established.
Operational
No Ethernet connection
active.
–
–
illuminated
58Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 59
4Diagnostics and error handling
4.3Diagnostics via status bits
Status bits are internal inputs that serve to display common diagnostic messages (global error messages).
Note
The dia gnost ic mode “Status bits” must be activated via DIL switc h 2.2 on the bus node
( 2.4.5 Setting of the diagnostic mode (Remote I/O)).
Status bits are treated as inputs and there can be queried, linked and processed as “standard” inputs.
In the case of activated “Status bits” diagnostics mode, the first 16 inputs are assigned
although only 8 inputs are used ( 3.2.1 Basic rules for addressing).
Status bits are treated as “normal” inputs.
– If all status bits supply a 0-signal, no error is reported.
– If a status bit supplies a 1 signal, an error is present. The diagnostic information when there is a
1-signal is shown in the following table.
Bit
Diagnostic information with logic 1Description
0Fault at valve or pneumatic moduleModule type in which an error has occ urred
1Error on output module
2Error on input module
3Error on analogue module or technology module
4UndervoltageError type
5Short circuit/overload
6Wire break
7Other error
Tab. 4 . 2
Note
If various errors occur simultaneously on different types of modules, these errors cannot be assigned via the status bits.
Errors can be uniquely defined via the I/O diagnostics interface.
Further note s on the function and content of the status bits are found in the CPX system
description ( P.BE-CPX-SYS-…).
Festo – P.BE-CPX-FB40-EN – 1408NH – English59
Page 60
4Diagnostics and error handling
4.4Diagnostics via the I/O diagnostics interface
Detailed diagnostic information on the CPX terminal can be acc essed via the “I/O diagnostics interface”
diagnostics mode. You can ascer tain this exactly, e.g. by noting on which module and channel an error
has occurred. Available to access this information are 16 Input bits and 16 output bits, through which
all diagnostic data c an be read.
Note
To use the “I/O diagnostic interface” diagnostics mode, it must be activated via DIL
switch 2 on the bus node ( 2.4.5 Setting of the diagnostic mode (Remote I/O)).
If the “I/O diagnostic interface” is activated, it will occupy the first 16 inputs and outputs
in the address range ( 3.2.1 Basic rules for addressing).
The following table provides an overview of the available diagnostic information.
Diagnostic information
Description
Global diagnostic data– General overview of errors
Diagnostic data module–Detailed diagnostics per module
Diagnostic data status– Number of entries in the diagnostic memory
– Operating mode.
Diagnostic memory data– Long-term memory
– Detailed diagnostics and relative time stamp per error event.
Tab. 4 . 3
Further notes on the function and content of the I/O diagnostics interface can be found in
the CPX system description ( P.BE-CPX-SYS-…).
60Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 61
4Diagnostics and error handling
4.5Diagnosti cs via Ethernet POWERLINK
Diagnostics via Ethernet POWERLINK takes place in 2 steps:
1. The general status of the CPX terminal is transferred cyclically as input data with the help of the
“Status bits” diagnostics mode ( 4.3 Diagnostics via status bits).
Note
The dia gnost ic mode “Status bits” must be activated via DIL switc h 2.2 on the bus node
( 2.4.5 Setting of the diagnostic mode (Remote I/O)).
2. If an error is signaled through the status bits, the exact error entry can be called up acyclically via
object 1003 ( B.3 Communication profile in accordance with DS 301).
In object 1003, up to 254 error entries (subindex 1 … 254) are stored.
The number of currently saved error entries is in sub-index 0.
If an error occurs, it is stored in sub-index 1 and all previous error entries are increased by
one sub-index.
The current error can thus always be called up via sub-index 1.
Note
Write a ccess is allowed only for sub-index 0. Writing of a 0 “zero” deletes the entire list
of error entries.
Standard entries and CPX-specific entries are transferred via object 1003.
Octet
DescriptionType of error entries
0…1TypeStandard entries
2…3Error code
4…11Time stamp
12CPX status bitsCPX-specific entries
13CPX module number
14CPX error number
15 … 19Reser ved
Tab. 4 . 4
Festo – P.BE-CPX-FB40-EN – 1408NH – English61
Page 62
4Diagnostics and error handling
4.6Error handling
With the following malfunctions, the behaviour of the CPX terminal depends on the configured behaviour of the master module and the parameterised fail-safe setting:
– telegram failure
–stopofthemaster
– interruption in the bus cable.
Depending on the parameterisation, the outputs (valves and electrical outputs) will be switched off
(factory setting), switched on or retain their status ( CPX system description).
Warnin g
Accidental activation of actuators!
An incorrect status of the valves and outputs can lead to dangerous situations!
• Ensure that valves and outputs are put into a safe status if the stated malfunctions
occur.
Note
Please observe the fo llowing if the outputs are reset in the event of a PLC stop, fieldbus
interruption or malfunction:
– Monostable valves move to the basic position.
– Bistable valves remain in the c urrent position.
– Mid-position valves go into mid-position (pressurized, exhausted or closed, depend-
ing on valve type).
62Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 63
ATechnical appendix
ATechnical appendix
A.1Technical data
General
General technical data CPX system description (P.BE-CPX-SYS-…)
Degree of protection in ac c ordance with
IEC 60529, completely mounted, plug connector
in accordance with accessories plugged in or
equipped with cover cap
Protection against electric shock
(Protection against direct and indirect contact in
accordance with IEC 60204-1)
Module code (CPX-specific)
Remote I/O
Remote controller
Module identifier (in operator unit CPX-MMI)
Remote I/O
Remote controller
IP65/IP67
through the use of PELV circuits
(Protected Extra Low Voltage)
224 (sub-module code 4)
171 (sub-module code 4)
FB40 Powerlink Remote I/O
FB40-RC Powerlink Node
Tab. A .1
Power s upply
Operating voltage / load voltage CPX system description (P.BE-CPX-SYS-…)
Intrinsic current consumption at 24 V
from operating voltage supply for electronics/
sensors (U
Separation of network interfaces to U
Mains buffering time10 ms
Tab. A .2
EL/SEN
)
EL/SEN
typ. 100 mA (internal electronics)
Galvanically separated
Festo – P.BE-CPX-FB40-EN – 1408NH – English63
Page 64
ATechnical appendix
Network-specific characteristics
Network protocolEthernet POWERLINK
SpecificationStandards/norms with reference to
The following product-specific terms and abbreviations are used in this description:
Term/abbreviation
Significance
Address spaceThe sum of available addresses, independent of the assignment.
ASAutomation Studio controller software
Bus nodeCreate the connection to certain networks or fieldbuses, conduct con-
trol signals to the c onnected modules and monitor their functioning
capability.
CECControl block CPX-CEC for configuration, commissioning and program-
ming of various components and equipment from Festo.
CPX modulesCollective term for the various modules which can be integrated into a
CPX terminal.
CPX system description
( P.BE-CPX-SYS-…)
Description that gives an overview of structure, components, function,
installation and commissioning as well as basic information on parame-
terisation of CPX terminals ( www.festo.com).
CPX terminalModular electrical terminal
CRCCyclic redundancy check
Diagnostic dataDetailed diagnostics information
DIL switchesMiniature switch that consists of several switching elements, with
which, for example, basic settings can be made; DIL = dual in-line
IDigital input
I/O diagnostic interfaceThe I/O diagnostic interface is a bus-independent diagnostic interface
at I/O level, permitting access to internal data of the CPX terminal.
I/O modulesCommon te r m for th e CPX modules which provide digital inputs and
outputs (CPX input modules and CPX output modules)
FECControl block, e.g. CPX-FEC, usable as:
– fieldbus slave (remote I/O operating mode)
– system controller (PLC, remote controller operating mode)
– stand-alone system controller (PLC, stand-alone operating mode)
ODigital output
ParameterWith the aid of parameterisation, the characteristics of the CPX terminal
or the characteristics of the individual modules and I/O channels can be
adapted to each particular application. Parameters can be read and
modified.
PLC/IPCProgrammable logic controller/industrial PC
Pneumatics interfaceThe pneumatics interface is the interface between the modular electric-
al peripherals and the pneumatics.
Status bitsInternal inputs t hat supply coded common diagnostic message s.
UDPUser datagram protocol
XDCDynamic device description file (XML device configuration)
XDDGeneric device description file (XML device description)
Tab. A .4
Festo – P.BE-CPX-FB40-EN – 1408NH – English65
Page 66
BObject directory
BObject director y
B.1Object overview
ProfileIndex (hex)Reference
Communication profile in accordance with DS 3011000 … 1FFF B.3
Device profile for generic I/O modules in accordance with DS 4016000 … 9FF F B.4
Festo profile for CPX terminals (dynamic equipment configuration)2000 … 5F FF B.5
Tab. B .1
B.2Abbreviations
AbbreviationSignificance
AttrAttribute (for access)
ARRObject type (ARRAY)
DOMObject type (DOMAIN)
RECObject type (RECORD)
roValue can only be read (read only)
rwValue can be read and written (read write)
woValue can only be written (write only)
constValue constant (constant)
U8Data type Unsigned8
U16Data type Unsigned16
U32Data type Unsigned32
U64Data type Unsigned64
BOOLData type Boolean
OSTRData type OctetString
VSTRData type VisibleString
Tab. B .2
66Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 67
BObject directory
B.3Communication profile in accordance with DS 301
Index
(hex)
Subindex
DesignationTypeAttr.Explanation
1000Device typeU32const Device profile DS 401
(Default value: 0x000F0191)
Bit 16: Digital inputs
Bit 17: Digital outputs
Bit 18: Analogue inputs
Bit 19: Analogue outputs
0Number of entriesU16const Number of 16 bit entries
Default value: 32
1Technology input 16 bitU16roStatus of input word 0
2U16roStatus of input word 1
3U16roStatus of input word 2
…………
1EU16roStatus of input word 29
1FU16roStatus of input word 30
20U16roStatus of input word 31
0Number of entriesU16const Number of 16 bit entries
Default value: 16
1Technology input 32 bitU16roStatus of input double word 0
2U16roStatus of input double word 1
3U16roStatus of input double word 2
…………
0EU16roStatus of input double word 13
0FU16roStatus of input double word 14
10U16roStatus of input double word 15
0Number of entriesU16const Number of 16 bit entries
Default value: 32
1Technology output 16 bitU16woStatus of input word 0
2U16woStatus of output word 1
3U16woStatus of output word 2
………
1EU16woStatus of output word 29
1FU16woStatus of output word 30
20U16woStatus of output word 31
0Number of entriesU16const Number of 16 bit entries
Default value: 32
1Technology output 32 bitU16woStatus of output double word 0
2U16woStatus of output double word 1
3U16woStatus of output double word 2
…………
1EU16woStatus of output double word 13
1FU16woStatus of output double word 14
20U16woStatus of output double w ord 15
Tab. B .7
74Festo – P.BE-CPX-FB40-EN – 1408N H – English
Page 75
BObject directory
Analogue inputs (transmit PDO)
Index
(hex)
Subindex
DesignationTypeAttr.Explanation
6401Analogue inputARRAnalogue input modules
0Number of entriesU16const Number of 16 bit entries
Default value: 32
1Analogue input 16 bitU16roStatus of analogue input word 0
2U16roStatus of analogue input word 1
3U16roStatus of analogue input word 2
…………
1DU16roStatus of analogue input word 28
1EU16roStatus of analogue input word 29
1FU16roStatus of analogue input word 30
20U16roStatus of analogue input word 31
Tab. B .8
Analogue outputs (receive PDO)
Index
(hex)
Subindex
DesignationTypeAttr.Explanation
6411Analogue outputARRAnalogue output modules
0Number of entriesU16const Number of 16 bit entries
Default value: 32
1Analogue output 16 bitU16woStatus of a nalogue output word 0
2U16woStatus of analogue output word 1
3U16woStatus of analogue output word 2
…………
1DU16woStatus of analogue output word 28
1EU16woStatus of analogue output word 29
1FU16woStatus of analogue output word 30
20U16woStatus of analogue output word 31
Tab. B .9
Festo – P.BE-CPX-FB40-EN – 1408NH – English75
Page 76
BObject directory
B.5Festo profile for CPX terminals (dynamic equipment configuration)
Objects for cyclical transmission
Module name xx
Index
(hex)
Subindex
1)
(module 0 … 47)
DesignationTypeAttr.Explanation
20xxModulenamexxRECSpecific module name xx
0Number of entriesrwNumber of entries
Default value: 0
1Module typerwSpecification of the module type
2
1) The specification xx corresponds to the module number 0 … 47.
2) Modules with inputs and outputs have 2 subindexes.
(digital, analogue, technology)
Tab. B .1 0
Objects for equipment-specific parameters
The objects of equipment-sp ecifi c parameters are transmitted to the device while running up.
Module ID (slot 0 … 47)
Index
(hex)
Subindex
DesignationTypeAttr.Explanation
1)
2)
20F0Module IDARR
0Number of entriesU32const Number of entries
Default value: 0
1Slot 0 IdentNumberU64woModule ID (slot 0)
1)
2Slot 1 IdentNumberModule ID (slot 1)
3Slot 2 IdentNumberModule ID (slot 2)
……………
29Slot 46 IdentNumberU64woModule ID (slot 46)
30Slot 47 IdentNumberModule ID (slo t 47)
1) Slot 0 corresponds to the module position in the CPX terminal all the way to the left.
Tab. B .1 1
Composition of object: Index 20F 0
ByteByte 7Byte 6Byte 5Byte 4Byte 3Byte 2Byte 1Byte 0
Default value: 8
1Filter alarm Vout VvalrwFilter for undervoltage message
2Monitor SCSShort circuit/overload, sensor supply
3Monitor SCOShort circuit/overload of outputs
4Monitor VoutUndervoltage at outputs
5Monitor VvalUndervoltage at valves
6Monitor SCVShort circuit of valves
7Fail safeStatus of the outputs/valves with fail
safe in the service mode
8Force modeForce function of the inputs, outputs
and valves
Tab. B .1 3
Module parameters xx
Index
(hex)
Subindex
21xxModule parameters xxRECModule parameters xx
1)
DesignationTypeAttr.Explanation
1)
0Number of entriesroNumber of entries
Default value: 0
1Module stateU16roModule status
2)
Default value: 0
2Ident codeU16roModule code and sub-module code
3RevisionU8roIssue status
4Serial numberU32roS erial number
5ReservedroReser ve
6PropertiesU32ro
7Parameter namerwModule-specific parameters
…
Default value: 0
FE
1) The specification xx corresponds to the module number 0 … 47.
2) Value0=moduleOK.
Tab. B .1 4
Festo – P.BE-CPX-FB40-EN – 1408NH – English77
Page 78
BObject directory
Composition of object: Index 21xx - subindex 1 (module status)
Bit 15Bit 14Bit 13 … 8Explanation
000…63Number of the first faulty O channel
100…63Number of the first faulty I channel
010…63Module error
Tab. B .1 5
Composition of object: Index 21xx - subindex 1 (module status)
Bit 7 … 0Explanation
interface
0Number of entriesU8const Default value: 2
1STI function
number RPDO
U16rwFunction number of the system table
Default value: 0
2STI date TPDOU16roDate addressed via function number (8 bit)
Default value: 0
Tab. B .1 7
Festo – P.BE-CPX-FB40-EN – 1408NH – English79
Page 80
Bus node CPX-FB40
Index
A
Abbreviations, Product-specific65............
Address assignment22.....................
– Analogue modules23....................
– Bus node23............................
– Determination27........................
– Digital modules25.......................
– Technology modules24...................
Addressing28............................
Analogue modules23......................
B
Bus node23.............................
C
Commissioning22.........................
– Address assignment22...................
– Addressing28..........................
– Device description34....................
Communication and device profiles33.........
Configuration
– Dynamic configuration
(manufacturer-specific device profile)38.....
– G eneric configuration in accordance
with DS 40143.........................
Connection technology18..................
D
Device description34......................
– Dynamic (XDC file)34....................
– Generic (XDD file)36.....................
Diagnostics mode16......................
Diagnostics options, Overview53............
Diagnostics via LED displays54..............
Diagnostics via status bits59................
Diagnostics via the I/O diagnostics interface60.
Digital mo dules25........................
DIL switches
–Layout14..............................
– Remove/attach c over14..................
–Set15.................................
Dismantling12...........................
E
Electrical connections and indicators11.......
Electrical interface (CP interface)30..........
Ethernet POWERLINK33....................
F
Fail safe50..............................
Festo Maintenance Tool (CPX-FMT) software51..
Force50.................................
I
I/O diagnostics interface60.................
Intended use7...........................
IP address, setting20......................
IP65/IP6713.............................
L
LED displays54...........................
– CPX -spe cific55.........................
– Ethernet-POWERLINK-specific58...........
Lines, network19.........................
M
Module identifiers63......................
Modules
–Analogue23............................
– Bus node23............................
– Digital25..............................
– Technology24..........................
Mounting12.............................
N
Network18..............................
–Cables19..............................
– Connection technology18.................
– Pin allocation19........................
–Plug18................................
Notes on the documentation6...............
80Festo – P.BE-CPX-FB40-EN – 1408NH – English
Page 81
Bus node CPX-FB40
O
Object directory66........................
Operating mode15........................
– Remote controller15.....................
– Remote I/O15..........................
Operator unit (CPX-MMI)51.................
P
Parameterisation50.......................
– Methods51............................
–viaEthernetPOWERLINK52...............
– via the F esto Maintenance Tool (CPX-FMT)
software51............................
– with the operator unit ( CPX-MMI)51........
PELV21.................................
Pneumatic interface31.....................
Power supply21..........................
S
Safety instructions, General7...............
Service6................................
Set
– Diagnostics mode16.....................
–DILswitches15.........................
– IP address20...........................
– Operating mode15......................
– Station number17.......................
Station number17........................
Status bits59............................
T
Technical data63.........................
Technology modules24....................
V
VTSA-Pneumatik-Interface26................
W
Web server21............................
X
XDC file34, 35............................
XDD file36...............................
Festo – P.BE-CPX-FB40-EN – 1408NH – English81
Page 82
Reproduction, distribution or sale of this document or communication of its contents to others without express authorization is
prohibited. Offenders will be liable for damages. All rights reserved in the event that a patent, utility model or design patent is
registered.
Copyright:
Festo AG & Co. KG
Postfach
73726 Esslingen
Germany