Changes for page 05 Lua Script
Last modified by Jett on 2025/06/07 17:34
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.2454238480 - Content
-
... ... @@ -89,7 +89,7 @@ 89 89 90 90 Error 1: 550 Access is denied 91 91 92 -Open Windows Settings → Update & Security→ Windows Security→ Firewall & network protection→ Advanced setting→ Inbound Rules→ New Rules→ Next → choose "This program path"→ input ‘’C:\Windows\System32\svchost.exe‘’→ Click“NEXT”continuously92 +Open Windows Settings → Update & Security→ Windows Security→ Firewall & network protection→ Advanced setting→ Inbound Rules→ New Rules→ Next → choose "This program path"→ input "C:\Windows\System32\svchost.exe"→ Click "NEXT" continuously 93 93 94 94 (% style="text-align:center" %) 95 95 [[image:qCzqnKTUhp.png]] ... ... @@ -109,7 +109,7 @@ 109 109 110 110 Error 2: No route to host 111 111 112 -The previous steps are the same as Error 1 → Port → specific local ports→ input port number “21”→ Click“NEXT”continuously112 +The previous steps are the same as Error 1 → Port → specific local ports→ input port number "21"→ Click "NEXT" continuously 113 113 114 114 (% style="text-align:center" %) 115 115 [[image:fdsxie8WHc.png]] ... ... @@ -123,7 +123,7 @@ 123 123 124 124 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Telegram.zip]] 125 125 126 -= 9** LINE Notify** = 126 += 9** LINE Notify(Not available now)** = 127 127 128 128 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. 129 129 ... ... @@ -132,6 +132,11 @@ 132 132 133 133 = 10** How to parse value from subscribing MQTT topic** = 134 134 135 +(% class="box infomessage" %) 136 +((( 137 +**Only ig series can use this function.** 138 +))) 139 + 135 135 This example shows how to parse value from subscribing MQTT topic. Get the value and calculate the average value for group F1, F2, F3 and F4. The testing topic name is "testtopic/test/no1/123456". 136 136 137 137 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/MQTT%20JSON%20parse.zip]] ... ... @@ -293,6 +293,11 @@ 293 293 294 294 = **13 MQTT Multi-link** = 295 295 301 +(% class="box infomessage" %) 302 +((( 303 +**Only ig series can support this function.** 304 +))) 305 + 296 296 The example shows use mqtt realize multi-machine function: 297 297 298 298 [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/MQTT%20Multi-link.zip]]
- 1747813978928-699.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Hunter - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content