Copying Files to/from PLC¶
In the generic Files tab of the device editor, you can copy files to and from the local file system and the controller.
Requirement: The vendor has unlocked the tab. In the device tree, the connection to the controller is configured. The device is running.
- Double-click the PLC device object in the device tree to open the device editor. 
- Click the Files tab. 
- In Host | Location on the left part of the view, set the path in the local file system where files will be copied to and from. Example: - D:\\FileTransferWithPLC. If necessary, create a new directory by clicking the folder symbol ( ). ).- ⇒
- The files and directories are shown like in a file manager. Click the refresh symbol (  ) to update the display. ) to update the display.
 
- In Runtime on the right side of the view, set the required directory for the data transfer in the same way. - ⇒
- CODESYS shows the files on the controller. 
 
- Select the required files from the file system tree for the file transfer (multiple selection is possible). You can also select a directory for transferring all files in a folder. 
- Click the left and right arrow symbols (  , , ) between the two parts of the view. ) between the two parts of the view.- ⇒
- CODESYS copies the selected files to the other file system immediately. If a file is not already available in the target directory, then it is created. If it is already available and not write-protected, then it is overwritten. Otherwise a message is shown. 
 
See also
