EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 449

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.7 Diagnostics (PROFINET or PROFIBUS)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
449
RET_VAL parameter
The following table shows the meaning of the values of the RET_VAL parameter:
Error code*
(W#16#...)
Explanation
8081
Start information of the current OB does not correspond to the specified system data type
8083 Start information of the last startup OB started does not correspond to the specified system data type
* You can display the error code as either integer or hexadecimal values in the program editor.
Example
A time error interrupt OB (OB 80) is the OB that was called last and that has not yet been
completely processed. Startup OB (OB 100) is the startup OB that was started last. The
instruction call to read the startup information is as follows, where RD_SINFO_DB is the data
block that contains tags of the SDTs for types of OBs:
The following table shows the assignment between the structure elements of the TOP_SI
parameter of the "RD_SINFO" instruction and the associated local tags of OB 80.
TOP_SI
structure element
Data type
OB 80 - Associated local tag
Data type
EV_CLASS
BYTE
OB80_EV_CLASS
BYTE
EV_NUM
BYTE
OB80_FLT_ID
BYTE
PRIORITY
BYTE
OB80_PRIORITY
BYTE
NUM
BYTE
OB80_OB_NUMBR
BYTE
TYP2_3
BYTE
OB80_RESERVED_1
BYTE
TYP1 BYTE OB80_RESERVED_2 BYTE
ZI1
WORD
OB80_ERROR_INFO
WORD
ZI2_3 DWORD OB80_ERR_EV_CLASS BYTE
OB80_ERR_EV_NUM
BYTE
OB80_OB_PRIORITY
BYTE
OB80_OB_NUM
BYTE

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals