101BExtended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
261
Table 8- 72 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: 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.
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
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.
STATUS
OUT
DWord
Block status or error information