Changes for page 10 Advanced Function

Last modified by Jett on 2025/04/15 09:59

From version 4.1
edited by Stone Wu
on 2022/08/08 10:49
Change comment: There is no comment for this version
To version 3.1
edited by Stone Wu
on 2022/08/05 11:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,7 +6,7 @@
6 6  1. Audio playing could play audio on HMI. You need to configure the relevant information, triggered by the condition, broadcast the set the mp3 audio file. The audio file can only be stored in the flash mp3 file.
7 7  1. Only the 9000 Series HMIs with audio modules can use this feature, and an external 3.5mm headphone head is required.
8 8  
9 -== Configuration ==
9 +== **Configuration** ==
10 10  
11 11  In PIStudio software, the setting procedue is as follow.
12 12  
... ... @@ -13,7 +13,7 @@
13 13  (% style="text-align:center" %)
14 14  [[image:音频 1.png||height="655" width="528" class="img-thumbnail"]]
15 15  
16 -**Click "Set" to open "Audio settings" window.**
16 +**(1) Click "Set" to open "Audio settings" window.**
17 17  
18 18  (% style="text-align:center" %)
19 19  [[image:11.Advanced Function_html_949272a66c003cd.png||height="402" width="588" class="img-thumbnail"]]
... ... @@ -23,35 +23,41 @@
23 23  * Delete: Delete selected audio file.
24 24  * Audio set: Set the configurations of the audio, contolled by address.
25 25  
26 -**Trigger configuration for audio files**
26 +**(2) Trigger configuration for audio files**
27 27  
28 28  (% style="text-align:center" %)
29 29  [[image:音频 2.png||class="img-thumbnail"]]
30 30  
31 -* **Audio files**
32 -** MP3 file supported only.
33 -** The audio filesize should be less than 30MB.
34 -** The suffix .mp3 is necessary. The length of name should be less than 20 (including .mp3).
35 -** Audio file needs to be saved into the folder named mp3 in HMI flash, if not, it would not play. User could use the ~[[[CopyFile>>path:#_CopyFile]]] script function to import audio files into the HMI flash.
36 -* **Trigger mode settings: **There are 3 kinds trigger mode to choose. They coulf be valid at the same time.
37 -** **Play according to time interval: **Set the interval time. For example ,set 3 minutes, then it will play for each 3 minutes' interval.
38 -** **Trigger to play: **There are three bit trigger conditions: Rising edge, Falling edge and Bit change. You could trigger one condition to play the audio file.
39 -** **Play according to time: **Play the audio when the time is up.
40 -* **Play settings.** Set the play times and the cycle interval when it is triggered.
31 +**1) Audio files**
41 41  
42 -**Audio file playback setting**
33 +* MP3 file supported only.
34 +* The audio filesize should be less than 30MB.
35 +* The suffix .mp3 is necessary. The length of name should be less than 20 (including .mp3).
36 +* Audio file needs to be saved into the folder named mp3 in HMI flash, if not, it would not play. User could use the ~[[[CopyFile>>path:#_CopyFile]]] script function to import audio files into the HMI flash.
43 43  
38 +**2) Trigger mode settings**
39 +
40 +There are 3 kinds trigger mode to choose. They coulf be valid at the same time.
41 +
42 +* **Play according to time interval: **Set the interval time. For example ,set 3 minutes, then it will play for each 3 minutes' interval.
43 +* **Trigger to play: **There are three bit trigger conditions: Rising edge, Falling edge and Bit change. You could trigger one condition to play the audio file.
44 +* **Play according to time: **Play the audio when the time is up.
45 +
46 +**3) Play settings.** Set the play times and the cycle interval when it is triggered.
47 +
48 +**(3) Audio file playback setting**
49 +
44 44  This function is to control the playback of audio file in the list by address. (It should be used with file list.)
45 45  
46 46  (% style="text-align:center" %)
47 47  [[image:音频 3.png||height="429" width="620" class="img-thumbnail"]]
48 48  
49 -== Control address ==
55 +== **Control address** ==
50 50  
51 51  The table below describes each bit address function (including play, pause, etc). If the audio control address is HDW120, then specific function details are as shown in the table below.
52 52  
53 53  (% class="table-bordered" %)
54 -|=(% scope="row" %)**Function**|=(% style="width: 177px;" %)**Address**|=(% style="width: 647px;" %)**Description**
60 +|=**Function**|=(% style="width: 177px;" %)**Address**|=(% style="width: 647px;" %)**Description**
55 55  |(% rowspan="7" %)Play Control|(% style="width:177px" %)HDX120.0 (0(% style="font-size:10.5px" %)th(%%) bit)|(% style="width:647px" %)Play control bit: Play the audio file when this bit address is triggered
56 56  |(% style="width:177px" %)HDX120.1 (1(% style="font-size:10.5px" %)st(%%) bit)|(% style="width:647px" %)Pause control bit: Pause playback when this bit address is triggered, or resume playback after pause
57 57  |(% style="width:177px" %)HDX120.2 (2(% style="font-size:10.5px" %)nd(%%) bit)|(% style="width:647px" %)Stop control bit: Stop the play when this bit address is triggered
... ... @@ -64,13 +64,13 @@
64 64  |(% style="width:177px" %)HDX120.9 (9(% style="font-size:10.5px" %)th(%%) bit)|(% style="width:647px" %)Order: Play audio file orderly and stop as soon as the tas finished
65 65  |(% style="width:177px" %)HDX120.10 (10(% style="font-size:10.5px" %)th(%%) bit)|(% style="width:647px" %)Repeat in order: Repeat to play the audio file of the list
66 66  
67 -== State address ==
73 +== **State address** ==
68 68  
69 69  The audio play status address occupies a continuous 35 word addresses. If audio play status address is set as HDW200, the specific function allocation details are shown as below table
70 70  
71 71  (% class="table-bordered" %)
72 -|=(% scope="row" style="width: 183px;" %)**Address**|=(% style="width: 314px;" %)**Function**|=(% style="width: 592px;" %)**Description**
73 -|=(% style="width: 183px;" %)HDW200|(% style="width:314px" %)Playback status storage address|(% style="width:592px" %)(((
78 +|=(% style="width: 183px;" %)**Address**|=(% style="width: 314px;" %)**Function**|=(% style="width: 592px;" %)**Description**
79 +|(% style="width:183px" %)HDW200|(% style="width:314px" %)Playback status storage address|(% style="width:592px" %)(((
74 74  ~=0 : stop play
75 75  
76 76  ~=1 : playing
... ... @@ -77,8 +77,8 @@
77 77  
78 78  ~=2 : pause play
79 79  )))
80 -|=(% style="width: 183px;" %)HDW201|(% style="width:314px" %)Volume value storage address|(% style="width:592px" %)Range from 0 to 100(default value is 100, and it is not adjustable so fars
81 -|=(% style="width: 183px;" %)HDW202~~HDW234|(% style="width:314px" %)Audio file name|(% style="width:592px" %)Displays the file name of the audio currently playing
86 +|(% style="width:183px" %)HDW201|(% style="width:314px" %)Volume value storage address|(% style="width:592px" %)Range from 0 to 100(default value is 100, and it is not adjustable so fars
87 +|(% style="width:183px" %)HDW202~~HDW234|(% style="width:314px" %)Audio file name|(% style="width:592px" %)Displays the file name of the audio currently playing
82 82  
83 83  ✎**Note:**
84 84  
... ... @@ -95,18 +95,18 @@
95 95  1. It requires "Customized Object" and "File List" objects.
96 96  1. Currently, the video format support by Wecon HMI are including ASF, AVI, MKV, MP4, RM, and FLV.
97 97  
98 -== Configuration ==
104 +== **Configuration** ==
99 99  
100 -**Custom object configuration**
106 +**(1) Custom object configuration**
101 101  
102 102  (% style="text-align:center" %)
103 103  [[image:11.Advanced Function_html_4939953650efc334.png||height="499" width="415" class="img-thumbnail"]]
104 104  
105 -**Basic**
111 +**1) Basic**
106 106  
107 107  The function address doesn't have to be configured. DLL file name needs to be "Custom_MoviePlayer".
108 108  
109 -**Custom Address**
115 +**2) Custom Address**
110 110  
111 111  * ID1 is the address for storing the video file name (including the suffix). It could not be empty and the length is 32 words.
112 112  * ID2 is the address for video control, and occupies 1 word. It could not be empty. Please refer to[[ "Video control address">>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HControladdress-1]].
... ... @@ -114,7 +114,7 @@
114 114  * ID4 is the address for stroring the valume of video file, and occupies 1 word.
115 115  * ID5 is the address for the video file path, and occupies 1 word. It could not be empty. Please refer to [["Video file path">>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HFilepath]].
116 116  
117 -== Control address ==
123 +== **Control address** ==
118 118  
119 119  (% class="table-bordered" %)
120 120  |=(% style="width: 151px;" %)**Function**|=(% colspan="2" style="width: 200px;" %)**Address**|=(% style="width: 599px;" %)**Description**
... ... @@ -132,7 +132,7 @@
132 132  |(% style="width:92px" %)9(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.9|(% style="width:599px" %)Order: Play video file of the list and stop after done
133 133  |(% style="width:92px" %)10(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.10|(% style="width:599px" %)Repeat in order: Repeat to play the video file of the list
134 134  
135 -== (% style="color:inherit; font-family:inherit; font-size:23px" %)File path(%%) ==
141 +== (% style="color:inherit; font-family:inherit; font-size:23px" %)**File path**(%%) ==
136 136  
137 137  (% class="table-bordered" %)
138 138  |=**Value**|=**Video File Path**|=**Description**
... ... @@ -140,9 +140,9 @@
140 140  |1|SD card|Please create a folder named mp4 in the SD card directory to store the video files to be played
141 141  |2|HMI flash|Copy the video files to the mp4 folder in the directory of flash
142 142  
143 -== Case ==
149 +== **Case** ==
144 144  
145 -Operating Procedures of File List Object Settings
151 +**Operating Procedures of File List Object Settings**
146 146  
147 147  (% style="text-align:center" %)
148 148  [[image:11.Advanced Function_html_21e02c4465831a9e.png||height="560" width="600" class="img-thumbnail"]]
... ... @@ -158,23 +158,29 @@
158 158  
159 159  = **Email** =
160 160  
167 +**Introduction**
168 +
161 161  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.
162 162  
163 -== Email setting ==
171 +== **Email setting** ==
164 164  
165 -In "PIStudio" software, click "Project" "E-mail" to open email function setting screen.
173 +In "PIStudio" software, click "Project"-> "E-mail" to open email function setting screen.
166 166  
167 167  (% style="text-align:center" %)
168 168  [[image:邮件 1.png||height="780" width="597" class="img-thumbnail"]]
169 169  
170 -**SMTP Settings**
178 +(**1) SMTP Settings**
171 171  
172 -* **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.
173 -* **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.
174 -* **Confirm Password: **Confirm the password or authorization code of the mailbox.
175 -* **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]].
176 -* **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.
180 +**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.
177 177  
182 +**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.
183 +
184 +**3) Confirm Password: **Confirm the password or authorization code of the mailbox.
185 +
186 +**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]].
187 +
188 +**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.
189 +
178 178  (% class="table-bordered" %)
179 179  |=Email|=Email server|=Port number
180 180  |163 email|smtp.163.com|465
... ... @@ -185,22 +185,29 @@
185 185  |Yahoo email|smtp.mail.yahoo.com.cn|465
186 186  |Google email|smtp.gmail.com|465
187 187  
188 -**✎Note:** Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
200 +**✎Note:**
189 189  
202 +Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
203 +
204 +**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.
205 +
206 +**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.
207 +
190 190  (% style="list-style-type:disc" %)
191 -* **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.
192 -* **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.
193 -** 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.
194 -** 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.
195 -** 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.
209 +* 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.
210 +* 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.
211 +* 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.
196 196  
197 197  **✎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.
198 198  
199 -* **Error Message**
200 -** Set the error message receiving address, you could use the information to get the reasons of errors.
201 -** The error types in the mail function are divided into two types: custom rule error and server's error.
202 -** Custom rule errors are as follows.
215 +**8) Error Message**
203 203  
217 +Set the error message receiving address, you could use the information to get the reasons of errors.
218 +
219 +The error types in the mail function are divided into two types: custom rule error and server's error.
220 +
221 +Custom rule errors are as follows.
222 +
204 204  (% class="table-bordered" %)
205 205  |**Message**
206 206  |Email settings are incorrect
... ... @@ -241,7 +241,7 @@
241 241  |could not connect: Connection refused
242 242  |smtp-server: 550 User not found: aaa.163.com
243 243  
244 -* **Manual Trigger**
263 +**9) Manual Trigger**
245 245  
246 246  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.
247 247  
... ... @@ -259,7 +259,7 @@
259 259  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.
260 260  1. Emails that sent manually would only be sent once no matter the sending error is custom error, network or other errors.
261 261  
262 -== Email sending settings ==
281 +== **Email sending settings** ==
263 263  
264 264  (% style="text-align:center" %)
265 265  [[image:邮件 2.png||class="img-thumbnail"]]
... ... @@ -271,7 +271,7 @@
271 271  (% style="text-align:center" %)
272 272  [[image:邮件 3.png||height="578" width="744" class="img-thumbnail"]]
273 273  
274 -**Email sending configuration.**
293 +**(1) Email sending configuration.**
275 275  
276 276  * **Theme. **The value cannot be empty and case sensitive. The total length  cannot exceed 256 characters.
277 277  * **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.
... ... @@ -290,7 +290,7 @@
290 290  
291 291  **✎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.
292 292  
293 -== Recipient group setting ==
312 +== **Recipient group setting** ==
294 294  
295 295  (% style="text-align:center" %)
296 296  [[image:邮件 4.png||class="img-thumbnail"]]
... ... @@ -299,7 +299,7 @@
299 299  1. **Group to send. **The groups that you send the emails to.
300 300  1. **Open recipinet settings.** Set the information of recipients, and add and subtract groups.
301 301  
302 -== Recipient setting ==
321 +== **Recipient setting** ==
303 303  
304 304  (% style="text-align:center" %)
305 305  [[image:邮件 5.png||class="img-thumbnail"]]
... ... @@ -315,7 +315,7 @@
315 315  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.
316 316  1. **Description. **To decribe the group information. The total length shall not exceed 32.
317 317  
318 -== Test sending settings ==
337 +== **Test sending settings** ==
319 319  
320 320  (% style="text-align:center" %)
321 321  [[image:邮件 7.png||class="img-thumbnail"]]
... ... @@ -383,7 +383,7 @@
383 383  |(% style="width:129px" %)416|(% style="width:946px" %)STARTTLS_NOT_SUPPORTED = The STARTTLS command is not supported by the server
384 384  |(% style="width:129px" %)417|(% style="width:946px" %)LOGIN_NOT_SUPPORTED = AUTH LOGIN is not supported by the server
385 385  
386 -== Email status ==
405 +== **Email status** ==
387 387  
388 388  **Network disconnection error**
389 389  
... ... @@ -417,7 +417,7 @@
417 417  
418 418  Currently, the email attachment function only supports sending the specified alarm record (AlarmDataFile.db file), and does not support selecting content to send.
419 419  
420 -= USB keyboard =
439 += **USB keyboard** =
421 421  
422 422  (% class="wikigeneratedid" id="HIntroduction" %)
423 423  **Introduction**
... ... @@ -426,14 +426,14 @@
426 426  1. When the keyboard function is enabled, the "Cursor Display" function is enabled by default. The user could move the cursor through the "up, down, left and right buttons" of the keyboard, and then press the Enter key to select the object.
427 427  1. Multiple devices could be connected with HMI via USB HUB (up to 4 external devices), such as: mouse, keyboard, scanner, magnetic stripe reader, etc.
428 428  
429 -== Enable function ==
448 +== **Enable function** ==
430 430  
431 -In the software PIStudio, Click "Project" "Project settings" → "Extend", and check "Enable keyboard" in "Input device" settings area as below.
450 +In the software PIStudio, Click "Project" -> "Project settings"-> "Extend", and check "Enable keyboard" in "Input device" settings area as below.
432 432  
433 433  (% style="text-align:center" %)
434 434  [[image:11.Advanced Function_html_f6cded728eedf4ce.png||height="567" width="501" class="img-thumbnail"]]
435 435  
436 -== Configuration decription ==
455 +== **Configuration decription** ==
437 437  
438 438  1. When the keyboard function is enabled, the "Cursor Display" function is enabled by default. The user could move the cursor through the “up, down, left and right buttons” of the keyboard, and then press the Enter key to select the object;
439 439  1. NumLock: When NumLock key is not lit, the keypad number is not allowed to be input (offline simulation does not allow all numeric keys to be input, including the numeric keys on the left side of the keyboard);
... ... @@ -446,13 +446,13 @@
446 446  In practical application, the [Enable Keyboard] function could be combined with the related "system special address" to achieve multi-key combination operation.
447 447  
448 448  (% class="table-bordered" %)
449 -|=(% style="width: 114px;" %)**Address**|=(% style="width: 229px;" %)**Description**|=(% style="width: 733px;" %)**Function**
450 -|(% style="width:114px" %)HSW1073|(% style="width:229px" %)Keyboard key value|(% style="width:733px" %)(((
468 +|=**Address**|=**Description**|=**Function**
469 +|HSW1073|Keyboard key value|(((
451 451  The currently pressed key value is displayed. The key value is shown in Table 1
452 452  
453 453  (The Numeric/Character display object is not updated when it is being entered)
454 454  )))
455 -|(% style="width:114px" %)HSW1074|(% style="width:229px" %)Keyboard key status|(% style="width:733px" %)(((
474 +|HSW1074|Keyboard key status|(((
456 456  Display current key states
457 457  
458 458  ~=0: key release
... ... @@ -463,15 +463,15 @@
463 463  
464 464  (The Numeric/Character display object is not updated when it is being entered)
465 465  )))
466 -|(% style="width:114px" %)HSW1075|(% style="width:229px" %)Cursor speed|(% style="width:733px" %)Control the movement speed of the cursor, the range is 0~~100, the default is 20
467 -|(% style="width:114px" %)HSW1076|(% style="width:229px" %)X coordinate value of cursor|(% style="width:733px" %)The X value of the current position of the cursor, range: 0~~screen width-1
468 -|(% style="width:114px" %)HSW1077|(% style="width:229px" %)Y coordinate value of cursor|(% style="width:733px" %)The Y value of the current position of the cursor, range: 0~~screen height-1
469 -|(% style="width:114px" %)HSW1078|(% style="width:229px" %)The ASCII code of keyboard key|(% style="width:733px" %)(((
485 +|HSW1075|Cursor speed|Control the movement speed of the cursor, the range is 0~~100, the default is 20
486 +|HSW1076|X coordinate value of cursor|The X value of the current position of the cursor, range: 0~~screen width-1
487 +|HSW1077|Y coordinate value of cursor|The Y value of the current position of the cursor, range: 0~~screen height-1
488 +|HSW1078|The ASCII code of keyboard key|(((
470 470  Only the ASCII values of letters, numbers, and symbols are displayed. The ASCII value of the function keys is not displayed, as shown in Table 2
471 471  
472 472  (The Numeric/Character display object is not updated when it is being entered)
473 473  )))
474 -|(% style="width:114px" %)HSW1079|(% style="width:229px" %)Enable cursor position and Enter key mode|(% style="width:733px" %)(((
493 +|HSW1079|Enable cursor position and Enter key mode|(((
475 475  HSX1079.0 = 1: Set the cursor position according to HSW1076 and HSW1077 value;
476 476  
477 477  HSX1079.1 = 0: When Numeric/Character display object is entered, enter key is for end input instruction. When no Numeric/Character display object is entered, enter key is for normal click;
... ... @@ -560,7 +560,7 @@
560 560  
561 561  'HSW1078 ASCII value of key
562 562  
563 -**Example 1**
582 +**(1) Example 1**
564 564  
565 565  {{code language="lua"}}
566 566  if @W_HSW1073 = 29 then                                            'Ctrl key value is 29
... ... @@ -578,7 +578,7 @@
578 578  endif
579 579  {{/code}}
580 580  
581 -**Example 2**
600 +**(2) Example 2**
582 582  
583 583  {{code language="lua"}}
584 584  if @W_HSW1073 = 59 and (@W_HSW1074 = 1 or @W_HSW1074 = 2) then              'F1 key value is 59
... ... @@ -592,7 +592,7 @@
592 592  endif
593 593  {{/code}}
594 594  
595 -**Example 3**
614 +**(3) Example 3**
596 596  
597 597  {{code language="lua"}}
598 598  if @W_HSW1073 = 60 and (@W_HSW1074 = 1 or @W_HSW1074 = 2) then              'the value of F2 is 60
... ... @@ -606,7 +606,7 @@
606 606  endif
607 607  {{/code}}
608 608  
609 -**Example 4**
628 +**(4) Example 4**
610 610  
611 611  {{code language="lua"}}
612 612  if AsString(@W_HSW1078) = "a" and (@W_HSW1074 = 1 or @W_HSW1074 = 2) then          'Page up
... ... @@ -620,7 +620,7 @@
620 620  endif
621 621  {{/code}}
622 622  
623 -**Example 5**
642 +**(5) Example 5**
624 624  
625 625  {{code language="lua"}}
626 626  if AsString(@W_HSW1078) = "b" and (@W_HSW1074 = 1 or @W_HSW1074 = 2) then          'Page down
... ... @@ -636,7 +636,7 @@
636 636  endif
637 637  {{/code}}
638 638  
639 -= **rtsp web camera** =
658 += **{{id name="_Toc29624"/}}rtsp web camera** =
640 640  
641 641  **Introduction**
642 642  
... ... @@ -705,7 +705,7 @@
705 705  [[image:rtsp摄像头 2.png]]
706 706  
707 707  
708 -Compile and download project, please click [Search Camera] button to get camera information in LAN The username and password here need to be entered manually. During searching camera, it will try to use this username and password to log in IP camera and store the result of login. If the password is correct, the “password correct” address will be displayed as 1 and the device serial number will be displayed. If the “password correct” address is 0, the device serial number would not be displayed.
727 +3) Compile and download project, please click [Search Camera] button to get camera information in LAN The username and password here need to be entered manually. During searching camera, it will try to use this username and password to log in IP camera and store the result of login. If the password is correct, the “password correct” address will be displayed as 1 and the device serial number will be displayed. If the “password correct” address is 0, the device serial number would not be displayed.
709 709  
710 710  === **Function address** ===
711 711  
... ... @@ -748,14 +748,14 @@
748 748  
749 749  **Operating Procedures**
750 750  
751 -Fill the camera ID address with the camera serial number searched by the camera search module, and trigger the binding address to fill username and password.
770 +1) Fill the camera ID address with the camera serial number searched by the camera search module, and trigger the binding address to fill username and password.
752 752  
753 -* If the camera searching is disabled, then users need to manually enter the information of this camera, including username, password, and device serial number. Device serial number could be obtained by checking the label of camera.
772 +If the camera searching is disabled, then users need to manually enter the information of this camera, including username, password, and device serial number. Device serial number could be obtained by checking the label of camera.
754 754  
755 755  (% style="text-align:center" %)
756 756  [[image:11.Advanced Function_html_9ba06415a43f4264.png||height="232" width="412" class="img-thumbnail"]]
757 757  
758 -* If the IP CAMERA was triggered successfully, we could see the monitor screen and we could also set a alias for the camera and control the movement of the camera(up, down, left and right, some IP camera could not support the movement) or the screenshot. These operations could not be performed if camera off.
777 +2) If the IP CAMERA was triggered successfully, we could see the monitor screen and we could also set a alias for the camera and control the movement of the camera(up, down, left and right, some IP camera could not support the movement) or the screenshot. These operations could not be performed if camera off.
759 759  
760 760  (% style="text-align:center" %)
761 761  [[image:11.Advanced Function_html_5e0967606b906db1.jpg||height="250" width="333" class="img-thumbnail"]]
... ... @@ -763,9 +763,9 @@
763 763  
764 764  **✎Note:**
765 765  
766 -* Camera configuration. When you get the camera, you need to activate the camera and enable the onvif protocol for the camera according to the user manual and tools provided by the camera manufacturer. If the configuration is not correct, the camera cannot be used on the HMI.
767 -* When reading camera information, you need to configure the user name and password for the camera. When multiple cameras are enabled, you are advised to set the user names and passwords of all cameras to be the same.
768 -* When using the camera function, ensure that the camera and HMI are on the same LAN. When the HMI is directly connected to the camera through a network cable, set both HMI and camera to static IP addresses as follows.
785 +1. Camera configuration. When you get the camera, you need to activate the camera and enable the onvif protocol for the camera according to the user manual and tools provided by the camera manufacturer. If the configuration is not correct, the camera cannot be used on the HMI.
786 +1. When reading camera information, you need to configure the user name and password for the camera. When multiple cameras are enabled, you are advised to set the user names and passwords of all cameras to be the same.
787 +1. When using the camera function, ensure that the camera and HMI are on the same LAN. When the HMI is directly connected to the camera through a network cable, set both HMI and camera to static IP addresses as follows.
769 769  
770 770  (% class="table-bordered" %)
771 771  |=(% style="width: 166px;" %) |=(% style="width: 256px;" %)HMI|=(% style="width: 332px;" %)Camera
... ... @@ -772,11 +772,12 @@
772 772  |(% style="width:166px" %)IP address|(% style="width:256px" %)192.168.1.1|(% style="width:332px" %)192.168.1.2
773 773  |(% style="width:166px" %)Gateway|(% style="width:256px" %)192.168.1.1|(% style="width:332px" %)192.168.1.1
774 774  
775 -* You could obtain the camera from the "Camera Search module" in "Project parameters" or manually fill in the address. You can obtain resources for the camera display object in the Camera Search module or manually enter the parameters.
776 -* You are advised to configure and confirm the user name and password of the camera before using it. Do not use the wrong user name (password) to search for or link to the camera. Once the wrong user name (password) is exceeded for a certain number of times, the camera will be locked. During the lock period, the camera will reject any connection for at least half an hour generally.
777 -* When monitoring HMI cameras, do not monitor the same camera at the same time. Otherwise, the monitoring screen may be lost.
778 -* When the camera is disconnected due to network reasons, the system wouyld try to reconnect the camera every 20 seconds.
779 -* The alias of the camera is saved in the user database. The alias in old project is retained when downloading new project, if [user database] is selected. Otherwise the it will be deleted.
794 +(% start="4" %)
795 +1. You could obtain the camera from the "Camera Search module" in "Project parameters" or manually fill in the address. You can obtain resources for the camera display object in the Camera Search module or manually enter the parameters.
796 +1. You are advised to configure and confirm the user name and password of the camera before using it. Do not use the wrong user name (password) to search for or link to the camera. Once the wrong user name (password) is exceeded for a certain number of times, the camera will be locked. During the lock period, the camera will reject any connection for at least half an hour generally.
797 +1. When monitoring HMI cameras, do not monitor the same camera at the same time. Otherwise, the monitoring screen may be lost.
798 +1. When the camera is disconnected due to network reasons, the system wouyld try to reconnect the camera every 20 seconds.
799 +1. The alias of the camera is saved in the user database. The alias in old project is retained when downloading new project, if [user database] is selected. Otherwise the it will be deleted.
780 780  
781 781  (% style="text-align:center" %)
782 782  [[image:11.Advanced Function_html_804b6a35561fc436.png||height="367" width="600" class="img-thumbnail"]]
... ... @@ -787,6 +787,9 @@
787 787  
788 788  = **LAN Monitoring** =
789 789  
810 +(% class="wikigeneratedid" id="H11.7.1Introduction" %)
811 +**Introduction**
812 +
790 790  WECON provides [HMI Monitor System] software for user to monitor PI3000 series HMI in Local area network (LAN).
791 791  
792 792  This function is only for the model with -O. For example PI3070N-O.
... ... @@ -793,11 +793,11 @@
793 793  
794 794  == **[HMI Monitor System] software** ==
795 795  
796 -**Device List: **It displays HMIs, that connected into this monitor software;
819 +(1) Device List: It displays HMIs, that connected into this monitor software;
797 797  
798 -**State Indicator:** It shows state of HMI, green means online, gray means offline;
821 +(2) State Indicator: It shows state of HMI, green means online, gray means offline;
799 799  
800 -**Operation Buttons: **It provides three operations for HMI device;
823 +(3) Operation Buttons: It provides three operations for HMI device;
801 801  
802 802  * Add: Click it to open add setting window;
803 803  * Delete: Click it to delete selected HMI device;
... ... @@ -806,13 +806,13 @@
806 806  (% style="text-align:center" %)
807 807  [[image:11.Advanced Function_html_fdfb5186d5dd123d.png||height="302" width="600" class="img-thumbnail"]]
808 808  
809 -== **Operating procedures** ==
832 +== **Operating Procedures** ==
810 810  
811 -Click [Add] button to open setting window;
834 +(1) Click [Add] button to open setting window;
812 812  
813 -Enter HMI IP and Note;
836 +(2) Enter HMI IP and Note;
814 814  
815 -Click [Connection test] button;
838 +(3) Click [Connection test] button;
816 816  
817 817  * If IP is correct, it will display tip as below;
818 818  
... ... @@ -819,31 +819,33 @@
819 819  (% style="text-align:center" %)
820 820  [[image:11.Advanced Function_html_130ed411da07f4c4.png||height="376" width="550" class="img-thumbnail"]]
821 821  
822 -* If IP is incorrect, it will display tip as below
845 +If IP is incorrect, it will display tip as below
823 823  
824 824  (% style="text-align:center" %)
825 825  [[image:11.Advanced Function_html_878d04362f1b81b6.png||height="122" width="150" class="img-thumbnail"]]
826 826  
827 -**✎Note:** For using this function in PC, it requires the setup of LAN Monitoring Firewall, using Windows 7 system as example. **If this function works well in your PC, please ignore below content.**
850 +**✎Note:**
828 828  
852 +For using this function in PC, it requires the setup of LAN Monitoring Firewall, using Windows 7 system as example. **If this function works well in your PC, please ignore below content.**
853 +
829 829  **Solution 1: Disable Firmware Completely**
830 830  
831 -Open "Control Panel" and select "System Security".
856 +(1) Open [Control Panel] and select [System Security]
832 832  
833 833  (% style="text-align:center" %)
834 834  [[image:11.Advanced Function_html_9616a538bd5b8890.png||height="426" width="600" class="img-thumbnail"]]
835 835  
836 -Select "Windows Firewall"
861 +(2) Select [Windows Firewall];
837 837  
838 838  (% style="text-align:center" %)
839 839  [[image:11.Advanced Function_html_4ff5d9c605179616.png||height="427" width="600" class="img-thumbnail"]]
840 840  
841 -Select "turn Windows Firewall on or off"
866 +(3) Select [turn Windows Firewall on or off]
842 842  
843 843  (% style="text-align:center" %)
844 844  [[image:11.Advanced Function_html_8cce81685e77dd93.png||height="532" width="850" class="img-thumbnail"]]
845 845  
846 -Select "Turn off Windows Firewall"
871 +(4) Select [Turn off Windows Firewall]
847 847  
848 848  (% style="text-align:center" %)
849 849  [[image:11.Advanced Function_html_8e40bd24335bee5f.png||height="451" width="700" class="img-thumbnail"]]
... ... @@ -850,47 +850,48 @@
850 850  
851 851  **Solution 2: Do not close the firewall, but allow HMIUI to pass through the firewall**
852 852  
853 -Open Control Panel selection "system Security"
878 +(1) Open Control Panel selection [system Security]
854 854  
855 855  (% style="text-align:center" %)
856 856  [[image:11.Advanced Function_html_4a5370b15f8344bf.png||height="363" width="550" class="img-thumbnail"]]
857 857  
858 -Select "Windows Firewall"
883 +(2) Select [Windows Firewall]
859 859  
860 860  (% style="text-align:center" %)
861 861  [[image:11.Advanced Function_html_3f00b4c76667d218.png||height="394" width="600" class="img-thumbnail"]]
862 862  
863 -Select "run a program or function through Windows Firewall"
888 +(3) Select [run a program or function through Windows Firewall]
864 864  
865 865  (% style="text-align:center" %)
866 866  [[image:11.Advanced Function_html_2ce833853fe2fe08.png||height="422" width="600" class="img-thumbnail"]]
867 867  
868 -Select "Allow to run another program".
893 +(4) Select [Allow to run another program].
869 869  
870 870  (% style="text-align:center" %)
871 871  [[image:11.Advanced Function_html_49e43fd3e9e58bc3.png||height="401" width="600" class="img-thumbnail"]]
872 872  
873 -Select "browse" in the pop-up dialog box.
898 +(5) Select [browse] in the pop-up dialog box
874 874  
875 875  (% style="text-align:center" %)
876 876  [[image:11.Advanced Function_html_714b05b4f66641fb.png||height="447" width="450"]]
877 877  
878 -Locate the HMIUI.exe file in the HMIUI directory under the installation path of the monitoring software, and double-click HMIUI.exe.
903 +(6) Locate the HMIUI.exe file in the HMIUI directory under the installation path of the monitoring software, and double-click HMIUI.exe
879 879  
880 880  (% style="text-align:center" %)
881 881  [[image:11.Advanced Function_html_cdf52e5522e2e568.png||height="596" width="600" class="img-thumbnail"]]
882 882  
883 -Select "add".
908 +(7) Select add
884 884  
885 885  (% style="text-align:center" %)
886 886  [[image:11.Advanced Function_html_2cf5b5f0c9aa4f7a.png||height="467" width="535" class="img-thumbnail"]]
887 887  
888 -Check the corresponding options.
913 +(8) Check the corresponding options
889 889  
915 +
890 890  (% style="text-align:center" %)
891 891  [[image:11.Advanced Function_html_ffc611cca1a173f9.png||height="361" width="600" class="img-thumbnail"]]
892 892  
893 -select "OK".
919 +(9) select OK
894 894  
895 895  (% style="text-align:center" %)
896 896  [[image:11.Advanced Function_html_934ebd63c53af3ee.png||height="442" width="600" class="img-thumbnail"]]
... ... @@ -953,9 +953,9 @@
953 953  
954 954  At present, the Multi-link is regarded as special function. So not any model HMI support it. Need the HMI come with the special machine code. The series support Multi-link function right now: General, HMI+, i Series. Multi link doesn’t support the online simulaion. PI3000/PI3000+/PI3000i series can only have one Slave when using this function, while PI8000/9000,PI8000+/PI9000+ series can use at most 5 Slaves.
955 955  
956 -== **PIStudio settings** ==
982 +== **PIStudio Settings** ==
957 957  
958 -Check to enable Multi-link, select the corresponding option. For example, if it is a slave HMI, select Slave.
984 +(1) Check to enable Multi-link, select the corresponding option. For example, if it is a slave HMI, select Slave.
959 959  
960 960  (% style="text-align:center" %)
961 961  [[image:多机互联.png||class="img-thumbnail"]]
... ... @@ -962,12 +962,12 @@
962 962  
963 963  
964 964  (% class="wikigeneratedid" %)
965 -Master IP address setting: Click "Project""Project settings""HMI IP", as below.
991 +(2) Master IP address setting: Click "Project"- "Project settings" - "HMI IP", as below.
966 966  
967 967  (% style="text-align:center" %)
968 968  [[image:远程访问 1.png||height="516" width="594" class="img-thumbnail"]]
969 969  
970 -== **Slave project** ==
996 +== **Slave Project** ==
971 971  
972 972  In order to let the fonts in the Slave and the Master consistent with each others, so Slave project needs to add one screen that can set the IP address of Master HMI for connecting to the Master, on the original the Master project. If Master project has components that use other font styles, and Slave project If there is no component corresponding to Master project, then the default font style SimSun would be displayed when the Multi-link is enabled. To avoid the Slave device prompts communication timeout message, you can add HSW9 = 1 in the initial script of Slave device.
973 973  
... ... @@ -990,7 +990,7 @@
990 990  
991 991  == **Notice** ==
992 992  
993 -During the connection, if the Master is downloading program, there is a highly chances that the slave screen is abnormal, and the Gallery and imported pictures cannot be displayed.
1019 +1) During the connection, if the Master is downloading program, there is a highly chances that the slave screen is abnormal, and the Gallery and imported pictures cannot be displayed.
994 994  
995 995  After the download process of Master HMI is finished, Slave needs to be restarted to monitor normally.
996 996  
... ... @@ -1007,7 +1007,7 @@
1007 1007  
1008 1008  = **V-NET Access (PC Side)** =
1009 1009  
1010 -== **Login interface** ==
1036 +== **Login Interface** ==
1011 1011  
1012 1012  Enter the platform, as shown in Figure 1:
1013 1013  
... ... @@ -1022,7 +1022,7 @@
1022 1022  
1023 1023  Figure 1
1024 1024  
1025 -Enter the account and password, and then click the "Login" button.
1051 +Enter the account and password, and then click the [Login] button.
1026 1026  
1027 1027  After successfully logging in, enter the "V-NET" interface, as shown in Figure 2. Add the HMI information you want to access through the "+" in the lower left corner.
1028 1028  
... ... @@ -1031,7 +1031,7 @@
1031 1031  
1032 1032  Figure 2
1033 1033  
1034 -After the Add Device window pops up, enter the machine code and password of the device to add the device, as shown in Figure 3:   
1060 +4. After the Add Device window pops up, enter the machine code and password of the device to add the device, as shown in Figure 3:   
1035 1035  
1036 1036  (% style="text-align:center" %)
1037 1037  [[image:11.Advanced Function_html_9b4cc907cf4a8c13.png||height="502" width="601" class="img-thumbnail"]]
... ... @@ -1038,13 +1038,13 @@
1038 1038  
1039 1039  Figure 3
1040 1040  
1041 -* **Device machine code:** Each HMI has a unique and independent machine code, which is used to identify every remote device. (When binding multiple devices at the same time, the device passwords must be the same. Only one machine code can be entered on one line. When entering multiple machine codes, use the "Enter" key to change the line. If the format is wrong, the binding operation will fail and error will occur). Method of obtain machine code:
1042 -** PIStudio → "Project" → "Tool"→ "Download" →Copy the machine code.        
1043 -** Long press the upper right corner of HMI to enter the backstage, you can see "Machine Id" in "Machine Info".       
1067 +* Device machine code: Each HMI has a unique and independent machine code, which is used to identify every remote device. (When binding multiple devices at the same time, the device passwords must be the same. Only one machine code can be entered on one line. When entering multiple machine codes, use the "Enter" key to change the line. If the format is wrong, the binding operation will fail and error will occur). Method of obtain machine code:
1068 +** PIStudio -[Project]-[Tool]-[Download]-Copy the machine code.        
1069 +** Long press the upper right corner of HMI to enter the backstage, you can see [Machine Id] in "Machine Info".       
1044 1044  ** Obtain the machine code from the backlabel of the device.
1045 -* **Device password**: Refers to the Cloud access password, the default is 6 digits 8 (888888). Please refer to the cloud configuration if you first time binding the device.
1071 +* Device password: Refers to the Cloud access password, the default is 6 digits 8 (888888). Please refer to the cloud configuration if you first time binding the device.
1046 1046  ** The length is 6 digits, English and special characters in English are allowed, spaces are not allowed, and cannot be empty.
1047 -* **Device alias:** Refers to the name recognition of device in the menu bar of V-NET.
1073 +* Device alias: Refers to the name recognition of device in the menu bar of V-NET.
1048 1048  ** Maximum 12 digits, except ·_-+=}]",.?,;: ""”【】—()...! these Special characters allowed others are limited to input, no spaces or blanks are allowed.
1049 1049  ** If the device is successfully bound, click OK, and it would prompt message: The device is bound successfully!
1050 1050  
... ... @@ -1053,7 +1053,7 @@
1053 1053  **✎Note: **If you bind multiple machine codes in batch, the device alias will use the input device alias as the prefix, and the system will automatically add a suffix. Example: Default group (device alias)_1 (automatically added suffix).
1054 1054  )))
1055 1055  
1056 -== **V-NET module** ==
1082 +== **V-NET Module** ==
1057 1057  
1058 1058  **Remote Monitoring**
1059 1059  
... ... @@ -1140,10 +1140,10 @@
1140 1140  
1141 1141  Password: Refers to the cloud access password, the default is 6 digits 8 (888888); the cloud access password can be set and modified, the specific location is:
1142 1142  
1143 -* V-NET specified HMIBaisc "password”modify and save, as shown in Figure 10.        
1144 -* "Project" → "Cloud" → "Basic" → "Password" of PIStudio (only unbind HMI can be modified), see Cloud Configuration.
1169 +* V-NET specified HMIBaisc—Basic "password”modify and save, as shown in Figure 10.        
1170 +* [Project]-[Cloud]-Basic-" Password" of PIStudio (only unbind HMI can be modified), see Cloud Configuration.
1145 1145  
1146 -Maximum storage of Alarm data: The maximum number of alarm data saved, with a range of 1 to 50000.    
1172 +Maximum storage of Alarm data: The maximum number of alarm data saved, with a range of 1-50000.    
1147 1147  
1148 1148  Positioning:
1149 1149