NT21_Reference Manual (V069-E1-1) (986756), страница 9
Текст из файла (страница 9)
When the touch switch is pressed, the PC’s notificationbit comes ON (1) or goes OFF (0).The interlock function can also be used. An operation is enabled only while thecorresponding interlock bit allocated in the PC is ON.Numeral Display or Graph (Numeral Memory Table) (page 140)Allocated: WordPTNumeral memorytable entry 1(TIM003)PC1612A23CTIM0031612Wd 0005 A23CNumeral memory table entry 150 (Wd 0005)29SectionCommunications with the Host1-4Allocate any desired words in the PC for numeral memory table entries. If thecontents of the allocated words are changed while the numeral memory tabledata is being displayed on the screen as numeric values or lamps, the display onthe screen will also change automatically. This function allows the contents ofallocated words to be monitored easily.Reading and writing are executed so that the contents of allocated words arealways the same as those of the numeral memory table entries.Character String Display (Character String Memory Table)(page 148)Allocated: WordPTabcdefPCDM01006162(“a”, “b”)DM01016364(“c”, “d”)DM01026566(“e”, “f”)Character string memory table entry 1Number of allocated words: 3First word: DM0100Allocate any desired words in the PC to character string memory table entries.
Ifthe contents of the allocated words are changed while the character stringmemory table data is being displayed on the screen as text, the correspondingdisplay on the screen will also change automatically. This function allows anydesired message to be displayed easily.Reading and writing are executed so that the contents of allocated words arealways the same as those of the character string memory table entries.Numeric and Thumbwheel Inputs (Numeral Memory Table) (page 192, 200)Allocated: WordBit (interlock bits)Numeric inputNumeral memorytable entry 52(DM 1000)DM 10009511IR 0012 C018Thumbwheel SwitchNumeral memory table entry 53 (IR 0012)Allocate any desired words in the PC to the numeral memory table entries.
Whena value is input or changed with the numeric input or thumbwheel switch, the newvalue will be written to the numeral memory table entry and the contents of thewords allocated in the PC will be changed automatically. This function allowsword PVs to be changed easily from the PT.The interlock function can also be used. The numeric and thumbwheel switchinputs are enabled only while the corresponding interlock bits allocated in the PCare ON.30SectionCommunications with the Host1-4Character String Input (Character String Memory Table) (page 210)Allocated: WordBit (interlock bits)ABCDEFDM 0150 4142(“A”, “B”)DM 0151 4344(“C”, “D”)DM 0152 4546(“E”, “F”)Character string inputCharacter string memory table entry 100Number of allocated words: 3First word: DM 0150Allocate any desired words in the PC to character string table entries.
When textis input with a character string input, the new character string will be written to thecharacter string memory table entry and the contents of the words allocated inthe PC will be changed automatically. This function allows text to be written fromthe PT to the PC easily.The interlock function can also be used.
The character string input is enabledonly while the corresponding interlock bit allocated in the PC is ON.Alarm List (Bit Memory Table) (page 182)Allocated: BitPTPCMaterial low010009Alarm list1Character string memory table entry 120Material lowBit memory table entry 23Bit 010009Character string memory table entry 120When the PC bit comes ON (1), the contents of the character string memorytable entries registered for the bit memory table entries are displayed in thealarm list. When the bit returns to the OFF (0) status, the character stringmemory table display is automatically cleared.Alarm History (Bit Memory Table) (page 182)Allocated: BitPTPCWater temp.
high015012Alarm history1Character string memory table entry134Water temp. highBit memory table entry 52Bit 015012Character string memory table entry 134Alarm history record data31SectionCommunications with the Host1-4The PC bit allocated to the bit memory table entry for which the history propertyhas been set is continually monitored: when the bit turns ON (1), the time, thenumber of times, and the contents of the character string memory table entryregistered for the bit memory table entry are recorded in the alarm history recorddata.This record data can be displayed as the alarm history.PT Status Control Area(PC ↔ PT)The PT status control area is used to control the PT status.
When data is writtento this area in the PC, the PT reads the contents and operates according to thecontents.Example of PT Status Control Area ApplicationWhen data is written to the PT status control area, the PT operates as shownbelow (page 52).PCPTScreen 3 displayPT status control area000300501007A000ContinuousbuzzersoundPT Status Notify Area(PT to PC)Memory table entryCopy settingPT status control bitsSystem reserveNumeral memory table entry 50CopyScreen switch settingNumeral memory table entry 7The PT status notify area is used to notify the changes in the PT status.When the PT status changes, the change is written to this area in the PC.
Byreading the data from this area, the PT status can be checked.Example of PT Status Notify Area ApplicationWhen the PT status changes, the change is applied to the PT status notify areaas shown below (page 61).PTPCNumeral memory table entry 131234567812345678PT status notify area001388007 8 94 5 61 2 30.Content upgrade memory table entryPT statusAllocated word (numeral table entry 13)1234567851627384StartStart + 1Reference: When the PT is set to NT20S or NT30/620 compatible mode, the word configuration is identical to that of the earlier NT20S, NT30, NT30C, NT620S, NT620C,and NT625C PTs.Functions of the WindowControl Area(PC to and from PT)32The window control area is used to notify and control the window status.
Thewindow control area has areas that correspond to three windows. Each areastores the screen number, and the X and Y coordinates of the lower left corner ofthe window that is being displayed.When data is written to this area in the PC, the PT reads the contents andexecutes tasks such as switching the windows to be displayed or moving theposition of the windows according to the contents (page 241).When the window display status changes, the change is written to this area inthe PC. By reading the data from this area, the window display status can bechecked (refer to page 241).SectionCommunications with the Host1-4If the window functions are not used, it is not necessary to allocate a window control area in the host.Example of Window Control Area ApplicationWhen data is written to the window control area, the PT operates as shown below.PTPCWIndow control area(local window 2)003400200079Window(screen No.34)OpensScreen numberX coordinateY coordinateBottom left coordinate(20, 79)When the window display status changes, the change is notified to the windowcontrol area as shown below (Window’s Opening/Closing status is notified to thePT status notify area as well).PTPCWIndowPTstatuscontrolnotify area(local window 2)MoveWindow(screen No.34)003401400119Screen No.X coordinateY coordinateBottom left coordinate(140, 119)1-4-5 Clock Data Area (PC to PT) (NT21 Only)The NT21 does not have a built-in clock and instead uses the clock data from thePC.
The seconds, minutes, hour, day, month, year, and day of week data is readfrom the PC into a Clock Data Area.The NT21 periodically updates the data in the Clock Data Area, storing the datain numeral table entries 247 to 253. These table entries are used to read theclock data. When displaying the time or date on the NT21 or when using thescreen display history or alarm history, allocate the Clock Data Area in PCmemory and periodically update the contents of the allocated words in the PCusing the PC’s ladder diagram. (The structure of the clock data in the NT21 is thesame as the structure of the words containing the clock data in the PC.
If these33SectionCommunications with the Host1-4words are allocated for the Clock Data Area, then periodic updating from the ladder diagram is not necessary.PTPCClock Data2001/9/2513:47:58Numeral table247582484724913250252519252125324758Minutes and seconds2513Day and hour0109Year and month0002Day of week1-4-6 Connecting to other Companies’ PCsInstalling a system program for multi-venders by using a specific system installerenables the NT31/NT31C or NT631/NT631C to be connected to the PCs of other companies in direct connection. This system installer is supplied with the Support Tool (NT-ZJCAT1-EV4).