This section shows how to add information on the DEMO_SERVICE object to psim.ddi by using the ddi.exe tool.
To add information on the DEMO_DEVICE object, do the following:
A dialog box opens. In the ID field, enter an object name (used for identification) and click OK.
The DEMO_DEVICE object is now shown in the list of objects.
In the Names tab, enter an object name.
In the States tab, add the ON and OFF states. To show an object state on the Map, enter a BMP file name (the part that serves as an ID of the state).
The names of the BMP files in the Axxon PSIM\Bmp folder must have the following format: <Image ID>_<State ID> If an image ID is not set, the BMP file name must be the following: <Object ID>_<State ID> |
The Map may show objects using lines (that is, without using BMP files). In this case, when an object changes its state, the line color changes. For a state, the color (RGB) is set as follows: <State>$R:G:B |
In the Transition Rules tab, set a rule for transitioning from one state to another after a certain event.
If the Transition from state field is left blank, the rule will apply to all starting states. |
The information on the DEMO_DEVICE object is now added.
The fields of the ddi.exe tables are described in detail in APPENDIX 1. DDI file structure. |
After making changes to the DDI file, you must update the database structure by using idb.exe (see Steps 4–7 in Section Adding Objects to psim.dbi). |