Changes for page 04 Library

Last modified by Mora Zhou on 2023/11/01 13:39

From version 16.2
edited by Karen
on 2023/05/22 13:44
Change comment: There is no comment for this version
To version 9.4
edited by Stone Wu
on 2022/06/30 10:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PIStudio.WebHome
1 +PIStudio.1 User Manual.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Karen
1 +XWiki.Stone
Content
... ... @@ -1,6 +1,6 @@
1 1  = **Shape** =
2 2  
3 -It is used for storing bitmaps. The source of bitmaps are: system bitmap library and imported bitmaps.
3 +**It is used for storing bitmaps. The source of bitmaps are: system bitmap library and imported bitmaps.**
4 4  
5 5  (% style="text-align:center" %)
6 6  [[image:位图库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
... ... @@ -10,25 +10,31 @@
10 10  [[image:位图库、.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
11 11  
12 12  (% class="wikigeneratedid" %)
13 -You could view all the bitmaps in the library, and import or export them according to your own needs. You can also create multi-state bitmaps.
13 +You could view all the bitmaps in the library, and import or export them accoridng to your own needs. You can also create multi-state bitmaps.
14 14  
15 15  (% class="wikigeneratedid" %)
16 16  There are four kinds of galleries as follows.
17 17  
18 -* **Project gallery: **The bitmaps added to the project and the bitmaps applied to the project are displayed in the project gallery.
19 -** Rename: You could click one bitmap to rename. Bitmap names can be a combination of Chinese characters, numbers, and letters (case sensitive), but no special characters. The length of it cannot exceed 18 characters.
20 -** When you place the mouse on the display area of bitmap, its name and resolution would be displayed.
21 -** You can export the current project bitmap file, import the file in another project, and call it in the new project.
22 -* **System gallery: **The software system gallery, including pictures and vector diagrams (svg picture).
23 -* **Gallery file: **You can import the corresponding picture file from and call it in the project library.
24 -** You could import library files with suffixes "aa. pLb" and "aa. bLb".
25 -** Select one bitmap, right click to perform three operations: Use library, Delete library, and rename library (F2).
26 -* **Extended gallery: **The image applied in the screen style can be found in the extended gallery.
18 +1. **Project gallery: **The bitmaps added in the project and the bitmaps applied in the project are displayed in the project gallery.
27 27  
28 -= Font =
20 +* Rename: You could click one bitmap to rename. Bitmap names can be a combination of Chinese characters, numbers, and letters (case sensitive), but no special characters. The length of it cannot exceed 18 characters.
21 +* When you place the mouse on the display area of bitmap, its name and resolution would be displayed.
22 +* You can export the current project bitmap file, import the file in another project, and call it in the new project.
29 29  
30 -User can pre-set the font and directly call the settings in the font library when editing the project.
24 +(% start="2" %)
25 +1. **System gallery: **The software system gallery, including pictures and vector diagrams (svg picture).
26 +1. **Gallery file: **You can import the corresponding picture file from and call it in the project library.
31 31  
28 +* You could import library files with suffixes "aa. pLb" and "aa. bLb".
29 +* Select one bitmap, right click to perform three operations: Use library, Delete library, and rename library (F2).
30 +
31 +(% start="4" %)
32 +1. **Extended gallery: **The image applied in the screen style can be found in the extended gallery.
33 +
34 += **Font** =
35 +
36 +You could pre-set the font and directly call the settings in the font library when editing the project.
37 +
32 32  (% style="text-align:center" %)
33 33  [[image:字体库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
34 34  
... ... @@ -55,12 +55,12 @@
55 55  1. Select font style.
56 56  1. Preview font.
57 57  
58 -= Text =
64 += **Text** =
59 59  )))
60 60  
61 61  Text library contains commonly used text. It avoids setting the text repeatedly. HMI provides up to 8 languages in text library.
62 62  
63 -Click "Project""Text" to open the setting window.
69 +Click "Project"-"Text" to open the setting window.
64 64  
65 65  (% style="text-align:center" %)
66 66  [[image:文本库.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
... ... @@ -90,8 +90,6 @@
90 90  (% style="text-align:center" %)
91 91  [[image:7.Library_html_f78c9d8bbbd45150.png||data-xwiki-image-style-alignment="center" height="431" width="554" class="img-thumbnail"]]
92 92  
93 -(% class="box infomessage" %)
94 -(((
95 95  **✎Note:**
96 96  
97 97  Text library: Supports importing edited Excel files into projects for use. However, the following two points need to be noted:
... ... @@ -98,25 +98,32 @@
98 98  
99 99  1. When importing an Excel file, if the contents of language one to language eight in ID (ID) information is all empty, the information of the subsequent ID will not be imported.
100 100  1. When importing Excel files, if there is pure digital content in the imported information, you need to set the format of the table box to "text" mode. Otherwise, the text import fails or an error occurs due to incorrect information format.
101 -)))
102 102  
106 +**Introduction**
107 +
108 +Wecon HMI can send email with information from fields to the specified email address as soon as the conditions is triggered, but email sending is based on the network.
109 +
103 103  = **Email** =
104 104  
105 -== Email setting ==
112 +== **Email setting** ==
106 106  
107 -In "PIStudio" software, click "Project" "E-mail" to open email function setting screen.
114 +In "PIStudio" software, click "Project"-> "E-mail" to open email function setting screen.
108 108  
109 109  (% style="text-align:center" %)
110 110  [[image:image-20220616114515-1.png]]
111 111  
112 -**SMTP Settings**
119 +(**1) SMTP Settings**
113 113  
114 -* **Sender Name: **Fill the sender's name, which is composed of Chinese characters, letters (case sensitive) and numbers. But it can not contain the following special English symbols:  ',', ';', '"', '<'. Maximum character length 32 is allowed.
115 -* **Password:** Fill in the password or authorization code of the mailbox. If the server needs to set the authorization code, the authorization code needs to be used. If the authorization code is not used, the password is used. Please refer to the SMTP service in the mailbox for the authorization code information. It cases sensitive, maximum character length 32 allowed in password.
116 -* **Confirm Password: **Confirm the password or authorization code of the mailbox.
117 -* **Email Address: **Fill in the sender's email address, case sensitive, maximum character length 32 allowed in it.Such as [[support@we-con.com.cn>>path:mailto:support@we-con.com.cn]].
118 -* **SMTP Server: **Please refer to the mailbox account settings. If you enter a common mailbox, the corresponding server address will be automatically written. such as smtp.exmail.qq.com.
121 +**1) Sender Name: **Fill the sender's name, which is composed of Chinese characters, letters (case sensitive) and numbers. But it can not contain the following special English symbols:  ',', ';', '"', '<'. Maximum character length 32 is allowed.
119 119  
123 +**2) Password:** Fill in the password or authorization code of the mailbox. If the server needs to set the authorization code, the authorization code needs to be used. If the authorization code is not used, the password is used. Please refer to the SMTP service in the mailbox for the authorization code information. It cases sensitive, maximum character length 32 allowed in password.
124 +
125 +**3) Confirm Password: **Confirm the password or authorization code of the mailbox.
126 +
127 +**4) Email Address: **Fill in the sender's email address, case sensitive, maximum character length 32 allowed in it.Such as [[support@we-con.com.cn>>path:mailto:support@we-con.com.cn]].
128 +
129 +**5) SMTP Server: **Please refer to the mailbox account settings. If you enter a common mailbox, the corresponding server address will be automatically written. such as smtp.exmail.qq.com.
130 +
120 120  (% class="table-bordered" %)
121 121  |=Email|=Email server|=Port number
122 122  |163 email|smtp.163.com|465
... ... @@ -127,27 +127,28 @@
127 127  |Yahoo email|smtp.mail.yahoo.com.cn|465
128 128  |Google email|smtp.gmail.com|465
129 129  
130 -(% class="box infomessage" %)
131 -(((
132 -**✎Note:** Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
133 -)))
141 +**✎Note:**
134 134  
135 -* **Encryption Type: **SSL is a security protocol that provides security and data integrity for network communications. It encrypts network connections at the transport layer; TLS (STARTTLS) upgrades connections to SSL instead of using a separate encrypted communication port.
136 -* **The Port Number: **Enter corresponding port number according to the SMTP serve addrress entered. You could only enter interger between 1 and 65535. Do not enter more than 6 digits in length. Common port numbers are port 25, 465 and 587.
137 -** Port 25: It does not protect the original data when transmitting data. The data can be seen. Generally, port 25 must be selected as no encryption or TLS(STARTTLS) encryption mode to send data correctly.
138 -** Port 465: It protect the original data when transmitting data. The data can not be seen. Generally, port 465 must be selected as SSL encryption mode to send data correctly.
139 -** Port 587: The original data is protected only after the TLS(STARTTLS) command is executed. Generally, port 587 must be selected as TLS(STARTTLS) encryption mode to send data correctly.
143 +Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
140 140  
141 -(% class="box infomessage" %)
142 -(((
145 +**6) Encryption Type: **SSL is a security protocol that provides security and data integrity for network communications. It encrypts network connections at the transport layer; TLS (STARTTLS) upgrades connections to SSL instead of using a separate encrypted communication port.
146 +
147 +**7) The Port Number: **Enter corresponding port number according to the SMTP serve addrress entered. You could only enter interger between 1 and 65535. Do not enter more than 6 digits in length. Common port numbers are port 25, 465 and 587.
148 +
149 +* Port 25: It does not protect the original data when transmitting data. The data can be seen. Generally, port 25 must be selected as no encryption or TLS(STARTTLS) encryption mode to send data correctly.
150 +* Port 465: It protect the original data when transmitting data. The data can not be seen. Generally, port 465 must be selected as SSL encryption mode to send data correctly.
151 +* Port 587: The original data is protected only after the TLS(STARTTLS) command is executed. Generally, port 587 must be selected as TLS(STARTTLS) encryption mode to send data correctly.
152 +
143 143  **✎Note: **Port 25 is open to SMTP servers, mainly for sending mail. But the port has vulnerability. Hackers often use port 25 to find SMTP servers to forward spam.
144 -)))
145 145  
146 -* **Error Message**
147 -** Set the error message receiving address, you could use the information to get the reasons of errors.
148 -** The error types in the mail function are divided into two types: custom rule error and server's error.
149 -** Custom rule errors are as follows.
155 +**8) Error Message**
150 150  
157 +Set the error message receiving address, you could use the information to get the reasons of errors.
158 +
159 +The error types in the mail function are divided into two types: custom rule error and server's error.
160 +
161 +Custom rule errors are as follows.
162 +
151 151  (% class="table-bordered" %)
152 152  |=**Message**
153 153  |Email settings are incorrect
... ... @@ -188,7 +188,7 @@
188 188  |could not connect: Connection refused
189 189  |smtp-server: 550 User not found: aaa.163.com
190 190  
191 -* **Manual Trigger**
203 +**9) Manual Trigger**
192 192  
193 193  It is for modifying the email sending settings when HMI is running. According to the set manual trigger address, the address is offset backward to get the address of the corresponding function (a total of 201 words). Take HDW100 as an example.
194 194  
... ... @@ -206,7 +206,7 @@
206 206  1. If the trigger condition sent manually is the rising edge trigger, before the mail is sent, no new mail will be sent even if it is triggered again. No matter the email is sent successfully or not, the corresponding trigger would be OFF.
207 207  1. Emails that sent manually would only be sent once no matter the sending error is custom error, network or other errors.
208 208  
209 -== Email sending settings ==
221 +== **Email sending settings** ==
210 210  
211 211  (% style="text-align:center" %)
212 212  [[image:image-20220616114743-1.png]]
... ... @@ -218,29 +218,36 @@
218 218  (% style="text-align:center" %)
219 219  [[image:image-20220616114936-3.png]]
220 220  
221 -**Email sending configuration.**
233 +**(1) Email sending configuration.**
222 222  
223 -* **Theme. **The value cannot be empty and case sensitive. The total length  cannot exceed 256 characters.
224 -* **Content of email. **The contents are divided into three combinations: text, alarm and variable. The list can contain only 32 items at most, and the total length of the preview cannot exceed 1024 items.
225 -** **Text. **You could directly edit the text of language 1 to language 3. If you need to set multiple languages, click "edit all text" to set. You may also select "Text library". The content is case sensitive, and the total length of English/Chinese characters/numbers/symbols does not exceed 253.
226 -** **Alarm. **You could select "bit alarm" or "word alarm" from the list. The content is from alarm text. if the alarm changes, the content changes with it. The content is case sensitive, and the total length of English/Chinese characters/numbers/symbols does not exceed 253.
227 -** **Variable. **Set the corresponding variable address. Read value or strings according to the specified format, and the read information will be displayed in the corresponding position in the mail content.
228 -* **Preview. **Combine the content of current edited email and display it for you to modify the content conveniently. The preview length cannot exceed 1024.
229 -* **Sending method. **It is divided into timed send interval and bit address trigger transmission. The two methods cannot be used at the same time.
230 -** Timed send interval. After booting, the current system time is used to start calculating, and each time the time  is up, the information will be sent to the set recipient in the form of an email, and the minimum time should be set to 5 minutes. **Note: **The first boot is not sent.
231 -** Bit address trigger tranmission. When the set trigger address meets the trigger conditon, the information will be sent to the set recipient in the form of an email. If the content select alarm, the alarm address would be written in the trigger address. There are three methods to trigger: sending on rising edge, sending on falling edge and send when the bit changes.
232 -* **Recipient.** It is set in groups. You could send  multiple groups, and each group can have multiple recipients.
233 -* **Add CC.** Sends the current email to other recipients.
234 -* **Add secret delivery. ** Sends the current email to other recipients, but the recipient and cc recipients do not see the BCC recipient.
235 -** when sending an email, you must set a recipient. CC recipients and BCC recipients are not to be set. The total number of recipinet, CC recipients and BCC recipients is 40.
236 -* **Recipient priority. **Set the priority order of recipients to recipient, BCC, and CC.
235 +**1) Theme. **The value cannot be empty and case sensitive. The total length  cannot exceed 256 characters.
237 237  
238 -(% class="box infomessage" %)
239 -(((
237 +**2) Content of email. **The contents are divided into three combinations: text, alarm and variable. The list can contain only 32 items at most, and the total length of the preview cannot exceed 1024 items.
238 +
239 +* **Text. **You could directly edit the text of language 1 to language 3. If you need to set multiple languages, click "edit all text" to set. You may also select "Text library". The content is case sensitive, and the total length of English/Chinese characters/numbers/symbols does not exceed 253.
240 +* **Alarm. **You could select "bit alarm" or "word alarm" from the list. The content is from alarm text. if the alarm changes, the content changes with it. The content is case sensitive, and the total length of English/Chinese characters/numbers/symbols does not exceed 253.
241 +* **Variable. **Set the corresponding variable address. Read value or strings according to the specified format, and the read information will be displayed in the corresponding position in the mail content.
242 +
243 +**3) Preview. **Combine the content of current edited email and display it for you to modify the content conveniently. The preview length cannot exceed 1024.
244 +
245 +**4) Sending method. **It is divided into timed send interval and bit address trigger transmission. The two methods cannot be used at the same time.
246 +
247 +* timed send interval. After booting, the current system time is used to start calculating, and each time the time  is up, the information will be sent to the set recipient in the form of an email, and the minimum time should be set to 5 minutes. **Note: **The first boot is not sent.
248 +* Bit address trigger tranmission. When the set trigger address meets the trigger conditon, the information will be sent to the set recipient in the form of an email. If the content select alarm, the alarm address would be written in the trigger address. There are three methods to trigger: sending on rising edge, sending on falling edge and send when the bit changes.
249 +
250 +**5) Recipient.** It is set in groups. You could send  multiple groups, and each group can have multiple recipients.
251 +
252 +**6) Add CC.** Sends the current email to other recipients.
253 +
254 +**7) Add secret delivery. ** Sends the current email to other recipients, but the recipient and cc recipients do not see the BCC recipient.
255 +
256 +when sending an email, you must set a recipient. CC recipients and BCC recipients are not to be set. The total number of recipinet, CC recipients and BCC recipients is 40.
257 +
258 +**8) Recipient priority. **Set the priority order of recipients to recipient, BCC, and CC.
259 +
240 240  **✎Note: **If the recipient address you select exists in all three positions, it exist only in the highest priority position. For example, if the recipient of an email has aaa, the bcc has aaa, and the cc has aaa, then let aaa only be the recipient.
241 -)))
242 242  
243 -== Recipient group setting ==
262 +== **Recipient group setting** ==
244 244  
245 245  (% style="text-align:center" %)
246 246  [[image:image-20220616115028-4.png]]
... ... @@ -249,28 +249,26 @@
249 249  1. **Group to send. **The groups that you send the emails to.
250 250  1. **Open recipient settings.** Set the information of recipients, and add and subtract groups.
251 251  
252 -== Recipient setting ==
271 +== **Recipient setting** ==
253 253  
254 254  (% style="text-align:center" %)
255 255  [[image:image-20220616115126-5.png]]
256 256  
257 -* **Add. **Add a recipient. There are non-dynamic recipient and dynamic recipient. They cannot be used at the same time. You may just fill in the  recipient's name and email address. The dynamic recipient address  is limited to 32 characters, and a maximum of 40 recipients can be added.
276 +1. **Add. **Add a recipient. There are non-dynamic recipient and dynamic recipient. They cannot be used at the same time. You may just fill in the  recipient's name and email address. The dynamic recipient address  is limited to 32 characters, and a maximum of 40 recipients can be added.
258 258  
259 259  (% style="text-align:center" %)
260 260  [[image:image-20220616115255-6.png]]
261 261  
262 -* **Modify. **Select one recipient and click "modify" or double click the recipient to modify. If it is non-dynamic recipient, you could modify the name and email address. The email is unique. If it is dynamic recipient, you could modify the address, and the address is unique.
263 -* **Delete.** Select one recipient or multiple recipients to delete, or click the ID column to select all.
264 -* **Number of group. **You could click the  up/down arrow to increase or decrease groups. The default number is 1. The maximum number is 16.
265 -* **Description. **To decribe the group information. The total length shall not exceed 32.
281 +1. **Modify. **Select one recipient and click "modify" or double click the recipient to modify. If it is non-dynamic recipient, you could modify the name and email address. The email is unique. If it is dynamic recipient, you could modify the address, and the address is unique.
282 +1. **Delete.** Select one recipient or multiple recipients to delete, or click the ID column to select all.
283 +1. **Number of group. **You could click the  up/down arrow to increase or decrease groups. The default number is 1. The maximum number is 16.
284 +1. **Description. **To decribe the group information. The total length shall not exceed 32.
266 266  
267 -== Test sending settings ==
286 +== **Test sending settings** ==
268 268  
269 269  (% style="text-align:center" %)
270 270  [[image:image-20220616115337-7.png]]
271 271  
272 -(% class="box infomessage" %)
273 -(((
274 274  **✎Note: **
275 275  
276 276  * You can open this after the SMTP server is set.
... ... @@ -278,7 +278,6 @@
278 278  * When TOM mail is sender's mail, the name of it and the recipient tested must be English, otherwise the email would be returned.
279 279  * When testing with Zoho mailbox, there was a delay of less than 3 minutes.
280 280  * The custom errors for the test error is as follows.
281 -)))
282 282  
283 283  (% class="table-bordered" %)
284 284  |=Error code|=Cause of reason
... ... @@ -334,17 +334,17 @@
334 334  |416|STARTTLS_NOT_SUPPORTED = The STARTTLS command is not supported by the server
335 335  |417|LOGIN_NOT_SUPPORTED = AUTH LOGIN is not supported by the server
336 336  
337 -== Email status ==
353 +== **Email status** ==
338 338  
339 -**Network disconnection error**
355 +**(1) Network disconnection error**
340 340  
341 341  If the fault is determined as a network disconnection error, the system does not delete the sent information and does not record the number of errors, and it would make an infinite send attempt.
342 342  
343 -**Custom rule error**
359 +**(2) Custom rule error**
344 344  
345 345  If the fault is determined as a custom rule error, delete the information.
346 346  
347 -**Server return error**
363 +**(3) Server return error**
348 348  
349 349  If the fault is determined as a server return error, then the error time add 1. It would try to send the email for 3 times. Regardless of whether the transmission is successful or not, it would delete the email to be sent. The test results are as follows.
350 350  
... ... @@ -358,21 +358,21 @@
358 358  |sina|50|It can be sent again after a few minutes or a few hours, but cannont be received normally
359 359  |gmail|500|No more delivery on that day
360 360  
361 -**Message Prompt**
377 +**(4) Message Prompt**
362 362  
363 363  1. If the email to be sent is deleted, a message will pop up.
364 364  1. If the email is sent successfully, a messge will pop up: "The email is sent successfully."
365 365  1. If the five symbols ',' , ' | ', '<', '>' and '&' appear in the fields set by the message prompt, the message prompt will display an abnormal message.
366 366  
367 -**Mail attachment**
383 +**(5) Mail attachment**
368 368  
369 369  Currently, the email attachment function only supports sending the specified alarm record (AlarmDataFile.db file), and does not support selecting content to send.
370 370  
371 -= Address =
387 += **{{id name="_Toc21437"/}}{{id name="_Address_Library"/}}Address** =
372 372  
373 373  Address library contains commonly used addresses. It not only avoids setting the addresses repeatedly but also expresses the function of an address more clearly.
374 374  
375 -Click "Project""Address" to open the setting window.
391 +Click "Project"-"Address" to open the setting window.
376 376  
377 377  (% style="text-align:center" %)
378 378  [[image:地址库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
... ... @@ -406,41 +406,41 @@
406 406  1. Set address.
407 407  1. Set PLC station number (It is not necessary setting, the user sets according to the actual situation).
408 408  
409 -(% class="box infomessage" %)
410 -(((
411 -**✎Note:**
425 +**✎Note:**
412 412  
413 -1. Address Library: it supports importing addresses information from Excel files. However, the following two points need to be noted:
427 +Address Library: it supports importing addresses information from Excel files. However, the following two points need to be noted:
428 +
414 414  1. When importing an Excel file, if the contents of a certain Name, Type, and Address are all empty, the information of the subsequent ID will not be imported.
415 415  1. When importing Excel files, if there is pure digital content in the imported information, you need to set the format of the table box to "text" mode. Otherwise, the text import fails or an error occurs due to incorrect information format.
416 -)))
417 417  
418 418  = **Mapping** =
419 419  
420 420  Address mapping is to build the relationship between two different addresses. Forwarding address from source address to target address, so the value in both addresses would be same according to the predefined mapping mode. Both addresses could be from different, in this way, to make HMI processing faster.
421 421  
422 -For example: Forward "D0" to "HDW100" (length: 10), so the address D0, D1,..., D9 would be related to HDW100, HDW101, .., HDW109.
436 +For example:
423 423  
438 +Forward "D0" to "HDW100" (length: 10), so the address D0, D1,..., D9 would be related to HDW100, HDW101, .., HDW109.
439 +
424 424  **Description**
425 425  
426 426  (% style="text-align:center" %)
427 427  [[image:8-1AddressMapping.png||data-xwiki-image-style-alignment="center" height="673" width="659"]]
428 428  
429 -**Address type**
445 +**(1) Address type**
430 430  
431 431  It is used for selecting address type in address mapping.
432 432  
433 -**Source address**
449 +**(2) Source address**
434 434  
435 435  The origin address that need to be mapped to other addresses. If there is calculation, 2 source addresses are required, and the result would be saved in "target address".
436 436  
437 437  **Data type: **Only word address need to set data type. If it is the address of 32-bit register, check "32-bit register".
438 438  
439 -**Calculation**
455 +**(3) Calculation**
440 440  
441 441  Designated mathematical relationship between two source addresses, the result will be saved in target address.
442 442  
443 -**Length**
459 +**(4) Length**
444 444  
445 445  It is used to set the length of the operation address.
446 446  
... ... @@ -456,30 +456,31 @@
456 456  * 48=D8
457 457  * 49=D8
458 458  
459 -**Mode**
475 +**(5) Mode**
460 460  
461 461  It provides two modes, Read-write and read only. The value of source address would not change if target value changed after read only selected.
462 462  
463 -**Update frequency**
479 +**(6) Update frequency**
464 464  
465 465  It provides two modes, general and read-through.
466 466  
467 -* **General: **Read data from HMI cache (Recommended)
468 -* **Read-Through: **Read data directly from the device without going through the HMI cache
483 +**General: **Read data from HMI cache (Recommended)
469 469  
470 -**Mapping**
485 +**Read-Through: **Read data directly from the device without going through the HMI cache
471 471  
487 +**(7) Mapping**
488 +
472 472  This is control bit for mapping one item, the default mode is mapping when OFF; If user want to change control condition, please check [Mapping when ON];
473 473  
474 -**Target address:**
491 +**(8) Target address:**
475 475  
476 476  It is address used to store source address data;
477 477  
478 -**Cont. Write:**
495 +**(9) Cont. Write:**
479 479  
480 480  Write address length for single time, used for some special device addresses that need to be written continuously;
481 481  
482 -**Global mapping control**
499 +**(10) Global mapping control**
483 483  
484 484  The function and mode are similar to [Mapping], but it is used to control all mapping items. The setting screen as below show;
485 485  
... ... @@ -486,7 +486,7 @@
486 486  (% style="text-align:center" %)
487 487  [[image:7.Library_html_a04eddcc1d2f2f14.png||data-xwiki-image-style-alignment="center" height="199" width="419" class="img-thumbnail"]]
488 488  
489 -**Buttons**
506 +**(11 )Buttons**
490 490  
491 491  * **Clear:** Delete all settings in settings, such as [Source address], [Length] and so on.
492 492  * **Add:** Create a new mapping item.
... ... @@ -496,17 +496,14 @@
496 496  * **Close: **Close address mapping window.
497 497  * **Help:** Click it to open help document.
498 498  
499 -**Item List**
516 +**(12) Item List**
500 500  
501 501  It lists all address mapping items.
502 502  
503 -(% class="box infomessage" %)
504 -(((
505 505  **✎Note:**
506 506  
507 507  * Too many [Read-Through] items will cause HMI running slow.
508 508  * If there are multiple consecutive addresses, please increase the length to reduce the mapping items
509 -)))
510 510  
511 511  **Fucntion descrition**
512 512  
... ... @@ -527,14 +527,15 @@
527 527  
528 528  Yon could use the bit address to control whether to enable the mapping function. There is one bit address for bits and one for words. Each mapping block also has a bit address. For bit address mapping and word address mapping, there are controlled by their own global bit addresses. Each mapping block relationship can also have its own control address, but the global control bit address has a high priority.
529 529  
530 -(% class="box infomessage" %)
531 -(((
532 532  **✎Note:**
533 533  
534 -* Some of four operations do not have inverse operation such as trigonometric function, shift, remainder and so on. They can only be read-only.
535 -** For example: If HDW100 is devided by HDW200, and the value is mapping to HDW300. When the value of HDW300 changes, the vaue of HDW100 will not change. Because you can't calculate what the HDW100 value should be.
536 -* The maximum length of each mapping block is 2048.
537 -* If there is no bit address to control the mapping, the mapping is enabled by default. If you set the bit address, the mapping is disabled when the value of the bit address is 1 and it is enabled when the value of the bit address is 0. If you select "control on closed state", the result is opposite.
538 -* Update frequency refers to the update frequency of reading device data. The default is 0.
539 -** Normal read speed is 0, read through value is 1, fast read value is 2. There is no need to fill in the data type in address mapping. The selection of "32-bit register" is special for some PLC whose address interval is 1 in 32 bits. You don't have to choose it.
540 -)))
546 +1. Some of four operations do not have inverse operation such as trigonometric function, shift, remainder and so on. They can only be read-only.
547 +
548 +* For example: If HDW100 is devided by HDW200, and the value is mapping to HDW300. When the value of HDW300 changes, the vaue of HDW100 will not change. Because you can't calculate what the HDW100 value should be.
549 +
550 +(% start="2" %)
551 +1. The maximum length of each mapping block is 65535.
552 +1. If there is no bit address to control the mapping, the mapping is enabled by default. If you set the bit address, the mapping is disabled when the value of the bit address is 1 and it is enabled when the value of the bit address is 0. If you select "control on closed state", the result is opposite.
553 +1. Update frequency refers to the update frequency of reading device data. The default is 0.
554 +
555 +* Normal read speed is 0, read through value is 1, fast read value is 2. There is no need to fill in the data type in address mapping. The selection of "32-bit register" is special for some PLC whose address interval is 1 in 32 bits. You don't have to choose it.