Changes for page 2. Setup Manual
Last modified by Iaroslav Platonov on 2026/06/08 09:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 19 added, 0 removed)
- 1762754384286-528.png
- 1762754384287-151.png
- 1762754384287-190.png
- 1762754384287-268.png
- 1762754384287-453.png
- 1762755230293-190.png
- 1762755556265-323.png
- Screenshot 2025-11-09 at 21.54.20.png
- Screenshot 2025-11-09 at 21.58.58.png
- Screenshot 2025-11-09 at 22.02.21.png
- Screenshot 2025-11-09 at 22.03.16.png
- Screenshot 2025-11-09 at 22.04.17.png
- Screenshot 2025-11-09 at 22.05.26.png
- Screenshot 2025-11-09 at 22.06.17.png
- Screenshot 2025-11-09 at 22.07.47.png
- Screenshot 2025-11-09 at 22.13.04.png
- Screenshot 2025-11-09 at 22.15.02.png
- Screenshot 2025-11-09 at 22.16.25.png
- Screenshot 2025-11-09 at 22.17.36.png
Details
- Page properties
-
- Content
-
... ... @@ -295,7 +295,7 @@ 295 295 296 296 The rules and specifics for setting up tags for different protocols and devices are described in separate configuration guides. 297 297 298 -==== 2.3.2. Add a calculation tag ====298 +==== 2.3.2. Add a calculation tag ==== 299 299 300 300 If you select the "No log" item in the "Tag Polling Description" window (see Fig. 2.11) in the "Log" field, a calculated tag will be created, the value of which can be formed based on the transformation of other tags. 301 301 ... ... @@ -307,4 +307,284 @@ 307 307 308 308 Adding calculation tags to CENTO, as well as other configuration elements, is possible through the above-described web interface and using Excel files. Loading the CENTO configuration via Excel files is described in Section 3 of this guide. 309 309 310 +==== 2.3.3. Setting up calculation formulas ==== 311 + 312 +For calculated tags (see section 2.3.2), different processing formulas are used. If you use the same type of formulas for a number of tags, you should make a description of these formulas so that you can use them to process any required tag. 313 + 314 +You can add new formulas and adjust existing formulas on the Tag Polling Description page (Settings – Devices, Tags, Channels, Tags, Channels tab). 315 + 316 +[[image:Screenshot 2025-11-09 at 21.51.34.png||height="251" width="253"]] 317 + 318 +Fig. 2.12 – Editing Formula Templates 319 + 320 +To adjust the existing formula, you should: 321 + 322 +* click on the "Template" field to open the list of available formula templates and use the mouse wheel to find the desired formula (see Fig. 2.12) 323 +* hover over it until the "edit" and "delete" symbols appear [[image:1762753922390-602.png||height="21" width="168"]] 324 +* if the template needs to be deleted, click on the "Delete" icon 325 +* if the template needs to be corrected, click on the "Edit" icon 326 +* The Edit Formula window opens (see Figure 2.13), where you can change the name of the formula in the Name field, and you can change the formula itself in the Formula field. There is also a hint with examples in the window 327 +* To save the changes, click the button [[image:1762753922390-303.png||height="21" width="55"]] 328 + 329 +[[image:Screenshot 2025-11-09 at 21.53.06.png||height="607" width="397"]] 330 + 331 +Fig. 2.13– Edit Formulas Page 332 + 333 +To add a new formula, on the Tag Polling Description page, click the button [[image:1762754032495-106.png||height="25" width="27"]] 334 + 335 +[[image:Screenshot 2025-11-09 at 21.54.20.png||height="600" width="402"]] 336 + 337 +Fig. 2.14– Formula Creation Page 338 + 339 +On the "Formula Creation" page that opens (see Fig. 2.14), you need to enter the name of the new formula and the formula itself in the "Formula" field. 340 + 341 +In the expression of the formula, arithmetic operations, conditions, calls of mathematical and special functions, etc., are allowed. 342 + 343 +The functions used in the formulas are described in Table 2.2. 344 + 345 +Table 2.2 – Functions used in formulas. 346 + 347 +|Function|Description|Use|Result 348 +|Bit|Returns the value of a single specified bit|Bit(4,2)|1 349 +|Bits|Returns the value of multiple specified bits|Bits(12,2,2)|3 350 +|if|Returns a value based on whether or not a specified condition is met.|if(3-2 = 1, 'value is true', 'value is false')|'value is true' 351 +|(% rowspan="2" %)Pow|(% rowspan="2" %)Returns a value raised to the specified power.|Pow(3, 2)|9 352 +|Pow([dev-101-ea_imp],2)|((( 353 +Dev-101-ea_imp=6 354 + 355 +36 356 +))) 357 +|(% rowspan="2" %)Round|(% rowspan="2" %)Rounding a value to the nearest integer or a certain number of decimal places.|Round(3.222, 2)|3.22 358 +|Round([dev-101-ea_imp],1)|((( 359 +Dev-101-ea_imp=6.66 360 + 361 +6.6 362 +))) 363 +|agg|Aggregates all tag values per interval by function. The result publishes to the timestamp of the end of the interval|agg(mean, ti42, 3m) - average of tag 42 over 3 minutes|35 364 +|Abs|Returns the modulus //of a number//.|ABS(-1,234)|1,234 365 +|sign|Returns the sign of a //number// in the form 1~|0 ~|-1.|sign(-1,234)|-1 366 +|Sqrt|Returns the square root of a given number|Sqrt(4)|2 367 +|rndfloat|Returns a random real number from the range [0.0,1.0]|rndfloat()|0.123 368 +|rndintn|Returns a random integer from the range [0,n]|rndintn(5)|3 369 +|split|Splits a //row// by a given //separator// and returns a substring by //index//|split("02-01-2006 15:04",' ',1)|"15:04" 370 +|parsetime|Returns the number of seconds since the beginning of the Unix epoch according to //the format// from //the string//|parsetime('yyyy-mm-dd hh:mi:ss', "2017-05-26 15:58:30")|1495814310 371 +|Time|Returns the current time in the specified format|time('dd.MM.yyyy HH:mi:ss')|16.04.2020 01:41:07 372 +|Unixepochformat|Converts the date from //seconds// since the beginning of the Unix era to a given //format//|Unixepochformat(1495814310, 'yyyy-mm-dd hh:mi:ss')|2017-05-26 15:58:30 373 +|acos|Returns the arccosine of the //number//.|acos(0)|90 374 +|asin|Returns the arc sine of //the number//.|asin(1)|90 375 +|atan|Returns the arctangent of the //number//.|atan(1)|45 376 +|atan2|Returns the arctangent for the specified //x// and //y coordinates//.|atan2(1, 0)|90 377 +|cos|Calculates the cosine of a //number//.|COS(60)|0.5 378 +|pi|Returns the value of Pi.|pi()|3.141592653589793 379 +|sin|Calculates the sine of a //number//.|sin(30)|0.5 380 +|tan|Calculates the tangent of the //number//.|tan(45)|1 381 +|First_1h, First_1d, First_1mon|Returns the value of the tag increment at the beginning of the current hour, day, and month|First_1h(ti10101)|32.26 382 +|(% rowspan="4" %)ticker(<spacing>, <expression1>, <expression2(optional)>)|(% rowspan="4" %)((( 383 +Executes expression1 when the interval is triggered, or expression2 otherwise. Expression2 may be missing. In this case, the calculation will be made only at the moment of triggering the interval. 384 + 385 +The interval can be set as a number - periodicity in seconds, or as a string in quotation marks - cron rule. 386 + 387 +**If the formula contains prev, then you need to run the ticker using manual input and then reset it**. 388 +)))|ticker(3, if(ti2==1, prev5+3, prev5)) - ti2 set counter to 1, which is updated every 3 seconds|60 sec 389 +|ticker("0 0 8 * * *", 0, prev5+ti2-prev2) - accumulate tag changes with id 2 with a reset to 0 every day at 8 am|((( 390 +at 7:59 – ticker = 100 sec. 391 + 392 +at 8:00 – ticker = 0 sec. 393 +))) 394 +|((( 395 +ticker("0 0 0 * * *", ti2, prev1) - the accumulation of tag changes from id 2 at the beginning of the day. 396 + 397 +In this formula, you can specify //a specific time, as well as the day, month, and days of the week.// 398 +)))|((( 399 +If at 00:00:00 ti2=120 minutes, then the ticker during this day will be equal to 120 minutes. 400 + 310 310 402 +))) 403 +|((( 404 +ticker("0 0 0 1 * *", ti2, prev1) - accumulation of tag changes from id 2 at the beginning of the month. 405 + 406 + 407 +)))|((( 408 +If on the 1st day of the month at 00:00:00 ti2=200 minutes, then the ticker during this month will be 200 minutes. 409 + 410 + 411 +))) 412 + 413 +Permissible variable designations in formulas are given in Table 2.3. 414 + 415 +Table 2.3 – Designation of variables in formulas. 416 + 417 +|Variable|Description 418 +|[val]|Current value of the telemeter from BDRV 419 +|[x1], [x2], ...|The binding of these variables is determined when describing the calculated parameters in the "Parameters" column. 420 +|((( 421 +[tiN], 422 + 423 +where N is the serial number of the TI 424 +)))|The meaning of telemetering from the BDRV 425 +|((( 426 +[devstatusN], 427 + 428 +where N is the device number (ID) 429 +)))|Device status (0 – disabled in the configuration; 1 – normal; 2 – at least one TUE has abnormal quality (out of bounds or error in the formula); 3 – device polling error (device is not available); 4 – manual input is present in the tags or channels of the device, 9 – no status). 430 +|((( 431 +[devprevstatusN] or [prevdevstatusN] 432 + 433 +where N is the device number (ID) 434 +)))|Previous device status (0 – disabled in the configuration; 1 – normal; 2 – at least one TUE has abnormal quality (out of bounds or error in the formula); 3 – device polling error (device not available); 4 – manual input is present in the tags or channels of the device, 9 – no status). 435 +|((( 436 +[prevN], 437 + 438 +where N is the serial number of the TI 439 +)))|Previous Value of Telemeter from BDRV 440 + 441 +==== 2.3.4. Configuring calculation channels ==== 442 + 443 +CENTO has the ability to create calculated accounting channels. A calculated channel can be created either based on the values of other channels or on the basis of tag values. In order to create a calculation channel, you need to go to the link "Settings" - "Devices, tags, channels" - "Calculation channels" (see Fig. 2.15). 444 + 445 +[[image:Screenshot 2025-11-09 at 21.58.58.png]] 446 + 447 +Fig.2.15 – List of calculation channels 448 + 449 +On the "Billing channels" tab, when you select one or more devices, all billing channels for metering these devices are displayed in a tabular form. In this table, you can perform the following operations for each parameter separately: 450 + 451 +* Create a channel by pressing a button [[image:1762754384286-528.png||height="24" width="121"]] and [[image:1762754384287-151.png||height="26" width="114"]] in the upper right corner of the screen. 452 +* Go to the channel editing window by left-clicking on the tag name or tag ID. 453 +* View channel values and go to the graph page of the required parameter by clicking the left mouse button on the value. 454 +* enabling and disabling channel polling by switches in the "Status" column. 455 +* viewing the status of the settlement channel. 456 +* viewing the time of the last update of the tag (channel) poll – the date and time (in the format "yyyy-mm-dd hh:mm:ss") of the last successful receipt of the tag (channel) value (the tag or channel value itself may not have changed). 457 +* copying and deleting channels by pressing buttons [[image:1762754384287-453.png||height="21" width="21"]] and [[image:1762754384287-190.png||height="22" width="22"]] respectively 458 +* preliminary check of the formula [[image:1762754384287-268.png||height="27" width="26"]] 459 +* filter by category 460 +* filter by formula 461 +* filter by device. 462 + 463 +More detailed use of calculation channels is described in the "Guide to setting up accounting channels". 464 + 465 +== 3. CONFIGURING CENTO VIA EXCEL == 466 + 467 +The CENTO software provides the ability to configure the system via Excel files. The interface of this functionality is located on the Downloading/Uploading Configuration Files page (Menu item "Settings" – "Configuration Files"). (see Fig. 3.1). 468 + 469 +[[image:Screenshot 2025-11-09 at 22.02.21.png]] 470 + 471 +Fig. 3.1– Download/Upload Configuration Files Page 472 + 473 +With the help of Excel files, you can configure: 474 + 475 +1. Devices (also device tree and device types); 476 +1. Tags and channels; 477 +1. Events; 478 +1. Information model (classes, elements, reference books); 479 +1. Telecontrol Lock Conditions; 480 +1. Accounting Channels. 481 +1. Tabular data directories. 482 +1. Alarm event recorders. 483 + 484 +A .xlsx file with strictly defined tabs and columns is uploaded from this page with a single button. File correction is possible both through Excel and through other programs that work with the .xlsx table format, for example, LibreOffice. With another button, these files are uploaded to the server. After downloading, you need to apply the changes made by clicking the "Update configuration" button in the drop-down menu in the upper right corner of the page, as in Fig.3.2. 485 + 486 +[[image:Screenshot 2025-11-09 at 22.03.16.png||height="248" width="232"]] 487 + 488 +Fig. 3.2– Update Configuration Button 489 + 490 +In addition to the web interface, power facilities and device types can be edited through the "Devices" table. On the first tab "List of objects" there is a table as in Figure 3.3 491 + 492 +[[image:Screenshot 2025-11-09 at 22.04.17.png||height="194" width="384"]] 493 + 494 +Fig. 3.3 – Table "List of objects" 495 + 496 +The Object ID column contains unique numbers of the enterprise's power facilities. Their names are displayed in the "Object name" column. The "Parent Object ID" column determines where the power object will be located in the object tree, and if the cell is empty, then the object will lie at the root of the tree. Thus, the table shown in Figure 3.3 corresponds to the tree shown in Figure 3.4. 497 + 498 +[[image:Screenshot 2025-11-09 at 22.05.26.png||height="300" width="238"]] 499 + 500 +Fig. 3.4 – Tree of power facilities 501 + 502 +The "Sorting" field determines where objects belonging to the same "parent" will be located relative to each other. 503 + 504 +Adding new power facilities is carried out taking into account the ID of existing objects in the table. Object IDs must not be repeated. 505 + 506 +The Device Types tab displays the device types available on the server (see Figure 3.5). 507 + 508 +[[image:Screenshot 2025-11-09 at 22.06.17.png||height="286" width="268"]] 509 + 510 +Fig. 3.5 – Table "Device Types" 511 + 512 +The ID column of the device type displays the unique number of the device type, and the name column displays its name. To add new types, you must follow the numbering. 513 + 514 +Editing other tabs in the Devices table and the Tags and Channels file is described in the setup guides for specific protocols and device types. 515 + 516 +Setting up Events files is described in the Event System Configuration Guide. 517 + 518 +The "Information Model Classes", "Information Model Elements" and "Information Model References" files are configured according to the "Information Model Setup Guide". 519 + 520 +The rules for filling in the file "Telecontrol lock conditions" can be found in the "Remote Control Lock Settings Guide". 521 + 522 +Working with accounting channels is described in the "Guide to setting up accounting channels". 523 + 524 +The "Logger Settings" file is configured according to the "Alarm Event Recorder Configuration Guide". 525 + 526 +"Tabular data references" are used in the mode calculation module, so their settings are specified in the "Mode Calculation Module Setup and Operation Manual". 527 + 528 +== 4. EVENTS == 529 + 530 +"Events" in CENTO are designed to increase the observability of the system by tracking changes in the state of process equipment, recording changes in the event log and alerting users. 531 + 532 +Events help personnel to respond in a timely manner to changes in the technological process and system operation. 533 + 534 +* Event settings are located in the "Event Editor" menu item (see Fig. 4.1). Events that are configured on this page are included in the archive log of technological events, as well as in the operational log. For a more detailed description of the Event Editor page and how to configure technology events, see the Event System Setup Guide. 535 + 536 +[[image:Screenshot 2025-11-09 at 22.07.47.png||height="376" width="319"]] 537 + 538 +Fig. 4.1 – Event Menu 539 + 540 +* In the CENTO software, it is possible to notify users about the occurrence of events by e-mail in the "Notifications" menu item, the description and configuration of this functionality are described in the "Event System Configuration Guide". 541 +* In the "Sound Editor" menu, it is possible to upload files for sound notification of the occurrence of an event, the setting is also indicated in the "Event System Setup Guide". 542 + 543 +== 5. MNEMONICS == 544 + 545 +[[image:Screenshot 2025-11-09 at 22.13.04.png||height="403" width="658"]] 546 + 547 +Fig. 5.1 – Mnemonics 548 + 549 +All mnemonic diagrams are developed in the built-in editor, which is located in the menu item "Mnemonics Diagrams" ("Settings" - "Mimic Diagrams" (see Fig. 5.1)). Available for viewing by the User are located in the tree of active mnemonic diagrams by clicking on the main menu of the CENTO software under the item [[image:1762755230293-190.png||height="21" width="120"]] 550 + 551 +Mimic diagrams display data from the polled devices, their tags and channels, in various forms of display (graphs, tables, reference information, animations of graphic elements, etc.). 552 + 553 +More detailed use of mnemonic diagrams, their creation and configuration are described in the "Guide to the development of mnemonic diagrams". 554 + 555 +== 6. INFORMATION MODEL == 556 + 557 +An information model is a tool for describing the object of automation (physical objects, equipment, processes, etc.). The information model allows you to reflect the structure and consolidate information on each created object in the form of attributes (measurements, reference values, regulatory documentation, etc.). The information model is widely used in CENTO: to simplify the configuration of large systems, to implement various functions, to differentiate rights by objects. 558 + 559 +The IM can be configured in the web editor "Information Model Editor" (see Fig. 6.1). 560 + 561 +[[image:Screenshot 2025-11-09 at 22.15.02.png||height="397" width="1060"]] 562 + 563 +Fig. 6.1 – Information Model Editor Page 564 + 565 +With the help of this editor, directories, classes, and objects of the Information Model are created. 566 + 567 +For a detailed description of how to set up an information model, see the Information Model Setup Guide. 568 + 569 +== 7. SYSTEM SETTINGS == 570 + 571 +[[image:Screenshot 2025-11-09 at 22.16.25.png]] 572 + 573 +Fig.7.1 – Menu "System" 574 + 575 +The CENTO software administrator has access to settings from the "System" menu item, as shown in Figure 7.1. 576 + 577 +1. **Menu Editor** – allows you to configure the CENTO main menu (see the "Administration Guide. Menu Editing"). 578 +1. **User rights** - configure access to various sections and interfaces of CENTO (see "Guide to setting up access rights"). 579 +1. **System information** – contains information about active modules, the number of tags/channels used, as well as the services installed on the server. 580 +1. **Mail servers** are used to receive and send information through mail servers (event-based notifications, xml layouts). Fig.7.2 shows an example of configured outgoing and incoming mail servers. 581 + 582 +[[image:Screenshot 2025-11-09 at 22.17.36.png]] 583 + 584 +Fig.7.2 – Setting up mail servers 585 + 586 +To create a server, click [[image:1762755556265-323.png||height="22" width="78"]] in the upper right part of the interface. After that, a page for creating a mail server will open, see Fig.7.3. 587 + 588 + 589 + 590 +
- 1762754384286-528.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 KB - Content
- 1762754384287-151.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 KB - Content
- 1762754384287-190.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +739 bytes - Content
- 1762754384287-268.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +628 bytes - Content
- 1762754384287-453.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +712 bytes - Content
- 1762755230293-190.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.2 KB - Content
- 1762755556265-323.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.1 KB - Content
- Screenshot 2025-11-09 at 21.54.20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.0 KB - Content
- Screenshot 2025-11-09 at 21.58.58.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +179.2 KB - Content
- Screenshot 2025-11-09 at 22.02.21.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.1 KB - Content
- Screenshot 2025-11-09 at 22.03.16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +46.3 KB - Content
- Screenshot 2025-11-09 at 22.04.17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +235.1 KB - Content
- Screenshot 2025-11-09 at 22.05.26.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.9 KB - Content
- Screenshot 2025-11-09 at 22.06.17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.8 KB - Content
- Screenshot 2025-11-09 at 22.07.47.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.7 KB - Content
- Screenshot 2025-11-09 at 22.13.04.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.6 KB - Content
- Screenshot 2025-11-09 at 22.15.02.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +123.3 KB - Content
- Screenshot 2025-11-09 at 22.16.25.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.8 KB - Content
- Screenshot 2025-11-09 at 22.17.36.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.0 KB - Content