Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A DDI The ddi file preparation is prepared performed using the ddi.exe utility. Details For more details on how to handle it can be found in work with it, seeThe ddi.exe utility for editing database templates and external settings files.

A DDI To create the ddi file for the objects of the CUSTOM and CUSTOM_CHILD object types is created as followstypes, use the following order:

  1. Run the ddi.exe utility (see The ddi.exe utility for editing database templates and external settings file).
  2. Create two CUSTOM and CUSTOM_CHILD objects in on the DDI tab, as shown in the figure below.
  3. Go to the Events tab and configure the 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).

    Info
    titleNote

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

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

    Info
    titleNote
    The In the Image column, you can specify the postfix of the file name is specified in the Image columnthe image that is stored in located in the <Axxon PSIM installation directory>\Bmp folder. For instanceexample, these will be the custom_off.bmp and custom_on.bmp files ( corresponding to the ON and OFF states ) are for the CUSTOM object. These files will be are used by the map Map module.
  6. Go to the Transition Transfer rules tab and set configure the object state change logic.

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

The DDI ddi file preparation is completedcomplete.