LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data From Mitsubishi PLC to Labview

Solved!
Go to solution

Hi All,

 

I have encountered a problem of data from PLC.

I have created a small program in LabVIEW to connect with Mitsubishi FX-3u PLC via FX-ENET module. It was working good.

And I receive the data from PLC also good.

 

The problem is,

 

The Float Data of DM 100 in the PLC memory 32 bit Data (2 Words) is in the REAL number format. Ex. DM 100 = 31720 and DM101 = 16722 

(If I transfer to HMI it will shown as floating Data like 13.155)

 

I am going to send The Actual float data 13.155 to HMI also the SQL Database.

 

For HMI I have no problem. But if I read the PLC DM Data via TCP/IP I can get ASCII value of 31720 and 16722.

I can try many conversion, But I can't get the value of 13.155

 

I know many Experts here, please help me on that...

I need your suggestions.

 

Thanks.

0 Kudos
Message 1 of 4
(1,203 Views)
Highlighted
Solution
Accepted by topic author Kathir_rkv

Hi Kathir,

 

quite easy:

check.png

 

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 4
(1,200 Views)
Highlighted

 

Hi GerdW,

 

Thank You very Much for your suggestion...It Works.

0 Kudos
Message 3 of 4
(1,171 Views)
Highlighted

Hi,

I you scan data by 16 bits word, it seem's you don't used standard protocol?

How do you communicate with PLC (Library?) over ENET?

Thank's

0 Kudos
Message 4 of 4
(870 Views)