28.03.2024, 09:18
For Float32 values use:
If the returned value is incorrect change the third parameter from w to n
Similarly for Int32 and UInt32 values change the second parameter to either int32 or uint32
Code:
cosphi = mb:readregistervalue(61442, 'float32', 'w')
log(cosphi)
If the returned value is incorrect change the third parameter from w to n
Similarly for Int32 and UInt32 values change the second parameter to either int32 or uint32