PLC concepts
5.1 Execution of the user program
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
99
Table 5- 7 Startup information for the diagnostic error interrupt OB
IOstate WORD IO state of the device:
• Bit 0 = 1 if the configuration is correct, and = 0 if the configura-
tion is no longer correct.
• Bit 4 = 1 if an error is present (such as a wire break). (Bit 4 = 0 if
there is no error.)
• Bit 5 = 1 if the configuration is
correct, and = 0 if the configu-
ration is correct again.
•
Bit 7 = 1 if an I/O access error has occurred. Refer to LADDR for
the hardware identifier of the I/O with the access error. (Bit 6 = 0
if there is no error.)
LADDR HW_ANY Hardware identifier of the device or functional unit that reported the
1
MultiError BOOL TRUE if more than one error is present
The LADDR input contains the hardware identifier of the device or functional unit which returned
the error. The hardware identifier is assigned automatically when components are inserted in the
device or network view and appears in the Constants tab of PLC tags. A name is also assigned
automatically for the hardware identifier. These entries in the Constants tab of the PLC tags can-