EasyManuals Logo

Festo CPX-CEC Series User Manual

Festo CPX-CEC Series
59 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #43 background imageLoading...
Page #43 background image
Modular valve terminal with integrated controller CPX-CEC-...
41
1.9 Diagnosis in the user program
The following options are available for evaluating diagnostic results in the user program:
Evaluation of CPX diagnostic information in the flag area
CPX-specific diagnostic event CPX_System_Fault
CPX-specific modules for diagnosis in Festo_CPX.lib
Evaluation of CPX diagnostic information in the flag area
The CPX master writes the CPX diagnostic information to the system table. This is documented in Chapter
B.2.1 of the CPX system manual. The CoDeSys run-time system copies the diagnostic data unmodified to
the diagnostic addresses of the modules to a predefined flag area.
The CPX diagnostic data consists of:
System diagnosis (also global diagnosis) (8 bytes)
Module diagnosis (4 bytes per module)
Channel diagnosis (1 byte per channel)
System diagnosis
The global diagnosis is written to the diagnostic address of the "CPX-CEC-..." node.
This address is permanently set to the first eight bytes of the memory area: %MB0 - %MB8.
CoDeSys bus diagnosis
The data of the run-time system bus diagnosis is written to the diagnostic area of the abstract IOModules
node. The data size is 141 bytes.
Figure: Address assignment of the CPX diagnostic data in the flag area
Module and channel diagnosis
The module diagnosis and the channel diagnosis are written to the diagnostic addresses of the relevant
modules.
The following applies:
the first four bytes relate to the module diagnosis
the other four bytes relate to the channel diagnosis.
The input channels are displayed first followed by the output channels, as documented in the system
manual.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Festo CPX-CEC Series and is the answer not in the manual?

Festo CPX-CEC Series Specifications

General IconGeneral
BrandFesto
ModelCPX-CEC Series
CategoryController
LanguageEnglish

Related product manuals