Password Protection (J541)
Use FANUC's Password Protection option to keep operators out of the editor entirely.
Locking the editor is built in and needs nothing from FANUC: one shared password, and the editor shows a lock screen. FANUC’s Password Protection option (J541) goes further — it is per-user access control in the robot operating system itself. Configured for HMI Forge, an operator cannot open the editor at all, keeps full use of the runtime, and lands on the runtime by default. Higher user levels keep their access.
Password Protection must be installed on the controller. This page condenses a blog post with a video walkthrough.
The configuration file
Section titled “The configuration file”Password Protection is configured with a passlvl.xml file that names each
pendant screen by softpart and screen id. HMI Forge’s editor and runtime ids
differ from controller to controller, so do not copy them from another cell —
HMI Forge generates the file with ids read from your controller. A typical
result:
<?xml version="1.0"?><PASSWORD> <!-- HMI Forge editor for operator user --> <SCREEN level="0" sp_id="381" scrn_id="401" access="0" rw_access="0" /> <!-- HMI Forge runtime for operator user --> <SCREEN level="0" sp_id="381" scrn_id="402" access="1" rw_access="1" /> <!-- make runtime the default screen for operator user --> <DEFSCREEN level="0" sp_id="381" scrn_id="402"/></PASSWORD>Generating the file
Section titled “Generating the file”- In the editor, tap the Diagnostics button (the pulse icon) in the top bar. The panel shows the softpart and screen ids it has read from the controller.
- Press Password XML….
- Choose what the operator user (level 0) may do. The defaults match the file above: cannot open the editor, can use the runtime, and the runtime is the default screen.
- Insert a FAT32 USB stick in the pendant and press Export to USB. This
writes
passlvl.xmlto the stick.
Importing on the controller
Section titled “Importing on the controller”With the stick still in the pendant:
Menu > Setup > Passwords.- Press
ENTERto add anINSTALLuser; set and confirm its password. - Log in as
INSTALL. - Press the
>softkey, thenCONFIG. - Press
VERIFYto check the file. - Press
IMPORTto apply it.
Testing
Section titled “Testing”While logged in as INSTALL, both Menu > Plugins > HMI Forge > Editor and
> Runtime should open normally.
Log out via Menu > Setup > Passwords > Logout. The pendant lands on the
HMI Forge runtime, and opening the editor posts a
PWD-068 Menu access is not allowed alarm.
Already using a passlvl.xml?
Section titled “Already using a passlvl.xml?”Copy the two <SCREEN> lines and the <DEFSCREEN> line from the generated
file into your existing one, then verify and import as above.
Related
Section titled “Related”- Locking the editor — the built-in lock, when J541 is not available.
- Installation — USB stick requirements.