Hello,
I am currently storing my files on the PLC and transferring them to the server via FTP. Is there a way to save the files from the Data Recorder directly onto a server drive?
The PLC and server are on the same network.
Thanks!
Hello,
I am currently storing my files on the PLC and transferring them to the server via FTP. Is there a way to save the files from the Data Recorder directly onto a server drive?
The PLC and server are on the same network.
Thanks!
Hi Peter,
This should be possible if you create a file device using a network drive. You’ll need to use either the CIFS or FTP protocol (see the limitations here). You’d create the file device at runtime using the DevLink function block. Once the file device has been created successfully, you can pass the device name to MpDataRecorder.
One thing to note is that this method is usually used in the context of the other FileIO function blocks (e.g. opening and writing to a file with a PLC program). Accessing files over a network takes additional time, and I’m not sure if MpDataRecorder will error out because of that or not. If the above method doesn’t work, a safer alternative would be to save the file locally, and then transfer it to the network drive after it has been created.