Changes for page 2 Script

Last modified by Devin Chen on 2025/06/06 14:03

From version 12.1
edited by Jim(Forgotten)
on 2022/07/09 17:02
Change comment: There is no comment for this version
To version 11.1
edited by Jim(Forgotten)
on 2022/07/09 17:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -256,13 +256,15 @@
256 256   sv=addr_getshort("@SV Silicone")/10,
257 257   pv=addr_getshort("@PV Silicone")/10,
258 258   product1=addr_getshort("@Product 1")/10,
259 -\\ product2=addr_getshort("@Product 2")/10,
259 +
260 + product2=addr_getshort("@Product 2")/10,
260 260   product3=addr_getshort("@Product 3")/10,
261 261   product4=addr_getshort("@Product 4")/10,
262 262   ice1=addr_getshort("@Ice condenser 1")/10,
263 263   ice2=addr_getshort("@Ice condenser 2")/10,
264 264   vacuum=addr_getfloat("@Vacuum")
265 -\\ }
266 +
267 + }
266 266   local jsAlarm = { HPC = addr_getbit("@B_25395#W0.00"),
267 267   ODPC = addr_getbit("@B_25395#W0.01"),
268 268   MTPC=addr_getbit("@B_25395#W0.02"),
... ... @@ -277,7 +277,7 @@
277 277   FSE=addr_getbit("@B_25395#W2.04"),
278 278   AVVSVV=addr_getbit("@B_25395#W1.12"),
279 279   ICHT=addr_getbit("@B_25395#W3.06")
280 -
282 +
281 281   }
282 282  \\ ~-~- ("@B_25395#CIO1.02")
283 283   mq.m:publish("mqtt-v-box-epsilon-fd300", json.encode(js) , 0, 0)
... ... @@ -721,7 +721,7 @@
721 721  
722 722  [[image:image-20220709165402-4.png]]
723 723  
724 -{{code language="java"}}
726 +{{code language="LUA"}}
725 725  {
726 726  
727 727    "Version": "2012-10-17",
... ... @@ -763,6 +763,7 @@
763 763  |
764 764  | |[[image:image-20220709165402-6.png]]
765 765  
768 +
766 766  |
767 767  | |[[image:image-20220709165402-7.png]]
768 768  
... ... @@ -792,6 +792,7 @@
792 792  
793 793  
794 794  
798 +
795 795  |
796 796  | |[[image:image-20220709165402-11.png]]
797 797  
... ... @@ -800,6 +800,7 @@
800 800  
801 801  
802 802  
807 +
803 803  1. **Test with MQTT.fx tool**
804 804  
805 805  Click “View Setting” to get the “Broker Adress”
... ... @@ -818,6 +818,7 @@
818 818  
819 819  
820 820  
826 +
821 821  |
822 822  | |[[image:image-20220709165402-14.png]]
823 823  
... ... @@ -830,6 +830,7 @@
830 830  | |[[image:image-20220709165402-15.png]]
831 831  
832 832  
839 +
833 833  Publish message to topic “TEST”
834 834  
835 835  
... ... @@ -848,6 +848,7 @@
848 848  | |[[image:image-20220709165402-18.png]]
849 849  
850 850  
858 +
851 851  1. **Configurate in CloudTool**
852 852  
853 853  Copy the same setting in MQTT.fx to MQTT configuration
... ... @@ -864,6 +864,7 @@
864 864  
865 865  
866 866  
875 +
867 867  sprint = print
868 868  
869 869  ~-~-Cloud mode interface to obtain the MQTT information configured by the cloud platform: (5 returns, namely the server address, client ID, connection table, last word table, certificate table)
... ... @@ -1051,3 +1051,5 @@
1051 1051  
1052 1052  |
1053 1053  | |[[image:image-20220709165402-21.png]]
1063 +
1064 +