Siemens SIPROTEC 7SA522 Manual page 81

Input/output unit, bay control unit, communication module, profibus-dp communication profile
Hide thumbs Also See for SIPROTEC 7SA522:
Table of Contents

Advertisement

Paramterization -
SFC call
SIPROTEC PROFIBUS-DP - Communication profile
C53000-L1840-B001-03
Note:
The evaluation of "Data for Specific Manufacturer" (ref. to Figure 4-11) is not sup-
ported by the PROFIBUS-DP slave of the SIPROTEC devices.
The associated edit box in the dialog window for parameterization with the "Universal
module" has to be remain empty.
For storage of the data, which are to be read with SFC14 and to be written with SFC15,
a data block has to be created.
Then the data exchange can be initiated by calling the system function in the S7 CPU
program.
A description how to use SFC14 and SFC15 in a S7 CPU program you find among
others in the following literature:
Weigmann, J.; Kilian, G.
Decentralization with PROFIBUS-DP/DPV1
Structure, configuration and use of PROFIBUS DP with SIMATIC S7
Siemens AG
Published by: Publicis Corporate Publishing Erlangen
2nd edition, 2003
ISBN: 3-89578-218-1
Continuation of the example:
A data block DB10 which contains an array of 16 word values was created.
The return-value of the function call is stored in MW100.
The start address of the module is 528
The following SFC14 function call is used to read the measured values and counters
into data block DB10:
CALL SFC14
LADDR
:= W#16#210
RET_VAL := MW100
RECORD
:= P#DB10.DBX 0.0 WORD 16
PROFIBUS-DP - Parameterization in DIGSI
= 210
(ref. to Figure 4-11).
dez
hex
81

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents