NT21_Reference Manual (V069-E1-1) (986756), страница 34
Текст из файла (страница 34)
However, if a large number of elementsare registered, check that the restrictions on element display are complied withby referring to Display Restrictions (page 437).• The maximum number of character string display that can be displayed usingindirect reference is 100 per screen combined with the number of numeral display that is displayed using indirect reference.(Same restriction applies to overlapping screens or when displaying windowscreens.)• The following numbers of characters can be displayed in one character stringdisplay, depending on the scale.SectionCharacter String DisplayMagnification2-9NT21NT31/NT31CNT631/NT631C1 1 (Equal)Up to 32 charactersUp to 40 charactersUp to 40 characters1 2 (High)Up to 32 charactersUp to 40 charactersUp to 40 characters2 1 (Wide)Up to 16 charactersUp to 20 charactersUp to 40 characters2 2Up to 16 charactersUp to 20 charactersUp to 40 characters3 3Up to 10 charactersUp to 13 charactersUp to 26 characters4 4Up to 8 charactersUp to 10 charactersUp to 20 characters8 8Up to 4 charactersUp to 5 charactersUp to 10 charactersIf the character string display size exceeds the screen size with the specifiedvalue, its display position is automatically changed so that the character stringis displayed within the screen.In case the character string display can not be displayed within the screeneven if the Support Tool has changed its position, the error message will bedisplayed.• The characters that can be displayed are alphanumerics, symbols and Marks.Marks are displayed at the standard height even if Half Height is set as the FontType.
Therefore, if normal alphanumerics and symbols are displayed after displaying a mark, part of the mark will remain displayed, as shown in the figurebelow.• If Half Height is set for Font Type, and a character string is written after displaying Marks, a part of the Marks will remain displayed, as shown below.Aa bBc Cd eDf gEh i jIn this case, create blank characters as marks, write these marks, and thenwrite the alphanumeric and symbol character string over them.149SectionCharacter String DisplayCommon Attributes2-9The relationship between the properties of a character string display and the displayed character string is indicated below.PropertiesGeneralPositionCoordinates of the top left corner of the field in which thecharacter string is displayed.Font TypeFont for the charactersStandard/Half HeightScaleScale at which the character string is displayed (Enlarged display, page 151).1 1 (Equal), 1 2 (High), 2 1 (Wide), 2 2, 38 8Smoothing3, 44,Whether or not smoothing is used for characters with a scale of2 2 or larger (Smoothing, page 151).Check mark (smoothing executed)/No check mark (smoothing not executed)AttributeDisplay mode for the character string (Display attributes anddrawing result, page 152).Standard/Flash/Inverse FlashColorForegroundDisplay color of the text (Colors other than black and white areavailable with the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteBackground Background color of the text (Colors other than black and whiteare available with the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteSettingsReferenceIndirectReferenceMethod for referencing the character string memory table entrywhose contents are to be displayed (Direct reference and indirect reference, page 152)Check mark (Indirect Reference)/No check mark (Direct Reference)Table EntryNumeral memory table entry number referenced for display(Direct reference and indirect reference, page 152)@ When Direct Reference is specified:Table entry number of the numeral memory table entry inwhich the character string to be displayed is stored.@ When Indirect Reference is specified:Table entry number of the numeral memory table entry inwhich the number of the character string memory table entrywhose contents are to be displayed is stored.LengthNumber of displayed characters1 to 32NT21:NT31/NT31C:1 to 40NT631/NT631C: 1 to 40PositionForeground colorABCDEBackground color150SectionCharacter String Display2-9Enlarged DisplayCharacter strings can be displayed at the following scales.1 1 (Equal)2 1 (Wide)1 2 (High)3 34 42 28 8With ISO 8859-1 font type, the character strings of 2 2 or larger scale are automatically displayed in 32 dot high-definition font.
However, the marks insertedinto a string are always displayed in 16 16 dot font.Reference: The 32 dot high-definition font is not displayed for the following models. (16 16dot font is used.)• NT31-ST121j-E• NT31C-ST141j-E• NT631-ST211j-E• NT631C-ST141j-E• NT631C-ST151j-ESmoothingCharacters enlarged to a scale of 2 2 or greater can be displayed with the outline automatically smoothed. This function is called smoothing.Note that smoothing cannot be used for marks.With smoothingWithout smoothingSmoothing is not performed for high-definition font.Discrepancy Between Length and Number of CharactersIf the actual number of characters of the data in the character string memorytable entry is greater than the number specified for Length, the surplus part isignored.If the actual number of characters of the data in the character string memorytable entry is less than the number specified for Length, the size of the field inwhich the character string is displayed is still determined by the settings forLength and Scale.
In such cases the character is displayed left-justified, withspaces filling the superfluous part. Therefore if the contents of the numeralmemory table entry change to fewer characters, the characters of the previousdata do not remain displayed at the right side.151SectionCharacter String Display2-9Display Attributes and Drawing ResultAttributeStandardDrawing ResultThe character string display element is displayed withthe specified foreground color and background color.ABCDEFGFlashRepeated alternation of the standard display and nodisplay.ABCDEFG ⇔Inverse FlashRepeated exchange of the foreground color andbackground color.ABCDEFG ⇔ ABCDEFGDirect Reference and Indirect ReferenceDirect reference is a method whereby the memory table entry whose contentsare to be displayed is specified directly.PTPCCharacter stringmemory tableentry 51abcdAllocated word(character string memory table entry 51)DM01006 1 6 26 3 6 4abcdDirectreferenceIn indirect reference, the memory table entry whose contents are to be displayedis not specified directly: the contents of the specified numeral memory tableentry (numeric value) are regarded as the number of a character string memorytable entry, and the contents of this character string memory table entry are displayed.
Note that more processing time is required for indirect reference that fordirect reference.PTPCNumeral memorytable entry 20abcdAllocated word(numeral memory table entry 20)DM00000 0 5 10051IndirectreferenceDM01006 1 6 26 3 6 4abcdCharacter stringmemory table entry 51Display FunctionsAllocated word(character string memorytable entry 51)In character string display, the character string is displayed in accordance withthe General settings.For details on the method of display depending on the General settings, refer toCommon Attributes (page 150).Input FunctionsCharacter string displays have no input function.Output FunctionsCharacter string displays have no output function.Processing FunctionsCharacter string displays have no processing function.152Character String DisplaySection2-9Relationship with Other Elements• The conversion method and display method used with character string input(page 210) are the same as those used when for character string display.• When character string display is specified for a lamp or touch switch’s guidecharacter type, the characters are just like character string displays.
Refer toGuide Character Type on page 115 for more details on guide character types.• For details on how character strings are stored in character string memorytable entries, refer to 2-3-2 Character String Memory Table (page 79).• Character string displays overlap with other elements in accordance with theorder in which they were registered for the screen with the Support Tool.
However, the way in which they overlap can be changed with the Support Tool.153Section 2-10Graphs2-10 GraphsThe following three types of graphs can be used with the PT. The contents ofmemory table entries are read out, and the graph display is updated, automatically. If one or more words is allocated for the numeral memory table entry in thehost, changes in the word or words are continually reflected in the graph.• Bar graphsPage 154• Analog meterPage 158• Broken line graphsPage 164• Trend graphsPage 1702-10-1 Bar GraphsFunction OutlineThe contents of a numeral memory table entry is displayed in the form of a bargraph.The numeric value can also be indicated as a percentage of the designated numeric value.60%Restrictions154• A maximum of 50 bar graphs can be registered for one screen. (Same for window screen.) For an overlapping screen comprising 8 child screens, the maximum is 400.There is no restriction on the number of bar graphs that can be registered forone screen data file: any number can be registered as long as the data filecapacity 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).Section 2-10GraphsCommon AttributesThe relationship between the properties of a bar graph and the display results isindicated below.PropertiesGeneralPositionCoordinates of the top left corner of the bar graph area.SizeWidth and height of the area in which the bar graph is displayed(dot units)NT21:Width: 2 to 260, Height: 2 to 140NT31/NT31C:Width: 2 to 230, Height: 2 to 240NT631/NT631C: Width: 2 to 640, Height: 2 to 480FrameWhether or not a frame is displayed for the graph areaCheck mark (frame displayed)/No check mark (frame not displayed)Display SignWhether or not a negative area is displayed.DirectionDirection in which the bar graph extends (Incremental Directionof Bar Graphs, page 157)Check mark (displayed)/No check mark (not displayed)Up/Down/Left/RightColorFrameDisplay color of the frame (Colors other than black and white areavailable with the NT31C and NT631C only.)+ RangeDisplay color of the positive range (Colors other than black andwhite are available with the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteBlack/Blue/Red/Magenta/Green/Cyan/Yellow/White– RangeDisplay color of the negative range (Colors other than blackand white are available with the NT31C and NT631C only.)(effective only when a check mark is set for Display Sign)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteSettingsValueTable EntryDisplay %Number of numeral memory table entry whose contents are tobe displayed.Presence/absence of a percentage indication of the contents ofthe numeral memory table entry (Method for calculating the percentage value, page 157)Check mark (percentage displayed)/No check mark (no percentage display)For details on the Display % properties, refer to the Text (FixedDisplay) on page 97.100%*1 (Specify 100% value using either of Table Entry or Value.)Table EntryNumeral memory table entry number checked to find the100% value for percentage calculations@ Designate the number of the numeral memory table entrythat stores the 100% value.Range: 0 to 1999ValueChecked to find the 100% value for percentage calculations@ Designate the 100% value (default: 100)Range: –2147483648 to 2147483647Reference: The graph’s % values are always displayed with the standard display attributes.These display attributes cannot be changed.155Section 2-10GraphsSettings0%*1 (Specify 0% value using either of Table Entry or Value.)Table EntryNumeral memory table entry number checked to find the 0%value for percentage calculations@ Designate the number of the numeral memory table entrythat stores the 0% value.Range: 0 to 1999ValueChecked to find the 0% value for percentage calculations@ Designate the 0% value (default: 0)Range: –2147483648 to 2147483647–100%*1 (Specify-100% value using either of Table Entry or Value.)Table EntryNumeral memory table entry number checked to find the–100% value for percentage calculations@ Designate the number of the numeral memory table entrythat stores the –100% value.Range: 0 to 1999ValueChecked to find the –100% value for percentage calculations@ Designate the –100% value (default: –100)Range: –2147483648 to 2147483647*1: The –100% value, 0% value, and 100% value must comply with the followingrelationship:–100% value < 0% value < 100% valueWhen a table entry is specified for the % value, the relationship above will not besatisfied if the contents of the specified numeral memory table entry areincorrect.