Changes for page 2 Script
Last modified by Devin Chen on 2025/06/06 14:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -447,6 +447,20 @@ 447 447 end 448 448 {{/code}} 449 449 450 +== **1.9 High-Low Byte Switch** == 451 + 452 + 453 +{{code language="lua"}} 454 +function highLowByteSwitch(floatNumber) 455 + addr_setfloat("@W_0#HDW23036",floatNumber,0,2) 456 + local newFloat = addr_getfloat("@W_0#HDW23036") 457 + local formattedFloat = string.format("%.2f",newFloat) 458 + print("The formatted float value is the : "..formattedFloat) 459 + return formattedFloat 460 +end 461 +{{/code}} 462 + 463 + 450 450 = **2 V-Box connect with third part server** = 451 451 452 452 V-Box have two mode.One is for V-Net,User need to use WECON server to store data.We call this V-NET platform.