Changes for page 05 Lua Script

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

From version 9.1
edited by Hunter
on 2022/07/28 09:53
Change comment: There is no comment for this version
To version 1.1
edited by Leo Wei
on 2022/06/08 12:57
Change comment: Imported from XAR

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.admin
Content
... ... @@ -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/1Afc6Eh3LyPVdIUuXaEgq9YBbMWSQIeOr/view?usp=sharing]]
30 30  
31 31  = **6 Arabic Keypad** =
32 32  
... ... @@ -33,23 +33,3 @@
33 33  The example shows how to use the Lua to achieve the Arabic keypad. Also available for other non-English language like Cyrillic.
34 34  
35 35  [[Download link>>https://drive.google.com/file/d/1JqpTRRqj6db32aLn7tqqO8dWT6EuXBEL/view?usp=sharing]]
36 -
37 -= **7 FTP Client** =
38 -
39 -The example shows how the to establish the FTP server at WIN10 OS and make the HMI as FTP client.
40 -
41 -Step1: About how to set up the FTP server in Windows PC: **[[Microsoft Official Link1>>https://docs.microsoft.com/en-us/iis/publish/using-the-ftp-service/scenario-build-an-ftp-site-on-iis]] **,** [[Direct Link2>>https://www.windowscentral.com/how-set-and-manage-ftp-server-windows-10]]**
42 -
43 -Step2: Change the IP, port, username and password in Script_BG.lua, to connect user's own server.
44 -
45 -Step3: Change the filename want to download or upload in Script_BG.lua
46 -
47 -Step4: Change the string "udisk:smtp.jpg", into the storage path user want to download from FTP server save to HMI, in function Main_download() in Main.lua.
48 -
49 -[[Download link>>https://drive.google.com/file/d/1b0g3eA_2TSdXqLM_hpv9l2Wq0Yq-13nf/view?usp=sharing]]
50 -
51 -= **8 Telegram Notification** =
52 -
53 -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.
54 -
55 -[[Download link>>https://drive.google.com/file/d/1wV0O79TJ2mgUEBkKcjrb53PM8DkTQxVo/view?usp=sharing]]