Technical data
Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
532 Manual, 05/2010, A5E02789666-01
Address Name Data Type Description
18.0 S_ChannelVector ARRAY
[0..255]
BOOL
List of channels affected; valid only when
Q_WithSubComponent is set
+90 Alarm
0 A_ComponentID WORD Hardware ID of the component (internal)
2 A_TextID1 WORD ID of the first error text
4 A_TextLexikonID1 WORD ID of the first error text lexicon
6 A_HelpTextLexikonID1 WORD ID of the first help text lexicon
8 A_MapTextID WORD ID of the first error text in the export file
(HMI)
10 A_MapHelpTextID WORD Reserved
12 A_TextID2 WORD Reserved
14 A_TextLexikonID2 WORD Reserved
16 A_HelpTextLexikonID2 WORD Reserved
18 A_MapTextID2 WORD Reserved
20 A_MapHelpTextID2 WORD Reserved
22 A_AlarmID DWORD Message number
26 A_ValueCount WORD Number of other occupied bytes (12)
28 A_AssociatedValue ARRAY
[1..6]
Associated values of the message
n = A_ValueCount / 2 (= 6)
+130 SubComponent
0 U_SubComponentCount WORD Number of subcomponents
2 U_SubComponentFault ARRAY
[1..n]
BOOL
List of subcomponents
"n" depends on the configuration **)
*) If the component was deactivated, the index of the requested/actual error is not changed and
"E_LastError" is set to "true". The variable area of the interrupt is also not filled in.
**) The list of subcomponents is valid only when Q_WithSubComponent is set. The ARRAY
contains one status byte per configured component. For a master. the ARRAY contains the status
of the configured stations sorted in ascending order according to the station ID. For a station, the
ARRAY contains the status of the configured slots sorted in ascending order according to slot
number. This array can contain up to a maximum of 4096 entries (for an IO system); only the actual
maximum size is displayed.
The status byte per subcomponent is defined as follows:
Bit 0 = SubFault: the component cannot be reached
Bit 1 = Fault: the component is not available or has a fault
Bit 2 = Maintenance1: the component has signaled maintenance
Bit 3 = Maintenance2: the component has signaled maintenance
Bit 4 = Deactivated: The component was deactivated
Bit 5 = SubFault: a subcomponent is disrupted
Bit 6 = SubMaintenance1: a subcomponent has signaled maintenance
Bit 7 = SubMaintenance2: a subcomponent has signaled maintenance