You have no items in your shopping cart.

New HIDS Drum Scales!

Click Here to Learn More!
Support: 858-292-2710

How can I read float values over ControlNet?

Last updated 03/11/2014 10:27 AM

Question

How can I read float values over ControlNet on my HI 4050 or HI 3000 series unit?

Answer

On the HI 4000 series (which include the HI 4050 and HI 4060) and the HI 3000 series (which includes the HI 3010, HI 3030, HI 3300, and HI 3600), when data is sent as a float value it means the value is in IEEE float data format. These will be 32 bits of data that is then split into two 16 bit words, the MSW (upper 16 bits) will be in the first word location and the LSW (lower 16 bits) will be in the second word location. Once you have these two words in the processor, a copy command from the integer (16 bit) locations into a float (32 bit) location will re-assemble the two parts of the split value into the one float value. The copy command is used to preserve the bit pattern of the IEEE float formatted data. Once the bit pattern is copied into the float location, the PLC will then interpret the value correctly.