Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page DBI file preparation  XML file preparation Next page


A DDI file is prepared using the ddi.exe utility. Details on how to handle it can be found in The ddi.exe utility for editing database templates and external settings files.

A DDI file for CUSTOM and CUSTOM_CHILD object types is created as follows:

  1. Run the ddi.exe utility (see The ddi.exe utility for editing database templates and external settings files).
  2. Create CUSTOM and CUSTOM_CHILD objects in the DDI tab, as shown below.
  3. Go to the Events tab and configure events that must be supported by the object (see the figure).
  4. Go to the Reactions tab and configure reactions that must be supported by the object (see the figure).

    Note

    Reactions of custom objects are automatically converted into events. In other words, a custom object automatically generates an event when there is a reaction.


  5. Go to the States tab and describe the states that the object can take. Here there are two statesON and OFF.

    Note

    The postfix of file name is specified in the Image columnthe image that is stored in <Axxon PSIM installation directory>\Bmp. For instance, these will be custom_off.bmp and custom_on.bmp files (corresponding to ON and OFF states) for CUSTOM object. These files will be used by the map module.
  6. Go to the Transition rules tab and set the object state change logic.

    Transition rules is a simple state machinean event is an input action and a state is a result.
    An unconditional transition is used in this case: if CUSTOM||ON event is received, then there is transition to the ON state, if CUSTOM||OFF event is received, then there is transition to the OFF state.
  7. To save changes use the Save command in the File menu. The saved file must have the ddi extension and be stored in the folder corresponding to the required language, for example, C:\Program Files (x86)\Axxon PSIM\Languages\en\psim.custom.ddi.

The DDI file preparation is completed.

  • No labels