174
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
SET_PASSWORD
8178
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0452_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
8179
SET_PASSWORD sets a user password for program and memory upload via the maintenance tool.
If the user password is active, reading of the application program or the data memory via the
maintenance tool is only possible if the correct password has been entered.
If an empty string (default condition) is assigned to the PASSWORD input, the password is reset. Than
an upload of the application software or of the data memory is possible at any time.
The password is reset when loading a new application program.
>
Parameters of the inputs
8180
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
PASSWORD
STRING(16)
password
If PASSWORD = "", than access is possible without enter of a
password
>
Parameters of the outputs
8181
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