13
The requested profile number is parameterised in the first output byte. This is given back as a
confirmation in the first input byte. If the exact profile number is not returned, the profile has not been
read or has not been parameterised in the unit. The measurement values are after the first input byte.
The spacing between the input and output bytes depends on the format. In the case of a float format,
the spacing would be 4 bytes. If another format has been selected in the profiles, the spacing can be
less
(spacing = byte size of the format).
Profibus Profiles in Graphic Programming
The profibus function modules in graphic programming are available from GridVis 1.6.0 and Firmware
1.095 (UMG604). All measurement values and all variables defined by the user can be allocated to a
profile (profiles 16 - 255) using the graphic programming. The "write profibus" function module is used
for allocation. Profiles can also be read and analysed ("read p
rofibus“). With the "read profibus"
function module, variables in the profile described by the PLC can be read and used in the programme
e.g. in order to set a digital output or reset a working value. There is an additional description of
functions for graphic programming. The Power Analyzer provides one profibus buffer for reading and
writing profile. If you want to change between difference profiles you could realised that with a
graphical function code
“IF command”.
Without IF command you could use only one reading and
one writing profile in processed (program)!
Example for the Write Profibus Profile
The graphic programming of a profibus profile is described in the following example. Three constants
(fixed values) are allocated to profile 16. The programme is processed in measurement intervals
(200ms).
Abbildung 13