Mcgs Hmi Password Work May 2026
MCGS does not use single "Admin" or "User" accounts by default. Instead, it operates on a numeric User Level system:
How it works: Every interactive component (button, input box, slider) has a property called "Minimum Operation Permission Level" . If the currently logged-in user’s level is less than the component’s required level, the component is grayed out or completely invisible. mcgs hmi password work
A good password system auto-logs out after inactivity. Implement this using a Cyclic Script (runs every 1 second): MCGS does not use single "Admin" or "User"
' Cyclic script, event: Timer, cycle time: 1000 ms
Static LastActionTime
IF AnyTouchValue > 0 THEN ' Simulate touch detection
LastActionTime = SysSecond() ' System seconds counter
ENDIF
IF (SysSecond() - LastActionTime) > 300 THEN ' 5 minutes timeout
Login_Flag = 0
Access_Level = 0
' Optional: Jump to login screen
IF Screen <> 0 THEN Screen = 0
ENDIF
If the HMI asks for a password upon booting and you do not know it: How it works: Every interactive component (button, input
MCGS operates on a hierarchy of 32 user levels (Levels 0 to 31).