Table 5-13 Evaluating Runstop Transitions In The Dp Master/Dp Slave - Siemens SIMATIC S7-400 Manual

Cpu
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

Evaluation in the User Program
The table below shows an example of you how you can evaluate RUN-STOP transitions of
the DP master in the DP slave (see also the previous table).
Table 5-13
Evaluating RUNSTOP transitions in the DP Master/DP Slave
In the DP master
Diagnostic addresses: (example)
Master diagnostic address=1023
Slave diagnostic address
in the master system=1022
CPU: RUN → STOP
Structure of Slave Diagnostics
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
to
Byte x
Byte x+1
to
Byte y
1) Exception: In the case of invalid configuration of the DP master, the
Figure 5-3
S7-400 Automation System, CPU Specifications
Manual, 10/2006, 6ES7498-8AA04-8BA0
Station statuses 1 to 3
Master PROFIBUS address
High byte
Low byte
Module diagnostics
.
.
(The length depends on the number of
.
configured address areas in the intermediate
memory1)
Station diagnosis
.
(The length depends on the number of configured
.
address areas in the intermediate memory)
.
Structure of slave diagnostics
5.1 CPU 41x-3 PN/DP as DP master / DP slave
In the DP slave (CPU 41x)
Diagnostic addresses: (example)
Slave diagnostic address=422
Master diagnostic address=not relevant
The CPU calls OB82 with the following information,
amongst other things:
Tip: The CPU diagnostic buffer also contains this
information
Manufacturer ID
DP slave interpretes 35 configured address areas (46H).
PROFIBUS DP
OB82_MDL_ADDR:=422
OB82_EV_CLASS:=B#16#39
(incoming event)
OB82_MDL_DEFECT:=module
malfunction
5-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400 automation system

Table of Contents