Technical data

Diagnostics
23.10 System Diagnostics with 'Report System Error'
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 529
23.10.2.7 Example of a Request for the PROFINET IO DB
You would like to call up the errors of device 50 on IO system 100 on the OP with HMI_ID 1. If the
HMI_ID is "0", the DB is not being used by anyone and a request can be set up.
Request
HMI_ID 1
System_No 100
Device_No 50
Enable TRUE
Next_Error *
Because the module works asynchronously, you have to wait until Busy becomes "FALSE".
The result for an IO system 100 device 50 has two channel errors.
Result 1
Busy FALSE
Offset_Sys_Header 42
Offset_Sys_Array 50
Vendor Id 0
Device Id 0
Device_Status 1
More_Errors TRUE
Error_Level 4
Map_HelpNr 16884
*: Fields with * are ignored.