161
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
GET_APP_INFO
11581
= get application information
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
11593
GET_APP_INFO provides information about the application software stored in the device:
• name (= file name of the CODESYS project),
• version (= from CODESYS menu [Project] > [Project Info] > [Version]),
• unambiguous CoDeSys build number,
• CoDeSys build date.
>
Parameters of the inputs
11594
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
11595
Parameter
Data type
Description
NAME
STRING(24)
Name of the application
VERSION
STRING(24)
Version of the application program
BUILD_NUM
STRING(24)
Unique CODESYS build number (e.g.: "45")
BUILD_DATE
STRING(24)
CODESYS build date (e.g.: "20111006123800")
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