LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus RTU labview communication issue

Solved!
Go to solution

Hi Sir,

     I have some doubt in pulling out the data from the device and setting the data into the device, the value whatever i set in the controller takes as a floating point data what i mean is, for example if i set the value for 100 means it takes 10.0 and replying me process value(PV) back as a floating point (ex.33.0)in controller and here in the UI as a integer(ex.330). 

Regards,

Dinesh

0 Kudos
Message 11 of 13
(1,352 Views)

@dineshmeena wrote:

Hi Sir,

     I have some doubt in pulling out the data from the device and setting the data into the device, the value whatever i set in the controller takes as a floating point data what i mean is, for example if i set the value for 100 means it takes 10.0 and replying me process value(PV) back as a floating point (ex.33.0)in controller and here in the UI as a integer(ex.330). 

Regards,

Dinesh


This isn't actually floating point, this could be called "fixed point" (albeit decimal rather than binary), because the decimal point is always fixed at a specific location in the number. What is your doubt specifically? If you need to convert from a floating-point number in LabVIEW to this format, first multiply it by ten, then convert it to an integer. To do the opposite conversion, first convert the fixed-point integer value to a floating-point, then divide by 10.

0 Kudos
Message 12 of 13
(1,347 Views)

Hello!

I have the same problem to connect the TAIE FY400 with RS 485. So, can you send me your VI file?

0 Kudos
Message 13 of 13
(1,305 Views)