6.2 Principle of the data transfer
The data transfer is handled during runtime by using FC/SFCs. The principle of data
transfer is the same for all protocols and is shortly illustrated in the following.
n
Data, which are written into the according data channel by the CPU, is stored in a
FIFO send buffer (first in first out) with a size of 2x1024byte and then put out via the
interface.
n
When the interface receives data, this is stored in a FIFO receive buffer with a size of
2x1024byte and can there be read by the CPU.
n
If the data is transferred via a protocol, the embedding of the data to the according
protocol happens automatically.
n
In opposite to ASCII and STX/ETX, the protocols 3964R, USS and Modbus require
the acknowledgement of the partner.
n
An additional call of the FC/SFC 217 SER_SND causes a return value in RetVal that
includes among others recent information about the acknowledgement of the partner.
n
Further on for USS and Modbus after a SER_SND the acknowledgement telegram
must be evaluated by a call of the FC/SFC 218 SER_RCV.
1
Program
2
Protocol
3
FIFO buffer
4
Interface
RS485 PtP communication
System 300S
+
Deployment PtP communication
Principle of the data transfer
HB140 | CPU | 315-4PN23 | en | 18-02
76
Содержание SPEED7 300S+ CPU 315PN
Страница 1: ...CPU 315 4PN23 Manual HB140 CPU 315 4PN23 en 18 02 System 300S SPEED7 CPU 315PN...
Страница 89: ...System 300S Deployment PtP communication Modbus Example communication HB140 CPU 315 4PN23 en 18 02 89...
Страница 155: ...Appendix System 300S Appendix HB140 CPU 315 4PN23 en 18 02 155...