Linkage with PLC
CP 486 ⋅ 00/14 VIPA GmbH 133
6.3.3.14 Rename File
Parameterization of FB3: F-Nr 86 ($56 hex)
QT/N no. of DB with file name
QANF position of file names in DB
QLAE length of file names in the DB in words
Content of DB: DW1 original file name, zero character, new
DW2 file name
DW3 ...
...
The file must not be opened before renaming.
As data both file names are to be transferred connected, first the original file name and then
the new file name. Both names must be separated by at least an ASCII-zero character. As
data length must be defined the length of both file names including all zero characters.
This function can be used to move a file into another directory (move file). Therefore, only
the name of the required target directory must be specified in the new file name. Regard that
moving a file is possible only within a disk drive.
Commentaires sur ces manuels