CPU 31x-2 as DP Master/DP Slave and Direct Communication
2-8
PLC S7-300, CPU Specifications CPU 312 IFM to CPU 318-2 DP
A5E00111190-01
Read out
OB82_MDL_ADDR
(Diagnostic address of the
DP slave = STEP 7
diagnostic address)
Diagnostic event
OB82 is called
Read out the parameter OB 82_MDL_TYPE
in the local data of OB 82:
The module class is in the bits 0 to 3 (DP
slave type)
0011 =
DP slave according to
the standard
1011 =
CPU as DP slave (I slave)
Call SFC 13
Enter the diagnostic
address in the LADDR
parameter
Read out
OB82_MDL_ADDR
(Diagnostic address of the
DP slave = STEP 7
diagnostic address)
Call SFC 51
Enter the diagnostic
address in the INDEX
parameter (always the
input address here)
Enter the ID W#16#00B3
in the SZL_ID parameter
(=diagnostic data of a
module)
Call SFC 13
Enter the diagnostic
address in the LADDR
parameter
CPU 315-2DP smaller than 6ES7 315-2AF03-0AB0
Read
out OB82_MDL_ADDR
and
Read out OB82_IO_FLAG
(= identifier I/O module)
Enter bit 0 of OB82_IO_Flag as bit
15 in OB82_MDL_ADDR
Result: Diagnostics address
”OB82_MDL_ADDR*”
For the diagnosis of the
modules involved:
Call SFC 51
Enter the diagnostic address
“OB82_MDL_ADDR*” in the
INDEX parameter
Enter the ID W#16#00B3 in
the SZL_ID parameter
(=diagnostic data of a
module)
Other ID:
S7-DP Slave
Figure 2-1 Diagnostics with CPU 315-2DP < 315-2AF03