Skip to content

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.

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>
  1. 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.
  2. Press Password XML….
  3. 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.
  4. Insert a FAT32 USB stick in the pendant and press Export to USB. This writes passlvl.xml to the stick.

With the stick still in the pendant:

  1. Menu > Setup > Passwords.
  2. Press ENTER to add an INSTALL user; set and confirm its password.
  3. Log in as INSTALL.
  4. Press the > softkey, then CONFIG.
  5. Press VERIFY to check the file.
  6. Press IMPORT to apply it.

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.

Copy the two <SCREEN> lines and the <DEFSCREEN> line from the generated file into your existing one, then verify and import as above.