Changes for page 06 Data Tool

Last modified by Jett on 2025/02/18 16:43

From version 24.2
edited by Stone Wu
on 2022/08/06 10:10
Change comment: (Autosaved)
To version 19.3
edited by Stone Wu
on 2022/08/02 11:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -180,23 +180,26 @@
180 180  
181 181  * **Recipe Folder:** Give Recipe folder name (It can be used, when setting Recipe display object);
182 182  ** **✎Note: **Recipe Folder name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), (' ') and other non-English characters;
183 -* **Group: **Set the recipe group number, the number of elements, the data format. The data format has 8 modes: 16-bit signed decimal, 16-bit unsigned decimal, 16-bit BCD, 32-bit signed decimal, 32-bit unsigned decimal, 16-bit BCD, 32-bit floating point number, 64-bit (double-precision) floating-point number, string, and the choice of data integer and decimal places.
183 +* **Group: **It sets the groups' initial number of recipe;
184 184  * **Elements:** It sets members' initial number of each group;
185 185  * **Data Format:** There are some formats can be supported in Recipe, like 16-bit BCD, 16-bit signed, 16-bit unsigned, 32-bit BCD, 32-bit signed, 32-bit unsigned, 32-bit floating and string. If each member requires different formats, please set it one by one in form;
186 186  * **Decimal: **It sets integer and scale digits;
187 187  
188 -**Mode Selection: **Select Simple or Advanced mode. Recipe file is divided into simple mode and advanced mode. Only in advanced mode can exist multiple recipe files used at the same time. (used wiht file list onject), Simple mode can only support a recipe file; Aadvanced mode can insert group information and reordered.
188 +**Mode Selection**
189 189  
190 -Function address: all operations are done through function addresses, different operating value is as follows:
190 +Users could select Simple or Advanced mode.
191 191  
192 -* = 0: no operation;
193 -* = 1: trigger read data;
194 -* = 2: new trigger or update (If there is group number, it updates.)
195 -* = 4: insert (only valid in advanced mode)
196 -* = 8: delete (Delete according to the writing group number. If write and read address are consistent, refer to the reading group number);
197 -* = 16: delete and sorted ((Delete according to the writing group number. If write and read address are consistent, refer to the reading group number)
198 -* = 64: import CSV recipe file.
192 +**Function Address:**
199 199  
194 +All the operations for recipe is by this address
195 +
196 +* =0 No operation.
197 +* =1 Read data from recipe.
198 +* =2 Insert a new group or write data to exist group.
199 +* =4 Inserted (only advanced mode).
200 +* =8 Delete.
201 +* =16 Delete and Sequence.
202 +
200 200  **Use Multiple File**
201 201  
202 202  Check it to use more than one recipe file in HMI, but this option only valid in [Advanced mode];
... ... @@ -241,136 +241,27 @@
241 241  **✎Note: **This function only supported in HMI+, i series, ie series, ig series.
242 242  )))
243 243  
244 -[[image:image-20220805174501-1.jpeg]]
247 +**Operating Procedures**
245 245  
246 -[[image:image-20220805174543-2.jpeg]]
249 +* Click "Project"→"Bit Alarm" as below shows.
247 247  
248 -**Recipe Demo Download Link: **[[Download>>url:https://drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR]]
249 -
250 -
251 -== Calling CSV recipe file ==
252 -
253 -**Overview**
254 -
255 -The recipe files used by the regular series HMI are in CSV format, and the recipe files used by the current series HMI are in database format. In order to be compatible with CSV format recipe files on the current series of HMI, please follow the instruction when using it.
256 -
257 -**Operations**
258 -
259 -Create the recipe as it is configured. The default recipe file name is “1. rcp2”, which is placed in folder 123, as shown in the following figure.
260 -
261 261  (% style="text-align:center" %)
262 -(((
263 -(% style="display:inline-block" %)
264 -[[Figure 1>>image:image-20220806100702-2.jpeg]]
265 -)))
252 +[[image:8.Basic Function_html_a7d1546a3a9f752f.png||height="144" width="535" class="img-thumbnail"]]
266 266  
267 -2. Place a "Recipe Record Display" object and a "File List" object on the project screen for viewing the recipe files in the folder 123, and the address configuration in the object should be consistent with the above configuration.
254 +* Click "Add" button to open "Recipe" setting window.
268 268  
269 269  (% style="text-align:center" %)
270 -[[image:image-20220806100753-3.jpeg]]
257 +[[image:8.Basic Function_html_8f04e01413981054.png||height="307" width="554" class="img-thumbnail"]]
271 271  
272 -By configuring the address in the table and combining the recipe function, the CSV recipe files of regular series are imported.
259 +* Set basic settings for recipe.
260 +* Select mode according to actual condition.
261 +* Other settings can be set according to the actual situation.
262 +* Click "OK“ button to complete settings.
273 273  
274 -|=Address range|=Object type|=Address function
275 -|HSW1050 to 1065|Text input object|Enter the CSV recipe file name to import
276 -|HSW1066|Numerical input object|Import CSV file type:(((
277 -* = 0: Custom CSV file (all data in the file is valid)
278 -* = 1: Normal recipe file for regular series HMI (the data in line 1 of the file is invalid)
279 -* = 2: Special recipe file for regular series HMI (the data in line 1 and 2 and column 1 of the file are invalid)
280 -)))
281 -|HSW1067|Numerical input object|(((
282 -Where the CSV file is saved:
264 +**Recipe Demo Download Link**
283 283  
284 -* = 0: In the CsvFile directory of U disk
285 -* = 1: In the CsvFile directory of the SD card
266 +[[https:~~/~~/drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR>>url:https://drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR]]
286 286  
287 -The path for offline simulation is: C:\ HMIEmulation\ CustomFileDir\ CsvFile
288 -)))
289 -|HSW242|Numerical input object|Returns the results of the csv import:(((
290 -* = 37: CSV file imported successfully
291 -* = 38: CSV file import failed
292 -)))
293 -
294 -**Select CSV recipe file (take U disk as an example):**
295 -
296 -* Using the file list object, select the recipe file in the U disk by path, and configure the recipe file name address directly to the special address HSW1050 in the above table, which can directly detect the CSV file in the U disk; Select the recipe file in the file list, and write the selected recipe file name into the recipe file name: In HSW1050 to 1065.
297 -* Use the special address of the above table to configure the path of the CSV file: HSW106, configure recipe file name: HSW1050 to1065
298 -
299 -(2Use HSW1066 address to select the corresponding CSV recipe file type.
300 -
301 -
302 - A) HSW1066 = 0: Import a user-defined CSV recipe file (all data in the custom CSV file must be valid);
303 -
304 -
305 -
306 - B) HSW1066=1: Import the normal recipe file of regular series HMI (the data in line 1 of the file is invalid);
307 -
308 -
309 -The data in line 1 of the normal recipe file is used to define the format of the recipe and will not be imported into the recipe table as recipe information, but you must ensure that the data in line 1 representing the elements and number of groups is correct, otherwise the CSV recipe file will fail to be imported.
310 -
311 -
312 -
313 - C) HSW1066=2: Import the special recipe file of regular series HMI (the data in line 1, 2 and column 1 of the file are invalid);
314 -
315 -
316 -In the special recipe file, line 1 is used to define the format of the recipe, line 2 is used to define the element name of the recipe, and column 1 is used to define the group name of the recipe, so lines 1, 2 and column 1 of the special recipe will not be imported into the recipe table as recipe information. During use, ensure that the data such as the number of groups and elements representing the recipe format in the first line are correct, otherwise the import of the CSV recipe file will fail.
317 -
318 -
319 -
320 -
321 -(3) Perform import
322 -
323 -
324 - After configuring the saving path of CSV recipe file, the name of recipe file and the type of recipe according to the above steps, the method of transferring CSV file to DB file is as follows:
325 -
326 -
327 - A) Configure the DB recipe file name by text input object: HDW500 = 3 (recipe file configured in Figure 1),
328 -
329 -
330 - B) Set the recipe function address to: HDW1000 = 64 (the function address configured in Figure 1),
331 -
332 -
333 - C) Transform the CSV recipe file in U disk into DB recipe file with file name “3.rcp2”.
334 -
335 -
336 -5. DB recipe file for storing CSV data:
337 -
338 -
339 -(1) Simple mode:
340 -
341 -
342 - When the recipe file is set to simple mode, the file of CSV data is saved as the DB recipe file of 1. rcp2 by default.
343 -
344 -
345 -(2) Advanced mode:
346 -
347 -
348 - When the recipe is enabled in advanced mode (multi-file recipe), the imported CSV file data is saved to the file recorded at the recipe file address HDW500 (the address configured in Figure 1).
349 -
350 -
351 -6. Import results:
352 -
353 -
354 -(1) HSW242 = 37: Import succeeded;
355 -
356 -
357 -(2) HSW242 = 38: Import failed.
358 -
359 -
360 -
361 -3. Precautions:
362 -
363 -
364 -~1. Ensure that the data format of each element in the CSV file is the same as the recipe data format set in the software (DB), and ensure that the elements of each row in the valid data area is the same as the elements set in the software (DB);
365 -
366 -
367 -2. When the elements of a line in CSV file is more than the elements set in the software (DB), it will prompt the import failure;
368 -
369 -
370 -3. When the CSV file imported into the regular series HMI is a recipe file, the data representing the recipe format (elements, number of groups, whether it is a special recipe) in line 1 must be correct, otherwise the import of CSV file will fail.
371 -
372 -
373 -
374 374  = (% style="color:inherit; font-family:inherit; font-size:29px" %)**Traditional recipe**(%%) =
375 375  
376 376  Traditional recipe is composed of multiple groups of information with the same structure and different data. Due to the similarity of these information, you could edit them into a set of recipes to facilitate the transfer of data between HMI and PLC.
... ... @@ -527,7 +527,7 @@
527 527  
528 528  Different from TrendChart, uses need to set history XY curve items in project. Please click "Project"-> "History XY Plot" to open the setting screen.
529 529  
530 -Recipe function settings will be display in "[[History XY Plot>>path:https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HHistoryXYplot]]" object.
424 +Recipe function settings will be display in "[[History XY Plot>>path:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HHistoryXYplot]]" object.
531 531  
532 532  (% style="text-align:center" %)
533 533  [[image:历史XY 2.png||class="img-thumbnail"]]
... ... @@ -688,10 +688,17 @@
688 688  * The channel name does not include these 5 special characters: ", ", "| "," <", "> "," & ".
689 689  * The data would be overwritten automatically if the capacity exceed the maximum capacity. For 8000/9000 series, the size of single file cannot exceed 300MB, and total capacity of data records cannot exceed 1000MB. For 3000/3000i/3000ie series, the size of single file cannot exceed 4MB, and total capacity of data records cannot exceed 10MB. If the total amount exceeds the range , an error will be prompted when the project is compiled.
690 690  
691 -You could click here to jump to object "[[Data Record Display>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HDatarecorddisplay]]"
585 +You could click here to jump to object "[[Data Record Display>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HDataRecordDisplay]]"
692 692  
693 -= **User permission** =
587 +(% class="wikigeneratedid" id="H" %)
588 +**PI Data Record Demo Download**
694 694  
590 +**[[Demo Link>>https://drive.google.com/open?id=1h7VUsIJqH4LIRjjtphbv9Kmzd6jUMPtE]]**
591 +
592 +**[[Video Link>>https://drive.google.com/open?id=1h7VUsIJqH4LIRjjtphbv9Kmzd6jUMPtE]]**
593 +
594 += **{{id name="_Toc3497"/}}{{id name="_User_Permission"/}}User Permission** =
595 +
695 695  **Introduction**
696 696  
697 697  1. User permission is one of expansion function in PI Series HMI; it provides multi-level of permission for control HMI operations.
... ... @@ -699,14 +699,11 @@
699 699  1. Operating record: it records user operations information, the records files are saved in HMI flash; its path is [~\~\flash~\~\UserOperationLogs.db].
700 700  1. When it is on simulator mode, the files are saved in C disk, its path is [C:~\~\WECON\UserMgrFile\UserOperationLogs.db].
701 701  
702 -(% class="box infomessage" %)
703 -(((
704 704  ✎**Note: **The user name and password must be unique.
705 -)))
706 706  
707 -== Settings ==
605 +== **Settings** ==
708 708  
709 -Open PIStudio software, then operate as the following figure.
607 +**Open PIStudio software, then operate as the following figure.**
710 710  
711 711  (% style="text-align:center" %)
712 712  [[image:用户权限 1.png||class="img-thumbnail"]]
... ... @@ -725,26 +725,25 @@
725 725  * When the configured file does not have the administrator account, a new user can be added  through "Funtion address" and set as the administrator.
726 726  * If you select hidden fucntion when configuring user account, the account would display as "~*~*~*~*~*~*" in the list. You only need to enter the password of the corresponding hidden user to log in.
727 727  
728 -== Object permission configuration ==
626 +== **Object permission configuration** ==
729 729  
730 730  (% style="text-align:center" %)
731 731  [[image:用户权限 2.png||class="img-thumbnail"]]
732 732  
733 -**Operation Procedure of Object Permission**
631 +{{id name="OLE_LINK3"/}}{{id name="OLE_LINK4"/}}**Operation Procedure of Object Permission**
734 734  
735 735  1. Open the object setting windows;
736 -1. Select "Security" windows;
737 -1. Check the "User Permission";
738 -1. Select "Level" to set permission level;
739 -1. Enter "Log Message", it is for operation records, if it was empty, the operation for this object would be not be recorded;
740 -1. Select the "Access Denied Setting" mode;
634 +1. Select [Security] windows;
635 +1. Check the [User Permission];
636 +1. Select [Level] to set permission level;
637 +1. Enter [Log Message], it is for operation records, if it was empty, the operation for this object would be not be recorded;
638 +1. Select the ~[[[Access Denied Setting>>path:#_Security]]] mode;
741 741  
742 742  **Log information description**
743 743  
744 -A combination of Chinese characters, numbers, and uppercase and lowercase letters can be entered, and the number does not exceed 63.
642 +1. A combination of Chinese characters, numbers, and uppercase and lowercase letters can be entered, and the number does not exceed 63.
643 +1. The format of insert variable:{variable address, data format}. e.g., {HDW100,UW2.1}.
745 745  
746 -The format of insert variable:{variable address, data format}. e.g., {HDW100,UW2.1}.
747 -
748 748   The data format are as follows.
749 749  
750 750  (% class="table-bordered" %)
... ... @@ -760,7 +760,8 @@
760 760  |W|Single word
761 761  |D|Double word
762 762  
763 -Examples.
660 +(% start="3" %)
661 +1. Examples.
764 764  
765 765  * Unsigned decimal, BCD, 32-bit float and Signed decimal are as follows.
766 766  
... ... @@ -883,7 +883,7 @@
883 883  
884 884  [[https:~~/~~/drive.google.com/open?id=1qOiEDvo_1H1YqpoLDpS77dGaAFm8nrGq>>url:https://drive.google.com/open?id=1qOiEDvo_1H1YqpoLDpS77dGaAFm8nrGq]]
885 885  
886 -= Message prompt =
784 += **{{id name="_Toc29015"/}}{{id name="_MessagePrompt"/}}Message Prompt** =
887 887  
888 888  A message box is a window used to show some prompts or warnings to users. For example, the application process a task in the process of pop-up message box, suggesting that "U disk has been detected", then the customer can carry out data dump function.
889 889  
... ... @@ -950,10 +950,12 @@
950 950  
951 951  For example:
952 952  
953 -* In 3000ig's Cloud, the monitoring tags upload to the Cloud in real time is limited to 100.
954 -* For 3000ig's Alarm, the Alarm records of word alarms and bit alarms upload to Cloud is limited to 20. (See [["Alarm">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HAlarm]] for details).
955 -* For 3000ig's Data record, the Data records upload to Cloud is limited to 50. (For details, please refer to [["Data Record">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HDataRecord]]).
851 +~1. In 3000ig's Cloud, the monitoring tags upload to the Cloud in real time is limited to 100.
956 956  
853 +2. For 3000ig's Alarm, the Alarm records of word alarms and bit alarms upload to Cloud is limited to 20. (See [["Alarm">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HAlarm]] for details).
854 +
855 +3. For 3000ig's Data record, the Data records upload to Cloud is limited to 50. (For details, please refer to [["Data Record">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HDataRecord]]).
856 +
957 957  **(2) Server Selection**
958 958  
959 959   **Server**: China, ASEAN, and Europe.
image-20220805170000-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -1.1 KB
Content
image-20220805170046-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -34.5 KB
Content
image-20220805170102-3.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -58.3 KB
Content
image-20220805170147-4.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -58.3 KB
Content
image-20220805170232-5.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -58.3 KB
Content
image-20220805174501-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -79.3 KB
Content
image-20220805174543-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -80.0 KB
Content
image-20220806100635-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -85.6 KB
Content
image-20220806100702-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -131.3 KB
Content
image-20220806100753-3.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -10.5 KB
Content