LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Transfer Via ModBus

 

I am hoping to transfer data (file size between 70kB~1MB) between two remote locations. I played around with “MB Ethernet Example Master” from ModBus toolkit and was able to successfully send/receive boolean and numeric values.

 

Here are 2 questions:

 

  1. For my application, is Ethernet/Modbus the best way? Another way that I thought of was emailing the file, but then again I would have to deal with the mail server…etc.
  2. From what I could gather, the way that a file would be sent would be to read strings from the file, parse the data into packets that won’t overflow the allowable size. On the receiving and it would reconstruct the packets, and save it to a file. Does this model sound about right?
0 Kudos
Message 1 of 3
(6,304 Views)

I think using Datasocket or TCP/IP is a better choice.

Do a little search, then post back if you have farther questions.

About your 2nd question, you are right. If you will use Modbus, i think that is the way to go.

0 Kudos
Message 2 of 3
(6,289 Views)
Modbus is not intended at all for sending files between locations.  It is intended for sending values or groups of values that are located at specific modbus registers within a device or server.  For transferring files either use FTP or look at the examples for TCP/IP file transfer.
0 Kudos
Message 3 of 3
(6,269 Views)