Evaluating Run-Stop Transitions Of The Dp Slaves In The Dp Master - Siemens SIMATIC S7-300 Series Reference Manual

Cpu specifications
Hide thumbs Also See for SIMATIC S7-300 Series:
Table of Contents

Advertisement

CPU 31x-2 as DP Master/DP Slave and Direct Communication
Evaluation in the User Program
Table 2-4 shows you how you can, for example, evaluate RUN-STOP transitions of
the DP slave in the DP master (see Table 2-3).
Table 2-4

Evaluating RUN-STOP Transitions of the DP Slaves in the DP Master

In the DP Master
Diagnostic Addresses Example:
Master diagnostic address =1023
Slave diagnostic address in the master
system =1022
The CPU calls OB 82 with the following
information:
S
OB 82_MDL_ADDR:=1022
S
OB82_EV_CLASS:=B#16#39
(incoming event)
S
OB82_MDL_DEFECT:=Module fault
Tip: The CPU's diagnostic data buffer also
contains this information
In your user program, you should also
program SFC13 "DPNRM_DG" to fetch
diagnostic data from the DP Slave.
We recommend you use SFB54 when
operating in DPV1 mode. It outputs complete
interrupt information.
2-12
In the DP Slave (CPU 31x-2DP)
Diagnostic Addresses Example:
Slave diagnostic address =422
Master diagnostic address = not relevant
CPU: RUN → STOP
CPU generates a DP slave diagnostic frame
(see Section 2.6.4).
PLC S7-300, CPU Specifications CPU 312 IFM to CPU 318-2 DP
A5E00111190-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents