If you use a library representation, new text boxes appear in the middle of the Win- dow Editor (Figure 52). Select the representation type you want to use. Define the ba- sic features of the library representations. You can also edit other features in the Rep- resentation Library Editor, where the library representations are added. This proce- dure is described with more details after the procedure of defining the normal fea- tures.
The most important advantage of using library representations is that they can be used in any picture in the system. Handling library representations is almost as fast as han- dling internal representations.
Figure 52. Select the representation type for a library representation
1 Choose the Representation type you want to use.
2 In the Library drop-down list box choose the logical name of the library you want to use.
3 In the Representation drop-down list box are shown the representations of the chosen representation type in that particular library. Choose the one you want to use.
4 Define a window as described in this section. In the Window Editor you can see the definitions related to the chosen representation. The definitons that can be changed or added are written in black.
Bar
If you select a bar representation, define the size of the diagram in the General page using two attributes, the number of bars and spaces.
1 Enter the number of bars you want to have in the window. Type the number or change it with spinners.
2 Enter the number of spaces, which is the distance between the right side of the first bar and the left side of the second bar.
3 Select the Limit tab to define the limit values. Begin to define the colors from the bottom row. Click the first box at the beginning of the bottom row.
The Color Chooser appears. Choose one of the eight colors in the semigraphic color group in the text Color Selector drop-down list box. The selected color is shown in the upper left corner of the dialog box. Click OK. The chosen color appears in the color box.
The bottom row defines the color of the bar at the start point. The next row defines the look of the bar when its value exceeds the first limit. After selecting a color, you can choose to change the color of the whole bar or to make the diagram blink. Note that you cannot make the bar to blink in other monitors than microworkstation.
To change the color of the whole bar when the limit value is exceeded, click the next check box. Otherwise the bar is filled with different colors, changing the color in the limit point. To make the diagram blink, click the third box in the row.
The Limit Expression is a statement written with SCIL, which determines the limit. For more information on SCIL, please refer to the Programming Language SCIL manual. Note that the limit must be given as a numerical data type, for example, inte- ger, real or vector with numerical elements. If the limit is a vector, each element in the window expression is compared to the corresponding element in the limit. You cannot leave empty limit rows.
Enter the second limit in the third row and continue like this. To add a row later, se- lect its position by clicking the limit row below the place you want to add the new row. Click Insert. To remove a row, select it and then click Delete. After you have entered all the limits, click OK.
Curve
If you select a curve representation, define the size of the diagram in the General page using two attributes, number of points and width factor.
1 Enter the number of points you want to have in the window. The points is the maximum number of points to be displayed in the curve.
2 Enter the width factor, which is used to multiply the original width in the library to obtain the width to be used in the window.
3 Select the Limits tab to define the limit values. Begin to define the colors in the last row. For more information on this procedure see the previous section (page 58). Note that you cannot print curves automatically, or you cannot make the curve to blink in other monitors than microworkstation. Accept the choices by clicking OK.
Field
Select a field representations. For more information on field definitions, see section Field on page 49. There are no definitions for a field that can be changed. Accept your choices by clicking OK.
Multifield
1 If you select a multifield representation you must define several attributes. Select the General tab to define the direction. In the Direction drop-down list box there
SYS 500
4 WindowsPicture Editing
Configuration Manual
1MRS751255-MEN ABB Automation 60are two alternative options for direction, horizontal and vertical. Choose the direc- tion you want to use. See Figure 53.
Figure 53. The direction of a multifield can be edited
2 Select the Size tab and type the number of fields in the Field text box. See Figure 54.
3 In the Spaces text box type the number of spaces between the fields.
4 There are no color definitions that can be changed. Status Codes and Programma- ble Exceptions are defined as for internal Multifield. For more information on this, see section Multifield, on page 51. Accept your choices by clicking OK.
Selector
Choose a Selector. For more information on selector definitions, see section Selector on page 54. There are no definitions for a selector that can be changed. Accept the choices by clicking OK.
Figure
1 To use figure representation, select Figure from the Select Representation Type drop-down list box. Then choose the library you want to use from the Library drop-down list box.
2 The figure representations that are located in the given library are listed in the Representation text box. Choose the figure you want to use. The chosen figure is shown. See Figure 55. Accept it by clicking OK.
Figure 55. For a figure choose the name and logical path of the library you want to use. Then select the figure you want to use.
Defining Other Features of Library Representations
To edit features other than the ones that can be edited in the Window Editor, use the Representation Library Editor. To edit:
1 Open the Representation Library Editor by clicking its icon in the Picture Editing page of MicroSCADA Tool Manager.
2 Choose the logical name of the representation library you want to use from the Logical Library drop-down list box.
SYS 500
4 WindowsPicture Editing
Configuration Manual
1MRS751255-MEN ABB Automation 623 Choose the representation library file you want to use from the Representation Library File drop-down list box.
Figure 56. The Library Representation is defined in the Representation Library Editor
4 The representation types that exist in the defined file are listed in the Representa- tion Type drop-down list box. Choose the type of the representation you want to define.
5 The names of the representations that are of the given type in the file are shown in the large white box. Select the representation you want to edit. See Figure 56. 6 To change the representation, click Edit. To add a new representation, click Add.
Now the features you can edit are shown on screen. See Figure 57. Edit the fea- tures and save the representation.
To create a new representation that has some same features as the old one, click Copy. In the dialog box that appears type the name of the new representation.
Figure 57. The Representation Editor appears when you click Add in the Represen- tation Library Editor
Copying Library Representations
In the Representation Library Manager you can copy or move representations from one library file to another. To open it, click Repr Mgr in the Miscellaneous page of the Tool Manager. The Representation Library Manager contains two columns, where the library files and a representation are chosen. The files where you copy from and to can be in both columns.
To copy a representation:
1 Choose a Logical Representation Library in the upper drop-down list box in the left column. The libraries that exist are shown in it.
2 Choose a Representation Library File in the second drop-down list box. The ex- isting files in the chosen library are shown in it.
3 Choose a Representation Type in the third drop-down list box. The existing types in the chosen file are shown in it.
4 Repeat the steps 1 - 3 in the right column.
5 Select the representation you want to copy. The represenation can be either in the left or right column.
6 Click the arrow that points to the column where the file to which you want to copy the representation is chosen.
7 In the Representation Transfer dialog box that appears click Copy. The copied rep- resentation is shown in the file to which the arrow points.
Moving Library Representations
The Representation Library Manager contains two columns, where the library files and a representation are chosen. The files where you move from and to can be in both
SYS 500
4 WindowsPicture Editing
Configuration Manual
1MRS751255-MEN ABB Automation 64columns. To open it, click Repr Mgr in the Miscellaneous page of the Tool Man- ager.
To move a representation:
1 Choose a Logical Representation Library in the upper drop-down list box in the left column. The libraries that exist are shown in it.
2 Choose a Representation Library File in the second drop-down list box. The ex- isting files in the chosen library are shown in it.
3 Choose a Representation Type in the third drop-down list box. The existing types in the chosen file are shown in it.
4 Repeat the steps 1 - 3 in the right column.
5 Select the representation you want to move. The representation can be either in the left or right column.
6 Click the arrow that points to the column where the file to which you want to move the representation is chosen.
7 In the Representation Transfer dialog box that appears click Move. The moved representation is shown in the file to which the arrow points.