Changes for page 2. Setup Manual

Last modified by Iaroslav Platonov on 2026/06/08 09:28

From version 101.2
edited by Lana
on 2025/11/10 00:58
Change comment: There is no comment for this version
To version 72.2
edited by Lana
on 2025/11/09 23:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,7 @@
18 18  
19 19  To configure the structure, go to the "Devices, tags, channels" page (Settings – Devices, tags, channels) (see Fig. 2.2).
20 20  
21 -[[image:Screenshot 2025-11-09 at 20.07.38.png||height="150" width="1018"]]
21 +[[image:Screenshot 2025-11-09 at 20.07.38.png]]
22 22  
23 23  Fig. 2.2 – Devices, Tags, Channels Page
24 24  
... ... @@ -94,35 +94,35 @@
94 94  
95 95  [[image:Screenshot 2025-11-09 at 20.32.16.png||height="57" width="240"]]
96 96  
97 -Device name.
97 +Device name
98 98  
99 99  [[image:Screenshot 2025-11-09 at 20.23.37.png||height="57" width="232"]]
100 100  
101 -Select a template that corresponds to the selected device from the drop-down list or create a new one using the "+" button.
101 +Select a template that corresponds to the selected device from the drop-down list or create a new one using the "+" button;
102 102  
103 103  [[image:Screenshot 2025-11-09 at 20.26.11.png||height="58" width="235"]]
104 104  
105 -Identification number of the device in the system (by default, it is set automatically).
105 +Identification number of the device in the system (by default, it is set automatically);
106 106  
107 107  [[image:Screenshot 2025-11-09 at 20.27.03.png||height="59" width="240"]]
108 108  
109 -IP address of the device.
109 +IP address of the device;
110 110  
111 111  [[image:Screenshot 2025-11-09 at 20.28.08.png||height="58" width="240"]]
112 112  
113 -Serial number (for electricity meters).
113 +Serial number (for electricity meters);
114 114  
115 115  [[image:Screenshot 2025-11-09 at 20.29.00.png||height="57" width="241"]]
116 116  
117 -The object to which the device belongs.
117 +The object to which the device belongs;
118 118  
119 119  [[image:Screenshot 2025-11-09 at 20.30.58.png||height="74" width="242"]]
120 120  
121 -Stores a note on the device.
121 +Stores a note on the device;
122 122  
123 123  [[image:Screenshot 2025-11-09 at 20.31.47.png||height="57" width="243"]]
124 124  
125 -Binding the device to the object of the information model.
125 +Binding the device to the object of the information model;
126 126  
127 127  [[image:Screenshot 2025-11-09 at 20.33.17.png||height="29" width="129"]]
128 128  
... ... @@ -176,268 +176,6 @@
176 176  * enabling and disabling tag (channel) polling by radio buttons in the "Status" column;
177 177  * viewing the status of the tag (channel) and its polling;
178 178  * viewing the time of the last update of the tag (channel) survey – the date and time (in the format "yy-mm-dd hh:mm:ss") of the last successful receipt of the tag (channel) value (the value of the tag or channel itself may not have changed);
179 -* copying and deleting tags and channels by clicking buttons [[image:1762749562010-279.png||height="25" width="25"]] and [[image:1762749562011-728.png||height="24" width="24"]] respectively.
179 +* copying and deleting tags and channels by clicking buttons [[image:1762749562010-279.png]] and [[image:1762749562011-728.png]] respectively.
180 180  
181 -==== 2.3.1. Adding a protocol tag ====
182 -
183 -To create a separate tag, click on the "Create Tag" button. This will open the "Tag Polling Creation" page (see Figure 2.11).
184 -
185 -To display the protocol settings, you must first select the device (data source). After that, a set of protocols configured for the device will appear in the "Protocol" drop-down list (see p.2.2).
186 -
187 -[[image:Screenshot 2025-11-09 at 20.42.20.png]]
188 -
189 -Fig. 2.11 – Adding a protocol tag
190 -
191 -The "Tag Polling Creation" window consists of 4 blocks. The first block "General settings" contains the settings of the protocol that is configured in the device for which the tag is created. The second block contains the settings of the protocol through which the tag is passed (appears when the protocol is selected). The third block contains functions for processing the value of the tag. In the fourth block, the tag settings are configured, which determine the permissible limits of its change and the system's reaction to violation of these limits.
192 -
193 -----
194 -
195 -The "General settings" block contains the following fields:
196 -
197 -[[image:Screenshot 2025-11-09 at 20.43.37.png||height="51" width="258"]]
198 -
199 -Parameter name (set by the user).
200 -
201 -[[image:Screenshot 2025-11-09 at 20.44.12.png||height="51" width="257"]]
202 -
203 -Selection of the parameter category.
204 -
205 -[[image:Screenshot 2025-11-09 at 20.45.47.png||height="51" width="257"]]
206 -
207 -The alphabetic code of the tag, which can be used instead of ID (it is possible to enter numbers, Latin letters and the symbol _ ).
208 -
209 -[[image:Screenshot 2025-11-09 at 20.46.25.png||height="51" width="257"]]
210 -
211 -The identity address of the parameter. Default is set automatically, and can be changed.
212 -
213 -[[image:Screenshot 2025-11-09 at 20.47.06.png||height="49" width="125"]]
214 -
215 -Units of measurement of the parameter.
216 -
217 -[[image:Screenshot 2025-11-09 at 20.47.38.png||height="53" width="255"]]
218 -
219 -The device from which the parameter is read.
220 -
221 -[[image:Screenshot 2025-11-09 at 20.49.12.png||height="53" width="258"]]
222 -
223 -Protocol used (the list of protocols is formed from the configured protocols for the selected device).
224 -
225 -[[image:Screenshot 2025-11-09 at 20.49.50.png||height="58" width="98"]]
226 -
227 -Affects the appearance of charting on the "Live Data" analysis page, if the tag is analog, then the switch should be like in the picture.
228 -
229 -[[image:Screenshot 2025-11-09 at 20.50.20.png||height="70" width="254"]]
230 -
231 -Stores a note on the tag, does not affect the survey.
232 -
233 -[[image:Screenshot 2025-11-09 at 20.51.17.png||height="57" width="115"]]
234 -
235 -Appears for tags with a protocol, saves the history of changing values. When the "Save to database" function is disabled, tag data is not transferred to the backup server and is not transmitted via the S2S protocol.
236 -
237 -Depending on the selected device, the protocol specified when creating the device will be automatically selected in the "Protocol" field.
238 -
239 -The rules, description, and specifics of setting up tags in terms of protocols are described in separate setup manuals.
240 -
241 -----
242 -
243 -The "Processing" block contains the following fields:
244 -
245 -[[image:Screenshot 2025-11-09 at 21.34.56.png||height="60" width="289"]]
246 -
247 -The formula for mathematical processing of the parameter (according to a predetermined formula or the user's formula). Clicking on the "+" opens the window for creating a new formula, which then appears in the list of templates.
248 -
249 -[[image:Screenshot 2025-11-09 at 21.36.47.png||height="18" width="139"]]
250 -
251 -[[image:Screenshot 2025-11-09 at 21.37.18.png]]
252 -
253 -A field for entering a custom formula, not from the list of templates.
254 -
255 -[[image:Screenshot 2025-11-09 at 21.41.53.png||height="26" width="158"]]
256 -
257 -Button to open help with formulas.
258 -
259 -----
260 -
261 -The "Setpoints" block contains settings for the following limits:
262 -
263 -* upper physical limit
264 -* a lower physical limit
265 -* upper emergency limit
266 -* lower emergency limit
267 -* upper warning limit
268 -* Lower warning limit.
269 -
270 -----
271 -
272 -Each of the above limits has the following settings:
273 -
274 -[[image:Screenshot 2025-11-09 at 21.44.56.png||height="66" width="49"]]
275 -
276 -Enabling/disabling value control.
277 -
278 -[[image:Screenshot 2025-11-09 at 21.45.38.png||height="66" width="111"]]
279 -
280 -Limit value in units specified by the tag.
281 -
282 -[[image:Screenshot 2025-11-09 at 21.46.31.png||height="66" width="111"]]
283 -
284 -Exposure time in milliseconds before the setpoint is triggered.
285 -
286 -[[image:Screenshot 2025-11-09 at 21.47.13.png||height="66" width="111"]]
287 -
288 -Enabling/disabling the acknowledgment of the event that occurs when the setpoint is triggered.
289 -
290 -To save the tag settings, click the button [[image:1762753677285-432.png]]
291 -
292 -Then, to apply the changes, you need to click the "Update Configuration" button in the drop-down menu in the upper right corner of the page.
293 -
294 -Adding tags to CENTO is possible both 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.
295 -
296 -The rules and specifics for setting up tags for different protocols and devices are described in separate configuration guides.
297 -
298 -==== 2.3.2. Add a calculation tag ====
299 -
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 -
302 -The value of the calculated tag is determined by the formula entered in the "Value Processing Formula" field (see Fig. 2.11) or by the Custom Formula (see Fig. 2.12). Examples of formulas are given under the Value Processing Formula field. The available features are also listed in Table 2.1 of this manual.
303 -
304 -For calculation tags, setpoints can be configured in the same way as tags with protocols.
305 -
306 -After filling in the required fields, you should save the changes by clicking the button  [[image:1762753769568-573.png||height="23" width="60"]]. Then, to apply the changes, you need to click the "Update Configuration" button in the drop-down menu in the upper right corner of the page.
307 -
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 -
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 -
401 401  
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 channel
442 -
443 -
1762753677285-432.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 KB
Content
1762753769568-573.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -942 bytes
Content
1762753922390-303.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -942 bytes
Content
1762753922390-602.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -1.6 KB
Content
1762754032495-106.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -764 bytes
Content
Screenshot 2025-11-09 at 20.42.20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -107.0 KB
Content
Screenshot 2025-11-09 at 20.43.37.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -3.2 KB
Content
Screenshot 2025-11-09 at 20.44.12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -4.2 KB
Content
Screenshot 2025-11-09 at 20.45.47.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -3.7 KB
Content
Screenshot 2025-11-09 at 20.46.25.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -6.2 KB
Content
Screenshot 2025-11-09 at 20.47.06.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -3.6 KB
Content
Screenshot 2025-11-09 at 20.47.38.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -4.0 KB
Content
Screenshot 2025-11-09 at 20.49.12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -4.3 KB
Content
Screenshot 2025-11-09 at 20.49.50.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -8.9 KB
Content
Screenshot 2025-11-09 at 20.50.20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -5.5 KB
Content
Screenshot 2025-11-09 at 20.51.17.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -9.6 KB
Content
Screenshot 2025-11-09 at 21.34.56.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -5.9 KB
Content
Screenshot 2025-11-09 at 21.36.47.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -4.9 KB
Content
Screenshot 2025-11-09 at 21.37.18.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -1.4 KB
Content
Screenshot 2025-11-09 at 21.41.53.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -5.2 KB
Content
Screenshot 2025-11-09 at 21.44.56.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -3.8 KB
Content
Screenshot 2025-11-09 at 21.45.38.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -3.9 KB
Content
Screenshot 2025-11-09 at 21.46.31.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -4.7 KB
Content
Screenshot 2025-11-09 at 21.47.13.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -6.8 KB
Content
Screenshot 2025-11-09 at 21.51.34.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -33.7 KB
Content
Screenshot 2025-11-09 at 21.53.06.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -50.5 KB
Content
Screenshot 2025-11-09 at 21.54.20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -43.0 KB
Content