Mcgs Hmi Password Work __full__ «2025-2027»
Write-up: Implementing Password Security and User Levels on MCGS HMIs
4. Password Recovery / Reset if Locked Out
- If engineering upload password forgotten:
Some MCGS HMI tools (like “McgsPro Password Recovery” tools exist unofficially). Legitimate method: contact Beijing Kunlun Tongtai (MCGS manufacturer) or your HMI supplier.
- If locked out of HMI system settings:
Try default 888888. If changed, you may need to reflash firmware via special recovery mode (varies by model).
- Physical reset: Some models have a “System Restore” jumper or button inside (check manual).
A. Using System Functions
MCGS provides built-in system functions for login management. You typically create buttons on a "Settings" or "Main" screen to trigger these:
- Login Button:
- Script:
!LogOn()
- Action: When pressed, the HMI displays a standard Windows-style dialog box asking for Username and Password.
- Logout Button:
- Script:
!LogOff()
- Action: Clears the current user privileges, reverting the system to the default "public" state.
Part 4: Advanced Password Work – Multi-Level Security (Admin vs Operator)
Real industrial HMIs need different access levels. Here is how MCGS HMI password work for multi-user scenarios using a numeric level system.
5. Advanced Password Work: Scripts and Logic
Sometimes, standard security settings are not enough. MCGS allows for custom scripting using the "Script" editor. mcgs hmi password work
Scenario B: Lost System/Download Password on HMI Hardware
If the HMI asks for a password upon booting and you do not know it:
- The "Backdoor" Methods: MCGS hardware often has factory reset procedures, but they vary by model.
- CF Card/SD Card Method: If your MCGS unit uses a removable CF card or SD card for storage:
- Power down the HMI.
- Remove the CF card.
- Insert it into a PC.
- Locate the system configuration files (often
mgs.ini or similar). Editing or deleting the password entries here can reset the security.
- Alternatively, if you have a backup of the project without a password, you can overwrite the contents of the CF card.
- Communication Reset:
- If you know the IP address of the HMI, some versions allow remote uploading of a "clean" system file, but this usually requires the Upload Password.
- Contacting the Vendor: If the above fails, you must contact the HMI hardware supplier or McKinsey (MCGS) support with the device serial number for a master unlock code.
A. Access Levels (Priority)
Every object (button, input box, etc.) in MCGS can be assigned a "Security Level" (often ranging from 0 to 99, or specific groupings depending on the version). Write-up: Implementing Password Security and User Levels on
- Level 0: Typically public access. No password required.
- Higher Levels (e.g., Level 50, 99): Require a logged-in user with sufficient privileges. If a user with Level 50 privileges is logged in, they can access objects set to Level 50 or lower, but not Level 51.
4. Advanced: Programming Dynamic Password Logic
Sometimes, the built-in user manager isn't enough (e.g., you need a password that changes daily). You can bypass the standard system using Standard Lua Script (MCGS Pro).
Example: Verify a user-entered number against a PLC register If engineering upload password forgotten : Some MCGS
Assumptions: A numerical input box writes to Data_Entry (PLC Register LW0). The correct password is stored in Correct_PW (PLC Register LW10).
Script placed on the "Enter" button:
IF Data_Entry = Correct_PW THEN
!SetCurrentLevel(15) // Internal MCGS command to change user level to 15
!SetCurrentUser("Verified_Operator")
User_Status = "Access Granted"
ELSE
!SetCurrentLevel(0) // Demote to guest
User_Status = "Access Denied"
ENDIF