Description of the blocks
4.2 Diagnostics block MMDiag
SIMOCODE pro PCS 7 Library V9.0
98 Programming and Operating Manual, 06/2017, A5E40899442002A/RS-AA/001
IO station failure (PROFIBUS DP or PROFINET IO)
The OB_DIAG1 / OB_DIAG1_PN block detects the failure of the station, and evaluates it
based on the event class and event number (see table).
In the event of a fault, the identifier for "higher-level fault" (OMODE = 16#40xxxxxx) is
entered for the OMODE output.
PROFIBUS DP station failure (
) 16#C4 16#39
PROFIBUS DP station return
PROFIBUS DP station error
Reset PROFIBUS DP station error
PROFIBUS DP station return, but error in assignment of
16#C6, 16#C7 16#38
PROFINET IO system failure
PROFINET IO station failure
Reset PROFINET IO station error
Return of PROFINET IO station, but error
Return of PROFINET IO station, but target configuration
not equal to actual configuration
16#CD 16#38
Return of PROFINET IO station, but error in assignment
16#CE 16#38
If the "rack failure" error (RackF_Act = 1) occurs, the connection to the device is lost (BusFlt
= 1
).
Error numbers (Page 77)
You will find more information about the organization blocks in the reference manual System
and Standard Functions for S7-300/400 in the Internet
(https://support.industry.siemens.com/cs/document/44240604
).