
11.8 L_CanDSxCloseHeartBeat − deactivating the "Heartbeat"
System bus (CAN) for Lenze PLC devices
LenzeCanDSxDrv.lib function library
11−10
L
PLC−Systembus EN 2.0
11.8 L_CanDSxCloseHeartBeat − deactivating the "Heartbeat"
Function
By means of this function, the "Heartbeat" monitoring mechanism of the CanDSx driver is
deactivated again.
· For the deactivation the transfer parameter bClose has to be set to TRUE.
Declaration
BOOL L_CanDSxCloseHeartBeat(bClose);
Transfer parameters Data type Information/possible settings
bClose Bool Deactivating the "Heartbeat" monitoring mechanism.
TRUE The "Heartbeat" monitoring mechanism of the CanDSx driver in the operating
system is deactivated.
Return value Data type Value/meaning
Bool Status
TRUE The "Heartbeat" monitoring mechanism of the CanDSx driver has been
deactivated.
FALSE The "Heartbeat" monitoring mechanism of the CanDSx driver has not been
deactivated.
· Remedy: function call via transfer parameter bClose = TRUE.
Example
Calling the function in ST:
bReturnCloseHeartBeat := L_CanDSxCloseHeartBeat(bClose:=TRUE);
Comentarios a estos manuales