Supplementary documentation BM 100 A with PROFIBUS-PA
KROHNE Messtechnik GmbH & Co. KG · Ludwig-Krohne-Str. 5
R
D-47058 Duisburg
4/7
Tel.: 0203-301 309
R
Fax: 0203-301389 · e-mail: krohne@krohne.de
1.1 PROFIBUS-PA - Services
The BM100A supports the following PROFIBUS services which have been defined in the PROFIBUS-PA-Profil V3.0:
1. DDLM_Set_Slave_Add
2. DDLM_Get_Cfg
3. DDLM_Set_Prm
4. DDLM_Chk_Cfg
5. DDLM_Slave_Diag
6. DDLM_Data_Exchange
Those services are able to set the PROFIBUS station address (1), to configure the data telegramm for the cyclic data
exchange (3/4). The actual PROFIBUS configuration (2) and the Diagnostic data can be read (5).
The cyclic data exchange (6) allows to transmit the measurement data to a master. All measurement data are
considered as virtuell modules of Type „Analog Input“ (AI).
1.2 Network Configuration
1.2.1 GSD file
All available GSD files of KROHNE devices – including those of the BM 100 A, of course - are supplied together with
each device. The GSD contains information that is needed for project planning of the PROFIBUS-DP/PA
communication network. The relevant data files must be loaded into the network configuration system before start-up
of the bus system.
For example, the following applies to COMET 200 or COM PROFIBUS from Siemens:
•
all GSD files (*.GSD) into the directory of the GSD files, e.g. *\GSD
•
all BMP files (*.BMP) into the directory of the bit maps, e.g. *\BITMAPS
In STEP7, the GSD file is automatically copied into the respective directory with “install new GSD”. After that, the bit
map file must be copied into the directory *\SIEMENS\STEP7\S7data\Nsbmp. Following “catalog updating” the
device can be placed in the project. This will then enable the cyclic communication (measured values and status).
1.2.2 Cyclic data exchange
During network configuration the user has to define which measurement values of the BM100A should be transfered
cyclicly to the master. The following measurement data are available in this order:
1. Volume/Level * and Status
2. Level und Status
3. Distance and Status
4. Ullage Volume ** and Status
5. Interface Volume **/*** and Status
6. Interface Level *** and Status
7. Interface Distance *** and Status
8. Interface Layer *** and Status
(*)
Volume will only be transmitted if the Volume Table has been programmed. If the Volume Table is missing both the first and second value
(module) is Level.
(**)
This module is only available if the Volume Table has been programmed. If the Volume Table is missing the value "Not_a_Number" will
be transmitted. The status is "Bad-Out of Service".
(***)
This module is only available if the Interface option has been activated in the device. If the Interface option is not available the value
"Not_a_Number" (0x7FFFFFFF) will be transmitted. The status is "Bad-Out of Service".
Network configuration will be done by a master tool. using the GSD file. It is freely choosable which of the above
mentioned measurement values (modules) should be transmitted cyclicly. All those measurement values which
should be transmitted an Analog Input Function Block (AI-FB) should be assigned to. The code is 0x94. Some
masters need the so called Extended Format. Please use 0x42, 0x84, 0x08, 0x05 instead of 0x94. Those
measurement values which should not be transmitted an empty module has to be assigned to. The code is 0x00. All
following modules will move one module (5 Bytes) forward. The order of modules remain the same. If for example
Volume and Interface Level has been configured, 10 Bytes will be transmitted only.