EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 386

Siemens SIMATIC S7-1200
1614 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...
Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
386 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 9- 76 RDREC and WRREC data types for the parameters
Parameter and type
Data type
Description
REQ
IN
Bool
REQ = 1: Transfer data record
ID IN HW_IO (Word) Logical address of the DP slave/PROFINET IO component
(module or submodule):
For an output module, bit 15 must be set (for example, for
address 5: ID:= DW#16#8005).
For a combination module, the smaller of the two addresses
should be specified.
Note
: In V3.0, the device ID can be determined in one of two
ways:
By making the following "Network view" selections:
Device (gray box)
"Properties" of the device
"Hardware identifier"
Note
: Not all devices display their Hardware identifiers,
however.
By making the following "Project tree" menu selections:
PLC tags
Default tag table
System constants tab
All configured device Hardware identifiers are displayed.
Note
: In V4.0, the device ID (hardware identifier) for the interface
module is determined by going to the tag table and locating the
"Device Name [HEAD]" parameter under System Constants.
INDEX IN Byte, Word, USInt,
UInt, SInt, Int, DInt
Data record number
MLEN IN Byte, USInt, UInt Maximum length in bytes of the data record information to be
fetched (RDREC)
VALID OUT Bool New data record was received and valid (RDREC). The VALID
bit is TRUE for one scan, after the last request was completed
with no error.
DONE OUT Bool Data record was transferred (WRREC). The DONE bit is TRUE
for one scan, after the last request was completed with no error.
BUSY OUT Bool
BUSY = 1: The read (RDREC) or write (WRREC) process is
not yet terminated.
BUSY = 0: Data record transmission is completed.
ERROR OUT Bool ERROR = 1: A read (RDREC) or write (WRREC) error has oc-
curred. The ERROR bit is TRUE for one scan, after the last
request was terminated with an error. The error code value at
the STATUS parameter is valid only during the single scan
where ERROR = TRUE.
STATUS
OUT
DWord
Block status (Page 403) or error information (Page 553)

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals