![background image](http://html.mh-extra.com/html/omron/sysmac-3g8f7-clk12-ev1/sysmac-3g8f7-clk12-ev1_operation-manual_1633421073.webp)
53
Using the C Library
Section 3-2
Setting Up Visual C++ Ver. 6
Use the following procedure to set up Microsoft Visual C++ to use the C
library.
Include Files
1,2,3...
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>
Setting Up the Library
File.
1,2,3...
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.
Note
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.
Summary of Contents for SYSMAC 3G8F7-CLK12-EV1
Page 2: ......
Page 4: ...iv ...
Page 20: ...xx Conformance to EC Directives 6 ...
Page 48: ...28 Applications Precautions Section 1 4 Example CX Programmer Response Timeout Setting ...
Page 68: ...48 Backup Power Supply Wiring Optical Ring Systems Only Section 2 4 ...
Page 74: ...54 Using the C Library Section 3 2 ...
Page 110: ...90 Changing the Data Link Tables with Active Data Links Section 5 5 ...
Page 187: ......