Event Recognition By Cpus 31X-2 Dp/31Xc-2 Dp As Dp Slave - Siemens SIMATIC S7-300 Hardware And Installation Manual

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

Advertisement

Commissioning
Commissioning
Commission CPU 31x-2 DP/31xC-2 DP as DP slave in the PROFIBUS subnet as
follows:
1. Switch on power, but hold the CPU in STOP mode.
2. First, switch on all other DP masters/slaves.
3. Now switch the CPU to RUN mode.
Startup of CPU 31x-2 DP/31xC-2 DP as DP slave
When the CPU 31x-2 DP/31xC-2 DP is switched to RUN, two independent
operating mode transitions are executed:
• The CPU switches from STOP to RUN mode.
• At the PROFIBUS-DP interface the CPU starts data transfer with the DP
master.
Recognizing the Operating State of the DP Master (Event Recognition)
The table below shows how CPU 31x-2 DP/31xC-2 DP as DP slave recognizes
operating mode transitions or data exchange interrupts.
Table 8-9
Event
Bus failure interrupt
(short-circuit,
connector
unplugged)
DP master.
RUN → STOP
DP master
STOP → RUN
Tip:
When commissioning the CPU as DP slave, always program OB 82 and 86. This
helps you to recognize and evaluate the respective operating states or data
exchange errors.
8-30

Event recognition by CPUs 31x-2 DP/31xC-2 DP as DP slave

What happens in the DP slave?
Call of OB86 with the message Station failure
(coming event; diagnostic address of the DP slave, assigned to
the DP slave)
with I/O access: Call of OB122
(I/O access error)
Call of OB82 with the message Module error
(coming event; diagnostic address of the DP slave, assigned to
the DP slave; Variable OB82_MDL_STOP=1)
Call of OB82 with the message Module OK
(outgoing event; diagnostic address of the DP slave, assigned to
the DP slave; Variable OB82_MDL_STOP=0)
S7-300 Programmable Controller Hardware and Installation
A5E00105492-01

Advertisement

Table of Contents
loading

Table of Contents