![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg1.png)
1
Profibus DP/V0
Description of Functions
UMG604 / UMG605 / UMG508 / UMG511
Example with a Siemens PLC
S7-300
Version 1.2
Document no: XXXXX
Janitza electronics GmbH
Vor dem Polstück 1
D-35633 Lahnau
Support Tel. (0 64 41) 9642-22
Fax (0 64 41) 9642-30
E-mail: info@janitza.de
![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg2.png)
2
General ............................................................................................................................. 3
Plug Assignment ............................................................................................................... 3
Connecting the Bus Cables ................................................................................................ 3
Profibus Profile (General) .................................................................................................. 4
Standard Profiles .............................................................................................................. 5
Creating a Profile .............................................................................................................. 6
GSD File ............................................................................................................................ 9
Incorporating the Slave Unit in the Master Software (SIMATIC S7-300) .............................. 9
Simatic variables table .................................................................................................... 11
Profibus Profiles in Graphic Programming ....................................................................... 13
Profibus Puffer ................................................................................................................ 17
Modbus Profibus Gateway .............................................................................................. 18
cover:
Version 1.0 translation English
Version 1.1 Standard Profiles (S.5)
Version 1.2 Profibus buffer (S.17)
![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg3.png)
3
General
The UMG604 / UMG605 / UMG508 / UMG511 offer a variety of communication options. The following
protocols are offered on the interfaces: Modbus RTU, Modbus TCP/IP, Modbus over TCP/IP (Modbus
Gateway), BacNet or Profibus DP V0. This description of functions is a supplement to the handbook
and describes the necessary setup stages of the respective function step-by-step. More functional
descriptions can be found on www.janitza.de. All measurement values that the Power Analyzer
provides can be incorporated in a profibus profile. Additionally, it is possible to create personally
defined variables through graphic programming; the user-defined variables can be allocated to a
profibus profile. The Power Analyzer provides 255 profiles, whereby the first 16 profiles are prepared
for the fixed configuration. Profiles 16 to 255 can be created and occupied in the graphic
programming. There is read and write access to the profile which makes it possible to describe digital
outputs or user-defined variables from the PLC. The description of functions has been created with
GridVis 1.6.0 and with UMG604 Firmware 1.095 (available from November 2009).
Plug Assignment
The Power Analyzer supports Profibus DP V0 to 12Mbaud. The profibus connection of the Power
Analyzer is designed as a 9-pole sub D socket. We recommend a 9-pole profibus plug (type:
SUBCON-PLUS-ProfiB/AX/SC manufacturer: Phoenix art. no.: 2744380 or equivalent) for connection.
Power Analyzer (P/EP version)
Profibus plug SUBCON
Connecting the Bus Cables
Always connect the incoming bus cable to the 1A/1B connections (including at the start of the bus
system!) The continuing bus cable is always connected to the 2A/2B connections. The terminator
resistors are activated at the start and end of the bus system using the slide switches. The connection
clamps (2A/2B) are simultaneously switched off for the continuing bus cable.
![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg4.png)
4
Profibus Profile (General)
The Power Analyzer can administrate 255 profibus profiles (16 profiles in the configuration). Each
profibus profile contains a maximum of 128 data bytes. The first data byte of the output range of the
PLC always contains the profile number of the profibus profile requested by the Power Analyzer. In
order to request a profibus profile, you should write the profile number in the first byte of the output
range of the PLC. All system variables and global variables can be individually scaled and converted
into one of the following formats: 8, 16, 32bit integer with and without signs, 32 or 64bit float format
(Big or Little Endian).
Global variables are variables that are defined by the user in graphic programming or in Jasic and are
available to each interface of the Power Analyzer.
Big-Endian = High Byte before Low Byte.
Little-Endian = Low Byte before High Byte.
Output range of PLC
1st byte = profile number
variables from the 2nd byte
follow for the UMG604
Input range of PLC
1st byte = profile number
feedback
From the 2nd byte, the variables
requested from the UMG604
follow.
![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg5.png)
5
Standard Profiles
Four standard profiles are preconfigured upon delivery (Firmware 1.095). These can also be changed
retrospectively if required. The following illustrations show the standard profiles with their profile
number.
![](/html/22/2283/2283efe9bcb9a8a965dd39f5441aba17362b7ce764fd6c122bfc5c1e27ff7690/bg6.png)
6
Creating a Profile
The profiles are created in the unit configuration field. You have access to the profibus profile using
the “configure unit” button in the unit list.
In the “field bus profile” tab, selected measurement values can now be allocated to the individual
profiles. A maximum of 128 bytes are available for a profile. The profile numbers are fixed at 0 to 15.
With the “process” button, you can allocate measurement values to the selected profile.