B.1List of abbreviations80.......................................................
Festo – P.BE-CPX-FB23-24-EN – 1411b – English5
CPX-FB23, CPX-FB23-24
Notes on this documentation
Note
This description refers to the CPX bus node type CPX-FB23 from Revision R14 (CC-Link
version 1.1) and type CPX-FB23-24 from revision R22 (CC-Link version 1.1 and 2.0). For
corresponding specifications, see rating plate.
This description contains specific information on installing, commissioning, programming and dia
gnostics with the CPX bus node for CC-Link.
The CPX bus node type CPX-FB23-24 supports either the CC-Link versions 2.0 and 1.1.
Because of the fundamental differences between protocol versions 2.0 and 1.1, the correspondingly
configured bus node is either designated as a function module F24 (CC-Link version 2.0) or as a func
tion module F23 (CC-Link version 1.1). These designations are found, for example, in the system repres
entation of the Festo Maintenance Tools (CPX-FMT) or in the handheld terminal (CPX-MMI) from Festo.
– CC-Link version 2.0 corresponds to the function module F24 and supports up to four stations per
slave with extended address space. It is possible to configure addressing to be either cycle-time-op
timised or station-optimised.
– CC-Link version 1.1 corresponds to the function module F23 and supports up to four stations per
slave up to an address volume of 32 bytes of inputs and outputs.
The remote controller operating mode is available only in the configuration as function
module F23. The remote I/O operating mode must be set in the configuration as function
module F24.
Product identification, versions
– In chapters 2 to 4, the behaviour and operation of the bus nodes CPX-FB23-24
is described in the configuration F24.
– The corresponding information on bus nodes is found CPX-FB23 in the CPX-FB23-24
configuration F23, summarised in chapter 5.
General information on the fieldbus CC-Link is found in the documentation for your CC-Link master and
for the relevant control systems (e.g. from Mitsubishi). An overview can be found under www.cclink.org.
General basic information about the mode of operation, mounting, installation and commissioning of
CPX terminals can be found in the CPX system description (P.BE-CPX-SYS-…).
Information about additional CPX modules can be found in the description for the respective module.
Service
Please consult your regional Festo contact if you have any technical problems.
6Festo – P.BE-CPX-FB23-24-EN – 1411b – English
1Safety and requirements for product use
1Safety and requirements for product use
1.1Safety
1.1.1General safety information
Observe the general safety information in the corresponding chapters.
Specific safety regulations can be found immediately before the task instructions.
Note
Damage to the product from incorrect handling.
Switch off the supply voltage before mounting and installation work. Switch on sup
ply voltage only when mounting and installation work are completely finished.
Never unplug or plug in a product when powered!
Observe the handling specifications for electrostatically sensitive devices.
1.1.2Intended use
The bus node documented in this description is intended as a participant on the fieldbus system Con
trol & Communication link (CC-Link) from Mitsubishi exclusively for use in the Festo CPX terminal for
installation in machines or automated systems and used as follows:
– In excellent technical condition
– In original status without unauthorised modifications, except for the adaptations described in this
documentation
– Within the limits of the product defined by the technical data (è Appendix A.1)
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.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English7
1Safety and requirements for product use
Warning
Danger of electric shock from voltage sources without protective measures.
Use only PELV circuits in accordance with EN 60204-1 (Protective Extra-Low Voltage,
PELV) for the electric logic supply.
Also observe the general requirements for PELV circuits in accordance with
EN 60204-1.
Only use power sources which guarantee reliable electrical isolation of the operating
voltage in accordance with EN 60204-1.
Through the use of PELV circuits, protection from electric shock (protection from direct and indirect
contact) in accordance with EN 60204-1 is ensured (Electrical equipment of machines. General require
ments).
In the CPX system description (P.BE-CPX-SYS-…), read the information on power supply as
well as on the earthing measures to be carried out.
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.2Requirements 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.
1.2.1Technical prerequisites
General conditions for the correct and safe use of the product, which must be observed at all times:
Comply with the connection and environmental conditions specified in the technical data of the
product (è Appendix A.1) 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 instructions and warnings in this documentation.
8Festo – P.BE-CPX-FB23-24-EN – 1411b – English
1Safety and requirements for product use
1.2.2Qualification of the specialized personnel (requirements for the personnel)
This description is directed exclusively to technicians trained in control and automation technology,
who are experienced in:
– Installation, commissioning, programming and diagnostics of participants in the CC-Link fieldbus
system
– The applicable regulations for operating safety-engineered systems
– The applicable regulations for accident prevention and industrial safety
– 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 the declaration of conformity for this product are found on the Internet page
of Festo (è www.festo.com).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English9
2Installation as function module F24
2Installation as function module F24
The instructions and descriptions for installation in this chapter with exception of sec
tion 2.4.8 are valid also for the configuration as a function module F23.
For the function module F23, section 5.2.2 is valid instead of the section 2.4.8.
2.1General instructions on installation
Warning
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 states of the electronics
Caution
The CPX bus node for CC-Link 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
Handle all modules and components with great care. Pay particular attention to the
following:
– Comply with the specified torques
10Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.2Electrical connection and display components
The following connection and display components are found on the CPX bus node:
4
1 Fieldbus status and CPX-specific LEDs
2 Fieldbus connection (9-pin Sub-D socket)
3 DIL switch cover
4 Service interface for
handheld terminal (CPX-MMI) or
Festo Maintenance Tool (CPX-FMT)
Fig. 2.1Connection and display components on the bus node
Run PS
Error
RD
PM
SFMSD
1
23
Festo – P.BE-CPX-FB23-24-EN – 1411b – English11
2Installation as function module F24
2.3Dismantling and mounting
The CPX bus node is installed on an interlinking block of the CPX terminal (è Fig. 2.2).
Warning
Mounting/dismounting of the bus node must always take place in a de-energised
status.
Disconnect the corresponding CPX terminal completely from the related voltage
supply or switch it off.
2.3.1Dismantling
Dismantle the bus node as follows:
1. Loosen the 4 screws of the bus node with a
®
screwdriver size T10.
TOR X
2. Pull the bus node carefully and without tilting
away from the contact rails of the interlinking
block.
4
1
1 Bus node CPX-FB23-24
2 Interlinking block
3
2
3 Contact rails
4 Screws
Fig. 2.2 Dismantling / mounting the bus node
Note
Always use the appropriate screws for the interlinking block (metal or plastic), depend
ent on the material the block is made of:
– For plastic interlinking blocks: self-tapping screws
– For metal interlinking blocks: screws with metric thread.
Both types of screws are enclosed the bus node is ordered as a single part.
12Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.3.2Mounting
Mount the bus node as follows:
1. Check the seal and the sealing surface.
2. Place the bus node in the interlinking block. Make sure that the corresponding slots with the con
tacting terminals on the bottom of the bus node are above the contact rails.
3. Push the bus node carefully and without tilting into the interlinking block up to the stop.
4. Tighten the screws only by hand. Set the screws so that the self-cutting threads can be used.
®
5. Tighten the screws with a TORX
screwdriver size T10 with 0.9 ... 1.1 Nm torque.
2.4Settings of the DIL switches on the bus node
Note
This section describes how the DIL switch is set in the configuration of the bus node as
function module F24 (support of CC-Link version 2.0).
In order to set the bus node, you must first remove the cover for the DIL switches.
Caution
The CPX bus node for CC-Link 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
You need a TORX® screwdriver size T10 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 DIL switch cover.
Make sure that the seal is seated correctly when attaching the cover!
Tighten the two fastening screws at first by hand and then with max. 0.4 Nm.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English13
2Installation as function module F24
2.4.2Arrangement of the DIL switches
There are 5 DIL switches available for configuring the bus node. They are located underneath the DIL
switch cover (è Section 2.4.1).
1 DIL switch 1:
– Operating mode and baud rate
2 DIL switch 1 and 2:
1
2
– Baud rate
3 DIL switch 3:
3
– Function F24/F23
– CC-Link slave address
4 DIL switch 4:
4
– Mapping optimisation
5 DIL switch 5:
– HOLD/CLEAR
5
– System diagnostics
Fig. 2.3 DIL switches in the bus node CPX-FB23-24 – function module F24
(additional information è Sections 2.4.4 … 2.4.10)
2.4.3Setting the DIL switches
1. Switch off the power supply.
2. Remove the DIL switch cover (è Section 2.4.1).
3. Carry out the required settings (è Section 2.4.4 … 2.4.10).
4. Attach the DIL switch cover again (è Section 2.4.1).
Note
Parameterisation via DIL switch settings is taken over only when the power supply is
switched on.
ONON
12 12
ON
ONON
12 12
1234 5 678
14Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.4.4Setting the operating mode
You set the operating mode of the bus node with switch element 1.1 of DIL switch 1.
Operating mode
Remote I/O operating mode
All functions of the CPX terminal are con
Setting DIL switch 1
1.1:OFF
(factory setting)
trolled directly by the higher-order PLC/IPC.
The bus node undertakes the required con
nection to CC-Link.
Not possible
1.1:ON
The remote controller operating mode is
available only in the configuration as func
tion module F23. The remote I/O operating
mode must be set in the configuration as
function module F24.
Tab. 2.1 Operating mode
Note
The setting of the operating mode with the DIL switch has priority over all other set
tings.
Setting of the DIL switch 1.1 to ON causes a change to the configuration as function
module F23, independent of the setting of DIL switch 3.8 (è 2.4.6).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English15
2Installation as function module F24
2.4.5Setting the baud rate
You can set the baud rate with the DIL switch elements 1.2 of the DIL switch 1 and the DIL switch ele
ment 2.1 and 2.2 of the DIL switch 2.
Baud rateSetting DIL switches 1.2 and 2
156 kBd1.2:OFF
2.1:OFF
2.2:OFF
625 kBd1.2:ON
2.1:OFF
2.2:OFF
2.5 MBd1.2:OFF
2.1:ON
2.2:OFF
5 MBd1.2:ON
2.1:ON
2.2:OFF
10 MBd1.2:OFF
2.1:OFF
2.2:ON
(factory setting)
Switch position combinations that are not presented are impermissible.
Tab. 2.2 Baud rate
The maximum range per segment is dependent on the baud rate (è Section 2.5.2).
16Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.4.6Configuration as function module F24 or F23
With the DIL DIL switch 3.8 of the DIL switch 3, the bus node can either be configured as function mod
ule F24 or as function module F23.
Function moduleSetting DIL switch 3
F24:
Supports CC-Link version 2.0
F23:
Supports CC-Link version 1.1
3.8:ON
78
(factory setting)
3.8:OFF
78
Tab. 2.3 Function module F24 or F23
The factory setting of the DIL switch 3.8 is dependent on the order of the bus node. If the
bus node is ordered as part of a CPX terminal, either the function module F24 or F23 can
be selected during the configuration of the CPX terminal.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English17
2Installation as function module F24
2.4.7Setting the CC-Link slave address
The CC-Link slave address of the CPX terminal is set with DIL switch elements 3.1 to 3.7 of the DIL
switch 3.
CC-Link slave addressSetting DIL switch 3Decimal
Permitted addresses:
1 … 64
Factory setting: 1
3.7:22 x 10
3.6:21 x 10
3.5:20 x 10
3.4:2
3.3:2
3.2:2
12 34 56 78
3.1:2
3
2
1
0
= 40
= 20
= 10
= 8
= 4
= 2
= 1
Tab. 2.4 CC-Link slave address
Note
The CC-Link slave address set here refers to the first station occupied by the CPX termin
al in the fieldbus. Depending on the expansion of the CPX terminal and the resulting
required stations, additional slave addresses and/or stations are automatically as
signed by the CPX terminal, if necessary. CC-Link slave addresses may only be assigned
once per fieldbus line.
Example: address 05Example: address 26
8
–
–
–
–
+ 22 =4
–
12 34 56 7
+ 20 =1
Address:5
–
+ 21 × 10=20
–
–
+ 22 =4
+ 21 =2
1234 5678
–
Address:26
Tab. 2.5 Examples of set addresses
18Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
On the following pages, you will find an overview of the setting the CC-Link slave addresses 1 … 64.
Switch position combinations that are not presented are impermissible.
Tab. 2.7 Setting of the addresses 1 … 32: entry of the DIL switch
ON
OFF OFF
ON
ON
ON
OFF OFF
ON
OFF OFF
ON
ON
OFF
ON
ON
OFF
ON
OFF
ON
OFF
ON ON
ON ON
OFF OFF OFF
OFF OFF OFF
ON
OFF OFF
ON
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
OFF OFF
ON
OFF
ON
OFF
ON
OFF
ON ON
ON ON
ON ON
ON ON
ON ON
20Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.4.8Setting of mapping optimisation
You set the mapping optimisation of the bus node with the DIL switch 4.2 of the DIL switch 4.
Mapping optimisation
Cycle-time optimised
The mapping is optimised to a cycle time
Setting DIL switch 4
4.2:OFF
(factory setting)
that is as small as possible. More stations
are occupied if necessary. This setting en
ables also the operation on a CC-Link Mas
ter Version 1.1 as a function module F24
with a max. address space of 4 stations for
single cycle time (è Section 3.5).
Station-optimised
4.2:ON
The mapping is optimised to as few as pos
sible assigned stations. If necessary, this
extends the cycle time.
Tab. 2.8 Mapping optimisation
The DIL switch 4.1 of the DIL switch 4 as a function module F24 has no function in the
configuration.
Principle of mapping optimisation
For the mapping optimisation, the CC-Link (version 2.0) option is used to configure 4 advanced cycle
settings. In addition to the standard single cycle, a 2-fold, 4-fold and 8-fold cycle are available; their use
increases the cycle time correspondingly.
The number of stations required and cycles is automatically determined by the bus node according to
the selected type of optimisation (cycle-time-optimised or station-optimised).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English21
2Installation as function module F24
The following table shows the theoretically possible configurations for the specified useful data
volume. The useful data volume in the word area relate to the setting with deactivated system dia
gnostics. When activated, the first word in the word area is assigned to the system diagnostics and
reduces the amount of useful data by this amount.
Assigned
stations
1 stationInputs in bit area
2 stationsInputs in bit area
3 stationsInputs in bit area
4 stationsInputs in bit area
Transmitted dataCycle setting
1)
Single
2 bytes2 bytes6 bytes14 bytes
Outputs in bit area
Inputs in word area
Outputs in word area
2 bytes2 bytes6 bytes14 bytes
8 bytes16 bytes32 bytes64 bytes
8 bytes16 bytes32 bytes64 bytes
6 bytes10 bytes22 bytes46 bytes
Outputs in bit area
Inputs in word area
Outputs in word area
6 bytes10 bytes22 bytes46 bytes
16 bytes32 bytes64 bytes64 bytes
16 bytes32 bytes64 bytes64 bytes
10 bytes18 bytes38 bytes64 bytes
Outputs in bit area
Inputs in word area
Outputs in word area
10 bytes18 bytes38 bytes64 bytes
24 bytes48 bytes64 bytes64 bytes
24 bytes48 bytes64 bytes64 bytes
14 bytes26 bytes54 bytes–
Outputs in bit area
Inputs in word area
Outputs in word area
14 bytes26 bytes54 bytes–
32 bytes64 bytes64 bytes–
32 bytes64 bytes64 bytes–
2-fold4-fold8-fold
Station-optimised
1) Setting requires configuration of the bus node in the master as CC-Link 1.1 slave.
Tab. 2.9 Useful data volume at different cycle and station settings
The useful data volume in the bit area depicted in the table result from the maximum possible amount
of data for each station multiplied by the number of set stations and cycles, minus the data needed for
control of the cycles and the remote ready function.
CompositionExample 1Example 2
Maximum possible data volume per station 4 bytes 4 bytes
× Number of set stations× 3 stations× 3 stations
× Number of set cycles× 1 cycle× 4 cycles
– 2 bytes (1 word) control data per cycle
1)
– 0 × 2 bytes 1)– 4 × 2 bytes
1)
– 2 bytes (1 word) remote ready– 2 bytes– 2 bytes
= Useful data volume= 10 bytes= 38 bytes
1) If more than 1 cycle, required for each cycle
Tab. 2.10 Determining the actual useful data in the bit area
Cycle-time-optimised
22Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
Note
The light grey shaded values stored in Tab. 2.9 (single cycle setting) require configura
tion of the bus node in the master as CC-Link 1.1 slave. Otherwise, a communication
error is issued.
The light grey shaded values Tab. 2.9 are also limited by the system limit of the CPX terminal (max. 64
bytes input and 64 bytes outputs).
The configuration “4 stations, 8-fold cycle setting” is not possible.
The sum of the assigned inputs in bit and word area and the sum of the assigned outputs
in the bit and word area must not exceed 64 bytes, respectively. Otherwise, the CPX ter
minal is not ready for operation.
2.4.9Setting the HOLD/CLEAR function
The CPX terminal supports the CC-Link HOLD/CLEAR function. With this, system-specific output
statuses can therefore be defined in case of an error.
With the DIL switch element 5.1 of the DIL switch 5, you can set the HOLD/CLEAR function of the CPX
terminal.
HOLD/CLEAR functionSetting DIL switch 5.1
CLEAR
Digital outputs are reset in the event of
5.1:OFF
(factory setting)
fieldbus communication errors
(è note).
HOLD
5.1:ON
Digital outputs retain their status in the
event of fieldbus communication errors.
Tab. 2.11 HOLD/CLEAR function
The following fieldbus communication errors count as error cases:
– Interruption of communication
– Timeout of communication
Warning
Ensure that valves and outputs are put into a safe status if the stated malfunctions
occur.
Incorrect status of valves and outputs can lead to dangerous situations.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English23
2Installation as function module F24
Note
Reset of outputs means:
– Monostable valves move to the initial position
– Bistable valves remain in the current position
– Mid-position valves go into mid-position (pressurized, exhausted or closed, depend
ing on valve type).
Note
The special CPX fail safe parameterisations (è CPX system description
P.BE-CPX-SYS-…) are not supported by the bus node CPX-FB23-24.
2.4.10Setting the system diagnostics
With the DIL switch element 5.2 of the DIL switch 5, you set whether the status bits and the I/O dia
gnostic interface are to be available to the system diagnostics in the address range of the CPX terminal.
System diagnosticsSetting DIL switch 5.2
No system diagnostics5.2:OFF
(factory setting)
System diagnostics active
5.1:ON
(è Sections 3.2.5, 4.5 and Tab. 3.3)
Tab. 2.12 System diagnostics
Note
If the system diagnostics are used with the status bits or the I/O diagnostic interface,
the first word in the word area (RWr and RWw) of station 1 will be assigned for the sys
tem diagnostics.
The system diagnostics are only available in the operating mode remote I/O.
Further information on the status bits and I/O diagnostic interface are found in sections 3.2 and 4.5.
24Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
2.5Connecting the fieldbus
2.5.1Fieldbus cable
Note
Faulty installation and high transmission rates may cause data transmission errors as a
result of signal reflections and attenuations.
Transmission errors can be caused by:
– Missing or incorrect terminating resistor
– Incorrect screened connection
– Branches
– Transmission over long distances
– Inappropriate cables.
Observe the cable specifications! Refer to the manual for your control system for in
formation on the type of cable to be used.
Note
If the valve terminal is mounted into a moving part of a machine, the fieldbus cable on
the moving part must be provided with strain relief. Note the relevant regulations in
IEC/EN60204-1.
Exact details on the bus length is found in section 2.5.2 and in the manuals for your con
trol system.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English25
2Installation as function module F24
2.5.2Fieldbus baud rate and fieldbus length
The maximum permitted fieldbus length depends on the baud rate used . The following table shows the
usable baud rates without repeaters (CC-Link version 1.1 compatible reference cable, terminating res
istor 110 Ω).
Baud rate
Cable length between stationsMax. total cable length
156 kBd1200 m
625 kBd900 m
2.5 MBd> 0.2 m (for all baud rates)400 m
5 MBd160 m
10 MBd100 m
Master
station
1)
CPX terminal with bus node CPX-FB23-24= Remote device station
Remote I/O station /
Remote device station
Cable length
between stations
Local station /
1)
Intelligent device station
Total cable length
Remote I/O station /
Remote device station
Tab. 2.13 Baud rate and fieldbus length
For setting the baud rate, observe the instructions in section 2.4.5.
Local station /
1)
Intelligent device station
26Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
Branch lines
The following table shows the specification for branch lines (without repeater) with the CC-Link refer
ence cable.
TopicSpecificationComments
Baud rate625 kBd 156 kBd 10 / 5 / 2.5 MBd not possible.
Maximum length of main
string
100 m500 mCable length between the terminating resistors
without the length of the branch line cables.
Max. branch line length8 mTotal cable length for a branch line.
Max. total length of
50 m200 mTotal cable length for all branch lines.
branch lines
Max. number of parti
cipants per branch line
Connecting cablesCC-Link reference
6 participants per
branch line
cable
Total number of connectable participants depends
on CC-Link specification.
CC-Link high-performance cable cannot be used
(e.g. FANC-SBH).
The use of different cables is not possible.
Branch line manifold
blocks
Commercially-avail
able branch line
Remove as little insulation as possible from the
cable when it is connected to the main string.
manifold blocks
Branch line connectorsRecommended con
nectors for FA
sensors: NECA4202
(IEC 947-5-2) or
compatible
Distance between
branch lines
AnyDistance between branch lines (branch line mani
fold blocks or branch line connectors).
Length A< 0.3 mCable length between remote I/Os or remote device
stations.
< 2 m
1)
2)
Cable length for master, local and intelligent device
stations as well as the adjoining stations.
Length B< 1 m
1) More than 1 m if only remote I/Os and remote device stations are available.
2) More than 2 m if local or intelligent device stations are available.
Tab. 2.14 Specification for branch lines
Festo – P.BE-CPX-FB23-24-EN – 1411b – English27
2Installation as function module F24
2.5.3Pin allocation of the fieldbus interface
Bus connection
SocketPinCC-LinkDesignation
1
2
3
4
5
6
7
8
9
Housing
n.c.
DA
DG
n.c.
n.c.
n.c.
DB
n.c.
n.c.
SLD / FG
Free (not connected)
Data A
Data reference potential (data ground)
Free (not connected)
FE via R/C comb. (not connected)
Free (not connected)
Data B
Free (not connected)
Free (not connected)
Cable screening/shield, connection to FE of the CPX terminal
1) The three cables for connection to DA, DB and DG are twisted.
DA
DB
DG
SLD
FG
DA
DB
DG
SLD
FG
4
4 Terminating resistor
5 Earthing (SLD and FG connected in the
module)
Fig. 2.4 Connection pattern of CC-Link
28Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
You can connect the CPX terminal to the fieldbus CC-Link in one of the following ways:
Manifold block/plug connector
Festo manifold block type
Comments
Protection class IP 20, connection with cable lugs
FBA-1-KL-5POL
Festo Sub-D plug connector type
FBS-SUB-9-GS-2X4POL-B
Degree of protection IP 65/IP 67, connection with cable
clamps
Other Sub-D plug connectorsDegree of protection IP20
Tab. 2.16 Manifold block/plug connector for fieldbus connection
Note
Only the Sub-D plug connector from Festo will ensure compliance with IP 65/IP67. Be
fore using fieldbus plugs from other manufacturers:
Replace the two flat screws with bolts (type UNC-4-40/M3x6).
Manifold block
With the manifold block type FBA-1-KL-5POL, you can connect the CPX terminal to the fieldbus CC-Link.
For connecting the fieldbus cable to the manifold block, use claw cable shoes similar to DIN 46225 form B, nominal size B4-1.
2 Connect FG with low impedance to FE
3 Earthing the CPX terminal (via the earth
terminal on the end plate)
4 CPX-FB23-24
DB (Data B)
DA (Data A)
Fig. 2.5 Festo manifold block, pin allocation
Festo – P.BE-CPX-FB23-24-EN – 1411b – English29
2Installation as function module F24
Sub-D plug connector
Alternatively, you can connect the CPX terminal with sub-D plug from Festo.
Observe the mounting instructions for the fieldbus plug.
Clamp the screening of the fieldbus cable under the clamp strap of the sub-D plug from Festo.
Note
The clamp strap in the fieldbus plug is connected internally with the metal housing of
the sub-D plug.
Connection *NC* must not be connected.
12
3
*NC*
*NC*
DBDADG
DBDADG
4
5
1 Folding cover with inspection window
2 Fieldbus cable, seal unused connection with
blanking plate (IP65/IP67)
4 Terminal strip for fieldbus incoming or
continuing
5 CPX-FB23-24 (shown at reduced size)
3 Clamp strap for screened connection
Fig. 2.6 Fieldbus plug from Festo, type FBS-SUB-9-GS-2x4POL-B
30Festo – P.BE-CPX-FB23-24-EN – 1411b – English
2Installation as function module F24
Note
Note that only the Festo sub-D plug guarantees compliance with degree of protec
tion IP65/IP67.
To comply with degree of protection IP65/IP67:
Mount the DIL switch cover.
Seal the service interface with the cover cap supplied.
Use the Festo sub-D plug.
Connecting with sub-D plug connectors of other manufacturers
When connecting sub-D plug connectors of other manufacturers:
Replace the two flat screws with bolts (type UNC 4-40/M3x6).
Connect the cable screening to the plug housing.
2.5.5Fieldbus connection with terminating resistors
Note
If the CPX terminal is at the beginning or end of the fieldbus system, a bus termination is
required.
To terminate, use a fieldbus terminal on both ends of the fieldbus segment
(è Fig. 2.4).
A resistor between Data A and Data B is used as a fieldbus termination (depending on cable type,
è Tab. 2.17).
1234
*NC*
*NC*
DBDADG
DBDADG
1 Fieldbus plug from Festo
2 Connection for continued fieldbus sealed
FG SLD DG
*NC*
DGDBDA
DB DA
3 Terminating resistor between DA and DB
4 Festo manifold block
Only use PELV circuits in accordance with IEC/EN 60204-1 (protective extra-low
voltage, PELV) for the electrical power supply.
Observe also the general requirements for PELV power circuits in accordance with
IEC/EN 60204-1.
Only use voltage sources which ensure reliable electrical isolation of the operating
voltage in accordance with IEC/EN 60204-1.
Through the use of PELV circuits, protection against electric shock (protection against direct and indir
ect contact) is ensured in accordance with IEC/EN 60204-1.
The current consumption of a CPX terminal depends on the number and type of integrated modules and
components.
In the CPX system description (P.BE-CPX-SYS-…), read the information on power supply as
well as on the earthing measures to be carried out.
32Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3Commissioning as function module F24
3.1General instructions for commissioning
Note
Before commissioning, you must have installed the CPX terminal correctly
(è Chapter 2).
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 interface 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 corresponding
description of pneumatics.
3.2Configuration and addressing
3.2.1Number of inputs/outputs
Caution
For operation of the bus node CPX-FB23-24 as a function module F24 (CC-Link
version 2.0), the DIL switch element 3. 8 of the DIL-switch 3 must be set on “ON”
(è Section 2.4.6).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English33
3Commissioning as function module F24
Note
– The bus node automatically determines the number of inputs and outputs of the
modules installed in the CPX terminal.
– Corresponding to the set mapping optimisation (cycle time or station optimised), the
cycle setting and the required number of stations is automatically configured
(è Section 2.4.8).
– Depending on the required address volume of the CPX terminal, this occupies 1 or
several stations (address space) in the CC-Link system(è Section 2.4.7).
– For an activated system diagnostics function, the 1st word is assigned in the word
area of station 1 (16 input and 16 output addresses). If the I/O diagnostic interface
of the system diagnostics is not used, the first 8 inputs represent the status bits
(è Section 4.5.1).
– With the Festo Maintenance Tool (CPX-FMT) or handheld terminal (CPX-MMI), the
configured parameters, the set CC-Link slave address and baud rate, number of
occupied stations and cycle settings can be read as read-only parameters under the
menu item “Module Data”.
The address assignment within the individual CPX modules is found in the description for
the relevant CPX module.
Based on the CPX module type, you can ascertain the number of inputs and outputs occu
pied by the CPX module.
In the CPX-FMT or CPX-MMI, the individual modules are displayed with their module iden
tifiers. In the I/O modules, the module indicator is depicted in the upper region of the
module next to the LEDs (for example, 8DI for a module with 8 digital inputs).
Detailed information on the electric and pneumatic CPX modules are found in the Festo
Support Portal (è www.festo.com).
34Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3.2.2Addressing rules
I/O counting mode
– The address assignment of the inputs is independent of the address assignment of the outputs.
– The counting mode is independent of the position of the bus node in the CPX terminal.
– Counting mode from left to right, corresponding to the installation position in the CPX terminal and
dependent on the module type.
– Digital I/Os, analogue I/Os and I/Os of technology modules occupy their address volume, ascend
ing respectively without gaps in the corresponding address space.
– Digital I/Os are mapped in the bit area; analogue I/O and I/O technology modules are mapped par
allel in the word area, starting from the 1st station to be mapped.
– Remote ready (RR, CC-Link-specifically reserved) is always in the bit area at the end in the last occu
pied station or last used cycle (è Fig. 3.1 and Fig. 3.2).
– The status bits and the I/O diagnostic interface of the system diagnostics occupy, if activated, the
first 2 bytes of the inputs and outputs of the word area of the 1st station (è e.g. Fig. 3.1).
address space parallel to digital I/O and
pneumatic modules.
– Arrangement dependent on the
installation position in the CPX terminal
(from left to right).
1) Only with activated system diagnostics
2) Type of electronic module included.
Tab. 3.1 I/O counting mode: addressing rules for the CPX modules
1)
36Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3.2.3Addressing examples (examples of address assignment)
General example
The following representations show the address allocation of the inputs and outputs with enabled
system diagnostics, different mapping optimisation (cycle-time-optimised or station-optimised) and
with identical configuration of the CPX terminal:
16 DI, 24 DO, 10 AI, 8 AO.
Mapping optimisation: cycle-time-optimised
The following configuration arises from the address volume of the CPX terminal:
3 stations, single cycle time.
Bit areaWord area
Station 1
RX
Inputs
X1000 I15 … I0O15 … O0Y1000D1000 System diagnostics (16 I/O)D2000
X1010 I31 … I16O31 …O16Y1010D1001 AI1AO1D2001
RY
Outputs
RWr
Inputs
D1002 AI2AO2D2002
D1003 AI3AO3D2003
RWw
Outputs
Station 2
Station 3
X1020 I47 … I32O47 … O32Y1020D1004 AI4AO4D2004
X1030 I63 … I48O63 … O48Y1030D1005 AI5AO5D2005
D1006 AI6AO6D2006
D1007 AI7AO7D2007
X1040 I79 … I64O79 … O64Y1040D1008 AI8AO8D2008
X1050 Remote ready (RR = bit 11)Y1050D1009 AI9AO 9D2009
D1010 AI10AO10D2010
D1011 AI11AO11D2011
Assigned address spaceAvailable address space
Fig. 3.1Example for cycle-time-optimised CC-Link memory mapping
Festo – P.BE-CPX-FB23-24-EN – 1411b – English37
3Commissioning as function module F24
Mapping optimisation: station-optimised
The following configuration arises from the address volume of the CPX terminal:
1 station, 4-fold cycle time.
– The 3rd cycle contains user data in the word area
– The 4th cycle contains no user data
– Remote ready situated at the end of the 2nd cycle
Bit areaWord area
Station 1
1st cycle
RX
Inputs
X1000 I15 … I0O15 … O0Y1000D1000 System diagnostics (16 I/O)D2000
X1010 I31 … I16O31 …O16Y1010D1001 AI1AO1D2001
RY
Outputs
RWr
Inputs
D1002 AI2AO2D2002
D1003 AI3AO3D2003
RWw
Outputs
Station 1
2nd cycle
Station 1
3rd cycle
Station 1
4th cycle
X1020 I47 … I32O47 … O32Y1020D1004 AI4AO4D2004
X1030 Remote ready (RR = bit 11)Y1030D1005 AI5AO 5D2005
D1006 AI6AO6D2006
D1007 AI7AO7D2007
X1040Y1040D1008 AI8AO8D2008
X1050Y1050D1009 AI9AO9D2009
D1010 AI10AO10D2010
D1011 AI11AO11D2011
X1060Y1060D1012 AI12AO12D2012
X1070Y1070D1013 AI13AO13D2013
D1014 AI14AO14D2014
D1015 AI15AO15D2015
Assigned address spaceAvailable address space
Fig. 3.2Example for station optimised CC-Link memory mapping
38Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
Configuration example
The following example describes a specific configuration of a CPX terminal with digital and analog I/O
modules and MPA pneumatics, and the resulting allocation of I/O data, depending on the selected
mapping optimisation.
MPA1S–1 byte––
with galvanic isolation
Sum of the respective address ranges4 bytes4 bytes18 bytes
(9 words)
1) Module identifiers on the Festo Maintenance Tool (CPX-FMT) or handheld terminal (CPX-MMI), for
6 bytes
(3 words)
I/O modules these are shown in the inspection window of the module.
2) Remote ready bit always occupies the address space of 2 bytes in the bit area (RX, RY) at the end of
the last station with 1 bit.
3) The system diagnostics (status bits and I/O diagnostic interface) occupies 16 I/Os (the first word)
in the word area of the first station (RWr, RWw).
Tab. 3.2 Configuration example for the CPX terminal depicted in Fig. 3.3 and Fig. 3.4
Festo – P.BE-CPX-FB23-24-EN – 1411b – English39
3Commissioning as function module F24
Cycle-time-optimised assignment of I/O data
The following configuration arises from the address volume of the CPX terminal:
3 stations, single cycle time.
The figure (è Fig. 3.3) shows the distribution of module-specific I/O data in the CC-Link specific ad
dress ranges, and the arrangement and sequence of I/O data within these address ranges.
Inputs (RX, RWr)
D1000D1005 … D1008
RX RY RWr RWw
1
2
3
Remote ready
X1000 … X1007D1001 … D1004X1008 … X100F
RX RY RWr RWw
1
2
3
Remote ready
Assigned address spaceAvailable address space
RX RY RWr RWw
1
2
3
Remote ready
RX RY RWr RWw
1
2
3
Remote ready
RX RY RWr RWw
1
2
3
Remote ready
8DI/8DO
2AO4AI8DI
4A
I
System diagnostics
8DO
RX RY RWr RWw
1
2
3
Remote ready
D2000Y1008 ... Y100F
Outputs (RY, RWw)
RX RY RWr RWw
1
2
3
Remote ready
Y1000 ... Y1007
Assigned address space
RX RY RWr RWw
1
2
3
Remote ready
D2001, D2002
Available address space
RX RY RWr RWw
1
2
3
Remote ready
X1000, Y1000, D1000, D2000…Exemplary representation of the CC-Link address assignment
(hexadecimal)
Fig. 3.3Cycle-time-optimised addressing of the CPX terminal described in Tab. 3.2
40Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
Station-optimised assignment of I/O data
The following configuration arises from the address volume of the CPX terminal:
1 Station, 4-fold cycle time.
The Figure (è Fig. 3.4) shows the distribution of module-specific I/O data in the CC-Link-specific ad
dress ranges and the arrangement and sequence of I/O data within these address ranges.
Inputs (RX, RWr)Assigned address spaceAvailable address space
Outputs (RY, RWw)Assigned address spaceAvailable address space
X1000, Y1000, D1000, D2000…Exemplary representation of the CC-Link address assignment
(hexadecimal)
Fig. 3.4Station-optimised addressing of the CPX terminal described in Tab. 3.2
8DO
Festo – P.BE-CPX-FB23-24-EN – 1411b – English41
3Commissioning as function module F24
3.2.4Address assignment after extension/conversion
If there is a change in the machine requirements, 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 and/or pneumatic manifold blocks for monostable valves are
replaced by interlinking blocks/manifold blocks for bistable valves or vice versa
(è Pneumatics description).
– Additional interlinking blocks and/or manifold blocks are inserted between existing
ones.
– The configured addresses of the pneumatic interface are modified.
If the configuration of a CPX terminal has been changed, the necessary, new requirements for the CPX
terminal must be checked and the mapping optimisation set accordingly:
– Cycle-time-optimised, when a fast response time of the CPX terminal is required.
– Station-optimised, when a larger address space of the CPX terminal is required.
Moreover, it should be noted that the needed address space may increase due to modific
ation of the CPX terminal, and so the slave addresses of the following slaves in the field
bus must be checked and adjusted if necessary.
3.2.5CC-Link memory mapping
Digital inputs and outputs (I/Os)
Digital I/Os occupy successively their corresponding address volume in the free address space of the
bit area (RX/RY) corresponding to the set mapping optimisation, cycle-time- or station-optimised
(è Section 3.2.3).
Analogue inputs and outputs
Analogue I/Os occupy successively their corresponding address volume in the free address space of
the word area (RWr/RWw) corresponding to the set mapping optimisation, cycle-time- or station-optim
ised (è Section 3.2.3).
Remote ready (RR, CC-Link-specific)
The remote ready bit is set to “1” by the bus node after successful initialization.
At each cycle-time optimisation, the last 2 bytes in the bit area (RX and RY) of the last station are re
served (è Fig. 3.1).
For station optimisation, the last 2 bytes in the bit area (RX and RY) of the immediately following free
cycle address space are reserved (è Fig. 3.2).
Bit 11 of the input section (RX) includes the remote ready bit.
42Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
System diagnostics
The status bits and the I/O diagnostic interface of the system diagnostics occupy, if activated, the first
2 bytes, respectively, of the inputs and outputs of the word area of the 1st station (è e.g. Fig. 3.1).
The following table shows the assignment of the word area of the first station with an activated system
diagnostics.
System diagnostics (è CPX system description)
Slave > Master – RWr(n)0
1)
Bit:1514131211109876543210
Signal: Q 2)ReservedDiagnostics data
When the control signal returns 0, the bits
0 ... 7 represents the status bit
(è Section 4.5.1)
Master > Slave – RWw(n)0
1)
Bit:1514131211109876543210
Signal: S 2)Reserved Function number
1) n = assigned CC-Link slave address
2) Q = quitting bit; S = control bit
Tab. 3.3 System diagnostics: status bits and I/O diagnostics interface
Detailed information on system diagnostics is found in the CPX system description
(P.BE-CPX-SYS-…).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English43
3Commissioning as function module F24
3.2.6Fieldbus configuration
Before a slave can be connected (e.g. bus node CPX-FB23-24) to the CC-Link master, various configura
tion settings must be made, e.g.:
– Number of connected slaves
– Number of stations to be connected to the system again during a scanning cycle
– Status if there is a CPU fault in the main computer
– Station data (settings of the slave):
– Station type (CPX-FB23-24: Remote device station)
– CC-Link slave address (1 … 64)
– Function module F24
– Protocol version CC-Link version 2.0 or 1.1 (è Note)
– Optimisation type: cycle-time- or station-optimised
The configuration settings are saved in the master station buffer memory. The settings can, for ex
ample, be set as follows (in some cases dependent on the master):
– With the GX Developer
– Through manual programming using PLC code
General information on the fieldbus CC-Link is found in the documentation for your CCLink master and for the relevant control systems (e.g. from Mitsubishi).
An overview can be found under www.cc-link.org.
Note
In a configuration with single cycle setting (è Tab. 2.9) the bus node in the master must
be configured as CC-Link 1.1 slave.
44Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3.3Parameterisation
Parameterisation of the CPX-Terminal with the bus node CPX-FB23-24 is possible with universal hand
held terminal (CPX-MMI) and also the PC software Festo Maintenance Tool (CPX-FMT) (è Tab. 3.4).
General information regarding operation of the handheld terminal and commissioning of
the CPX terminal with the handheld terminal is found in the description of handheld ter
minal.
The current version of the PC software CPX Festo Maintenance Tool (CPX-FMT) is found on
the Internet page of Festo (è www.festo.com).
For the operation of the PC software (CPX-FMT) on the bus node, you need the USB ad
apter (connecting cable), type NEFC-M12G5-0.3-U1G5.
Warning
The connected actuators can move unexpectedly!
Modification of the signal statuses and parameters with the MMI or CPX-FMT can trigger
dangerous movements of the connected actuators.
Make sure that nobody is in the positioning range of connected actuators, and be
very careful with the parameterisation or manipulation of signal statuses.
It is imperative that you observe the notes on “Force”, “Idle mode” and “Fail safe” in
the CPX system description (P.BE-CPX-SYS-…), in the description of the CPX-MMI and
in the online help of the CPX-FMT.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English45
3Commissioning as function module F24
3.3.1Parameters of the CPX terminal
You can set the behaviour of the CPX terminal as well as the behaviour of individual modules and chan
nels through parameterisation. A distinction is made between the following parameterisation types:
– System parameterisation, e.g. deactivating error messages etc.
– Module parameterisation (module- and channel-specific), e.g.: monitoring, settings in case of error,
settings for Forcing.
A description and function of individual parameters are found in the CPX system descrip
tion (P.BE-CPX-SYS-…).
Which module parameters are available for various CPX modules are found in the descrip
tion for the respective CPX module.
“System start” parameter
The “System start” parameter allows you to set and determine the starting behaviour of the CPX ter
minal.
As setting, select if possible “System start with saved parametrisation and CPX expan
sion”.
With this setting, all parameters and the current expansion of the CPX terminal are stored
in the bus node.
If individual modules of the CPX terminal in the service case are replaced, the set para
meters are still valid and no new parameterisation needs to be carried out. A system start
with the setting “System start with saved parametrisation and saved CPX expansion” can
take place.
The M-LED (Modify LED) lights up only for the setting “System start with saved paramet
erisation and CPX expansion”.
Caution
In case of a defect and replacement, saved settings are also lost. Therefore, the para
meterisation should be kept in the CPX-MMI or via CPX-FMT on a PC. It can be trans
ferred to the replacement bus node. Notes are found in the descriptions of CPX-MMI
and CPX-FMT.
If the CPX terminal is extended or modified (for example, another module is integrated),
the system start must occur with the setting “System start with default parameters and
the current CPX expansion”.
Subsequently, the startup parameters should be reset to “System start with saved para
meterisation and saved CPX expansion”, and the CPX terminal will now be reconfigured as
needed.
46Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3.3.2Parameterisation concepts
The following table includes an overview of the options for parameterisation of the CPX terminal as well
as their advantages and disadvantages.
MethodDescriptionAdvantagesDisadvantages
Handheld
terminal
(CPX-MMI)
Parameterisation is
carried out via
menu-guided entries
with the handheld
terminal.
– Convenient
parameterisation via the
menu navigation (clear
text).
– Parameterisation can be
– Access via remote
maintenance is not
possible.
saved in the handheld
terminal.
Festo
Maintenance
Tool
(CPX-FMT)
Parameterisation via
PC software.
– Very convenient
parameterisation via PC
software with
supporting functions
– PC with connection to
the bus node is
necessary (via USB
1)
Ethernet
).
2)
or
– Parameterisation can be
saved on the PC.
– Remote maintenance
via Ethernet possible 1).
I/O
diagnostics
interface
Read-only access to
the current parameters
and data (è CPX
– The current parameter
setting can be checked
through the master.
– The parameters cannot
be modified.
– Complex programming.
system description).
1) Front end controller (FEC and/or CEC) in CPX terminal required
2) USB adapter (connecting cable), type NEFC-M12G5-0.3-U1G5 (è www.festo.com)
Tab. 3.4 Parameterisation
Festo – P.BE-CPX-FB23-24-EN – 1411b – English47
3Commissioning as function module F24
3.4Commissioning of the CPX terminal on the fieldbus
In order to avoid errors (e.g. configuration and parameterisation errors) during commissioning:
Observe general commissioning instructions in the CPX system description (P.BE-CPX-SYS-…).
Check the DIL switch settings before using and replacing CPX terminals.
Check the address assignment of the I/Os on the CPX terminal.
Check the configured address range and test the I/Os, if necessary.
3.4.1HOLD/CLEAR and Fail Safe
The CPX terminal supports the CC-Link function HOLD/CLEAR. System-specific states of the digital out
puts can therefore be defined in the event of an error.
The reaction of digital outputs in case there is a fault is defined with the relevant DIL switch setting
(è Section 2.4.9).
3.4.2RUN/PAUSE and STOP of the master
In the STOP mode of the CC-Link master (e.g. by interruption of communication), the status of the digit
al outputs in bit-field (RY) is dependent on the DIL switch setting HOLD/CLEAR.
The following table shows the behaviour according to CC-Link specifications:
CC-Link master statusDIL switch setting
CLEARHOLD
RUN/PAUSENormal operation (refresh)
STOPThe digital outputs (RY) are
reset (value: 0).
Tab. 3.5 RUN/PAUSE and STOP of the master
The digital outputs (RY) retain
their status.
Note
Analogue outputs (RWw) always keep their status regardless of the set HOLD/CLEAR
function .
3.4.3RAS function
The CPX terminal supports the RAS functions (Reliability, Availability, Serviceability) of the fieldbus
CC-Link.
Functions for separating from slave stations
– Even if a decentralised or local station fails (e.g. voltage drop), the network operation will not be
impaired.
– A defective slave station can be replaced while the network is in operation (the voltage of the sta
tion to be replaced must be switched off).
– When a station is linked into the system again after a fault has been eliminated, it is not necessary
to reset the master station.
Monitoring the communication status
– The network can be monitored by the master station during system set-up, debugging or mainten
ance.
48Festo – P.BE-CPX-FB23-24-EN – 1411b – English
3Commissioning as function module F24
3.5Operation as function module F24 to CC-Link master version 1.1
For single cycle-time setting, the bus node uses the CC-Link version 1.1 to communicate with the mas
ter.
This allows the bus node to be operated, even in the configuration, as a function module F24 to a mas
ter which only supports CC-Link version 1.1.
Due to efficient use of the address space in the configuration as a function module F24 it may thus be
possible to achieve greater expansion of the CPX terminal to a CC-Link master version 1.1 than in the
configuration as a function module F23 (è Examples in section 3.2.3 and 5.3.1).
In addition, the bus node automatically determines the number of stations required.
For the address volume of the CPX terminal, the following conditions apply:
– For cycle-time-optimised mapping, the address volume of the CPX terminal, the address space of
4 stations for single cycle time may not be exceeded (è Section 2.4.8).
– For station-optimised mapping, the address volume of the CPX terminal, the address space of 1 sta
tion for single cycle time may not be exceeded (è Section 2.4.8).
Note
If through conversion or extension of the CPX terminal, the address space supported by
the CC-Link version 1.1 is exceeded, the bus node changes to CC-Link version 2.0. Com
munication with a V1.1 control is no longer possible.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English49
4Diagnostics and error handling
4Diagnostics and error handling
4.1General instructions on diagnostics and error handling
The CPX terminal provides you with extensive and user-friendly possibilities for dia
gnostics and error handling (è Tab. 4.1).
Additional information on general diagnostics of the CPX terminal is found in the CPX
system description (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.
50Festo – P.BE-CPX-FB23-24-EN – 1411b – English
4Diagnostics and error handling
4.2Summary of diagnostics options
Depending on its configuration, the bus node CPX-FB23-24 supports various options for diagnostics
and error handling.
Diagnostics op
tion
LED indicatorLEDs show configuration errors,
Status bitsInternal inputs that supply coded
I/O diagnostics
interface
Diagnostics via
the handheld
terminal
(CPX-MMI)
Diagnostics via
the Festo
Maintenance
Tool (CPX-FMT)
Tab. 4.1 Diagnostics options
Brief descriptionAdvantagesDetailed descrip
tion
hardware faults, bus errors, etc.
directly.
common diagnostic messages.
The 8 status bits are transmitted to
the interface as “inputs” cyclically
with the normal inputs.
The I/O diagnostics interface is a
fieldbus-independent diagnostics
interface at I/O level, which permits
access to internal data of the CPX
terminal (16 inputs and 16 outputs).
Diagnostic information can be shown
on the CPX-MMI in a user-friendly
and menu-driven manner.
The CPX-FMT offers the option to
display diagnostic information on a
PC.
Rapid detection of
errors “on-site”.
Fast access to error
messages,
independent of the
module and master.
Detailed error
detection: the
diagnostics data can
be processed further,
e.g. by a PLC user
program
Fast “on-the-spot”
error detection
Fast “on-site” error
detection. Diagnostics
also possible from a
higher automation
level.
è Section 4.4
è Section 4.5.1
and CPX system
description
è Section 4.5.2
and CPX system
description
è Description of
the CPX-MMI
è Online help for
the CPX-FMT
Note
Note that the diagnostic information is dependent on the DIL switch settings on the bus
node, (è Section 2.4.10) as well as on the parameterisation of the CPX terminal.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English51
4Diagnostics and error handling
4.3Error messages of the bus node CPX-FB23-24
In addition to the CPX-specific fault messages (è CPX system description, P.BE-CPX-SYS-…) the bus
node canCPX-FB23-24 report the following special errors:
Error
number
712Fieldbus connection lost during
702Only function module F23:
Tab. 4.2Error numbers bus node CPX-FB23-24
Error
class
If the system boundary of the CPX terminal is exceeded by complex expansion of the max
imum possible address space, commissioning of the CPX terminal is not possible.
The error will be displayed on the bus node of the “SF LED”.
Operating statusError correction
Check the fieldbus connection.
operation
(timeout or no transmission)
Check the expansion of the CPX
Set number of stations too small
terminal and the number of stations
required and, if necessary, increase
the number of stations per slave by
means of the DIL switch
(è Section 5.2.2).
52Festo – P.BE-CPX-FB23-24-EN – 1411b – English
4Diagnostics and error handling
4.4Diagnostics via LEDs
LEDs for the diagnostics of the CPX terminal are available on the bus node as well as on the individual
modules.
The meaning of the LEDs on the electric modules can be found in the description for the
relevant module.
LEDs at the bus node CPX-FB23-24
The LEDs on the cover indicate the operating status of the CPX bus node.
RUN PS
PL
SFMSD
RD
RUN
SD
RDM
RUN
SD
RDM
PS
PL
SF
PS
PL
SF
1
2
1 CPX-specific LEDs:
– PS (green)
– PL (green)
– SF (red) *)
– M (yellow)
2 CC-Link-specific LEDs:
– RUN (green)
– ERROR (red)
– SD (yellow)
– RD (yellow)
*)The SF LED also shows CC-Link-specific faults
Fig. 4.1LEDs on the CPX bus node CPX-FB23-24
Festo – P.BE-CPX-FB23-24-EN – 1411b – English53
4Diagnostics and error handling
In this chapter, the LEDs are depicted in their various statuses as follows:
is illuminated; flashes; off
4.4.1Standard operating status
In the standard operating status, all green LEDs are illuminated. The yellow LEDs light up or flash. The red
LEDs do not light up.
LED indicator
All green LEDs light up:
Operating status
Standard
–RUN
RUN
SD
PS
PL
SF
–PS
–PL
The red LEDs do not light up:
– ERROR
–SF
Yellow LEDs light up or flash (depending on the
RDM
data communication or configuration)
–SD
–RD
–M
54Festo – P.BE-CPX-FB23-24-EN – 1411b – English
4Diagnostics and error handling
4.4.2CPX-specific LEDs
PS (power system) – power sensor/logic supply
LED (green)ProcessStatusSignificance/error handling
ON
OFF
LED
No error. Operating
voltage/sensor supply
applied
–
illuminated
ON
OFF
LED flashing
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 on
module side
2. Depends on the parameterisation
of the module (module
parameter):
– The sensor supply voltage will
be switched on again automat
ically after the short circuit has
been eliminated (default)
– Power OFF/ON required
ON
OFF
LED is not illu
minated
The operating
voltage/sensor supply is
not applied
Check the operating voltage
connection of the electronics
PL (power load) – power load supply (outputs/valves)
LED (green)ProcessStatusSignificance/error handling
ON
OFF
No error. Load voltage
applied
–
LED
illuminated
ON
OFF
LED flashing
Load voltage at the system
supply or additional power
supply outside the
Eliminate undervoltage
tolerance range
Festo – P.BE-CPX-FB23-24-EN – 1411b – English55
4Diagnostics and error handling
SF (system failure) – system fault
ON
OFF
1)
StatusSignificance/error handling
No error–
LED (green)Process
LED not
illuminated
LED flashing
ON
OFF
ON
OFF
Simple error/information
(error class 1)
Error
(error class 2)
è Description of error numbers in the
CPX system description
è Description of error numbers in the
CPX system description
è Specific errors bus nodes
CPX-FB23-24, section 4.3
ON
OFF
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
Serious error
(error class 3)
è Description of error numbers in the
CPX system description
M (modify) – parameterisation modified or Force active
LED (yellow)ProcessStatusSignificance/error handling
ON
OFF
LED not
illuminated
System start with default
parameterisation (factory
setting) and current CPX
expansion set; external
–
parameterisation is
possible (presetting)
ON
OFF
LED
illuminated
System start with saved
parameterisation and
saved CPX expansion has
been set;
Parameters and CPX
expansion are stored
permanently
For replacement of the bus node, or of
the CPX terminal in the service case,
parameterisation is not created
automatically by the higher-order
system (PLC/IPC).
Save and apply the
parameterisation for a
replacement of the bus node.
ON
OFF
Force is active
1)
The Force function is enabled.
LED flashing
1) The display of the Force function (LED flashing) has priority over the display of the setting for the system start (LED illuminated).
56Festo – P.BE-CPX-FB23-24-EN – 1411b – English
4Diagnostics and error handling
4.4.3CC-Link-specific LEDs
RUN – data communication OK
LED (green)ProcessStatusSignificance/error handling
ON
OFF
No error. Data
communication OK
è Section 4.4.4
LED
illuminated
ON
OFF
LED not
illuminated
– Data communication
not yet started
– Data communication
faulty
– Timeout
– Hardware reset
ERROR - data communication faulty
LED (red)ProcessStatusSignificance/error handling
ON
OFF
Data communication faulty è Section 4.4.4
LED
illuminated
ON
OFF
CRC fault and data
communication fault
LED flashing
ON
OFF
LED not
No error. Data
communication OK
illuminated
SD – Send Data
LED (yellow)ProcessStatusSignificance/error handling
ON
OFF
CPX terminal sends dataè Section 4.4.4
LED flashing
ON
OFF
LED not
CPX terminal does not
receive any data
illuminated
Festo – P.BE-CPX-FB23-24-EN – 1411b – English57
4Diagnostics and error handling
RD – Receive Data
LED (yellow)ProcessStatusSignificance/error handling
ON
OFF
CPX terminal receives dataè Section 4.4.4
LED
illuminated
ON
OFF
LED not
CPX terminal does not
receive any data
illuminated
4.4.4Possible operating statuses of CC-Link-specific LEDs
LED statusSignificance
RUNERRORSDRD
Normal communication, but frequent CRC faults
(e.g. due to interference/noise).
Setting of the baud rate or the station address has
been modified since the last fieldbus initialization.
The bus node cannot reply; the received data cause a
CRC fault.
Normal communication during the operation
(transmission and reception).
No data to the master.
Bus node replies to a request for data, but the
Refresh Reception caused a CRC fault.
Data for the master causes a CRC fault.
Connection initialization has failed.
Either no data to the master
or data for the slave cannot be received (e.g. due to
interference/noise)
No data reception possible, e.g. due to wire fracture,
power OFF/ON required.
Fault in baud rate and/or CC-Link slave address.
,
LED illuminated; LED flashing; LED not illuminated
Tab. 4.3Overview CC-Link LEDs
58Festo – P.BE-CPX-FB23-24-EN – 1411b – English
4Diagnostics and error handling
4.5Diagnostics via fieldbus CC-Link
The CPX terminal enables diagnostics via the fieldbus. The following diagnostics options are supported
here:
– Status bits (system status)
– I/O diagnostics interface (system diagnostics)
4.5.1Status bits
The status bits serve to display common diagnostic messages (global error message).
These status bits are treated like inputs and are transmitted to the master with the other inputs. They
can be queried there as “standard” inputs, linked and processed.
The status bits always occupy the first 8 input bits in the word area of station 1 (è Section 3.2.2).
Note
In order to use the I/O diagnostics interface, the system diagnostics must be activated
via the DIL switch on the bus node (è Section 2.4.10).
The information of the status bits is only available provided interrogation of the I/O
diagnostic interface is not active (control bit has 0-signal, è Tab. 3.3 or CPX system
description P.BE-CPX-SYS-…).
Bit Diagnostic information with logic 1Description
0Error at valveModule type in which an error has occurred
1Error at output
2Error at input
3Error at analogue module/technology module
4UndervoltageError type
5Short circuit/overload
6Wire break
7Other error
Tab. 4.4Overview of status bits
If all status bits supply logic 0, no error will be reported.
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, if needed.
Further instructions on the function and content of the status bits are found in the CPX
system description (P.BE-CPX-SYS-…).
Festo – P.BE-CPX-FB23-24-EN – 1411b – English59
4Diagnostics and error handling
4.5.2I/O diagnostics interface
Detailed diagnostics information can be accessed via the I/O diagnostics interface, e.g.:
– You can ascertain on which module and on which channel a fault has occurred.
– The last 40 fault messages are recorded and can be accessed (Diag. trace).
Available for accessing the system diagnostics are 16 input bits and 16 output bits, through which all
diagnostics data can be read.
Note
In order to use the I/O diagnostic interface, the system diagnostics must be activated
via the DIL switch on the bus node (è Section 2.4.10).
The status bits and the I/O diagnostic interface of the system diagnostics occupy, if activated, the first
2 bytes respectively of the inputs and outputs of the word range of the Station 1 (è e.g. Fig. 3.1).
Instructions on diagnostics with the I/O diagnostics interface are found in the CPX system
description (P.BE-CPX-SYS-…).
60Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
5Function module F23
5.1General instructions
Note
In this chapter, all the specific facts of the bus node CPX-FB23-24 are described in the
configuration for the function module F23 (CC-Link version 1.1).
The general information in chapters 2 to 4 valid for use for both configuration versions is
indicated with appropriate cross-references.
Note
Under certain conditions the bus node can be operated on a CC-Link master of version
1.1 also in the configuration as a function module F24 (CC-Link version 2.0).
For more information, see è Section 3.5.
5.2Installation
The instructions and descriptions for installation in chapter 2 are valid also for the config
uration as function module F23, with the exception of sections 2.4.4 and 2.4.8.
Instead of them, the following sections are valid for function module F23:
– Section 5.2.1 instead of section 2.4.4
– Section 5.2.2 instead of section 2.4.8
Festo – P.BE-CPX-FB23-24-EN – 1411b – English61
5Function module F23
5.2.1Setting the operating mode
You set the operating mode of the bus node with the DIL switch element 1.1 of DIL switch 1.
Operating mode
Remote I/O operating mode
All functions of the CPX terminal are
Setting DIL switch 1
1.1:OFF
(factory setting)
controlled directly by the higher-order
PLC/IPC. The bus node undertakes the
required connection to CC-Link.
Remote controller operating mode
1.1:ON
An FEC 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 undertakes,
if necessary, the additional connection to
CC-Link for supplementary functions
(e.g. interrogating of status information).
Tab. 5.1 Operating mode
Note
The setting of the operating mode with the DIL switch has priority over all other set
tings.
62Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
5.2.2Setting the number of stations per slave / number of I/O bytes
Use the DIL switch elements 4.1 and 4.2 of the DIL switch 4 to set the number of
stations per slave or the number of I/O bytes of the bus node.
The function of this DIL switch is dependent on the set operating mode of the CPX
terminal (è Tab. 5.1).
4.2:OFF
terminal, the bus node must be
operated as a remote control
ler and occupies 8 I/O bytes for
communication.
2 stations per slaveInvalid4.1:ON
4.2:OFF
3 stations per slave4.1:OFF
4.2:ON
4 stations per slave4.1:ON
4.2:ON
(factory setting)
Tab. 5.2No. of stations per slave
With operating mode “Remote I/O” you can set the number of stations per slave with the DIL switches
4.1 and 4.2.
The required setting of the number of stations depends on the expansion of the CPX terminal (modules
used) as well as whether or not the I/O diagnostic interface is used (è Examples in section 5.3.1).
The assigned I/O bits are in some cases reserved for system functions and are therefore not available
for the address space of the CPX modules.
In the remote controller operating mode, DIL switches 4.1 and 4.2 must be set to “OFF”.
The bus node undertakes the connection to a CC-Link, if applicable for additional functions. For commu
nication of the bus node with an FEC integrated into the CPX terminal or CEC, 8 I/O bytes are assigned.
Further information on the number of stations per slave can be found in section 2.4.7.
Observe the general rules on addressing in the description for your CC-Link master.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English63
5Function module F23
5.3Commissioning
The instructions and descriptions for commissioning in the section 3.1 are also valid for
the function module F23.
Caution
For operation of the bus node CPX-FB23-24 as a function module F23 (CC-Link ver
sion 1.1), the DIL switch element 3.8 must be set to “OFF”. Observe the notes in sec
tion 2.4.6.
5.3.1Configuration and addressing
Number of inputs/outputs
Note
– Note that the CPX terminal also provides I/Os for system diagnostics (status bits and
I/O diagnostics interface), depending on the setting of the DIL switches.
– For an active system diagnostics function, it occupies the first 16 inputs and outputs
of station 1 in the word area (RWr, RWw). The rest of the address space of the 1st
station in the word area is reserved.
– Providing no detailed diagnostic information is requested via the 16 outputs of the
I/O diagnostic interface, the first 8 inputs of the I/O diagnostics interface represent
the status bits.
– The maximum possible extension of the CPX terminal is defined by the maximum
number of modules and the set number of stations.
Detailed information on the electric and pneumatic modules are found in the Festo Sup
port Portal (è www.festo.com).
64Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
Addressing rules
I/O counting mode
– The address assignment of the inputs is independent of the address assignment of the outputs.
– The counting mode is independent of the position of the bus node in the CPX terminal.
– Counting from left to right, corresponding to the installation position in the CPX terminal and de
pendent on the module type.
– Digital I/Os, analogue I/Os and I/Os of technology modules occupy their address space, ascending
respectively without gaps in the corresponding address space.
– Digital I/Os, analogue I/Os and I/Os of technology modules occupy their own stations, ascending
respectively without gaps.
– The following I/Os are assigned separately from each other:
– Remote ready (RR, CC-Link-specific reserved, always lies in the last reserved station)
– Diagnostic I/Os (only if configured)
– Digital I/Os
– Analogue I/Os, I/Os of function modules
Festo – P.BE-CPX-FB23-24-EN – 1411b – English65
5Function module F23
– The following table applies for the sequence of address assignment:
Address assignment (address type)
AreaAddressing rules
1Remote ready (RR)Bit area– The last 16 inputs and outputs
(2 byte each) in the bit area (RX, RY) of
the last assigned station are
CC-Link-specifically reserved.
2System diagnostics mode
(status bits and I/O diagnostics
interface)
1)
3Digital I/O modules, e.g.:
– CPX-4DE
– CPX-8DE
– CPX-4DA
– CPX-8DE-8DA
Word area– The system diagnostics occupy the first
16 inputs and outputs in the word area
(RWr, RWw) of station 1
1)
Bit area– Addresses are assigned in the free bit
area (RX/RY) of stations 1 to 4.
– Arrangement from left to right
corresponding to the address space, one
next to the other across the station limits
(ascending without gaps)
or
Pneumatic interfaces, e.g.:
– CPX-VMPA-…
– CPX-VPMPA-FB-…
or
Pneumatic modules, e.g.:
– VMPA1S-D…
– VMPA2S-D…
4Analogue modules, e.g.:
– CPX-2AE-…
– CPX-2AA-…
2)
2)
Word area– Addresses are assigned in the word area
Tab. 5.3 I/O counting mode: addressing rules for the CPX modules
66Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
Number of assigned stations
Observe the following examples for determining the required number of stations and the
rules for addressing.
Depending on the number of selected stations per slave, a target/actual comparison is made of the
assigned address space in the starting phase of the bus node.
If the number of stations selected by means of DIL switches is less than the recognized periphery, the
SF LED on the bus node will flash (è Tab. 5.2).
If the recognized periphery, and thus the number of stations required, is less than the number of sta
tions selected using DIL switches, this is not interpreted as a fault, but is left to the decision of the user.
General examples – address allocation
The following diagrams show the address assignment of the inputs and outputs for various configura
tions of the CPX terminal when the bus node is operated as function module F23.
Digital I/O modules (≤ 16 I/O)
– 1 station
– I/O data in the bit
area
– System diagnostics
(optional)
Station 1
Bit areaWord area
RX
Inputs
I15 … I0O15 … O00 System diagnostics (16 I/O)
Remote ready (RR = bit 11)1 ReservedReserved
RY
Outputs
I: digital input
O: digital output
Fig. 5.1CC-Link memory mapping (≤ 16 digital inputs and outputs)
RWr
Inputs
2 ReservedReserved
3 ReservedReserved
RWw
Outputs
Festo – P.BE-CPX-FB23-24-EN – 1411b – English67
5Function module F23
Digital I/O modules (≤ 80 I/O)
– 3 stations
– I/O data in the bit
range
– System diagnostics
(optional)
Station 1
Bit areaWord area
RX
Inputs
I15 … I0O15 … O00 System diagnostics (16 I/O)
I31 … I16O31 … O161 ReservedReserved
RY
Outputs
I: digital input
O: digital output
Station 2
Station 3
I47 … I32O47 … O320 ReservedReserved
I63 … I48O63 … O481 ReservedReserved
I79 … I64O79 … O640 ReservedReserved
Remote ready (RR = bit 11)1 ReservedReserved
Fig. 5.2CC-Link memory mapping (≤ 80 digital inputs and outputs)
Analogue I/O modules (≤16 AI / AO) without system diagnostics
– 1 to 4 stations:
1 : ≤ 4 AI / AO
2 : ≤ 8 AI / AO
3 : ≤ 12 AI / AO
4 : ≤ 16 AI / AO
Station 1
Bit areaWord area
RX
Inputs
ReservedControl0 AI0AO0
ReservedReserved1 AI1AO1
RY
Outputs
– Analogue I/O data in
the word range
– No system diagnostics
AI: analogue input
Station 2
ReservedControl0 AI4AO4
ReservedReserved1 AI5AO5
AO: analogue output
RWr
Inputs
2 ReservedReserved
3 ReservedReserved
2 ReservedReserved
3 ReservedReserved
2 ReservedReserved
3 ReservedReserved
RWr
Inputs
2 AI2AO2
3 AI3AO3
2 AI6AO6
3 AI7AO7
RWw
Outputs
RWw
Outputs
Station 3
Station 4
ReservedControl0 AI8AO8
ReservedReserved1 AI9AO9
2 AI10AO10
3 AI11AO11
ReservedControl0 AI12AO12
Remote ready (RR = bit 11)1 AI13AO13
2 AI14AO14
3 AI15AO15
Fig. 5.3CC-Link memory mapping (≤ 16 analogue inputs and outputs)
68Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
Analogue I/O modules (≤ 12 AI / AO) with system diagnostics
Fig. 5.4CC-Link memory mapping (≤ 12 analogue inputs and outputs)
Digital and analogue I/O modules (≤ 64 I/O and ≤ 8 AI / AO) with or without system diagnostics
– 4 stations
– Analogue I/O data in
the word range
– System diagnostics
(optional)
I: digital input
O: digital output
AI: analogue input
AO: analogue output
Station 1
Station 2
Station 3
Station 4
Bit areaWord area
RX
Inputs
I15 … I0O15 … O00 System diagnostics (16 I/O)
I31 … I16O 31 … O161 Reser vedReserved
I47 … I32O47 … O320 ReservedReserved
I63 … I48O63 … O481 ReservedReserved
ReservedControl0 AI0AO0
ReservedReserved1 AI1AO1
ReservedControl0 AI4AO4
Remote ready (RR = bit 11)1 AI5AO5
RY
Outputs
RWr
Inputs
2 ReservedReserved
3 ReservedReserved
2 ReservedReserved
3 ReservedReserved
2 AI2AO2
3 AI3AO3
2 AI6AO6
3 AI7AO7
RWw
Outputs
Fig. 5.5CC-Link memory mapping (≤ 64 digital and ≤ 8 analogue inputs and outputs)
Festo – P.BE-CPX-FB23-24-EN – 1411b – English69
5Function module F23
Configuration example
Digital and analogue I/Os and MPA pneumatics
The following example describes a specific configuration of a CPX terminal with digital and analog I/O
modules and MPA pneumatics, and the resulting number of stations depending on the I/O data.
MPA1S–1 byte––
with galvanic isolation
Sum of the respective address ranges4 bytes6 bytes12 bytes
(2 words)
1) Module identifiers on the Festo Maintenance Tool (CPX-FMT) or handheld terminal (CPX-MMI), for
12 bytes
(2 words)
I/O modules these are shown in the inspection window of the module.
2) Remote ready bit always occupies the address space of 2 bytes in the bit range (RX, RY) at the end
of the last station with 1 bit.
3) The system diagnostics (status bits and I/O diagnostic interface) occupies 16 I/Os (the first word)
in the word range of station 1 (RWr, RWw). The remaining words in the address space of Station 1
are reserved.
4) Analogue output modules occupy one control bit per output in the bit area of the assigned station
(RY). The remaining bits are reserved.
Tab. 5.4Configuration for example terminal from Fig. 5.6
3)
4)
70Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
Inputs (RX, RWr)
D1000 … D1003
RX
RY RWr RWw
1
Reserved
Reserved
Reserved
2
Remote ready
X1000 … X1007
RX
1
2
Remote ready
Assigned address space
RY RWr RWw
D1004, D1005
RX
RY RWr RWw
1
Reserved
2
Remote ready
Available address space
X1008 … X100F
RX
RY RWr RWw
1
2
Remote ready
8 DI2 AI8 DI2 AO
System diagnostics
8 O8 O
RX
RY RWr RWw
1
2
Remote ready
D2000 … D2003
Reserved
Reserved
Reserved
RX
RY RWr RWw
1
Control
2
Remote ready
D2004, D2005
RX
RY RWr RWw
1
2
Remote ready
Y1000 … Y1007
RX
RY RWr RWw
1
2
Remote ready
Y1008 … Y100F
Y1020, Y1021
Outputs (RY, RWw)
Assigned address space
Available address space
X1000, Y1000, D1000, D2000… Example of representation of the CC-Link address assignment
(hexadecimal)
Fig. 5.6Addressing within the CPX terminal in the example from Tab. 5.4
Festo – P.BE-CPX-FB23-24-EN – 1411b – English71
5Function module F23
5.3.2Address assignment after extension/conversion
If the machine requirements 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 and/or pneumatic manifold blocks for monostable valves are
replaced by interlinking blocks/manifold blocks for bistable valves or vice versa
(è Pneumatics description).
– Additional interlinking blocks and/or manifold blocks are inserted between existing
ones.
– The configured addresses of the pneumatics interface are modified.
If the configuration of a CPX terminal is changed, the required number of stations must be determined
and adjusted to correspond with the new address assignment (è Fig. 5.6).
Moreover, it should be noted that the needed address space may increase due to modific
ation of the CPX terminal and thus the slave addresses of the following slaves in the field
bus must be checked and adjusted, if necessary.
5.3.3CC-Link memory mapping
Remote ready (RR, CC-Link-specific)
The remote ready bit is set to “1” by bus node after successful initialization. The address space of 2
bytes is always assigned with 1 bit in the bit range (RX, RY) at the end of the last station
(è e.g. Fig. 5.5).
Bit 11 of the input section (RX) includes the remote ready bit.
Digital inputs and outputs (I/Os)
If the first station is not occupied by analogue I/Os, digital I/Os occupy the bit range (RX/RY) from the
first station, one after the other (è Section 5.3.1).
72Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
Analogue inputs and outputs
If the first station is not occupied by system diagnostics or digital I/Os, analogue I/Os occupy the word
range (RWr/RWw) from the first station, one after the other (è Section 5.3.1).
Control bits for analogue outputs
Analogue outputs additionally occupy one control bit each in the bit area of the corresponding station.
The bit area of the stations used by the analogue outputs is reserved.
Analogue outputs can be activated or deactivated with the word “Control” in the bit area of the relevant
station (è Tab. 5.5). The following bits are used here:
n: assigned address in memory mapping (master), depends on set station address
Tab. 5.6System diagnostics: assignment
System diagnostics (è CPX system description)
Slave > Master – RWr(n)0
Bit:1514131211109876543210
Signal: QReservedDiagnostics data
When the control signal returns 0, the bits
0 ... 7 represent the status bit
(è Section 4.5.1)
Master > Slave – RWw(n)0
Bit:1514131211109876543210
Signal: SReserved Function number
n: assigned CC-Link slave address
Q: acknowledgment bit; S = control bit
Tab. 5.7System diagnostics: I/O diagnostics interface and status bits
74Festo – P.BE-CPX-FB23-24-EN – 1411b – English
5Function module F23
5.3.4Fieldbus configuration
Before a slave can be connected (e.g. bus node CPX-FB23-24) to the CC-Link master, various configura
tion settings must be made, e.g.:
– Number of connected slaves
– Number of stations to be connected to the system again during a scanning cycle
– Status in case of a CPU fault in the computer
– Station data (settings of the slave):
– Station type (CPX-FB23-24: remote device station)
– CC-Link slave address (1 … 64)
– Function module F23
– Protocol version CC-Link 1.1 (è Note)
– Number of stations occupied by the slave (1 ... 4).
The configuration settings are saved in the master station buffer memory. The settings can be set as
follows, for example (in some cases depending on the master):
– With the GX developer
– Through manual programming using PLC code
General information on the fieldbus CC-Link is found in the documentation for your
CC-Link master and for the relevant control systems (e.g. from Mitsubishi).
An overview can be found under www.cc-link.org.
Note
When operating as a function module F23 with a master of the CC-Link version 2.0, the
bus node must be configured in the master as CC-Link 1.1 slave.
5.4Parameterisation
Parameters of the CPX terminal
For all the information you need for parameterisation of the CPX terminal, see 3.3.
5.5Commissioning of the CPX terminal on the fieldbus
The instructions and descriptions for commissioning in the section 3.4.1 and 3.4.3 are
also valid for the function module F23.
The descriptions of the section 3.4.2 are to be replaced for the function module F23 by
section 5.5.1.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English75
5Function module F23
5.5.1RUN/PAUSE and STOP of the master
In the STOP mode of the CC-Link master (e.g. by interruption of communication), the status of the out
puts in the bit area (RY) and word area (RWw) is dependent on the DIL switch setting HOLD/CLEAR
(è Section 2.4.9).
The following table shows the reaction according to CC-Link specifications:
CC-Link master status
RUN/PAUSENormal operation (Refresh)
STOPThe outputs (RY/RWw) are reset.The outputs (RY/RWw) retain their
Tab. 5.8RUN/PAUSE and STOP of the master
Note
With STOP, the enable bits of the analogue outputs (control) are set to 0.
The analogue outputs will then also be set.
DIL switch setting
CLEARHOLD
status.
5.6General notes on diagnostics and error handling
The instructions and descriptions for diagnostics and error handling in the sections 4.1
and 4.5.2 are also valid for the function module F23.
76Festo – P.BE-CPX-FB23-24-EN – 1411b – English
ATechnical appendix
ATechnical appendix
A.1Technical data
GeneralFunction module
F24F23
General technical dataè CPX system description (P.BE-CPX-SYS-…)
Degree of protection according to EN 60529
– With fieldbus plug FBS-SUB-9-GS-2X4POL-B
– With manifold block FBA-1-KL-5POL or other
fieldbus plugs
Protection against electric shock
(protection against direct and indirect contact in
accordance with IEC/DIN 60204-1)
Module code (CPX-specific)
Remote I/O
Remote controller
Module identifiers (CPX-MMI-1, CPX-FMT)
Remote I/O
Remote controller
CPX terminal completely mounted, plug connector
in accordance with accessories plugged in or
equipped with cover cap
IP65/IP67 (mounted completely)
IP20
By means of PELV power circuit
(Protected Extra Low Voltage)
206
–
FB24-RIO
–
206
157
FB23-RIO
FB23-RC
Power supply
Operating voltage / load voltageè CPX system description
(P.BE-CPX-SYS-…)
Current consumption bus node CPX-FB23-24
Internal current consumption at 24 V (internal
electronics):
– from operating voltage supply for electronics/
sensors (U
Galvanic isolation
– between bus interface and CPX periphery
(power supplies)
Festo – P.BE-CPX-FB23-24-EN – 1411b – English77
EL/SEN
)
typ. 70 mA at 24 V (internal electronics)
Yes
ATechnical appendix
Fieldbus
Status information
– Protocol
– Version
– CC-Link chip
– Vendor code
– Machine type
Transmission rates
CC-Link
Version 1.1 and 2.0
MFP3
0x0177
0x3C
156 kBd, 625 kBd, 2,5 MBd, 5 MBd, 10 MBd
(The maximum permitted fieldbus length de
pends on the baud rate used, è section 2.5.2)
Coupling and uncoupling during operationYes (online-return function, slave station cut-off
function)
Cable type
– Reference cable (KURAMO ELECTRIC Co., Ltd.)
– Alternative (DYDEN Corporation)
Cable specification (è Section 2.5.1)
FANC-110SBH, 20 AWG × 3
CC-110, CC-110-5, CS-110, CM-110-5, 20 AWG × 3
– Alternative (LEONI protec cable Systems
GmbH)
– Terminating resistor
L45467-Y19-C15, 20 AWG × 3
110 Ω / 0.5 W
A.2Default parameterisation
Note
The following tables contain an overview of parameters of the bus node. The current
and detailed description of all parameters of a CPX terminal are found in the CPX system
description (P.BE-CPX-SYS-…) as well as in the description of each CPX module.
System parametersFunction no.Default setting
Monitoring
– Short circuit/overload in sensor supply (SCS)
– Short circuit/overload at the outputs (SCO)
– Undervoltage at the outputs (U
– Undervoltage at valves (U
VAL
)
OUT
)
– Short circuit at valves (SCV)
Force mode
4401
active
active
active
active
active
4402blocked
Defines whether the Force function is blocked glob
ally or enabled.
System start
Defines the starting reaction of the CPX terminal.
Saves current parameter settings.
4402System start with de
fault parameterisation
(factory setting) and
current CPX expansion.
Contents of the diagnostic memory will be deleted
after new Power ON.
Run/stop filter 1
Defines the saved errors.
Run/stop filter 2
Defines when the recording of errors is to be started
or stopped.
End of error filter
Defines whether current errors are to be recorded or
not.
Error number filter
Suppresses or exclusively records certain errors.
Module/channel filter
Exclusive recording of errors of a module or channel
(è function nos. 3485...3486).
Module number (MN)
Module number for the diagnostic memory filter
Channel number (CN)
Channel number for the diagnostic memory filter
Error number (FN)
Error number for the diagnostic memory filter
Tab. A.2Diagnostic memory parameters
3480active
3480Saves the last 40
errors (overwrites old
entries)
3484Run/Stop filter 2
inactive
3484Record going errors
(error end) (filter
inactive)
3484Error number filter
inactive
3484Module/channel filter
inactive
3485Module number 0
3486Channel number 0
3487Error number 0
A.3Accessories
Accessories are found in our online catalogue (è www.festo.com/catalogue) on the
Internet.
Festo – P.BE-CPX-FB23-24-EN – 1411b – English79
BGlossary
BGlossary
B.1List of abbreviations
The following product-specific terms and abbreviations are used in this description:
Term/abbreviation
Address spaceThe sum of available addresses, independent of the assignment.
Address volumeThe sum of the actually utilised user data.
AIAnalogue input (input channel, 16 bits)
AOAnalogue output (output channel, 16 bits)
Bus nodeCreate the connection to certain networks and fieldbuses, conduct
CC-LinkControl & Communication Link fieldbus system from Mitsubishi
CECCoDeSys controller, e.g. CPX-CEC..., applicable for configuration,
CPX modulesCollective term for the various modules which can be integrated into a
CPX system description
(P.BE-CPX-SYS-…)
CPX terminalModular electrical terminal
Diagnostic dataDetailed diagnostic information
DIL switchesDual-in-line switches consist of several switch elements with which
FECFront-end controller, e.g. CPX-FEC, can be used as:
IDigital input
I/O diagnostics interface The I/O diagnostics interface is a bus-independent diagnostics interface
I/O modulesCommon term for the CPX modules which provide digital inputs and
I/OsDigital inputs and outputs
ODigital output
ParameterWith the aid of parameterisation, the characteristics of the CPX terminal
PLC/IPCProgrammable logic controller/industrial PC
Significance
control signals to the connected modules and monitor their functioning
capability.
commissioning and programming of various components and equipment
from Festo.
CPX terminal.
Description that gives an overview of structure, components, function,
installation and commissioning as well as basic information on
parameterisation of CPX terminals (è www.festo.com).
at I/O level, permitting access to internal data of the CPX terminal.
outputs (CPX input modules and CPX output modules)
or the characteristics of the individual modules and I/O channels can be
adapted to each particular application. Parameters can be read and
modified.
80Festo – P.BE-CPX-FB23-24-EN – 1411b – English
BGlossary
Term/abbreviationSignificance
Pneumatic interfaceThe pneumatic interface is the interface between the modular electrical
peripherals and the pneumatics.
RWr/RWwAnalogue input and output words (16 bits) in the word area of the CC-Link
memory mapping (register word read/register word write).
RX/RYDigital input and output data (bits) in the bit range of the CC-Link memory
mapping.
Status bitsInternal inputs that supply coded common diagnostic messages.
Useful data volumeSum of the maximum possible dataset that can be occupied by digital and
analogue inputs and outputs, of CPX modules in the corresponding
address space of the bus node.
Tab. B.1CPX-specific and/or CC-Link specific terms and abbreviations
Festo – P.BE-CPX-FB23-24-EN – 1411b – English81
CPX-FB23, CPX-FB23-24
Index
A
Abbreviations, Product-specific 80............
Addressing rules
– F24 35................................
– F23 65................................
B
Baud rate 16, 26..........................
Branch lines 27...........................
C
Cable, Fieldbus 25.........................
CC-Link memory mapping
– F24 42................................
– F23 72................................
CC-Link slave address, Set 18................
CLEAR 23................................
Configuration as F24 or F23 17...............
Configuration example 39...................
Connect
– Fieldbus 25, 28.........................
– Power supply 32........................
– Terminating resistor 28...................
CPX system description, P.BE-CPX-SYS-… 80....
F
Fieldbus baud rate 26......................
Fieldbus cable 25.........................
Fieldbus configuration
– F24 44................................
– F23 75................................
Fieldbus connection 31.....................
Fieldbus length 26.........................
Function module
– F24 6.................................
– F23 6.................................
H
HOLD/CLEAR 23..........................
I
I/O diagnostics interface 24.................
Intended use 7...........................
L
LEDs 53.................................
– CC-Link-specific 57......................
– CPX-specific 55.........................
– Normal operating status 54................
D
Diagnostics
– via CC-Link 59...........................
– via I/O diagnostics interface 60............
– via LEDs 53.............................
Diagnostics options, Overview 51............
DIL switches
– Layout 14..............................
– Set 14.................................
E
Examples of addressing
– F24 37................................
– F23 67................................
82Festo – P.BE-CPX-FB23-24-EN – 1411b – English
M
Mapping optimisation 21...................
N
Notes on the documentation 6...............
Number of stations per slave 63..............
O
Operating mode 15, 62.....................
CPX-FB23, CPX-FB23-24
P
Parameterisation 45.......................
Parameterisation concepts
– Handheld terminal (CPX-MMI) 47...........
– Festo Maintenance Tool (CPX-FMT) 47.......
Pin allocation, Fieldbus interface 28...........
Power supply 32..........................
R
RAS 48..................................
RUN/PAUSE
– F24 48................................
– F23 76................................
S
Safety instructions, General 7...............
Screened connection 29, 30.................
Set
– Baud rate 16...........................
– CC-Link slave address 18..................
– Configuration as F24 or F23 17.............
– HOLD/CLEAR 23.........................
– I/O diagnostics interface 24...............
– Mapping optimisation 21.................
– Number of stations per slave 63............
– Operating mode 15, 62...................
– System diagnostics 24....................
Stations, Number 67.......................
Status bits 59............................
STOP
– F24 48................................
– F23 76................................
Strain relief 25............................
T
Technical data 77.........................
Terminating resistor 28, 31..................
Festo – P.BE-CPX-FB23-24-EN – 1411b – English83
Reproduction, distribution or sale of this document or communica
tion of its contents to others without express authorization is
prohibited. Offenders will be liable for damages. All rights re
served in the event that a patent, utility model or design patent is
registered.
Copyright:
Festo AG & Co. KG
Postfach
73726 Esslingen
Germany
Phone:
+49 711 347-0
Fax:
+49 711 347-2144
e-mail:
service_international@festo.com
Internet:
www.festo.com
Original: de
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.