2000 text files using PLCnext

Hi,
I’m using a PLCnext AXC F 2152, and a IB IL RS 485/422-PRO-PAC module, to establish communication through RS 485 with an HMI that supports file operations. I had no problem with one text file. I copied the text file name and also the content of the text file. And I placed those strings into the holding registers of the function block to be able to read those strings from the HMI and create the text file there (In the HMI). Now, with 2000 text files, I was wondering whether it’s a better way to read the data or send the text files directly all at once using the PLCnext. To create the text files I’m using C++.
Ricardo.

It depends on the capability of the HMI.
If the HMI only has a serial interface, then the method you’re using is probably the best option (especially since you have it working).
If the HMI has an ethernet interface, then there may be other possibilities. But even then, it would depend on the capabilities of the HMI - e.g. does it have any file transfer software installed, like an ftp client?
If you get in touch with the technical specialists in your local Phoenix Contact office, and give them the technical specifications of the HMI, they can probably give you good advice.