Siemens S7-1200 System Manual page 588

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

Advertisement

Communication
10.5 S7 communication
Table 10- 36 GET and PUT instructions
LAD / FBD
Table 10- 37 Data types for the parameters
Parameter and type
REQ
Input
ID
Input
NDR (GET)
Output
DONE (PUT)
Output
588
SCL
"GET_DB"(
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_]);
"PUT_DB"(
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_]);
Data type
Description
Bool
A low to high (positive edge) signal starts the operation.
CONN_PRG
S7 connection ID (Hex)
(Word)
Bool
New Data Ready:
Bool
DONE:
Description
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.
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.
0: request has not yet started or is still running
1: task was completed successfully
0: request has not yet started or is still running
1: task was completed successfully
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller

Advertisement

Table of Contents
loading

Table of Contents