NT21_Reference Manual (V069-E1-1) (986756), страница 26
Текст из файла (страница 26)
If the display attribute for any of the elements in such a display is Flash or Inverse Flash, the display flashes in accordance with this setting. The timing of the flashing is the same for all elements.• Marks overlap with other fixed display elements in accordance with the order inwhich they were registered. However, the way in which they overlap can bechanged with the Support Tool.105SectionImage and Library Data2-52-5Image and Library Data2-5-1 Image Data DisplayFunction OutlineImage data are images composed of dots. They can be set to any size within thefollowing range.NT21NT31/NT31CNT631/NT631CRemarksWidth8 to 256 dots8 to 320 dots8 to 640 dots8-dot unitsHeight8 to 136 dots8 to 240 dots8 to 480 dots8-dot unitsImage data are created with the image editor of the Support Tool, independentlyof screens, and as many as required can be displayed at any position on anyscreen.
It is also possible to import files in the BMP format of Windows95 andregister them as image data.There are two ways to display image data. Image data can be displayed by directly specifying the code number (fixed code) or indirectly specifying the codenumber through a numeral memory table entry (indirect specification).When the code is specified indirectly, the displayed image can be changed justby overwriting the code number in the numeral table entry, in the same way thatindirectly specified numeral/character string displays can be changed.
If indirectspecification is used, displayed images can be changed with a simple programthat just changes the contents of a numeral memory table entry and a series ofimages can be displayed to generate a moving image.Registering frequently used and complex images as image data allows them tobe displayed easily whenever required.When image data is created in the 2 Colors mode, the foreground and background colors can be specified. (The NT21, NT31 and NT631 always run in 2Colors mode.)When image data is created in the 8 Colors mode, colors (selected from theavailable eight) can be assigned to each dot.When creating image data, it is possible to specify compression of the data.However, note that it takes a little longer to display compressed image data thandata that has not been compressed.Reference: When the PT is in NT20S or NT30/620 compatible mode, the image codes andmaximum number of images are the same as the NT30C, NT620S, NT620C, andNT625 PTs.
Refer to Appendix C for details on the NT20S and NT30/620 compatible modes (page 457).106SectionImage and Library Data2-5Procedure for Creating and Using Image DataThe procedure for creating image data and registering them on a screen is described simply here. For details, refer to the NT-series Support Tool Version 4 forWindows Operation Manual (V061-E1-j).Call the image editor.↓Specify the image code.↓Specify color/monochrome, and size↓Create the image data↓Exit the image editor and register the image data.↓Perform screen editing.↓Register the created image data for display.Indirect SpecificationWith indirect specification, specify a numeral memory table entry containing thedesired hexadecimal code. The PT treats the contents of the specified numeralmemory table entry as an image code and displays the corresponding image.This function is very convenient when you want to change displayed images.Since image codes are hexadecimal, the Storage Type of the numeral memorytable entries that contain image codes must be set to binary and the values(image code numbers) stored in the table entries must be hexadecimal.Numeral memory table entryImageDisplay(Hex)Restrictions• A maximum of 4,095 image data can be created for one screen data file: eachof the image data is assigned any required code within the range 0001 to0FFFH (image/library code range) so that it can be managed and specified.• Altogether, up to 256 image and library data elements (directly and indirectlyspecified) can be displayed on one screen.
For overlapping screens comprising 8 child screens, the maximum is 1,024.• The size of image data can be specified as follows:NT21NT31/NT31CNT631/NT631CRemarksWidth8 to 256 dots8 to 320 dots8 to 640 dots8-dot unitsHeight8 to 136 dots8 to 240 dots8 to 480 dots8-dot units• The codes used for image data are dedicated for image/library data use.Image data cannot be included in character strings in the same way thatmarks can, unless the PT is in NT20S or NT30/620 compatible mode.• Image data that projects out of the screen area cannot be specified.107SectionImage and Library DataDisplay Functions2-5tThe properties of image data and their relationship with the method of displayare indicated below.PropertiesGeneralPositionCoordinates of the top left corner of the image dataSizeSize of the image dataFixed code (The image code itself is specified directly.)CodeImage/library code of the image data0001 to 0FFFHModeColor mode of the image data (specified with the image editor)(The NT21, NT31 and NT631 always run in 2 Colorsmode.)2 Colors/8 ColorsCommentComment assigned to the image data(specified with the image editor)Indirect specification(The image code is specified indirectly via a numeral memory table entry.)table entrynumberNumber of the numeral memory table entry that contains theimage code of the image you want to display.(Image codes are hexadecimal, so set the numeral memorytable entry’s Storage Type to binary.
Also, be sure to write theimage code number in hexadecimal.)Color (for NT31C and NT631C only valid when 2 Colors is set for Mode.ForegroundDisplay color of the image dataBlack/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteBackground Background color of the image dataBlack/Blue/Red/Magenta/Green/Cyan/Yellow/White/TransparentPosition(top left cornerof image data)ForegroundcolorBackgroundcolorSize (Y direction)Size (X direction)The blank area specified during creationof the image data is also included in thesize.If there is a blank area surrounding the image data, this is also included in theimage. Bear this in mind when specifying a background color in the 2 Colorsmode.Reference: When color data is pasted to 2 Colors mode image data, all the colors exceptblack become white.When an Unregistered Code Is SpecifiedWhen a code for which no image data is registered is specified, the symbol indi) is displayed on the Support Tool, but on thecating an unregistered code (PT nothing is displayed.Input FunctionsImage data have no input function.Output FunctionsImage data have no output function.Processing FunctionsImage data have no data processing function.108SectionImage and Library Data2-5Relationship with Other Elements• Difference between image data and library dataImage data can take any form for it is composed of dots, but library data canonly be created by assembling fixed display text and graphics.Since only drawing information for characters and graphics is registered forlibrary data, library data takes up less memory area than image data, whichrequires all the dots to be displayed on the screen to be registered as data.Another difference is that flash and inverse display are not possible forimage data, but library data can be displayed in these modes in accordancewith the display attributes of the registered elements.
The timing of the flashing is the same for all elements.• It is possible to specify different image/library data for the graphic displayedwhen a lamp (image/library lamp) is ON and OFF (page 112).• It is possible to specify different image/library data for each message displayedfor the alarm list/alarm history function (page 182).• Image data elements overlap with other fixed display elements in accordancewith the order in which they were registered. However, the way in which theyoverlap can be changed with the Support Tool.2-5-2 Library Data DisplayFunction OutlineLibrary data are combinations of multiple fixed display text and graphic elementsregistered as single elements. Library data can be registered in any requiredsize.Library data are created with the library editor of the Support Tool, independentlyof screens, and as many as required can be displayed at any position on anyscreen.Registering frequently used and complex images as library data allows them tobe displayed easily whenever required.There are two ways to display library data.
Library data can be displayed by directly specifying the code number (fixed code) or indirectly specifying the codenumber through a numeral memory table entry (indirect specification).When the code is specified indirectly, the displayed library can be changed justby overwriting the code number in the numeral table entry, in the same way thatindirectly specified numeral/character string displays can be changed. If indirectspecification is used, displayed libraries can be changed with a simple programthat just changes the contents of a numeral memory table entry and a series oflibraries can be displayed to generate a dynamic screen.Since the individual elements within a library data are displayed in the order theywere created with the Support Tool (graphics created early are overlaid by thosecreated later), the order must be considered when creating them.Library dataComplex data canbe displayed asmany times asrequired.Reference: When the PT is in NT20S or NT30/620 compatible mode, the library codes andmaximum number of libraries are the same as the NT30C, NT620S, NT620C,and NT625 PTs.
Refer to Appendix C for details on the NT20S and NT30/620compatible modes (page 457).109SectionImage and Library Data2-5Procedure for Creating and Using Library DataThe procedure for creating library data and registering them on a screen is described briefly here. For details, refer to the NT-series Support Tool Version 4 forWindows Operation Manual (V061-E1-j).Call the library editor.↓Specify the library code.↓Create the library data.↓Specify a range.↓Exit the library editor and register the library data.↓Screen editing.↓Register the created library data for display.Indirect SpecificationWith indirect specification, specify a numeral memory table entry containing thedesired hexadecimal code.
The PT treats the contents of the specified numeralmemory table entry as a library code and displays the corresponding libraryimage. This function is very convenient when you want to change displayed libraries.Since library codes are hexadecimal, the Storage Type of the numeral memorytable entries that contain library codes must be set to binary and the values (library code numbers) stored in the table entries must be hexadecimal.Numeral memory table entryLibraryDisplay(Hex)Restrictions110• A maximum of 12,288 library data can be created for one screen data file: eachof the library data is assigned any required code within the range 1000 to3FFFH (image/library code range) so that it can be managed and specified.• A total of up to 256 image and library data elements (directly and indirectly specified) can be registered on one screen. (Same for window screen.) For overlapping screens comprising 8 child screens, the maximum is also 256.• The maximum number of elements that can be registered for one library data is65,535.• The elements that can be registered in library data are the following fixed display elements: other elements cannot be registered.Text, circles, arcs, sectors, polylines, polygons, rectangles, tiling, marks.• The codes used for library data are dedicated for image/library data use.Library data cannot be included in character strings in the same way thatmarks can, unless the PT is in NT20S or NT30/620 compatible mode.SectionImage and Library Data2-5• Library data that projects out of the screen area cannot be specified.Display FunctionsThe properties of library data and their relationship with the method of displayare indicated below.PropertiesGeneralPositionCoordinates of the top left corner of the library dataSizeSize of the library dataFixed code (The library code itself is specified directly.)CodeImage/library code of the library data1000 to 3FFFHCommentComment set for the library data(specified with the library editor)Indirect specification(The library code is specified indirectly via a numeral memory table entry.)table entrynumberNumber of the numeral memory table entry that containsthe library code of the library that you want to display.(Library codes are hexadecimal, so set the numeralmemory table entry’s Storage Type to binary.