NT21_Reference Manual (V069-E1-1) (986756), страница 28
Текст из файла (страница 28)
Refer to2-8 Numeral Display for details.• Character String DisplayThe properties settings are the same as those for numeral displays. Refer to2-8 Numeral Display for details.Displaying Multiple Lines of Guide CharactersMultiple lines of guide characters can be specified when fixed character stringsor ON/OFF switching character strings are being used. The number of characters that can be input depends upon the model of PT being used, as shown in thefollowing table.ModelMax. number ofguide characters*Max. number ofcharacters/line*Max. number oflinesNT21128328NT31/NT31C1284015NT631/NT631C2568030* The new line code (<\n>) is counted as one character in the number of characters.The space between guide character lines (number of dots from the bottom of aline to the top of the next line) is set with the line spacing property.
A negative linespacing can be specified, so that a later line will partially overlap the precedingline, but there must be at least 8 dots of space between the tops of the two lines.First lineLine spacing (dot units)Second lineIt is also possible to set the alignment (left, center, or right) of the lines.Left alignmentCenter alignmentRight alignmentLeft alignment of multiple lines of guidecharacters.Center alignment ofmultiple lines of guidecharacters.Right alignment ofmultiple lines of guidecharacters.Image/Library LampsThe relationship between the properties of an image/library lamp and the displayed graphic are indicated below.116SectionLamps2-6PropertiesGeneralOFF stateX, YCoordinates of the top left corner of the image/librarydata display in the OFF stateWidth, HeightWidth/height of image/library data displayed in the OFFstateCodeImage/library code displayed in the OFF stateColor (valid only for image data whose color mode is 2 Colors)ForegroundForeground color of the image/library lamp in the OFFstate (Colors other than black and white are availablewith the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteBackgroundBackground color of the image/library lamp in the OFFstate (Colors other than black and white are availablewith the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/White/TransparentON StateX, YCoordinates of the top left corner of the image/librarydata display when the lamp is ONWidth, HeightWidth/height of image/library data displayed in the ONstateCodeCode of the image/library data displayed in the ONstatusColor (valid only for image data whose color mode is 2 Colors)ForegroundForeground color of the image/library lamp in the OFFstate (Colors other than black and white are availablewith the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteBackgroundBackground color of the image/library lamp in the OFFstate (Colors other than black and white are availablewith the NT31C and NT631C only.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/White/TransparentLight FunctionAddressPC Bit AddressAllocated bit of the lamp (Allocated bit, page 118)I/O CommentsComment that indicates the contents of the allocated bitUp to 16 alphanumeric charactersPositionPositionOFF stateON state117SectionLamps2-6Allocated 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---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.When a DM Area or EM Area address is specified, add a bit number (00 to 15) tothe end of the word address.Input FunctionsLamps read the contents of a bit at the host and execute processing in accordance with the bit status.However, the bit is only read in the following case:When a lamp is used on the currently displayed screenOutput FunctionsLamps have no output function.Processing FunctionsLamps have no data processing function.Relationship with Other Elements• Touch switches (page 119) have the same display functions as normal (standard) lamps.• Lamps overlap with other elements in accordance with the order in which theywere registered on the screen with the Support Tool.
However, the way inwhich they overlap can be changed with the Support Tool.118SectionTouch Switches2-72-7Touch SwitchesFunction OutlineThe PT allows input from the touch panel on the screen. By pressing (touching)the touch switches on the screen, the PT screen can be switched, and bit information can be sent to the host.NT21:13 wide x 7 highNT31/NT31C: 16 wide x 12 highNT631/NT631C: 32 wide x 24 high20 dots20 dotsSTOPOne touch switch cancomprise multiple touch switchelements.Function ExecutionWhen the touch switch is pressed,the set function is executed.Size of Touch Switch ElementsModelWidthHeightNT21-ST121j-E9.0 mm9.0 mmNT31-ST121j-EV2NT31C-ST141j-EV27.2 mm7.2 mmNT631C-ST141j-EV27.2 mm7.2 mmNT631-ST211j-EV2NT631C-ST151j-EV26.6 mm6.6 mmAs with lamps, graphics that change in accordance with the status of a set bit areset for touch switches, and, besides, an area where the touching of the touchswitch can be detected (the touch switch area) is also set for them.Touch switches are arranged and set on screens when creating screen data withthe Support Tool.When a touch switch is pressed, the function set for it in advance is executed.The way a touch switch is displayed and the processing when it is pressed caneach be set independently.Touchswitch areaWhen thisposition ispressed....ShowninreversevideoDisplayframeTouch switch function executedNote Do not press touch switches with a force of greater than 30 N.Applying higher force may cause the glass to break, cause injuries, and preventoperation.Do not press touch switches carelessly while the backlight is off or while nothingis displayed on the screen.
Otherwise the system may operate unpredictably.Only press touch switches after confirming system safety.Note If touch switches are pressed in rapid succession, their inputs may not be successfully received.Confirm that the input of a touch switch has been successfully received beforemoving on to the next operation.119SectionTouch Switches2-7Reference: Caution on pressing three touch switchesWhen multiple touch switches are arranged as shown in the example below andthe three are pressed at the same time, a malfunction will occur due to a peculiarity of the touch switch mechanism.Be careful how you arrange touch switches.Example: When touch switches are created at positions A and B and at one ofthe points of intersection C or DAC• If switches A, B, and C come ON at the same time,touch switch D will also come ON due to the touchswitch mechanism.DB• If switches A, B, and D come ON at the same time,touch switch C will also come ON due to the touchswitch mechanism.Smallest touch switch frameFunctions That Can Be Set for Touch SwitchesAny of the following functions can be set for touch switches.
For details, refer toProcessing Functions (page 128).Host Notification FunctionWhen a touch switch is pressed, the status of a bit for notification purposes at thehost (the notify bit) changes.It may change in any of the four following ways.MomentaryThe notify bit is set to 1 (ON) only while the touch switch is pressed, and returnsto 0 (OFF) when the touch switch is released.AlternateEach time the touch switch is pressed, the notify bit is switched to 1 (ON) if currently set to 0 (OFF), and to 0 (OFF) if currently set to 1 (ON).SetWhen the touch switch is pressed the notify bit is set to 1 (ON).ResetWhen the touch switch is pressed the notify bit is set to 0 (OFF).PCPTTouch switch 1Bit allocated for notification(touch switch 1)1(ON)1Screen Switching FunctionWhen a touch switch is pressed, the display switches to the set screen.To next screenWhen touch switch 1is pressedScreen number 5Screen number 5 is set for touch switch 1.120SectionTouch Switches2-7Input Key – Control FunctionWhen used in combination with the numeral/character string setting function,this function allows numeric values to be input into input fields.