Extended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
329
RECORD OUT Variant Destination area for the diagnostic data that were read. The minimum
length of the data record to be read (or the destination area) is 6 bytes.
The maximum length of the data record to be sent is 240 bytes.
Standard slaves can provide more than 240 bytes of diagnostic data up
to a maximum of 244 bytes. In this case, the first 240 bytes are
transferred to the destination area, and the overflow bit is set in the
BUSY=1: The read job is not yet completed
You start the read job by assigning 1 to the input parameter REQ in the DPNRM_DG
instruction call. The read job is executed asynchronously, in other words, it requires several
DPNRM_DG instruction calls. The status of the job is indicated by the output parameters
RET_VAL and BUSY.
Table 8- 83 Slave diagnostic data structure
Additional slave-specific diagnostic information
Table 8- 84 DPNRM_DG instruction error codes
7000 First call with REQ=0: No data transfer active; BUSY has the value 0. -
First call with REQ =1: No data transfer active; BUSY has the value 1.
7002 Interim call (REQ irrelevant): Data transfer already active; BUSY has the
value 1.
Distributed I/Os
Specified logical base address invalid: There is no base address.
8092 The RECORD parameter supports the following data types: Byte, Char,
Word, DWord, Int, UInt, USInt, SInt, DInt, UDInt, and arrays of these types.
-
8093
• This instruction is not permitted for the module specified by LADDR
(S7-DP modules for S7-1200 are permitted).
• LADDR specifies the I/O device instead of specifying the station. Select
the station (and not the image of the device) in the "Network" view of
the "Device configuration" to determine the diagnostic address for
LADDR.
-
80A2
• DP protocol error at layer 2 (for example, slave failure or bus problems)
• For ET200S, data record cannot be read in DPV0 mode.
Distributed I/Os
DP protocol error with user interface/user