Changes for page 05 Lua Script

Last modified by Jett on 2025/06/07 17:34

From version 76.1
edited by Hunter
on 2025/05/21 15:55
Change comment: There is no comment for this version
To version 78.1
edited by Jett
on 2025/06/07 17:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.2454238480
Content
... ... @@ -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]]