Changes for page 5. Diagrams Development Manual
Last modified by Iaroslav Platonov on 2026/06/08 10:32
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -974,6 +974,48 @@ 974 974 975 975 == 4.22. Conversion of diagrams from version 2 of the editor to version 3 == 976 976 977 -For compatibility of the version 3 of the editor with the version 2, diagrams should be converted. To do this, type Alt+Shift+D on the keyboard. A version selection appears in the horizontal menu to the right of the **Open in viewer** button [[image:Screenshot 2025-12-04 at 14.24.51.png||height="24" width="29"]] 977 +For compatibility of the version 3 of the editor with the version 2, diagrams should be converted. To do this, type Alt+Shift+D on the keyboard. A version selection appears in the horizontal menu to the right of the **Open in viewer** button [[image:Screenshot 2025-12-04 at 14.24.51.png||height="24" width="29"]]. From the drop-down list, click version 3. After clicking, a message pops up in the upper-right corner, which warns about switching to the editor version 3 after clicking **Unsaved changes. Click here to save** see Fig. 4.69. 978 978 979 +[[image:Screenshot 2025-12-04 at 14.25.20.png]] 980 + 981 +Figure 4.69. Warning about switching to the editor version 3 982 + 983 +After saving, the system switches to the version 3 editor, and the page URL changes to /CENTO/web/ui/diagram_editor/. Next, press the Alt+Shift+D keyboard combination to hide the version selection menu. After converting, select the entire diagram and click on any of the selected objects. In the context menu, click on** Convert styles** and on one of the items **Convert active elements with stroke** or **Convert active elements without stroke,** depending on the features of the rendered objects. The selection of the item can be verified using the diagram viewer. Without closing a converted diagram, click **Unsaved change. Click here to save,** and then open the same diagram on another page in the viewer, all elements should look the same as on the original diagram in the editor version 2, if this is not the case, then on the page with the diagram where the conversion was performed, undo the last actions and select another item and check again in the viewer. 984 + 985 +If the diagram is closed with the wrong conversion option, it cannot be reverted. Restoring requires a copy of the diagram from the editor version 2. 986 + 987 +== 4.23. Display of the IM object name and the tag measurement units == 988 + 989 +[[image:Screenshot 2025-12-04 at 14.26.29.png]] 990 + 991 +Figure 4.70. Options for displaying tag data 992 + 993 +Diagrams allow displaying not only the tag value but also its value along with the units of measurement, the units of measurement without the tag value, the name of the IM object, and the IM object code. 994 + 995 +To configure this, in the **Component visual settings** window, by clicking on the upper horizontal menu [[image:Screenshot 2025-12-04 at 14.26.56.png||height="26" width="27"]], actions are selected on the** Text** tab, specifically **IM measurement** (see Fig. 4.71) or **IM object** (see Fig. 4.72). 996 + 997 +[[image:Screenshot 2025-12-04 at 14.27.28.png]] 998 + 999 +Figure 4.71. IM measurement 1000 + 1001 +[[image:Screenshot 2025-12-04 at 14.27.52.png]] 1002 + 1003 +Figure 4.72. IM object 1004 + 1005 +To display tag values, tag values with units of measurement, or units of measurement only, select **IM Measurement** in **Actions** and choose the IM class attribute from the drop-down list [[image:Screenshot 2025-12-04 at 14.28.24.png||height="25" width="26"]]. 1006 + 1007 +Examples of such value displays are shown in Fig. 4.70, numbers 1, 2, and 3. 1008 + 1009 +To display the name of the IM object and its code, select **IM Object** in **Actions** and choose the appropriate menu from the drop-down list. Examples of such value displays are shown in Fig. 4.70 under numbers 4, 5, and 6. 1010 + 1011 +To display the name of the object trimmings unnecessary characters, use the formula in **Actions:** 1012 + 1013 +[[image:Screenshot 2025-12-04 at 14.30.16.png]] 1014 + 1015 +Figure 4.73. IM object name with split characters 1016 + 1017 +Fig. 4.73 shows an example of configuring the display of the IM object name with split characters using the formula split(val, " ", 1), where the value is split by the delimiter space, thus removing the first word from the phrase. An example of this display is shown in Fig. 4.70 under number 5. This formula can also be used to display part of the IM object code. 1018 + 1019 +Since the rules reference the attributes of the IM (industrial object), in all the examples above, create an active object by right-clicking (1) and bind it in the IM tree 1020 + 979 979
- Screenshot 2025-12-04 at 14.28.24.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 KB - Content
- Screenshot 2025-12-04 at 14.30.16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +68.5 KB - Content
- Screenshot 2025-12-04 at 14.30.57.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lana - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.1 KB - Content