Siemens DP/AS-Interface Link 20E User Manual

Preface, Contents
SIMATIC NET
DP/AS-Interface Link 20E
Manual
Technical Description, Installation Instructions, Operation
Data Exchange between DP Master and AS-i Slave
Using the Command Interface
Slave Diagnostics Eliminating Problems /
Error Displays
Appendix
AS-Interface Protocol Implementation Conformance Statements
1 2
3 4
5
A
Industrial Ethernet
AS–Interface
Release 11/2002 C79000-G8976-C138–04
PROFIBUS
AS-Interface
Structure of the PROFIBUS Parameter Assignment and Configuration Frame
References
Note on the CE Mark
Glossary
Index
B C D E
Classification of Safety-Related Notices
This manual contains notices which you should observe to ensure your own perso­nal safety, as well as to protect the product and connected equipment. These noti­ces are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger:
Danger
!
!
!
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury can result if proper precautions are not taken.
Caution
with warning triangle indicates that minor personal injury can result if proper precautions are not taken.
Caution
without warning triangle indicates that damage to property can result if proper precautions are not taken.
Notice
indicates that an undesirable result or status can result if the relevant notice is ignored.
Note
highlights important information on the product, using the product, or part of the documentation that is of particular importance and that will be of benefit to the user.
2
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Trademarks
SIMATICR, SIMATIC HMIR and SIMATIC NETR are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners.
Safety Instructions Regarding your Product:
Before you use the product described here, read the safety instructions below tho­roughly.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and systems in accordance with establis­hed safety practices and standards.
Correct Usage of Hardware Products
Note the following:
Warning
!
This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed correctly, and operated and maintained as recommended.
Before you use the supplied sample programs or programs you have written yourself, make certain that no injury to persons nor damage to equipment can result in your plant or process.
EU Directive: Do not start up until you have established that the machine on which you intend to run this component complies with the directive 89/392/EEC.
Correct Usage of Software Products
Note the following:
Warning
!
This software may only be used for the applications described in the catalog or the technical description, and only in connection with software products, devices, or components from other manufacturers which have been approved or recommended by Siemens.
Before you use the supplied sample programs or programs you have written yourself, make certain that no injury to persons nor damage to equipment can result in your plant or process.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
3
Prior to Startup
Prior to startup, note the following:
Caution
Prior to startup, note the information and follow the instructions in the latest docu­mentation. You will find the ordering data for this documentation in the relevant catalogs or contact your local Siemens office.
Disclaimer of LiabilityCopyright E Siemens AG 2001–2002 All rights reserved
The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Siemens AG Automation and Drives Postfach 4848, D-90327 Nuernberg
4
Siemens Aktiengesellschaft G79000–G8976–C138–04
We have checked the contents of this manual for agreement with the hard­ware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Technical data subject to change.
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04

Preface

Purpose of the Manual
This manual supports you when using the DP/AS-Interface Link 20E module, shortened to DP/AS-i Link 20E in the following chapters. It contains information about how PROFIBUS DP masters can address AS-i actuators and AS-i sensors via this module.
We recommend the following procedure when...
... You want an overall picture of the AS-Interface.
– First read the ‘AS-Interface Introduction and Basic Information’ manual (not
part of this documentation package). This contains general information about the AS-Interface, abbreviated to AS-i in the following chapters.
... You want to set up an AS-i system and include the DP/AS-i Link 20E module in
it: – You will find the information you require about connecting and operating the
DP/AS-i Link 20E module in Chapter 1.
... You want to know how to operate the DP/AS-i Link 20E from the point of view of
the PROFIBUS DP master: – Read Chapter 2 in this manual. – Chapter 3 explains the command interface.
Requirements
To understand this manual, you require the following:
S A working knowledge of PROFIBUS DP S You should be familiar with the ‘AS-Interface Introduction and Basic Information’
manual (not supplied with this documentation package).
Diskette with the GSD file
The accompanying diskette contains the GSD file that you require for configuring a DP/AS-i Link 20E module with your DP master (see Section 1.9.1).
-
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
5
Preface
6
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04

Contents

1 Technical Description, Installation Instructions, Operation 9. . . . . . . . . . . . . . . .
1.1 General Notes on Operation – Safety Warnings 10. . . . . . . . . . . . . . . . . . . . .
1.2 Application of the Module 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Technical Data of the Module 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Installing the Module 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Front Panel – Access to all Functions 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 Connection Elements 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7 Display and Control Elements 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7.1 Status Display 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7.2 Slave Display for AS-i Slaves 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7.3 Displaying and Setting the PROFIBUS Address 23. . . . . . . . . . . . . . . . . . . . .
1.8 Configuring the AS-Interface with the SET Button (Button Configuration) 25
1.9 Configuring the DP/AS-i Link 20E as a DP Slave on the DP Master 28. . . .
1.9.1 General Procedure 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.9.2 Importing a GSD File 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.9.3 Configuration in STEP 7 – Basic Configuration 33. . . . . . . . . . . . . . . . . . . . . .
1.9.4 Configuring in STEP 7 – Slave Configuration 36. . . . . . . . . . . . . . . . . . . . . . . .
1.9.5 Upload Actual Configuration 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.10 Transmission Rate on PROFIBUS 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Data Exchange Between the DP Master and AS-i Slave 43. . . . . . . . . . . . . . . . . . . .
2.1 Preparation for Operation – an Overview 44. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 How the Interfaces Work 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Transferring AS-i Binary Values 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.1 Addressing AS-i Slaves 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.2 Accessing AS-i Binary Data 51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Transferring AS-i Analog Values 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.1 Calling Acyclic Services 54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.2 Programming 56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.3 Programming Examples 60. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 PROFIBUS DP Control Commands 61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Using the Command Interface 63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 Command Interface of the DP/AS-Interface Link 20E 64. . . . . . . . . . . . . . . . .
3.2 Command Interface for SIMATIC S7 70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Description of the AS-i Slave Commands 76. . . . . . . . . . . . . . . . . . . . . . . . . . .
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
7
Contents
3.3.1 Set_Permanent_Parameter 80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.2 Get_Permanent_Parameter 81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.3 Write_Parameter 82. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.4 Read_Parameter 83. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.5 Store_Actual_Parameters 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.6 Set_Extended_Permanent_Configuration 85. . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.7 Get_Extended_Permanent_Configuration 86. . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.8 Store_Actual_Configuration 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.9 Get_Extended_Actual_Configuration 88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.10 Set_LPS 89. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.11 Set_Offline_Mode 90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.12 Select Autoprogramming 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.13 Set_Operation_Mode 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.14 Change_AS-i_Slave_Address 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.15 Get_AS-i_Slave_Status 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.16 Get_LPS, Get_LAS, Get_LDS, Get_Flags 95. . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.17 Get_Extended_Total_Configuration 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.18 Store_Extended_Total_Configuration 103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.19 Write_Extended_Parameter_List 108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.20 Read_Extended_Parameter_Echo_List 109. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.21 Read_Version_ID 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.22 Read_AS-i_Slave_ID 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.23 Read_AS-i_Slave_Extended_ID1 113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.24 Write_AS-i_Slave_Extended_ID1 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.25 Read_AS-i_Slave_Extended_ID2 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.26 Read_AS-i_Slave_I/O 116. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.27 Get_LPF 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.28 Write_AS-i_Slave_Parameter_String 118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.29 Read_AS-i_Slave_Parameter_String 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.30 Read_AS-i_Slave_ID_String 120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.31 Read_AS-i_Slave_Diagnostic_String 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Slave Diagnostics 123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Overview 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Station Status 1 to 3 125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 PROFIBUS Address of the DP Master and Vendor ID 127. . . . . . . . . . . . . . . .
4.4 Structure of ID-Related Diagnostics 127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 Structure of the Device-Related Diagnostic Information 127. . . . . . . . . . . . . . .
5 Dealing with Problems/Error Displays 131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 Replacing a Defective AS-i Slave/Automatic Address Programming 132. . . .
5.2 Error Displays/Remedying Errors 133. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Contents
A AS-Interface Protocol Implementation Conformance Statement (PICS) 137. . . . .
B Structure of the PROFIBUS DP Parameter Assignment
and Configuration Frame 141. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C References 145. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D Notes on the CE Mark 147. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E Glossary 149. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E.1 Terms Relating to AS-Interface 150. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E.2 Terms Relating to PROFIBUS 153. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
9
Contents
10
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04

Technical Description, Installation Instructions, Operation

This chapter explains the performance, installation and basic functions of the master module DP/AS-Interface Link 20E module (DP/AS-i Link 20E).
You will learn the following:
S How to install the DP/AS-i Link 20E module S The display and control elements of the DP/AS-i Link 20E module S How to configure the DP/AS-i Link 20E module with the push button S How to configure a SIMATIC S7 DP master in STEP 7 S How to set the PROFIBUS address for the DP/AS-i Link 20E module
1
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
11
Technical Description, Installation Instructions, Operation

1.1 General Notes on Operation – Safety Warnings

Caution
!
!
When handling and installing the DP/AS-i Link 20E module, make sure that you adhere to the ESD guidelines.
The DP/AS-i Link 20E module must only be connected when the AS-i power supply unit is turned off.
Caution
Noise immunity/grounding To ensure the noise immunity of the DP/AS-i Link 20E module, both the
DP/AS-i Link 20E module and the AS-i power supply unit must be grounded correctly.
Caution
!
The AS-i power supply unit used must provide a low voltage, safely isolated from the network. This safe isolation can be implemented according to the following requirements:
S VDE 0100 Part 410 = HD 384-4-4 = IEC 364-4-41
(as functional extra-low voltage with safe isolation) or
S VDE 0805 = EN60950 = IEC 950
(as safety extra-low voltage SELV) or
S VDE 0106 Part 101
Note
The DP/AS-i Link 20E module can be configured, installed and started up independent of the PROFIBUS installation.
12
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation

1.2 Application of the Module

DP Slave and AS-Interface Master
The DP/AS-i Link 20E module is both a PROFIBUS DP slave and an AS master at the same time:
S The DP/AS-i Link 20E module connects the actuator-sensor interface with
PROFIBUS DP.
S Using the DP/AS-i Link 20E module, you can access the inputs and outputs of
the AS-i slaves from PROFIBUS DP. Depending on the slave type, you can access binary values or analog values.
The following AS-i slaves can be used: – Standard Slaves / AS–i Analog Slaves – Slaves with the extended addressing mode
Wider networking via PROFIBUS DP
AS-i power supply
ADR
DP/AS-Interface
BF
Link 20E
DIA
19
24
29
SF
4
14
3
18
23
28
APF
8
13
2
7
12
17
22
27
CER AUP
1
31
6
11
16
21
26
15
20
25
30
5
X 2 3 4
CM
0910
6GK7 1415 2AA0
DP/AS-Interface Link 20E
Passive module (without slave ASIC)
Actuator/sensor
with slave ASIC
Active module
(with slave ASIC)
5A slave5B slave
AS-i
Branch
cable
AS-i modules with the extended addressing mode
Figure 1-1 Example of a System Configuration with the DP/AS-i Link 20E Module
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
13
Technical Description, Installation Instructions, Operation
Features
The DP/AS-i Link 20E allows byte and word-consistent exchange of I/O data with a DPV0, DPV1 master and the AS-i slaves.
S DPV0 mode
In the DPV0 mode and using a maximum of 32/32 bytes from the I/O area, up to 62 digital AS-i slaves can be operated at a transmission rate of 9.6 Kbps up to 12 Mbps. The command interface and the simple access to the AS-i analog values using the AS-i slave profile 7.3/7.4 are not available in the DPV0 mode.
S DPV1 mode
In the DPV1–/DPx mode and using a maximum of 32/32 bytes from the I/O area, up to 62 digital AS-i slaves can be operated at a transmission rate of 9.6 Kbps up to 12 Mbps. In addition to this, the services read_record/write_record allow a maximum of 32 AS-i analog slaves with up to 4 analog I/O channels to be operated.
Commands complying with the AS-i master specification M1e are implemented with the read_record/write_record (record 2) services.
Components of the Product
The product DP/AS-i Link 20E includes the following components:
S DP/AS-i Link 20E S Product information for the DP/AS-i Link 20E
14
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation

1.3 Technical Data of the Module

The DP/AS-i Link 20E module has the following technical data:
Table 1-1
Feature
AS-i cycle time S 5 ms for 31 slaves
Explanation/Values
S 10 ms for 62 slaves with the extended
addressing mode Configuration of the AS-Interface With the button on the front panel or with STEP 7 Supported AS-i master profiles M1e Connection of the AS-i cable Via a 7-pin terminal block
Permitted current loading from terminal 1 to
terminal 3 or terminal 2 to terminal 4, maximum 3 A Connection to PROFIBUS Via 9-pin sub D female connector PROFIBUS address setting – Address range 1 to 126
– Set with SET and DISPLAY buttons Permitted loading 5V DC at PROFIBUS connector max. 90 mA Data rates supported (transmission rate) on
PROFIBUS
Power supply from the AS-i cable Current consumption from the AS-i cable
Power consumption 3.7 W Ambient conditions
9.6 Kbps; 19.2 Kbps; 45.45 Kbps; 93.75 Kbps;
187.5 Kbps; 500 Kbps; 1.5 Mbps; 3 Mbps;
6 Mbps; 12 Mbps
According to the AS-i specification
max. 200 mA
S Operating temperature Horizontal installation: 0 to 60°C
Vertical installation: 0 to 45°C
S Transportation and storage temperature –40°C to +70°C S Relative humidity max. 95% at +25°C
Construction
S Type of protection IP 20 S Dimensions (W x H x D) in mm 90 x 80 x 62 S Weight approx. 200 g
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
15
Technical Description, Installation Instructions, Operation

1.4 Installing the Module

Options
The DP/AS-i Link 20E module has type of protection IP 20. S You can install the DP/AS-i Link 20E module on a normal standard rail
(complying with EN 50022).
S As an option, you can also install the module on a wall directly using the
mounting holes in the casing.
Installation on a Standard Rail
If you decide to install a module on a standard rail, please note the following points:
1. The module is placed on the standard rail from above and then pushed down until the catch at the bottom of the module locks into position.
2. Other modules can be installed to the left and right of the module.
Removing the Module from the Standard Rail
To remove the module from the standard rail, follow the procedure below:
1. When removing the module from the standard rail, the power supply and signal cables must be removed first.
2. After the cables have been disconnected, press the catch on the module down using a screwdriver and pull the module out of the rail towards the top.
Convection
Make sure that you leave at least 5 cm clearance above and below the module to allow heat dissipation.
Vertical Installation
The standard rail can also be installed vertically. Due to the reduced convection, the maximum permitted ambient temperature is reduced to 45°C.
Fit a grounding clip to the standard rail below the DP/AS-i Link 20E to prevent it slipping down on the standard rail.
16
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation

1.5 Front Panel – Access to all Functions

Connection, Display and Control Elements
On the front panel, you have access to all the connection, display and control elements of the DP/AS-i Link 20E module.
In operation, the connection and control elements are protected by a front cover.
Connection Elements
(front cover open)
Group Display
– 3 LEDs
Slave Display
– 5 LEDs
Display elements
Control Elements
(front cover open)
SET Button
– For AS-i configuration – For setting the PROFIBUS address
DISPLAY Button
– Changes over the display
)
SET
24 23 22 21 20
*
19 18 17 16 15
1 PROFIBUS DP
29 28 27
31
26 25
30
*
)
14 13
12 11 10
DISPLAY
ADR BF SF
4
9 8 7 6 5
PWR
3
APF
2
CER AUP
1
CM
0
DP/AS-Interface Link 20E
6GK1 415-2AA01
Mounting hole for wall installation
Labeling Field
status display
LED Row with 8 two-color LEDs (red/green or yellow/green) for
– status display
or
– group/slave display
X 2 3 4
Figure 1-2 Front Panel
Connections, Operator Controls and Interpreting the Displays
For more detailed information, refer to the following sections.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
17
Technical Description, Installation Instructions, Operation

1.6 Connection Elements

Connections
The DP/AS-i Link 20E module has the following connections:
S Two connections to the AS-i cable (bridged internally) S One connection for functional earth S One connection to PROFIBUS (9-pin sub D female connector)
The connectors are located below the upper cover of the front panel of the DP/AS-i Link 20E module.
Connections to the AS-i cable
The DP/AS-i Link 20E module has two connections for AS-i cables that are jumpered internally in the DP/AS-i Link 20E module.
This allows the DP/AS-i Link 20E module to be looped into the AS-i cable.
Caution
!
The permitted current loading of the AS-i connection contacts is 3 A. If this value is exceeded on the AS-i cable, the DP/AS-i Link 20E module must not be looped into the AS-i cable but must be connected with a tap line (only one pair of connectors of the DP/AS-i Link 20E module is used).
The DP/AS-i Link 20E module is supplied with power entirely from the AS-Interface.
The current consumption from the AS-Interface is 200 mA.
AS-i cables
Functional ground
Connections not used
18
1 PROFIBUS DP
+
Figure 1-3 Connection of the AS-i Cable
+
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation
Caution
!
The free terminals 6 and 7 in the terminal block must not be connected.
Note Functional Ground
The DP/AS-i Link 20E module has a connection for functional ground. This connector should be connected to the PE conductor with as little resistance as possible.
(terminal )
Connection to PROFIBUS DP
Connection to PROFIBUS DP is via a 9-pin sub D female connector.
Warning
!
When laying and installing the PROFIBUS DP cable and the bus connector, follow the instructions in /5/.
To connect to PROFIBUS DP, bus connectors are available with cable outlets at different angles (0°, 30° and 90°). Once again, follow the instructions in /5/.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
19
Technical Description, Installation Instructions, Operation

1.7 Display and Control Elements

Meaning of the ADR, BF and SF LEDs
The front panel of the DP/AS-i Link 20E module has a row with 8 LEDs (see Figure 1-2). All the LEDs are 2-color (red/green or yellow/green). The upper three LEDs (ADR, BF and SF) make up the group display. They indicate the display status.
Changing the Display Status – DISPLAY Button
The following figure shows the possible display statuses of the group display. You can change between the status display, slave display and PROFIBUS display
with the DISPLAY button. Each time you press the button, you change to the next display status finally returning to the initial status.
Status display
(initial status)
ADR
BF
SF
0..4 1B..4B
Change to next display status with the DISPLAY button
Display of the AS-i slaves
5..9 5B..9B
10..14 10B..14B
15..19 15B..19B
20..24 20B..24B
25..29 25B..29B
PROFIBUS address display
30..31 30B..31B
20
Key:
Static display: AS-i standard slaves and A slaves Flashing display: B slaves
red red or off green green or off off
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04

1.7.1 Status Display

ÍÍ
ÍÍ
Interpreting the Status Display
ADR
BF
off
red or off
Technical Description, Installation Instructions, Operation
The status display is the default standard display in the basic status of the DP/AS-i Link 20E module. No group LED is lit green. The “ADR” LED must also not be lit red.
The lower 7 LEDs indicate the status of the DP/AS-i Link 20E; the label to the right of the LEDs then applies.
The bottom 5 LEDs indicate errors/states on the AS-Interface. The BF LED indicates an error on
SF
red or off
PROFIBUS-DP
Meaning of the 7 Lower LEDs
When the status display is active, the LEDs have the following significance:
Table 1-2
LED (color)
BF (red) Bus Failure Indicates errors on PROFIBUS DP.
Status Meaning
The LED is lit when:
S The connection between the DP master and the DP/AS-i Link 20E
module has broken down or the DP master is not active.
S The DP/AS-i Link 20E module was not or was incorrectly
configured/assigned parameters by the DP master.
SF (red) System error The LED is lit when:
S In the protected mode, a diagnostic interrupt (entering state) was
triggered on the DP master.
S The DP/AS-i Link 20E has detected an internal error (for example
EEPROM defective).
S While pressing the SET button, the DP/AS-i Link 20E module
cannot currently make the required mode change (for example a slave exists with address 0).
PWR (green) Run The LED is lit when the DP/AS-Interface Link 20E is supplied with
power.
APF (red) AS-i Power Fail This indicates that the voltage supplied to the AS-i cable by the AS-i
power supply unit is too low. Note:
The DP/AS-i Link 20E module is supplied with power entirely from the AS-Interface. Total failure of the AS-i power supply can therefore no longer be displayed by AS-i Power Fail. You can recognize this situation because the “PWR” LED is not lit.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
21
Technical Description, Installation Instructions, Operation
Table 1-2 , (continued)
LED (color) MeaningStatus
CER (yellow) Configuration
Error
This LED indicates whether the slave configuration detected on the AS-i cable matches the expected configuration on the DP/AS-i Link 20E module. If they do not match, the “CER” LED is lit.
The “CER” LED is lit in the following situations:
S When a configured AS-i slave does not exist on the AS-i cable (for
example failure of the slave).
S When an AS-i slave exists on the AS-i cable but it was not
previously configured.
S When an attached AS-i slave has different configuration data (I/O
configuration, ID code) from the slave configured on the DP/AS-i Link 20E.
S When the DP/AS-i Link 20E module is in the offline mode.
AUP (green) Autoprog
available
CM (yellow) Configuration
Mode
In the protected mode of the DP/AS-i Link 20E module, the LED indicates that automatic address programming of an AS-i slave is possible. The automatic address programming makes it much easier to exchange a defective AS-i slave on the AS-i cable (for more detailed information refer to Chapter 5.1).
This LED displays the mode of the DP/AS-i Link 20E module.
S LED lit: configuration mode S LED unlit: protected mode
The configuration mode is only required for installing and starting up the DP/AS-i Link 20E module. In the configuration mode, the DP/AS-i Link 20E module activates all connected AS-i slaves and exchanges data with them. For more information about the configuration mode, refer to Section 1.8.
22
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation

1.7.2 Slave Display for AS-i Slaves

Interpreting the slave display status
The slave display can be recognized by the fact that at least
ADR
BF
green or off
green or off
one group LED is lit green and that the ADR LED is not red. The lower 5 LEDs then indicate the slaves on the
AS-Interface. In this case, the label to the left of the LEDs applies. The display always represents 5 slaves.
SF
green or off
Display Statuses and Operation in Detail
The AS-i slaves are displayed in groups of five. The upper three group LEDs indicate (in green) which of the groups of 5 is displayed. The following distinction is also made:
S Static display: AS-i standard slaves and A slaves S Flashing display: B slaves
The lower five LEDs are lit green to indicate the detected or active AS-i slaves within the group.
You can move from group to group by pressing the DISPLAY button again. The module returns to the status display in the following situations: S After displaying the last group (AS-i slaves 30, 31) and pressing the DISPLAY
button twice. (In other words changing to the PROFIBUS address display and then to the status display.)
S If you do not press the DISPLAY button for approximately 8 minutes.
Characteristics of the Slave Display
S If the DP/AS-i Link 20E module is in the configuration mode, all detected
AS-i slaves are displayed.
S If the DP/AS-i Link 20E module is in the protected mode, all active AS-i slaves
are displayed. In the protected mode, failed or existing but unconfigured AS-i slaves are indicated by the corresponding LED flashing.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
23
Technical Description, Installation Instructions, Operation
Example of a Slave Display
Group Display
– 3 LEDs
29
Slave Display
– 5 LEDs
Display elements
31 30
28 27 26 25
Figure 1-4 Example of a Slave Display
From the display you can obtain the following information:
S The group LEDs indicate the second group of five. S Within this group, the active AS-i slaves 6 and 8 are displayed by the lower five
LEDs.
24 23 22 21 20
19 18 17 16 15
14
13 12
11 10
ADR BF SF
4
9 8 7 6 5
RUN
3
APF
2
CER AUP
1
CM
0
DP/AS-Interface Link 20+
X 2 3 4
6GK1 415-2AA00
24
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation

1.7.3 Displaying and Setting the PROFIBUS Address

Interpreting the PROFIBUS Address Display
If the top LED (“ADR”) of the group display is lit up red, the 7
ADR
red
lower LEDs indicate the PROFIBUS address of the DP/AS-i Link 20E in binary format.
BF
SF
green or off
green or off
Setting the PROFIBUS Address
To set the PROFIBUS address of the DP/AS-i Link 20E module, follow the steps outlined below:
1. Interrupt the connection to the DP master (for example by unplugging the PROFIBUS connector) or switch the DP master to STOP.
Note
The PROFIBUS address can only be set in this mode.
2. Change the display on the DP/AS-i Link 20E module until the “ADR” LED is lit red by pressing the DISPLAY button (note: starting from the status display, the button must be pressed 15 times!).
The DP/AS-i Link 20E module then indicates the currently set PROFIBUS address using the 7 lower LEDs.
3. If you now press the DISPLAY button, the DP/AS-i Link 20E returns to the status display, the set PROFIBUS address is retained.
If, on the other hand, you press the SET button, you can set a new value for the PROFIBUS address. First of all, the “BF” LED flashes and the most significant bit of the PROFIBUS address is displayed.
4. If you press SET, this bit is set (LED on), if you press the DISPLAY button, the bit is reset (LED off). The display then jumps to the “SF” LED (next address bit of the PROFIBUS address).
5. By following the steps outlined above, you can now set or reset each of the individual bits of the PROFIBUS address.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
25
Technical Description, Installation Instructions, Operation
6. When all the bits have been entered, the display of the set address bits alternates quickly red/green or yellow/green. If you press the SET button again, the set PROFIBUS address is adopted by the DP/AS-i Link 20E module. If, on the other hand, you press DISPLAY, the new address is discarded. The entry of the new address must then be repeated (as in step 4 and 5).
The value of the address bits represented by the LEDs of the PROFIBUS address is illustrated in the following example:
Figure 1-5
red
green
green
green
64
32 16
8 4
2 1
ADR BF SF
RUN
APF
CER AUP
CM
In the example, the LEDs indicate the PROFIBUS address:
64 + 4 + 1 = 69
Value of the address bits
Labeling field
status display
LED row
In the example above, the PROFIBUS address 69 was set with the SET/DISPLAY buttons.
The highest address that can be set is address 126. Remember that address 126 is reserved on PROFIBUS for special functions (address assignment). For data exchange with a DP master, you can use addresses 1 to 125.
26
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation
1.8 Configuring the AS-Interface with the SET Button (Button Configuration)
Meaning of Button Configuration
This method of configuration allows you to commission the AS–Interface on the DP/AS–i Link 20E quickly and with little effort.
If you want to configure the AS–Interface using STEP 7 (see Section 1.9), you can skip this section.
Interpreting the Display Status
The DP/AS-Interface Link 20E module has two modes:
S configuration mode S protected mode
If you press the SET button, the mode changes to the other mode.
Notice
Note that the SET button is only effective when the connection to the DP master is interrupted or when the DP master is set to STOP.
Configuration Mode
The configuration mode is used during AS-i installation and startup. In the configuration mode, the DP/AS-i Link 20E module can exchange data with
every AS-i slave connected to the AS-i cable (except for the AS-i slave with address ‘0’). Any AS-i slaves that are added later are detected immediately by the master and activated and included in the cyclic data exchange.
When installation and startup is completed, the DP/AS-i Link 20E module can be switched to the protected mode using the SET button. Any AS-i slaves active at this point are therefore configured. The AS-i slave information shown below is then stored in non-volatile memory on the DP/AS-Interface Link 20E module:
S the addresses S the ID codes S the I/O configuration
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
27
Technical Description, Installation Instructions, Operation
Protected Mode
If the DP/AS-Interface Link 20E is in the protected mode, it only exchanges data with slaves that are “configured”. In this sense, “configured” means that the slave addresses stored on the DP/AS-Interface Link 20E and the configuration data stored on the DP/AS-Interface Link 20E match the values of the existing AS-i slaves.
Preparing to Configure using Buttons
Make sure that the following situation applies: S The data exchange between the DP master and DP/AS-i Link 20E module is
interrupted or the DP master is in the STOP mode.
S The DP/AS-i Link 20E module and all AS-i slaves must be connected to the AS
interface and supplied with power by the AS-i power supply unit.
S The AS-i slaves must have unique addresses other than “0”.
Notice
It is only possible to configure the AS interface in the status display or slave dis­play status. The DP/AS-i Link 20E module must not be in the PROFIBUS address display mode; in other words when the SET button is pressed, the “ADR” LED dis­play must not lights up red.
Configuring using Buttons
1. Press the DISPLAY button to set the DP/AS-i Link 20E display to the “status display” mode (initial status).
2. Check whether the DP/AS-i Link 20E module is in the “configuration mode”. (”CM” LED lit ). If not, change the DP/AS-i Link 20E to the configuration mode using the SET button.
3. By changing to the slave display with the DISPLAY button, you can check whether all the slaves connected to the AS-Interface exist and are displayed.
4. Press the SET button. This configures the DP/AS-i Link 20E, in other words the actual configuration detected by the DP/AS-i Link 20E is stored as the default in the non-volatile EEPROM. At the same time, the DP/AS-i Link 20E module is switched to the protected mode, the “CM” LED goes off.
The “CER” LED also goes off since the “expected configuration” stored on the DP/AS-i Link 20E module after configuration matches the existing “actual configuration” on the AS-Interface.
28
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Technical Description, Installation Instructions, Operation
Notice
Changing from the configuration mode to the protected mode is only possible when there is no AS-i slave with address 0 connected to the AS-Interface. If a slave 0 is connected, the “SF” LED lights up when the SET button is pressed.
DP/AS-Interface Link 20E Release 11/2002
C79000-G8976-C138–04
29
Technical Description, Installation Instructions, Operation

1.9 Configuring the DP/AS-i Link 20E as a DP Slave on the DP Master

Significance of the Configuration
Communication with the DP slaves differs depending on the device you are using as the DP master. Generally, you provide the information specifying the structure of the DP master system during configuration.
The following aspects of DP configuration on the DP master are explained in this section:
S The use of the GSD file S The entries to be made in the configuration tool of the DP master S Configuration of a DP master from the SIMATIC S7 device range in STEP 7.
30
DP/AS-Interface Link 20E
Release 11/2002
C79000-G8976-C138–04
Loading...
+ 130 hidden pages