2410_LSS100100/LSS100200_SW_03.0

User Libraries

User libraries contain user-defined functions that can be called from other scripts.

Keep source:

  • There is an option to keep the source code available for user libraries. When disabled, the code is compiled into binary form and cannot be further edited. If this option is enabled, the source code remains visible in the editor.

The Auto load library option loads the selected script when the controller starts.


Including the library in scripts

To use functions defined in a user library, include them at the beginning of your script. For example, if you have a user library named ‘test’, include it as follows:

require('user.test')


User libraries backup and restoration

User libraries can be backed up and restored or added from an archive. Keep in mind that importing a new library will replace the existing one.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?