L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 679

L-force | PLC Designer
PLC Designer Libraries
DMS 3.2 EN 02/2011 TD29
677
Library
Description
SysLibFileAsync.lib
This library supports asynchronous file access from the IEC-application.
Possible error numbers at the output wErrorID:
1: AJERR_FILE_FILE_NOT_FOUND
File cannot be opened for reading.
(The error can also occur when the file is renamed.)
2: AJERR_FILE_FILE_NO_ACCESS
File cannot be opened for writing.
3: AJERR_FILE_FILE_NOT_CLOSED
Error during closing the file
4: AJERR_FILE_FILE_NOT_DELETED
Error during deleting the file
6: AJERR_FILE_TOO_MANY_OPEN_FILES
The internal async file management does not provide space for further
files.
7: AJERR_NO_QUEUE
Internal error in the async file management
SysLibFileStream.lib
This library provides functions which correspond to ANSI C functions for
file stream operations. The execution is synchronous.
SysLibGetAddress.lib
This library provides functions SysLibGetAddress and SysLibGetSize
which - if supported by the target system - return the start address and
the size of a data segment (Memory, Input, Output, Retain or Global) in a
DWORD.
SysLibIECTasks.lib
If the target system supports the functionality, this library can be used to
call information on the configuration of IEC tasks. (To create, delete,
prioritize, stop and restart a task you can use the library SysLibTasks.lib.)
The execution is synchronous.
SysLibInitLibrary.lib
This library contains a function which can be used to initialize an
external library, which is available as an obj-file. The execution is
synchronous.
SysLibInt.lib
If the target system supports this functionality you can use this library to
set and remove an interrupt handler for a function. The execution is
synchronous.
SysLibMem.lib
This library can be used for memory management. If the target system
supports the functionality, the following library functions are available
to allocate, to free, to define, to compare memory locations and to copy,
move or swap between different memory locations. The execution is
synchronous.
SysLibPciCards.lib
This library is designed for access to a Pci card plugged to the Plc. If the
system supports the functionality, the function SysPciGetCardInfo can be
used to retrieve information about a Pci card.
SysLibPLCConfig.lib
This library supports the reading of the configuration data of the PLC
Configuration. These data are also loaded to the controller at a download
of the application and are written to structures by the runtime system.
The library offers functions for getting pointers on these structures. The
execution is synchronous.