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.
Solved! Go to Solution.
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?