Plc programming – Lenze ETC Motion Control User Manual
Page 387

PLC programming
Library
FILE IO functions
8.8
8.8.3
l
387
EDSTCXN EN 2.0
8.8.3.9
SYSREMOVEFILE
FUNCTION SYSREMOVEFILE: DINT
VAR_INPUT
filename_s
: STRING(15);
(* file name *)
END_VAR
The function is used to delete a file from the FLASHPROM, the RAM disk or the
FLOPPY.
filename_pc:
Name of the file to be deleted. Optionally with preceding device ID and
colon
^ 390.
8.8.3.10
SYSDISKFORMAT
FUNCTION SYSDISKFORMAT: DINT
VAR_INPUT
device_s
: STRING(15);
END_VAR
The function formats the FLASHPROM, the RAM disk or the FLOPPY. All data
will be deleted!
device_pc:
Device name
^ 390. Empty string (" ") for the default device
(FLASHPROM).
Return value: Less than 0 for an error (all errors are defined in the global
constants of the library).
Declaration
Description
Parameters
Declaration
Description
Parameters