Kunbus FNL Series User manual

Getting Started
FNL
26/04/2016

Table of Content KUNBUS GmbH
ii FNL Getting Started
Table of Content
1 Introduction .....................................................................................................................................3
1.1 Getting Started ..........................................................................................................................3
1.2 FNL............................................................................................................................................3
2 Install................................................................................................................................................4
2.1 Install FNL .................................................................................................................................4
2.2 Install Software ..........................................................................................................................4
3 Ethernet............................................................................................................................................5
3.1 Set TCP/IP-Adresse .................................................................................................................5
3.2 Set operation mode ...................................................................................................................7
4 PROFIBUS......................................................................................................................................10
4.1 Master......................................................................................................................................10
4.2 Slave........................................................................................................................................20

FNL Getting Started 3 / 22
1 Introduction
1.1 Getting Started
This manual describes the operation- and configuration options oft
the KUNBUS-FNL.
The practical examples illustrate the most common applications to
facilitate first use of the KUNBUS FNL.
1.2 FNL
FNL is an Ethernet based PROFIBUS-DP-Gateway which supports
DP Master as well as DP Slave mode. FNL can be directly operated
via its TCP/IP Socket. Only a few simple commands are necessary to
get FNL into operation.
Within scope of delivery, a detailed Microsoft Visual C++ 6.0 example
program incl. C/C++ source code can be found, describing the
implementation of the TCP/IP Socket Interface.
Due to the independent access via the TCP/IP Socket Interface, FNL
can be integrated into any operating system supporting TCP/IP. Only
for Ethernet- or DP-Master-Configuration a Windows-based PC is
necessary.
Introduction

FNL Getting Started 4 / 22
2 Install
2.1 Install FNL
Install FNL according to the Installation Instructions (document
FNL_EN.pdf), by connecting FNL to a power supply (24 Volts DC) as
well as to an Ethernet network. The A PC used for the FNL
configuration must be connected to the same Ethernet network as
well. A direct connection between the PC and FNL via an Ethernet
cross cable is also possible.
2.2 Install Software
The delivered software on the CD needs to be installed on a
Windows-based PC. Start the setup program and follow the
instructions to install the software. The setup program copies all
necessary components to the PC.
Install

FNL Getting Started 5 / 22
3 Ethernet
3.1 Set TCP/IP-Adresse
Start the program "KUNBUS Network Configurator" from the
Windows Start Menu "KUNBUS GmbH/Network Configurator".
The KUNBUS Network Configurator scans automatically the network
and displays all detected FNL devices:
– For scanning the network again, click the "search"-symbol on top-left.
Illustration1: KUNBUS Network Configurator
Ethernet

FNL Getting Started 6 / 22
– Double click the FNL to be configured and adjust the IP address,
Subnet mask and Gateway. Using DHCP to obtain the IP address
automatically is possible as well.
Illustration2: Adjustment of the TCP/IP-address
Ethernet

FNL Getting Started 7 / 22
3.2 Set operation mode
FNL-Mode
FNL supports 2 operation modes to guarantee the downwards
compatibility to existing applications.
– Select the tab Advanced and adjust the parameter FNL-Mode to
"KUNBUS interface":
Illustration3: Adjustment of the FNL operation mode
Ethernet

FNL Getting Started 8 / 22
AutoSlaveMode
In DPAutoSlaveMode FNL will start up after a reboot as an active
PROFIBUS DP Slave device with the adjusted PROFIBUS address
in DPAutoslaveAddress. FNL will detect the PROFIBUS Baud rate
automatically and accepts the I/O configuration set by the
PROFIBUS DP Master.
Illustration4: FNL DPAutoSlaveMode
This option is only available from firmware version 2.19.14.
Please contact KUNBUS support if you need to update the
firmware.
Ethernet

FNL Getting Started 9 / 22
– Click the OK button to close the "device properties" dialogue box.
"Network Configurator" activates the changed parameters on the related
FNL device and displays it:
Illustration5: Abbildung 5: FNL with changed parameters
– Close the "Network Configurator"
Ethernet

FNL Getting Started 10 / 22
4 PROFIBUS
4.1 Master
PROFIBUS DP configuration (Configurator II)
The PROFIBUS configuration is performed with the tool "KUNBUS
Configurator II". "Configurator II" is a powerful tool to create
PROFIBUS configurations, download and test online. After creation
and download of the PROFIBUS configuration you can test it
immediately with "monitor/modify" and check possible errors.
A detailed description how to get up and running can be found in the
online help system of the "Configurator II".
– Start the program "Configurator II" from the Windows Start Menu
"KUNBUS GmbH/Profibus Configurator".
– Create the PROFIBUS configuration, download it to the FNL and test it
with the "monitor/modify"-mode. FNL stores the PROFIBUS
configuration in its Flash Type Memory, so it will be available at any
time.
Illustration6: PROFIBUS configuration with CONFIGURATOR II
PROFIBUS

FNL Getting Started 11 / 22
PROFIBUS DP configuration download
CONFIGURATOR II provides an integrated download function to
flash the PROFIBUS DP Configuration on the FNL device.
Proceed the following steps:
– Select Driver Selection from the Online Menu:
Illustration7: Driver selection
The installed FNL devices are displayed:
Illustration8: Installed FNL device
Select a FNL device and click the OK button. If nothing is displayed,
click the Configure Ethernet Devices button to rescan the available
FNL devices. If still no FNL is found check your installation.
Refer to the online help system of CONFIGURATOR II for details of
the driver selection.
–Download the PROFIBUS DP configuration
– Click the download symbol in the toolbar of "Configurator II":
PROFIBUS

FNL Getting Started 12 / 22
Illustration9: Download symbol
The PROFIBUS DP configuration is downloaded to the FNL device:
Illustration10: Download of PROFIBUS configuration
Monitor/Modify-Mode
With the "Configurator II" Monitor/Modify mode the flashed
PROFIBUS DP configuration can be tested immediately. Please note
that the configured DP Slaves must be connected to the FNL.
– Click the Monitor/Modify symbol in the toolbar of "Configurator II":
Illustration11: Monitor/Modify symbol
PROFIBUS

FNL Getting Started 13 / 22
"Configurator II" displays the online status of the DP-slaves:
Illustration12: Monitor/Modify mode
"Configurator II" displays the status of every DP Slave (coloured
frame) and allows to monitor and modify the I/O data, and also
display the PROFIBUS specific diagnostic-data by clicking the DP
Slaves. For further details please refer to the online help system of
"Configurator II".
PROFIBUS

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":
Illustration13: Sample program: Start dialogue
– Press a key to display all connected FNL devices.
Illustration14: Sample program: Display of connected FNL devices
PROFIBUS

FNL Getting Started 15 / 22
– Enter the number of the FNL to be used.
Illustration15: Sample program: FNL reset
– Press a key to reset FNL.
Illustration16: Sample program: Start cyclic profibus traffic
– Press a key to start cyclic profibus traffic.
Illustration17: Sample program: Get current profibus configuration
– Press a key to get current profibus configuration.
PROFIBUS

FNL Getting Started 16 / 22
Illustration18: Sample program: Get the slave diagnostic information
– Press a key twice get the slave diagnostic information.
Illustration19: Sample program: start watchdog monitoring
– Press a key twice to start watchdog monitoring.
Illustration20: Sample program: Profibus Profibus exchange data
– Press a key successively to start the profibus exchange data. In the
sample program you can exchange data 10 times at most.
PROFIBUS

FNL Getting Started 17 / 22
Illustration21: Sample program: Reset FNL
– Press a key to reset FNL.
Illustration22: Sample program: Exit sample program
– Press a key to exit sample program.
PROFIBUS

FNL Getting Started 18 / 22
Profibus-DPV1
Within scope of delivery a comprehensive sample program incl.
C/C++ source code can be found, that provides many functionality.
There you can also find implemented Profibus-DPV1-functions.
Detailed Profibus-DPV1 information can be found in the provided
manual "DP_DPV1_E.pdf".
The sample program is located in the directory"program files
\KUNBUS GmbH\FNL\Sample code\CS_Profibus_Demo\". 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.
Start the sample program "DFProfi_2_PCI_DEMO.exe":
Illustration23: Sample program: Display of connected FNL devices
PROFIBUS

FNL Getting Started 19 / 22
– After the selection of "Search and list all TCP Devices" (Key 9), enter
the number of the FNL to be used.
Illustration24: Sample program: Scope of operation
Selection of the needed functions.
The DPV1-functions can be found from point 50 to 54. Detailed
Profibus-DPV1 information can be found in the provided manual
"DP_DPV1_E.pdf".
PROFIBUS

FNL Getting Started 20 / 22
4.2 Slave
Within scope of delivery is a detailed sample program incl. C/C++
source code can be found, that provides the following functionality:
– •Read/Write of IO data
The sample program is located in the directory "program files
\KUNBUS GmbH\FNL\Sample code\Basic DP Auto Slave Socket
Example\". The project can be directly loaded and compiled with
Microsoft Visual C++ 6.0 and it is a 32 Bit console application
focussing on the FNL programming interface. Due to clearness
reasons no graphical elements are implemented.
For the DP Slave configuration the PROFIBUS address and the
DPAutoSlaveMode has to be set with the Network Configurator.
It is necessary to activate the DPAutoSlaveMode and set the
DPAutoSlaveAddress (PROFIBUS address of the FNL) with the
Network Configurator before starting this example. (see chapter
2.2.3)
Please note that the FNL will boot in AutoSlaveMode after powerloss
or reset.
– Start the sample program "DP Auto Slave Socket Example.exe":
Illustration25: Sample program: Start dialogue
– Press a key to display all connected FNL devices.
PROFIBUS
Other manuals for FNL Series
1
This manual suits for next models
1
Table of contents
Other Kunbus Gateway manuals

Kunbus
Kunbus Sercos Series User manual

Kunbus
Kunbus FNL Series User manual

Kunbus
Kunbus XPS-E User manual

Kunbus
Kunbus PR100073 User manual

Kunbus
Kunbus PROFINET IRT Slave User manual

Kunbus
Kunbus PR100066 User manual

Kunbus
Kunbus PR100088 User manual

Kunbus
Kunbus PR100074 User manual

Kunbus
Kunbus PR100069 User manual