Regularly via the HMI runtime menu to comply with industrial safety standards. 5. Conclusion
Working with passwords on an (Kunlun Tongtai) often involves bypassing application locks on used equipment or managing system-level security. Default Credentials & Common Access
:一个用户隶属于一个或多个用户组 → 管理员为特定控件(按钮、输入框等)设置"允许操作的用户组" → 用户登录时,系统根据其所在用户组判断是否拥有操作该控件的权限。
除了操作权限管理,MCGS密码机制还以其他形式存在:
For complete control over the authentication experience, developers can create custom login interfaces using MCGS variables and scripts. A typical implementation involves: mcgs hmi password work
' 假设已将输入的账号和密码分别存入变量:LoginName 和 LoginPwd ' 低权限校验:账号03密码333 IF LoginName = "03" AND LoginPwd = "333" THEN !LogOn() ' 调用系统登录 用户窗口.窗口0.Visible = 0 ' 隐藏主页面 用户窗口.窗口1.Open() ' 打开低权限页面 ' 高权限校验:账号04密码444 ELSEIF LoginName = "04" AND LoginPwd = "444" THEN !LogOn() 用户窗口.窗口0.Visible = 0 用户窗口.窗口2.Open() ' 打开高权限页面 ELSE ' 账号密码错误处理,例如:弹窗提示 MsgBox("账号或密码错误,请重新输入!") ENDIF
MCGS offers additional engineering-level security features accessed through the menu:
Setting up a secure MCGS environment involves creating a login interface where operators enter their ID and password. If an operator encounters a password screen they cannot bypass, they must often contact the original system integrator, as these application-level passwords are saved within the project file rather than the hardware's firmware. Troubleshooting Password Protection on Chinese MCGS HMI
Numerical values assigned to security objects. A user must have an authority level equal to or higher than the object's level to access it. Level 0 allows public access without a password. Runtime Behavior Regularly via the HMI runtime menu to comply
Always configure a background script to log out users after a set period of touch inactivity.
Use MCGS scripts to automatically log users out after a few minutes of inactivity to prevent unauthorized access to an unattended screen.
To restrict an action, you set a minimum security level for that object.
You do not write code for basic passwords. Instead, navigate to the window: mcgs hmi password work
When an operator triggers a restricted element (like an input box or a screen switch), the MCGS runtime checks the current logged-in user’s profile. If no user is logged in, or if the current user’s level is too low, the system automatically interrupts the action and prompts a login dialog box. 2. Step-by-Step Configuration of MCGS Passwords
If you encounter an "anomalous" password screen that appears even when trying to access basic settings, it is likely that the previous owner implemented a custom "application password" that does not match the default factory settings.
Version and deployment considerations