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

Page 680

Advertising
background image

L-force | PLC Designer

PLC Designer Libraries

678

DMS 3.2 EN 02/2011 TD29



Library

Description

SysLibPlcCtrl.lib

This library contains the following functions for controlling a PLC.

SysLibPorts.lib

This library can be used to communicate with external hardware devices

via their port addresses; e.g. realtime clock, graphic controller etc. The
port addresses can accessed reading and writing. The execution is
synchronous.

SysLibProjectInfo.lib

If the target system supports the functionality, then the functions
contained in this library can be used to read the Project Info (PLC

Designer Menu 'Project' 'Project Info') respectively the Project ID. The

execution is synchronous.

SysLibRtc.lib

This library contains functions for accessing the realtime clock of the
local system. If the target system is supporting the functionality, the
realtime clock can be read and set; additionally the current hour display

mode as well as the battery can be retrieved. The execution is
synchronous.

SysLibSem.lib

This library can be used to create and use semaphores for the

synchronization of tasks. The semaphores serve to avoid any concurrent
access on critical data, which are used by several tasks. The target system
must support this functionality. The execution is synchronous.

SysLibShm.lib

This library provides functions for accessing a memory area which is used
in common by several processes resp. referencing a physical address
(Shared-Memory, shortcut ShM).

SysLibSockets.lib

This library supports the access on sockets for the communication via
TCP_IP and UDP.

SysLibSocketsAsync.lib

This library offers the same functionality as SysLibSockets.lib, however
function blocks instead of functions are used and the processing is
asynchronous.

SysLibStr.lib

This library provides functions for string operations. If the target system
is supporting the functionality, the following functions can be used to

compare or copy strings or to retrieve the length of a string. The
execution is synchronous.

SysLibTasks.lib

If the target system supports the functionality, then the library functions
can be used to manage tasks. That means to generate, to delete, to

modify priority level, to stop and restart tasks. The execution is
synchronous.

SysLibSymbols.lib

If supported by the target system (CSP32F as from Version 2.4.5.0), the
function SysLibGetSymbolAddress provided by this library can be used to
read the physical address of a symbol of an IEC project. The processing is
done synchronously.

SysLibTime.lib

This library provides function blocks for reading the realtime clock of the
local system. The execution is synchronous.

SysTaskInfo.lib

The library is used for evaluating the task runtimes.Via the Taskinfo()

function block that is included, the following information can be
retrieved:

Max./last jitter: They are updated during a positive edge at the input
bBeginCycle.
Min./max./last task runtime: They are updated during a negative edge at

the input bBeginCycle.

Advertising