9
PROGRAMMING USING BUS INTERFACE
FUNCTIONS
(From the previous page)
(Completed)
10
Open the <<C/C++ compiler>> tab. In the center text area
on the screen, add the folder settings where the include files
of the bus interface functions and MELSEC data link
functions are installed, and click the
IMPORTANT
Use "/" as a delimiter of the folder path.
"\" cannot be used.
For the include file setting, add the following according to
the model.(When the SW3PVC-CCPU is installed to
"C:\MELSEC")
Q06CCPU-V: "-IC:/Melsec/CCPU/Vx/Include"
Q06CCPU-V-B: "-IC:/Melsec/CCPU/VxB/Include"
11
Select [File] [New] from the menu bar.
12
Select "C/C++ Source File", enter the source file name into
"File name", and click the
13
A screen to edit the source file appears.
Include "QbfFunc.h" when using the bus interface functions.
Include "MdFunc.h" when using the MELSEC
communication functions.
9.4 Creating and Compiling a New Project of User Program
OK
button.
OK
button.
9.4.2 For the Q06CCPU-V(-B)
9
10
11
12
13
A
I
9
- 20