2-843
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
SD Memory Card Instructions
2
FileCopy
The following procedure is used to move a file.
1
The DirCreate instruction is used to create a directory called 'Dir1' in the SD Memory Card.
2
The FileCopy instruction is used to copy the file named 'ABC.bin' in the existing directory 'Dir0'
to the directory 'Dir1.'
3
The DirRemove instruction is used to delete the directory ‘Dir0’ (the source of the copy).
Sample Programming
1. Create directory.
2. Copy file.
’Dir1’
’Dir1’
ABC.bin
’Dir0’
ABC.bin
ABC.bin
’Dir1’
ABC.bin
’Dir0’
3. Delete directory.