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 personal safety, as well as to protect the product and connected equipment. These notices 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 thoroughly.
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 established 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 documentation. 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 AktiengesellschaftG79000–G8976–C138–04
We have checked the contents of this manual for agreement with the hardware 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-InterfaceLink 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:
SA working knowledge of PROFIBUS DP
SYou 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).
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:
SHow to install the DP/AS-i Link 20E module
SThe display and control elements of the DP/AS-i Link 20E module
SHow to configure the DP/AS-i Link 20E module with the push button
SHow to configure a SIMATIC S7 DP master in STEP 7
SHow to set the PROFIBUS address for the DP/AS-i Link 20E module
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:
SVDE 0100 Part 410 = HD 384-4-4 = IEC 364-4-41
(as functional extra-low voltage with safe isolation) or
SVDE 0805 = EN60950 = IEC 950
(as safety extra-low voltage SELV) or
SVDE 0106 Part 101
Note
The DP/AS-i Link 20E module can be configured, installed and started up
independent of the PROFIBUS installation.
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.
SDPV0 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.
SDPV1 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:
SDP/AS-i Link 20E
SProduct information for the DP/AS-i Link 20E
The DP/AS-i Link 20E module has the following technical data:
Table 1-1
Feature
AS-i cycle timeS5 ms for 31 slaves
Explanation/Values
S10 ms for 62 slaves with the extended
addressing mode
Configuration of the AS-InterfaceWith the button on the front panel or with STEP 7
Supported AS-i master profilesM1e
Connection of the AS-i cableVia 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 PROFIBUSVia 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 connectormax. 90 mA
Data rates supported (transmission rate) on
PROFIBUS
Power supply from the AS-i cable
Current consumption from the AS-i cable
Power consumption3.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
SOperating temperatureHorizontal installation: 0 to 60°C
Vertical installation: 0 to 45°C
STransportation and storage temperature–40°C to +70°C
SRelative humiditymax. 95% at +25°C
Construction
SType of protectionIP 20
SDimensions (W x H x D) in mm90 x 80 x 62
SWeightapprox. 200 g
The DP/AS-i Link 20E module has type of protection IP 20.
SYou can install the DP/AS-i Link 20E module on a normal standard rail
(complying with EN 50022).
SAs 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.
The DP/AS-i Link 20E module has the following connections:
STwo connections to the AS-i cable (bridged internally)
SOne connection for functional earth
SOne 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.
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/.
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
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 FailureIndicates errors on PROFIBUS DP.
StatusMeaning
The LED is lit when:
SThe connection between the DP master and the DP/AS-i Link 20E
module has broken down or the DP master is not active.
SThe DP/AS-i Link 20E module was not or was incorrectly
configured/assigned parameters by the DP master.
SF (red)System errorThe LED is lit when:
SIn the protected mode, a diagnostic interrupt (entering state) was
triggered on the DP master.
SThe DP/AS-i Link 20E has detected an internal error (for example
EEPROM defective).
SWhile 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)RunThe LED is lit when the DP/AS-InterfaceLink 20E is supplied with
power.
APF (red)AS-i Power FailThis 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.
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:
SWhen a configured AS-i slave does not exist on the AS-i cable (for
example failure of the slave).
SWhen an AS-i slave exists on the AS-i cable but it was not
previously configured.
SWhen 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.
SWhen 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.
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.
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:
SStatic display: AS-i standard slaves and A slaves
SFlashing 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:
SAfter 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.)
SIf you do not press the DISPLAY button for approximately 8 minutes.
Characteristics of the Slave Display
SIf the DP/AS-i Link 20E module is in the configuration mode, all detected
AS-i slaves are displayed.
SIf 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.
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.
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.
1.8Configuring 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:
Sconfiguration mode
Sprotected 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:
Sthe addresses
Sthe ID codes
Sthe I/O configuration
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:
SThe data exchange between the DP master and DP/AS-i Link 20E module is
interrupted or the DP master is in the STOP mode.
SThe 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.
SThe 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 display 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 display 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.
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.
1.9Configuring 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:
SThe use of the GSD file
SThe entries to be made in the configuration tool of the DP master
SConfiguration 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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.