159
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
FLASH_INFO
11580
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
11588
FLASH_INFO reads the information from the user flash memory:
• name of the memory area (user defined),
• software version,
• start address (for simple reading with IEC structure).
>
Parameters of the inputs
11589
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
>
Parameters of the outputs
11590
Parameter
Data type
Description
NAME
STRING(24)
Name of the memory area (user defined)
VERSION
STRING(24)
Software version
START_ADDR
DWORD
Start address of the data
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
157
9D
Software header invalid (CRC error)