
Quick Start
•
19
Modbus/TCP DLL Application Examples
WAGO-I/O-SYSTEM 750
ETHERNET StarterKit 2
This way, the inputs are assigned to the outputs (Fig. 17).
The program can now be loaded if the test program has been successfully
compiled.
Compilation is activated via
Æ
Project
Æ
Rebuild all.
(Continue in section 2.4 “Program Download to the 750-841 Controller”)
2.6 Modbus/TCP DLL Application Examples
Also included is the “WAGO DLL Modbus/TCP“ (759-312) CD-ROM. The
D
ynamic
L
ink
L
ibrary (DLL) encapsulates the functionality of a Modbus mas-
ter hence facilitating the creation of your own Windows-based applications.
The procedural DLL can be used in almost any programming language. On the
CD-Rom, you will find examples for Excel VBA, ”Visual Basic 6“, ”vb.net“,
”Delphi 5“, ”MS Visual C++ 6“, ”C#“ and ”LabVIEW 7”.
In addition, you will find the two ActiveX components “ActiveMBT“(Master)
and “ActiveMBTSlave“ that are used in Visual Basic.
Registration is provided by a setup program that will also install the “Modbus
Monitor“ program shown below.
Fig. 18: Modbus/TCP DLL, Modbus Monitor
The “Modbus Monitor“ provides a graphical user interface for all functional-
ities of the “ActiveMBT“ ActiveX code component and allows reading and
writing of data via the Modbus protocol.
Further information and examples can be found on the ”WAGO DLL Mod-
bus/TCP“ (759-312) CD-ROM.