Parameterization and configuration
TR-Electronic GmbH 2008, All Rights Reserved
Printed in the Federal Republic of Germany
Page 74 of 109
TR - ECE - BA - DGB - 0068 - 01
06/19/2012
7 Parameterization and configuration
Parameterization
Parameterization means providing a PROFIBUS-DP slave with certain information required for
operation prior to commencing the cyclic exchange of process data. The measuring system
requires e.g. data for Resolution, Count direction etc.
Normally the configuration program provides an input mask for the PROFIBUS-DP master with
which the user can enter parameter data or select from a list. The structure of the input mask is
stored in the device master file. The number and type of the parameter to be entered by the user
depends on the choice of nominal configuration.
The configuration described as follows contains configuration and parameter data
coded in their bit and byte positions. This information is e.g. only of significance in
troubleshooting or with bus master systems for which this information has to be
entered manually.
Modern configuration tools provide an equivalent graphic interface for this purpose.
Here the bit and byte positions are automatically managed in the "background". The
configuration example on page 97 illustrates this again.
Configuration
The definition of the I/O length, I/O data type etc. takes place automatically for most bus
masters. This information only has to be entered manually for a few bus masters.
Configuration means that the length and type of process data must be specified and how it is to
be treated. The configuration program normally provides an input list for this purpose, in which the
user has to enter the corresponding identifiers.
As the measuring system supports several possible configurations, the identifier to be entered is
preset dependent on the required nominal configuration, so that only the I/O addresses need to be
entered. The identifiers are stored in the device master file.
The measuring system uses a different number of input and output words on the PROFIBUS
dependent on the required
nominal configuration
.
Structure of the configuration byte (compact format):
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
Length of the I/O data:
0-15 for 1 to 16 bytes or words
Type of I/O data:
00 = empty,
01 = input,
10 = output,
11 = input/output
Format:
0 = BYTE,
1 = WORD
Consistency:
0 = Consistency about one byte or word
1 = Consistency about the complete module