Technical data
Linkage with PLC
130 VIPA GmbH CP486 ⋅ 00/14
6.3.3.9 Create New File
Parameterization of FB3: F-Nr 90 ($5A hex)
DOSP attribute of the new file
QT/N no. of DB with the file name
QANF position of file name in DB
QLAE length of file name in the DB in words
Content of DB: DW1 file name
DW2 ...
DW3 ...
...
Parameter:
Attribute: 00 normal
01 read-only
02 hidden
04 system
File attributes can be added up:
e.g. attribute 03 => file is read-only and hidden.
Return of FB3: DOSP Handle of the new file
Note:
Does a file with the specified name already exist, then it is cut to zero length, i.e. all present data are
deleted.