Creating A Description File For The Codesys Runtime System; Figure 60: "Extlibs.ini" File; Figure 61: "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

130
Incorporation of C-Functions as CoDeSys Library
12.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 60: "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 61: "extlibs.ini" file

WAGO-I/O-SYSTEM 750
758-874/000-110 WAGO-I/O-IPC-C6
Manual
Version 2.3.0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents