The text of a manual · part 7 of 14
SIMATIC DP/DP Coupler Manual, pages 43 to 50
Pages 43 to 50 of 104: 5 Operation of the DP/DP Coupler; 6 Diagnostics
The original document is the PDF (923 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Siemens 6ES7-158-0AD00-0XA0
Page 43
Operation of the DP/DP Coupler
5
Overview of contents Section
5.1
Topic
Page
5.1
Replacing faulty modules
5-1
5.2
Response times of the DP/DP Coupler
5-1
Replacement of a faulty DP/DP Coupler The table below shows you the steps in replacing a faulty DP/DP Coupler. Step
5.2
Activity
1
Disconnect the bus connectors from the PROFIBUS DP interfaces.
2
Disconnect the faulty DP/DP Coupler from the power supply.
3
Replace the faulty DP/DP Coupler.
4
Connect the new DP/DP Coupler to the power supply.
5
Connect the PROFIBUS DP interfaces of the new DP/DP Coupler.
Response times of the DP/DP Coupler
Overview The chapter below shows you the average time required for the transfer of data from the DP master on network 1 to the DP master on network 2 via DP/DP Coupler.
DP/DP Coupler A5E00244669-03
5-1
Page 44
Operation of the DP/DP Coupler
Response times The interval expiring between the time data from a DP master are written to the process image of outputs unit and the time until these can be read in the process image of the second DP master depends on the following variables: • CPU scan cycle time of both DP masters • Bus cycle time of the corresponding DP masters • Copy cycle within the DP/DP Coupler (TCOPY) • Overall data length [in bytes] (input/output) The copy cycle of the DP/DP Coupler is independent of the currently set data transfer rate. The following applies: TCOPY = 1 ms + n x 7 ms The measurement for the formula above is performed based on the following criteria: • CPU 416-2 DP • Bus cycle time 6 ms • Data length (n) 1 ... 488 bytes • Data transfer rate of 12 Mbps • In the measurement we use neither cyclic diagnostic functions, nor any global control commands (FREEZE, SYNC).
Note The copy cycle can usually be neglected when operating at low data transfer rates.
Factors influencing the response times The following applies to time–sensitive applications: • Reduce the amount of data exchanged via the DP/DP Coupler to the minimum. • Avoid diagnostic data requests at the DP master. • Do not use any global control command (FREEZE, SYNC) for the DP/DP Coupler, but rather use a separate group. • High data transfer rate (12 Mbps).
5-2
DP/DP Coupler A5E00244669-03
Page 45
6
Diagnostics Overview of contents
This chapter shows you the meaning of the LED displays on your DP/DP Coupler. The tables provide information on error states indicated by the LEDs, the possible causes and suggested corrective measures. In the next section, you are made familiar with the diagnostic system of the DP/DP Coupler. An example is used to illustrate the evaluation of a diagnostic frame. Section
DP/DP Coupler A5E00244669-03
Topic
Page
6.1
Diagnostics by means of LEDs
6-2
6.2
Diagnostics Using the User Program
6-4
6.3
Example of a diagnosis
6-11
6-1
Page 46
Diagnostics
6.1
Diagnostics by means of LED indication
SF 1: SF 2: BF 1: BF 2: ON 1: ON 2:
SF 1 SF 2 BF 1 BF 2 ON 1 ON 2
Figure 6-1
Table 6-1
Group error on PROFIBUS DP network 1 (red) Group error on PROFIBUS DP network 2 (red) Bus error on PROFIBUS DP network 1 (red) Bus error on PROFIBUS DP network 1 (red) 24 V power supply DP/DP Coupler network 1 (green) 24 V power supply DP/DP Coupler network 2 (green)
Status / error displays of the DP/DP Coupler
Meaning of the LEDs ON 1 and ON 2
ON 1
ON 2
Off
Off
Meaning
• Voltage not present at DP/DP • Switch the power supply Coupler, module on.
• Applied supply voltage is not
• Check the applied voltage.
• Hardware fault on the DP/DP
• Replace the DP/DP Coupler.
within permissible range. Coupler
6-2
What to do
On
Off
The DP/DP Coupler is supplied with power from network 1.
–
Off
On
The DP/DP Coupler is supplied with power from network 2.
–
On
On
The DP/DP Coupler is supplied with power from network 1 and 2.
–
DP/DP Coupler A5E00244669-03
Page 47
Diagnostics
Table 6-2
Status / error messages of the DP/DP Coupler Meaning
LEDs
What to do
ON 1 and/o r ON 2
SF 1
SF 2
BF 1
BF 2
On
On
On
On
On
All LEDs come on for – approximately 1 second. DP/DP Coupler in startup mode.
On
On
*
*
*
Diagnostic message on PROFIBUS DP network 1
Analyze the diagnostic data.
On
*
On
*
*
Diagnostic message on PROFIBUS DP network 2
Analyze the diagnostic data.
On
*
*
On
*
No connection to DP master on PROFIBUS DP network 1. Possible causes:
• Verify the correct seating
• Bus communication to the cable to the DP master has been interrupted.
DP/DP Coupler is down.
• The DP master is not in operation.
On
*
*
*
On
No connection to DP master on PROFIBUS DP network 2. Possible causes:
of the bus connector.
• Check whether the bus • Switch the 24V DC switch on the power supply module off and then on again.
• Bus communication to the DP/DP Coupler is down.
• The DP master is not in operation.
On
*
*
Flashes
*
No data exchange between the DP master and DP/DP Coupler on PROFIBUS DP network 1.
On
*
*
*
Flashes
No data exchange between the DP master and DP/DP Coupler on PROFIBUS DP network 2.
Flashes
Flashes
Flashes
Flashes
Flashes
Internal DP/DP Coupler error
• Check the configuration. • Check the PROFIBUS address.
Get in touch with your Siemens partner.
*: Not relevant
DP/DP Coupler A5E00244669-03
6-3
Page 48
Diagnostics
6.2
Diagnostics by means of the user program
Contents This chapter describes the structure of the DP/DP Coupler diagnostics system. An example is used to illustrate the evaluation of a diagnostic frame. Section
Topic
Page
6.2.1
Structure of the slave diagnosis
6-4
6.2.2
Standard diagnosis
6-6
6.2.3
Status message (module diagnostics) – only for operation on DP master (DPV1) or S7 DP master
6-8
6.2.4
Module diagnostics – replacement part mode or on DP master (DPV0)
6-10
Slave diagnosis Slave diagnosis is performed in accordance with IEC 61784-1:2002 Ed1 CP 3/1. Depending on the DP master, it can be read out with STEP 7 or other engineering tools. In STEP 7, the diagnostic frames of the underlying DP slaves can be displayed in the online view of the HW Config. See “Diagnosing hardware” in the STEP 7 online help. Additional methods of reading out diagnostic information are described in the SIMATIC Software; Programming with STEP 7 V5.x manual.
6.2.1
Structure of the slave diagnosis
Influencing factors The structure of slave diagnostics data depends on which DP master the DP/DP Coupler is operating. The DP/DP Coupler operates either: • on the DP master (according with DPV0) • on the DP master (according with DPV1) • on the S7 DP master • in replacement part mode for the DP/DP Coupler 6ES7 158-0GG30-0XA0
6-4
DP/DP Coupler A5E00244669-03
Page 49
Diagnostics
Diagnostic blocks for operation on the DP master (DPV1) or S7 DP master The table below shows the length of the diagnostic blocks and their start addresses in the diagnostic frame. The diagnostics blocks have a length of 26 bytes. Table 6-3
Length and start addresses of the diagnostics blocks for operation on a DP master (DPV1) or S7 DP master Length in bytes
Start address
Standard diagnosis
6
0
Reserved
11
6
Status message (module diagnostics)
9
17
Diagnostic block
Diagnostics blocks for replacement part mode or operation on a DP master (DPV0) You obtain these diagnostic blocks, • If you operate the DP/DP Coupler 6ES7 158-0AD01-0XA0 as DP/DP Coupler 6ES7 158-0AD00-0XA0 as a replacement part with old configuration data. • if the DP/DP Coupler is operated on a DP master (DPV0). The table below shows the length of the diagnostic blocks and their start addresses in the diagnostic frame. The diagnostics blocks have a length of 11 bytes. Table 6-4
Length and start addresses of the diagnostic blocks in replacement mode Length in bytes
Start address
Standard diagnosis
6
0
Module diagnostics
5
6
Diagnostic block
Diagnostic blocks The structure of diagnostic blocks is described in the following chapters.
DP/DP Coupler A5E00244669-03
6-5
Page 50
Diagnostics
6.2.2
Standard diagnosis The standard diagnosis consists of 6 bytes and is subdivided as follows: Byte 0 Byte 1 Byte 2
Station statuses 1 to 3
Byte 3
Master PROFIBUS address
Byte 4 Byte 5
Device identifier
Figure 6-2
Structure of the standard diagnosis
Station status 1 to 3 Station status 1 to 3 provides an overview of the DP/DP Coupler status. Table 6-5
6-6
Structure of station status 1
Bit
Meaning
Cause/remedy
0
1: The DP master failed to address the DP/DP Coupler.
• Have you set the correct PROFIBUS address on the DP/DP Coupler?
• Is the bus connector connected? • Voltage on the DP/DP Coupler? • Wait until the DP/DP Coupler is in
1
1: The DP/DP Coupler is not ready for data exchange.
2
1: The DP master has transferred configuration data to the DP/DP Coupler which is inconsistent with the data on the DP/DP Coupler.
• I/O configuration of both networks is
3
1: External diagnosis available. (Group diagnosis display)
• Analyze the module diagnostic data.
4
1: The DP/DP Coupler does not support the requested function (e.g. modification of the PROFIBUS address by means of the software).
• Check the configuration.
5
1: The DP master can not interpret the answer from the DP/DP Coupler.
• Check the bus configuration.
startup mode. incongruent.
Bit 3 is reset as soon as all faults have been rectified. The bit is reset when there is a new diagnostic message in the bytes the diagnostics data mentioned earlier.
DP/DP Coupler A5E00244669-03