132
Incorporation of C-Functions as CoDeSys Library
12.1.4
Creating an IEC Library
In order to be able to use the incorporated library within CoDeSys library
functions, the function prototypes must be stored in an external CoDeSys library.
To do this, proceed as follows:
1.
Open a new CoDeSys project by selecting File > New in the menu bar.
2.
In the window "Target Settings", select "None" and click on the [OK]
button.
Figure 62: "Target Settings" window
3.
Make the settings listed in the "New POU" window (see figure below). The
name of the POU must be the same as that of the previously created C file.
In doing so, pay attention to upper and lower case letters.
Figure 63: "New POU" window
WAGO-I/O-SYSTEM 750
758-874/000-110 WAGO-I/O-IPC-C6
Manual
Version 2.3.0