hit counter script

Siemens SIMATIC S7 System Manual page 223

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

GetError
Table 7- 119 GetError instruction
LAD / FBD
SCL
Not available
Table 7- 120 Data types for the parameters
Parameter
Data type
ERROR
ErrorStruct
Table 7- 121 Elements of the ErrorStruct data structure
Structure components
ERROR_ID
FLAGS
REACTION
CODE_ADDRESS
BLOCK_TYPE
CB_NUMBER
OFFSET
MODE
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
Description
Indicates that a local program block execution error has occurred and fills a
predefined error data structure with detailed error information.
Description
Error data structure: You can rename the structure, but not the members within the
structure.
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
(A)
(B)
Location
Scope
100BBasic instructions
7.8 Program control
(C)
(D)
Offset
Area
Number
Area
Offset
Area
DB no.
Offset
(E)
223

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF