Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
403
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 9- 85 STATUS output array
STATUS[1] Function_Num
• 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.
STATUS[4] Error_Code_2 Manufacturer-specific error ID expansion
Table 9- 86 STATUS[2] values
Error according to IEC 61158-6
B#16#8x shows an error in the "xth" call parameter of the instruction.