Lock the devices

If you have some axes and I/Os that are being used by other machines or programs, you may want to prevent them from being controlled by the PLC. In LogicLab, you can do this by locking the devices. The index of the locked devices are zero-based.

  1. To lock the devices, you need to change the number of locked devices in LLExec_RTX64.conf. By default, this file is located at C:\Program Files\IntervalZero\KINGSTAR\bin\. Open the file using Notepad or other text editor.
  2. NOTE:  LLExec_RTX64.conf is in KINGSTAR Runtime. If you have installed KINGSTAR Runtime and LogicLab on the different computers, you need to find this file on the computer that has KINGSTAR Runtime installed.

  3. In the LLExec_RTX64.conf file, find the line of code <lockedslaves axes="0" modules="0"/>. It determines how many axes or I/O modules to be locked. In this guide, we want to lock three axes, so we make the following change:
  4. <lockedslaves axes="3" modules="0"/>

    After changing the number, save the file and close it.

  5. Restart LogicLab and PLC Runtime. The following describes how the locked devices are checked and presented in different use cases.