Festo CPX-CEC Series Manual page 47

Modular valve terminal with integrated controller codesys
Table of Contents

Advertisement

Modular valve terminal with integrated controller CPX-CEC-...
Start the system event calls with the name (prefix) "callback".
Figure: Creating the CALLBACK_CAN block
Error handling program
The system reads out the error number first of all by accessing the diagnostic memory (%MB2 = system
fault number) or using the CPX library "Festo_CPX.lib".
The text is then issued and the "SysStopPlcProgram" function from the SysLibPlcCtrl.lib library stops the
IEC program if necessary.
Figure: Error handling program
Festo_CPX.lib library
The Festo_CPX.lib library description includes other CPX-specific modules for diagnosis and error
information.
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpx-cecCpx-cec-c1Cpx-cec-m1

Table of Contents