6.3.20 Password functions
Overview
The following password functions are available:
●
Set password
● Delete password
● Change password
HMI_LOGIN function: Set new password
Syntax: HMI_LOGIN
(Passwd)
Description: A password which sets the current access level is sent to the NCK with the
HMI_LOGIN() function.
Parameters: Passwd Password
Example
REG[0] = HMI_LOGIN("CUSTOMER") ; Result = TRUE if the password has been set
successfully, otherwise FALSE
HMI_LOGOFF function: Delete password
Syntax: HMI_LOGOFF
Description: The actual access level can be reset using the HMI_LOGOFF function.
Parameters: - None -
Example
REG[0] = HMI_LOGOFF ; Result = TRUE if the password has been de-
leted successfully, otherwise FALSE
HMI_SETPASSWD function: Change password
Syntax: HMI_SETPASSWD
(AC, Passwd)
Description: The password of the current level or a lower level can be changed with the
HMI_SETPASSWD function.
Parameters: AC Access level
Passwd Password
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
132 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3