Communication
10.5 S7 communication
S7-1200 Programmable controller
588 System Manual, 03/2014, A5E02486680-AG
Table 10- 36 GET and PUT instructions
req:=_bool_in_,
ID:=_word_in_,
ndr=>_bool_out_,
error=>_bool_out_,
status=>_word_out_,
addr_1:=_remote_inout_,
[...addr_4:=_remote_inout_,]
rd_1:=_variant_inout_
[,...rd_4:=_variant_inout_]);
Use the GET instruction to read data from
a remote S7 CPU. The remote CPU can
be in either RUN or STOP mode.
STEP 7 automatically creates the DB
when you insert the instruction.
req:=_bool_in_,
ID:=_word_in_,
done=>_bool_out_,
error=>_bool_out_,
status=>_word_out_,
addr_1:=_remote_inout_,
[...addr_4:=_remote_inout_,]
sd_1:=_variant_inout_,
[....sd_4:=_variant_inout_]);
Use the PUT instruction to write data to a
remote S7 CPU. The remote CPU can be
in either RUN or STOP mode.
STEP 7 automatically creates the DB
when you insert the instruction.
Table 10- 37 Data types for the parameters
REQ Input Bool A low to high (positive edge) signal starts the operation.
ID Input CONN_PRG
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