Changes for page 06 Data Tool

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

From version 28.1
edited by Karen
on 2023/06/07 09:29
Change comment: There is no comment for this version
To version 19.2
edited by Hunter
on 2022/07/29 14:59
Change comment: Update document after refactoring.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Karen
1 +XWiki.Hunter
Content
... ... @@ -3,21 +3,22 @@
3 3  
4 4  = **Alarm** =
5 5  
6 -== Bit alarm ==
6 +== **Bit Alarm** ==
7 7  
8 -Click "Project""Bit Alarm", it is displayed as the following figure.
8 +Click "Project"->"Bit Alarm", it is displayed as the following figure.
9 9  
10 10  (% style="text-align:center" %)
11 11  [[image:位报警 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
12 12  
13 -**Group No.: **Group number of Bit alarm. The name is unique and cannot be duplicated.
13 +**(1) Group No.: **Group number of Bit alarm. The name is unique and cannot be duplicated.
14 14  
15 -**Bit Address: **Bit address of alarm monitoring
15 +**(2) Bit Address: **Bit address of alarm monitoring
16 16  
17 -* **Record bit alarm by default:**  Whether to record the alarm history data of bit alarm, if checked, it will be saved in the designated storage location.
18 -* **Not save alarm OFF:** If checked, after the alarm is dismissed, the corresponding alarm records will be deleted from the log file.
17 +(% start="1" %)
18 +1. **Record bit alarm by default:**  Whether to record the alarm history data of bit alarm, if checked, it will be saved in the designated storage location.
19 +1. **Not save alarm OFF:** If checked, after the alarm is dismissed, the corresponding alarm records will be deleted from the log file.
19 19  
20 -**Upload to Cloud: **The data upload by "bit alarm" is stored in the Cloud and it is alarm data. (Only ig series and 8000/9000 series with -R after system upgrade are supported)
21 +**(3) Upload to Cloud: **The data upload by "bit alarm" is stored in the Cloud and it is alarm data. (Only ig series and 8000/9000 series with -R after system upgrade are supported)
21 21  
22 22  **✎Note:**
23 23  
... ... @@ -31,26 +31,21 @@
31 31  |(% style="width:79px" %)3000ig|(% style="text-align:center; width:276px" %)20
32 32  |(% style="width:79px" %)8000ig|(% style="text-align:center; width:276px" %)200
33 33  
34 -(% class="table-bordered" style="margin-left:auto; margin-right:auto" %)
35 -|= |=
36 -| |
37 -| |
35 +**(4) Alarm Condition:** It sets alarm trigger condition, there are two types: alarm when ON and alarm when OFF.
38 38  
39 -**Alarm Condition:** It sets alarm trigger condition, there are two types: alarm when ON and alarm when OFF.
37 +**(5) Alert: **It is used to mark whether the alarm has occurred. if an alarm occurs, the address of "control bit" will be written to 1. If "clear alert when alarm OFF" is checked, the address of "control bit" will be written to 0.
40 40  
41 -**Alert: **It is used to mark whether the alarm has occurred. if an alarm occurs, the address of "control bit" will be written to 1. If "clear alert when alarm OFF" is checked, the address of "control bit" will be written to 0.
39 +**(6) Beep when alarm ON: **The beep works when the alarm is triggered. If "beep once" is checked, bit address alarm only beep once and stop.
42 42  
43 -**Beep when alarm ON: **The beep works when the alarm is triggered. If "beep once" is checked, bit address alarm only beep once and stop.
41 +**(7) Content: **It is used for setting alarm content (command).
44 44  
45 -**Content: **It is used for setting alarm content (command).
43 +**(8) Alarm Screen: **Pop-up alarm screen (it need to be sub-screen);
46 46  
47 -**Alarm Screen: **Pop-up alarm screen (it need to be sub-screen);
45 +1. **Position: **The location of the screen alarm display.
46 +1. **Pop-up Interval: **The time of reopen the alarm screen when alarm screen closed.
47 +1. **Pop-up once: **Pop up alarm screen once, and the screen would not pop up again
48 +1. **Close window when alarm off: **Automatically close the alarm screen when alarm off.
48 48  
49 -* **Position: **The location of the screen alarm display.
50 -* **Pop-up Interval: **The time of reopen the alarm screen when alarm screen closed.
51 -* **Pop-up once: **Pop up alarm screen once, and the screen would not pop up again
52 -* **Close window when alarm off: **Automatically close the alarm screen when alarm off.
53 -
54 54  **✎Note:**
55 55  
56 56  * If the "cloud" function is enabled and "upload to cloud" is checked, the communication port of the address in the configuration of the imported bit alarm record must be the same as that of the current project; otherwise, it cannot be used normally.
... ... @@ -58,40 +58,42 @@
58 58  
59 59  **Operating Procedures of Adding One Alarm**
60 60  
61 -* Click "Project""Bit Alarm" as below shows.
57 +1. Click "Project"->"Bit Alarm" as below shows.
62 62  
63 63  (% style="text-align:center" %)
64 64  [[image:8.Basic Function_html_5f8da20315334bac.png||data-xwiki-image-style-alignment="center" height="144" width="539" class="img-thumbnail"]]
65 65  
66 -* Click "Add" button to open "Bit Alarm" setting window.
62 +(% start="2" %)
63 +1. Click "Add" button to open "Bit Alarm" setting window.
67 67  
68 68  (% style="text-align:center" %)
69 69  [[image:8.Basic Function_html_94a019683b506e15.png||data-xwiki-image-style-alignment="center" height="307" width="554" class="img-thumbnail"]]
70 70  
71 -* Set "Bit Address".
72 -* Set "Alarm Condition".
73 -* Set "Content".
74 -* Other settings can be set according to the actual situation".
75 -* Click "OK" button to complete settings.
68 +(% start="3" %)
69 +1. Set "Bit Address".
70 +1. Set "Alarm Condition".
71 +1. Set "Content".
72 +1. Other settings can be set according to the actual situation".
73 +1. Click "OK" button to complete settings.
76 76  
77 -== Word alarm ==
75 +== **Word Alarm** ==
78 78  
79 79  Word alarm is to monitor the word address of a device. If the data meets the set conditions, an alarm will be generated.
80 80  
81 -Click "Project""Word alarm", it is displayed as the following figure.
79 +Click "Project"->"Word alarm", it is displayed as the following figure.
82 82  
83 83  (% style="text-align:center" %)
84 84  [[image:字报警 1.png||class="img-thumbnail"]]
85 85  
86 -**Alarm Name:** You can set alarm name for it. Alarm Name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), (' ') and other non-English characters.
84 +**(1) Alarm Name:** You can set alarm name for it. Alarm Name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), (' ') and other non-English characters.
87 87  
88 -**Alarm Address: **It is used for setting word address for word alarm, such as HDW0.
86 +**(2) Alarm Address: **It is used for setting word address for word alarm, such as HDW0.
89 89  
90 -**Data Format: **16-bit unsigned decimal, 16-bit signed decimal, 16-bit BCD, 32-bit unsigned decimal, 32-bit signed decimal, 32-bit BCD, 32-bit float.
88 +**(3) Data Format: **16-bit unsigned decimal, 16-bit signed decimal, 16-bit BCD, 32-bit unsigned decimal, 32-bit signed decimal, 32-bit BCD, 32-bit float.
91 91  
92 -**Group No.: **Group number of word alarm. The name is unique and cannot be duplicated.
90 +**(4)  Group No.: **Group number of word alarm. The name is unique and cannot be duplicated.
93 93  
94 -**Upload to Cloud: **The data upload by "word alarm" is stored in the Cloud and it is alarm data. (Only ig series and 8000/9000 series with -R after system upgrade are supported)
92 +**(5) Upload to Cloud: **The data upload by "word alarm" is stored in the Cloud and it is alarm data. (Only ig series and 8000/9000 series with -R after system upgrade are supported)
95 95  
96 96  **✎Note:**
97 97  
... ... @@ -105,11 +105,11 @@
105 105  |(% style="width:79px" %)3000ig|(% style="text-align:center; width:276px" %)20
106 106  |(% style="width:79px" %)8000ig|(% style="text-align:center; width:276px" %)200
107 107  
108 -**Record alarm:**  Whether to record the alarm history data of word alarm, if checked, it will be saved in the designated storage location.
106 +**(6) Record alarm:**  Whether to record the alarm history data of word alarm, if checked, it will be saved in the designated storage location.
109 109  
110 -**Not save alarm OFF:** If checked, after the alarm is dismissed, the corresponding alarm records will be deleted from the log file.
108 +**(7) Not save alarm OFF:** If checked, after the alarm is dismissed, the corresponding alarm records will be deleted from the log file.
111 111  
112 -**Alarm Condition**: Alarm is triggered when designated address meets the alarm condition, it provides four conditions;
110 +**(8) Alarm Condition**: Alarm is triggered when designated address meets the alarm condition, it provides four conditions;
113 113  
114 114  1. **High alarm:** Alarm is triggered when it reaches high limit. It can be a constant or a variable
115 115  1. **Low alarm:** Alarm is triggered when it reaches low limit. It can be a constant or a variable
... ... @@ -116,11 +116,11 @@
116 116  1. **Range alarm:** Alarm is triggered when it exceeds the range. It can be a constant or a variable
117 117  1. **Equivalent alarm: **Alarm is triggered when the value equals to the given data. It can be a constant or a variable
118 118  
119 -**Alarm Info: **It is used for setting alarm content (command);
117 +**(9) Alarm Info: **It is used for setting alarm content (command);
120 120  
121 -**Alert: **It is used to mark whether the alarm has occurred. if an alarm occurs, the address of "control bit" will be written to 1. If "clear alert when alarm OFF" is checked, the address of "control bit" will be written to 0.
119 +**(10) Alert: **It is used to mark whether the alarm has occurred. if an alarm occurs, the address of "control bit" will be written to 1. If "clear alert when alarm OFF" is checked, the address of "control bit" will be written to 0.
122 122  
123 -**Alarm Screen: **Pop-up alarm screen (it need to be sub-screen);
121 +**(11) Alarm Screen: **Pop-up alarm screen (it need to be sub-screen);
124 124  
125 125  1. **Position: **The location of the screen alarm display.
126 126  1. **Pop-up Interval: **The time of reopen the alarm screen when alarm screen closed.
... ... @@ -127,36 +127,38 @@
127 127  1. **Pop-up once: **Pop up alarm screen once.
128 128  1. **Close window when alarm off: **Automatically close the alarm screen when alarm off.
129 129  
130 -**Beep when alarm ON: **beep works when the alarm is triggered, in the default mode, the beep works until the alarm is released.
128 +**(12) Beep when alarm ON: **beep works when the alarm is triggered, in the default mode, the beep works until the alarm is released.
131 131  
132 -**Beep once:** Beep works once, when alarm is triggered.
130 +**(13) Beep once:** Beep works once, when alarm is triggered.
133 133  
134 -**Alarm List**
132 +**(14) Alarm List**
135 135  
136 136  It displays all the word alarm lists; it will show the alarm information;
137 137  
138 138  **Operating Procedures of Adding One Alarm**
139 139  
140 -* Click "Project" "Word Alarm" as below shows.
138 +1. Click "Project"-> "Word Alarm" as below shows.
141 141  
142 142  (% style="text-align:center" %)
143 143  [[image:8.Basic Function_html_1b59522c984cd7c2.png||height="144" width="492" class="img-thumbnail"]]
144 144  
145 -* Click "AddClick" button to open "Word Alarm" setting window.
143 +(% start="2" %)
144 +1. Click [Add] button to open [Word Alarm] setting window.
146 146  
147 147  (% style="text-align:center" %)
148 148  [[image:8.Basic Function_html_942107c81fc6901c.png||height="307" width="554" class="img-thumbnail"]]
149 149  
150 -* Set Basic information of word alarm.
151 -* Set "Content".
152 -* Other settings can be set according to the actual situation.
153 -* Click "OK" button to complete settings.
149 +(% start="3" %)
150 +1. Set Basic information of word alarm.
151 +1. Set "Content".
152 +1. Other settings can be set according to the actual situation.
153 +1. Click "OK" button to complete settings.
154 154  
155 155  **HMI Alarm Demo Download Link**
156 156  
157 157  [[https:~~/~~/drive.google.com/open?id=1Llq03CMISM_1mMIfU308hxFbs4rGdQGP>>url:https://drive.google.com/open?id=1Llq03CMISM_1mMIfU308hxFbs4rGdQGP]]
158 158  
159 -= **Recipe** =
159 += **{{id name="_Toc17174"/}}{{id name="_Recipe"/}}Recipe** =
160 160  
161 161  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.
162 162  
... ... @@ -181,201 +181,104 @@
181 181  (% style="text-align:center" %)
182 182  [[image:8-1Recipe.png]]
183 183  
184 -**Basic**
184 +**(1) Basic**
185 185  
186 -* **Recipe Folder:** Give Recipe folder name (It can be used, when setting Recipe display object);
187 -** **✎Note: **Recipe Folder name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), (' ') and other non-English characters;
188 -* **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.
189 -* **Elements:** It sets members' initial number of each group;
190 -* **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;
191 -* **Decimal: **It sets integer and scale digits;
186 +1. **Recipe Folder:** Give Recipe folder name (It can be used, when setting Recipe display object);
192 192  
193 -**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 +* **✎Note: **Recipe Folder name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), (' ') and other non-English characters;
194 194  
195 -Function address: all operations are done through function addresses, different operating value is as follows:
190 +(% start="2" %)
191 +1. **Group: **It sets the groups' initial number of recipe;
192 +1. **Elements:** It sets members' initial number of each group;
193 +1. **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;
194 +1. **Decimal: **It sets integer and scale digits;
196 196  
197 -* = 0: no operation;
198 -* = 1: trigger read data;
199 -* = 2: new trigger or update (If there is group number, it updates.)
200 -* = 4: insert (only valid in advanced mode)
201 -* = 8: delete (Delete according to the writing group number. If write and read address are consistent, refer to the reading group number);
202 -* = 16: delete and sorted ((Delete according to the writing group number. If write and read address are consistent, refer to the reading group number)
203 -* = 64: import CSV recipe file.
196 +**(2) Mode Selection**
204 204  
205 -**Use Multiple File**
198 +Users could select Simple or Advanced mode.
206 206  
200 +**(3) Function Address:**
201 +
202 +All the operations for recipe is by this address
203 +
204 +* =0 No operation.
205 +* =1 Read data from recipe.
206 +* =2 Insert a new group or write data to exist group.
207 +* =4 Inserted (only advanced mode).
208 +* =8 Delete.
209 +* =16 Delete and Sequence.
210 +
211 +**(4) Use Multiple File**
212 +
207 207  Check it to use more than one recipe file in HMI, but this option only valid in [Advanced mode];
208 208  
209 -**Select language**
215 +**(5) Select language**
210 210  
211 211  The text in HMI can be in 8 languages, user can set language in here;
212 212  
213 -**Address**
219 +**(6) Address**
214 214  
215 215  1. **Group:** This address is for selecting group number;
216 216  1. **Start: **This is starting address is for reading and writing in recipe, PIStudio will automatically assigns addresses for each members;
217 217  1. **File(16 words): **This address only available when enable the Use Multiple File. This setting address is for input the recipe file's filename.
218 218  
219 -**Use Index**
225 +**(7) Use Index**
220 220  
221 221  If the value from Group address is changed, Read address will display the new data according to new group number immediately. Relatively, if the data of write address is changed, the corresponding group from table is also changed.
222 222  
223 -**Query by Element**
229 +**(8) Query by Element**
224 224  
225 225  Enable it for querying group by specify element, select a primary key from all the elements, except the group number. This element value from all groups must be unique if want to set as primary key;
226 226  
227 -(% class="box infomessage" %)
228 -(((
229 229  **✎Note: **When this option is enabled, Group address will be invalid.
230 -)))
231 231  
232 -**Use Independent Write Address**
235 +**(9) Use Independent Write Address**
233 233  
234 234  To separate Recipe read address and write address.
235 235  
236 -**Use Insert**
239 +**(10) Use Insert**
237 237  
238 238  It inserts data into the specified group, if the specified group already exists, it would not cover the original data, while it will move the original group next one after it.
239 239  
240 -**Discontinuous Address**
243 +**(11) Discontinuous Address**
241 241  
242 242  Whether enable the non-consecutive recipe operation addresses or not. If disabled, the recipe address will recover as the continuous addresses.
243 243  
244 -(% class="box infomessage" %)
245 -(((
246 246  **✎Note: **This function only supported in HMI+, i series, ie series, ig series.
247 -)))
248 248  
249 +**Operating Procedures**
249 249  
250 -**description of Adcanced mode**
251 +1) Click "Project"->"Bit Alarm" as below shows.
251 251  
252 -According to the recipe configuration information in Figure 2 above. The function address is HDW70, and each function configuration corresponds to the group number address, recipe element address and recipe file name address. The recipe information configured in figure 2 can be displayed in the table in figure 3 with the "Record Display" object.
253 -
254 -[[image:image-20220806111333-1.jpeg]]
255 -
256 -**Read recipe**: Input 1 to the file name, when the group number addresses HDW100=1 and HDW70=1 (read), the element data of the first group (ID=1) is written to the recipe address from the recipe file. As shown in Figure 3 above: HDW105=1, HHDW106=2, HDW107=3, HDW108=4, HDW109=5.
257 -
258 -**Write recipe**: Input 1 to the file name, when the group number addresses HDW101=4 and HDW70=2 (write), the data will be read from the recipe address and written to the corresponding group of the recipe file. As shown in figure 3 above: HDW110=20, HHDW111=21, HDW112=22, HDW113=23, HDW114=24. Write the data of this set to the elements of ID=4 in the recipe table (if there is no data of Group 4 in the recipe file, a new set of data will be added; If there is data of Group 4 in the original recipe, the original data will be overwritten and the latest data will be displayed in the recipe file).
259 -
260 -**Index recipe**: When the file name is input 1, when the group number address HDW102=3, the data of ID=3 (Group 3) in the recipe file will be directly displayed in the component address of the index, that is, HDW115=11, HHDW116=12, HDW117=13, HDW118=14 and HDW119=15. If the data of the index component address is modified, the modified data will be automatically filled into the table of the recipe file, that is, the data of the recipe file will be automatically updated after the data is modified.
261 -
262 -[[image:image-20220806111355-2.jpeg]]
263 -
264 -**Insert recipe**: Input 1 to the file name, when the group number addresses HDW103=3 and HDW70=4 (insert), the data of the 3rd group will be inserted, but the data of the third group already exists in the original recipe file (see Figure 3 above), then the original data will be moved down by one group, that is, the original 3rd group will become the 4th group, and so on, and HDW120=16, HHDW121=17, HDW122=18, HDW123=19 and HDW124=20 will be written into the new 3rd group of the recipe file at the same time. The results are shown in Figure 4 above.
265 -
266 -When the group number address HDW101=2 (**The delete function only works on the group number of the write function**), HDW70=8 (delete), the data in the recipe file with ID=2 (Group 2) will be deleted.
267 -
268 -When the group number address HDW101=5 (**The delete function only works on the group number of the write function**), HDW70=16 (delete and sort), the data of ID=5 (Group 5) in the recipe file will be deleted, and the original ID=6 (Group 6) data will be reordered to become the new Group 5 data, the original ID=7 (Group 7) data will be reordered to become the new Group 6 data, and so on.
269 -
270 -**Recipe Demo Download Link: **[[Download>>url:https://drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR]]
271 -
272 -== Calling CSV recipe file ==
273 -
274 -**Overview**
275 -
276 -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.
277 -
278 -**Operations**
279 -
280 -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.
281 -
282 282  (% style="text-align:center" %)
283 -(((
284 -(% style="display:inline-block" %)
285 -[[Figure 1>>image:image-20220806100702-2.jpeg]]
286 -)))
254 +[[image:8.Basic Function_html_a7d1546a3a9f752f.png||height="144" width="535" class="img-thumbnail"]]
287 287  
288 -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.
256 +2) Click "Add" button to open "Recipe" setting window.
289 289  
290 290  (% style="text-align:center" %)
291 -[[image:image-20220806100753-3.jpeg]]
259 +[[image:8.Basic Function_html_8f04e01413981054.png||height="307" width="554" class="img-thumbnail"]]
292 292  
293 -By configuring the address in the table and combining the recipe function, the CSV recipe files of regular series are imported.
261 +3) Set basic settings for recipe.
294 294  
295 -|=Address range|=Object type|=Address function
296 -|HSW1050 to 1065|Text input object|Enter the CSV recipe file name to import
297 -|HSW1066|Numerical input object|Import CSV file type:(((
298 -* = 0: Custom CSV file (all data in the file is valid)
299 -* = 1: Normal recipe file for regular series HMI (the data in line 1 of the file is invalid)
300 -* = 2: Special recipe file for regular series HMI (the data in line 1 and 2 and column 1 of the file are invalid)
301 -)))
302 -|HSW1067|Numerical input object|(((
303 -Where the CSV file is saved:
263 +4) Select mode according to actual condition.
304 304  
305 -* = 0: In the CsvFile directory of U disk
306 -* = 1: In the CsvFile directory of the SD card
265 +5) Other settings can be set according to the actual situation.
307 307  
308 -**The path for offline simulation is: C:\ HMIEmulation\ CustomFileDir\ CsvFile**
309 -)))
310 -|HSW242|Numerical input object|Returns the results of the csv import:(((
311 -* = 37: CSV file imported successfully
312 -* = 38: CSV file import failed
313 -)))
267 +6) Click [OK] button to complete settings.
314 314  
315 -**Select CSV recipe file (take U disk as an example):**
269 +**Recipe Demo Download Link**
316 316  
317 -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.
271 +[[https:~~/~~/drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR>>url:https://drive.google.com/open?id=1Cjbq_tW-NIirHFBpxt47g7IKvoYaWqUR]]
318 318  
319 -Use the special address of the above table to configure the path of the CSV file: HSW106, configure recipe file name: HSW1050 to1065
273 += (% style="color:inherit; font-family:inherit; font-size:29px" %)**Traditional Recipe**(%%) =
320 320  
321 -Use HSW1066 address to select the corresponding CSV recipe file type.
322 -
323 -* HSW1066 = 0: Import a user-defined CSV recipe file (all data in the custom CSV file must be valid);
324 -
325 -(% style="text-align:center" %)
326 -[[image:image-20220806101129-5.jpeg]]
327 -
328 -* HSW1066=1: Import the normal recipe file of regular series HMI (the data in line 1 of the file is invalid);
329 -
330 -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.**
331 -
332 -(% style="text-align:center" %)
333 -[[image:image-20220806101520-6.jpeg]]
334 -
335 -* 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);
336 -
337 -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.**
338 -
339 -(% style="text-align:center" %)
340 -[[image:image-20220806102610-7.jpeg]]
341 -
342 -**Perform import**
343 -
344 -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:
345 -
346 -* Configure the DB recipe file name by text input object: HDW500 = 3 (recipe file configured in Figure 1),
347 -* Set the recipe function address to: HDW1000 = 64 (the function address configured in Figure 1),
348 -* Transform the CSV recipe file in U disk into DB recipe file with file name “3.rcp2”.
349 -
350 -**DB recipe file for storing CSV data:**
351 -
352 -Simple mode: 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.
353 -
354 -Advanced mode: 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).
355 -
356 -**Import results:**
357 -
358 -* HSW242 = 37: Import succeeded;
359 -* HSW242 = 38: Import failed.
360 -
361 -**Precautions:**
362 -
363 -* 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);
364 -* 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;
365 -* 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.
366 -
367 -= (% style="color:inherit; font-family:inherit; font-size:29px" %)**Traditional recipe**(%%) =
368 -
369 369  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.
370 370  
371 371  Traditional recipe function is valid only when the LEVI project is converted to the PI project, and the original project uses the traditional recipe.
372 372  
373 -(% class="box infomessage" %)
374 -(((
375 375  **✎Note**: Currently, only HMI+, i series, ie series, and ig series support the traditional recipe.
376 -)))
377 377  
378 -== Simple recipe mode ==
281 +== **Simple recipe mode** ==
379 379  
380 380  Click the "Traditional Recipe" [[image:8-2TraditionalRecipe.png]] in the "Data tool" bar in the upper side of the software, and the following interface will pop up:
381 381  
... ... @@ -387,19 +387,16 @@
387 387  * The recipe folder name can only consist of (0~~9), (a~~z), (A~~Z), ('_'), ('').
388 388  * The element name of the recipe cannot include following 5 special characters: " **,** " , " **|** " , " **<** " , " **>** " , " **&** " .
389 389  
390 -== Recipe display ==
293 +== **Recipe display** ==
391 391  
392 392  Select the file type "Traditional recipe file" in object "Recipe Display", and it is recommended to fill in the traditional recipe group number HSW1612 to the address of select line.
393 393  
394 -(% class="box infomessage" %)
395 -(((
396 396  **✎Note**: The Recipe Display can display up to 50 groups of 100 elements by default, which can be to display out of range by enabled "Address Control". After the "Address Control" is enabled, the display group number can be reached to 100. If want to display more than 100, please adjust the "Start Group" from "Address Control" to index the display group, as following shown:
397 -)))
398 398  
399 399  (% style="text-align:center" %)
400 400  [[image:8-4TraditionalRecipeDisplayConfigScreen.png||class="img-thumbnail"]]
401 401  
402 -== Recipe transmission address ==
302 +== **Recipe transmission address** ==
403 403  
404 404  The special addresses used in the Recipe are shown in the following table:
405 405  
... ... @@ -450,26 +450,26 @@
450 450  1. The RPW register only supports word address access.
451 451  1. It can be known from the coding method of RPW~*~*~#~#~#~# that the range of RPW is from RPW000000-RPW990450, wherein the range of group number is 0-100, and the range of element is 0-450.
452 452  
453 -== Recipe example ==
353 +== **Recipe example** ==
454 454  
455 455  The recipe index makes the modification and display of recipe data more convenient. Only need to modify and display the data of the recipe file through "Numeric Input/Display" Object and "Word Switch".
456 456  
457 -Edit the recipe configuration, create three groups of recipes, 4 elements for per group: Red, green, blue, spraying time, as following shown:
357 +(1) Edit the recipe configuration, create three groups of recipes, 4 elements for per group: Red, green, blue, spraying time, as following shown:
458 458  
459 459  (% style="text-align:center" %)
460 460  [[image:8-5TraditionalRecipeCaseConfig.png]]
461 461  
462 -RPW 0~~3 can display the data of group for the selected line. RPW10000~~10003, RPW20000~~20003, RPW30000~~30003 each address can display the single element. Directly modify the content of the RPW address and then modify the recipe data, as following shown:
362 +(2) RPW 0~~3 can display the data of group for the selected line. RPW10000~~10003, RPW20000~~20003, RPW30000~~30003 each address can display the single element. Directly modify the content of the RPW address and then modify the recipe data, as following shown:
463 463  
464 464  (% style="text-align:center" %)
465 465  [[image:8-7TraditionalRecipeCaseShowNoOpera.png]]
466 466  
467 -After selecting the 2nd group, trigger the download button to download the whole group data to the corresponding element address (For this case, the data will write into HDW0~~3), or trigger the upload button to upload the content of the element address to the specified recipe group.
367 +(3) After selecting the 2nd group, trigger the download button to download the whole group data to the corresponding element address (For this case, the data will write into HDW0~~3), or trigger the upload button to upload the content of the element address to the specified recipe group.
468 468  
469 469  (% style="text-align:center" %)
470 470  [[image:8-6TraditionalRecipeCaseShow.png]]
471 471  
472 -= **Trend chart** =
372 += **{{id name="_Toc5565"/}}{{id name="_Trend_Chart"/}}Trend Chart** =
473 473  
474 474  Trend chart function is used for displaying the real-time data in HMI as curve graph, which X axis represent as time, Y axis represent as data.
475 475  
... ... @@ -507,20 +507,17 @@
507 507  
508 508  **(4) Curve Table:** The sample address you have set would display on it. Click the corresponding box to modify the content.
509 509  
510 -(% class="box infomessage" %)
511 -(((
512 512  **✎Note: **Curve names can only consist of Chinese characters, (0~~9), (a~~z), (A~~Z), ('_') (' '), and other non-English characters.
513 -)))
514 514  
515 515  **Trend Chart Demo Download Link**
516 516  
517 517  [[https:~~/~~/drive.google.com/open?id=1smnaAvSxOWC0WQK4_uvqHXWn4vUZxGJC>>url:https://drive.google.com/open?id=1smnaAvSxOWC0WQK4_uvqHXWn4vUZxGJC]]
518 518  
519 -= **History XY plot** =
416 += **{{id name="_Toc7121"/}}{{id name="_History_XY_Plot"/}}History XY Plot** =
520 520  
521 521  Different from TrendChart, uses need to set history XY curve items in project. Please click "Project"-> "History XY Plot" to open the setting screen.
522 522  
523 -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.
420 +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.
524 524  
525 525  (% style="text-align:center" %)
526 526  [[image:历史XY 2.png||class="img-thumbnail"]]
... ... @@ -552,31 +552,29 @@
552 552  
553 553  **(4) Curve Table:** The sample address you have set would display on it. Click the corresponding box to modify the content.
554 554  
555 -(% class="box infomessage" %)
556 -(((
557 557  **✎Note: **Curve names can only consist of Chinese characters, (0~~9), (a~~z), (A~~Z), ('_') (' '), and other non-English characters.
558 -)))
559 559  
560 560  **Operating Procedure**
561 561  
562 -* Click "Project" "History XY Plot" to open the function selecting windows.
456 +1. Click "Project" -> "History XY Plot" to open the function selecting windows.
563 563  
564 564  (% style="text-align:center" %)
565 565  [[image:8.Basic Function_html_5da6ca44bd28acbe.png||height="144" width="533" class="img-thumbnail"]]
566 566  
567 -* Click "Add" button to open "History XY Plot” setting windows.
461 +(% start="2" %)
462 +1. Click "Add" button to open [History XY Plot] setting windows.
568 568  
569 569  (% style="text-align:center" %)
570 570  [[image:8.Basic Function_html_6345b50ea55168fa.png||height="307" width="554" class="img-thumbnail"]]
571 571  
572 -* Setting the function of History XY Plot.
573 -* Click "OK" to save the setting.
467 +1. Setting the function of History XY Plot.
468 +1. Click "OK" to save the setting.
574 574  
575 575  **Download Link**
576 576  
577 577  [[https:~~/~~/drive.google.com/open?id=1t4_HuRmIJJ-B5ryA2kVMadD9FywKhZ4r>>url:https://drive.google.com/open?id=1t4_HuRmIJJ-B5ryA2kVMadD9FywKhZ4r]]
578 578  
579 -= (% style="color:inherit; font-family:inherit; font-size:29px" %)**Data record**(%%) =
474 += (% style="color:inherit; font-family:inherit; font-size:29px" %)**Data Record**(%%) =
580 580  
581 581  The data record function is organized according to the structure below. In a project, there can be multiple record groups, each record group containing multiple channels. Different groups have different sampling times.
582 582  
... ... @@ -597,9 +597,9 @@
597 597  
598 598  ✎**Note: **
599 599  
600 -After enable the Cloud and check the box of Upload to Cloud, the communication port settings of the address in the imported Data record configuration must be the same as the communication port settings of the current project, otherwise it cannot be used normally.
495 +1) After enable the Cloud and check the box of Upload to Cloud, the communication port settings of the address in the imported Data record configuration must be the same as the communication port settings of the current project, otherwise it cannot be used normally.
601 601  
602 -The number of Data records upload to Cloud shall not exceed the limit value, or the sum of the imported Data records and the number of existing alarm records shall not exceed the limit value. the specific limitation as following table:
497 +2) The number of Data records upload to Cloud shall not exceed the limit value, or the sum of the imported Data records and the number of existing alarm records shall not exceed the limit value. the specific limitation as following table:
603 603  
604 604  (% style="margin-left:auto; margin-right:auto; width:513px" %)
605 605  |=(% style="width: 70px;" %)Series|=(% style="width: 442px;" %)Number of Data Record upload to Cloud
... ... @@ -608,10 +608,11 @@
608 608  |(% style="width:70px" %)3000ig|(% style="text-align:center; width:442px" %)50
609 609  |(% style="width:70px" %)8000ig|(% style="text-align:center; width:442px" %)100
610 610  
611 -The record group name can only be composed of Chinese characters, (0~~9), (a~~z), (A~~Z), ('_'), ('') and other non-English characters.
506 +3) The record group name can only be composed of Chinese characters, (0~~9), (a~~z), (A~~Z), ('_'), ('') and other non-English characters.
612 612  
613 -Channel name cannot incloud following symbols: :" , ", " | ", " < ", " > ", " & ".
508 +4) Channel name cannot incloud following symbols: :" , ", " | ", " < ", " > ", " & ".
614 614  
510 +
615 615  (% class="wikigeneratedid" id="HSettings" %)
616 616  **Settings**
617 617  
... ... @@ -681,10 +681,17 @@
681 681  * The channel name does not include these 5 special characters: ", ", "| "," <", "> "," & ".
682 682  * 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.
683 683  
684 -You could click here to jump to object "[[Data Record Display>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HDatarecorddisplay]]"
580 +You could click here to jump to object "[[Data Record Display>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HDataRecordDisplay]]"
685 685  
686 -= **User permission** =
582 +(% class="wikigeneratedid" id="H" %)
583 +**PI Data Record Demo Download**
687 687  
585 +**[[Demo Link>>https://drive.google.com/open?id=1h7VUsIJqH4LIRjjtphbv9Kmzd6jUMPtE]]**
586 +
587 +**[[Video Link>>https://drive.google.com/open?id=1h7VUsIJqH4LIRjjtphbv9Kmzd6jUMPtE]]**
588 +
589 += **{{id name="_Toc3497"/}}{{id name="_User_Permission"/}}User Permission** =
590 +
688 688  **Introduction**
689 689  
690 690  1. User permission is one of expansion function in PI Series HMI; it provides multi-level of permission for control HMI operations.
... ... @@ -692,26 +692,15 @@
692 692  1. Operating record: it records user operations information, the records files are saved in HMI flash; its path is [~\~\flash~\~\UserOperationLogs.db].
693 693  1. When it is on simulator mode, the files are saved in C disk, its path is [C:~\~\WECON\UserMgrFile\UserOperationLogs.db].
694 694  
695 -(% class="box infomessage" %)
696 -(((
697 -✎**Note: **
598 +✎**Note: **The user name and password must be unique.
698 698  
699 -* The user name and password must be unique.
700 -* The multi language function of User permission only supported on HMI system version V2.0 or above
701 -)))
600 +== **Settings** ==
702 702  
703 -== Settings ==
602 +**Open PIStudio software, then operate as the following figure.**
704 704  
705 -Open PIStudio software, then operate as the following figure.
706 -
707 707  (% style="text-align:center" %)
708 708  [[image:用户权限 1.png||class="img-thumbnail"]]
709 709  
710 -Click on the cell from UserName and Desc, which can support the multi language.
711 -
712 -(% style="text-align:center" %)
713 -[[image:UserPermissionMultilan.png]]
714 -
715 715  1. Click "User Permission" in "Data Tool" toolbar.
716 716  1. Edit user name, click "User0" cell under "UserName", and then enter the user name, one project allows maximum 20 users.
717 717  1. Edit password, click "User0" cell under "PassWord", and then enter the user name.
... ... @@ -725,35 +725,26 @@
725 725  * Only a maximum of one administrator permission is allowed in a profile with one user permission. If you want to use "Funtion address" to modify the user permission, you must log in the administrator account to operate.
726 726  * When the configured file does not have the administrator account, a new user can be added  through "Funtion address" and set as the administrator.
727 727  * 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.
728 -* (((
729 -Adding new UserName and Desc on the HMI by special addresses in the current language of the HMI, other languages will also configure the user names and user descriptions to the current language by default, i.e. switching to other languages, the new user names and user descriptions will not change with the language.
730 -)))
731 731  
732 -== Object permission configuration ==
621 +== **Object permission configuration** ==
733 733  
734 734  (% style="text-align:center" %)
735 735  [[image:用户权限 2.png||class="img-thumbnail"]]
736 736  
737 -User operation logs support multi languages configuration. Click on the Log Message, the text editor of multi language will be pop up:
626 +{{id name="OLE_LINK3"/}}{{id name="OLE_LINK4"/}}**Operation Procedure of Object Permission**
738 738  
739 -(% style="text-align:center" %)
740 -[[image:LogMessagesMultilan.png]]
741 -
742 -**Operation Procedure of Object Permission**
743 -
744 744  1. Open the object setting windows;
745 -1. Select "Security" windows;
746 -1. Check the "User Permission";
747 -1. Select "Level" to set permission level;
748 -1. Enter "Log Message", it is for operation records, if it was empty, the operation for this object would be not be recorded;
749 -1. Select the "Access Denied Setting" mode;
629 +1. Select [Security] windows;
630 +1. Check the [User Permission];
631 +1. Select [Level] to set permission level;
632 +1. Enter [Log Message], it is for operation records, if it was empty, the operation for this object would be not be recorded;
633 +1. Select the ~[[[Access Denied Setting>>path:#_Security]]] mode;
750 750  
751 751  **Log information description**
752 752  
753 -A combination of Chinese characters, numbers, and uppercase and lowercase letters can be entered, and the number does not exceed 63.
637 +1. A combination of Chinese characters, numbers, and uppercase and lowercase letters can be entered, and the number does not exceed 63.
638 +1. The format of insert variable:{variable address, data format}. e.g., {HDW100,UW2.1}.
754 754  
755 -The format of insert variable:{variable address, data format}. e.g., {HDW100,UW2.1}.
756 -
757 757   The data format are as follows.
758 758  
759 759  (% class="table-bordered" %)
... ... @@ -769,7 +769,8 @@
769 769  |W|Single word
770 770  |D|Double word
771 771  
772 -Examples.
655 +(% start="3" %)
656 +1. Examples.
773 773  
774 774  * Unsigned decimal, BCD, 32-bit float and Signed decimal are as follows.
775 775  
... ... @@ -892,7 +892,7 @@
892 892  
893 893  [[https:~~/~~/drive.google.com/open?id=1qOiEDvo_1H1YqpoLDpS77dGaAFm8nrGq>>url:https://drive.google.com/open?id=1qOiEDvo_1H1YqpoLDpS77dGaAFm8nrGq]]
894 894  
895 -= Message prompt =
779 += **{{id name="_Toc29015"/}}{{id name="_MessagePrompt"/}}Message Prompt** =
896 896  
897 897  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.
898 898  
... ... @@ -959,10 +959,12 @@
959 959  
960 960  For example:
961 961  
962 -* In 3000ig's Cloud, the monitoring tags upload to the Cloud in real time is limited to 100.
963 -* 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).
964 -* 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]]).
846 +~1. In 3000ig's Cloud, the monitoring tags upload to the Cloud in real time is limited to 100.
965 965  
848 +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).
849 +
850 +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]]).
851 +
966 966  **(2) Server Selection**
967 967  
968 968   **Server**: China, ASEAN, and Europe.
LogMessagesMultilan.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -37.5 KB
Content
UserPermissionMultilan.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Hunter
Size
... ... @@ -1,1 +1,0 @@
1 -23.2 KB
Content
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
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
image-20220806101520-6.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -24.8 KB
Content
image-20220806102610-7.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -43.9 KB
Content
image-20220806111333-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -131.4 KB
Content
image-20220806111355-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -135.4 KB
Content