User`s manual

9 - 10 9 - 10
MELSEC
9 MELSEC DATA LINK LIBRARY
9.8 Sample Programs
When SW4DNF-CCLINK-B is installed in a PC, sample programs are registered in
<User-specified folder>-<Cclink>-<Sample>.
Sample programs are provided as a reference for creating user application programs.
The user is solely responsible for the use of the sample programs provided.
(1) MasterStation folder
Sample programs for the A80BD-J61BT11 (cannot be used for the A80BD-
J61BT13.)
(2) MDFunction folder
(a) Vb folder (for Visual Basic
R
)
1) Demo folder
Contains a sample program for reading D0.
2) Mtest folder
Contains a sample program for the MELSEC data link library (mdOpen,
mdClose, mdSend, mdReceive).
(b) Vc folder (for Visual C++
R
)
1) Mtest folder
File name Description
Mtest1.c Sample program of the general MELSEC data link library
Netsmp1.c Sample program to read device D of station number 0