Advantech ADAM-6050 18-Channel Isolated Digital I/O Modbus TCP Module ADAM-6050-BE Scheda Tecnica

Codici prodotto
ADAM-6050-BE
Pagina di 272
115
Chapter 6  
In order to help you to be familiar with developing your application pro-
gram in a short time, there are many built-in example programs in the 
path: 
Program Files\Advantech\ Adam.NET Class 
Library\VS2003\Samples
 for all ADAM-6000 modules. Simply open-
ing these example programs, you can quickly get the idea how to write a 
program code to control ADAM-6000 modules. Moreover, you can 
directly compile and execute the program after modifying the correct IP 
address and module name, to start a data acquisition and control applica-
tion in a shortest time.
Take ADAM-6050 module as example, you can simply launch the exam-
ple program project ADAM 60xxxDIO.sln written in Microsoft Visual 
Basic .NET located in 
Program Files\Advantech\Adam.NET Class 
Library\VS2003\Samples\Win32\ VB\Adam60xxDIO
. After you 
launch it, open the source code and modify the IP address and module 
name to meet the real situation. Refer to Figure 6.1 below. 
Figure 6.1: Modifying ADAM-6050 .NET
IP Address
Module Name