dgirard - 2022-03-10

Hi everyone

I have a client who wants to datalog to csv files on a Codesys PLC and have this data uploaded to the cloud. However these machines have no access to internet as they are in the middle of the nowhere.

Here is their idea: once a day, they want to export that csv file to an Android device that is on the same LAN and have that file be automatically transfered to the cloud once the Android device regains internet access back at the office. We will be using the Android device as a middle man.

The client is willing to develop the app for Android and they would like me to develop the Codeys program logic to transfer the csv from the controller to the Android device. They want the process to be as seamless as possible. If the controller could automatically transfer the csv file once the Android device appears on the network, that would be ideal.

How would you approach this situation? My initial thought is to do FTP or use the IIOT library, maybe an API or similar?.

Is there a preferable file format other than CSV?

Please note the Android device will not be at the machine all day.

Thank you