Mcgs Hmi Password Instant

If you are an integrator who has locked themselves out of a runtime function (e.g., you set a password to enter a setup screen and forgot it), you can write a rescue script.

Requirement: You must be able to download a new project to the HMI.

The Logic: Create a new invisible button or a system timer that calls the !SetPassword() function to overwrite the forgotten password.

Sample Script (MCGS Macro Language):

' MCGS Script to Reset User Level 1 Password
' Place this in a "Login" button's script or a background loop

!SetPassword("Level1", "000000") ' Resets Level 1 password to 000000 !SetPassword("Level2", "111111") ' Resets Level 2 password to 111111

' To clear password protection entirely: !SetPassword("Logout", 0)

How to execute:


Method 1 – Known backdoor for older MCGS:
For some older models (e.g., TPC7062K), you can use a USB drive with a special MCGSPASSWORD folder containing a blank PASSWORD.TXT file – but this no longer works on modern firmware.

Method 2 – Factory reset (data loss):
Use the HMI's bootloader menu (jumper or touch during power-on) → System Maintenance → Clear all data / Reset to factory. This erases the project. mcgs hmi password

Method 3 – Contact MCGS support with proof of purchase – they can generate a temporary unlock code.

To avoid production downtime in the future, follow these industrial standards:

If you are an integrator who has locked themselves out of a runtime function (e.g., you set a password to enter a setup screen and forgot it), you can write a rescue script.

Requirement: You must be able to download a new project to the HMI.

The Logic: Create a new invisible button or a system timer that calls the !SetPassword() function to overwrite the forgotten password.

Sample Script (MCGS Macro Language):

' MCGS Script to Reset User Level 1 Password
' Place this in a "Login" button's script or a background loop

!SetPassword("Level1", "000000") ' Resets Level 1 password to 000000 !SetPassword("Level2", "111111") ' Resets Level 2 password to 111111

' To clear password protection entirely: !SetPassword("Logout", 0)

How to execute:


Method 1 – Known backdoor for older MCGS:
For some older models (e.g., TPC7062K), you can use a USB drive with a special MCGSPASSWORD folder containing a blank PASSWORD.TXT file – but this no longer works on modern firmware.

Method 2 – Factory reset (data loss):
Use the HMI's bootloader menu (jumper or touch during power-on) → System Maintenance → Clear all data / Reset to factory. This erases the project.

Method 3 – Contact MCGS support with proof of purchase – they can generate a temporary unlock code.

To avoid production downtime in the future, follow these industrial standards: