Search the Community
Showing results for tags 'float'.
HI, I'm trying to communicate with another device via my V350. I'm using Modbus IP and I can successfully connect and read the 16-bit registers. However when I try to read the 32-bit registers I get either some very small numbers, below was my best guess, but as you can see I get a very small number. (should be 32856.876) I would also like to be able to read the 64-bit registers if possible Thanks All the best, Palsson
Hello, I'm have some problems with the conversion of two integers to a floating point value. I have a modbus energy meter (SDM120) who works with 32bit IEEE745 floats values. In visilogic I receive two 16bit integers (MI); MI0 : 15643 MI1: -23069 I converted these integers to bits by the 'num to bit' function block. These are the converted value's : MI0 : 15643 --> 0011 1101 0001 1011 MI1: -23069 --> 1010 0101 1110 0011 If I put the two value's behind eachother I get the following binary code: 0011 1101 0001 1011 1010 010