EasyManua.ls Logo

Siemens S7-1200 - Page 588

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication
10.5 S7 communication
S7-1200 Programmable controller
588 System Manual, 03/2014, A5E02486680-AG
Table 10- 36 GET and PUT instructions
LAD / FBD
SCL
Description
"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_]);
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.
"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_]);
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
Parameter and type
Data type
Description
REQ Input Bool 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

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals