10 - 11
10.2 Programming Using Bus Interface Functions
10.2.3 Creating and compiling new project of user program
10
FUNCTIONS AND PROGRAMMING
(From previous page)
9) Open the <<C/C++compiler>> tab. To the text area at screen
center, add the directory setting to which the bus interface
function and MELSEC communication function header files
*1
have been installed, and click the button.
* 1 Add "-IC:/Melsec/CCPU/Vx/Include" when SW PVC-CCPU has been
installed into "C:\MELSEC".
Use "/" as a directory separator. "\" cannot be used.
10) Select [File] [New] from the menu bar.
11) Select "C/C++Source File", enter the source file name into
"File name", and click the button.
12) The screen for editing the source file appears.
Include "QbfFunc.h" when using the bus interface functions.
Include "MdFunc.h" when using the MELSEC
communication functions.
(Complete)
OK
IMPORTANT
OK