Commissioning and Diagnostics
4-13
ET 200S Interface Module IM 151/CPU
A5E00058783-01
Evaluation in the User Program
The table below shows you how to evaluate RUN/STOP transitions in the DP
master (SIMATIC S7) or ET 200S, for example.
Table 4-6 Evaluation of RUN/STOP Transitions in the DP Master/ET 200S
In the DP Master
In the ET 200S (IM 151/CPU)
Diagnostic addresses: (example)
Master diagnostic address=1023
Slave diagnostic address in the master
system=1022
Diagnostic addresses: (example)
Slave diagnostic address=1534
Master diagnostic address=not relevant
The CPU calls OB 82 with the following
information:
OB 82_MDL_ADDR:=1022
OB82_EV_CLASS:=B#16#39
(incoming event)
OB82_MDL_DEFECT:=Module fault
Tip: This information is available in the
diagnostic buffer of the CPU
In the user program, you should also program
SFC 13 (“DPNRM_DG”) to read out the slave
diagnosis.
CPU in IM 151/CPU: RUN → STOP
The CPU generates a diagnostic frame (slave
diagnosis; see the
ET 200S Distributed I/O
System
manual).
CPU: RUN → STOP The CPU component in the IM 151/CPU calls
OB 82 with information including the
following:
OB 82_MDL_ADDR:=1534
OB82_EV_CLASS:=B#16#39
(incoming event)
OB82_MDL_DEFECT:=Module fault
Tip: This information is also contained in the
diagnostic buffer of the CPU component