Versions Compared

Key

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


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:
Table of Contents



Column


Note
titleAttention!

After preparing you prepare the required files and before creating custom objects in Axxon PSIM, it is necessary to you must update the main database using The idb.exe utility for converting databases, selecting database templates and making backup copies of databases.

When the DBI, DDI and XML files are ready, the objects of a After you prepare the dbi, ddi, and xml files, you can create the object of the new type along with the standard objects can be created in the Axxon PSIM hardware tree.

 

Custom parameters are displayed on the The settings panel of the created custom object displays the custom parameters. In the considered example, they are custom_param1 and custom_param2 in this example. Their values You can be set their values in the table.

Image Modified

Displaying on the map

When After you create an object is created in the hardware tree it can be placed , you can place it on the map and perform the set reactions can be executed in from the object context menu (see Configuring the interactive map for object state indication and controlling the objects).

 Image RemovedImage Added

Using in macros

When a After you create the custom object is created in the hardware tree it can be used , you can also use it in macros.

 Image Modified

Info
titleNote
Reactions of custom objects are automatically converted into events. Thus, in the considered example, when the you execute the ON reaction is executed, the object switches to the corresponding state changes due to the set state transition transfer rules (see ddi file preparation), and the icon corresponding to the state will be is displayed on the map.

...

Example of the program in JScript to change the state of

...

the custom object

ProblemTask. Using macro 1, change the state of a the custom object with identifier 1 to ON and display the icon corresponding to this state on the map.

Solution. As state transition in the considered example of the custom object, the state transfer rules are set, so when you send the ON event is sent from the custom object, the its state will be is automatically changed to ON, and the icon specified in the ddi file (see ddi file preparation) to for this state will be is displayed on the map. A
The script for sending the ON event looks like this:

...