02/05 AWB2724-1566GB
31
6 Libraries, function blocks and functions
The libraries contain IEC function blocks and functions that you
can use, for example, for the following tasks:
• Data exchange through the CANopen bus
• Controlling the real-time clock
• Determining bus load of the CANopen bus
• Triggering interrupts
• Sending/receiving data through the interfaces
The libraries are located in the following folders:
• Lib_Common for all PLCs
• Lib_CPUxxx for PLCs XC100 and XC200
• Lib_XN_PLC_CANopen for PLC XN-PLC.
Using libraries
When you open a project, libraries Standard.lib and
SYSLIBCALLBACK.lib are copied in to the Library Manager. If you
need further libraries for your application, you have to install these
manually.
The libraries in the Library Manager are assigned to the project
after saving. When you open the project, the libraries are then
automatically called up as well.
The following overview lists the documents in which the function
blocks and functions are described.
Installing additional system libraries
You can install libraries manually as follows:
X
In your project, click the
Resources
tab in the object organizer.
X
Double-click the
Library Manager
element.
• From the
Insert
menu, select
Additional Library...
.
The
Open
dialog appears.
X
Select the library to install and click
Open
.
The library now appears in the Library Manager.
Document
Library
AWB 2700-1437
Standard.lib
Util.lib
AWB 2724-1453
XC100_Util. Lib
AWB 2724-1491
XC200_Util. Lib
AWB 2724-1566
XN_PLC_Util. Lib
Online help or PDF
files in folder
XSoft\Dok\English\XSo
ftSysLibs
SysLib… . lib
AWB 2786-1456
XS40_MoellerFB. Lib/ Visu. Lib/…
AN2700K20
3S_CANopenDevice. Lib
3S_CANopenManager. Lib
AN2700K19
3S_CANopenNetVar. Lib
AN2700K27
XC._SysLibCan. Lib
XN_PLC_SysLibCan. Lib
AWB 2786-1554
CANUserLib. Lib
CANUser_Master. Lib
Figure 49:Libraries, installing manually
Figure 50:Selecting a library
Summary of Contents for XION-PLC-CANopen
Page 4: ...2 ...
Page 8: ...02 05 AWB2724 1566D 4 ...
Page 10: ...02 05 AWB2724 1566GB 6 ...
Page 16: ...02 05 AWB2724 1566GB 12 ...
Page 18: ...02 05 AWB2724 1566GB 14 ...
Page 34: ...02 05 AWB2724 1566GB 30 ...
Page 38: ...02 05 AWB2724 1566GB 34 ...
Page 42: ...02 05 AWB2724 1566GB 38 ...
Page 48: ...02 05 AWB2724 1566GB 44 ...
Page 49: ...02 05 AWB2724 1566GB 45 Appendix Dimensions 113 25 114 75 50 6 74 4 ...