NT21_Reference Manual (V069-E1-1) (986756), страница 23
Текст из файла (страница 23)
When a message displayed in reverse video is pressed again, the displaywill switch to the screen with the set screen number.Reference:S In the case described above, both image/library display and screen changeover functions are set. The operation when a touch switch is pressed is determined as follows in accordance with these settings:Image/libraryScreendisplaychangeoverTouch switchFirst timeSecond timeNot setNot setNo effectNo effectNot setSetScreen changeover–SetNot setImage/library data displayNo effectSetSetImage/library data displayScreen changeoverS Note that the text will be invisible when the message is pressed, if the color ofmessage display (color of bit memory table entry) and the background color inreverse video of alarm list/history are the same.RestrictionsThe number of bit memory table entries can be set as one of the following at theSupport Tool.• 256 (bit memory table entry numbers 0 to 255)• 1000 (bit memory table entry numbers 0 to 999)Since the bit memory table shares memory with the screen data, setting a largenumber of bit memory table entries reduces the memory area available forscreen data.85SectionMemory TablesCommon Attributes2-3Bit memory table entries have the following common properties.Possible SettingsPropertyFunctionMeaningNone/Switch screen/AlarmFunction of the bit memory table entryWhen None is set, nothing will happen even if the host bit allocated forthe table entry turns ON.DescriptionIndicates the settings particular to each function.PCAddressAny bit address at the hostI/OCommentUp to 16 characters of textHost bit allocated for the bit memory table entryComment that describes the meaning of a bit memory table entryAllocated BitsBits can be allocated for bit memory table entries 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---Not forHost LinkNoOKEM 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.The 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.86SectionMemory Tables2-3If the data memory (DM) is designated, a bit number (00 to 15) must be specifiedafter the word address.Display FunctionsScreen Changeover FunctionWhen using the screen changeover function, the following attribute must be setin addition to the common attributes.Possible SettingsPropertyScreenNumberMeaning0001 to 3999:9001:9002:9020:9021 to 9023:9030:9999:Screen numbers 1 to 3999Occurrence history screenFrequency history screenScreen for Programming Console function (expansionfunction)Screens for Device Monitor function (expansion function) (Not supported by NT21.)Brightness and contrast adjustment screen (Not supported by NT21.)Return to previous screen designationNumber of screen displayed when bit memory table status changes to 1(ON)When a bit memory table entry is used with the screen changeover function,when the status of the bit allocated for the bit memory table entry changes to 1(ON), the display switches to the screen set for the bit memory table entry (thisscreen remains displayed even if the bit returns to 0 (OFF)).Reference:S The screen display can also be switched by PT status control area operation(page 300), touch switch operation (page 301), and by using the alarm list/history function (page 304).S To display overlapping screens, designate the screen number of the parentscreen.S If there are no registered elements for the designated screen number, thescreen does not switch.Alarm List/History FunctionWhen using the alarm list/history function, the following properties must be set inaddition to the common attributes.Possible SettingsPropertyHistoryMeaningCheck mark (record)/No check mark (do not record)Determines whether or not an alarm history is recordedWhen a check mark is set, a record is logged in the alarm history whenthe status of the bit allocated for the bit memory table entry changes to1 (ON).SwitchScreenCheck mark (screen switched)/No check mark (screen not switched)Determines whether or not the screen changeover function is usedWhen a check mark is set, pressing the message (which is displayedwhen the status of the allocated bit to the bit memory table entry changes to 1 (ON)) twice switches the display to the designated screen.87SectionMemory Tables2-3Possible SettingsPropertyScreenNo.Meaning0001 to 3999:9001:9002:9020:Screen numbers 1 to 3999Occurrence history screenFrequency history screenScreen for Programming Console function (expansionfunction)9021 to 9023:Screens for Device Monitor function (expansion function) (Not supported by NT21.)9030:Brightness and contrast adjustment screen (Not supported by NT21.)9999:Return to previous screen designationNumber of screen displayed when the message (which is displayedwhen the status of the bit allocated for the bit memory table entry changes to 1 (ON)) is pressed twice.StringTableEntry0 to 1999 (within the character string memory table range)Image/LibraryCode000H: No display (No check mark)0001 to 0FFFH: Image data1000 to 3FFFH: Library dataNumber of the character string memory table entry whose contents aredisplayed as a message in the alarm list/history when the status of thebit allocated for the bit memory table entry changes to 1 (ON).Code (expressed as 4 hexadecimal digits) of the image/library data corresponding to the message displayed when the status of the bit allocated for the bit memory table entry changes to 1 (ON).ForegroundColorBlack/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteColor of message text (only white or black for the NT21, NT31, andNT631)If the alarm list and alarm history functions are registered for a screen, messages and image/library data are displayed in accordance with the status of thebit memory table entry (refer to Common Attributes on page 86).Reference: The alarm history can also be checked by pressing the Alarm History touchswitch on the MAINTENANCE MODE MENU screen of the PT.
For details, referto section 6 of the Setup Manual.Input FunctionsWhen a bit is allocated in the host for the bit memory table entry, the status of thebit is read and processing is executed in accordance with the bit status.However, reading is only executed in the following case.When a function (screen changeover, alarm history) is set for the bit memorytable entry.Output FunctionsBit memory table entries have no output function. The contents of bit memorytable entries are not written to bits at the host.Processing FunctionsBit memory table entries have no data processing function.Relationship with Other Elements• When the alarm list function is used, messages and image/library data can bedisplayed in real time in accordance with the status of bits at the host (page182).• When the alarm history function is used, the time when the status of the host bitchanges to 1 (ON), and the number of times it comes ON, can be displayed(page 182).88Memory TablesSection2-3Reference: When the alarm history record area has become full, processing is carried out inaccordance with the settings made for History Setting under Tools – PT Configuration – System at the Support Tool.S Alarm (Use Ring Buffer)If a check mark is set here, when an alarm occurs after the record area becomefull, the oldest record data is deleted in order to allow the new alarm history datato be stored (alarm pushup storage).If no check mark is set, no more new alarm history data is stored after the record area becomes full.S Screen (Use Ring Buffer)If a check mark is set here, when a screen for which the history property is setafter the record area has become full, the oldest record data is deleted and newdisplay history data is stored (alarm pushup storage).If no check mark is set here, when the record area becomes full, no more newdisplay history data is stored.89SectionFixed Displays2-42-4Fixed DisplaysFixed displays are graphics and text that are always displayed on the screen anddo not change.
This section gives details of fixed displays.There are the following types of fixed display.• TextPage 97• CirclePage 90• ArcPage 90• SectorPage 90• PolylinePage 90• PolygonPage 90• RectanglePage 90• TilingPage 101• MarkPage 103Reference: The Support Tool also includes image data and library data as fixed display elements, but since these are functionally different, they are dealt with separately inthis manual. For details on image and library data, refer to 2-5 Image and LibraryData (page 106).2-4-1 Circles, Arcs, Sectors, Polylines, Polygons, Rectangles(Fixed Displays)Function OutlineThese are graphics that are always displayed. Standard, inverse, flash, and inverse flash displays are possible depending on the graphics.Since fixed display graphics are always displayed in the order in which they werecreated at the Support Tool (graphics created early are overlaid by those createdlater), the order must be considered when creating them.
However, the order ofdisplay within a fixed display graphic can be changed using the Support Tool.*Restrictions90CircleArcSectorPolylinePolygonRectangle*A continuous straight linewith up to 254 intermediatepoints can be drawn.A polygon with up to255 vertices can bedrawn.• Up to 65,535 of the following graphics can be registered on one screen. (Samefor window screen.) For overlapping screens comprising 8 child screens, themaximum is 524,280 (65,535 8 screens).Fixed display text, circles, arcs, sectors, polylines, polygons, rectangles, tiling, marksThere is no restriction on the number of graphics that can be registered for onescreen data file: any number can be registered as long as the data file capacity isnot exceeded.SectionFixed Displays2-4• One polyline can comprise up to 256 linked points including the start and endpoints.• One polygon can be given up to 255 vertices.• Elements that project out of the screen area cannot be specified (except forthose parts of elements that are not actually drawn, such as the center point ofan arc).Common AttributesThe common attributes are described separately for each element.Display FunctionsArcsThe relationship between the properties of an arc and the displayed graphic areindicated below.PropertiesGeneralPositionCenter point Coordinates of the center of the circle that includes the arcStart pointCoordinates of the start point of an arcEnd pointCoordinates of the end point of an arcSizeRadiusAttributeRadius of the circle that includes the arc (dot units)Display mode for the arc (Display attribute and drawingresult, page 91).Standard/Inverse/Flash/Inverse FlashColorForegroundDisplay color of the arc (Colors other than black and whiteare available with the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteThe line style is fixed as solid line and thickness is fixed as one dot.At the Support Tool, the center point, start point and end point are specified,as shown in the figure below.