Communication
11.5 S7 communication
S7-1200 Programmable controller
988 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 11- 63 Data types for the parameters
A low to high (positive edge) signal starts the operation.
ID Input CONN_PRG
(Word)
S7 connection ID (Hex)
NDR (GET) Output Bool New Data Ready:
• 0: request has not yet started or is still running
• 1: task was completed successfully
DONE (PUT) Output Bool DONE:
• 0: request has not yet started or is still running
• 1: task was completed successfully
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
ADDR_1 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)
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.
RD_2 (GET)
InOut Variant
RD_3 (GET)
InOut Variant
RD_4 (GET)
SD_4 (PUT)
InOut Variant