Changes for page 05 Lua Script
Last modified by Devin Chen on 2025/03/04 14:07
From 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
To version 47.1
edited by Devin Chen
on 2023/08/17 15:33
on 2023/08/17 15:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -545,14 +545,11 @@ 545 545 (% style="text-align:center" %) 546 546 [[image:celllocation.png]] 547 547 548 -= 18 How to convert a number to a string =548 += 18 Convert a number to a string = 549 549 550 550 The example shows how to convert a number to a string using the "tostring()" function. 551 551 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 requirements 555 - 556 556 The core code is from file convert.lua: 557 557 558 558 (% style="text-align:center" %) ... ... @@ -563,17 +563,3 @@ 563 563 (% style="text-align:center" %) 564 564 [[image:Converttestdisplay.png]] 565 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 - 573 -= 20 UDP Multicast = 574 - 575 -The example shows how to use UDP multicast feature to send and receive data. 576 - 577 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/UDP%20Multicast.zip]] 578 - 579 -About the details, please check the [[UDP module>>https://docs.we-con.com.cn/bin/view/PIStudio/09%20Lua%20Editor/Lua%20Script/#HUDPmodule-1]]