Changes for page 05 Lua Script

Last modified by Devin Chen on 2025/03/04 14:07

From version 4.1
edited by Hunter
on 2022/07/07 21:00
Change comment: There is no comment for this version
To version 15.1
edited by Hunter
on 2022/09/07 11:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,11 +4,11 @@
4 4  
5 5  [[Download link>>https://drive.google.com/file/d/1ji5RbQJzUn_rQ2couX062fYt_6dqQNRb/view?usp=sharing]]
6 6  
7 -= **2 MQTT** =
7 += **2 MQTT Client** =
8 8  
9 9  The example shows how to connect to the MQTT server.(Test on MaQiaTTo)
10 10  
11 -[[Download link>>https://drive.google.com/file/d/1DY-VGRMBZrxfPHF3qLrgZ-1fJBCOK-q5/view]]
11 +[[Download link>>https://drive.google.com/file/d/1LWLaOlhWB3BRSTLy3_2RC6Yb0wK7slEB/view?usp=sharing]]
12 12  
13 13  = **3 Timer** =
14 14  
... ... @@ -26,7 +26,7 @@
26 26  
27 27  The example shows the simple write and read of User Free protocol
28 28  
29 -[[Download link>>https://drive.google.com/file/d/1NZoKRbXL66wTnEOz1yW7ebAjZm_hjBT1/view?usp=sharing]]
29 +[[Download link>>https://drive.google.com/file/d/1v8UZvdclq3OGEajkbd78w7_XY2bY2qAe/view?usp=sharing]]
30 30  
31 31  = **6 Arabic Keypad** =
32 32  
... ... @@ -38,10 +38,38 @@
38 38  
39 39  The example shows how the to establish the FTP server at WIN10 OS and make the HMI as FTP client.
40 40  
41 -[[Download link>>https://drive.google.com/file/d/1b0g3eA_2TSdXqLM_hpv9l2Wq0Yq-13nf/view?usp=sharing]]
41 +~1. About how to set up the FTP server in Windows PC: **[[Build an FTP Site on IIS>>https://docs.microsoft.com/en-us/iis/publish/using-the-ftp-service/scenario-build-an-ftp-site-on-iis]] **,** [[How to set up and manage an FTP server on Windows 10>>https://www.windowscentral.com/how-set-and-manage-ftp-server-windows-10]]**
42 42  
43 +2. Enter PC (FTP Server) IP address and port number (Default 21).
44 +
45 +(% style="text-align:center" %)
46 +[[image:LuaFTPDemoIP&Port.png]]
47 +
48 +3. Change the filename of the file that needs to be uploaded. If run on as Offline Simulator, the simulate upload path of "udisk:1.png" will be "C:\WECON\USB\1.png" on the PC.
49 +
50 +(% style="text-align:center" %)
51 +[[image:LuaFTPDemoUpload.png]]
52 +
53 +4. Change drive letter of file save path according to drop-down list (There are three option available: Flash, UDisk and SDCard).
54 +
55 +(% style="text-align:center" %)
56 +[[image:LuaFTPDemoDropBox.png]]
57 +
58 +5. Change the filename of the file that needs to be downloaded from PC(Server).
59 +
60 +(% style="text-align:center" %)
61 +[[image:LuaFTPDemoDownload.png]]
62 +
63 +6. Set the default configuration in file "Script_BG.lua"
64 +
65 +(% style="text-align:center" %)
66 +[[image:LuaFTPDemoInitial.png]]
67 +
68 +
69 +[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/FTP%20Client.zip]]
70 +
43 43  = **8 Telegram Notification** =
44 44  
45 -The example shows how to use Bot API to push the notification to channel or group of Telegram.
73 +The example shows how to use Bot API to push the notification to channel or group of Telegram. Please change the Token and Chat id to users' own one.
46 46  
47 47  [[Download link>>https://drive.google.com/file/d/1wV0O79TJ2mgUEBkKcjrb53PM8DkTQxVo/view?usp=sharing]]
LuaFTPDemoDownload.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +26.2 KB
Content
LuaFTPDemoDropBox.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +29.2 KB
Content
LuaFTPDemoIP&Port.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +26.4 KB
Content
LuaFTPDemoInitial.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +55.5 KB
Content
LuaFTPDemoUpload.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +26.6 KB
Content