Command ‘Generate runtime system files’

Function: This command generates a C stub file and an M4 interface file from the current library project. These files are used as the basis for creating an external library file.

Call: Main menu Build.

This command opens the Generate Files For Runtime System dialog box.

Output directory Directory where CODESYS creates the runtime system files. Click the “more” button ( d64ecb0c6d0bd71bc0a8640e00641066_a45b8d081e8c6a02c0a8640e01947982 ) to open the default dialog box for browsing the file system.
Which files do you want to create?
M4 interface file

d64ecb0c6d0bd71bc0a8640e00641066_9a3f06830c0506c5c0a8640e012f0ace : Interface file <project name>Itf.m4 with definitions. Example of m4 file:

../_images/a620aacd1e8c6dd3c0a8640e01947982
C stub file

d64ecb0c6d0bd71bc0a8640e00641066_9a3f06830c0506c5c0a8640e012f0ace : Stub file for reprogramming the library in C. Example of stub file:

../_images/45303b0e1e8c6c4bc0a8640e01947982