Diagnostics
Function Manual, 11/2019, A5E03735838-AF
71
System diagnostics by means of the user program
5
5.1
Options of system diagnostics in the user program
Introduction
You can configure responses to diagnostics alarms in the user program. You can, for
example, specify that your plant is stopped in case of specific diagnostics alarms.
Instructions
A vendor-independent structure of data records with diagnostics information applies. The
following instructions are available for determining the system diagnostics of a device:
Table 5- 1
Instructions for determining the system diagnostics
Instruction
Description
RDREC
•
Reads data records of a component (module or submodule) of a DP slave/IO device that may
contain error information
•
Works asynchronously, which means processing takes place across several calls
RALRM
•
Reads the start information of the OB when calling the diagnostics interrupt OB (OB 82)
•
Provides information on cause and location of error
DPNRM_DG
•
Reads the current diagnostics data of a DP slave (DP standard diagnostics)
GEN_DIAG
•
Generates diagnostics information
•
To generate diagnostics information, the module or submodule is identified with its logical address
Gen_UsrMsg
•
Generates an alarm that is entered in the diagnostics buffer
GET_DIAG
•
Provides diagnostics information
•
To provide diagnostics information, the module or submodule is selected
GET_Name
•
Reads the name of an IO device
T_DIAG
•
Provides diagnostics and status information on a connection
•
Works asynchronously, which means processing takes place across several calls
RD_SINFO
•
Reads the start information of the OB called last that has not been processed completely and the
startup OB started last
•
Provides general error information
LED
•
Reads the status of the module LED
Get_IM_Data
•
Reads the Information&Maintenance data of the CPU
•
Works asynchronously, which means processing takes place across several calls
DeviceStates
•
Outputs the state of all devices of an IO system
ModuleStates
•
Outputs the state of all modules of a device
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......