Communication
SIMOCODE pro
GWA 4NEB 631 6050-22 DS 03
12-23
DP masters which are operated in "S7 compatible" DP mode
(e.g. all older SIMATIC S7-300/400-DP master systems)
Response and process in STEP7:
A diagnostic alarm (OB 82) is triggered in the CPU for every new device
fault, whereas a process alarm (OB 40) is triggered for every new process
fault, warning or status information.
If the OB 82 or the OB 40 is not programmed, the CPU switches to "STOP"
mode.
You will find more information about device faults in the start information of
OB 82 in the "OB82_MDL_DEFECT" variable.
The start information of the OB 40 contains the "OB40_POINT_ADDR"
variable, which in turn contains the data of the process alarm that is
described in bytes 32 to 35 (see Section "Process alarm - configuration").
The reading of the complete diagnostics can then be initiated from OB 40,
while (for example) the complete diagnostics data record 92 is read, e.g. in
the cyclic user program with the SFC 59 "RD_REC".
You will find further information about SFC 59 in the STEP7 online help.