EasyManua.ls Logo

IFM Electronic CR0403 - Page 128

IFM Electronic CR0403
233 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
128
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
CANOPEN_GETGUARDHBERRLIST
7896
= Get guard and heartbeat error list
Unit type = function block (FB)
Unit is contained in the library ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7898
CANOPEN_GETGUARDHBERRLIST lists all nodes in an array for which the master has detected an
error:
• guarding error
• heartbeat error
>
Parameters of the inputs
7899
Parameter
Data type
Description
EXECUTE BOOL := FALSE FALSE TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CHANNEL BYTE CAN interface (1...n) depending on the device
ResetList
(optional use of the parameter)
BOOL := FALSE Reset error list
TRUE: Provide the error list as well as number of faulty
nodes at the output and then reset.
FALSE: function element is not executed
>
Parameters of the outputs
7900
Parameter
Data type
Description
N_NODES WORD Number of nodes with heartbeat or guarding error
0 = none of the nodes has a guarding or heartbeat error
NODEID ARRAY
[0..MAXGUARDERROR] OF
BYTE
List of node IDs with heartbeat or guarding error.
The most recent entry is in index 0.
MAXGUARDERROR depends on device
→ chapter Limitations for CANopen in this device (→ page 38)
RESULT BYTE feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0 00 FB is inactive
1 01 function block execution completed without error
8 08 FB is active – not yet processed
242 F2 Error: setting is not possible

Table of Contents