EasyManuals Logo

WAGO WAGO-I/O-IPC-C6 User Manual

WAGO WAGO-I/O-IPC-C6
322 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #168 background imageLoading...
Page #168 background image
168 Incorporation of C-Functions as CoDeSys Library WAGO-I/O-SYSTEM 750
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
13.1.3 Copying a Library and INI File and Restarting the CoDeSys
Runtime System
To link the library and the INI file to the CoDeSys runtime system, proceed as
follows:
1. Copy both of the newly created files (libmytest.so and extlibs.ini) onto the
I/O-IPC. Use a USB memory, a CF card, FTP or NFS to do this.
2. Copy the file extlibs.ini into the directory /home/codesys.
3. Copy the library into the directory /lib or /usr/lib.
There is also the possibility of copying the new library to any place in the
I/O-IPC. To do this, adjust the environment variable LD_LIBRARY_PATH
in the Linux console you are using before each restart of CoDeSys, e.g.:
env LD_LIBRARY_PATH=/home/codesys ./plclinux_rt
4. Before the CoDeSys runtime system can be restarted, you must enter the
following command in the Linux console:
ps A
5. Determine the PID of the program "plclinux_rt" from the displayed list.
6. Stop the CoDeSys runtime system by entering the command
kill <PID> with the previously determined PID, e.g.,
kill 2069.
7. To restart the runtime system, enter the following command in the Linux
console:
plclinux_rt &.
If there is a discrepancy between the INI file and the library, an error message will
be displayed on the Linux console when the CoDeSys runtime system is restarted.
CoDeSys runtime system
The CoDeSys runtime system must be restarted by a user with superuser rights.
Alter the library
Do not alter the library while it is being used by the CoDeSys runtime system
since, otherwise, access violations may occur.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the WAGO WAGO-I/O-IPC-C6 and is the answer not in the manual?

WAGO WAGO-I/O-IPC-C6 Specifications

General IconGeneral
BrandWAGO
ModelWAGO-I/O-IPC-C6
CategoryI/O Systems
LanguageEnglish

Related product manuals