Siemens S7-1200 System Manual page 589

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Parameter and type
ERROR
Output
STATUS
Output
ADDR_1
InOut
ADDR_2
InOut
ADDR_3
InOut
ADDR_4
InOut
RD_1 (GET)
InOut
SD_1 (PUT)
RD_2 (GET)
InOut
SD_2 (PUT)
RD_3 (GET)
InOut
SD_3 (PUT)
RD_4 (GET)
InOut
SD_4 (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
• If you use ADDR_1, RD_1/SD_1, ADDR_2, and RD_2/SD_2, a GET instruction can get a
• If you use ADDR_1, RD_1/SD_1, ADDR_2, RD_2/SD_2, ADDR_3, and RD_3/SD_3 a
• If you use ADDR_1, RD_1/SD_1, ADDR_2, RD_2/SD_2, ADDR_3, RD_3/SD_3, ADDR_4,
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.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
Bool
Word
Remote
Remote
Remote
Remote
Variant
Variant
Variant
Variant
instruction can send 212 bytes.
total of 218 bytes and a PUT instruction can send a total of 196 bytes.
GET instruction can get a total of 214 bytes and a PUT instruction can send a total of 180
bytes.
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.
Description
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.
Pointer to the memory areas in the remote CPU that stores the
data to be read (GET) or that is sent (PUT).
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.
Communication
10.5 S7 communication
589

Advertisement

Table of Contents
loading

Table of Contents