EasyManua.ls Logo

Siemens S7-1200 - Page 264

Siemens S7-1200
1028 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...
Basic instructions
7.8 Program control operations
S7-1200 Programmable controller
264 System Manual, 03/2014, A5E02486680-AG
Table 7- 109 Elements of the ErrorStruct data structure
Structure components
Data type
Description
ERROR_ID
Word
Error ID
FLAGS Byte Shows if an error occurred during a block call.
16#01: Error during a block call.
16#00: No error during a block call.
REACTION Byte Default reaction:
0: Ignore (write error),
1: Continue with substitute value "0" (read error),
2: Skip instruction (system error)
CODE_ADDRESS
CREF
Information about the address and type of block
BLOCK_TYPE Byte Type of block where the error occurred:
1: OB
2: FC
3: FB
CB_NUMBER
UInt
Number of the code block
OFFSET
UDInt
Reference to the internal memory
MODE Byte Access mode: Depending on the type of access, the following
information can be output:
Mode
(A)
(B)
(C)
(D)
(E)
0
1
Offset
2
Area
3
Location
Scope
Number
4
Area
Offset
5 Area DB no. Offset
6 PtrNo.
/Acc
Area DB no. Offset
7 PtrNo. /
Acc
Slot No. /
Scope
Area DB no. Offset
OPERAND_NUMBER
UInt
Operand number of the machine command
POINTER_NUMBER_
LOCATION
UInt (A) Internal pointer
SLOT_NUMBER_SCOPE
UInt
(B) Storage area in internal memory
DATA_ADDRESS
NREF
Information about the address of an operand
AREA Byte (C) Memory area:
L: 16#40 4E, 86, 87, 8E, 8F, C0 CE
I: 16#81
Q: 16#82
M: 16#83
DB: 16#84, 85, 8A, 8B

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals