Go to documentation repository
Objects are added to psim.dbi as follows:
Add the objects to psim.dbi. For each object, you must supply its name (used for identification) in brackets and then declare its fields. Below is the field declaration syntax:
<Field name>, <Type> [, <Size>]
Note.
The Size may be set for fields of the CHAR type only.
The table below shows the fields mandatory for all objects in Axxon PSIM.
Field | Description |
id | Unique object ID |
name | Object name |
parent_id | Parent object ID |
flags | Parameter for internal system use |
Attention!
The following table describes the allowed data types.
Data type | Description |
BIT | Used for creating a flag field that takes a logical value, Yes or No. |
CHAR | Used for fields that contain short character sequences. |
DATETIME | Used for fields that contain dates and times. The date format is YYYY-MM-DD and the time format is HH:MM:SS.XXX. |
DOUBLE | Used for fields that contain floating-point numbers. |
INTEGER | Used for fields that contain integer numbers. |
TEXT | Used for fields that contain text strings. |
Beside the mandatory fields, the objects of the DEMO module contain the following fields:
As a result of the database structure update, tables are created in Axxon PSIM's configuration database.