Page 72
= Key 1
= Key 2
= Key 3
= Maximum or consumption = Minimum or supply.
Create a GSD file
The program PSW 503 belongs to the contents of delive-
ry for the device and includes the module "PROFIBUS
configuration". Measured values and in- and outputs can
be selected for transmission to PLC with that module.
As a result of the configuration, a GSD file for the PLC
is created.
To bind in a GSD file
The binding of the GSD file in a program is carried out
by the customer. It is very different from application to
application.
Instructions for binding in a UMG 503 in a Siemens SPS
S7 (CPU 315-2DP) can be downloaded from the internet
page "
http://www.janitza.de
".
GSD file
The GSD file is a file specific for the device, in which
the transmission parameters and the kind of measuring
data between PROFIBUS Master and the PROFIBUS
Slave are laid. The PROFIBUS Slave here is the UMG
503 and the PROFIBUS Master is a PLC, for instance.
Depending on the format of the values to be transmitted,
at minimum 7 measured values and
at maximum 21
measured values
can be transmitted.
If more measured values are required, a GSD file must
be created, that determines a 32 word large output range
and a 28 words large input range. In the output range, the
PLC can deposit the desired measured value addresses
and retrieve the corresponding measured values within
the input range. If the addresses in the output range are
not changed further, the UMG 503 deliveres new measu-
red values continuosly to the input range of PLC.
This method of retrieving measuring data is depicted as
"higher protocol" in the description.
Diagr. Two UMG 503 and one PLC at PROFIBUS DP
Protokolle
Standard-Protokoll
Protokollablauf
Der Protokollablauf unterscheidet sich in den Betriebsarten
Daten an ein Gerät senden,
Daten von einem Gerät empfangen.
Daten an ein Gerät senden
Zeichenbedeutung
Hex-Wert
Datenrichtung
PC
Gerät
Protokollanfang
(76)
--->
Geräteadresse
(00..FF)
--->
Steuerbyte
(45)
--->
(Echo)
<---
Anzahl der Datenbytes
einschließlich Startadr.
(03..0F)
--->
(Echo)
<---
Startadresse lsb
(00..FF)
--->
(Echo)
<---
Startadresse msb
(00..FF)
--->
(Echo)
<---
1. Datenbyte
(00..FF)
--->
(Echo)
<---
2. Datenbyte
(00..FF)
--->
(Echo)
<---
...
...
n. Datenbyte
(00..FF)
--->
(Echo)
<---
Falls alle Echos
korrekt waren:
Echo o.k.
(78)
--->
wenn nicht:
Echofehler
(7A)
--->
Protokollende
(79)
<---
Daten von einem Gerät empfangen
Zeichenbedeutung
Hex-Wert
Datenrichtung
PC
Gerät
GSD-Datei
P R O F I B U S
DP Master
PROFIBUS
DP Slave
PROFIBUS
DP Slave
SPS
UMG503
UMG503