Changes for page 05 Lua Script

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

From version 59.1
edited by Joe
on 2024/09/06 11:14
Change comment: There is no comment for this version
To version 62.1
edited by Joe
on 2024/10/15 14:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -36,10 +36,18 @@
36 36  
37 37  = **7 FTP Client** =
38 38  
39 -The example shows how the to establish the FTP server at WIN10 OS and make the HMI as FTP client.
39 +The example shows how  to establish the FTP server at WIN10 OS and make V2.0 HMI as FTP client.
40 40  
41 41  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/FTP%20ClientV2.zip]]
42 42  
43 +(% class="box infomessage" %)
44 +(((
45 +Note: The above demo can work normal in OS V2.0. But if HMI OS  is V3.0, please change "r+" to "r" in the script.
46 +)))
47 +
48 +(% style="text-align:center" %)
49 +[[image:dZyxVCtWDz.png]]
50 +
43 43  ~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]]**
44 44  
45 45  2. Enter PC (FTP Server) IP address and port number (Default 21).
... ... @@ -109,8 +109,6 @@
109 109  (% style="text-align:center" %)
110 110  [[image:4ALQq7niTV.png]]
111 111  
112 -
113 -
114 114  = **8 Telegram Notification** =
115 115  
116 116  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.
... ... @@ -637,3 +637,9 @@
637 637  
638 638  (% style="text-align:center" %)
639 639  [[image:tPN1mbz7ny.png]]
646 +
647 += 23 Lua SMS =
648 +
649 +The example shows how to use HMI built-in 4G module to send SMS via Lua script. This demo requires the HMI model name with (G) or (AG).
650 +
651 +[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Lua%20SMS%20Library.zip]]
dZyxVCtWDz.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.joe
Size
... ... @@ -1,0 +1,1 @@
1 +53.7 KB
Content