NT21_Reference Manual (V069-E1-1) (986756), страница 27
Текст из файла (страница 27)
Also, be sureto write the library code number in hexadecimal.)Position (top left corner of library data)Size (Y direction)Size (X direction)When an Unregistered Code Is SpecifiedWhen a code for which no library 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 FunctionsLibrary data have no input function.Output FunctionsLibrary data have no output function.Processing FunctionsLibrary data have no data processing function.Relationship 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 requires little memory area in comparison withimage data, which requires all the dots to be displayed on the screen to beregistered 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).• Library data elements overlap with other fixed display elements in accordancewith the order in which they were displayed. However, the way in which theyoverlap can be changed with the Support Tool.111SectionLamps2-62-6LampsFunction OutlineLamps are graphics that change in accordance with the status of a set bit.
Lampsare classified into the two major categories indicated below.Normal (Standard) LampsNormal (standard) lamps change the display status (OFF/ON/flashing) of fixeddisplay graphics.ONONHostOFF statusON statusImage/Library LampsImage/library lamps display different graphics (image/library data) in the ON andOFF statuses.ONOFF statusHostON statusLamps are arranged and set on the screen when creating screen data with theSupport Tool.RestrictionsCommon Attributes112• A maximum of 256 lamps can be registered for one screen.
For overlappingscreens comprising 8 child screens, the maximum is 1,024.There is no restriction on the number of lamps that can be registered for onescreen data file: any number can be registered as long as the data file capacity is not exceeded. However, if a large number of elements are registered, check that the restrictions on element display are complied with byreferring to Display Restrictions (page 437).• When polygons are used as the display graphics for normal (standard) lamps,one polygon can be given up to 255 vertices.• Image/library lamps are subject to the maximum simultaneous display restriction imposed on image and library data. This means that a maximum total of256 image/library lamps and image and library data can be displayed on onescreen. For overlapping screens comprising 8 child screens, the maximum is1,024.• When library data is displayed with an image/library lamp, if the library dataprojects outside the screen area, nothing is displayed.
Usually, the SupportTool ensures that the data does not project out of the screen area.• If no data is registered for the specified image/library lamp code, nothing will bedisplayed.• Among lamps, the display order is determined by the order in which the lampswere created. However, this order among lamps can be changed with the Support Tool.The common attributes vary widely according to the type of lamp, therefore theyare described separately for each case.SectionLamps2-6Display FunctionsNormal (Standard) LampsThe relationship between the properties of a normal (standard) lamp and the displayed graphic are indicated below.PropertiesGeneralPositionCoordinates of the top left corner of the lamp display areaSizeWidth and height of the lamp display area (in dot units)FramePresence/absence of a frame for the lamp display graphicCheck mark (frame used)/No check mark (no frame)ShapeShape of the lamp (display graphic)Rectangle, Polygon, Circle, SectorColorFrameColor of the frame (valid only when a check mark is set forFrame above).
Colors other than black and white areavailable with the NT31C and NT631C only.Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteON/FlashingColor of the lamp in the ON or flashing states (Colors otherthan black and white are available with the NT31C andNT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteOFFColor of the lamp in the OFF state (Colors other than blackand white are available with the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/White/TransparentLight FunctionAddressPC BitAddressAllocated bit of the lamp (Allocated bit, page 114)I/OCommentsComment that indicates the meaning of the allocated bitCharacter string of up to 16 alphanumerics and symbolsLamp AttributeON TypeDisplay mode when the lamp is ONLight/FlashGuide CharactersDisplayPresence/absence of character string (guide characters)attached to the lampCheck mark (display)/No check mark (don’t display)TypeType of character string attached to the lampFixed character string, ON/OFF switching, numeraldisplay, or character string displayGuide character settings (Refer to Guide Character Type on page 115.)113SectionLamps2-6Shape of LampsRectanglePolygonPosition DescriptionFrame colorSize(Y direction)LAMPPosition DescriptionFrame colorON/OFFcolorsSize(Y direction)Size (Xdirection)LAMPON/OFFcolorsSize (Xdirection)CircleSectorPosition DescriptionPosition DescriptionFrame colorSize(Y direction)Size(Y direction)LAMPLAMPON/OFFcolorsFrame colorON/OFFcolorsSize (Xdirection)Size (Xdirection)Allocated BitsBits can be allocated for lamp bits in the following host (PC) areas.SymbolC-series PCsAllocationCV-series PCsAllocationCS/CJ-series PCsAllocationNoneIR AreaOKCIO AreaOKCIO AreaOKHHR AreaOK------HR AreaNot forHost LinkAAR AreaOKAuxiliary AreaNoAR AreaOKLLR AreaOK------LR Area*1Not forHost LinkTTC Area,Timer PVsNoTimer Area,Timer PVsNoTC Area,Timer PVsNoTU------------TC Area,Timer Completion FlagsCTC Area,Counter PVsNoCounter Area,Counter PVsNoTC Area,Counter PVsCU------------TC Area,Counter Completion FlagsNot forHost LinkW------------WR AreaNot forHost LinkTK------------Task FlagsNot forHost LinkDDM AreaOKDM AreaOKDM AreaEEM Area *2,current bankOKEM Area,current bankE0_ toEC_---------Not forHost Link---NoOKEM Area,current bankNot forHost LinkEM Area,EM banks 0 to CNot forHost Link*1: LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199.*2: The EM Area is supported only by the C200HX/HG/HE(-Z)E PCs.114Not forHost LinkSectionLamps2-6The Auxiliary Area of the CVM1 and CV-series PCs is allocated to system functions, and it cannot be used for purposes other than system use.The range of each memory area differs according to the PC.
Refer to Appendix DPC Memory Maps on page 441.When a DM Area or EM Area address is specified, add a bit number (00 to 15) tothe end of the word address.Display of LampsLamps are displayed as follows according to the status of the allocated bit:0 (OFF): OFF1 (ON): ON, or flashingWhether a lamp lights continuously or flashes when the lamp bit is set to 1(ON) is determined by the ON Type attribute.Note that the display when the lamp is ON or flashing also changes according to the presence or absence of a frame.When there is a frame: The frame is always displayed.When there is no frame: The lamp may be invisible when it is OFF depending on the OFF color.When there is a frame display(OFF)When there is no frame display(OFF)LightLightFlashFlashOnly the area insidethe frame flashes.Lamp alternatesbetween displayed andnot-displayed states.Guide Character TypeThe following 4 types of guide characters can be displayed on the PT.TypeDescriptionFixed characterstringThe same character string is always displayed regardless ofthe status of the lamp.ON/OFF switchingDifferent character strings are displayed when the lamp is ON(or flashing) and OFF.
It is also possible to display more thanone line of guide characters.Numeral displayThe contents of a numeral memory table entry are displayedin real time as the lamp’s guide characters.Character stringdisplayThe contents of a character string memory table entry aredisplayed in real time as the lamp’s guide characters.The guide character settings for each guide character type are as follows:• Fixed Character String SettingsThe settings are the same as the settings for the fixed display’s characterstrings except that multiple lines and their alignment (left, center, or right) canbe specified.For details on displaying multiple lines and specifying alignment, refer to Displaying Multiple Lines of Guide Characters on page 116.
For details on otherproperties, refer to 2-4-2 Text (Fixed Display).Reference: Different colors can be set for a lamp’s guide characters when ON and OFF, butthe background color is always transparent.• ON/OFF Switching Character SettingsDifferent character strings can be specified for display when the lamp is ON(lamp bit ON) and OFF (lamp bit OFF). It is also possible to specify different115SectionLamps2-6display locations for the ON and OFF character strings.
All other settings arethe same as the settings for the fixed display’s character strings.For details on displaying multiple lines and specifying alignment, refer to Displaying Multiple Lines of Guide Characters below. For details on other properties, refer to 2-4-2 Text (Fixed Display).Reference: Different colors can be set for a lamp’s guide characters when ON and OFF, butthe background color is always transparent.• Numeral DisplayThe properties settings are the same as those for numeral displays.