Changes for page 10 Advanced Function

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

From version 5.1
edited by Theodore Xu
on 2023/05/08 13:43
Change comment: There is no comment for this version
To version 16.1
edited by Mora Zhou
on 2023/11/21 16:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.AiXia
1 +XWiki.Mora
Content
... ... @@ -80,10 +80,13 @@
80 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 81  |=(% 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 +(% class="box infomessage" %)
84 +(((
83 83  ✎**Note:**
84 84  
85 85  * The audio file needs to be stored in the flash of PI9000 series HMI.
86 86  * Only PI9000 series HMI with audio module could support this function, and an external 3.5mm headphone is required.
89 +)))
87 87  
88 88  = **Video** =
89 89  
... ... @@ -94,6 +94,7 @@
94 94  1. Video playing could play video on HMI project screen.
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.
100 +1. Olny supports playback of 360P and 480P resolution video.
97 97  
98 98  == Configuration ==
99 99  
... ... @@ -100,7 +100,7 @@
100 100  **Custom object configuration**
101 101  
102 102  (% style="text-align:center" %)
103 -[[image:11.Advanced Function_html_4939953650efc334.png||height="499" width="415" class="img-thumbnail"]]
107 +[[image:视频功能部件配置.png]]
104 104  
105 105  **Basic**
106 106  
... ... @@ -111,7 +111,7 @@
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]].
113 113  * ID3 is the address of video status, and occupies 1 word. It could not be empty. 0 indicate stop, and 1 indicates play.
114 -* ID4 is the address for stroring the valume of video file, and occupies 1 word.
118 +* ID4 is the address for stroring the volume of video file, and occupies 1 word. 8150ig can not adjust the volume, only 9000 series can be set.
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 117  == Control address ==
... ... @@ -118,19 +118,19 @@
118 118  
119 119  (% class="table-bordered" %)
120 120  |=(% style="width: 151px;" %)**Function**|=(% colspan="2" style="width: 200px;" %)**Address**|=(% style="width: 599px;" %)**Description**
121 -|(% rowspan="7" style="width:151px" %)Play Control|(% style="width:92px" %)0(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.0|(% style="width:599px" %)(((
122 -Bit for playing control: Play the video file when this bit address is triggered
125 +|(% rowspan="7" style="width:151px" %)Play Control|(% style="width:92px" %)0(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.0|(% style="width:599px" %)(((
126 +Bit for playing control:This address save the name of the video file to be played.
123 123  )))
124 -|(% style="width:92px" %)1(% style="font-size:10.5px" %)st(%%) bit|(% style="width:107px" %)HDX102.1|(% style="width:599px" %)Bit for pause control:Pause playing when this bit address is triggered, or resume playing after pause
125 -|(% style="width:92px" %)2(% style="font-size:10.5px" %)nd(%%) bit|(% style="width:107px" %)HDX102.2|(% style="width:599px" %)Bit for full screen control: Maximize the video when this bit address is triggered
126 -|(% style="width:92px" %)3(% style="font-size:10.5px" %)rd(%%) bit|(% style="width:107px" %)HDX102.3|(% style="width:599px" %)Last video: Play the last video when this bit address is triggered.
127 -|(% style="width:92px" %)4(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.4|(% style="width:599px" %)Next video: Play the next video when this bit address is triggered.
128 -|(% style="width:92px" %)5(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.5|(% style="width:599px" %)Volume increase: Increased by 10
129 -|(% style="width:92px" %)6(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.6|(% style="width:599px" %)Volume decrease: Decreased by 10
130 -|(% rowspan="4" style="width:151px" %)Mode Selection|(% style="width:92px" %)7(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.7|(% style="width:599px" %)Once: Only play current video file once
131 -|(% style="width:92px" %)8(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX102.8|(% style="width:599px" %)Single cycle: Repeat to play current video file
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 -|(% 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
128 +|(% style="width:92px" %)1(% style="font-size:10.5px" %)st(%%) bit|(% style="width:107px" %)HDX100.1|(% style="width:599px" %)Bit for pause control:Pause playing when this bit address is triggered, or resume playing after pause
129 +|(% style="width:92px" %)2(% style="font-size:10.5px" %)nd(%%) bit|(% style="width:107px" %)HDX100.2|(% style="width:599px" %)Bit for full screen control: Maximize the video when this bit address is triggered
130 +|(% style="width:92px" %)3(% style="font-size:10.5px" %)rd(%%) bit|(% style="width:107px" %)HDX100.3|(% style="width:599px" %)Last video: Play the last video when this bit address is triggered.
131 +|(% style="width:92px" %)4(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.4|(% style="width:599px" %)Next video: Play the next video when this bit address is triggered.
132 +|(% style="width:92px" %)5(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.5|(% style="width:599px" %)Volume increase: Increased by 10 (only be supported 9000 series)
133 +|(% style="width:92px" %)6(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.6|(% style="width:599px" %)Volume decrease: Decreased by 10 (only be supported 9000 series)
134 +|(% rowspan="4" style="width:151px" %)Mode Selection|(% style="width:92px" %)7(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.7|(% style="width:599px" %)Once: Only play current video file once
135 +|(% style="width:92px" %)8(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.8|(% style="width:599px" %)Single cycle: Repeat to play current video file
136 +|(% style="width:92px" %)9(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.9|(% style="width:599px" %)Order: Play video file of the list and stop after done
137 +|(% style="width:92px" %)10(% style="font-size:10.5px" %)th(%%) bit|(% style="width:107px" %)HDX100.10|(% style="width:599px" %)Repeat in order: Repeat to play the video file of the list
134 134  
135 135  == (% style="color:inherit; font-family:inherit; font-size:23px" %)File path(%%) ==
136 136  
... ... @@ -145,7 +145,7 @@
145 145  Operating Procedures of File List Object Settings
146 146  
147 147  (% style="text-align:center" %)
148 -[[image:11.Advanced Function_html_21e02c4465831a9e.png||height="560" width="600" class="img-thumbnail"]]
152 +[[image:file setting.png]]
149 149  
150 150  Configure the customized object as the above picture
151 151  
... ... @@ -152,10 +152,13 @@
152 152  Configure the file list object as below:
153 153  
154 154  1. Select the directory as the MP4 folder in USB flash disk. Set the file name address as HDW150
155 -1. Create a folder named MP4 in the SD card directory to store the video files to be played.
156 156  1. Add the video controlling address, refer to the above video controlling address table.
157 157  1. Compile the project and download it to HMI, trigger the bit address to play the video from the list.
158 158  
162 +== Demo ==
163 +
164 +**PI8150ig Video Display: **[[Download link>>https://docs.we-con.com.cn/bin/view/PIStudio/2%20Demo/Applications/#H7PI8150igVideoDisplay]]
165 +
159 159  = **Email** =
160 160  
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.
... ... @@ -185,7 +185,10 @@
185 185  |Yahoo email|smtp.mail.yahoo.com.cn|465
186 186  |Google email|smtp.gmail.com|465
187 187  
195 +(% class="box infomessage" %)
196 +(((
188 188  **✎Note:** Gmail also needs to enable the [allow unsafe apps] option in the account, otherwise the mail will not be sent normally.
198 +)))
189 189  
190 190  (% style="list-style-type:disc" %)
191 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.
... ... @@ -194,7 +194,10 @@
194 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 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.
196 196  
207 +(% class="box infomessage" %)
208 +(((
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.
210 +)))
198 198  
199 199  * **Error Message**
200 200  ** Set the error message receiving address, you could use the information to get the reasons of errors.
... ... @@ -248,12 +248,14 @@
248 248  (% class="table-bordered" %)
249 249  |(% style="width:201px" %)**Address**|(% style="width:586px" %)**Description**
250 250  |(% style="width:201px" %)HDX100.0|(% style="width:586px" %)Sending trigger
251 -|(% style="width:201px" %)HDX101.0 to HDX101.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW101.0 set ON, and the address in group 1 will be in recipient list.
252 -|(% style="width:201px" %)HDX103.0 to HDX103.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW103.0 set ON, and the address in group 1 will be in CC list.
253 -|(% style="width:201px" %)HDX105.0 to HDX105.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW105.0 set ON, and the address in group 1 will be in BCC list (Secret delivery).
254 -|(% style="width:201px" %)HDW107 to HDW171|(% style="width:586px" %)The subject length is limited to 64 words. (If it exceeds, it will intercept 64 words of content)
255 -|(% style="width:201px" %)HDW172 to HDW300|(% style="width:586px" %)The content length is limited to 128 words. (If it exceeds, it will intercept 128 words of content)
256 -|(% style="width:201px" %)HDX301.0|(% style="width:586px" %)Whether to send an alarm record attachment (a file named AlarmDataFile.db)
264 +|(% style="width:201px" %)HDX101.0~~101.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW101.0 set ON, and the address in group 1 will be in recipient list.
265 +|(% style="width:201px" %)HDX103.0~~103.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW103.0 set ON, and the address in group 1 will be in CC list.
266 +|(% style="width:201px" %)HDX105.0~~105.15|(% style="width:586px" %)It is used for triggering recipient groups, for example, HDW105.0 set ON, and the address in group 1 will be in BCC list (Secret delivery).
267 +|(% style="width:201px" %)HDW107~~171|(% style="width:586px" %)The subject length is limited to 64 words. (If it exceeds, it will intercept 64 words of content); The length of 65 words only use 64 actually, the 65th word address is reserved;
268 +|(% style="width:201px" %)HDW172~~300|(% style="width:586px" %)The content length is limited to 128 words. (If it exceeds, it will intercept 128 words of content)
269 +|(% style="width:201px" %)HDX301.0|(% style="width:586px" %)Whether to send an alarm record file as attachment
270 +(HMI V1.0 filename: AlarmDataFile.db)
271 +(HMI V2.0 filename: AlarmDataFile_0.db)
257 257  
258 258  1. Emails that sent manually are not queued. Emails trigger by bit change, rising edge, falling edge and timing need to be sent in the sequence of triggering. The maximum value is 100, and those who are added after it is exceeded will be discarded. If an email is sending, it would send immediately after the current email is sent. If there is no email sending, it would send immediately.
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.
file setting.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +21.2 KB
Content
视频功能部件配置.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.AiXia
Size
... ... @@ -1,0 +1,1 @@
1 +10.5 KB
Content