Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
From version 57.2
edited by Joe
on 2024/09/06 10:53
on 2024/09/06 10:53
Change comment:
There is no comment for this version
To version 54.1
edited by Devin Chen
on 2023/11/24 17:07
on 2023/11/24 17:07
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. joe1 +XWiki.DevinChen - Content
-
... ... @@ -67,36 +67,11 @@ 67 67 (% style="text-align:center" %) 68 68 [[image:LuaFTPDemoInitial.png]] 69 69 70 -(% class="box infomessage" %) 71 -((( 72 72 ✎Note: If want to confirm whether it is downloaded successfully, please add a File list object to check in HMI project. If saved path is root path (same to the all three drive), please set the folder as "~/~/". 73 -))) 74 74 75 75 (% style="text-align:center" %) 76 76 [[image:LuaFTPDemoFilelist.png]] 77 77 78 -**Common error:** 79 - 80 - In the demo project, if there are some errors in HMI for testing, please check the following steps. 81 - 82 -Error 1: 550 Access is denied 83 - 84 - 85 -(% style="text-align:center" %) 86 -[[image:qCzqnKTUhp.png]] 87 - 88 -(% style="text-align:center" %) 89 -[[image:vfrt3NElMX.png]] 90 - 91 -(% style="text-align:center" %) 92 -[[image:dAuz25bdvM.png]] 93 - 94 -(% style="text-align:center" %) 95 -[[image:rxQIJkX8ll.png]] 96 - 97 -(% style="text-align:center" %) 98 -[[image:vmG8WGu5P2.png]] 99 - 100 100 = **8 Telegram Notification** = 101 101 102 102 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. ... ... @@ -594,6 +594,7 @@ 594 594 595 595 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/HuaweiMQ%281%29.zip]] 596 596 572 + 597 597 = 20 UDP Multicast = 598 598 599 599 The example shows how to use UDP multicast feature to send and receive data. ... ... @@ -601,25 +601,3 @@ 601 601 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/UDP%20Multicast.zip]] 602 602 603 603 About the details, please check the [[UDP module>>https://docs.we-con.com.cn/bin/view/PIStudio/09%20Lua%20Editor/Lua%20Script/#HUDPmodule-1]] 604 - 605 -= 21 ATC module **send SMS** = 606 - 607 -The example shows how to use HMI to customize communication with the ATC SMS module via Lua script to send SMS. 608 - 609 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/SMS.zip]] 610 - 611 -= 22 TCP Client = 612 - 613 -The example shows how to use the Lua Socket TCP module to connect with a TCP server. 614 - 615 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/TCP%20ClientV1.1.zip]] 616 - 617 -~1. Set the initial values of Server IP and port number. 618 - 619 -(% style="text-align:center" %) 620 -[[image:vcbt6CE6EL.png]] 621 - 622 -2. Set the actual receive length of TCP message according to the actual needs. 623 - 624 -(% style="text-align:center" %) 625 -[[image:tPN1mbz7ny.png]]
- 1721298723226-463.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.9 KB - Content
- dAuz25bdvM.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.joe - Size
-
... ... @@ -1,1 +1,0 @@ 1 -245.8 KB - Content
- qCzqnKTUhp.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.joe - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30.0 KB - Content
- rxQIJkX8ll.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.joe - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.1 KB - Content
- tPN1mbz7ny.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.4 KB - Content
- vcbt6CE6EL.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.9 KB - Content
- vfrt3NElMX.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.joe - Size
-
... ... @@ -1,1 +1,0 @@ 1 -234.9 KB - Content
- vmG8WGu5P2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.joe - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.1 KB - Content