Last modified by Iaroslav Platonov on 2026/06/08 10:32

From version 204.1
edited by Lana
on 2025/12/04 17:56
Change comment: There is no comment for this version
To version 202.1
edited by Lana
on 2025/12/04 17:55
Change comment: Uploaded new attachment "Screenshot 2025-12-04 at 14.55.22.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -714,7 +714,7 @@
714 714  
715 715  Figure 4.49. Displaying a number in exponential form
716 716  
717 -== 4.17. Displaying delimited values ==
717 +== 4.17. Dis​​​​​​​playing delimited values ==
718 718  
719 719  In the settings [[image:Screenshot 2025-12-04 at 13.50.03.png]] , in diagram view mode, instant tag values can be displayed as delimited values. This setting is enabled by default (see Fig. 4.50).
720 720  
... ... @@ -763,7 +763,7 @@
763 763  * **Width **is the column width.
764 764  * **Change time **is a system field used to display the time of the metering channel's value change.
765 765  
766 -Rows in this table can be moved [[image:Screenshot 2025-12-04 at 14.08.30.png]], deleted [[image:Screenshot 2025-12-04 at 14.09.56.png||height="32" width="33"]], and added [[image:Screenshot 2025-12-04 at 14.10.25.png||height="31" width="89"]].
766 +Rows in this table can be moved [[image:Screenshot 2025-12-04 at 14.08.30.png]], deleted [[image:Screenshot 2025-12-04 at 14.09.56.png||height="32" width="33"]], and added [[image:Screenshot 2025-12-04 at 14.10.25.png||height="31" width="89"]].​​​​​​​
767 767  
768 768  [[image:Screenshot 2025-12-04 at 14.10.47.png]]
769 769  
... ... @@ -1052,167 +1052,6 @@
1052 1052  
1053 1053  Figure 5.1. Binding to the text
1054 1054  
1055 -To quickly bind to a tag, the **Component visual settings** window can be skipped by using the **Bind an element to a tag or channel** tree [[image:Screenshot 2025-12-04 at 14.41.48.png||height="25" width="25"]]. This automatically fills the tag, see Fig. 5.1.
1055 +To quickly bind to a tag, the **Component visual settings** window can be skipped by using the **Bind an element to a tag or channel** tree [[image:Screenshot 2025-12-04 at 14.41.48.png]]​​​​​​​. This automatically fills the tag, see Fig. 5.1.
1056 1056  
1057 -[[image:Screenshot 2025-12-04 at 14.42.21.png]]
1058 -
1059 -Figure 5.2. Choose the parameter drop-down list
1060 -
1061 -[[image:Screenshot 2025-12-04 at 14.42.51.png]]
1062 -
1063 -Figure 5.3. Formatting the text in the rules
1064 -
1065 -[[image:Screenshot 2025-12-04 at 14.43.17.png]]
1066 -
1067 -Figure 5.4. Tag value in the view mode
1068 -
1069 -The tag settings include a field not only for the ID number but also for specifying a code that can be used when binding to the diagram. To do this, in Fig. 5.1, field No. 3, enter the tag code instead of its ID.
1070 -
1071 -In the viewing mode in Fig. 5.4 there is no difference in the display in this case.
1072 -
1073 -**Example No. 2**
1074 -
1075 -An example of binding a real parameter taken from a database, which outputs information on a diagram in the form of a dynamic element that changes color depending on the incoming value and the status of the parameter.
1076 -
1077 -CENTO receives various tag statuses:
1078 -
1079 -[[image:Screenshot 2025-12-04 at 14.44.04.png||height="421" width="343"]]
1080 -
1081 -Figure 5.5. Tag statuses
1082 -
1083 -For example, two statuses can be used: when the telemeasurment TI value is received in real time (i.e., 1 – Normal), and when the telemeasurment TI value is entered manually by the user (i.e., 4 – Manual input).
1084 -
1085 -Real parameter data for binding:
1086 -
1087 -|**ID number**|**Parameter name**|**Values**|**Decryption**
1088 -|10154|Emergency alarm (EA)|0/1|(((
1089 -normal/
1090 -
1091 -trigerring
1092 -)))
1093 -
1094 -Create a rectangle (with or without fill) and write the text //AC// inside the stroke.
1095 -
1096 -This element changes the background color depending on the incoming value and the status of the parameter, if the condition TI=0 is met, then the color is green, if the condition TI=1 is met, then the color is red, if there is no data, then the color is white (see Fig. 5.6).
1097 -
1098 -[[image:Screenshot 2025-12-04 at 14.45.25.png]]
1099 -
1100 -Figure 5.6. Color changing in a dynamic element
1101 -
1102 -To do this, select the created rectangle with left-clicking and open the bindings window [[image:Screenshot 2025-12-04 at 14.45.55.png||height="25" width="28"]]
1103 -
1104 -Create the following rules:
1105 -
1106 -Rule No. 1 (fill in green with the value of TI = 0):
1107 -
1108 -If the TI value is 0 (normal), then the background is green (see Fig. 5.7).
1109 -
1110 -Rule No. 2 (fill in red with the value of TI = 1):
1111 -
1112 -If the TI value is 1 (signal available, then the background is red (see Fig. 5.8).
1113 -
1114 -Rule No. 3 (fill in white when the T is not equal to 0 and not equal to 1):
1115 -
1116 -If the TI value is not equal to 0 and at the same time the TI value is not equal to 1, then the background is white (see Fig. 5.9).
1117 -
1118 -Rule No. 4 (fill in white if the status is not normal and not with manual input):
1119 -
1120 -If the TI status is not equal to 1 (normal) and at the same time the TI status is not equal to 4 (not manual input), then the background is white (see Fig. 5.10).
1121 -
1122 -[[image:Screenshot 2025-12-04 at 14.46.37.png]]
1123 -
1124 -Figure 5.7. Rule No. 1
1125 -
1126 -[[image:Screenshot 2025-12-04 at 14.46.57.png]]
1127 -
1128 -Figure 5.8. Rule No. 2
1129 -
1130 -[[image:Screenshot 2025-12-04 at 14.47.27.png]]
1131 -
1132 -Figure 5.9. Rule No. 3
1133 -
1134 -[[image:Screenshot 2025-12-04 at 14.47.57.png]]
1135 -
1136 -Figure 5.10. Rule No. 4
1137 -
1138 -== 5.2. Binding devices to the diagram ==
1139 -
1140 -There are several device status values:
1141 -
1142 -0 – Disabled,
1143 -
1144 -1 – Normal,
1145 -
1146 -2 – Device has data errors,
1147 -
1148 -3 – Device is unavailable,
1149 -
1150 -4 – Data with manual input available,
1151 -
1152 -7 – Waiting for data,
1153 -
1154 -9 – Status is missing.
1155 -
1156 - The device is bound to the diagram by selecting **Device status** from the menu item. The content of the rules is similar to the example described above with changing the color of an object (in the** Condition** field, select the desired type of parameter, specify the device address, specify the operator and enter a numeric value equal to one or another status, and then specify the **Action **to be applied to the condition being fulfilled, for example, see Fig. 5.11).
1157 -
1158 -[[image:Screenshot 2025-12-04 at 14.49.03.png]]
1159 -
1160 -Figure 5.11. Binding to the device status
1161 -
1162 -Additionally, when using a template with a set of rules, device binding can be performed through the device tree by clicking on [[image:Screenshot 2025-12-04 at 14.49.33.png||height="24" width="25"]]. This automatically fills in the device ID fields shown in Fig. 5.11 streamlining the debugging process without opening the rules window.
1163 -
1164 -== 5.3. Binding parameters to information model objects ==
1165 -
1166 -To create an information model, see the "Information model setup manual".
1167 -
1168 -For example, create a square element (to serve as a switch) and describe the rules for it. In this example, the square changes the background color depending on the incoming parameter of the information model object, which refers to the value from the CENTO database.
1169 -
1170 -The sequence of bindings to the parameters of an information model object is like the actions for binding to tags: instead of **Tag value** and **Tag status,** select the** IM attribute** and **IM parameter status**, see Fig. 5.12.
1171 -
1172 -[[image:Screenshot 2025-12-04 at 14.50.40.png]]
1173 -
1174 -Figure 5.12. Binding to the parameter of the information model object
1175 -
1176 -In this example, the address of the parameter is the information model class, and its attribute is selected when opening the drop-down list [[image:Screenshot 2025-12-04 at 14.51.19.png||height="35" width="28"]], see Fig. 5.13.
1177 -
1178 -[[image:Screenshot 2025-12-04 at 14.51.50.png]]
1179 -
1180 -Figure 5.13. Window with IM classes and their attributes
1181 -
1182 -After assembling the shape with the necessary rules for dynamic display, select the entire group and click the left mouse button. In the drop-down window, select **Create active element**, see Fig. 5.14. This function also applies to individual graphic drawings. To bind to the information model, open the appropriate bindings menu [[image:Screenshot 2025-12-04 at 14.52.28.png||height="31" width="31"]].
1183 -
1184 -[[image:Screenshot 2025-12-04 at 14.52.56.png]]
1185 -
1186 -Figure 5.14. Creating an active element
1187 -
1188 -After creating the active element, the settings shown in Fig. 5.15 become the default. To set properties, right-click on the active element and select **Edit data of element** from the menu.
1189 -
1190 -[[image:Screenshot 2025-12-04 at 14.53.33.png]]
1191 -
1192 -Figure 5.15. Edit the data of elements
1193 -
1194 -After setting up the properties, select the shape and click the button [[image:Screenshot 2025-12-04 at 14.54.04.png||height="27" width="26"]]. Find the necessary element in the tree and select it (see Fig. 5.16).
1195 -
1196 -[[image:Screenshot 2025-12-04 at 14.54.49.png]]
1197 -
1198 -Figure 5.16. Information model element binding
1199 -
1200 -In this way, it is bound to the elements of the information model. When switching from the editor to the diagram viewing mode and right-clicking on the created shape, the **Measurements** context menu appears, showing the complete set of parameters described in the information model, as shown in Fig. 3.3.
1201 -
1202 -Right-clicking displays a table of parameters, which includes all the parameters from measurements, with the option to configure short tag names and decode values, as shown in Fig. 5.17.
1203 -
1204 -[[image:Screenshot 2025-12-04 at 14.55.22.png]]
1205 -
1206 -Figure 5.17. Table of the IM element parameters
1207 -
1208 -This object also has the option to display posters, with their arrangement appearing as shown in Fig. 5.18.
1209 -
1210 -[[image:Screenshot 2025-12-04 at 14.55.48.png]]
1211 -
1212 -Figure 5.18. Installation of customized posters
1213 -
1214 -= ABBREVIATIONS =
1215 -
1216 -DB – the database
1217 -
1218 -IM – information model.
1057 +
Screenshot 2025-12-04 at 14.55.48.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lana
Size
... ... @@ -1,1 +1,0 @@
1 -69.7 KB
Content