Changes for page 06 Data Tool
Last modified by Jett on 2025/02/18 16:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Content
-
... ... @@ -250,62 +250,67 @@ 250 250 251 251 == Calling CSV recipe file == 252 252 253 -**Overview** 254 254 254 +~1. Overview: 255 + 256 + 255 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 256 257 -**Operations** 258 258 259 - Createthe recipeas it is configured. The defaultrecipe file name is “1. rcp2”, which is placed in folder 123, as shownin the following figure.260 +2 Operations 260 260 261 -(% style="text-align:center" %) 262 -((( 263 -(% style="display:inline-block" %) 264 -[[Figure 1>>image:image-20220806100702-2.jpeg]] 265 -))) 266 266 263 +~1. 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. 264 + 265 + 266 + 267 +Figure 1 268 + 269 + 267 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. 268 268 269 -(% style="text-align:center" %) 270 -[[image:image-20220806100753-3.jpeg]] 271 271 272 -By configuring the address in the table and combining the recipe function, the CSV recipe files of regular series are imported. 273 273 274 -|=Address range|=Object type|=Address function 274 + 275 +3. By configuring the address in the table and combining the recipe function, the CSV recipe files of regular series are imported. 276 + 277 + 278 +|Address range|Object type|Address function 275 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 -))) 280 +|HSW1066|Numerical input object|Import CSV file type: 281 +~= 0: Custom CSV file (all data in the file is valid) 282 +~= 1: Normal recipe file for regular series HMI (the data in line 1 of the file is invalid) 283 +~= 2: Special recipe file for regular series HMI (the data in line 1 and 2 and column 1 of the file are invalid) 281 281 |HSW1067|Numerical input object|((( 282 282 Where the CSV file is saved: 286 +~= 0: In the CsvFile directory of U disk 287 +~= 1: In the CsvFile directory of the SD card 283 283 284 -* = 0: In the CsvFile directory of U disk 285 -* = 1: In the CsvFile directory of the SD card 286 - 287 287 The path for offline simulation is: C:\ HMIEmulation\ CustomFileDir\ CsvFile 288 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 -))) 291 +|HSW242|Numerical input object|Returns the results of the csv import: 292 +~= 37: CSV file imported successfully 293 +~= 38: CSV file import failed 293 293 294 - **Select CSV recipe file (take U disk as an example):**295 +4. Select CSV recipe file (take U disk as an example): 295 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 297 298 -Use the speci al address ofthe above tabletoconfigure thepathofthe CSV file:HSW106,configure recipe file name: HSW1050 to1065298 +(1) 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, the configuration is shown in the following figure. 299 299 300 -Use HSW1066 address to select the corresponding CSV recipe file type. 301 301 302 - *HSW1066=0:Importa user-definedCSV recipe file(alldatain thecustomCSV filemustbevalid);301 + Use the special address of the above table to configure the path of the CSV file: HSW106, configure recipe file name: HSW1050 to1065 303 303 304 -(% style="text-align:center" %) 305 -[[image:image-20220806101129-5.jpeg]] 306 306 307 - *HSW1066=1:Import thenormalrecipefile ofregularseriesHMI (thedatainline1 ofthe fileis invalid);304 +(2) Use HSW1066 address to select the corresponding CSV recipe file type. 308 308 306 + 307 + A) HSW1066 = 0: Import a user-defined CSV recipe file (all data in the custom CSV file must be valid); 308 + 309 + 310 + 311 + B) HSW1066=1: Import the normal recipe file of regular series HMI (the data in line 1 of the file is invalid); 312 + 313 + 309 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 310 311 311
- 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
- image-20220806101048-4.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -226.9 KB - Content
- image-20220806101129-5.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Stone - Size
-
... ... @@ -1,1 +1,0 @@ 1 -168.6 KB - Content