![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686625.webp)
WWW.NNC.IR
Macro Reference
623
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
Mkdir
Build a directory
Format
Mkdir <directoryName>
Parameter
Return value
None.
Description
Build the directory specified in the <directoryName> parameter.
In the <directoryName> parameter, use an absolute path to specify the directory name of the directory to be
built.
In the following case, a "Illegal function call" error occurs without building a directory.
• If the specified directory already exists
• If the external memory is specified for where to build a directory in with no external memory inserted
• Free space in the disk drive specified for the directory building is insufficient for building a new directory
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
Builds a directory named "IMAGE2" under the root folder of the E drive.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type
Description
<directoryName>
Character
string type
Directory name of built directory
Mkdir "E:\IMAGE2"
Dskf (Reference:
X
Details (p.506))
Fcopy (Reference:
X
Details (p.522))
GetSystemData (Reference:
X
Details (p.546))
IsFile (Reference:
X
Details (p.577))
Kill (Reference:
X
Details (p.587))
Rmdir (Reference:
X
Details (p.666))
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...