
DP Interface
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3
53
Request frames at a SAP other than the DEFAULT SAP are accepted only if the
SSAP is different from the DEFAULT SAP. The request SSAP must have suitable
parameters assigned by the FLC. The received data are entered in the indication
queue. As the reply, the data from the reply update buffer pointed to by the Reply-
Update-Ptr of the addressed SAP are sent. If the received request data are entered
in the indication queue, the "IND-WP-PRE" pointer is set to the next free segment
and the "IND-PRE" interrupt is generated. If the job is completed, the IND-WP
pointer is also set to the next free segment and the "IND" interrupt generated
(indication).
Swap Buffer Principle
Buffer
Buffer
Buffer
Swapped
b
Swapped
by SPC 4
by FLC
N
U
D
Figure 6-1
Swap Buffer Principle
The SPC 4-2 enters error-free output data received from the DEFAULT SAP of the
DP master at the local DEFAULT SAP in the indication buffer D. The SPC 4-2
generates the "Watchdog Reset" interrupt. Following this, the SPC 4-2 swaps the
indication buffers D and N either immediately (DIAG.SYNC mode = 0) or at the
next "Sync" command (DIAG. SYSNC mode = 1). After swapping the indication
buffer pointers D and N, the SPC 4-2 sets the IND-N-Valid = 1 flag in the default
SAP and generates the "Output Data Exchange" interrupt. These actions are
executed with the lock active to ensure data consistency. If the FLC wants to
update its output data in the indication buffer U, it must first check whether IND-N-
Valid = 1 is set (in other words, whether valid output data are entered in indication
buffer N). If this is the case, the FLC can update its output data by swapping the
indication buffers N and U. The FLC must also reset the flag IND-N-Valid = 0 in the
DEFAULT SAP. These actions must be performed by the FLC with lock active.
The FLC puts together the input data in the reply update buffer U and then swaps
the U buffer with the reply update buffer N.
The FLC must also set the flag RUP-N-Valid = 1 in the DEFAULT SAP if the reply
update pointers U and N are swapped. These actions must be performed by the
FLC with lock active. If the DP master requests input data using a request frame,
the SPC 4-2 replies
Содержание SIMATIC NET SPC 4-2 LF
Страница 9: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 9 Introduction 1 ...
Страница 11: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 11 Functional Overview 2 ...
Страница 14: ...PROFIBUS Controller SPC 4 2 LF 14 C79000 G8976 C157 3 ...
Страница 15: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 15 Pin Assignment 3 ...
Страница 18: ...PROFIBUS Controller SPC 4 2 LF 18 C79000 G8976 C157 3 ...
Страница 19: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 19 Memory Assignment 4 ...
Страница 32: ...PROFIBUS Controller SPC 4 2 LF 32 C79000 G8976 C157 3 ...
Страница 33: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 33 FLC Interface 5 ...
Страница 50: ...PROFIBUS Controller SPC 4 2 LF 50 C79000 G8976 C157 3 ...
Страница 51: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 51 DP Interface 6 ...
Страница 63: ...ASIC Interface PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 63 ASIC Interface 7 ...
Страница 107: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 107 Asynchronous Interface 8 ...
Страница 114: ...PROFIBUS Controller SPC 4 2 LF 114 C79000 G8976 C157 3 ...
Страница 115: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 115 Synchronous Interface 9 ...
Страница 125: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 125 Clock Pulses 10 ...
Страница 128: ...PROFIBUS Controller SPC 4 2 LF 128 C79000 G8976 C157 3 ...
Страница 129: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 129 Processor Interface 11 ...
Страница 152: ...PROFIBUS Controller SPC 4 2 LF 152 C79000 G8976 C157 3 ...
Страница 153: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 153 Technical Specifications 12 ...
Страница 159: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 159 Package 13 ...
Страница 165: ...Package PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 165 Figure 13 4 Tray Spezification ...
Страница 166: ...PROFIBUS Controller SPC 4 2 LF 166 C79000 G8976 C157 3 ...
Страница 168: ...PROFIBUS Controller SPC 4 2 LF 168 C79000 G8976 C157 3 ...
Страница 169: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 169 Addresses 15 ...
Страница 172: ...PROFIBUS Controller SPC 4 2 LF 172 C79000 G8976 C157 3 ...
Страница 173: ...PROFIBUS Controller SPC 4 2 LF C79000 G8976 C157 3 173 Appendix 16 ...
Страница 178: ...PROFIBUS Controller SPC 4 2 LF 178 C79000 G8976 C157 3 ...