FNL Getting Started
14 / 22
Operation as PROFIBUS DP Master
Within scope of delivery a detailed sample program incl. C/C++
source code can be found, that provides the following functionality:
– FNL Initialisation
– Activation of the stored PROFIBUS DP configuration
– Read/Write of IO data
– Display of diagnostic information
The sample program is located in the directory"
program files
\KUNBUS GmbH\FNL\Sample code\Basic DP Master Socket
Example\"
. The project can be directly loaded and compiled with
Microsoft Visual C++ 6.0. The sample program is a 32 Bit console
application focussing on the FNL programming interface. Due to
clearness reasons no graphical elements are implemented. For
immediately test and startup of the PROFIBUS network the
"Configurator II" provides a full graphical very powerful monitor/
modify mode and many functions for data exchange and diagnostics.
– Start the sample program "DP Master Socket Example.exe":
Illustration 13:
Sample program: Start dialogue
– Press a key to display all connected FNL devices.
Illustration 14:
Sample program: Display of connected FNL devices
PROFIBUS