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
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)
Information about the address and type of block
BLOCK_TYPE Byte Type of block where the error occurred:
• 1: OB
• 2: FC
• 3: FB
Reference to the internal memory
MODE Byte Access mode: Depending on the type of access, the following
information can be output:
5 Area DB no. Offset
6 PtrNo.
Area DB no. Offset
7 PtrNo. /
Slot No. /
Area DB no. Offset
Operand number of the machine command
POINTER_NUMBER_
UInt (A) Internal pointer
(B) Storage area in internal memory
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