
DP Interface
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3
57
6.2.2 Read-Input-Data
Description
Read-Input-Data is an SRD frame without request data from any bus master with
SSAP = 62 to SAP 56 of the DP slave. As a DP slave, the SPC 4-2 can only
evaluate this frame if the DP controller is in the "Data Exchange" state. In all other
states (for example Wait-PRM, Wait-Config), SAP 56 must be deactivated by the
FLC with Request-SA = 7FH. A Read-Input-Data frame would then be rejected with
"No-Service-Activated (RS)".
In the "Data Exchange" DP status, the following settings must be made in SAP 56
of the SPC 4-2:
Buffer-available > 0
Request-SA = FFH (all)
Request-SSAP = SSAP (different from DEFAULT-SAP)
Access-Value = {09H, 0AH, 0BH}
Reply-Update-Ptr / SDN-/DDB-Tln-Tab-Ptr = don't care
Read-Input-Data frames are
not
indicated by the SPC 4-2 and
not
entered in the
indication queue. Buffer available is
not
decremented in the control byte of SAP
56. .
If input data are requested with Read-Input-Data, the SPC 4-2 replies as follows:
●
either
with the "old" input data of reply update buffer D (in other words reply
update buffers D and N are
not
swapped before sending the response).
●
This is the situation when no valid input data have been entered in the reply
update buffer N (in other words, RUP-N-Valid = 0 in the DEFAULT SAP) or the
input data in reply update buffer D are frozen (DIAG.FREEZE mode = 1, see
Section 2.7.4).
●
or
with the "new" input data if the reply update buffers D and N were swapped
prior to sending the response. The buffers are swapped if RUP-N-Valid = 1 and
DIAG, FREEZE mode = 0 are set in the DEFAULT SAP. The SPC 4-2 then
sets the flag RUP-N-Valid = 0 in the DEFAULT SAP. The buffers are swapped
and the RUP-N-Valid flag is reset with lock active.
If Response-Buffer-Length = 0 is set in the DEFAULT SAP, the SPC 4-2
replies with SC.
An SRD frame with request data at SAP 56 of the DP slave is rejected by the
SPC 4-2 with "No-Resource (RR)".
Содержание 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 ...