Hide thumbs Also See for S7-1200:
Table of Contents
Structure components
DB_NUMBER
OFFSET
GET_ERROR_ID
Table 7- 110 GetErrorID instruction
LAD / FBD
SCL
GET_ERR_ID();
Table 7- 111 Data types for the parameters
Parameter
Data type
ID
Word
Table 7- 112 Error_ID values
ERROR_ID
ERROR_ID decimal
hexadecimal
0
0
2520
9504
2522
9506
2523
9507
2524
9508
2525
9509
2528
9512
2529
9513
252C
9516
2530
9520
253A
9530
253C
9532
253D
9533
253E
9534
253F
9535
2575
9589
2576
9590
2942
10562
2943
10563
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
Description
UInt
(D) Number of the data block
UDInt
(E) Relative address of the operand
Description
Indicates that a program block execution error has occurred and reports
the ID (identifier code) of the error.
Description
Error identifier values for the ErrorStruct ERROR_ID member
Program block execution error
No error
Corrupted string
Operand out of range read error
Operand out of range write error
Invalid area read error
Invalid area write error
Data alignment read error (incorrect bit alignment)
Data alignment write error (incorrect bit alignment)
Uninitialized pointer error
DB write protected
Global DB does not exist
Wrong version or FC does not exist
Instruction does not exist
Wrong version or FB does not exist
Instruction does not exist
Program nesting depth error
Local data allocation error
Physical input point does not exist
Physical output point does not exist
Basic instructions
7.8 Program control operations
265
Table of Contents
loading

Table of Contents