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

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Note
If you assign a destination area for TINFO or AINFO that is too short, RALRM cannot return
the full information. Refer to the online information system of STEP 7 for immediate access
to information on how to interpret the TINFO and AINFO returned buffers.
8.3.3

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- 76
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- 77
STATUS[2] values
Error_decode
Source
(B#16#....)
00 to 7F
CPU
80
DPV1
81 to 8F
CPU
FE, FF
DP Profile
Table 8- 78
STATUS[3] values
Error_decode
Error_code_1
(B#16#....)
(B#16#....)
00
00
70
00
01
02
80
90
92
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
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
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
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
101BExtended instructions
265

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents