165
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
GET_SW_VERSION
14763
= get software version
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
14765
GET_SW_VERSION provides information on the software in the device:
• BasicSystem version
• bootloader version
• SIS version
• IEC application program version
• IEC user flash version
>
Parameters of the inputs
14766
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
14767
Parameter
Data type
Description
BS_VERSION
STRING(24)
Basic system version
BL_VERSION
STRING(24)
Bootloader version
SIS_VERSION
STRING(24)
SIS version (SIS = System Information Service)
IEC_VERSION
STRING(24)
IEC application program version
USER_VERSION
STRING(24)
IEC user flash version
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