Filecopy - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

FileCopy

The FileCopy instruction copies the specified file in the SD Memory Card.
Instruction
FileCopy
Copy File
Variables
Name
Meaning
SrcFile
Source file
Name
DstFile
Destination
Name
file
OverWrite
Overwrite
enable
Bit strings
SrcFile
Name
DstFile
Name
OverWrite
OK
Function
The FileCopy instruction copies the file specified by source file SrcFileName to designation file DstFile-
Name in the SD Memory Card.
If a file with the name DstFileName already exists in the SD Memory Card, the following processing is
performed depending on the value of overwrite enable OverWrite.
Value of OverWrite
TRUE (Enable overwrite.)
FALSE (Prohibit overwrite.)
2-1298
Name
FB/FUN
FB
I/O
Description
Name of file to copy
Name of destination file
Input
TRUE: Enable overwrite.
FALSE: Prohibit overwrite.
The existing file is overwritten.
The file is not overwritten and an error occurs.
Graphic expression
FileCopy_instance
FileCopy
Execute
Done
SrcFileName
Busy
DstFileName
Error
OverWrite
ErrorID
Valid range
66 bytes max. (65 sin-
gle-byte alphanumeric
characters plus the final
NULL character)
Depends on data type.
Integers
Treatment
NY-series Instructions Reference Manual (W560)
ST expression
FileCopy_instance(Execute,
SrcFileName, DstFileName,
OverWrite, Done, Busy,
Error, ErrorID);
Unit
Default
''
---
FALSE
Times, durations, dates,
and text strings
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents