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


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:

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:

  1. The "Backdoor" Methods: MCGS hardware often has factory reset procedures, but they vary by model.
  2. 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.
  3. 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.
  4. 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

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