171
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
SET_IDENTITY
8174
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
8535
SET_IDENTITY sets an application-specific program identification.
Using this FB, a program identification can be created by the application program.
► This identification can be read in order to identify the loaded program:
• via the software "Maintenance Tool"
• in the application program via the FB
GET_IDENTITY
(
>
Parameters of the inputs
8175
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
APP_IDENT
STRING(80)
identifier of the application
as a string of max. 80 characters, e.g.: "Crane1704"
Reset with APP_IDENT = ""
>
Parameters of the outputs
8176
Parameter
Data type
Description
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