Supported platforms: CODESYS 2.3, CODESYS 3.5

 

CANopenConsumeHB (FUN)

Description

Adds HeartBeat to list of consumed HBs.

Limitations

Duplicate node-IDs are not allowed.

 

Inputs

 

CODESYS 2.3CODESYS 2.3

Input variable name

Data type

Description

i_pDevice

POINTER TO CANopenDev

Pointer to device which will consume this heartbeat

i_pProducer

POINTER TO CANopenHeartBeat

Pointer to heartbeat to consume.

 

 

CODESYS 3.5CODESYS 3.5

Input variable name

Data type

Description

i_pDevice

POINTER TO CANopenDev

Pointer to device which will consume this heartbeat

i_pProducer

POINTER TO CANopenHeartBeatProducer

Pointer to heartbeat to consume.

 

Example code

CODESYS 2.3

 

CODESYS 3.5

 

Source file Topic000203.htm

Last updated 13-Jun-2024