EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Evaluate Diagnostics in the User Program

Siemens SIMATIC ET 200AL
1585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Diagnostics and maintenance
4.8 Diagnostics in the user program
PROFINET with STEP 7 V15
Function Manual, 12/2017, A5E03444486-AH
111
4.8.2
Evaluate diagnostics in the user program
Diagnostics in the user program
For PROFINET IO, a cross-vendor structure of data records with diagnostics information
applies. Diagnostics information is created only for channels on which a fault has occurred.
With PROFINET, there are two basic ways to obtain diagnostics information.
1. Evaluating the diagnostics status
Read out the diagnostics of your PROFINET IO system using the instructions "DeviceStates"
and "ModuleStates", to localize those stations / modules or station / modules with
maintenance demanded or maintenance required that have faults within a PROFINET IO
system.
The instruction RDREC (read data record) is then used to read various diagnostics data
records directly from the module concerned and thus obtain detailed information about the
error.
Num-
ber
Description
All individual errors are collected in a single data record on the interface module.
In your user program, the instruction "RDREC" reads the entire station status asynchronous-
ly directly from the IO device.
Figure 4-19 Example: Evaluating diagnostics data records with the instruction "RDREC"

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals