Plc programming, Library file io functions, 14 global constants for file io functions – Lenze ETC Motion Control User Manual
Page 391

PLC programming
Library
FILE IO functions
8.8
8.8.3
l
391
EDSTCXN EN 2.0
8.8.3.14
Global constants for File IO functions
Constant
Value Meaning
DSK_EEPROM_NOT_READY_KI
−1
Flash PROM faulty
DSK_EEPROM_CHECKSUM_KI
−2
Checksum error in flash disk
DSK_EEPROM_DISK_FULL_KI
−3
Flash disk is full, file cannot be accepted
DSK_ACCESS_DENIED_KI
−4
File is already open, access denied
DSK_TOO_MANY_FILES_KI
−5
Too many files opened simultaneously, access
denied
DSK_EEPROM_DIR_FULL_KI
−6
Flash disk file directory is full, too many files
DSK_FILE_NOT_EXIST_KI
−7
File does not exist
DSK_INVALID_ACCESSMODE_KI
−8
Illegal access mode for SysOpenFile
DSK_UNKNOWN_EEPROM_TYPE_KI
−9
Unknown flash type encountered
DSK_FILE_NOT_OPEN_KI
−10
File not open for read or write access
DSK_EEPROM_OUT_OF_MEMORY
−11
Flash disk: Not enough memory for setting up
the flash disk
DSK_SRAM_TIMEOUT_KI
−91
RAM disk: XT3 expansion card does not
respond
DSK_SRAM_COM_ERROR_KI
−92
RAM disk: Communnication error with XT3
expansion card
DSK_SRAM_CHECKSUM_KI
−93
Checksum error in RAM disk
DSK_SRAM_OUTOFMEMORY_KI
−94
RAM disk: not enough heap memory for
creating the file buffer
DSK_SRAM_DIR_FULL_KI
−95
No more space in RAM disk directory, too many
files
DSK_SRAM_DISK_FULL_KI
−96
RAM disk is full
DSK_SRAM_VALIDATE_ERR_KI
−97
RAM disk validation: File could not be
recovered and was deleted
DSK_SRAM_BATT_EMPTY_KI
−98
RAM disk: Battery is empty, please replace
DSK_SRAM_RAM_ERROR_KI
−99
RAM disk: RAM error in CMOS RAM
DSK_UNKNOWN_DEVICE_KI
−110
Unknown device name
DSK_FLOPPY_V24_INUSE_KI
−111
V24 interface to the floppy disk drive already
in use
DSK_FLOPPY_INUSE_KI
−112
Floppy disk drive not empty, access denied
DSK_FLOPPY_TIMEOUT_KI
−113
Timeout during access to floppy disk drive
DSK_FLOPPY_PROG_ERROR_KI
−114
Error during access to floppy disk drive
DSK_FLOPPY_TRANSMIT_ERROR_KI
−115
Floppy disk drive reports transmission error
DSK_FLOPPY_OVERRUN_ERROR_KI
−116
Floppy disk drive reports V24 overrun
DSK_FLOPPY_WRITE_PROTECT_KI
−117
Floppy disk is write protected
DSK_FLOPPY_NO_DISK_KI
−118
No floppy disk inserted
DSK_FLOPPY_NOT_FORMATTED_KI
−119
Read/write error on the floppy disk
DSK_FUNCTION_NOT_SUPPORTED_KI
−120
The function to be executed is not supported
by the device driver
DSK_INVALID_FILENAME_KI
−121
File name contains illegal characters
DSK_PRINTER_v24_INUSE_KI
−122
V24 interface to the printer already in use
DSK_PRINTER_INUSE_KI
−123
Printer is already in use, access denied
DSK_PRINTER_TIMEOUT_KI
−124
Printer not connected or not ready
DSK_BLOCK_OUT_OF_RANGE
−200
File block number outside the permitted range
DSK_DUPLICATE_BLOCK_KI
−201
File block used twice
DSK_PCDISK_IOERR
−301
PC disk: Unknown IO error
DSK_DLL_TIMEOUT
−302
PC disk: Timeout during IO operation