122
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
CANOPEN_GETERRORREGISTER
7915
= Get error register
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7917
CANOPEN_GETERRORREGISTER reads the error registers 0x1001 and 0x1003 from the controller.
>
Parameters of the inputs
7918
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
Reset_1001
(optional use of the parameter)
BOOL := FALSE
TRUE:
Reset error register 0x1001
FALSE:
function element is not executed
Reset_1003
(optional use of the parameter)
BOOL := FALSE
TRUE:
Reset error register 0x1003
Set number of entries to 0
FALSE:
function element is not executed
The inputs remain unchanged.