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

Table of Contents