Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Integrating hardware and software modules with Axxon PSIM  Editing the DBI file Next page


To integrate a hardware and software (functional) module into Axxon PSIM, perform the following steps:

  1. Edit the DBI file.
  2. Edit the DDI file.
  3. Prepare a module.mdl file, where “module” is the name of the module to be integrated (this file is a transformed DLL file).
  4. Prepare an executable file, module.run, where “module” is the name of the module to be integrated (this file is a transformed EXE file).
  5. Copy module.mdl and module.run to the Axxon PSIM\Modules folder.

Figure below shows a diagram of interaction between a functional module and the system core.

The DBI and DDI files contain information on the integrated functional modules (objects); this information is needed for the operation of the system core. The DBI file describes the structure of Axxon PSIM's configuration database. The DDI file describes the objects and their parameters. When an object is integrated, the name of the object, its parameters, and the related system events and reactions are added to these files.  

The MDL file is used for working with one type of objects: it allows you to create, delete, and modify object parameters (during setup or operation), save them in the database, and perform several special operations. The MDL file also ensures that the parameters of created/modified objects are sent to the executable file (the RUN file), and contains the configurations of the object setup panels.

The executable RUN file interacts with devices, passes event information to the core, and enables device management. 

In this document, we describe the steps for module integration by using the DEMO module, which emulates working with virtual hardware. This module includes devices with unique addresses for accessing and polling these devices. The system allows you to perform a number of actions with devices and to pass all their events to the system core. 

  • No labels