turck BL20 User Manual

turck BL20 User Manual

For profibus-dpv1
Hide thumbs Also See for BL20:

Advertisement

Quick Links

BL20/BL67-
USER MANUAL
FOR
PROFIBUS-DPV1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BL20 and is the answer not in the manual?

Questions and answers

Summary of Contents for turck BL20

  • Page 1 BL20/BL67- USER MANUAL PROFIBUS-DPV1...
  • Page 2 No part of this manual may be reproduced in any form (printed, photocopy, microfilm or any other process) or processed, duplicated or distributed by means of electronic systems without written permission of Hans Turck GmbH & Co. KG, Muelheim an der Ruhr. Subject to alterations without notice...
  • Page 3 All work relating to transport, installation, commissioning and maintenance must only be carried out by qualified personnel. (IEC 60 364 and HD 384 and national work safety regulations). All shrouds and doors must be kept closed during operation. D300956 0210 - BL67/BL20 - DPV1...
  • Page 4 D300956 0210 - BL67/BL20 - DPV1...
  • Page 5: Table Of Contents

    Parameterization ..........................2-9 Gateway parameters ................................... 2-9 Module parameters ...................................2-13 Parameter "module parameterization" ..........................2-14 Status indicators/ diagnostic messages gateway ................2-15 Diagnostic messages via LEDs ..............................2-15 Diagnostic messages via the software..........................2-15 The diagnosis telegram ........................2-16 Status message....................................2-17 D300956 0210 - BL67/BL20 - DPV1...
  • Page 6 Connection to a Siemens PLC S7 General..............................3-2 Example configuration ........................3-3 Acyclic data transfer with system function bocks (SFBs) by Siemens ..........3-4 Acyclic reading with SFB52............................... 3-4 Acyclic writing with SFB53 ................................ 3-6 Example of DPV1-diagnosis ......................3-11 Index D300956 0210 - BL67/BL20 - DPV1...
  • Page 7 About this Manual Documentation Concept....................................2 General Information ......................................3 Prescribed Use .........................................3 Notes Concerning Planning /Installation of this Product ........................3 Description of Symbols Used ..................................4 List of revisions........................................5 D300956 0210 - BL67/BL20 - DPV1...
  • Page 8: About This Manual

    The following chapters contain a short description of the field bus system PROFIBUS-DPV1, a system-inde- pendent description of the DPV1 gateways for BL67 and BL20 as well as an application example for the connection of the TURCK-DPV1 gateways to a Siemens PLC S7...
  • Page 9: General Information

    Please read this section carefully. Safety aspects cannot be left to chance when dealing with elec- trical equipment. This manual contains all necessary information for the prescribed use of the BL20/BL67 gateways for PROFIBUS-DPV1. It has been specially conceived for qualified personal with specialized knowledge.
  • Page 10: Description Of Symbols Used

    This sign can be found next to all general notes that supply important information about one or more operating steps. These specific notes are intended to make operation easier and avoid un- necessary work due to incorrect operation. D300956 0210 - BL67/BL20 - DPV1...
  • Page 11: List Of Revisions

    List of revisions description Chap. 2tp Channel-specific diagnosis messages of the modules, page 2-22 Meaning of the DPV1-error codes for the BL××-I/O-modules, page 2-23 Note The publication of this manual renders all previous editions invalid. D300956 0210 - BL67/BL20 - DPV1...
  • Page 12 About this Manual D300956 0210 - BL67/BL20 - DPV1...
  • Page 13: Profibus-Dpv1

    PROFIBUS-DPV1 General............................................2 Acyclic data transfer ......................................3 DPV1-functions .......................................3 DPM1 versus DPM2......................................3 Addressing the data in DPV1 ....................................4 D300956 0210 - BL67/BL20 - DPV1...
  • Page 14: General

    The data exchange is carried out in rotation and in a defined order. The data which have to be transmitted are projected beforehand. Via acyclic communication functions, PROFIBUS-DPV1 now offers the possibility to transmit data to the slave in addition to the cyclic process data. D300956 0210 - BL67/BL20 - DPV1...
  • Page 15: Acyclic Data Transfer

    The new Class2-master is generally an engineering tool which is used for the acyclic data transfer. The protocol cycle of the DPV1-functions on the field bus depends on the use of a Class1- or a Class2-master. D300956 0210 - BL67/BL20 - DPV1...
  • Page 16: Addressing The Data In Dpv1

    240 bytes. In case of a successful data access, the slave sends a positive answer. If the data access failed, a negative answer which classifies the problem precisely is sent. D300956 0210 - BL67/BL20 - DPV1...
  • Page 17: Bl××-Gateways For Profibus-Dpv1

    – DPV1 - error codes ....................................22 – Meaning of the DPV1-error codes for the BL××-I/O-modules ....................23 Description of user data for acyclic services ............................28 Gateway Application Instance................................28 Module Application Instance .................................. 29 D300956 0210 - BL67/BL20 - DPV1...
  • Page 18: Introduction

    This chapter contains a description of the characteristics of the BL××-gateways for PROFIBUS-DPV1. As the DPV1-gateways for BL20 and BL67 do not differ from the DPV0-gateways in their technical data, their connection options (field bus, power supply), their mechanical mounting etc., only the special features of the DPV1-gateways are described in the following.
  • Page 19: Function

    The gateways regulate the process data between the I/O level and the fieldbus, and generate diagnostic data for the higher-level master. Information is made available to the software tool I/O-ASSISTANT via the service interface. Note BL×× gateways can only be used as slaves. D300956 0210 - BL67/BL20 - DPV1...
  • Page 20: Important Notes Concerning The Dpv1-Gateways

    BL××-DPV0-gateways can not be replaced by the new DPV1-gateways. The devices have differ- ent indent numbers and different GSD-files. Diagnosis Note The new DPV1-gateways allow the DP-standard-diagnosis according to PROFIBUS-DP specifica- tion. The diagnosis is not compatible with the diagnosis of the DPV0-gateways. D300956 0210 - BL67/BL20 - DPV1...
  • Page 21: Technical Data

    Technical data Technical data Note This section corresponds to the respective chapter in the manuals for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527). The BL××-gateways for DPV1 show the following special properties: Table 1: Maximum number of modules in a station...
  • Page 22: Connection Options

    BL××-gateways for PROFIBUS-DPV1 Connection options Note This section corresponds to the respective chapter in the manuals for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527). D300956 0210 - BL67/BL20 - DPV1...
  • Page 23: Addressing

    Addressing Addressing Note This section corresponds to the respective chapter in the manuals for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527). D300956 0210 - BL67/BL20 - DPV1...
  • Page 24: Module Description In The Electronic Device Data Sheets (Gsd)

    The GSD-files for the BL××-DPV1-gateways do not allow the module representation according to type. Only the standard module representation is possible. For further information, please read the manuals for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527).
  • Page 25: Parameterization

    – Bit 1 to 7: reserved Byte 2: – Bit 0 to 5: reserved – Bit 6: reserved (depending on the configuration tool) – Bit 7: DP-Alarm-Mode 0 DPV0 1 DPV1 A DPV1-specific parameters are activated. D300956 0210 - BL67/BL20 - DPV1...
  • Page 26 Depending on their configuration, these modules decide to set their outputs either to "0" or to a default value, or to maintain the original values. The non-configured analog output modules set their outputs to "0". 2-10 D300956 0210 - BL67/BL20 - DPV1...
  • Page 27 1 deactivate Diagnostic messages from the module bus stations will not be displayed. A station diagnostic is not auto- matically generated along with module diagnostics. 2-11 D300956 0210 - BL67/BL20 - DPV1...
  • Page 28 But, the communication is not interrupted, if the gateway-parameter byte 1, bit 0 "startup when expected/actual config. differ" (see page 2-9) is acti- vated. – Bit 7: reserved 2-12 D300956 0210 - BL67/BL20 - DPV1...
  • Page 29: Module Parameters

    3 → n = 1 standard n + 2 Operation mode 0 = normal A module rep- group A 1 = open circuit monitoring resentation Operation mode group B 2-13 D300956 0210 - BL67/BL20 - DPV1...
  • Page 30: Parameter "Module Parameterization

    BL××-gateways for PROFIBUS-DPV1 Parameter "module parameterization" Each parameterizable module within the BL20/BL67-product range, gets the additional parameter "module parameterization" via the GSD-file of the respective DPV1-gateway. Note This parameter is not part of the module parameters, but is only important for the communica- tion between gateway and the modules.
  • Page 31: Status Indicators/ Diagnostic Messages Gateway

    (for example, PLC) Diagnostic messages via LEDs Note This section corresponds to the respective chapter in the manuals for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527). Diagnostic messages via the software The diagnostic messages are displayed in the corresponding software of the PROFIBUS-DP master as diag- nostic bytes.
  • Page 32: The Diagnosis Telegram

    Byte 19 Byte 0 Channel specific diagnosis Channel specific diagnosis module 0 module 0 Byte 2 Byte 2 Channel specific diagnosis Channel specific diagnosis module n module n Byte 2 2-16 D300956 0210 - BL67/BL20 - DPV1...
  • Page 33: Status Message

    These 8 bytes are always sent. So, it is not relevant, if the modules within the station send diag- nosis messages or not. Additionally, the status message is independent of the actual number of modules in the station. Pending diagnosis messages are indicated by "1". "0" indicates no active diagnosis message. 2-17 D300956 0210 - BL67/BL20 - DPV1...
  • Page 34: Module Status

    Additionally, the module status is independent of the actual number of modules in the station. Please refer to Table 6: Module status for the meaning of the diagnosis message. "0" indicates no active diagnosis message. 2-18 D300956 0210 - BL67/BL20 - DPV1...
  • Page 35: Channel-Specific Diagnosis

    Channel-specific diagnosis messages of the modules, page 2-22) Note The channel-specific diagnosis is generated for every channel of a module within a station, which is actually present and which sends active diagnosis. 2-19 D300956 0210 - BL67/BL20 - DPV1...
  • Page 36: Description Of The Gateway Diagnosis Bytes

    1 = field supply V is not within the permissible range Overcurrent/ Short circuit I 0 = current I is within the permissible range 1 = current I is not within the permissible range 2-20 D300956 0210 - BL67/BL20 - DPV1...
  • Page 37 1 = The force mode has been activated via the service interface (by I/O-ASSISTANT). This separates the fieldbus master from the outputs of the module bus stations. No process data exchange is taking place from the fieldbus master to the output modules. reserved 2-21 D300956 0210 - BL67/BL20 - DPV1...
  • Page 38: Channel-Specific Diagnosis Messages Of The Modules

    Reinitialize user the application software of the module. Cold-junction compensation error The module detected a defect or missing cold-junction compensation. Sensor supply load dump The module detected a load dump at the sensor supply. Unkown error 2-22 D300956 0210 - BL67/BL20 - DPV1...
  • Page 39: Meaning Of The Dpv1-Error Codes For The Bl××-I/O-Modules

    Undervoltage field supply Module bus undervoltage warning BL20-E-1SWIRE Voltage U SWERR BL20-2RFID-x Transceiver indicates power supply error BL67 BL67-PF-24VDC Low voltage V / Low voltage V BL67-2RFID-× Transceiver indicates power supply error Overvoltage 2-23 D300956 0210 - BL67/BL20 - DPV1...
  • Page 40 BL67-1CNT/ENC DIA_Dox BL67-1CVI Overcurrent VC (at the valve power supply) BL67-2AI-PT Short-circuit Over temperature Wire-break BL20 BL20-×AI-I(0/4..20MA) Open circuit BL20-2AIH-I BL20-E-8AI-U/I-4PT/NI BL20-2AOH-I BL20-4DI-NAMUR BL67 BL67-×DI-PD Open circuit BL67-2AI-I BL67-2AI-PT BL67-2AI-TC BL67-4AI-V/I BL67-4AI4AO-V/I BL67-1SSI 2-24 D300956 0210 - BL67/BL20 - DPV1...
  • Page 41 Sensor value underflow BL67-×AI-×/ Measurement value range error (OoR) BL67-×AO-× BL67-2AI-2AO-VI Error BL20 BL20-2AOH-I Invalid value BL20-E-4AO-U/I Over-/underflow OUFL BL20-E-8AI-U/I-4PT/NI BL67 BL67-1CVI DiagNode x/ DiagCVI: Emergencies transmitted since module start BL67-×AI×AO-× Over-/underflow OUFL BL67-4AO-V 2-25 D300956 0210 - BL67/BL20 - DPV1...
  • Page 42 Parameterization error BL67-1SSI BL67-1CNT/ENC Parameterization error, ERR_PARA BL67-2RFID-× Parameter set inalid Hardware error BL20 BL20-2RFID-× Transceiver hardware error BL20-1RS××× Hardware error BL20-E-8AI-U/I-4PT/NI BL20-E-4AO-U/I BL20-2AIH-I BL20-2AOH-I BL67 BL67-2RFID-× Transceiver hardware error BL67-1RS××× Hardware error BL67-×AI-×AO-V/I 2-26 D300956 0210 - BL67/BL20 - DPV1...
  • Page 43 BL67-4DI4DO-PD BL67-8XSG-PD Unknown error Common error BL20 BL20-E-1SWIRE General error , GEN BL20-1SSI SSI group diagnostics BL20-2AIH-I HART® status error BL20-2AOH-I BL67 BL67-1SSI SSI group diagnostics Configuration BL20 BL20-E-1SWIRE SWIRE master, SW error 2-27 D300956 0210 - BL67/BL20 - DPV1...
  • Page 44: Description Of User Data For Acyclic Services

    Modul-diag.-list Array of BYTE List of all module diagnosis messages Module-parameter-list Array of BYTE List of all module parameters 36 to 244 reserved I&M-functions Identification & Maintaining- services, I&M0 according to PROFIBUS-DP specification 2-28 D300956 0210 - BL67/BL20 - DPV1...
  • Page 45: Module Application Instance

    Parameters of the respective modules 32 to 255 Profile-specific These indices are reserved for the data of several module profiles (e. g. RFID). The definitions of the profile indices can be found in the respective module descriptions. 2-29 D300956 0210 - BL67/BL20 - DPV1...
  • Page 46 BL××-gateways for PROFIBUS-DPV1 2-30 D300956 0210 - BL67/BL20 - DPV1...
  • Page 47: Connection To A Siemens Plc S7

    Connection to a Siemens PLC S7 General............................................2 Example configuration......................................3 Acyclic data transfer with system function bocks (SFBs) by Siemens ....................4 Acyclic reading with SFB52..................................4 – Example .........................................5 Acyclic writing with SFB53 ..................................6 – Example .........................................8 Example of DPV1-diagnosis.................................... 11 D300956 0210 - BL67/BL20 - DPV1...
  • Page 48: General

    Siemens PLC S7. Note For general information about the connection of the BL20- and BL67-gateway for PROFIBUS-DP to a Siemens PLC, please read the respective chapters/ paragraphs in the documentation for the DPV0-gateways (BL20: German D300822/ English D300458; BL67: German D300570/ English D300527).
  • Page 49: Example Configuration

    BL67-example station (see the following table) with BL67-GW-DPV1 for the connection to PROFIBUS-DPV1 Table 1: Module no. Module name Example BL67-GW-DPV1 station BL67-2AI-I BL67-4DI-P BL67-8DI-PD BL67-1RS232 BL67-8XSG-PD BL67-4DI-PD BL67-2AI-I BL67-2AI-TC Used software: Simatic Manager V 5.2 from Siemens D300956 0210 - BL67/BL20 - DPV1...
  • Page 50: Acyclic Data Transfer With System Function Bocks (Sfbs) By Siemens

    ERROR = 1:Error occurred while reading. STATUS Error code of the function block (see Siemens-online help for SFB54 "RALRAM") Length of the read data. RECORD Target area for the read data record. (here in this example DB10). D300956 0210 - BL67/BL20 - DPV1...
  • Page 51: Example

    Module Ap- plication Instance, page 2-29. Figure 2: Station struc- ture in the hard- ware configuration Figure 3: Access via SFB52 A logical ad- dress of channel 1 from mod- ule no.6 B Index no. D300956 0210 - BL67/BL20 - DPV1...
  • Page 52: Acyclic Writing With Sfb53

    INDEX Number of the module’s index to be written (see see Chapter Description of user data for acyclic services). MLEN Maximum length of the data to be written. D300956 0210 - BL67/BL20 - DPV1...
  • Page 53 ERROR = 1: Error occurred while writing. STATUS Error code of the function block (see Siemens-online help for SFB54 "RALRAM"). Length of the written data. RECORD Target area for the written data record. (here in this example DB11). D300956 0210 - BL67/BL20 - DPV1...
  • Page 54: Example

    PROFIBUS-DPV1, page 2-29. Figure 6: Station struc- ture in the hard- ware configuration Figure 7: Access via SFB53 A logical address of channel 1 from mod- ule no. 7 B Index no. D300956 0210 - BL67/BL20 - DPV1...
  • Page 55 To achieve this, bit 0 and bit 1 of byte 0 have to be set to "1" in DB11. The module’s parameter data are written to byte 1 via DB11: Figure 8: DB11 in VAT1 A Channel 0, Bit 0 = 1 and Bit 1 = 1 D300956 0210 - BL67/BL20 - DPV1...
  • Page 56 Connection to a Siemens PLC S7 Table 9: Parameter settings in the I/O-ASSISTANT 3-10 D300956 0210 - BL67/BL20 - DPV1...
  • Page 57: Example Of Dpv1-Diagnosis

    Furthermore a special help text, which clearly specifies the error, is defined for each diagnostic message. Figure 9: Diagnosis of the DPV1-gateways A device relat- ed diagnosis acc. to DPV0 B device relat- ed diagnosis acc. to DPV1 C manufactur- er specific help texts 3-11 D300956 0210 - BL67/BL20 - DPV1...
  • Page 58 Connection to a Siemens PLC S7 3-12 D300956 0210 - BL67/BL20 - DPV1...
  • Page 59 ................ 2-13 parameterization ..................2-9 prescribed use ..................1-3 PROFIBUS-DPV1 ..................1-1 PROFIBUS-DPV1, functions .............1-3 safety measures ..................1-3 SFB52 ......................3-4 SFB53 ......................3-6 standard diagnosis ................2-16 status indicators ................. 2-15 status message ................... 2-17 symbols ......................1-4 D300956 0210 - BL67/BL20 - DPV1...
  • Page 60 Index D300956 0210 - BL67/BL20 - DPV1...
  • Page 61 Hans Turck GmbH & Co. KG 45472 Mülheim an der Ruhr Germany Witzlebenstraße 7 Tel. +49 (0) 208 4952-0 Fax +49 (0) 208 4952-264 E-Mail more@turck.com Internet www.turck.com...

This manual is also suitable for:

Bl67

Table of Contents