You are on page 1of 38

CPX-AP-I-EC-M12

EtherCAT interface

Instructions | Operat-
ing

8099739
8099739
2019-11
[8099741]
Translation of the original instructions

EtherCAT® is a registered trademark of its respective trademark holder in certain countries.

2 Festo — CPX-AP-I-EC-M12 — 2019-11


Table of contents
1 About this document................................................................................................... 4
1.1 Applicable documents.................................................................................................. 4
1.2 Product version............................................................................................................ 4
1.3 Product labelling.......................................................................................................... 4
1.4 Specified standards...................................................................................................... 5
2 Safety........................................................................................................................... 5
2.1 Safety instructions........................................................................................................ 5
2.2 Intended Use................................................................................................................ 5
2.3 Training of qualified personnel..................................................................................... 5
3 Additional information................................................................................................ 5
4 Service..........................................................................................................................5
5 Product overview......................................................................................................... 6
5.1 Function....................................................................................................................... 6
5.2 Configuration................................................................................................................ 7
5.2.1 Product design........................................................................................................7
5.2.2 LED displays........................................................................................................... 8
5.2.3 Control elements.....................................................................................................8
5.2.4 Connecting elements.............................................................................................. 9
6 Assembly..................................................................................................................... 10
7 Installation.................................................................................................................. 10
8 Commissioning............................................................................................................ 10
9 Parameterisation......................................................................................................... 11
9.1 Object directory............................................................................................................ 13
9.1.1 EtherCAT General Objects....................................................................................... 13
9.1.2 EtherCAT Modular Device Profile............................................................................ 17
10 Diagnostics and Fault Clearance................................................................................. 20
10.1 Diagnostics options...................................................................................................... 20
10.2 Diagnostic Messages.................................................................................................... 20
10.3 LED displays................................................................................................................. 26
10.4 Diagnostics via EtherCAT.............................................................................................. 31
10.4.1 Diagnostics via SDO access.................................................................................... 31
10.4.2 Diagnostics via diagnostics history......................................................................... 31
10.4.3 Emergency message............................................................................................... 34
11 Disposal........................................................................................................................35
12 Technical Data............................................................................................................. 35

Festo — CPX-AP-I-EC-M12 — 2019-11 3


About this document

1 About this document


1.1 Applicable documents

All available documents for the product è www.festo.com/pk.

Document Contents

Instruction manual for automation system Instruction manual and important information on
CPX-AP assembly, electrical installation and maintenance
tasks as well as description of the automation
system CPX-AP
Tab. 1 Applicable documents

1.2 Product version


This document refers to the following product versions:

Product Version

CPX-AP-I-EC-M12 EtherCAT interface CPX-AP-I-EC-M12 revision 1 or later


Tab. 2 Product version
The product version can be determined using the product label.

There may be an updated version of this document for these or later product versions
è www.festo.com/sp.

1.3 Product labelling


The product labelling is located on the right-hand side of the module. The Data Matrix code is on the
connection side. Scanning the printed Data Matrix Code with an appropriate device opens the Festo
Support Portal with the information appropriate for the product. Alternatively, the Product Key
(11-digit alphanumeric code on the product labelling) can be entered in the search field of the Support
Portal è www.festo.com/sp.

4 Festo — CPX-AP-I-EC-M12 — 2019-11


Safety

1.4 Specified standards


Version

IEC 60204-1:2016-10 ISO/IEC 8802-3:2000-10
IEC 61158:2014-07 EN 60204-1:2018-09
IEC 61784:2014-08 EN 60529:1991-10
IEC 61918:2013-08 –

Tab. 3 Standards specified in the document

2 Safety
2.1 Safety instructions
– Take into consideration the legal regulations for the respective destination.
– Use the product only within the defined values è 12 Technical Data.
– Observe labelling on the product.
– Observe further applicable documents.
– Store the product in a dry, UV- and corrosion-protected environment.
– Before working on the product:
Switch off the power supply and secure it against being switched on again.

2.2 Intended Use


The product described in this document is intended only for use as an interface between an automa-
tion system CPX-AP and a higher-order controller through integration in a EtherCAT network.
Use the product only as follows:
– Use only in an industrial environment. Outside industrial environments, e.g. in commercial and
residential/mixed-use areas, it may be necessary to take measures to suppress radio interference.
– Use only in combination with modules and components that are permissible for the respective
product variant è www.festo.com/catalogue.
– Only use the product if it is in perfect technical condition.

2.3 Training of qualified personnel


Installation, commissioning, maintenance and disassembly should only be conducted by qualified per-
sonnel. The qualified personnel must be familiar with installation of electrical control systems.

3 Additional information
– Accessories è www.festo.com/catalogue.

4 Service
Contact your regional Festo contact person if you have technical questions è www.festo.com.

Festo — CPX-AP-I-EC-M12 — 2019-11 5


Product overview

5 Product overview
5.1 Function
The product, as a station in an EtherCAT network, establishes the connection between a higher-order
controller and the modules of an automation system CPX-AP.
Device Description File
A device description file (ESI file) is used for project engineering in the EtherCAT interface of the
higher-order controller software.
It contains all the information required to configuration of the automation system CPX-AP via control
software.

The current device description file is available on the Festo Support Portal è www.festo.com/sp.

Crossover detection (auto MDI/MDI-X)


The product supports crossover detection (auto MDI/MDI-X), which means that there is the option of
using patch cables or crossover cables.
Distributed Clocks
The product supports the "Distributed Clocks" function for precise synchronisation of stations in an
EtherCAT® network. Applications that require simultaneously coordinated actions can therefore be
implemented.

6 Festo — CPX-AP-I-EC-M12 — 2019-11


Product overview

5.2 Configuration
5.2.1 Product design

1 Mounting interface connection side top


2 Rotary switch cover
3 Network connection EtherCAT [OUT X2]
4 Connection for system communication [XF21]
5 Connection for voltage forwarding [XD2]
6 Mounting interface connection side bottom and
connection functional earth FE
7 Mounting interface, lateral bottom and connection for
functional earth FE
8 Connection for power supply [XD1]
9 Connection for system communication [XF20]
10 Network connection EtherCAT [IN X1]
11 Screw Cover Rotary switch
12 Inscription label (optional)
13 Mounting interface, lateral top

Fig. 1 Product design

Festo — CPX-AP-I-EC-M12 — 2019-11 7


Product overview

5.2.2 LED displays

1 System diagnostics [SD] (green/red)


2 Maintenance [MT] (yellow)
3 EtherCAT error [ERR] (red)
4 Network connection [LA X2] (green)
5 Network connection [LA X1] (green)
6 EtherCAT operating status [RUN] (green)
7 Performance level [PL] (green/red)
8 Module diagnostics [MD] (green/red)

Fig. 2 LED displays

5.2.3 Control elements


NOTICE!

Damage to internal electronics.


Damage to at-risk components due to electrostatic discharge.
• Ensure your body is electrostatically discharged before activating the rotary switch.

Rotary switch Function

The 3 rotary switches are used to set the EtherCAT "Explicit Device
ID" of the interface in hexadecimal code.
Possible settings:
– 0 = stored EtherCAT address, no "Explicit Device ID" assigned
– 1 … 4095 (1h … fffh) = permissible address range
If set to 0, the address of the interface is automatically assigned by
the EtherCAT master (autoincrement).
Factory setting: 0
Tab. 4 Rotary switch

Changes to the rotary switches only take effect following a restart of the interface.

8 Festo — CPX-AP-I-EC-M12 — 2019-11


Product overview

5.2.4 Connecting elements

Connection for power supply [XD1]


Plug M8, 4-pin, A-coded Signal

1 +24 V DC logic supply PS


2 0 V DC load supply PL
3 0 V DC logic supply PS
4 +24 V DC load supply PL

Tab. 5 Connection for power supply

Connection for voltage forwarding [XD2]


Socket M8, 4-pin, A-coded Signal

1 +24 V DC logic supply PS


2 0 V DC load supply PL
3 0 V DC logic supply PS
4 +24 V DC load supply PL

Tab. 6 Connection for voltage forwarding

Connection for system communication [XF20], [XF21]


Socket M8, 4-pin, D-coded Signal

1 RX– Received data –


2 TX+ Transmitted data +
3 RX+ Received data +
4 TX– Transmitted data –

Tab. 7 Connection for system communication

Connection for EtherCAT network [IN X1]


Socket M12, 4-pin, D-coded Signal

1 TD+ Transmitted data +


2 RD+ Received data +
3 TD– Transmitted data –
4 RD– Received data –
Thread Shield Functional earth
Tab. 8 Connection for EtherCAT network [IN X1]

Festo — CPX-AP-I-EC-M12 — 2019-11 9


Assembly

Connection for EtherCAT network [OUT X2]


Socket M12, 4-pin, D-coded Signal

1 RD+ Received data +


2 TD+ Transmitted data +
3 RD– Received data –
4 TD– Transmitted data –
Thread Shield Functional earth
Tab. 9 Connection for EtherCAT network [OUT X2]

6 Assembly
• Assemble the module as outlined in the “Instruction manual for automation system
CPX-AP"è 1.1 Applicable documents.

7 Installation
• Carry out the installation according to the "Instruction manual for automation system
CPX-AP"è 1.1 Applicable documents.
• EtherCAT Use network cables as described in the cable specification è 12 Technical Data.

8 Commissioning
NOTICE!

Unauthorised access to the device can cause damage or malfunctions.


When connecting the device to a network, protect the network from unauthorised access.
Measures to protect the network include: 
• Firewall
• Intrusion prevention system (IPS)
• Network segmentation
• Virtual LAN (VLAN)
• Virtual private network (VPN)
• Security at physical access level (port security)
Further information è Directives and standards for security in information technology,
e.g. IEC 62443, ISO/IEC 27001.

NOTICE!

Malfunction due to switching on the higher-order controller and automation system CPX-AP in the
incorrect order.
• Switch on the higher-order controller and automation system CPX-AP according to the preset
order of the network used.

1. Using the appropriate software, set up an automation project for the higher-order controller.

10 Festo — CPX-AP-I-EC-M12 — 2019-11


Parameterisation

2. Import the device description file into the software è www.festo.com/sp.


3. Configure the automation system CPX-AP in the software:
– System structure
– Network addressing
– Address assignment of modules è Instruction manual for automation system CPX-AP
4. Transfer the automation project to the higher-order controller.
Behaviour of the display components of the module after error-free commissioning

[MD] [SD] [PL] [MT]

Illuminated green Illuminated green Illuminated green Off


Tab. 10 Behaviour of the display components after error-free commissioning

[LA X1], [LA X2] [RUN] [ERR]

Illuminated green Illuminated green Off


Tab. 11 Behaviour of the display components after error-free commissioning

Information on troubleshooting in the event of incorrect behaviour:


è Instruction manual for automation system CPX-AP
è 10 Diagnostics and Fault Clearance

9 Parameterisation
Various parameters are available for reading out information about the modules in an automation sys-
tem CPX-AP and adapting the modules to the application situation.
Every configured or connected module also provides some of its parameters as network parameters.
These are then displayed in the objects 0x2000 … 0x2FFF.

ID Parameter Instance- Data Access1) Arraysize


s type

246 Fieldbus serial number 1 UINT32 ro –

791 Product key 1 CHAR ro 12


960 Firmware version 1 CHAR ro 40
20000 Module code 1 UINT32 ro –

Festo — CPX-AP-I-EC-M12 — 2019-11 11


Parameterisation

ID Parameter Instance- Data Access1) Arraysize


s type

20022 Configuration of voltage monitoring load 1 UINT8 rw –

supply PL
– 0: load voltage monitoring inactive
– 1: load voltage monitoring active, with
suppression of diagnostics at switch-
off (factory setting)
– 2: load voltage monitoring active
20059 AP Sync operating mode 1 ENUM_ID ro –

20085 Measured value temperature AP-ASIC [°C] 1 INT16 ro –

20087 Current measured value of logic supply PS 1 UINT16 ro –

[mV]
20088 Current measured value of load supply PL 1 UINT16 ro –

[mV]
20092 Operating time [s] 1 UINT32 ro –

20093 Hardware version 1 UINT8 ro –

20196 Diagnostic status 1 UINT8 ro Number


– Index 0: diagnostic status of the entire of mod-
automation system CPX-AP ules + 1
– Index 1: diagnostic status of module 1
(address 1)
– Index 2: diagnostic status of module 2
(address 2)
– ...
Each entry is of the data type UINT8 with
the following meaning:
– Bit 0: degree of severity information (1)
– Bit 1: degree of severity maintenance
(1)
– Bit 2: degree of severity warning (1)
– Bit 3: degree of severity error (1)
– Bit 4, 5: reserved
– Bit 6: module present (1), module lost
(0)
– Bit 7: reserved
Bit 6 is not valid for index 0.
1130125 Bootloader version 1 CHAR ro 40
1) ro = read only; rw = read write
Tab. 12 Parameter

12 Festo — CPX-AP-I-EC-M12 — 2019-11


Parameterisation

9.1 Object directory


9.1.1 EtherCAT General Objects

Index Sub- Description Data type Access1) Value


index

0x1000 0 Device type U32 ro Bit 0 …15: device profile used


Bit 16 …31: further information on the
device profile used
0x1001 0 Error register U32 ro Bit 0: generic error
Bit 1: current error
Bit 2: voltage error
Bit 3: temperature error
Bit 4: communication error
Bit 5: device-profile-specific error
Bit 6: reserved
Bit 7: manufacturer-specific error
0x1008 0 Device name VISIBLE_ ro CPX-AP-I-EC-M12
STRING
0x1009 0 Hardware version VISIBLE_ ro
STRING
0x100A 0 Software version VISIBLE_ ro
STRING
Identity object 0x1018
0x1018 0 Number of entries U8 ro 4
1 Vendor ID U32 ro 0x0000001D
2 Product code U32 ro 0x007B6451
3 Revision number U32 ro
4 Serial number U32 ro
Error settings object 0x10F1
0x10F1 0 Number of entries U8 ro 2
1 Local error reaction U32 rw 0 = PDO status
1 = deactivate SyncManager
2 = device-specific status
2 Sync error counter U16 rw
limit
Diagnosis history object 0x10F3
0x10F3 0 Number of entries U8 ro 5 … 255

Festo — CPX-AP-I-EC-M12 — 2019-11 13


Parameterisation

Index Sub- Description Data type Access1) Value


index

0x10F3 1 Maximum mes- U8 rw 250


sages
2 Newest message U8 ro Subindex of latest message (6 …255)
Factory setting = 0
3 Newest acknow- U8 rw Factory setting = 0
ledged message
4 New messages BOOL ro p Overwrite Mode:
available 0 = latest message read
1 = latest message not read
Acknowledge Mode:
0 = no acknowledgeable messages
available
1 = acknowledgeable messages avail-
able
5 Flags U16 rw Bit 0: send from Emergency messages
0 = do not send messages as Emer-
gency message (factory setting)
1 = send messages as Emergency mes-
sage
Bit 1: information messages
0 = store information messages in dia-
gnostic memory (factory setting)
1 = do not store information messages
in the diagnostic memory
Bit 2: warning messages
0 = store warning messages in diagnost-
ic memory (factory setting)
1 = do not store warning messages in
the diagnostic memory
Bit 3: error messages
0 = store error messages in diagnostic
memory (factory setting)
1 = do not store error messages in the
diagnostic memory
Bit 4: operating mode
0 = Overwrite Mode
1 = Acknowledge Mode

14 Festo — CPX-AP-I-EC-M12 — 2019-11


Parameterisation

Index Sub- Description Data type Access1) Value


index

0x10F3 5 Flags U16 rw Bit 5: Overwrite/Discard Information


Overwrite mode:
1 = overwrite unacknowledged mes-
sages
Acknowledge Mode:
1 = discard new messages if diagnostic
memory full with unacknowledged mes-
sages
Bit 6 … 15: reserved
6 Diagnosis message OCTET_ ro Diagnostic message 1
… STRING …
255 Diagnostic message 250
è Tab. 27 Structure of diagnostic
messages
Timestamp object (0x10F8)
0x10F8 0 Timestamp object U64 ro p Specified in [ns]
Receive PDO Mapping (0x1600 ... 0x17FF)
0x1600 0 Number of objects U8 rw 0 … 254
… in this PDO
0x17FF
1 First output object U32 rw Bit 0 … 7: length of the object
to be mapped Bit 8 … 15: subindex of the object
… … … … Bit 16 … 31: index of the object
n Last output object U32 rw
to be mapped
Transmit PDO Mapping (0x1A00 ... 0x1BFF)
0x1A00 0 Number of objects U8 rw 0 … 254
… in this PDO
0x1BFF
1 First input object to U32 rw Bit 0 … 7: length of the object
be mapped Bit 8 … 15: subindex of the object
… … … … Bit 16 … 31: index of the object
n Last input object to U32 rw
be mapped
Sync Manager Communication Type (0x1C00)
0x1C00 0 Number of used U8 ro 4
Sync Manager
channels

Festo — CPX-AP-I-EC-M12 — 2019-11 15


Parameterisation

Index Sub- Description Data type Access1) Value


index

0x1C00 1 Communication U8 ro 0 = not used


type 1 = receive mailbox
Sync Manager 0 2 = send mailbox
2 Communication U8 ro 3 = process data output
type 4 = process data input
Sync Manager 1
3 Communication U8 ro
type
Sync Manager 2
4 Communication U8 ro
type
Sync Manager 3

Sync Manager PDO Assignment (0x1C12 ... 0x1C13)


0x1C12 0 Number of U8 rw 0 … 254
… assigned
0x1C13 [RT] x PDOs
1 … n PDO mapping U16 rw 0x1600: RxPDO 1
object index of 0x1601: RxPDO 2
assigned PDO …
0x17FF: RxPDO 512
or:
0x1A00: TxPDO 1
0x1A01: TxPDO 2

0x1BFF: TxPDO 512
Sync Manager Synchronization (0x1C32 ... 0x1C33)
0x1C32 0 Number of syn- U8 ro 0 … 3
… chronization para-
0x1C33 meters
0x1C32 1 Synchronization U16 rw 0: not synchronised
… type 1: synchronised
0x1C33 2: DC Sync0
3: DC Sync1
32: SyncSm0
33: SyncSm1

16 Festo — CPX-AP-I-EC-M12 — 2019-11


Parameterisation

Index Sub- Description Data type Access1) Value


index

0x1C32 63: SyncSm31



2 Cycle time U32 rw Specified in [ns]
0x1C33
3 Shift time U32 rw Specified in [ns]
1) ro = read only; rw = read write; ro p = read only (PDO mappable)
Tab. 13 EtherCAT General Objects

9.1.2 EtherCAT Modular Device Profile

Index Description Value

0x2000 Manufacturer specific area Network parameters of the respective mod-


… ules based on the APDD
0x2FFF
0x6000 Input data object area Input objects (TxPDOs)

0x6FFF
0x7000 Output data object area Output objects (RxPDOs)

0x7FFF
0x9000 Information data object area Module information
… è Tab. 15 Information data object area
0x9FFF
0xF000 Modular device profile object è Tab. 16 Modular device profile object
0xF030 Configured module ident list è Tab. 17 Configured module ident list

0xF03F
0xF050 Detected module ident list è Tab. 18 Detected module ident list

0xF05F
Tab. 14 EtherCAT Modular Device Profile
Information data object area (0x9000 … 0x9FFF)

Index Sub- Description Data type Access1) Value


index

0x9000 1 Address of the U16 ro Module address


… module
0x9FFF
2 Type string VISIBLE_ ro Module description
STRING

Festo — CPX-AP-I-EC-M12 — 2019-11 17


Parameterisation

Index Sub- Description Data type Access1) Value


index

0x9000 3 Name string VISIBLE_ ro Module name


… STRING
0x9FFF
4 Device type U32 ro Type of equipment
5 Vendor ID U32 ro Manufacturer ID
6 Product code U32 ro Product code
7 Revision number U32 ro Revision number
8 Serial number U32 ro Serial number
9 Module PDO group U16 ro
10 Module ident U32 ro Module ID
11 Slot U16 ro Slot number
12 Slot group U16 ro Slot group
13 reserved

29
30 Network segment OCTET_ ro Network address
address STRING[6]
31 Network port U32 ro Network connection
32 Festo product key STRING ro Festo Product Key
(12)
33 Festo part number U32 ro Festo part number
34 Firmware version STRING ro Firmware version
(34)
35 Vendor/profile ro Manufacturer/profile-specific informa-
… specific tion
255
1) ro = read only; rw = read write; ro p = read only (PDO mappable)
Tab. 15 Information data object area

18 Festo — CPX-AP-I-EC-M12 — 2019-11


Parameterisation

Modular device profile object (0xF000)

Index Sub- Description Data type Access1) Value


index

0xF000 0 Number of entries U8 ro


1 Index distance U16 ro Factory setting: 0x10
2 Maximum number U16 ro Maximum number of modules
of modules
3 General configura- U32 ro Factory setting: 0
tion
4 General informa- U32 ro General information
tion
1) ro = read only; rw = read write; ro p = read only (PDO mappable)
Tab. 16 Modular device profile object
Configured module ident list (0xF030 … 0xF03F)

Index Sub- Description Data type Access1) Value


index

0xF030 1 Module ident of U32 ro Module ID of the module configured at


… the module con- position 1
0xF03F figured at position
1
2 Module ident of U32 ro Module ID of the module configured at
the module con- position 2
figured at position
2
… … … … …

255 Module ident of U32 ro Module ID of the module configured at


the module con- position 255
figured at position
255
1) ro = read only; rw = read write; ro p = read only (PDO mappable)
Tab. 17 Configured module ident list

Festo — CPX-AP-I-EC-M12 — 2019-11 19


Diagnostics and Fault Clearance

Detected module ident list (0xF050 … 0xF05F)

Index Sub- Description Data type Access1) Value


index

0xF050 1 Module ident of U32 ro Module ID of the module detected at


… the module detec- position 1
0xF05F ted on position 1
2 Module ident of U32 ro Module ID of the module detected at
the module detec- position 2
ted on position 2
… … … … …

255 Module ident of U32 ro Module ID of the module detected at


the module detec- position 255
ted on position 255
1) ro = read only; rw = read write; ro p = read only (PDO mappable)
Tab. 18 Detected module ident list

10 Diagnostics and Fault Clearance


10.1 Diagnostics options
Diagnostics via LED displays
The system and network status and errors are displayed directly on the module via LED indicators
è 10.3 LED displays.
Diagnostics via EtherCAT
Diagnostics as part of EtherCAT functions via control software over the network
è 10.4 Diagnostics via EtherCAT.

10.2 Diagnostic Messages

Only the diagnostic messages of the interface are listed in the following table.
Module-specific diagnostic messages è Instructions for the respective module

ID hex (dec) Message Description

02 | 01 | 0017 Overvoltage in logic Overvoltage of the logic supply PS 24 V DC was detected.
(33619991) supply PS 24 V DC Remedy – Check logic supply PS.
Diagnost- Error
ic status

20 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

ID hex (dec) Message Description

02 | 01 | 0105 Undervoltage in load Undervoltage in the load supply PL 24 V DC was detected.
(33620229) supply PL 24 V DC Remedy – Check load supply PL.
Diagnost- Error
ic status
02 | 01 | 0106 Switch-off load supply A switch-off of the load supply PL was detected. The cause
(33620230) PL 24 V DC can be a deliberate shutdown by the emergency stop.
Remedy – Check if the emergency stop was activ-
ated.
– Check load supply PL.
Diagnost- Information
ic status
02 | 01 | 013F Overvoltage load sup- Overvoltage load supply PL 24 V DC
(33620287) ply PL 24 V DC Remedy – Check load supply PL.
Diagnost- Error
ic status
06 | 00 | 0109 Startup parameter The startup parameter specified in the AP device descrip-
(100663561) rejected by device tion does not exist in the device or deviates from the spe-
cification.
Remedy – Check firmware version.
Diagnost- Error
ic status
06 | 00 | 010A Start-up parameter The length of the start-up parameter in the device differs
(100663562) deviation in length from the specified length in the AP device description.
Remedy – Check firmware version.
Diagnost- Error
ic status
06 | 00 | 0188 Module identification No check of the target slot configuration for the actual slot
(100663688) check skipped configuration.
Remedy – Download slot configuration.
Diagnost- Warning
ic status
06 | 00 | 0189 Module identification Module identification failed for Slot %u (Detected %u -
(100663689) check failed Configured %u).
Remedy – Download current slot configuration.

Festo — CPX-AP-I-EC-M12 — 2019-11 21


Diagnostics and Fault Clearance

ID hex (dec) Message Description

06 | 00 | 0189 Module identification Diagnost- Error


(100663689) check failed ic status
08 | 00 | 012E Device address Transferred device address is invalid.
(134218030) invalid Remedy – Check address configuration. Is the con-
figuration set via software or hardware
(DIL switch)?
– Check the assigned address for the
device.
– Check multiple address assignment.
– Check the DIL-switch setting.
Diagnost- Warning
ic status
08 | 00 | 0192 Invalid cycle time Calculate bus cycle time failed (local timer too slow).
(134218130) Remedy – Increase cycle time.
Diagnost- Error
ic status
08 | 01 | 0124 AP Master lost The communication to the AP Master is aborted.
(134283556) Remedy – Restart AP Master.
– Check communication cable (AP).
Diagnost- Error
ic status
08 | 01 | 0127 Communication to AP The AP system communication to a module is aborted.
(134283559) module interrupted Remedy – Restart AP system.
– Check the cable.
Diagnost- Error
ic status
08 | 01 | 0130 Output process data Output process data Watchdog of the AP module expired.
(134283568) Watchdog of the AP Remedy – Match cycle time and watchdog paramet-
module expired ers.
– Restart AP system.
– Check the cable.
Diagnost- Error
ic status

22 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

ID hex (dec) Message Description

08 | 01 | 0131 Input process data Input process data Watchdog of the AP module expired.
(134283569) Watchdog of the AP Remedy – Match cycle time and watchdog paramet-
module expired ers.
– Restart AP system.
– Check the cable.
Diagnost- Error
ic status
08 | 01 | 0132 Output process data The process data watchdog for the output data in the
(134283570) Watchdog of the inter- interface has expired.
face expired Remedy – Match cycle time and watchdog paramet-
ers.
– Restart AP system.
– Check the cable.
Diagnost- Error
ic status
08 | 01 | 0133 Input process data The process data watchdog for the input data in the inter-
(134283571) Watchdog of the inter- face has expired.
face expired Remedy – Match cycle time and watchdog paramet-
ers.
– Restart AP system.
– Check the cable.
Diagnost- Error
ic status
08 | 01 | 0134 AP Master Toggle bit A module has not mirrored the toggle bit in the process
(134283572) error data.
Remedy – Match cycle time and toggle timeout para-
meters.
– Restart AP system.
– Check the cable.
Diagnost- Error
ic status
08 | 04 | 0191 Status change Status change request from: %d to: %d.
(134480273) request Remedy –

Diagnost- Error
ic status

Festo — CPX-AP-I-EC-M12 — 2019-11 23


Diagnostics and Fault Clearance

ID hex (dec) Message Description

08 | 04 | 0193 Sync Manager invalid Sync Manager %d invalid address (%d).


(134480275) address Remedy – Set correct Sync Manager address.
Diagnost- Error
ic status
08 | 04 | 0194 Sync Manager invalid Sync Manager %d invalid I/O size (%d).
(134480276) I/O size Remedy – Correct I/O size.
Diagnost- Error
ic status
08 | 04 | 0195 Sync Manager invalid Sync Manager %d invalid configuration (%d).
(134480277) configuration Remedy – Check and correct configuration.
Diagnost- Error
ic status
08 | 04 | 0196 DC activation register DC activation register invalid
(134480278) invalid Remedy – Correct DC activation register.
Diagnost- Error
ic status
08 | 04 | 0197 Sync Type not suppor- The configured SyncType (0x1C32.1 or 0x1C33.1) is not
(134480279) ted supported.
Remedy – Check DC registers and supported sync
types (0x1C32.4 and 0x1C33.4).
Diagnost- Error
ic status
0B | 00 | 0140 System start The system starts.
(184549696) Remedy –

Diagnost- Information
ic status
0B | 04 | 00B7 Firmware invalid Firmware invalid
(184811703) Remedy – Repeat transmission of firmware package.
Diagnost- Error
ic status
0B | 08 | 018F Unsupported Full Dia- The version of the Diagnostic Full Image is not supported.
(185074063) gnostic Image version Remedy – Check and adjust firmware versions of
master and devices.

24 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

ID hex (dec) Message Description

0B | 08 | 018F Unsupported Full Dia- Diagnost- Error


(185074063) gnostic Image version ic status
0B | 08 | 0190 Unsupported dia- The diagnostic version is not supported.
(185074064) gnostic version Remedy – Check and adjust firmware versions of
master and devices.
Diagnost- Error
ic status
0B | 09 | 0128 APDD invalid The device description file stored in the device at the fact-
(185139496) ory is invalid or missing.
Remedy – Restart device.
– Check AP system communication.
– Check firmware version.
– In the event of repeated errors, contact
Festo Service.
Diagnost- Error
ic status
0B | 09 | 0129 Start-up APDD invalid The start-up device description file stored in the device at
(185139497) the factory is invalid or missing.
Remedy – Restart device.
– Check AP system communication.
– Check firmware version.
– In the event of repeated errors, contact
Festo Service.
Diagnost- Error
ic status
Tab. 19 Diagnostic Messages

Festo — CPX-AP-I-EC-M12 — 2019-11 25


Diagnostics and Fault Clearance

10.3 LED displays


Module diagnostics [MD]
LED (red, Meaning Remedy
green)

Logic supply PS not available. Check connection of logic supply PS.

Off
No module diagnostics active –

Illuminated
green
Module diagnostics active –

Degree of severity "Information"


e. g. switching off load supply PL
Flashes green
Module diagnostics active Take appropriate remedial action,
Degree of severity "Warning" e. g. check parameterisation.
e. g. parameterisation error
Flashes red
Module diagnostics active Take appropriate remedial action,
Degree of severity "Error" e. g. check load supply PL.
e. g. undervoltage in load supply PL
Illuminated red
Module ramp-up not yet completed. –

System communication not yet initial-


ised.
LED flashes
red quickly
Module identification (service function) –

Flashes quickly
green
Tab. 20 LED module diagnostics [MD]

26 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

System diagnostics [SD]


LED (red, Meaning Remedy
green)

Logic supply PS not available. Check connection of logic supply PS.

Off
No system diagnostics active –

Illuminated
green
System diagnostics active –

Degree of severity "Information"


e. g. load supply PL to a module not
Flashes green
available or firmware update in a module
active.
System diagnostics active
Degree of severity "Warning"
e. g. e.g. parameterisation error in a
Flashes red
module.
System diagnostics active
Degree of severity "Error"
e. g. sensor supply short circuit in a
Illuminated red
module.
Module identification (service function) –

Flashes quickly
green
Tab. 21 LED system diagnostics [SD]

Festo — CPX-AP-I-EC-M12 — 2019-11 27


Diagnostics and Fault Clearance

Load supply [PL]


LED (red, Meaning Remedy
green)

Load supply PL available. –

Illuminated
green
Load supply PL not available. Check load supply PL.

Flashes green
Load supply PL outside the tolerance Check load supply PL.
range.

Flashes red
Tab. 22 LED load supply [PL]

Maintenance [MT]
LED (yellow) Meaning Remedy

No maintenance needed. –

Off
Maintenance required in at least one Carry out the necessary remedial meas-
module in the automation system ures è Instructions on the respective
CPX-AP. module.
Illuminated
Tab. 23 LED maintenance [MT]

28 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

EtherCAT operating status [RUN]


LED (green) Meaning Remedy

Operational –

Normal operating status

Illuminated
Pre-operational –

Configuration of EtherCAT network

Flashing
Safe operational –

Only the input signals are updated. The


outputs retain their current status.
flashes 1x
briefly
Bootstrap –

The interface is receiving a firmware


update.
flickers
Initialisation –

Normal status after switching on or after


a restart
Off
Tab. 24 LED EtherCAT operating status [RUN]

Festo — CPX-AP-I-EC-M12 — 2019-11 29


Diagnostics and Fault Clearance

EtherCAT error [ERR]


LED (red) Meaning Remedy

serious communication error Contact Festo Service è www.festo.com.


Possible causes:
– Application controller not respond-
Illuminated
ing
– Watchdog timeout due to ESC
Configuration error, no network connec- Check network connections.
tion Check the configuration and addressing
Possible causes: of the interface.
Flashing
– Line interrupted
– No connection to master
– Master is not active
EtherCAT state change from Operational –

to Safe-Operational due to synchronisa-


tion error
flashes 1x
briefly
Application watchdog timeout –

Watchdog timeout due to sync manager

flashes 2x
briefly
Booting error –

Error (checksum) in application control-


ler flash memory
flickers
No error –

Off
Tab. 25 EtherCAT error [ERR] LED

30 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

Connection status [LA X1], [LA X2]


LED (green) Meaning Remedy

No network connection. Check network connection.

Off
Network connection OK. –

Data traffic activity.

flickers
Network connection OK. –

No data traffic.

Illuminated
Tab. 26 LED connection status [LA X1], [LA X2]

10.4 Diagnostics via EtherCAT

The availability of diagnostic information via the EtherCAT network depends on the parameterisation.

10.4.1 Diagnostics via SDO access


Diagnostic information can be requested from the higher-order controller through SDO access
è 9.1 Object directory.

10.4.2 Diagnostics via diagnostics history


The diagnostic messages of the EtherCAT Interface are stored in the diagnostic history. Via the dia-
gnostic object 0x10F3 (from subindex 6) the last 250 diagnostic messages of the EtherCAT interface
can be displayed è 9.1 Object directory.
An error message referenced with a code is displayed for every event (warning, error, information).
The diagnostic messages are translated using the device description file (ESI file) and can be read
from the controller software in this way.
Operating modes of diagnostic messages
There are two operating modes for handling diagnostic messages. The operating mode can be defined
via object 0x10F3 (subindex 5, bit 4):
– Overwrite Mode:
When the number of diagnostic messages reaches 250, old diagnostic messages are overwritten.
– Acknowledge Mode:
A diagnostic message must first be acknowledged before it can be overwritten with a new dia-
gnostic message. When the number of unacknowledged diagnostic messages reaches 250, new
diagnostic messages will not be saved and will be lost.

Festo — CPX-AP-I-EC-M12 — 2019-11 31


Diagnostics and Fault Clearance

Map "New message available" message


For simplification of the diagnostic evaluation, the module offers the option of signalling the existence
of a new diagnostic message through the process data. To do this, the "New message available"
object can optionally be mapped to the process data.
Deactivate/activate Emergency message
The sending of one Emergency message can be deactivated and activated via object 0x10F3 (subindex
5, bit 0).
Structure of diagnostic messages

Parameter Data type Description

Diagnostic code U32 Bit 0 … 15 Bit 16 … 31


0x0000 …0xDFFF Not used
0xE000 Error number of the diagnostics
ID
è Tab. 19 Diagnostic Messages
e.g.: 0x | 02 |01 |0017 (33619991)
– 02 = main group
– 01 = sub-group
– 0017 = error number
0xE001 … 0xE7FF Not used
0xE800 Emergency Error Code as defined
in DS301 or DS4xxx
0xE801 … 0xEDFF reserved
0xEE00 … 0xEFFF profile-specific
0xF000 … 0xFFFF Not used
Flags U16 Bit 0 … 3 Diagnostic status
0 = Information message
1 = warning message
2 = error message
Bit 4 Local timestamp
Bit 5 … 7 reserved
Bit 8 … 15 Number of parameters in this dia-
gnostic message
Text ID U16 0 = no text ID
1 … 65535 = text ID
Time stamp U64 0 = no time stamp

32 Festo — CPX-AP-I-EC-M12 — 2019-11


Diagnostics and Fault Clearance

Parameter Data type Description

Flags U16 Bit 12 … 15 Bit 0 … 11


Parameter 1 0 Data type Parameter 1
0x0001 = BOOL
0x0002 = INT8
0x0003 = INT16
0x0004 = INT32
0x0005 = U8
0x0006 = U16
0x0007 = U32
1 BYTE ARRAY size [Byte]
2 ASCII string size [byte]
3 UNICODE-STRING Size [Byte]
4 Size Parameter 1 [Byte]
5 … 15 reserved
1)
Parameter 1 Value of parameter 1
Flags U16 è flags parameter 1
Parameter 2
2)
Parameter 2 Value of parameter 2
… … …

1) depending on flags parameter 1


2) depending on flags parameter 2
Tab. 27 Structure of diagnostic messages

Festo — CPX-AP-I-EC-M12 — 2019-11 33


Diagnostics and Fault Clearance

10.4.3 Emergency message


The automation system CPX-AP sends a Emergency message. For this the sending of the data Emer-
gency message via object 0x10F3 (subindex 5, bit 0) must be activated.
The Emergency message is structured as follows:

Byte
0 1 2 3 4 5 6 7

Emergency error code Error Error number of the Module number Channel
è Tab. 29 Emergency register diagnostics ID number
error code è 0x1001 è Tab. 19 Diagnostic
Messages
Tab. 28 Structure of the Emergency message

Emergency Category
error code

0x2081 1 Current
0x3082 2 Voltage
0x4083 3 Temperature
0xF084 4 Pressure
0xF085 5 Motion
0x6386 6 Configuration/parameterisation
0x8087 7 Monitoring
0x8188 8 Communication
0xF089 9 Safety engineering
0x508A 10 Internal hardware
0x608B 11 Software
0xF08C 12 Maintenance
0xFF8D 13 Various
0xFF8E 14 Device-specific
0xFF8F 15 Customer-specific
0x9090 16 External device
0xF091 17 Security (data)
0x7092 18 Encoder
Tab. 29 Emergency error code

34 Festo — CPX-AP-I-EC-M12 — 2019-11


Disposal

11 Disposal
ENVIRONMENT!
Send the packaging and product for environmentally sound recycling in accordance with the current
regulations è www.festo.com/sp.

12 Technical Data
General technical data

General technical data Instruction manual for automation system CPX-AP


for automation system è 1.1 Applicable documents
CPX-AP
Dimensions [mm] 170 × 45 × 35
(length × width ×
height)
Product weight [g] 190
Ambient temperature [°C] –20 … +50

Storage temperature [°C] –40 … +70

Storage time [years] 2 (max.)


Humidity [%] 5 … 95
(non-condensing)
Assigned address [Bytes] 2048/2048 (max.)
space (inputs/outputs)
Module code (hex/dec) 0x2084/8324d
Module identification CPX-AP-I-EC-M12
Degree of protection in IP65/IP67
accordance with (if lines are connected and connections that are not required are
EN 60529 closed with a cover cap)
Protection against elec- through the use of SELV/PELV circuits
tric shock (protection (safe extra-low voltage/protected extra-low voltage)
against direct and
indirect contact in
accordance with
IEC 60204-1)
Electromagnetic com- See declaration of conformity è www.festo.com
patibility
Mounting position Any
Tab. 30 General technical data

Festo — CPX-AP-I-EC-M12 — 2019-11 35


Technical Data

Power supply

Logic supply PS [V DC] 24 _ 25 %


Intrinsic current con- [mA] 84
sumption at nominal
operating voltage 24 V
from PS
Reverse polarity pro- Yes
tection 24 V PS against
0 V PS
Diagnostic message, [V DC] ³ 31
overvoltage in logic
supply PS
Mains buffering time, [ms] 10
logic supply PS
Load supply PL [V DC] 24 ± 25 %
Intrinsic current con- [mA] Typ. 5
sumption at 24V at
nominal voltage 24 V
from PL
Reverse polarity pro- Yes
tection 24 V PL against
0 V PL
Diagnostic message, [V DC] £ 17
undervoltage in load
supply PL
Diagnostic message, [V DC] ³ 31
overvoltage in load
supply PL
Capacitive load at load supply PL
24 V PL to 0 V PL [nF] Typ. 35
24 V PL to FE [nF] Typ. 35
0 V PL to FE [nF] Typ. 20
Tab. 31 Power supply

36 Festo — CPX-AP-I-EC-M12 — 2019-11


Technical Data

Network-specific data

Protocol EtherCAT
(based on the Ethernet protocol IEEE 802.3)
Specification Standards and norms with reference to EtherCAT:
IEC 61158
IEC 61784
IEC 61918
ISO/IEC 8802-3
Transmission rate [Mbps] 100
Crossover Detection Auto-MDI/MDI-X
Cable length per [m] 100 (max.)
segment
Cable specification
Cable type Ethernet twisted pair cable, shielded
Transmission class Category Cat 5 or higher
Cable diameter [mm] 6 … 8
Wire cross section [mm2] 0.14 … 0.75
AWG 22 (required for maximum connection length between net-
work participants)
Tab. 32 Network-specific data

Festo — CPX-AP-I-EC-M12 — 2019-11 37


Copyright:
Festo SE & Co. KG
Ruiter Straße 82
73734 Esslingen
Germany

Phone:
+49 711 347-0

Internet:
© 2019 all rights reserved to Festo SE & Co. KG www.festo.com

You might also like