Procedure For Creating Your Own Project - Siemens 3VF Series Communications Manual

Table of Contents

Advertisement

Communication System Manual
3.5.3.6.7 FB10 call
:SPA FB10
Name :ROOT3WN6
BASE :KF +44
BASA :KF +56
DBG0 :KF +210
DBG1 :KF +220
DBSZ :KF +230
DBAT :KF +240
TIM0
:KF +40
TIM1
:KF +41
TIM2
:KF +42
This is the call based on the parameters from the example.
The meanings of the individual parameters are as follows:
BASE Base address of inputs which has been parameterized in COM-PROFIBUS, for example.
The following 12 bytes are then used by this interface module.
BASA Base address of outputs which has been parameterized in COM-PROFIBUS, for example.
The following 12 bytes are then used by this interface module.
DBG0 Free data block number, DB210 in the example
DBG1 Free data block number, DB220 in the example
DBSZ Free data block number, DB230 in the example
DBAT Free data block number, DB240 in the example
TIM0
Two timers are used in the program.
TIM1
The timers can be specified externally so that the block can be used universally.
TIM2
See above

3.5.3.7 Procedure for creating your own project

1. The data blocks must contain exactly the same structure and contents as in the example provided.
We therefore recommend that you copy them out of this project. Otherwise problems may occur.
2. The following blocks must be copied into the project:
FB10, FB81, FB82, FB100, FB101, FB102
3. FB10 and its parameters must be called from the cyclic program (e.g. OB1).
4. An FB10 call must be assigned to each circuit-breaker. The parameters (DBs, timer, I/O area) must
not overlap.
5. Adaptations to the DP master may be necessary, e.g. CP5431 and diagnostics.
Note: Only flags over the 200 area (scratch flag area) are used in software block FB10. These are
reinitialized on every call and can therefore also be used throughout the entire program provided they
are always reinitialized. This means that the entire flag area can also be used by the user program.
Version 1.0 (05/98)
© Copyright Siemens AG 1998. All rights reserved.
3WN6 Circuit-Breakers
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents