Festo CPX-CEC Series Manual page 49

Modular valve terminal with integrated controller codesys
Table of Contents

Advertisement

Figure: Diagnosis of the CANopen master
In correspondence with this information, the following functions in Festo_CANController.lib can be called in
the program:
Function
CAN_GetControllerState
CAN_RestartController
Note
Only call the "CAN_RestartController" function when the controller status is
"CANC_STATE_BUS_OFF".
Modular valve terminal with integrated controller CPX-CEC-...
Description
Reads out the CAN
controller status
Resets the CAN
controller
Return values
CANC_STATE_NORMAL: Normal operating
status, all error counters < 128
CANC_STATE_PASSIVE: Receive error
counter > 127 or transmit error counter >
127
CANC_STATE_BUS_OFF: Transmit error
counter > 255; no CAN communication
1 ... OK
0 ... Error
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpx-cecCpx-cec-c1Cpx-cec-m1

Table of Contents