Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
From version 57.1
edited by Hunter
on 2024/07/18 18:53
on 2024/07/18 18:53
Change comment:
There is no comment for this version
To version 49.1
edited by Devin Chen
on 2023/08/17 18:36
on 2023/08/17 18:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.DevinChen - Content
-
... ... @@ -551,7 +551,7 @@ 551 551 552 552 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Number%20to%20string.zip]] 553 553 554 -Note:This demo converts a 64-bit floating to a string,you can change the data format of "@W_HDW0"depand on requirements554 +Note:This demo converts a 64-bit floating to a string,you can change the data format depand on requirements 555 555 556 556 The core code is from file convert.lua: 557 557 ... ... @@ -562,39 +562,3 @@ 562 562 563 563 (% style="text-align:center" %) 564 564 [[image:Converttestdisplay.png]] 565 - 566 -= 19 HUAWEI CLOUD & OpenCloud = 567 - 568 -About the details, please check the powerpoint or video of Lua MQTT & OpenCloud [[Jump To>>doc:PIStudio.Download.1 Manual.WebHome]] 569 - 570 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/HuaweiMQ%281%29.zip]] 571 - 572 -= 20 UDP Multicast = 573 - 574 -The example shows how to use UDP multicast feature to send and receive data. 575 - 576 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/UDP%20Multicast.zip]] 577 - 578 -About the details, please check the [[UDP module>>https://docs.we-con.com.cn/bin/view/PIStudio/09%20Lua%20Editor/Lua%20Script/#HUDPmodule-1]] 579 - 580 -= 21 ATC module **send SMS** = 581 - 582 -The example shows how to use HMI to customize communication with the ATC SMS module via Lua script to send SMS. 583 - 584 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/SMS.zip]] 585 - 586 -= 22 TCP Client = 587 - 588 -The example shows how to use the Lua Socket TCP module to connect with a TCP server. 589 - 590 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/TCP%20ClientV1.1.zip]] 591 - 592 -~1. Set the initial values of Server IP and port number. 593 - 594 -(% style="text-align:center" %) 595 -[[image:vcbt6CE6EL.png]] 596 - 597 -2. Set the actual receive length of TCP message according to the actual needs. 598 - 599 -(% style="text-align:center" %) 600 -[[image:tPN1mbz7ny.png]]
- 1721298723226-463.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.9 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