Function library lenzecandsxdrv.lib, Functions/function blocks – Lenze DDS Global Drive PLC Developer Studio User Manual

Page 21

Advertising
background image

Function library LenzeCanDSxDrv.lib

Functions/function blocks

3.7

L_CanDSxCloseHeartBeat − Deactivation of "Heartbeat"

3−9

L

LenzeCanDSxDrv.lib EN 1.2

3.7

L_CanDSxCloseHeartBeat − Deactivation of "Heartbeat"

Function

This function is used to deactivate the "Heartbeat" monitoring mechanism of the CanDSx driver.

·

For deactivation, the transfer parameter bClose must be set to TRUE.

Declaration

BOOL

L_CanDSxCloseHeartBeat (bClose);

Transfer parameters

Data type

Information/possible settings

bClose

Bool

Deactivation of the "Heartbeat" monitoring mechanism.

TRUE The "Heartbeat" monitoring mechanism of the CanDSx driver 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: Call the function with transfer parameter bClose = TRUE.

Example

Calling the function in ST:

bReturnCloseHeartBeat :=

L_CanDSxCloseHeartBeat(bClose:= TRUE);

Advertising