Diagnosis In The User Program - Festo CPX-FEC Manual

Cpx-front-end controller
Hide thumbs Also See for CPX-FEC:
Table of Contents

Advertisement

3. General operation (Stand Alone)

3.5.3 Diagnosis in the user program

Error program
Festo P.BE−CPX−FEC−EN en 0404NH
You can read out diagnostic information in your user program
via function modules (CFM).
Modules
Description
C_STATUS
Interrogate diagnostic status
C_TR_rd
Read entries in diagnostic memory
C_MD_rd
Read module diagnostic data
Tab. 3/23: Function modules for diagnosing the
CPX terminal
Further information on function modules can be found in
appendix C.1.
If a fault occurs during running time, an error number will be
entered in the error word (EW). Depending on whether an
error program has been configured, the following applies:
Error program = 0 (no error program defined): Programs
will be stopped
Error program > 0: Programs will be stopped and the error
program with the entered number will be started.
The following example shows a program for error treatment.
Enter it as Error Program" in the register Run mode" in the
Controller Settings" (see Fig. 3/16).
3−59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents