Table of Contents

Advertisement

Quick Links

SIMATIC
Distributed I/O System
DP/ASi Link
Manual
EWA 4NEB 710 6055-02b
Edition 3
Preface, Contents
Overview
ASi Basics
Configuration Options
Installing and Wiring DP/ASi Link
Configuring the DP/ASi Link
DP/ASi Link to S7
Operating Modes
Diagnostics and Error Handling
Appendices
Technical Data
I/O Code
Parameterization Message
Configuration Message
Glossary, Index
1
2
3
4
5
6
7
8
A
B
C
D

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC Distributed I/O System DP/ASi Link

  • Page 1 Preface, Contents Overview ASi Basics SIMATIC Configuration Options Distributed I/O System Installing and Wiring DP/ASi Link DP/ASi Link Configuring the DP/ASi Link Manual DP/ASi Link to S7 Operating Modes Diagnostics and Error Handling Appendices Technical Data I/O Code Parameterization Message Configuration Message Glossary, Index EWA 4NEB 710 6055-02b...
  • Page 2: Edition

    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.
  • Page 3 Preface Purpose of manual The information contained in this manual will enable you to: install an Actuator Sensor Interface (ASi) commission the DP/ASi link Manual contents The scope of delivery of MLFB 6ES7 156-0AA00-8AA0 consists of the manual: Distributed I/O System DP/ASi Link, Edition 3 installing and wiring the distributed I/O system DP/ASi link configuring the DP/ASi link...
  • Page 4: Overview

    Preface Changes from Compared to the previous edition of this manual, Distributed I/O System DP/ previous edition ASi Link having the Order No. 6ES7 156-0AA00-8AA0, Edition 2, the fol- lowing changes have been incorporated: DP/ASi link to S7 diagnostics during operation with an S7/M7 DP master Standards and The DP/ASi link meets the requirements and criteria of the following stan- approvals...
  • Page 5 Preface Further support Should you have any technical queries, please contact your Siemens repre- sentative at the agents or branch office responsible. You will find the address in the manuals describing the DP masters – for example, in the appendix “Siemens Worldwide”...
  • Page 6 Preface Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 7: Table Of Contents

    Contents Preface Overview Using the DP/ASi Link ..........What is the DP/ASi Link? .
  • Page 8 Contents Additional Components for PROFIBUS-DP ......4-15 4.4.1 T Connector (6ES5 762-2CT11) ........4-16 4.4.2 Power Supply Connector (6ES5 762-2CS11)
  • Page 9 Contents Technical Data Standards and Approvals ......... General Technical Data .
  • Page 10 Contents Figures Integrating the DP/ASi link ........Components .
  • Page 11 Contents Tables Length of the PROFIBUS bus cable as a function of the baud rate on the PROFIBUS DP bus ..........Configuration options .
  • Page 12 Contents 8-17 Structure of bytes 17 to 19 in diagnostic message ....8-20 8-18 Assignment of the ASi address to bit positions, bytes 20 to 23 .
  • Page 13: Overview

    Overview Introduction You use the DP/ASi link to interface the Actuator Sensor Interface to the PROFIBUS-DP. Devices and mod- The DP/ASi link operates as a DP slave and requires a DP master – for exam- ules ple, an IM 308-C. In this chapter In Section You Will Find...
  • Page 14: Using The Dp/Asi Link

    Overview Using the DP/ASi Link Definition The DP/ASi link connects the Actuator Sensor Interface (referred to in the following as ASi) to the PROFIBUS-DP. PROFIBUS-DP conforms to the PROFIBUS-DP standard EN 50170 Vol- ume 2, PROFIBUS; the term DP means ”distributed I/O”. You will find an explanation of how the ASi works in Chapter 2.
  • Page 15: Components

    Overview What is the DP/ASi Link? Definition The DP/ASi link connects the actuator sensor interface (ASi) to the PROFI- BUS-DP field bus. In doing so, the protocols of the bus systems are conver- ted. Overview The DP/ASi link belongs to the Distributed I/O. The DP/ASi link is a DP slave.
  • Page 16: Profibus Dp Bus

    Overview Connections – PROFIBUS-DP – ASi cable – 24 V DC power supply Optical isolation between PROFIBUS-DP and ASi Direct ET 200 Handheld connection possible for setting the station num- ber (using an adapter cable) ASi diagnostics using LEDs The diagnosis can also be read using the DP master. The DP/ASi link has LEDs with the following meanings –...
  • Page 17: View Of The Dp/Asi Link

    Overview View of the DP/ASi Link View Fig. 1-3 contains an illustration of the DP/ASi link. You will find detailed descriptions of the different areas of the DP/ASi link in Chapter 4. DP / ASi LINK ASi POWER FAIL SINEC CONFIG ERROR L2-DP + PS...
  • Page 18 Overview Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 19: Asi Basics

    ASi Basics Introduction If you wish to acquire a general idea of ASi, this is the right chapter for you. If you are already familiar with ASi, you can skip this chapter. Definition The Actuator Sensor Interface is a wiring system to which a master and up to 31 slaves can be connected.
  • Page 20: Structure Of Asi

    ASi Basics Structure of ASi Structure You can install the ASi as branched with a single 2-wire cable. You connect the DP/ASi link, the different ASi slaves and the ASi power supply unit to any point on the ASi cable. Example installa- Fig.
  • Page 21: Elements Of Asi

    ASi Basics Elements of ASi DP/ASi link The DP/ASi link is the ASi master. It controls communication in the ASi. The DP/ASi link periodically exchanges data with the ASi slaves. ASi slave ASi slaves are the input and output channels of the ASi. ASi slaves transfer data to the DP/ASi link when requested to do so by the DP/ASi link.
  • Page 22 ASi Basics ASi distribution You use the ASi distribution unit when you unit branch the ASi cable without using an ASi slave reroute the ASi cable to a normal 2-wire cable. The ASi distribution unit is designed as a module and is not assigned an ASi address.
  • Page 23: Example Configuration Of A Module

    ASi Basics Example Configuration of a Module Module configura- Every module consists of an upper part and a lower part. tion As an example, you can see an illustration in Fig. 2-2 of an upper part with two inputs and two outputs and a lower part for the ASi cable without an in- terface for an external power supply.
  • Page 24: Connecting Elements

    ASi Basics Connecting Elements Connecting You connect the elements of the ASi by attaching the modules to the ASi cable. You do not have to operate the ASi cable for this. The ASi cable is connected to the DP/ASi link by means of a connector. Penetration tech- In section 2.3, Fig.
  • Page 25: Interruption Or Short-Circuit Of The Asi Cable

    ASi Basics Interruption or Short-Circuit of the ASi cable ASi short-circuit If the ASi cable is short-circuited due to pinching or fraying of the insulation, data exchange no longer takes place on the ASi cable. ASi interruption If the ASi cable is interrupted, you can no longer address the actuators or sensors which, as viewed from the DP/ASi link, are located downstream of the point of interruption.
  • Page 26 ASi Basics Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 27: Configuration Options

    Configuration Options Introduction At this point we will show you how you integrate the DP/ASi link into the PROFIBUS-DP, and what you have to bear in mind when you do so. The power supply (PS) described in this chapter is the 24 VDC power supply of the DP/ASi link, which is required to operate it.
  • Page 28: Legend

    Configuration Options Summary of Configuration Options Configuration PROFIBUS-DP presents you with different configuration options for combin- options ing the PROFIBUS-DP and the 24 V power supply of the devices. The fol- lowing Table 3-1 shows the different options. Table 3-1 Configuration options Power Supply Connector for Device’s Configuration...
  • Page 29: Configuration Without T Connector And With Power Supply Connector

    3.4). Cables You use cables of different design for the installation: If you wish to use prefabricated Siemens cables, please turn to sec- tion 4.4.4. If you wish to prepare your own cables, please turn to section 4.4.7. Installation Fig.
  • Page 30: Profibus-Dp And Power Supply Looped Through By Means Of T

    The degree of expansion with a PS connector is limited (refer to section 3.4). Cables You use cables of different design for the installation: If you wish to use prefabricated Siemens cables, please turn to sec- tion 4.4.4. If you wish to prepare your own cables, please turn to section 4.4.7.
  • Page 31: Rule For Installation With A T Connector

    Configuration Options Rules for the With the DP/ASi link, spur lines are not authorized except for the program- T connector mer or the ET 200 Handheld. This means that the 12-pin plug of the T con- nector is always screwed directly to the bus connection of a module. Without spur line With spur line Figure 3-4...
  • Page 32: Configuration With Several Power Supply Connectors

    Configuration Options Configuration with Several Power Supply Connectors Constraint for In configurations with a power supply connector (refer to sections 3.2 and installation with 3.3), the power supply is fed along the bus cable. one power supply This configuration is limited by the following factors: connector If the power supply and the PROFIBUS-DP field bus are fed on the same cable, the following values apply to the length of the bus cable between...
  • Page 33: Profibus-Dp Looped Through T Connectors

    BUS-DP is looped through T connectors. Cables You use cables of different design for the installation: If you wish to use prefabricated Siemens cables, please turn to sec- tion 4.4.4. If you wish to prepare your own cables, please turn to section 4.4.7.
  • Page 34: Rule For Installation With A T Connector

    Configuration Options Rules for the With the DP/ASi link, spur lines are not authorized except for the program- T connector mer or the ET 200 Handheld. This means that the 12-pin plug of the T con- nector is always screwed directly to the bus connection of a module. Without spur line With spur line Figure 3-7...
  • Page 35: Configuration With Programmer Connector

    Configuration Options Configuration with Programmer Connector Definition If you wish to operate the programmer on the PROFIBUS-DP in an IP 66/IP 67 environment, you require a programmer connector. Connecting the To connect the programmer to the programmer connector, you require two programmer plug-in connectors: adapter cable...
  • Page 36: Length Of The Spur Line Of The Programmer Connection As A Function Of The 3-10 4-1 Spacing Between Dp/Asi Link And Cable Duct

    Configuration Options Rule for Both the 2-core cable and the 5-core cable can be connected to the program- connection of mer connector. programmer A programmer connector may be placed anywhere on the PROFIBUS-DP connector field bus. When doing so, pay attention to the following: Since a terminating resistor cannot be inserted, the programmer connector must not be located at the ends of the bus line.
  • Page 37: Installing And Wiring The Dp/Asi Link

    Installing and Wiring the DP/ASi Link Introduction In this chapter you will learn how the DP/ASi link is installed mechanically and electrically. Objective When you have worked your way through this chapter, you will be in a posi- tion to install and connect the DP/ASi link. You will know what accessories you require to perform these jobs.
  • Page 38 Installing and Wiring the DP/ASi Link Installation Rules The IP 66/IP 67 degree of protection can be guaranteed for the DP/ASi link only under the following conditions: The supporting surface for the DP/ASi link must be level (without distor- tions). You must always cover the unused connection with the enclosed metal cap.
  • Page 39: Electrical Wiring Of Dp/Asi Link

    Installing and Wiring the DP/ASi Link Electrical Wiring of DP/ASi Link Introduction You can wire the 24 V supply to the DP/ASi link either as a grounded or an ungrounded installation, depending on the requirements of your system installation. Characteristics The DP/ASi link exhibits the following characteristics: PROFIBUS-DP and the ASi cable are floating with reference to the 24 V supply of the DP/ASi link...
  • Page 40: Grounded Installation

    For the connection of the external power supply (24 VDC) to the supply system, you require a fuse (2). For the power supply, use a Siemens Series 6EV1 external power supply (refer to catalog ET 1). If you connect other external power supplies (24 VDC), make sure that the voltage is between 20 and 30 V (including ripple).
  • Page 41: Grounded Installation Of Dp/Asi Link

    Installing and Wiring the DP/ASi Link Installation Grounded installation of the DP/ASi link is shown in the diagram below. 24 V DP/ASi cntr. link Connection for grounded installation DP/ASi link 24 V Figure 4-1 Grounded installation of DP/ASi link Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 42: Ungrounded Installation

    For the connection of the external power supply (24 VDC) to the supply system, you require a fuse (2). For the power supply use a Siemens Series 6EV1 external power supply (refer to catalog ET 1). If you connect other external power supplies (24 VDC), make sure that the voltage is between 20 and 30 V (including ripple).
  • Page 43: Ungrounded Installation Of Dp/Asi Link

    Installing and Wiring the DP/ASi Link Installation Ungrounded installation of the DP/ASi link is shown in the diagram below. (7) >U 24 V DP/ASi cntr. link DP/ASi link 24 V Figure 4-2 Ungrounded installation of DP/ASi link Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 44: Pin Assignment Of Asi Terminal Connection

    ASi cable Unused ASi cable Unused View: mating side Brown on Siemens sourced cable Blue on Siemens sourced cable Connecting the Connect the PROFIBUS-DP using one of the two 12-pin device connectors PROFIBUS-DP with a tee unit to the DP/ASi link. You will find the assignment of the 12-pin connector in Table 4-3.
  • Page 45: Pin Assignment Of 12-Pin Device Connector

    – Reserved – Reserved Green on Siemens sourced cable Red on Siemens sourced cable Power supply You connect the power supply to the DP/ASi link using the second device connector. Make sure that the power supply cable is deenergized at the time of connection.
  • Page 46 Installing and Wiring the DP/ASi Link Commissioning In this section In this section you will learn what you have to take into consideration to commission the DP/ASi link. Sequence You commission the DP/ASi link in several steps. Step Action Note Install and wire the ASi completely.
  • Page 47: Station Number Selection On Dip Switch Block

    Installing and Wiring the DP/ASi Link 4.3.1 Selecting the Station Number for PROFIBUS-DP Definition With the station number, you identify every station of the PROFIBUS-DP. The station number represents the name used by the DP master to address individual stations. Selecting station With switch 8 of the DIP switch block (refer to Fig.
  • Page 48: Location Of Dip Switch Block

    Installing and Wiring the DP/ASi Link 4.3.2 Setting a Station Number on the DIP Switch Block Station number If you wish to use the station number of the DIP switch block, you must set the configured station number of the DP/ASi link on the DIP switch block before initial startup.
  • Page 49: Station Number In Eeprom

    Installing and Wiring the DP/ASi Link 4.3.3 Station Number in EEPROM Default station The DP/ASi link is supplied to you with the default station number,126, in number the EEPROM. The DIP switch block is set ex works so that the station num- ber in the EEPROM is valid.
  • Page 50 Installing and Wiring the DP/ASi Link Resetting station In certain cases the station number in the EEPROM of the DP/ASi link has to numbers be reset. Proceed in the following order: Step Action Turn off the power supply for the DP/ASi link. Turn switch 8 on the DIP switch block to OFF.
  • Page 51: Additional Components For Profibus-Dp

    Installing and Wiring the DP/ASi Link Additional Components for PROFIBUS-DP Introduction You require additional components to operate the DP/ASi link on the PROFIBUS-DP. You will learn what components are involved, and their characteristics, in this section. In this section In Section You Will Find on Page 4.4.1...
  • Page 52: T Connector (6Es5 762-2Ct11)

    Installing and Wiring the DP/ASi Link 4.4.1 T Connector (6ES5 762-2CT11) Usage You require a T connector for the following configurations: Configuration with power supply connector and T connectors (refer to section 3.3) Configuration with external power supply (refer to section 3.5) This means that the PROFIBUS-DP can continue to run even when a slave station is uncoupled via a T connector.
  • Page 53: Power Supply Connector (6Es5 762-2Cs11)

    Installing and Wiring the DP/ASi Link 4.4.2 Power Supply Connector (6ES5 762-2CS11) Usage The power supply connector is used to link the PROFIBUS-DP and the 24 VDC external power supply for the DP/ASi link. Characteristics The power supply connector has the following characteristics: Degree of protection: IP 66/IP 67 (refer to installation rules, section 4.1) Can be operated at the following baud rates 9.6;...
  • Page 54: Programmer Connector (6Es5 762-2Ca12)

    Installing and Wiring the DP/ASi Link 4.4.3 Programmer Connector (6ES5 762-2CA12) Usage A programmer connector is used to connect the programmer within the IP 66/IP 67 environment to the PROFIBUS-DP. Characteristics The programmer connector has the following characteristics: Degree of protection: IP 66/IP 67 (refer to installation rules, section 4.1) Can be operated at the following baud rates: 9.6;...
  • Page 55: Cables

    For power supply feed line to the power supply connector Designs SIEMENS supplies cables for the PROFIBUS-DP in different designs. All cables are precut with connectors at both ends, at one end or not at all with a 12-pin connector for connection to the PROFIBUS-DP bus and/or power supply.
  • Page 56: Order Numbers For Cables In Standard Lengths

    Installing and Wiring the DP/ASi Link Order Numbers The following table shows the Order Numbers for the standard lengths: Table 4-6 Order Numbers for cables in standard lengths (core cross-section 0.75 mm , maximum current loading 4 A) Preparation Cable (Standard Cable (Non-welding Sheath) Sheath)
  • Page 57: Terminating Resistor (6Es5 755-2Ca11)

    Installing and Wiring the DP/ASi Link 4.4.5 Terminating Resistor (6ES5 755-2CA11) Usage A bus cable must always be terminated at both ends with a terminating resis- tor. Screw the terminating resistor on a 12-pin socket or on the bus connector of the: DP/ASi link or T connector...
  • Page 58: Adapter Cable (6Es5 755-8Ca11)

    Installing and Wiring the DP/ASi Link 4.4.6 Adapter Cable (6ES5 755-8CA11) Usage The adapter cable is required to connect the programmers (with programmer interface module CP 5410-S5 DOS/ST) or the ET 200 Handheld to the PROFIBUS-DP. The programmer or the ET 200 Handheld are required for Setting the station number Test and commissioning (not ET 200 Handheld) Diagnostic functions (not ET 200 Handheld)
  • Page 59: Wiring Of Profibus-Dp

    Installing and Wiring the DP/ASi Link 4.4.7 Wiring of PROFIBUS-DP Introduction This section describes the points you have to take into account when you wish to prepare the bus cables yourself. We can provide you with ready cut and terminated cables for the bus connec- tion and the power supply (refer to section 4.4.3).
  • Page 60 Installing and Wiring the DP/ASi Link Distributed I/O System DP/ASi Link 4-24 EWA 4NEB 710 6055-02b...
  • Page 61: Configuring The Dp/Asi Link

    Configuring the DP/ASi Link Introduction To operate the DP/ASi link to the PROFIBUS-DP, you must configure and assign parameters to it. Method There are two ways in which you can configure a DP/ASi link: 1. You can use the STEP 7 application ( version 2.1 or higher) or COM ET 200 Windows (version 2.0 or higher).
  • Page 62: Configuring - For Example With Com Et 200 Windows

    Configuring the DP/ASi Link In this chapter In Section You Will Find on Page Configuring - for Example with COM ET 200 Windows (Version 2.0 or Later) Example Using COM ET 200 Windows (Version 2.0 or Later) Operating the DP/ASi Link with an External Master Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 63 Configuring the DP/ASi Link Configuring – for Example with COM ET 200 Windows (Version 2.0 or Later) Method In the following you will find a description of the method by which you can integrate the DP/ASi link into the PROFIBUS-DP using COM ET 200 Windows (version 2.0 or later).
  • Page 64 Configuring the DP/ASi Link Parameterize By choosing Parameterize..., you can influence the start-up characteristics of the DP/ASi link. You can differentiate between ”actual is equal to setpoint configuration” and ”actual is less than or equal to setpoint configuration”. Actual By actual configuration we mean the actual configuration of the ASi as de- configuration tected by the DP/ASi link.
  • Page 65: Example Using Com Et 200 Windows (Version 2.0 Or Later)

    Configuring the DP/ASi Link Example Using COM ET 200 Windows (Version 2.0 or Later) Model structure You wish to connect an ASi with an ASi slave over the DP/ASi link to the PROFIBUS-DP. The ASi slave has the following assignment: one ASi slave with 4 inputs Assign the ASi slave to the ASi address as shown in Table 5-1.
  • Page 66: Operating The Dp/Asi Link With An External Master

    Configuring the DP/ASi Link Operating the DP/ASi Link with an External Master Introduction If you do not use an application having an easy-to-use user interface for the DP/ASi link – for example, COM ET 200 Windows (version 2.0 or later) or a comparable application, you must pay attention to the following points.
  • Page 67: Configuring With Address Space Optimization

    Configuring the DP/ASi Link 5.3.1 Configuring with Address Space Optimization Requirement You can operate the DP/ASi link with any DP master that conforms with the DP standard and supports a parameterization message containing 140 bytes (full assignment of parameters). Basics We will confine ourselves here to showing you how to address the DP/ASi link on the PROFIBUS-DP side.
  • Page 68: Simple Configuration

    Configuring the DP/ASi Link 5.3.2 Simple Configuration Requirement The DP/ASi link, version 3 or later, can also be operated on DP standard ma- sters having a reduced message length of 32 bytes (reduced parameter assign- ment). A DP standard master of this type is the S5-95U with its integrated DP master interface, for example.
  • Page 69: Default Start-Up

    Configuring the DP/ASi Link 5.3.3 Default Start-Up Introduction You can also configure and assign parameters to the DP/ASi link from the DP standard master by means of a ”default start-up”. In a default start-up, the DP/ASi link operates with preset parameters, which are described in detail on the next few pages.
  • Page 70: I/O Area Assignment

    Configuring the DP/ASi Link Input and output The table below describes the location of ASi data in the input and output area area. A specific address is permanently assigned to every ASi slave: even-numbered ASi slaves: bits 4 to 7 odd-numbered ASi slaves: bits 0 to 3 Table 5-2 I/O area assignment...
  • Page 71 Configuring the DP/ASi Link Parameterization Following power up, the DP/ASi link determines the configuration of the AS and configuration interface and expects a parameterization message and a configuration mes- messages sage from the DP master. The parameterization message is identical to the first seven bytes of the DP standard part (bytes 0 to 6).
  • Page 72 Configuring the DP/ASi Link Distributed I/O System DP/ASi Link 5-12 EWA 4NEB 710 6055-02b...
  • Page 73: Dp/Asi Link To S7

    DP/ASi Link to S7 Introduction If you operate the DP/ASi link to an S7 (6ES7 156-0AA01-0XA0 or later, version 1), you can re-assign the parameters of the ASi slaves connected to the DP/ASi link during operation. This is done on the S7 by SFCs 59 “RD_REC”...
  • Page 74: Parameters For Sfc 58 "Wr_Rec

    DP/ASi Link to S7 Table 6-1 Parameters for SFC 59 “RD_REC”, continued Parameter Declaration Data Type Memory Area Description BUSY OUTPUT BOOL I, O, M, D, L BUSY = 1: Read operation still being processed RECORD OUTPUT I, O, M, D, L Destination area for data record read Example: Data record 140 (22 bytes long) is to be stored in bit memory address area from MB...
  • Page 75: Reading Data Records With Sfc 59 "Rd_Rec

    DP/ASi Link to S7 Reading Data Records with SFC 59 ”RD_REC” Data record 140 You use data record 140 to read lists and flags of the ASi slaves. In the case of lists, the ASi slaves present, enabled and configured are displayed. This data record also displays the version and release date of the DP/ASi link.
  • Page 76: Structure Of Data Record 141: Read Parameter Echoes Of Asi Slaves

    DP/ASi Link to S7 Data record 141 Data record 141 reads outs the parameter echoes of the different ASi slaves. You can evaluate the reactions of the different ASi slaves in a parameter echo following a “WR_REC” write job in the user program. You thus obtain a cur- rent image of the state of the ASi slaves.
  • Page 77: Operating Modes

    DP/ASi Link to S7 Data record 2 Data record 2 reads the response of the last “WR_REC” write job. You have to call a “RD_REC” read job by means of data record 2 after every “WR_REC” write job for the response of the last “WR_REC” write job to be read.
  • Page 78: Writing Data Records With Sfc 58 "Wr_Rec

    DP/ASi Link to S7 Writing Data Records with SFC 58 “WR_REC” Data record 142 Data record 142 writes parameters to ASi slaves. Table 6-7 Structure of data record 142: Write parameters to ASi slaves Byte Contents 01 to 1F : Slave address 00 to 0F : Parameters for the ASi slave Data record 143...
  • Page 79: Example Of Re-Assigning Parameters To An Asi Slave With S7

    DP/ASi Link to S7 Example of Re-assigning Parameters to an ASi Slave with S7 Introduction Below you will find an example program for assigning parameters to the DP/ ASi link using an S7. It shows you how you can read out lists and flags of the ASi slave.
  • Page 80 DP/ASi Link to S7 Destination area of The destination area of data record 140 is located in data block DB 59, for DR140 example. The following table describes the contents of DB59: Address Name Type Initial Value Comment STRUCT +0.0 Vorh_Slaves ARRAY[0..3] Slaves present...
  • Page 81: Operating Modes

    Operating Modes Introduction The DP/ASi link goes through various operating modes during operation, ranging from automatic start-up to normal mode and automatic program- ming. We will briefly describe these operating modes for you. CONFIG MODE The configuration mode, which is assigned to the CONFIG MODE LED, is provided for extensions of the SIMATIC S7.
  • Page 82: Automatic Start-Up Of Dp/Asi Link

    Operating Modes Automatic Start-up of DP/ASi Link Start-up behavior There are not any switches on the DP/ASi link. The DP/ASi link commences work as soon as it is connected to the power supply. The following flowchart shows the sequence of automatic startup. Step Flowchart Meaning...
  • Page 83 Operating Modes Step Flowchart Meaning The DP/ASi link, as the ASi master, periodi- cally polls the I/O code and the ID code of all the ASi slaves possible. During the polling cycle, the DP/ASi link must detect at least one ASi slave. Poll the data of all ASi slaves If no ASi slave is present, the DP/ASi link does not resume start-up.
  • Page 84: Normal Operation

    Operating Modes Normal Operation Method of In normal operation, the DP master exchanges data with the DP/ASi link in operation exactly the same manner as with any other DP slave. You do not have take any specific action. Tasks In normal operation, there is a continuous exchange of data with the ASi and the PROFIBUS-DP.
  • Page 85 Operating Modes ASi slave failure If the connection to an ASi slave or an ASi slave fails during routine opera- tion, undefined states may occur at the outputs. Behavior depends on the slaves concerned and the causes of failure. The input data are reset in the DP/ASi link.
  • Page 86: Automatic Programming

    Operating Modes Automatic Programming Definition ”Automatic programming” is an operating mode that occurs only when one ASi slave fails. Display The DP/ASi link shows you the ”automatic programming” mode using the ”AUTOPROG AV” LED. Byte 20.4 is set simultaneously in the diagnostic message. Meaning If ”automatic programming”...
  • Page 87: Diagnostics And Error Handling

    Diagnostics and Error Handling Introduction You use the chapter entitled ”Diagnostics and Error Handling” to evaluate the diagnosis of the DP/ASi link and to take the necessary action. Diagnostic options You have two diagnostic options which refer you to the location at which the diagnostic information is stored.
  • Page 88: Diagnostics By Means Of Leds Of Dp/Asi Link

    Diagnostics and Error Handling Diagnostics by Means of LEDs of DP/ASi Link Diagnostics For on-site diagnostics, the operating modes of the DP/ASi link are displayed by six LEDs. Five other LEDs indicate the address of the failed ASi slave (refer to Fig. 8-1). DP / ASi LINK ASi POWER FAIL SINEC...
  • Page 89: Led Display For Modes And Bus Faults On Profibus-Dp

    Diagnostics and Error Handling ASi slave address So that the DP/ASi link display is not cluttered, failed ASi slaves (ASi- SLAVE FAIL) are displayed in binary code by five LEDs. You have to add the numbers shown on the lit LEDs to determine the address of the failed ASi slave.
  • Page 90: Led Display For Faults On Asi Side

    Diagnostics and Error Handling ASi diagnostics Table 8-3 shows the meanings of the LEDs for ASi diagnostics and describes the action required to be taken for troubleshooting. For ASi diagnostics, the DP/ASi link has four LEDs. In the event of a failure, one or several LEDs are turned on.
  • Page 91: Combination Of Several Leds

    Diagnostics and Error Handling Combinations In addition to the different displays described in Table 8-2 and Table 8-3, combinations of several LEDs are also possible. Table 8-4 shows you the meanings of the displays. Table 8-4 Combination of several LEDs LEDs Meaning Remedy...
  • Page 92: Diagnostics By Means Of User Program

    Diagnostics and Error Handling Diagnostics by Means of User Program In this chapter In Section You Will Find on Page 8.2.1 Diagnostic Fundamentals in Operations with an IM308C 8.2.2 Diagnostic Fundamentals in Operations with an S7/M7 DP Master (STEP 7) or with Another PROFIBUS-DP Master 8.2.3 Structure of Diagnosis 8-10...
  • Page 93: Overview

    Diagnostics and Error Handling 8.2.1 Diagnostic Fundamentals in Operations with an IM308C FB IM308C You can read the DP/ASi link diagnosis, as the ”slave diagnosis”, using func- tion block IM308C (FB192) into your PLC – for example, SIMATIC S5 with IM 308 C.
  • Page 94 Diagnostics and Error Handling Example At this point you will find a brief example of how to read the slave diagnosis into your PLC using FB IM308C. The following assumptions apply to this STEP 5 program: The IM 308-C is assigned, as a PROFIBUS-DP master, pages 0 to 15 (number 0 of IM 308-C).
  • Page 95: Diagnostic Fundamentals In Operations With An S7/M7 Dp Master

    BUSY = 1: Read process continuing. Diagnosing with If you operate the DP/ASi link as a DP slave with a DP master from Siemens other PROFIBUS- that is not part of the SIMATIC S5/S7/M7 PLCs or with a DP master from...
  • Page 96: Structure Of Diagnostic Message

    Diagnostics and Error Handling 8.2.3 Structure of Diagnosis Introduction The structure of the diagnostic message conforms with the PROFIBUS-DP standard. Note The structure of the diagnostic message described below does not apply to a default start-up (refer to section 8.2.9). Structure for The diagnostic message for the IM308C contains 26 bytes of data.
  • Page 97: Diagnostic Message Structure For The S7/M7 Dp Master

    Diagnostics and Error Handling Structure for The diagnostic message for the S7/M7 DP master contains 24 bytes of data. S7/M7 DP master The structure of the entire diagnosis is shown in Table 8-7. Table 8-7 Diagnostic message structure for the S7/M7 DP master Byte(s) S7/M7 DP Master Stations status 1...
  • Page 98: Structure Of Station Status 1

    Diagnostics and Error Handling 8.2.4 Contents of DP Standard Part DP standard part The first six bytes of the diagnostic message (byte 0 to byte 5) are termed the DP standard part. They are independent of the DP slave used. Station status 1 You will find a description of the structure of station status 1 in Table 8-8.
  • Page 99 Diagnostics and Error Handling Station status 3 Station status 3 is reserved for later applications. Its value is always 00 Station number of This byte contains the station number of the DP master which assigned pa- DP master rameters to the DP slave. Only this DP master has read and write access to this DP slave.
  • Page 100: Structure Of Bytes 6 To 11 Of Diagnostic Message

    Diagnostics and Error Handling 8.2.5 Module and First Station Diagnoses with the IM308C Area Module and first station diagnoses are contained in bytes 6 to 15. Contents The contents of bytes 6 to 11 are shown in Table 8-10. Table 8-10 Structure of bytes 6 to 11 of diagnostic message Byte Contents...
  • Page 101: Structure Of Diagnosis, Bytes 12 To

    EEPROM of DP/ASi link de- An internal self-test has deter- Consult your point of contact at fective mined that the EEPROM is defec- Siemens. tive. Unnamed bits are without significance Distributed I/O System DP/ASi Link 8-15 EWA 4NEB 710 6055-02b...
  • Page 102: Structure Of Bytes 6 To 12 Of Diagnostic Message For Operations With Im308C

    Diagnostics and Error Handling 8.2.6 Module and First Station Diagnoses with the S7/M7 DP Master Area Module and first station diagnoses are contained in bytes 6 to 16. Contents The contents of bytes 6 to 12 is shown in Table 8-12. Table 8-12 Structure of bytes 6 to 12 of diagnostic message for operations with IM308C...
  • Page 103: Structure Of Diagnosis, Bytes 13 To

    Diagnostics and Error Handling Diagnostic data The first part of the station diagnostic data of the DP/ASi link as a DP slave Part 1 is structured as shown in Table 8-13. A message is indicated by a ”1”. Table 8-13 Structure of diagnosis, bytes 13 to 16 Byte Meaning...
  • Page 104: Structure Of Bytes 16 To 19 In Diagnostic Message

    Diagnostics and Error Handling 8.2.7 Second Station Diagnosis with the IM308C Area The second part of the station diagnostics is contained in bytes 16 to 25. Contents The contents of bytes 16 to 19 are shown in Table 8-14. Table 8-14 Structure of bytes 16 to 19 in diagnostic message Byte Contents...
  • Page 105: Structure Of Diagnostic Data, Bytes 20 And 21

    An internal self-test has deter- Consult your point of contact at fective mined that the EEPROM is defec- Siemens. tive. Unnamed bits are without significance. ASi slave diagno- The failure of an ASi slave is indicated by diagnostic bytes 22 to 25.
  • Page 106: Structure Of Bytes 17 To 19 In Diagnostic Message

    Diagnostics and Error Handling 8.2.8 Second Station Diagnosis with the S7/ M7 DP Master Area The second part of the station diagnosis is contained in bytes 17 to 23. Contents The contents of bytes 17 to 19 are shown in Table 8-17. Table 8-17 Structure of bytes 17 to 19 in diagnostic message Byte...
  • Page 107: Diagnostics For A Default Start-Up With The Im308C

    Diagnostics and Error Handling 8.2.9 Diagnostics for a Default Start-Up with the IM308C (6ES7 156 0AA00-0XA0 or Later, Issue 3) Structure For the default start-up, the diagnostic message contains 32 bytes of data and complies with the PROFIBUS DP standard. The table below describes the basic structure of the diagnostic message.
  • Page 108: Actual Asi Configuration

    Diagnostics and Error Handling Actual ASi confi- Bytes 16 to 31 of the diagnostic message indicate the ASi configuration at guration (bytes 16 the time of the parameterization message. An ASi slave is permanently assi- to 31) gned to every nibble. If an ASi slave is present in the configuration, its hexa- decimal I/O code is entered at this point;...
  • Page 109: Technical Data

    Technical Data Standards and ap- The DP/ASi link meets the requirements of the Profibus-DP standard, the ASi provals standard and UL, CSA and FM approvals. What are general The general technical data contain the standards and test values maintained technical data? and met by the S7-300 and the test criteria by which the S7-300 was tested.
  • Page 110: A.1 Standards And Approvals

    89/336/EEC ”Electromagnetic Compatibility” (EMC Directive) 73/23/EEC ”Electromagnetic Equipment for Use within Specific Voltage Limits” (Low-Voltage Directive) The EC conformity declarations are made available for the cognizant authori- ties at: Siemens Aktiengesellschaft Bereich Automatisierungstechnik AUT E 14 Postfach 1963 D-92209 Amberg...
  • Page 111 Technical Data EMC Directive SIMATIC products are designed to operate in an industrial environment. With a one-shot approval, SIMATIC products may also be used for domestic purposes (domestic, business and industry, small enterprises). The one-shot approval has to be obtained from an authority or test center. In Germany, one-shot approvals are issued by the Federal Office for Posts and Telecom- munications (Bundesamt für Post und Telekommunikation) and its branch offices.
  • Page 112: A.2 General Technical Data

    Technical Data General Technical Data Technical data The following table presents the technical data of the distributed I/O system DP/ASi link. Technical Data Power Supply Baud rates on PROFIBUS- 9.6; 19.2; 93.75; 187.5; Nennwert (L+) 24 V DC 500; 3000; 6000 and Permissible range 20 to 30 V 12000 kBd...
  • Page 113 Technical Data Mechanical Environmental Conditions Electromagnetic Compatibility (EMC)/ Noise Immu- nity Operating conditions to IEC 654-3 Discharge of static electricity to IEC 801-2 10 Hz f < 57 Hz Const. amplitude 0.35 mm Discharge of static 8 kV air discharge 57 Hz f <...
  • Page 114: Dp/Asi Link; Dimension Drawing

    Technical Data Dimension draw- Fig. A-1 shows you the dimension drawing for the DP/ASi link. M23x1 Figure A-1 DP/ASi link; dimension drawing Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 115 I/O Code In this chapter In this chapter you will find the I/O code of the ASi slaves as defined in the ASi standard. I/O code The I/O code characterizes every ASi slave in respect of its inputs and out- puts.
  • Page 116 I/O Code Distributed I/O System DP/ASi Link EWA 4NEB 710 6055-02b...
  • Page 117: C.1 Structure Of The Parameterization Message In Configuring With Address Optimization

    Parameterization Message You require this chapter only if you are not using an application such as COM ET 200 Windows (version 2.0 or later). Introduction The DP/ASi link requires the parameterization message during start-up. This appendix describes the structure of the parameterization message for the DP/ ASi link when used as a DP standard slave.
  • Page 118 Parameterization Message Structure of the Parameterization Message in Configuring with Ad- dress Optimization Structure The parameterization message contains 140 bytes of data, bytes 0 to 139. These 140 bytes comprise: 7 bytes in accordance with the DP standard, bytes 0 to 6, refer to Table C-1 8 bytes for initialization of the DP/ASi link, bytes 7 to 14, refer to Table C-4...
  • Page 119 Parameterization Message Table C-1 Structure of the DP standard part in parameterization message, continued Byte(s) Value Meaning Group ID You can place several DP slaves in one group with the group ID. Refer to Table C-3 for the watchdog time base Station status The station status defines the operating behavior of the DP/ASi link as a DP slave.
  • Page 120 Parameterization Message Initialization bytes Bytes 7 to 14 are referred to as the initialization bytes. You can modify byte 7 (refer to Table C-3), the first byte of the eight initiali- zation bytes, as follows: Table C-3 Structure of byte 7 for initialization Bit(s) Meaning Value...
  • Page 121 Parameterization Message Actual less than or ”Actual is less than or equal to setpoint configuration” means that the DP/ equal to setpoint ASi link compares the actual configuration with the setpoint configuration. If configuration the DP/ASi link detects any differences, it reacts in two different ways: If the DP/ASi link detects unconfigured ASi slaves, it behaves in the same way as for ”actual is equal to setpoint configuration”.
  • Page 122 Parameterization Message Parameterization Data for ASi Slaves Structure You have to define four bytes for every ASi slave when you assign parame- ters. These four bytes contain all the data required for an ASi slave and data exchange with it. You will find the structure of these four bytes for every ASi slave in Table C-6.
  • Page 123 Parameterization Message Address In Table C-7 you will find the assignment of the ASi addresses to the byte assignment numbers within the parameterization message. Table C-7 Assignment of parameterization data of ASi slaves to byte numbers of parameterization message Parameterization Data for ASi Slave with ...
  • Page 124 Parameterization Message Optimizing Address Assignment Purpose For you to be able to address the ASi slaves, you have to allocate the address assignment within the SIMATIC to every ASi slave. To make proper use of the limited address space on the SIMATIC, you must optimize the address assignment of the different slaves.
  • Page 125: Sorting Asi Slaves Into Address Space Template

    Parameterization Message Example Fig. C-1 illustrates the process for optimizing address assignment using the address space template. The four AS slaves used have the following input/output assignment: ASi Address Inputs Outputs Inputs Outputs ASi slave 1 None ASi slave 4 ASi slave 5 ASi slave 7 None...
  • Page 126: C.4 Structure Of The Parameterization Message In Simple Configuration

    Parameterization Message Structure of the Parameterization Message in Simple Configuration Parameterization The parameterization message has a fixed length of exactly 32 bytes. message structure DP standard part Bytes 0 to 6 contain the parameters of the DP standard part. Table C-8 Assigning the DP standard part Byte Value...
  • Page 127: C-11 I/O Code Of Configured Asi Slaves

    Parameterization Message Setpoint Bytes 16 to 31 reflect the setpoint configuration of the DP/ASi link. An ASi configuration slave is permanently assigned to every nibble. If an ASi slave has been confi- gured, its hexadecimal I/O code has to be entered at this stage; unconfigured ASi slaves have to be identified by F Table C-11 I/O code of configured ASi slaves Byte...
  • Page 128 Parameterization Message Distributed I/O System DP/ASi Link C-12 EWA 4NEB 710 6055-02b...
  • Page 129: D.1 Structure Of The Configuration Message With A Default Start-Up

    Configuration Message You require this section only if you are not using an application such as COM ET 200 Windows. Introduction The DP/ASi link requires the configuration message during start-up. This chapter describes the structure of the configuration message for the DP/ASi link used as a DP standard slave.
  • Page 130 Configuration Message Structure of the Configuration Message with a Default Start-Up Structure The configuration message consists of precisely 20 bytes. With a default start-up, it must have the structure shown in Table 8. Table D-1 Configuration message structure for a default start-up Byte Value Byte...
  • Page 131 Configuration Message Structure of the Configuration Message in Configuration with Ad- dress Optimization Structure The configuration message contains 20 bytes. The first 15 bytes are perma- nently assigned, as shown in Table D-2. All values are hexadecimal numbers. Table D-2 Default assignment of bytes 0 to 14 of the configuration message, shown in hexadecimal numbers Byte...
  • Page 132 Configuration Message Identification byte With the identification byte, you define the structure of the configuration message. You will find a description of the value of the identification byte in Table D-3. Table D-3 Value of identification byte in configuration message Value Meaning Input data only...
  • Page 133 Configuration Message Example 1 The following example presents the structure of the five bytes of data (bytes 15 to 19) for a DP/ASi link with inputs and outputs. Byte Value Meaning Specific identification format: there follows one length byte for output data there follows one length byte for input data there follow two bytes of manufacturer-specific data Length byte for output data:...
  • Page 134 Configuration Message Example 3 The following example shows the structure of the five bytes of data (bytes 15 to 19) for a DP/ASi link having only outputs. Byte Value Meaning Specific identification format: there follows a length byte for output data no input data are present there follow three bytes of manufacturer-specific iden- tification...
  • Page 135: D.3 Structure Of The Configuration Message In Simple Configuration

    Configuration Message Structure of the Configuration Message in Simple Configuration Structure The configuration message consists of 20 bytes and must have the structure shown in Table D-5. The type and length of the I/O area used are encoded in bytes 15 to 17. Table D-5 Configuration message for masters with reduced parameter assignment Byte...
  • Page 136 Configuration Message Example of You have an DP/ASi link on which the ASi slave with the highest address to determining length which outputs are connected is slave 7; the ASi slave with the highest address to which inputs are connected is slave 12. Accordingly, the output area has a length of 4 bytes, for slave 7 is located in the fourth byte.
  • Page 137 Glossary Active nodes Active nodes may send data to other nodes, if they are token holding nodes, and request data from other nodes (synonymous with master). Actual By actual configuration we mean the true configuration of the ASi as de- configuration tected by the DP/ASi link.
  • Page 138 Glossary Assign parameters To assign parameters is to pass slave parameters from the master to the slave. Baud rate Rate at which data are transmitted; specifies the number of bits transmitted per second (baud rate = bit rate). Bit time The bit time (T ) is the time required to transmit one bit.
  • Page 139 ET 200 family S5-95U with PROFIBUS-DP interface DP/ASi link other DP slaves from Siemens or external devices. Distributed I/O devices are connected to the DP master over the PROFIBUS- DP bus. DP stands for ”distributed I/O”.
  • Page 140 Glossary ID code The ID code is an additional identification, its use being optional for each ASi slave. The ID code is specified for every ASi slave. The default value of the ID code is 0. IM 308-C The IM 308-C is a DP master for the Distributed I/O System. IP 66 Degree of protection in accordance with DIN 40050: complete protection against contact, protection against the ingress of dust and protection against...
  • Page 141 Glossary PROFIBUS-DP Draft PROFIBUS-DP standard (EN 50170 Volume 2, PROFIBUS), on which the Distributed I/O System is based. The principal function of PROFIBUS-DP is high-speed data exchange be- tween the central DP master and the I/O devices. PROFIBUS-DP is a bus system networking PROFIBUS-compatible program- mable logic controllers and field devices at field and cell levels.
  • Page 142 FREEZE and SYNC compatibility, etc. For every Siemens station type there is a type file which is compiled by Sie- mens and is a component part of COM ET 200 Windows.
  • Page 143 Index ASi POWER FAIL, 8-4 ASi slave Active nodes, Glossary-1 diagnosis, 8-20, 8-21 Actual configuration, Glossary-1 diagnostics, 8-19 Actual is equal to setpoint configuration, 5-4 failure, 7-5 Actual is less than or equal to setpoint configu- failure indication, 8-5 ration, 5-4 parameters, C-6 Actuator sensor interface, 2-1 ASi SLAVE FAIL, 8-5...
  • Page 144: Dp/Asi Link To S7

    Index Configuration, 3-1 Diagnostic message, 8-10 data, Glossary-1 DP standard part, 8-12 options, 3-1 structure, 8-10 summary, 3-2 Diagnostics, 8-1, Glossary-2 with programmer connector, 3-9 ASi slave, 8-19 with several power supply connectors, 3-6 by means of LED, 8-2 with T connector and with power supply by means of user program, 8-6 connector, 3-4 dynamic, 8-8...
  • Page 145 Index LED display, 8-2 ASi diagnostics, 8-4 EMC Directive, A-2 ASi slave failure, 8-5 Error handling, 8-1 bus fault PROFIBUS-DP, 8-3 Example check, 8-5 address assignment, C-7, C-9 combinations, 8-5 configuration message, D-5 meaning, 8-2 configure with COM ET 200 Windows, 5-5 mode, 8-3 Example configuration, of a module, 2-5 Length byte, D-4...
  • Page 146 Index Parameterization message, C-1 control byte, C-4 Second station diagnosis, 8-18, 8-20 DP standard section, C-2 Setpoint configuration, Glossary-5 station status, C-3 Slave, Glossary-5 structure, C-2 diagnostics, 8-7 Parameters for ASi slave, C-6 ASi, 2-3 Passive node, Glossary-4 Sockets, T connector, 4-16 Penetration technique, 2-6 Spur line, 3-10 Pin assignment...
  • Page 147 Index UL, A-3 View of DP/ASi link, 1-5 UL approval, A-3 UNFREEZE, Glossary-6 Ungrounded installation, 4-6 Rules, 4-6 Wiring, of PROFIBUS-DP, 4-23 UNSYNC, Glossary-6 Using the DP/ASi link, 1-2 Distributed I/O System DP/ASi Link Index-5 EWA 4NEB 710 6055-02b...
  • Page 148 Index Distributed I/O System DP/ASi Link Index-6 EWA 4NEB 710 6055-02b...
  • Page 149 Siemens AG AUT E 148 Postfach 1963 D–92209 Amberg Federal Republic of Germany From: Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
  • Page 150 Your comments and recommendations will help us to improve the quality and usefulness of our publications. Please take the first available opportunity to fill out this questionnaire and return it to Siemens. Please give each of the following questions your own personal mark within the range from 1 (very good) to 5 (poor).
  • Page 151 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 Distributed I/O System DP/ASI Link EWA 4NEB 710 6055-02b...
  • Page 152 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 163 mm 6.42 inch Drilling jig DP/ASI link Drill holes: thread M4 Distributed I/O System DP/ASI Link EWA 4NEB 710 6055-02b...

Table of Contents