Supported platforms: CODESYS 3.5, CODESYS 3.5 SAFETY
Callback function block for received Heartbeat protocol messages.
Each heartbeat producer has its own instance of the callback.
|
This function block is used internally by library. However, the instances must be defined in application code. |
Input variable name |
Data type |
Range |
Description |
i_NodeID |
BYTE |
1..127 |
NodeID of heartbeat producer |
i_Time |
UDINT |
|
Max interval of heartbeat (ms) |
i_pNext |
POINTER TO CANopenHBCallback |
|
Pointer to next receiver (for internal use only). |
Output variable name |
Data type |
Range |
Description |
o_State |
BYTE |
|
State of node's heartbeat (16#FF if timeout). |
o_BootUpCount |
BYTE |
|
Boot up counter for consumed slave. |
-
Source file topic001014.htm
Last updated 4-Sep-2025