Creating A Description File For The Codesys Runtime System; Figure 93: "Extlibs.ini" File; Figure 94: "Extlibs.ini" File - WAGO -I/O-IPC-C6 Manual

Wago-i/o-system 750
Hide thumbs Also See for WAGO-I/O-IPC-C6:
Table of Contents

Advertisement

WAGO-I/O-SYSTEM 750
758-874/000-131 WAGO-I/O-IPC-C6
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:
[EXT_LIB_LIST]
1=mytest
[mytest]
1=MyTestFunction

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:
[EXT_LIB_LIST]
1=mytest
2=CSV-File
[mytest]
1=MyTestFunction
[CSV-File]
1=ReadCSVString
2=WriteCSVString

Figure 94: "extlibs.ini" file

Manual
Version 1.0.0
Incorporation of C-Functions as CoDeSys Library
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

I/o-system 750758-874/000-111

Table of Contents