NT21_Reference Manual (V069-E1-1) (986756), страница 29
Текст из файла (страница 29)
It is also possibleto execute special functions such as checking and clearing input numeric valuesand character strings, and moving the cursor and moving between input fieldswith the arrow keys.PT1234Numeral setting input field1 2 34 5 67 8 9InputCharacter String Input Key FunctionWhen this function is used in combination with the character string setting function, a label can be input into an input field by pressing a touch switch.Character stringsetting input fieldInputWindow Key FunctionThis function makes it possible to open and close windows by pressing touchswitches.ControlConveyorHELPHELPPress hereTouch switch opensCopy Key FunctionThis functions allows data or constants in memory table entries to be copied toother memory table entries or into numeral setting/character string input fields,by pressing a touch switch.Copy key00000DisplayNumeral memory table entry000001234567890CopyCode00000121SectionTouch Switches2-7Cursor Moving Key FunctionWhen there are a number of numeral setting or character string input fields onthe screen, this function makes it possible to move the cursor to any requiredinput field.Press here1234Cursormoving keys12345678Input positionmoves56789012Input position9012Window MoveBy pressing a touch switch on a window, the window can be moved by touchpanel operation at PT.Window move touch switch.MoveMoveTouch the center of the positionwhere the window will be moved to.Screen Print Key Function (NT31/NT31C and NT631/NT631C Only)This function allows a hard copy of the currently displayed screen to be printedout at a printer connected to the PT by pressing a touch switch.Screen hard copy start keyWhen this key is pressed, printing of ascreen hard copy is started.Temperature adjustmentCOPYSTARTCOPYCANCELScreen hard copy cancel keyWhen this key is pressed, printing ofthe screen hard copy is canceled.Current temp.: 20_CSet temp.:20_CRestrictions122+10+1–10–1• A maximum of 256 touch switches can be registered for one screen.
(Same forwindow screen.) For overlapping screens comprising 8 child screens, themaximum is 256 per screen.There is no restriction on the number of touch switches that can be registered for one screen data file: any number can be registered as long as thedata file capacity is not exceeded. However, if a large number of elementsare registered, check that the restrictions on element display are compliedwith by referring to Display Restrictions (page 437).• When polygons are used as the display graphics for touch switches, one polygon can be given up to 255 vertices.• Up to 256 touch switches can be stacked together. If an overlapping area ispressed, all of the touch switch functions will be executed.
Except for functionscommunicating to the host, only one function can be executed at a time, so justSectionTouch Switches2-7stack one touch switch when stacking touch switches with functions other thancommunicating to the host. Touch switches that communicate to the host canall communicate notifications to the host at the same time.Common AttributesThe settings common to touch switches are indicated below. Depending on thefunction, further settings may be necessary.PropertiesGeneralPositionSizeFrameShapeShow ONStateColorFrameONOFFSettingsFunctionCoordinates of the top left corner of the touch switch displayareaWidth and height of the touch switch display area (dot units)Presence/absence of a frame for the touch switch displaygraphic.Check mark (frame used)/No check mark (no frame)Shape of the touch switch (display graphic)@ Fixed-shape display frameNo frame/Standard/Shadow/3-Dimension@ Free-shape display frameRectangle, Polygon, Circle, SectorWhether or not the lamp is displayed in reverse video when atouch switch is pressed.Color 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/WhiteDisplay color when the touch switch is ON (Colors other thanblack and white are available with the NT31C and NT631Conly.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/WhiteDisplay color when the touch switch is OFF (Colors other thanblack and white are available with the NT31C and NT631Conly.)Black/Blue/Red/Magenta/Green/Cyan/Yellow/White/TransparentProcessing functions executed when touch switches arepressed@ Notify Bit@ Switch Screen@ Input Key – Control@ Input Key – String@ Input Key – Keyboard@ Copy Setting@ Cursor Move@ Window Move@ Print Screen (NT31/NT31C and NT631/NT631C Only)123SectionTouch Switches2-7Light FunctionAddressPC BitAddressAllocated bit for displaying the touch switch (See Allocated biton page 125.)I/OCommentsComment that indicates the contents of the allocated bitCharacter string of up to 16 alphanumerics and symbolsLamp AttributeOn TypeInverted display of the display graphic when the touch switchis ON (ineffective when Shadow and 3-Dimension is set forShape)Light/FlashGuide CharactersDisplayPresence/absence of character string (guide characters)attached to the touch switchCheck mark (display)/No check mark (don’t display)TypeType of character string attached to the touch switchFixed character string, ON/OFF switching, numeral display,or character string displayGuide character settings (Refer to Guide Character Type on page 115.Interlock FunctionInterlockPresence/absence of interlock control of touch switchoperationCheck mark (interlock)/No check mark (don’t interlock)PC address settingsPC bitaddressAllocated interlock bit used to enable/disable operation of thetouch switch (See Allocated bit on page 125.)I/OcommentsComment that explains the allocated bit.Up to 16 characters.Lamp ShapeWith Fixed-shape Display FrameWhen a fixed-shape display is used, the lamp is displayed in the exact shape ofthe area that responds as a touch switch (the touch switch area).When No frame is selected, only the label is displayed unless a light (flash)instruction is received from the host or the touch switch is pressed (if no label isset, nothing will be displayed unless the touch switch is pressed).No frameStandardPosition DescriptionSize(Y direction)LABELTouch switchareaOFF color/ON colorPosition DescriptionFrame = touchswitch areaSize(Y direction)Size (X direction)LABELSize (X direction)3-DimensionShadowPosition DescriptionPosition DescriptionFrame = touchswitch areaFrame = touchswitch areaSize(Y direction)LABELSize (X direction)124OFF color/ON colorOFF color/ON colorSize(Y direction)LABELSize (X direction)OFF color/ON colorSectionTouch Switches2-7With Free-shape Display FrameWhen a free-shape display frame is used, the display graphic can be set anywhere, independently of the area that responds as a touch switch (touch switcharea).RectanglePolygonPosition Description Frame colorPosition DescriptionFrame colorSize(Y direction)LABELOFF color/ON colorSize(Y direction)Size (X direction)Touchswitch areaLABELOFF color/ON colorSize (X direction)DisplaygraphicTouchswitch areaCircleDisplaygraphicSectorPositionPosition DescriptionDescriptionFrame colorFrame colorSize(Y direction)Size(Y direction)LABELLABELOFF color/ON colorOFF color/ON colorSize (X direction)TouchDisplayswitch areagraphicSize (X direction)TouchDisplayswitch areagraphicAllocated BitsBits can be allocated for lamp bits and interlock 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 LinkNot forHost LinkNo125SectionTouch SwitchesSymbolC-series PCsAllocationCV-series PCsDDM AreaOKDM AreaEEM Area *2,current bankOKEM Area,current bankE0_ toEC_---------AllocationOKNot forHost Link---CS/CJ-series PCs2-7AllocationDM AreaOKEM 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.Reference: For touch switches for which the host notification function is set, a bit must beallocated for host notification in addition to the lamp bit and interlock bit.Display FunctionsAs with lamps, it is possible to set a graphic area for a touch switch that is displayed in different ways according to the status of a bit at the host. The bit at thehost that is allocated to control the touch switch display is called a lamp bit.The status of the lamp bit has the following effects.0 (OFF): Lamp is OFF1 (ON): Lamp is ON or flashingWhether the lamp is ON or flashing when the lamp bit is set to 1 (ON) is determined by the setting made for the On Type property of the touch switch.When a lamp bit is not allocated, touch switch performs only Show ON Statefunction.PTPCAllocated bit (touch switch 1)1 ←1ONTouch switch 1Like lamps, touch switches have four types of guide characters available: fixedcharacter string, ON/OFF switching, numeral display, or character string display.126SectionTouch Switches2-7Input FunctionsSwitch FunctionsThe touch switch elements of the PT are arranged in a grid measuring 16 wide by12 high on the screen.