
Publication 193-UM010A-EN-P – January 2008
3-2
PROFIBUS Configuration
Initial Data
During startup of the network, it is possible to load start-up values (loaded on each transition
from offline to online) for all writable parameters by means of the User Prm Data. The
PROFIBUS Module will use these settings provided that "Parameter Initialization" (User Prm
Data byte #3) is set as "Enabled". Note that this will result in any previous settings stored in non
volatile memory to be replaced.
Initial values supplied through the User Prm Data will only be used if all initial parameter values
are valid. In case an illegal initial parameter value is specified, an out-of-range parameter error
will be signalled to the PROFIBUS master.
The loading of initial data also includes the "Program Lock"-setting, which means that it is
possible to specify a default configuration during startup, which will then be protected from
write access during runtime.
Control- and Status Registers
The GSD file is used to house the Control- and Status Registers. These registers controls- and
reflects the overall status of the module respectively.
Control Register
The structure controls various aspects of the module as follows:
Table 3.1 Control Register contents
•
Bit 0; OutA – Control of the Output relay. The bit is flank triggered, i.e. a state transition
from 0 to 1 or from 1 to 0 must be performed to change the state of the relay
•
Bit 2; Trip Reset – Same functionality as parameter 19,
Trip Rese
t. The bit is flank
triggered, i.e. a state transition from 0 to 1 must be performed to trigger a trip reset.
•
Bit 6; Save – Used to trigger a save (to non-volatile memory) of parameter values of
parameters that are mapped as Cyclic I/O. The bit is flank triggered, i.e. a state transition
from 0 to 1 must be performed to trigger a save operation.
IMPORTANT
All changes made to parameter values, saved or not, will take effect
immediately even during Data Exchange.
IMPORTANT
Initial values supplied through the User Prm Data will only be used if all
initial parameter values are valid. In case an illegal initial parameter value
is specified, an out-of-range parameter error will be signalled to the
PROFIBUS master.
IMPORTANT
Special care has to be taken for parameters mapped as Cyclic I/O, since
their value may be overwritten during the first bus cycle. This can be
prevented using parameter 20 (
Program Lock)
, however as soon as the
Program Lock is disabled, the value of these parameters will be replaced
by the corresponding I/O data.
Bit
Function:
7
6
5
4
3
2
1
0
X
OutA
X
Trip Reset
X
Save
X
X
X
X
X
Not Used