Library Components

  • SPEL+ project components that are organized into libraries are divided into public components and private components.
  • Public components are directly available to any SPEL+ project with library added.
  • Private components are not directly available to a SPEL+ project with library added.
  • Public and private components are distinguished by the presence or absence of a prefix.
  • Public program files, include files, and vision sequences are called public files and can be edited in the SPEL+ project with library added.
Functions Public Components Private Components
Using from a SPEL+ project that uses a library available unavailable
Editing by users using a library available unavailable

  • Public components can be used as described below.
Components Usage when specified as public
Functions Used to provide functions as functions to library users.
Global variables Used to indicate the library's operation as variables, or specify the values necessary for the library to operate.
Backup variables Used in the same way as the global variable. Convert into backup variables when you want to continue to use the same value in the next operation by storing the value inside the Controller.
Program file ・Used when displaying the usage example of the library's public function.
・It is also used when you want to have the library user to write the processing of the public function called from the library.
Include file Used in a way that allows the library user to use the argument and return value of a public function as constants. By using them as constants, it will make it easier for the library user to understand the meaning of the value.
Vision sequence Used to provide vision sequence to the library user.