Programming modules via the DELIB driver library under Windows
With the help of the comprehensive yet very easy-to-use DELIB driver library, our modules can be integrated and controlled in your projects in almost any programming language. You will find detailed instructions on DELIB and a large number of programming examples in the download area.
Control via the Windows driver library DELIB
The DELIB driver library enables uniform addressing of all DEDITEC control technology products. For this purpose, we provide programmers with corresponding functions for the respective product groups, which enable uniform but also very simple addressing of the products.
Here you will find an overview of the DELIB and its additional programs:
A list of all DELIB commands can be found here:
DELIB driver library ETH
We also offer a pure Ethernet version of the DELIB driver library. All other drivers, such as USB/SER, are not included.
This has the advantage that no installation of the driver library or configuration of the module is necessary.
This gives project customers the advantage that the Ethernet driver library can be integrated into their own setup, which means that the DELIB setup does not have to be carried out.
All products with an Ethernet interface are supported by this driver library and can be addressed via the IP address.
Here you can find the download:
The DELIB enables simple addressing of DEDITEC modules
The following example shows how the inputs of our modules can be accessed within a very short time using simple means.
Open the desired module
handle = DapiOpenModule(RO_ETH,0); // Open the module
Reading 16 digital inputs
data = DapiDIGet16(handle, 0); // Read the first 16 digital inputs
Close open module
DapiCloseModule(handle); // Close the module
The "DapiOpenModule" function is used to open a product. The two parameters passed determine which product is to be opened. The first parameter is the "Module ID". The parameter can simply be specified as "RO_USB1" using the integrated "DELIB.H". This tells the driver library that an RO module with USB bus is to be addressed.
The second parameter determines the module number. If only one module is connected to the PC, simply enter "0". If several modules are connected, the corresponding module number must be specified. The module number can be changed using the ICT-Tool.
Example of addressing a DEDITEC module
ICT-Tool
The ICT-Tool is included in the scope of delivery. This program offers the possibility to address all inputs/outputs in a simple way and thus also to test them.
In this example, a BS-WEU is connected. The connected BS-WEU has digital outputs that can be switched on and off.