04-11-2018 03:57 AM
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.
Solved! Go to Solution.
04-11-2018 04:03 AM - edited 04-11-2018 04:04 AM
04-11-2018 06:47 AM
Hi GerdW,
Thank You very Much for your suggestion...It Works.
10-10-2018 04:40 PM
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
05-25-2022 07:27 AM
I saw this post. I am working with a FX3U mitsubishi PLC and needed to data log tags/addresses to Labview. I know the plc is setup with ethernet/UDP protocol. Do you happen to have an example vi of connectivity? I cant seem to find any examples.
thanks.