Technical data
Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
526 Manual, 05/2010, A5E02789666-01
Address Name Data Type Description
32 Error_No DWORD Error number (index in lexicon)
36 Map_ErrorNo WORD No. of the error text in the export table
38 Map_HelpNo WORD No. of the help text in the export table
40 Number_IO_Sys WORD No. of configured IO systems
42 Systems_Status WORD Overview of all IO systems
Dynamic variable area
Name Type Comment
Once Detail_IO_Sys Struct[n] Array of structures for
each IO system
System_No Word
System number
Max_Num_Dev Word
Maximum ID for the
configured devices
Offset Word
Offset at start of field in
bytes relative to
Detail_IO_Sys
Devices_Affected Word
Number of affected
devices
Each IO system
Offset_Status Word
Offset at start of field
IO_Sys_Status in bytes
independent of
Detail_IO_Sys
Each device
IO_Sys_<n> ARRAY OF WORD[n]
Status of the groups; 1
bit for 16 devices. The
table is large enough to
contain all configured
devices
(Max_Num_Dev ).
Status of a device in the overview IO_Sys_<n>:
Status OK Faulty Failed Not configured
Coding
(bit b+1, bit b)
00 01 10 11
Byte N N+1
Bit 6-7 4-5 2-3 0-1 6-7 4-5 2-3 0-1
IO_Sys_<n>[0]: Device
number
4 3 2 1 8 7 6 5