ASIC Interface
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3
89
7.7 FF
Mode
After activating the FF mode with the FF-Mode bit of mode register 3 (the FF mode
is a variant of the PA mode but does not work in the PA mode !), the user must
activate the Start-SPC4 bit in mode register 1 as was the case on the SPC4/SPC4-
1. The microprogram of the SPC 4-2 then changes to a state in which it waits for an
FF send job for a received FF. The only way out of this state is to reset the SPC 4-
2. The SPC 4-2 has one buffer for sending and one for receiving in the internal
RAM.
7.7.1 Send and Receive Buffer Structure
Each buffer begins with 2 bytes of length information. The lower-order byte is
located in the first byte of the buffer and the higher-order byte with the frame length
is located in the second byte. These are followed by the data (caution: if a frame
has 10 bytes of data, the length word in the send buffer also has the value 10, in
the receive buffer, however, the value 12 is entered since this includes the two
received CRC bytes). The buffers must begin at a segment boundary, although
they themselves are byte-oriented; in other words, they never have gaps
regardless of the segment size.
7.7.2 Sending
The user can trigger sending by writing a 1 to the Start-FF-Send bit in mode
register 4. The SPC 4-2 6 then requires 6 bit times before the frame starts on the
bus. If the Start-FF-Send bit is activated while reception is still active, there is a
frame gap of 23 bit times on the bus. Half bit time after the end of the transmitted
frame the SPC 4-2 activates the MAC_Reset interrupt, after a further bit time, it
opens its receiver. The user must store the start address of the send buffer as a
segment number in the IND_RD pointer.
7.7.3 Receiving
The user stores the start address of the receive buffer once again as a segment
number in the IND_WP_PRE RAM memory location. The user defines the end of
the receive buffer using the highest permitted segment number in the IND_WP
RAM memory location.
If the microprogram attempts to write to the memory area that does not belong to
the receive buffer, writing is suppressed although reception continues.
When a valid start delimiter is received, the and CORRECT_SD interrupt becomes
active. This interrupt is therefore used for carrier detection.
Содержание 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 ...