2 S7-1200/1500 Innovations
2.6 Optimized blocks
2.6.5
Communication with optimized data
The interface (CPU, CM) transfers the data as they are arranged (no matter if
optimized or not).
Figure 2-11: CPU-CPU communication
Send data can be:
•
optimized
•
not optimized
•
Tag (any type)
•
Buffer (byte array)
Example
A tag with data type PLC (data record) is to be transferred to a CPU.
In the send CPU, the tag is interconnected as actual parameter with the
communication block (TSEND_C).
In the receive CPU, the receive data are assigned to a tag of the same type.
In this case, it is possible to symbolically continue to work directly with the
received data.
Note
Any tags or data blocks (derived from PLC data types) can be used as data
records.
Note
It is also possible that the send and receive data are not defined identically:
Send data
optimized
not optimized
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
Send CPU
0A
B1
Receive data
-->
not optimized
-->
optimized
Compatible
data transfer
(byte stream)
32
39
4F
6D 7A ...
FF
Receive data can be:
•
optimized
•
not optimized
•
Tag (any type)
•
Buffer (byte array)
Receive CPU
16