Omron SYSMAC 3G8F7-CLK13-E Operation Manual page 73

Controller link support boards for pci bus
Table of Contents

Advertisement

Using the C Library
Setting Up Visual C++ Ver. 6
Include Files
1,2,3...
Setting Up the Library
File.
1,2,3...
Note
Use the following procedure to set up Microsoft Visual C++ to use the C
library.
1. Start Visual C++ Ver. 6.0 and select Tools and then Options.
2. Select the Directory Tab, set the directory being displayed to the one for
the include files, click the first empty row in the list, and then click the ...
Button at the left of the row.
3. Specify the folder in which the C library for the Support Board was installed
and click the OK Button.
The installation directory in the header file default for the C library is \Pro-
gram Files\OMRON\Controller Link\Lib.
4. Include the following line at the beginning of the program:
#include <CLK_LIB.h>
1. Start Visual C++ Ver. 6.0 and select Tools and then Options.
2. Select the Directory Tab, set the directory being displayed to the one for
the library files, click the first empty row in the list, and then click the ... But-
ton at the left of the row.
3. Specify the folder in which the C library for the Support Board was installed
and click the OK Button.
The installation directory in the header file default for the C library is \Pro-
gram Files\OMRON\Controller Link\Lib.
4. Open the workspace for the program being created and select Project and
then Set.
5. Select the Link Tab and input the library file name "CLK_LIB.LIB" for the
object/library module.
Refer to the user's manual for Visual C++ or online help for information on
Visual C++ other than that for setting up the install file and library file.
There are sample programs provided as Visual C++ V6.0 projects that use
the C library for the Board. They can be found in the Controller Link\Sample
directory using the installation directory specified during the installation proce-
dure.
Section 3-2
53

Advertisement

Table of Contents
loading

Table of Contents