Description Of Examples - Siemens 3VF Series Communications Manual

Table of Contents

Advertisement

Communication System Manual
3.5.3.4.4 Reading circuit-breaker data
Circuit-breaker key data are read by setting the relevant bits in DW0 and DW1 of DBAT (DB240 in this
example). The data which are read out are stored in DB80. As the circuit-breaker data do not change
during operation, a single call of the messages is sufficient, e.g. by setting the bits in the relevant OBs
on start-up/restart.
Example: Read all circuit-breaker data.
ADB 240
LKM 01111100 00011111
TDW 0
LKM 10000100 00000000
TDW 1
All the bits in DW0 and DW1 can also be set. If a request does not exist, it is canceled after a watchdog
time of 1 s.

3.5.3.5 Description of examples

FB REC is called and parameters are passed to it in order to read 3WN6 data. FB SEND is used to
write data to the 3WN6 interface module. Both blocks have a similar list of designators:
T-DB
An input word (MW206 in the example) containing the number of the data block in which
the message headers are stored.
Q-DB/Z-DB
An input word (MW208 in the example) containing the number of the data block in which
the parameter values are stored/are to be stored.
Q-DW/Z-DW An input word (DW254 in the example) which can be used to specify an offset for the
basic data word in the data block for parameters.
STAT
An input word for an auxiliary storage location which is needed in blocks FB SEND and
FB REC. This auxiliary storage location contains the value 0 when the request has been
processed, the value 2 during processing and any other value - the value 1 in the
example - in order to indicate a new request.
T-NR
An input byte to specify a message number to be processed (reference to data word to
be processed in T-DB and Q-DB/Z-DB - DW in T-DB = 2 x T-NR and following DW; DW
in Q-DB/Z-DB = 2 x T-NR + value in Q-DW/Z-DW and following DW) (DL251 in the
example).
EW0
Input word (MW220 in the example) in which the first two byes of the response from
3WN6 are stored (parameter identifier).
EW1
Input word (MW222 in the example) in which bytes three and four of the response from
3WN6 are stored (parameter subindex).
EW2
Input word (MW224 in the example) in which bytes five and six of the response from
3WN6 are stored (size and conversion index for requested value).
EW3
Input word (MW226 in the example) in which bytes seven and eight of the response from
3WN6 are stored (requested value).
AW0
Output word (MW230 in the example) in which the first two byes to be sent to 3WN6 are
stored (parameter identifier).
AW1
Output word (MW232 in the example) in which bytes three and four to be sent to 3WN6
are stored (parameter subindex).
AW2
Output word (MW234 in the example) in which bytes five and six to be sent to 3WN6 are
stored (size and conversion index for value to be transferred).
AW3
Output word (MW236 in the example) in which bytes seven and eight to be sent to
3WN6 are stored (value to be transferred).
Version 1.0 (05/98)
© Copyright Siemens AG 1998. All rights reserved.
3WN6 Circuit-Breakers
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents