166
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
MEM_ERROR
14770
= Memory Error
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
14772
MEM_ERROR signals errors in some parameters or in the memory.
The memory areas can be deleted via the corresponding FB inputs.
>
Parameters of the inputs
14773
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
RESET_RETAIN
BOOL
TRUE:
Delete non-volatile retain memory
FALSE:
No changes to memory contents
RESET_OHC
BOOL
TRUE:
Delete non-volatile OHC memory
FALSE:
No changes to memory contents
>
Parameters of the outputs
14774
Parameter
Data type
Description
COM_ERR
BOOL
Download ID and baud rate are set to default values
(download parameters got lost)
CALIB_ERR
BOOL
Calibration values are invalid
(analogue inputs, PWM outputs, system voltages)
RETAIN_ERR
BOOL
Retain memory is invalid
(e.g. partially deleted due to strong magnetic field)
OHC_ERR
BOOL
OHC values are invalid
(e.g. partially deleted due to strong magnetic field)
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
FB execution completed without error
– data is valid