Skip to main content

10.5.1.14. MKDIR

10.5.1.14. MKDIR

 

Explanation

This command creates a designated folder in a T/P flash memory, a USB memory, or an external PC.

Syntax

MKDIR < Result parameter >,< File location >,< File path >

Parameter

Result parameter

Result is saved after the execution.

1: Success

-1: Failed Path type error

(The file path should be an absolute path.)

-2: Failed No intermediate path

-3: Failed An existing directory

-9: Other error

 

File location

TP: Teach Pendant

USB: / (root) of USB memory

EXT: External PC

 

File path

New file path

(It should be an absolute path, namely a path starting with "/".)

 

Example

V9%=0

MKDIR V9%,TP,”/work/L709”

WAIT V9%

(This creates a new Directory, L709, in the path, /work/, of the teach pendant, and waits until completion.)

 

 

 

l This function is available in Hi5a V40.08-00 or higher versions.

 

l When using the original location as EXT, LOADF/SAVEF service must be running on the external PC.

 

l The path created in the example will be expressed in the File Manager as the path, /work/L709, under the T/P.
(It corresponds to the /ResidentFlash/work/L709 path in the T/P.)

 

l No intermediate path will be created. (For example, in the example, the intermediate directory, /work/, should exist before the file creation.)