226
FINS Commands Section 5-3
5-3-42 CREATE/DELETE DIRECTORY: 22 15
Creates or deletes a directory.
Execution Conditions
Command Format
Response Format
Parameters Disk number (command)
The classification of the file memory where the directory is to be created or
deleted is specified as follows:
8000 (hex): Memory card
8001 (hex): EM file memory
Parameter (command)
Specify either creation or deletion as follows:
0000 (hex): Create
0001 (hex): Delete
Directory name (command)
Specify the name of the directory to be created or deleted. For details on the
configuration, refer to page 168. If the directory name is less than 12 bytes, fill
unused bytes with 20 hex.
Directory length (command)
Indicates the length of the absolute directory path. The maximum number of
characters is 65. To specify the root directory as the absolute directory path,
specify 0000 (hex) as the directory length.
Absolute directory path (command)
Indicates the absolute path from the root directory. It begins with \ (5C hex),
and the drive name and colon (:) are not required.“\” is used to delimit the
lower directory. It is not required at the end of the final absolute path. No set-
ting is required to specify the root directory itself.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
Comments The CPU Unit’s clock data will be recorded as the date of any directory that is
created.
Access right at
other device
UM read
protection
DIP switch UM write
protection
Network write
protection
No OK OK No
RUN mode MONITOR mode PROGRAM mode
OK OK OK
22 15
ParameterCommand
code
Disk No.
12 bytes
Directory
length
Absolute directory
path
Directory
name
22 15
Command
code
End code