![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686524.webp)
WWW.NNC.IR
Macro Reference
522
Vision System FH/FZ5 Series
User’s Manual (Z340)
Fcopy
Copies the file.
Format
Fcopy <srcPath>, <dstPath>
Parameter
Return value
None.
Description
Copies the file of the file name specified in the <srcPath> parameter as file of the file name specified in the
<dstPath> parameter.
In the <srcPath> parameter and the <dstPath> parameter, specify with the absolute path the copy source file
and the file name of the copy destination file.
Overwrite if the copy destination file already exists. If it does not exist, create a new one.
In the following cases, the file cannot be copied.
• The original file to copy from does not exist.
• The destination directory does not exist.
• The external memory has not been inserted.
• There is insufficient free space on the external memory.
If only the directory name is specified in the <srcPath> parameter or the <dstPath> parameter, an "Illegal
function call" error will occur.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Example
Copies a file named "1280-720.bmp" under the directory "E:\" to the directory "F:\"
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Parameter
name
Data type
Description
<srcPath>
Character
string type
Absolute path of the original file to be copied
<dstPath>
Character
string type
Absolute path for the copy destination file
Fcopy "E:\1280-720.bmp", "F:\1280-720.bmp"
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...