EasyManua.ls Logo

WAGO WAGO-I/O-IPC-C6 - Creating a Description File for the Codesys Runtime System; Figure 93: Extlibs.ini File; Figure 94: Extlibs.ini File

WAGO WAGO-I/O-IPC-C6
322 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WAGO-I/O-SYSTEM 750 Incorporation of C-Functions as CoDeSys Library 167
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
[EXT_LIB_LIST]
1=mytest
[mytest]
1=MyTestFunction
[EXT_LIB_LIST]
1=mytest
2=CSV-File
[mytest]
1=MyTestFunction
[CSV-File]
1=ReadCSVString
2=WriteCSVString
13.1.2 Creating a Description File for the CoDeSys Runtime
System
Create a description file with the fixed name "extlibs.ini" in order to make the C-
functions known to the CoDeSys runtime system.
1. So that the runtime system can recognize the Linux library and correctly
link to it during startup, you must create an INI file that contains all library
names to be loaded dynamically and their function names. The INI file for
the example appears as follows:
Figure 93: "extlibs.ini" file
2. If you would like to add additional libraries under the entry
EXT_LIB_LIST, add a continuous index under the corresponding library
tag, followed by library names (e.g. "2 = CSV File"). It is not necessary to
provide the transfer and return parameters of the functions at this point.
The correspondingly expanded file would appear as follows:
Figure 94: "extlibs.ini" file

Table of Contents

Related product manuals