103BCommunication
10.5 S7 communication
S7-1200 Programmable controller
462
System Manual, 11/2011, A5E02486680-05
Parameter and type
Data type
Description
ERROR
STATUS
Output
Output
Bool
Word
ERROR=0
STATUS value:
–
0000H: neither warning nor error
–
<> 0000H: Warning, STATUS supplies detailed information
ERROR=1
There is an error. STATUS supplies detailed information about
the nature of the error.
ADDR_1
InOut
Remote
ADDR_2
InOut
Remote
ADDR_3
InOut
Remote
ADDR_4
InOut
Remote
Pointer to the memory areas in the remote CPU that stores the
data to be read (GET) or that is sent (PUT).
RD_1 (GET)
SD_1 (PUT)
InOut
Variant
RD_2 (GET)
SD_2 (PUT)
InOut
Variant
RD_3 (GET)
SD_3 (PUT)
InOut
Variant
RD_4 (GET)
SD_4 (PUT)
InOut
Variant
Pointer to the memory areas in the local CPU that stores the data
to be read (GET) or sent (PUT).
Data types allowed: Bool (only a single bit allowed), Byte, Char,
Word, Int, DWord, DInt, or Real.
Note: If the pointer accesses a DB, you must specify the absolute
address, such as:
P# DB10.DBX5.0 Byte 10
In this case, 10 represents the number of bytes to GET or PUT.
You must ensure that the length (number of bytes) and data types for the ADDR_x (remote
CPU) and RD_x or SD_x (local CPU) parameters match. The number after the identifier
"Byte" is the number of bytes referenced by the ADDR_x, RD_x, or SD_x parameter.
Note
The total number of bytes received on a GET instruction or the total number of bytes sent on
a PUT instruction is limited. The limitations are based on how many of the four possible
address and memory areas you use:
If you use only ADDR_1 and RD_1/SD_1, a GET instruction can get 222 bytes and a PUT
instruction can send 212 bytes.
If you use ADDR_1, RD_1/SD_1, ADDR_2, and RD_2/SD_2, a GET instruction can get a
total of 218 bytes and a PUT instruction can send a total of 196 bytes.
If you use ADDR_1, RD_1/SD_1, ADDR_2, RD_2/SD_2, ADDR_3, and RD_3/SD_3 a
GET instruction can get a total of 214 bytes and a PUT instruction can send a total of 180
bytes.
If you use ADDR_1, RD_1/SD_1, ADDR_2, RD_2/SD_2, ADDR_3, RD_3/SD_3, ADDR_4,
RD_4/SD_4 a GET instruction can get a total of 210 bytes and a PUT instruction can
send a total of 164 bytes.
The sum of the number of bytes of each of your address and memory area parameters must
be less than or equal to the defined limits. If you exceed these limits, the GET or PUT
instruction returns an error.