Status Parameter For Rdrec, Wrrec, And Ralrm - Siemens S7-1200 System Manual

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

Advertisement

Extended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
8.3.4

STATUS parameter for RDREC, WRREC, and RALRM

The output parameter STATUS contains error information that is interpreted as ARRAY[1...4]
OF BYTE, with the following structure:
Table 8- 75
STATUS output array
Array element
Name
STATUS[1]
Function_Num
STATUS[2]
Error_Decode
STATUS[3]
Error_Code_1
STATUS[4]
Error_Code_2
Table 8- 76
STATUS[2] values
Error_decode
Source
(B#16#....)
00 to 7F
CPU
80
DPV1
81 to 8F
CPU
FE, FF
DP Profile
Table 8- 77
STATUS[3] values
Error_decode
Error_code_1
(B#16#....)
(B#16#....)
00
00
70
00
01
02
80
90
92
93
322
Description
B#16#00, if no error
Function ID from DPV1-PDU: If an error occurs, B#16#80 is OR'ed (for read
data record: B#16#DE; for write data record: B#16#DF). If no DPV1 protocol
element is used, then B#16#C0 will be output.
Location of the error ID
Error ID
Manufacturer-specific error ID expansion
Description
No error or no warning
Error according to IEC 61158-6
B#16#8x shows an error in the "xth" call parameter of the instruction.
Profile-specific error
Explanation (DVP1)
Reserved, reject
Reserved, reject
Reserved, reject
Reserved, pass
Reserved, pass
Reserved, pass
Description
No error, no warning
Initial call; no active data record transfer
Initial call; data record transfer has started
Intermediate call; data record transfer already active
Invalid logical start address
Illegal type for Variant pointer
The DP component addressed via ID or F_ID is not
configured.
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller

Advertisement

Table of Contents
loading

Table of Contents