Siemens S7-1200 System Manual page 316

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

Advertisement

Extended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
Table 8- 71
RDREC and WRREC data types for the parameters
Parameter and type
REQ
IN
ID
IN
INDEX
IN
MLEN
IN
VALID
OUT
DONE
OUT
BUSY
OUT
ERROR
OUT
STATUS
OUT
316
Data type
Bool
HW_IO (Word)
Byte, Word, USInt,
UInt, SInt, Int, DInt
Byte, USInt, UInt
Bool
Bool
Bool
Bool
DWord
Description
REQ = 1: Transfer data record
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.
Data record number
Maximum length in bytes of the data record information to be
fetched (RDREC)
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.
Data record was transferred (WRREC). The DONE bit is TRUE
for one scan, after the last request was completed with no error.
BUSY = 1: The read (RDREC) or write (WRREC) process is
not yet terminated.
BUSY = 0: Data record transmission is completed.
ERROR = 1: A read (RDREC) or write (WRREC) error has
occurred. 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.
Block status or error information
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents