How To Use Function Libraries; Start A New Project; Using Vc; Using Vb - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Introduction to API Function Library

1.1 How to use function libraries?

When the installation program is completed, two function libraries will be found in the folder
1
named "lib". They can be used in Visual Studio C and Borland C++ respectively.

1.2 Start a new project

1.2.1 Using VC

(1) Place following instructions in the user-built project:
#include "EtherCat_DLL.h"
#include "EtherCat_DLL_Err.h"
(2) Select Project / Setting / Link in Visual C development environment.
Then, type "..\lib\EtherCat_DLL.lib" in Object / Library modules
(3) Setup completed. Users can start to operate EtherCAT DLL with API.

1.2.2 Using VB

Place "EtherCat_DLL.bas" and "EtherCat_DLL_Err.bas" in the project created by users to control
EtherCAT DLL with API.

1.2.3 Using VB.Net

Place "EtherCat_DLL.vb" and "EtherCat_DLL_Err.vb" in the project created by users to control
EtherCAT DLL with API.
1-2
Function library
EtherCatDll.lib
BCBEtherCAT_DLL.lib
EtherCAT Programming Guide
Development environment
Visual Studio C++
Borland C++Builder 6
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents