Changes for page 05 Lua Script

Last modified by Devin Chen on 2026/06/24 16:17

From version 9.1
edited by Joe
on 2026/03/03 15:34
Change comment: There is no comment for this version
To version 13.1
edited by Devin Chen
on 2026/06/24 16:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.joe
1 +XWiki.DevinChen
Content
... ... @@ -126,6 +126,9 @@
126 126  
127 127  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Telegram.zip]]
128 128  
129 +
130 +[[URL Encode Table for Special Characters>>https://docs.we-con.com.cn/bin/view/PIStudio/FAQ/Why%20can't%20I%20receive%20HMI%20messages%20on%20Telegram]]
131 +
129 129  = 9** LINE Notify(Not available now)** =
130 130  
131 131  This example shows how to use the LINE Notify to send message into LINE group. When monitoring bit "@B_HDX0.0" changes, it will trigger and send the message. Please replace with your own Token.
... ... @@ -720,3 +720,14 @@
720 720  {{/warning}}
721 721  
722 722  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/GoogleSheet.zip]]
726 +
727 += 29 Graphics Drawing =
728 +
729 +The example shows drawing a snow and a star on the HMI screen with drawing function from Lua Script.Please note that  use PI version 10.6 or higher to open the project.
730 +[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Graphics%20Drawing.pi2]]
731 +
732 +
733 += 30 Timestamp =
734 +
735 +This example shows how to obtain second-level and millisecond-level timestamps.
736 +[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Timestamp.zip]]