220
FINS Commands Section 5-3
Command Format
Response Format
Parameters Disk number (command)
The classification of the file memory where the file name to be changed is reg-
istered is specified as follows:
8000 (hex): Memory card
8001 (hex): EM file memory
Old and new file names (command)
Specify the original file name and a new name for the file. For details on the
configuration, refer to page 168.
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 file name will not be changed if an existing file name is specified for the
new file.
Even if the name of a file is changed, the date of the file will remain
unchanged.
Directory names can also be changed. Specify the directory name in place of
the file name.
5-3-39 MEMORY AREA–FILE TRANSFER: 22 0A
Transfers or compares data between the I/O memory areas and the file mem-
ory.
Execution Conditions
Command
code
22
08
Disk No. Old file name New file name
12 bytes
12 bytes
Directory
length
Absolute directory
path
Command
code
22
08
End code
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