Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy...

19
Service & Support Answers for industry. Ring Redundancy FDC 157-0 DP/PA Couplers and Active Field Distributors (AFDs) FAQ October 2010 Cover

Transcript of Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy...

Page 1: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

Service & Support

Answers for industry.

Ring Redundancy

FDC 157-0 DP/PA Couplers and Active Field Distributors (AFDs)

FAQ October 2010

Cover

Page 2: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

Question

2 Ring redundancy

V1.1, Item ID: 44887866

This entry is from the Service&Support portal of Siemens AG, Sector Industry, Industry Automation and Drive Technologies. The general terms of use (http://www.siemens.com/terms_of_use) apply.

Clicking the link below directly displays the download page of this document.

http://support.automation.siemens.com/WW/view/en/44887866

Question How do you configure a ring redundancy with FDC 157-0 DP/PA couplers and active field distributors (AFDs)?

Answer The instructions and notes listed in this document provide a detailed answer to this question.

Page 3: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

Table of contents

Ring redundancy V1.1, Item ID: 44887866 3

Table of contents 1 Introduction........................................................................................................ 4 2 Commissioning.................................................................................................. 7 3 STEP 7 Hardware Configuration ...................................................................... 9

3.1 Configuration of the Interface Module IM 153-2................................... 9 3.2 Configuration of the FDC 157-0 DP/PA Coupler................................ 12 3.3 Save and Compile the Hardware Configuration and Load It into

the CPU of the S7 Station .................................................................. 15 4 Diagnostics ...................................................................................................... 16

4.1 Status of the LEDs for Ring Redundancy .......................................... 16 4.2 Status of the LEDs with Fault on the PROFIBUS PA ........................ 17

Page 4: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

1 Introduction

4 Ring redundancy

V1.1, Item-ID: 44887866

1 Introduction

Ring redundancy

The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability of the PROFIBUS PA. Ring redundancy is created by configuring a ring structure with two FDC 157-0 DP/PA couplers and up to eight AFDs.

The active FDC 157-0 DP/PA coupler supplies the PROFIBUS PA. If there is a short-circuit or wire break on the main line of the PROFIBUS PA, the second DP/PA FDC 157-0 DP/PA coupler also gets active. The DP/PA couples supply the separated PROFIBUS PA in both directions to the interrupt. The functions of the PA field devices are retained. Repairs can be made during operation.

Hardware configuration

Table 1-1 shows an overview of the hardware configuration for using a DP/PA coupler pair in redundancy mode.

Table 1-1

Module Order number Quantity

ET 200M, mounting channel 6ES7195-1G... 1

Power supply PS 307 6ES7307-1... 2

Bus module BM PS/IM for ET 200M for a power supply unit and an IM153-2

6ES7195-7HA00-0XA0 1

IM153-2 6ES7153-2BA82-0XB0 1

Bus module pair BM DP/PA for two FDC 157-0 DP/PA couplers

6ES7195-7HG80-0XA0 1

Field device connection FDC 157-0 DP/PA coupler

6ES7157-0AC83-0XA0 2

Active field distributor (AFD) 6ES7157-0AF81-0XA0 At least 1

Installation of the hardware configuration with active bus modules and modules for the "Change Module during Operation" and/or "Redundancy" modes

Follow the instructions below to install the hardware configuration with active bus modules and modules for the "Change Module during Operation" and/or "Redundancy" modes.

Table 1-2

1. Mount the ET 200M mounting channel in its place.

2. Insert the bottom edge of the bus module BM PS/IM in the mounting channel and press it into the mounting channel and push it to the left until it locks in.

3. Insert the bus module pair BM DP/PA in the mounting channel and press it into the mounting channel. Push them up to the left bus module BM PS/IM so that the module connection makes contact.

Page 5: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

1 Introduction

Ring redundancy V1.1, Item ID: 44887866 5

4. Insert the power supply and interface module IM153-2 in the mounting channel in the bus module BM PS/IM. Then insert the two FDC 157-0 DP/PA couplers in the mounting channel in the bus module pair BM DP/PA. Use the side guides of the bus modules for this. When you screw the modules tight, at the same time also fasten the bus module on the mounting channel.

5. Mount the bus module cover on the last bus module, in this case BM DP/PA. If there is no module slotted in a slot, then also mount the backplane bus cover on the unoccupied slot.

Configuration of the ring structure

Figure 1-1 shows the ring structure configuration

To operate ring redundancy you configure a ring structure with two DP/PA couplers and at least one active field distributor (AFD). Connect the PA field devices to the AFD via spur lines.

The maximum length of a spur line depends on the number of spur lines on the main line (see Table 1-3).

Figure 1-1

Active Field Distributor AFD

Active Field Distributor AFD

PROFIBUS PAPROFIBUS DP

IM153-2

FDC157-0

FDC157-0

main line

spur line

Active Field Distributor AFD

Note You can use a maximum of eight AFDs in the ring structure.

You can connect a maximum of four PA field devices to each AFD.

Altogether, the number of PA field devices in one PROFIBUS PA bus segment is limited to 31 and 1A maximum current, i.e. you can only connect a maximum of 31 PA field devices in a ring structure.

Page 6: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

1 Introduction

6 Ring redundancy

V1.1, Item-ID: 44887866

Functions of the active field distributor (AFD)

The AFD provides the functions below:

• Connection of field devices for PROFIBUS PA

• Automatic bus termination

• Isolation of defective PROFIBUS PA bus segments

• Connection of isolated PROFIBUS PA bus segments after troubleshooting

• Extension of a PROFIBUS PA bus segment during operation

Spur line length

The maximum permissible spur line lengths are shown in the table below.

Table 1-3

Number of spur lines Maximum length of one spur line

1 to 12 120m

13 to 14 90m

16 to 18 60m

19 to 24 30m

Page 7: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

2 Commissioning

Ring redundancy V1.1, Item ID: 44887866 7

2 Commissioning

IM 153-2

Set the valid PROFIBUS address on the interface module IM 153-2. The PROFIBUS address set on the interface module must match the PROFIBUS address entered in the STEP 7 hardware configuration.

Figure 2-1

Set the PROFIBUS address and ring redundancy on the DP/PA coupler

Open the front door of the DP/PA coupler to set the PROFIBUS address and ring redundancy on the DP/PA coupler. Figure 2-2 shows the DP/PA coupler with the front door open.

Figure 2-2

Switch on the terminating resistor for PROFIBUS PA

Setting the PROFIBUS address

Setting the redundancy mode

Follow the instructions below to commission the DP/PA coupler.

Page 8: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

2 Commissioning

8 Ring redundancy

V1.1, Item-ID: 44887866

Table 2-1

No. Instructions

1

Set the "PA bus terminator" DIP switch of both DP/PA couplers to the "ON" position to switch on the terminating resistor for the PROFIBUS PA.

2

On both DP/PA couplers you set the PROFIBUS address with the DIP switches (value range: 3 to 125). Note: The PROFIBUS addresses must not be duplicated in one PROFIBUS PA bus segment.

3

Set the redundancy mode with the DIP switches on both DP/PA couplers, i.e. set the lowest DIP switch "RING" to the "ON" position to switch on ring redundancy. Note: The presetting of the "RING" DIP switch is the "OFF" position, i.e. coupler redundancy is switched on in the presetting.

Page 9: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

Ring redundancy V1.1, Item ID: 44887866 9

3 STEP 7 Hardware Configuration In the SIMATIC Manager you open the STEP 7 project that contains the configuration for your S7 station.

Open the hardware configuration of the S7 station. An S7-300 station is used in this example.

3.1 Configuration of the Interface Module IM 153-2

Inserting IM 153-2 in the Hardware Configuration

In the Hardware Catalog, under "PROFIBUS DP/PA Link", select the interface module IM 153-2 OD and drag-and-drop it into the DP master system of the CPU.

Figure 3-1

drag & drop

Page 10: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

10 Ring redundancy

V1.1, Item-ID: 44887866

Enter the PROFIBUS address of the interface module IM 153-2

The "Properties - PROFIBUS interface IM 153-2 OD" dialog opens. Enter the PROFIBUS address that you have set with the DIP switches on the module and close the dialog with "OK".

Figure 3-2

If the "Properties - PROFIBUS interface IM 153-2 OD" dialog does not open automatically, right-click on the interface module IM 153-2 in the Hardware Configuration. Open the "Properties" dialog of the interface module IM 153-2 via the "Object Properties" menu.

In the Properties dialog of the interface module IM 153-2 you switch to the "General" tab. Click on the "PROFIBUS" button. The "Properties - PROFIBUS interface IM 153-2 OD" dialog opens.

Figure 3-3

Page 11: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

Ring redundancy V1.1, Item ID: 44887866 11

Define the master system for the interface module IM 153-2

The "Define Master System" dialog opens automatically. Select the "Interface module for PROFIBUS-PA" option and close the dialog with "OK".

Figure 3-4

Page 12: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

12 Ring redundancy

V1.1, Item-ID: 44887866

3.2 Configuration of the FDC 157-0 DP/PA Coupler

Insert the FDC 157-0 DP/PA coupler in the Hardware Configuration

In the Hardware Catalog, under "PROFIBUS DP/PA Link", select the FDC157-0 and drag-and-drop it into the PROFIBUS PA master system of the interface module IM 153-2.

Figure 3-5

drag & drop

Enter the PROFIBUS address of the FDC 157-0 DP/PA coupler

The "Properties - PROFIBUS interface IM 157-0 OD" dialog opens. Enter the PROFIBUS address that you have set with the DIP switches on the module and close the dialog with "OK".

Figure 3-6

Page 13: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

Ring redundancy V1.1, Item ID: 44887866 13

If the "Properties - PROFIBUS interface FDC 157-0" dialog does not open automatically, right-click on the FDC 157-0 in the Hardware Configuration. Open the "Properties" dialog of the FDC 157-0 via the "Object Properties" menu.

In the Properties dialog of the FDC 157-0 you switch to the "General" tab. Click on the "PROFIBUS" button. The "Properties - PROFIBUS interface FDC 157-0" dialog opens.

Figure 3-7

Page 14: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

14 Ring redundancy

V1.1, Item-ID: 44887866

Set ring redundancy for the FDC 157-0

In the Hardware Configuration, right-click on the FDC 157-0 and open the Properties dialog of the FDC 157-0 via the "Object Properties" menu.

In the Properties dialog of the FDC 157-0 you switch to the "Parameter Assignment" tab.

Under "Station parameters Device-specific parameters" you set the value "Ring redundancy" for the "Redundancy mode" parameter. You set the value "DPV1" for the "DP Interrupt Mode" parameter.

Close the Properties dialog of the FDC 157-0 with "OK".

Figure 3-8

Insert two FDC 157-0 DP/PA couplers in the Hardware Configuration

In the Hardware Catalog, under "PROFIBUS DP/PA Link", select the FDC157-0 and drag-and-drop a second FDC 157-0 into the PROFIBUS PA master system of the interface module IM 153-2.

Figure 3-9

drag & drop

Page 15: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

3 STEP 7 Hardware Configuration

Ring redundancy V1.1, Item ID: 44887866 15

Enter the PROFIBUS address of the second FDC 157-0 DP/PA coupler and set the ring redundancy for the second FDC 157-0 DP/PA coupler.

3.3 Save and Compile the Hardware Configuration and Load It into the CPU of the S7 Station

In the Hardware Configuration you click on the "Save and Compile" button to save and compile the configuration.

Then click on the "Load" button to load the configuration into the CPU of the S7 station.

Figure 3-10

Speichern und übersetzen laden

Page 16: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

4 Diagnostics

16 Ring redundancy

V1.1, Item-ID: 44887866

4 Diagnostics The PROFIBUS PA main line is connected to the active field distributor via PA1 and PA2.

The spur lines to the PROFIBUS PA field devices are connected via X1 to X4 on the active field distributor.

The diagnostics is done via the LEDs of the modules.

4.1 Status of the LEDs for Ring Redundancy

Figure 4-1 shows the connection of an active field distributor to a DP/PA coupler pair and the status of the LEDs on the modules when:

• the power supply is switched on

• the CPU of the S7 station is in the "RUN" operating mode

• the interface module IM 153-2 and the FDC 157-0 DP/PA coupler are ready for operation

• there are no faults on the PROFIBUS PA

Figure 4-1

PA1 PA2X1 X2 X3 X4

IM 153-2 FDC 157-0 (left) FDC 157-0 (right)

Active Field Distributor AFD

main line

main line

spur line

Page 17: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

4 Diagnostics

Ring redundancy V1.1, Item ID: 44887866 17

Status of the LEDs on the interface module IM 153-2

If there are no faults on the PROFIBUS PA and the interface module IM 153-2 is ready for operation, then the LEDs on the interface module IM 153-2 have the following status.

Table 4-1

LED Status Color Description

SF Off -

BF1 Off -

BF2 Off -

ACT Off -

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the interface module IM 153-2. The interface module IM 153-2 is exchanging data with the DP master and the lower-level slaves.

Status of the LEDs on the FDC 157-0 DP/PA coupler (left)

First of all the FDC 157-0 (left) is the actively supplying DP/PA coupler and receives the PROFIBUS PA messages. This is displayed by the LEDs on the FDC 157-0 (left).

Table 4-2

LED Status Color Description

SF Off -

BF Off -

DP On Yellow

PA Flashes Yellow

ACT On Yellow

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the FDC 157-0. The FDC 157-0 is ready for operation. PROFIBUS PA messages are being received. The FDC 157-0 is the actively supplying DP/PA coupler.

Status of the LEDs on the FDC 157-0 DP/PA coupler (right)

The FDC 157-0 (right) is ready for operation. This is displayed by the LEDs on the FDC 157-0 (right).

Table 4-3

LED Status Color Description

SF Off -

BF Off -

DP On Yellow

PA Off -

ACT Off -

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the FDC 157-0. The FDC 157-0 is ready for operation. The FDC 157-0 is the passive DP/PA coupler.

4.2 Status of the LEDs with Fault on the PROFIBUS PA

Figure 4-2 shows the connection of an active field distributor to a DP/PA coupler pair and the status of the LEDs on the modules when there is a fault on the PROFIBUS PA.

In this example there is a fault on the main line between FDC 157-0 (left) and the active field distributor.

Page 18: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

4 Diagnostics

18 Ring redundancy

V1.1, Item-ID: 44887866

Figure 4-2

PA1 PA2X1 X2 X3 X4

IM 153-2 FDC 157-0 (left) FDC 157-0 (right)

Active Field Distributor AFD

main line

main line

spur line

Status of the LEDs on the interface module IM 153-2

If there are no faults on the PROFIBUS PA then the LEDs on the interface module IM 153-2 that is ready for operation have the following status.

Table 4-4

LED Status Color Description

SF On Red

BF1 Off -

BF2 Off -

ACT Off -

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the interface module IM 153-2. All the slaves are exchanging data. At least one slave has reported a fault.

Status of the LEDs on the FDC 157-0 DP/PA coupler (left)

Since in this example the main line between FDC 157-0 (left) and the active field distributor has a fault, the FDC 157-0 (left) can no longer receive the PROFIBUS PA messages. The fault is displayed by the LEDs on the FDC 157-0 (left).

Table 4-5

LED Status Color Description

SF On Red

BF Off -

DP On Yellow

PA Off -

ACT Off -

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the FDC 157-0. The FDC 157-0 is ready for operation. The FDC 157-0 has a diagnostics message.

Page 19: Ring Redundancy - Siemens...Ring redundancy V1.1, Item-ID: 44887866 1 Introduction Ring redundancy The use a DP/PA coupler pair and active field distributors (AFDs) increases the availability

4 Diagnostics

Ring redundancy V1.1, Item ID: 44887866 19

Status of the LEDs on the FDC 157-0 DP/PA coupler (right)

First of all the FDC 157-0 (right) becomes the actively supplying DP/PA coupler and receives the PROFIBUS PA messages. This is displayed by the LEDs on the FDC 157-0 (right).

LED Status Color Description

SF Off -

BF Off -

DP On Yellow

PA Flashes Yellow

ACT On Yellow

ON On Green

The "ON" LED lights green, i.e. the power is supplied to the FDC 157-0. The FDC 157-0 is ready for operation. PROFIBUS PA messages are being received. The FDC 157-0 is the actively supplying DP/PA coupler.

The PROFIBUS PA field devices that are connected to the active field distributor via spur lines continue to run without disruption.