Festo CPX-CEC Series Manual page 53

Modular valve terminal with integrated controller codesys
Table of Contents

Advertisement

Fieldbus slave diagnostic information
Alternatively, the diagnostic information of a fieldbus slave can be read out via the module call
DiagGetState().
Input parameter
1)
ENABLE
DRIVERNAME
DEVICENUMBER
BUSMEMBERID
1) Enable is not evaluated.
Return parameter
READY
STATE
EXTENDEDINFO
Note
After the diagnostic information is read out, it is deleted from the CAN stack and the module
status is reset.
Acknowledge the error.
Refer to the document 'CANopen for 3S Runtime Systems V2_3_5_0.pdf' for important information and a
detailed description on using the 3S CANopen master.
The document is stored in the directory: C:\Program Files\Festo\CoDeSys
V2.3\Targets\Festo\"Controller"\Help\English\...
Modular valve terminal with integrated controller CPX-CEC-...
Values
Meaning
Diagnostic function is always executed
"CAN DRIVER"
Driver name
0
CAN master index
0...129
CAN node ID
Values
Meaning
0
Diagnostic function has not yet been executed
1
Diagnostic function has been executed
-1
Invalid parameter
0
Block not enabled
1
Fetch diagnostic information
2
Diagnostic information is available
3
No diagnostic information available
0
Used internally
1
Used internally
2
Used internally
3
Used internally
4 ... 11
EMERGENCY telegram (meaning depends on the CAN
slave used)
CAN node ID
12
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpx-cecCpx-cec-c1Cpx-cec-m1

Table of Contents