|AutomationDirect Live Chat|
This video gives basic information on Using the FileCopy "Copy File" instruction in the Do-more Designer software. It presents information that is commonly missed by users. This WILL NOT be a complete tutorial for the instruction but rather a supplement to the help file and customer experience.
This instruction is used to copy the contents of a file to that of another file. The Source File and the destination file, cannot be currently open, when this instruction is triggered. These files can be on the same file system or separate file systems. Notice that the File name here is in quotation marks. Anytime you use text in these fields, these must be here, so that the instruction knows you are not using a tag. You can use a string tags here, just exclude the quotation marks. Make sure to review how these options will affect your file. If you want to just add source file to the end of the existing destination file, select this. If you want to delete the original file when this is done, select this. Make sure to note that this is an edge triggered instruction. It requires an off to on transition. This instruction can be used in Task or Program but cannot be used in Subroutines or Interrupt service routines. Only BRX PLCs have the SD Card File System, but all Do-mores CPUs have a useable RAM File System, if they have version 2.0 firmware or above. There is a utility that can be used to manage the contents of any file system. This can be found, while the designer software is connected to the PLC, and then selecting PLC-> Browse PLC File system.