Changes for page 7. Events Setup
Last modified by Iaroslav Platonov on 2026/06/09 11:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -266,13 +266,13 @@ 266 266 267 267 Let us consider an example of this solution. 268 268 269 -A) Create an event with the selected object of the information model in the **Object** field (see Fig. 2.15).[[image:Screenshot 2025-12-10 at 22.01.01.png ||height="914" width="1408"]]269 +A) Create an event with the selected object of the information model in the **Object** field (see Fig. 2.15).[[image:Screenshot 2025-12-10 at 22.01.01.png]] 270 270 271 271 Fig. 2.15 - Creating an event with the information model object. 272 272 273 273 B) Create an active object on the diagram bound to the object of the information model, which was selected in the event settings (see Fig. 2.16). 274 274 275 -[[image:Screenshot 2025-12-10 at 22.02.05.png ||height="538" width="724"]]275 +[[image:Screenshot 2025-12-10 at 22.02.05.png]] 276 276 277 277 Fig. 2.16 - Creating a diagram object bound to the information model. 278 278 ... ... @@ -311,7 +311,7 @@ 311 311 312 312 The notifications creation is shown in Fig. 3.2. 313 313 314 -[[image:Screenshot 2025-12-10 at 22.07.01.png ||height="517" width="1422"]]314 +[[image:Screenshot 2025-12-10 at 22.07.01.png]] 315 315 316 316 Fig. 3.2 - Notifications: creation page 317 317 ... ... @@ -444,7 +444,7 @@ 444 444 445 445 Example No.1: Setting up an event on tag value change. 446 446 447 -[[image:Screenshot 2025-12-10 at 22.17.31.png ||height="683" width="1366"]]447 +[[image:Screenshot 2025-12-10 at 22.17.31.png]] 448 448 449 449 Fig. 5.1 - Event setting on tag value change 450 450 ... ... @@ -457,7 +457,7 @@ 457 457 1. The event //Lost connection with the device Mikrotik SW1.2 switch //enters the event log under the condition described in the formula //(devstatus100== 3) AND (devprevstatus100 !=3)//, which indicates that the status of the device with ID100 came equal to 3 and the previous status does not equal 3. This event will be configured with dead time 3000 (delay on event generation will be equal to 3000 ms) as an alarm event with acknowledgment and with sound playing until the user acknowledges this notification. 458 458 1. The event //Restored connection with device Mikrotik SW1.2 switch //is logged in the event log under the condition described in the formula //(devstatus100== 1) AND (devprevstatus100 !=1)//, which indicates that the status of the device with ID100 came equal to 1 and the previous status is not equal to 1. This event will be configured as informative without acknowledgment and with a sound that will be played 3 times and then turned off. 459 459 460 -[[image:Screenshot 2025-12-10 at 22.19.25.png ||height="650" width="1372"]]460 +[[image:Screenshot 2025-12-10 at 22.19.25.png]] 461 461 462 462 Fig. 5.2 - Setting up the event on device status change 463 463 ... ... @@ -535,17 +535,17 @@ 535 535 536 536 Table A.2 - Operators in formulas 537 537 538 -| (% style="width:130px" %)Operator|(% style="width:639px" %)Description|(% style="width:293px" %)Utilization|(% style="width:282px" %)Result539 -| (% style="width:130px" %)+|(% style="width:639px" %)Adds up numbers or tag values|(% style="width:293px" %)5 + 5|(% style="width:282px" %)10540 -| (% style="width:130px" %)-|(% style="width:639px" %)Subtracts the first number or tag value from the second number or tag value|(% style="width:293px" %)5 - 3|(% style="width:282px" %)2541 -| (% style="width:130px" %)*|(% style="width:639px" %)Multiplies numbers or tag values|(% style="width:293px" %)0.01 * [val]|(% style="width:282px" %)0.01 * [val]542 -| (% style="width:130px" %)/|(% style="width:639px" %)Divides the first number or tag value by the second number or tag value|(% style="width:293px" %)[val] / 1000|(% style="width:282px" %)[val] / 1000543 -| (%style="width:130px" %)%|(% style="width:639px" %)Returns the remainder of the division|(% style="width:293px" %)10 / 3|(% style="width:282px" %)1544 -|= (%style="width: 130px;" %)|(% style="width:639px" %)Assigns a specific value to a tag|(% style="width:293px" %)[ti123] = 5|(% style="width:282px" %)5545 -|= (% style="width: 130px;" %)=|(% style="width:639px" %)Returns true if the compared values are equal, and false if they are not equal|(% style="width:293px"%)2== 2|(% style="width:282px" %)true546 -| (% style="width:130px" %)<, >, <=, >=|(% style="width:639px" %)Returns true if the arithmetic condition is met and false if it is not met|(% style="width:293px"%)2>= 3|(% style="width:282px" %)false547 -| (% style="width:130px" %)&&, &, &, &|(% style="width:639px" %)Logical operator "and"|(%style="width:293px" %)|(%style="width:282px" %)548 -| (% style="width:130px" %)~~|~|, OR, or|(% style="width:639px" %)Logical operator "or"|(%style="width:293px" %)|(%style="width:282px" %)538 +|Operator|Description|Utilization|Result 539 +|+|Adds up numbers or tag values|5 + 5|10 540 +|-|Subtracts the first number or tag value from the second number or tag value|5 - 3|2 541 +|*|Multiplies numbers or tag values|0.01 * [val]|0.01 * [val] 542 +|/|Divides the first number or tag value by the second number or tag value|[val] / 1000|[val] / 1000 543 +|%|Returns the remainder of the division|10 / 3|1 544 +|= |Assigns a specific value to a tag|[ti123] = 5|5 545 +|==|Returns true if the compared values are equal, and false if they are not equal|2 == 2|true 546 +|<, >, <=, >=|Returns true if the arithmetic condition is met and false if it is not met|2 >= 3|false 547 +|&&, &, &, &|Logical operator "and"| | 548 +|~|~|, OR, or|Logical operator "or"| | 549 549 550 550 551 551