Software Utilities

2.Set the node ID of the ADAM-5000/485 system to “0” and reset the ADAM-5000 system.

3.Run the ADAM Utility (ADAM.exe) under DOS to search for the ADAM-5000/485 at address “00h”.

4.When the ADAM-5000/485 appears on the screen, choose “Setup” and select “Download”.

5.Follow the steps listed on the screen to complete the firmware download

Note:

The files ADAM.EXE, DOWNLOAD.IMG and

 

RSROM.IMG should be installed in the same directo-

 

ry.

Quit

Choosing the Quit option exits the ADAM utility program.

5.2DLL (Dynamic Link Library) Driver

The ADAM-5000 API Dynamic Link Library (DLL) enables you to quickly and easily write Windows applications for ADAM-5000 systems. The library supports both C++ and Visual Basic. Since ADAM-5000 systems communicate with a host computer through the host‘s COM port, no additional driver (DRV or VxD) needs to be installed. The DLL includes all necessary function calls to utilize the ADAM-5000 systems to their fullest extent.

Together with the DLL driver you‘ll find the source code of a Visual Basic example on your diskette. The example provides several control windows to communicate with all types of ADAM-5000 modules. You can customize the source code to create your own tailor-made ADAM-5000 setup program or monitoring system.

For details on the ADAM-5000 function calls refer to the Help file included on the ADAM-5000 API diskette.

5-8

ADAM-5000

Page 100
Image 100
Advantech RS-485 user manual DLL Dynamic Link Library Driver, Quit