Changes for page 04 Library

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

From version 5.1
edited by Leo Wei
on 2022/06/11 15:14
Change comment: Deleted image "image-20220611151350-1.png"
To version 17.1
edited by Karen
on 2023/05/22 13:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PIStudio.1 User Manual.WebHome
1 +PIStudio.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.Karen
Content
... ... @@ -1,9 +1,7 @@
1 1  = **Shape** =
2 2  
3 -[[image:image-20220611151350-1.png]]
3 +It is used for storing bitmaps. The source of bitmaps are: system bitmap library and imported bitmaps.
4 4  
5 -**It is used for storing bitmaps. The source of bitmaps are: system bitmap library and imported bitmaps.**
6 -
7 7  (% style="text-align:center" %)
8 8  [[image:位图库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
9 9  
... ... @@ -12,31 +12,25 @@
12 12  [[image:位图库、.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
13 13  
14 14  (% class="wikigeneratedid" %)
15 -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.
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.
16 16  
17 17  (% class="wikigeneratedid" %)
18 18  There are four kinds of galleries as follows.
19 19  
20 -1. **Project gallery: **The bitmaps added in the project and the bitmaps applied in the project are displayed in the project gallery.
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.
21 21  
22 -* 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.
23 -* When you place the mouse on the display area of bitmap, its name and resolution would be displayed.
24 -* You can export the current project bitmap file, import the file in another project, and call it in the new project.
28 += Font =
25 25  
26 -(% start="2" %)
27 -1. **System gallery: **The software system gallery, including pictures and vector diagrams (svg picture).
28 -1. **Gallery file: **You can import the corresponding picture file from and call it in the project library.
30 +User can pre-set the font and directly call the settings in the font library when editing the project.
29 29  
30 -* You could import library files with suffixes "aa. pLb" and "aa. bLb".
31 -* Select one bitmap, right click to perform three operations: Use library, Delete library, and rename library (F2).
32 -
33 -(% start="4" %)
34 -1. **Extended gallery: **The image applied in the screen style can be found in the extended gallery.
35 -
36 -= **Font** =
37 -
38 -You could pre-set the font and directly call the settings in the font library when editing the project.
39 -
40 40  (% style="text-align:center" %)
41 41  [[image:字体库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
42 42  
... ... @@ -63,12 +63,12 @@
63 63  1. Select font style.
64 64  1. Preview font.
65 65  
66 -= **Text** =
58 += Text =
67 67  )))
68 68  
69 69  Text library contains commonly used text. It avoids setting the text repeatedly. HMI provides up to 8 languages in text library.
70 70  
71 -Click "Project"-"Text" to open the setting window.
63 +Click "Project""Text" to open the setting window.
72 72  
73 73  (% style="text-align:center" %)
74 74  [[image:文本库.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
... ... @@ -98,6 +98,8 @@
98 98  (% style="text-align:center" %)
99 99  [[image:7.Library_html_f78c9d8bbbd45150.png||data-xwiki-image-style-alignment="center" height="431" width="554" class="img-thumbnail"]]
100 100  
93 +(% class="box infomessage" %)
94 +(((
101 101  **✎Note:**
102 102  
103 103  Text library: Supports importing edited Excel files into projects for use. However, the following two points need to be noted:
... ... @@ -104,32 +104,25 @@
104 104  
105 105  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.
106 106  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 +)))
107 107  
108 -**Introduction**
109 -
110 -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.
111 -
112 112  = **Email** =
113 113  
114 -== **Email setting** ==
105 +== Email setting ==
115 115  
116 -In "PIStudio" software, click "Project"-> "E-mail" to open email function setting screen.
107 +In "PIStudio" software, click "Project" "E-mail" to open email function setting screen.
117 117  
118 118  (% style="text-align:center" %)
119 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%201.png?width=597&height=780&rev=1.2||alt="邮件 1.png" data-xwiki-image-style-alignment="center" height="690" width="528" class="img-thumbnail"]]
110 +[[image:image-20220616114515-1.png]]
120 120  
121 -(**1) SMTP Settings**
112 +**SMTP Settings**
122 122  
123 -**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.
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.
124 124  
125 -**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.
126 -
127 -**3) Confirm Password: **Confirm the password or authorization code of the mailbox.
128 -
129 -**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]].
130 -
131 -**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.
132 -
133 133  (% class="table-bordered" %)
134 134  |=Email|=Email server|=Port number
135 135  |163 email|smtp.163.com|465
... ... @@ -140,28 +140,27 @@
140 140  |Yahoo email|smtp.mail.yahoo.com.cn|465
141 141  |Google email|smtp.gmail.com|465
142 142  
143 -**✎Note:**
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 +)))
144 144  
145 -Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
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.
146 146  
147 -**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.
148 -
149 -**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.
150 -
151 -* 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.
152 -* 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.
153 -* 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.
154 -
141 +(% class="box infomessage" %)
142 +(((
155 155  **✎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 +)))
156 156  
157 -**8) Error Message**
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.
158 158  
159 -Set the error message receiving address, you could use the information to get the reasons of errors.
160 -
161 -The error types in the mail function are divided into two types: custom rule error and server's error.
162 -
163 -Custom rule errors are as follows.
164 -
165 165  (% class="table-bordered" %)
166 166  |=**Message**
167 167  |Email settings are incorrect
... ... @@ -202,7 +202,7 @@
202 202  |could not connect: Connection refused
203 203  |smtp-server: 550 User not found: aaa.163.com
204 204  
205 -**9) Manual Trigger**
191 +* **Manual Trigger**
206 206  
207 207  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.
208 208  
... ... @@ -220,10 +220,10 @@
220 220  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.
221 221  1. Emails that sent manually would only be sent once no matter the sending error is custom error, network or other errors.
222 222  
223 -== **Email sending settings** ==
209 +== Email sending settings ==
224 224  
225 225  (% style="text-align:center" %)
226 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%202.png?rev=1.2||alt="邮件 2.png" data-xwiki-image-style-alignment="center" height="523" width="871" class="img-thumbnail"]]
212 +[[image:image-20220616114743-1.png]]
227 227  
228 228  1. **Add. **A maximum of 1024 email can be added.
229 229  1. **Modify.** Select an email to modify the content and configuration.
... ... @@ -230,73 +230,69 @@
230 230  1. **Delete. **You could select an email to delete or click the "ID" column to delete in batch.
231 231  
232 232  (% style="text-align:center" %)
233 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%203.png?width=744&height=578&rev=1.1||alt="邮件 3.png" data-xwiki-image-style-alignment="center" height="507" width="653" class="img-thumbnail"]]
219 +[[image:image-20220616114936-3.png]]
234 234  
235 -**(1) Email sending configuration.**
221 +**Email sending configuration.**
236 236  
237 -**1) Theme. **The value cannot be empty and case sensitive. The total length  cannot exceed 256 characters.
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.
238 238  
239 -**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.
240 -
241 -* **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.
242 -* **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.
243 -* **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.
244 -
245 -**3) Preview. **Combine the content of current edited email and diaplay it for you to modify the content conviniently. The preview length cannot exceed 1024.
246 -
247 -**4) Sending method. **It is divided into timed send interval and bit address trigger tranmission. The two methods cannot be used at the same time.
248 -
249 -* 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.
250 -* 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.
251 -
252 -**5) Recipient.** It is set in groups. You could send  multiple groups, and each group can have multiple recipients.
253 -
254 -**6) Add CC.** Sends the current email to other recipients.
255 -
256 -**7) Add secret delivery. ** Sends the current email to other recipients, but the recipient and cc recipients do not see the BCC recipient.
257 -
258 -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.
259 -
260 -**8) Recipient priority. **Set the priority order of recipients to recipient, BCC, and CC.
261 -
238 +(% class="box infomessage" %)
239 +(((
262 262  **✎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 +)))
263 263  
264 -== **Recipient group setting** ==
243 +== Recipient group setting ==
265 265  
266 266  (% style="text-align:center" %)
267 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%204.png?rev=1.1||alt="邮件 4.png" data-xwiki-image-style-alignment="center" height="586" width="820" class="img-thumbnail"]]
246 +[[image:image-20220616115028-4.png]]
268 268  
269 269  1. **All Group.** The groups you added.
270 270  1. **Group to send. **The groups that you send the emails to.
271 -1. **Open recipinet settings.** Set the information of recipients, and add and subtract groups.
250 +1. **Open recipient settings.** Set the information of recipients, and add and subtract groups.
272 272  
273 -== **Recipient setting** ==
252 +== Recipient setting ==
274 274  
275 275  (% style="text-align:center" %)
276 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%205.png?rev=1.1||alt="邮件 5.png" data-xwiki-image-style-alignment="center" height="537" width="823" class="img-thumbnail"]]
255 +[[image:image-20220616115126-5.png]]
277 277  
278 -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.
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.
279 279  
280 280  (% style="text-align:center" %)
281 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%206.png?rev=1.1||alt="邮件 6.png" data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
260 +[[image:image-20220616115255-6.png]]
282 282  
283 -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.
284 -1. **Delete.** Select one recipient or multiple recipents to delete, or click the ID column to select all.
285 -1. **Nuber of group. **You could click the  up/down arrow to increase or devrease groups. The default number is 1. The maximum number is 16.
286 -1. **Description. **To decribe the group information. The total length shall not exceed 32.
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.
287 287  
288 -== **Test sending settings** ==
267 +== Test sending settings ==
289 289  
290 290  (% style="text-align:center" %)
291 -[[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/11.Advanced%20Function/WebHome/%E9%82%AE%E4%BB%B6%207.png?rev=1.4||alt="邮件 7.png" data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
270 +[[image:image-20220616115337-7.png]]
292 292  
272 +(% class="box infomessage" %)
273 +(((
293 293  **✎Note: **
294 294  
295 295  * You can open this after the SMTP server is set.
296 -* When NetEase mail (126, 163 and yeah) occurs erros 554, it may be that the mailbox used is restricted by the anti-spam mechanism, and the performance may be that it cannot send emails in bulk or directly.
277 +* When NetEase mail (126, 163 and yeah) occurs errors 554, it may be that the mailbox used is restricted by the anti-spam mechanism, and the performance may be that it cannot send emails in bulk or directly.
297 297  * When TOM mail is sender's mail, the name of it and the recipient tested must be English, otherwise the email would be returned.
298 298  * When testing with Zoho mailbox, there was a delay of less than 3 minutes.
299 299  * The custom errors for the test error is as follows.
281 +)))
300 300  
301 301  (% class="table-bordered" %)
302 302  |=Error code|=Cause of reason
... ... @@ -316,7 +316,7 @@
316 316  |201|UNDEF_MAIL_FROM = Undefined mail sender
317 317  |202|UNDEF_SUBJECT = Undefined message subject
318 318  |203|UNDEF_RECIPIENTS = Undefined recipient
319 -|204|UNDEF_RECIPIENT_MAIL = Undefined mail recipent
301 +|204|UNDEF_RECIPIENT_MAIL = Undefined mail recipient
320 320  |205|UNDEF_LOGIN = Undefined user login
321 321  |206|UNDEF_PASSWORD = Undefined user password
322 322  |207|BAD_LOGIN_PASSWORD = Invalid user login or password
... ... @@ -332,7 +332,7 @@
332 332  |307|COMMAND_DATA = Server returned error after sending DATA
333 333  |308|COMMAND_QUIT = Server returned error after sending QUIT
334 334  |309|COMMAND_RCPT_TO = Server returned error after sending RCPT TO
335 -|310|MSG_BODY_ERROR = Error in message body (邮件正文中出现错误)
317 +|310|MSG_BODY_ERROR = Error in message body
336 336  |400|CONNECTION_CLOSED = Server has closed the connection
337 337  |401|SERVER_NOT_READY = Server is not ready
338 338  |402|SERVER_NOT_RESPONDING = Server not responding
... ... @@ -352,17 +352,17 @@
352 352  |416|STARTTLS_NOT_SUPPORTED = The STARTTLS command is not supported by the server
353 353  |417|LOGIN_NOT_SUPPORTED = AUTH LOGIN is not supported by the server
354 354  
355 -== **Email status** ==
337 +== Email status ==
356 356  
357 -**(1) Network disconnection error**
339 +**Network disconnection error**
358 358  
359 359  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.
360 360  
361 -**(2) Custom rule error**
343 +**Custom rule error**
362 362  
363 363  If the fault is determined as a custom rule error, delete the information.
364 364  
365 -**(3) Server return error**
347 +**Server return error**
366 366  
367 367  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.
368 368  
... ... @@ -376,21 +376,21 @@
376 376  |sina|50|It can be sent again after a few minutes or a few hours, but cannont be received normally
377 377  |gmail|500|No more delivery on that day
378 378  
379 -**(4) Message Prompt**
361 +**Message Prompt**
380 380  
381 381  1. If the email to be sent is deleted, a message will pop up.
382 382  1. If the email is sent successfully, a messge will pop up: "The email is sent successfully."
383 383  1. If the five symbols ',' , ' | ', '<', '>' and '&' appear in the fields set by the message prompt, the message prompt will display an abnormal message.
384 384  
385 -**(5) Mail attachment**
367 +**Mail attachment**
386 386  
387 387  Currently, the email attachment function only supports sending the specified alarm record (AlarmDataFile.db file), and does not support selecting content to send.
388 388  
389 -= **{{id name="_Toc21437"/}}{{id name="_Address_Library"/}}Address** =
371 += Address =
390 390  
391 391  Address library contains commonly used addresses. It not only avoids setting the addresses repeatedly but also expresses the function of an address more clearly.
392 392  
393 -Click "Project"-"Address" to open the setting window.
375 +Click "Project""Address" to open the setting window.
394 394  
395 395  (% style="text-align:center" %)
396 396  [[image:地址库 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
... ... @@ -424,41 +424,41 @@
424 424  1. Set address.
425 425  1. Set PLC station number (It is not necessary setting, the user sets according to the actual situation).
426 426  
427 -**✎Note:**
409 +(% class="box infomessage" %)
410 +(((
411 +**✎Note:**
428 428  
429 -Address Library: it supports importing addresses information from Excel files. However, the following two points need to be noted:
430 -
413 +1. Address Library: it supports importing addresses information from Excel files. However, the following two points need to be noted:
431 431  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.
432 432  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 +)))
433 433  
434 434  = **Mapping** =
435 435  
436 436  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.
437 437  
438 -For example:
422 +For example: Forward "D0" to "HDW100" (length: 10), so the address D0, D1,..., D9 would be related to HDW100, HDW101, .., HDW109.
439 439  
440 -Forward "D0" to "HDW100" (length: 10), so the address D0, D1,..., D9 would be related to HDW100, HDW101, .., HDW109.
441 -
442 442  **Description**
443 443  
444 444  (% style="text-align:center" %)
445 445  [[image:8-1AddressMapping.png||data-xwiki-image-style-alignment="center" height="673" width="659"]]
446 446  
447 -**(1) Address type**
429 +**Address type**
448 448  
449 449  It is used for selecting address type in address mapping.
450 450  
451 -**(2) Source address**
433 +**Source address**
452 452  
453 453  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".
454 454  
455 455  **Data type: **Only word address need to set data type. If it is the address of 32-bit register, check "32-bit register".
456 456  
457 -**(3) Calculation**
439 +**Calculation**
458 458  
459 459  Designated mathematical relationship between two source addresses, the result will be saved in target address.
460 460  
461 -**(4) Length**
443 +**Length**
462 462  
463 463  It is used to set the length of the operation address.
464 464  
... ... @@ -474,31 +474,30 @@
474 474  * 48=D8
475 475  * 49=D8
476 476  
477 -**(5) Mode**
459 +**Mode**
478 478  
479 479  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.
480 480  
481 -**(6) Update frequency**
463 +**Update frequency**
482 482  
483 483  It provides two modes, general and read-through.
484 484  
485 -**General: **Read data from HMI cache (Recommended)
467 +* **General: **Read data from HMI cache (Recommended)
468 +* **Read-Through: **Read data directly from the device without going through the HMI cache
486 486  
487 -**Read-Through: **Read data directly from the device without going through the HMI cache
470 +**Mapping**
488 488  
489 -**(7) Mapping**
490 -
491 491  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];
492 492  
493 -**(8) Target address:**
474 +**Target address:**
494 494  
495 495  It is address used to store source address data;
496 496  
497 -**(9) Cont. Write:**
478 +**Cont. Write:**
498 498  
499 499  Write address length for single time, used for some special device addresses that need to be written continuously;
500 500  
501 -**(10) Global mapping control**
482 +**Global mapping control**
502 502  
503 503  The function and mode are similar to [Mapping], but it is used to control all mapping items. The setting screen as below show;
504 504  
... ... @@ -505,7 +505,7 @@
505 505  (% style="text-align:center" %)
506 506  [[image:7.Library_html_a04eddcc1d2f2f14.png||data-xwiki-image-style-alignment="center" height="199" width="419" class="img-thumbnail"]]
507 507  
508 -**(11 )Buttons**
489 +**Buttons**
509 509  
510 510  * **Clear:** Delete all settings in settings, such as [Source address], [Length] and so on.
511 511  * **Add:** Create a new mapping item.
... ... @@ -515,14 +515,17 @@
515 515  * **Close: **Close address mapping window.
516 516  * **Help:** Click it to open help document.
517 517  
518 -**(12) Item List**
499 +**Item List**
519 519  
520 520  It lists all address mapping items.
521 521  
503 +(% class="box infomessage" %)
504 +(((
522 522  **✎Note:**
523 523  
524 524  * Too many [Read-Through] items will cause HMI running slow.
525 525  * If there are multiple consecutive addresses, please increase the length to reduce the mapping items
509 +)))
526 526  
527 527  **Fucntion descrition**
528 528  
... ... @@ -543,15 +543,14 @@
543 543  
544 544  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.
545 545  
530 +(% class="box infomessage" %)
531 +(((
546 546  **✎Note:**
547 547  
548 -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.
549 -
550 -* 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.
551 -
552 -(% start="2" %)
553 -1. The maximum length of each mapping block is 65535.
554 -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.
555 -1. Update frequency refers to the update frequency of reading device data. The default is 0.
556 -
557 -* 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.
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 +)))
image-20220616114515-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +53.4 KB
Content
image-20220616114743-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +68.5 KB
Content
image-20220616114905-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +41.6 KB
Content
image-20220616114936-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +41.6 KB
Content
image-20220616115028-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +40.7 KB
Content
image-20220616115126-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +43.6 KB
Content
image-20220616115255-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +8.2 KB
Content
image-20220616115337-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Joey
Size
... ... @@ -1,0 +1,1 @@
1 +5.3 KB
Content