NT21_Reference Manual (V069-E1-1) (986756), страница 47
Текст из файла (страница 47)
Specify the parameter to be edited by pressing the parameter column. Thespecified parameter will be displayed in reverse video, and you can set theparameter value.2. The pop-up windows specified for each recipe data will be displayed.3. If touch switches for inputting and confirming values (control code inputfunction) have already been set on the base screen or to a pop-up windowas a ten-key pad, enter the values using the ten-key pad, and then press theReturn key to set the target parameter values.Selected parameter will be displayed inreverse video. (It will be current input field.)On the pop-up window, input values and pressthe Return Key.
Input values will be registeredin the specified parameter column.WindowRecipe table title Parameter 1Record 1Record 2Record 3Parameter 2Parameter 3Recipe table title Parameter 1Record 1Record 2Record 3ParamNote Edited recipe data is backed up by the battery, so it remains saved even after thepower supply is turned OFF. (The Battery is an option with the NT21.)Initializing Edited Valuesfrom the PT SystemMenu222You can initialize (i.e., restore the initial values set using the Support Tool) recipetables (i.e., entire sets of recipe data) edited using the PT or updated by exchanging data with the host using the PT System Menu, as required.Section 2-14RecipesReading From and Writing to Host1. Select the record name field to specify the record to be read or written.
Theentire record will be displayed in reverse video.1, 2, 3...Once a record is displayed in reverse video, clear the selection by pressingthe same record name field again, or by pressing the name field for anotherrecord, or by pressing the line scroll touch switches or page scroll touchswitches.2.
Press the Write touch switch to write recipe data parameters to the host.Press the Read touch switch to read recipe data parameters from the host.Press the Write or Read switch to writeselected record to the PC or to readone from the PC.PTSelected record will be displayed in reverse video.PTRecipe table title2Record 1Rec 2Re3Parameter 150Parameter 2250Parameter 3350Recipe table title2Parameter 1Record 1Record 2Record 350Parameter 2Parameter 3250350Writing record dataReading record dataPCCPU UnitMemoryLeftmost wordLeftmost word+1Leftmost word+2Note: Example for data size = 1 wordYou can also add the following functions.Enable/Disable Editing On the PT for Each Record IndividuallyYou can enable or disable (i.e., “Lock”) the editing operation on the PT for eachrecord individually using the lock function set with the Support Tool. Use thisfunction when you want to disable editing (i.e., do not want the values changedfrom the initial values) for a specific record.
Set lock function for each record tobe locked when creating recipes using the Support Tool.Records that cannot be editedRecipe tabletitleRecord 1Record 2Record 3Parameter 1Parameter 2Parameter 3223Section 2-14RecipesInterlock FunctionWhile a specified host bit (interlock bit) is OFF, you can prohibit all recipe touchswitch operations.Write (and Read) switch is disabled.PTRecord selection is not possible.Recipe table titleParameter 1 Parameter 2 Parameter 3Record 1Record 2Record 3Writing record dataPCCPU UnitWrite Prohibit Interlock Bit: OFFWrite Notification FunctionYou can specify a PC bit (Write Notification Flag) to check that the selected record parameters have been written to the host word specified as the write destination by pressing the Write touch switch.
The Write Notification Flag is turnedON after the parameters have finished being written.When the host is notified, the flag is reset to OFF (i.e., strobe notification). Youcan specify any area in the host.Example224This flag can be used as follows:• Sending data to another area within the host: In the host’s ladder program, setthe flag as the input condition for a send instruction that sends the data writtento the host to another area within the host (e.g., to record data set from the PT).• Write Completed Check Lamp: You can check that writing operation has beencompleted by setting the flag as the input condition in the ladder program forturning ON another bit (creating a “Write Completed Flag”), and allocating thisbit to the lamp on the PT.Section 2-14RecipesSelect a record and press the Write switch.PT2Recipe table titleRecord 1Record 2Record 3Parameter 150Parameter 2Parameter 3250350Example: Transfer write completeddata to another area in the PC.Ladder programWriting record dataWriteNotificationFlagPCCPU UnitWrite Notification Flag:OFF→ON→OFFRecord of datawritten from PTMemoryTransfer toanother areausing BMOV etc.Reference: Recipe tables and recipe elements are stored in flash memory within the PT andmemory (recipe data memory) that is backed up by a battery.
(The Battery is anoption for the NT21.) The way that the data is stored is explained below and illustrated in the diagram following.1, 2, 3...1. When downloading from the Support Tool, the downloaded recipe tablesand screen data (including recipe elements) are stored in flash memory inthe PT.
Simultaneously, the data is copied to recipe data memory, which ismemory backed up by battery within the PT.2. When editing data using the PT, or sending data to the host word, recipedata memory is updated.3. When uploading to the Support Tool, the recipe tables in flash memory areupdated (i.e., overwritten) using the contents of the recipe data memory.4.
You can restore recipe data memory to the values held in flash memory atthat time using the recipe table initialization procedure in the System Menuon the PT. (If upload operation has not been performed since the data wasdownloaded from the Support Tool, the values will be restored to the initialvalue set at the Support Tool.)225Section 2-14RecipesSupport Tool(1) Downloading(3) UploadingPTFlash memoryRecipe data memory(Battery backup)Updated data(3) Overwritingduring uploading(1) Copying during downloadingor(4) Copying during recipe tableinitialization in the System Menu.(2) Editing on PT(2) Data transfer with PCPC2-14-3 Limits• You can register a maximum of 1 recipe element per screen. You cannot register recipe elements in window screens.
If using 8 overlapping screens, you canregister a maximum of 8 recipe elements.• You can register a maximum of 200 recipes in one screen data file, to a recipedata capacity of 40 Kbytes maximum. You can determine the recipe data capacity using the following formula.Data capacity = Total parameter size x Number of records x Number of recipe dataYou can specify parameter size as 1 word ( = 2 bytes) or 2 words ( = 4 bytes)for each parameter separately.• The range of values that can be entered using the Support Tool is fixed at–2,147,483,648 to 2,147,483,647 (regardless of settings such as storage typeand display method, which are explained below).226Section 2-14Recipes2-14-4 Common AttributesThe recipe table properties and recipe element properties are as follows:Recipe Table PropertiesSpecifying Individual Recipe Data (Recipe Settings)Recipe Entry Number (Number)Automatically allocated (1 to 200)Recipe Data Name (Name)Character string (12 alphanumeric characters)CommentCharacter string (24 alphanumeric characters)No.
of Records1 to 1000No. of Parameters1 to 200Storage Type (for words on host)BCD, binary, or system (See note.)Note System: Depends on numeral storage type in the PT configuration settingon the Support Tool.Host Address SettingThe words on the host for reading and writing recipe data (in record units).PC AddressYou can read and write recipe data (in record units) from/to words of one record(number of parameters × each data length) specified with this address as thestart address. Refer to Words Allocated to Records below for details.You can read and write 400 words max., starting from the start word (when thereare 200 parameters and all parameters are 2 words long)I/O comments express details about words allocated in the host.I/O CommentCharacter strings 16 characters max.Specifying Individual RecordsSerial Number (No.)Automatically allocated (1 to 1000)Record Name (Record)Character string (12 characters max.)Lock (Enable or disableediting from PT)Specify whether editing is enabled or disabled (i.e., read only) for operations on the PT.Selected: Editing disabled; Not selected: Editing enabledSpecifying Individual ParametersParameter Name(Parameter)Character string (8 characters max.)WordsAllocated size of host words (1 word or 2 words)Dec/HexDisplay format of numerical data (decimal or hexadecimal)SignSelect whether to enable or disable input of negative numbers.
(Disabled when displayformat is set to hexadecimal.)Selected: Enabled; Not selected: DisabledValueParameters that can be set using the Support Tool–2,147,483,648 to 2,147,483,647WidthIntegersNumber of digits in the integer1 word: 1 to 5, 2 words: 1 to 10DecimalsNumber of decimal digits1 word: 0 to 4, 2 words: 0 to 9Total 10 digits max.227Section 2-14RecipesRecipe Element PropertiesGeneral propertiesPositionSize of Recipe Data (Size)Coordinates of upper left of recipeLength and height of recipe data display area (Unit: DPI). Display only(editing disabled).Show ParametersShow Serial NumberDisplay Line QtyShow/HideShow/HideNT21: 1 to 6NT31/31C: 1 to 11NT631/631C: 1 to 23No.
of ParametersNT21: 1 to 6NT31/31C: 1 to 7NT631/631C: 1 to 15Param Column WidthRecord Name WidthScale1 to 121 to 12Scale at which the text is displayed (Enlarged display, page 99).1 1 (Equal), 1 2 (High), 2 1 (Wide), 2 2, 3 3,4 4, 8 8SmoothingWhether or not smoothing is used for text with a scale of 2 2 or larger(Smoothing, page 100).Check mark (smoothing executed)/No check mark (smoothing not executed)Specifying colorFrame ColorForegroundgC lColorRecord nameParameter nameParameter dataBackgroundgC lColorRecord nameParameter nameParameter data228Black, blue, red, magenta (violet), green, cyan(aquamarine), yellow, white(Colors except white and black are available only withthe NT31C and NT631C.)Black, blue, red, magentagreen, cyang((violet),) gy(i ) yellow,llhit(aquamarine),white(Colors except white and black are available only withthe NT31C and NT631C.)Black, blue, red, magentag((violet),) ggreen, cyany((aquamarine),i ) yellow,llwhitehit(Colors except white and black are available only withthe NT31C and NT631C.)Section 2-14RecipesSetting propertiesRecipe Entry1 to 200 (recipe data number being referred to)Show Window/Keyboard ScreenScreen No.Local 1 (keyboard)Note Multiple recipe elements can reference recipedata with the same number.Local window 1/local window 2Select to control local window 1Specify number of window screen to be controlled; 1 to3,999Select to control local window 2Specify number of window screen to be controlled; 1 to3,999Local 2ScreenPositionLocal 1 and 2 sharedX-coordinate of bottom left corner of window(Specification must be multiple of 20)NT21: 0 to 240NT31/31C: 0 to 300NT631/631C: 0 to 620Y-coordinate of bottom left corner of window(Specification must be (multiple of 20)–1)NT21: 19 to 159NT31/31C: 19 to 239NT631/631C: 19 to 479Screen AttributesReplace Local WindowWindow control details open (fixed)Specify operation when another window at thespecified type (local 1/local 2) is already open.Select to enable switching, and clear to disableswitching.Write Notification OperationPC Bit AddressI/O CommentSpecify the PC bit address allocated to the Write Notification Flag.Comment explaining details of allocated bit.