turck 5600-20 User Manual

turck 5600-20 User Manual

Industrial automation, multiprotocol gateway for ethernet
Table of Contents

Advertisement

Quick Links

BL20 –
USER MANUAL
MULTIPROTOCOL
GatEway
fOr ETHERNET
BL20-E-GW-EN
Sense it! Connect it! Bus it! Solve it!

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5600-20 and is the answer not in the manual?

Questions and answers

Summary of Contents for turck 5600-20

  • Page 1 BL20 – USER MANUAL MULTIPROTOCOL GatEway fOr ETHERNET BL20-E-GW-EN Sense it! Connect it! Bus it! Solve it!
  • Page 2: Table Of Contents

    Table of Contents About this manual Documentation concept ..........................1-2 1.1.1 Additional documentation .................................1-2 Explanation of symbols used..........................1-3 1.2.1 Further notes ......................................1-3 General notes..............................1-4 1.3.1 Prescribed use ......................................1-4 1.3.2 Notes concerning planning/installation of this product ......................1-4 General ................................1-5 1.4.1 Prescribed use ......................................1-5 1.4.2 Notes concerning planning/ installation of this product ......................1-5 List of revisions ..............................1-6...
  • Page 3 3.4.3 Service interface ....................................3-14 Address assignment ............................. 3-15 3.5.1 Default setting of the gateway ...............................3-15 3.5.2 Function of DIP-switches ..................................3-16 3.5.3 Resetting the IP-address, switch position "RESTORE"......................3-17 3.5.4 Address setting via DIP-switches (2 to 2 )..........................3-18 3.5.5 Address setting via the mode DHCP.............................3-19 3.5.6 Address setting via the mode BootP ............................3-20 3.5.7...
  • Page 4 4.3.1 Summarized Diagnostics..................................4-5 4.3.2 Scheduled Diagnostics..................................4-5 Classes and Instances of the EtherNet/IP™-stations ..................4-6 4.4.1 EtherNet/IP™ Standard Classes................................4-6 4.4.2 Identity Object (0x01) ...................................4-7 4.4.3 Assembly Object (0x04) ..................................4-9 4.4.4 Connection Manager Object (0x06) ............................. 4-12 4.4.5 TCP/IP Interface Object (0xF5)................................ 4-13 4.4.6 Ethernet Link Object (0xF6) ................................
  • Page 5 7.1.1 Hardware ........................................7-2 7.1.2 Software ........................................7-2 Network configuration ........................... 7-3 Programming with CoDeSys .......................... 7-4 7.3.1 Predefined feature sets..................................7-4 7.3.2 Creating a new project ..................................7-5 7.3.3 Defining the communication settings ............................7-7 7.3.4 Adding the Ethernet Adapter................................7-9 7.3.5 Adding the Modbus master ................................7-10 7.3.6...
  • Page 6 9.2.2 Diagnostic telegram with error code ............................9-19 Guidelines for station planning 10.1 Module arrangement ........................... 10-2 10.1.1 Random module arrangement............................... 10-2 10.1.2 Complete planning..................................... 10-2 10.1.3 Maximum system extension ................................10-3 10.2 Power supply ..............................10-6 10.2.1 Power supply to the gateway ................................. 10-6 10.2.2 Module bus refreshing (BL20-BR-24VDC-D) ..........................
  • Page 7 13.2 Changing the IP address of a PC/ network interface card ............... 13-16 13.2.1 Changing the IP address in Windows............................13-16 13.2.2 Changing the IP address via I/O-ASSISTANT V3 ........................13-18 13.3 Deactivating/ adapting the firewall in Windows ..................13-19 13.4 Addressing via DHCP ..........................
  • Page 8: About This Manual

    About this manual Documentation concept ......................... 1-2 1.1.1 Additional documentation................................1-2 Description of symbols used ......................1-3 General ............................1-4 1.3.1 Prescribed use....................................1-4 1.3.2 Notes concerning planning/ installation of this product....................1-4 List of revisions ..........................1-5 D300815 0215- BL67 multiprotocol...
  • Page 9: Documentation Concept

    1.1.1 Additional documentation  BL20 I/O-modules (TURCK-documentation no.: German D300716; English D300717). The bus-independent I/O-modules of the BL20-system as well as all bus independent information as mounting, labeling etc. are described in a separate manual. In addition to that, the manual contains a short description of the I/O-ASSISTANT, the project plan- ning and configuration software tool for TURCK I/O-systems- ...
  • Page 10: Explanation Of Symbols Used

    Explanation of symbols used Explanation of symbols used Warnings Action-related warnings are placed next to potentially dangerous work steps and are marked by graphic symbols. Each warning is initiated by a warning sign and a signal word that expresses the grav- ity of the danger.
  • Page 11: General Notes

    About this manual General notes Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment. This manual includes all information necessary for the prescribed use of the BL67-gateways. It has been specially conceived for personnel with the necessary qualifications. 1.3.1 Prescribed use The devices described in this manual must be used only in applications prescribed in this manual or in...
  • Page 12: General

    General General ATTENTION! Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment. This manual includes all information necessary for the prescribed use of the BL20-E-GW-EN. It has been specially conceived for personnel with the necessary qualifications. 1.4.1 Prescribed use Appropriate transport, storage, deployment and mounting as well as careful operating and thorough...
  • Page 13: List Of Revisions

    About this manual List of revisions In comparison to the previous manual edition, the following changes/ revisions have been made. Tabelle 1-1: Chapter Topic changed List of revisions Chap. 3 Version overview (page 3-3) Top view BL20-E-GW-EN (< VN 03-00), page 3-6 Top view BL20-E-GW-EN (VN 03-00), page 3-7...
  • Page 14: Bl20-Philosophy

    BL20-philosophy The basic concept ............................2-2 2.1.1 Flexibility ......................................2-2 2.1.2 Compactness .....................................2-2 2.1.3 Easy to handle ....................................2-2 BL20 components............................2-3 2.2.1 Gateways ......................................2-3 – ECO-gateways ....................................2-3 – Gateways with integrated power supply ..........................2-4 – Gateways without integrated power supply ........................2-4 2.2.2 Power distribution modules.................................2-4 2.2.3...
  • Page 15: The Basic Concept

    BL20-philosophy The basic concept BL20 is a modular I/O system for use in industrial automation. It connects the sensors and actuators in the field with the higher-level master. BL20 offers modules for practically all applications:  Digital input and output modules ...
  • Page 16: Bl20 Components

    BL20 components BL20 components 2.2.1 Gateways The gateway connects the fieldbus to the I/O modules. It is responsible for handling the entire process data and generates diagnostic information for the higher-level master and the software tool I/O- ASSISTANT. ECO-gateways The BL20-ECO gateways enlarge the product portfolio of BL20. They offer an excellent cost/ performance ratio.
  • Page 17: Power Distribution Modules

    BL20-philosophy Gateways with integrated power supply All standard gateways BL20-GWBR-××× as well as the BL20-gateways for DPV1 and Ethernet (BL20-GW- DPV1, BL20-GW-EN, BL20-GW-EN-IP, BL20-GW-EN-PN, BL20-PG-EN and BL20-PG-EN-IP) offer an integrated power supply unit for feeding the gateway and the connected I/O modules. It is not necessary to supply each individual module with a separate voltage.
  • Page 18: Electronics Modules (Standard Product Line)

    BL20 components 2.2.3 Electronics modules (standard product line) The standard electronics modules contain the I/O-functions of the BL20 modules (power distribution modules, digital and analog input/output modules, and technology modules). They are plugged onto the base modules and are not directly connected to the wiring and can be plugged or pulled when the station is being commissioned or for maintenance purposes, without having to disconnect the field wiring from the base modules.
  • Page 19: Eco Electronics Modules

    BL20-philosophy 2.2.4 ECO electronics modules New ECONOMY modules with a high signal density and exceptionally low channel price expand the BL20 I/O bus terminal system. Depending on type, up to 16 digital inputs and outputs can be connected on only 13 mm. This high connection density considerably reduces the mounting width required for typical applications.
  • Page 20: Base Modules

    BL20 components 2.2.5 Base modules The field wiring is connected to the base modules. These are constructed as terminals in block and slice designs and are available in the following variations with either tension clamp or screw connections: 2- /3-wire (2-channel), 4-wire (2-channel) and 4 x 2-/3-wire (4-channel). Figure 2-5: Base module with tension...
  • Page 21: End Plate

    BL20-philosophy 2.2.6 End plate An end plate on the right-hand side physically completes the BL20 station. An end bracket mounted into the end plate ensures that the BL20 station remains secure on the mounting rail even when subjected to vibration. Figure 2-8: End plate 2.2.7...
  • Page 22: Jumpers

    BL20 components 2.2.8 Jumpers Jumpers (QVRs) are used to bridge a connection level of a 4-wire base module. They can be used to connect potentials in relay modules (bridging the relay roots); thus considerably reducing the amount of wiring. Figure 2-10: Jumpers 2.2.9 Marking material...
  • Page 23: Shield Connection Gateway

    BL20-philosophy 2.2.10 Shield connection gateway If the gateway is wired directly to the fieldbus, it is possible to shield the connection using a special gateway-shielding connection attachment (BS3511/KLBUE4-31.5). Figure 2-12: Shield connec- tion (gateway) 2-10 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 24: Properties: Gateway And I/O-Modules

    Properties: gateway and I/O-modules Function of the gateway..........................3 3.1.1 Version overview ....................................3 Supported I/O-modules ..........................4 Technical data..............................6 3.3.1 Top view BL20-E-GW-EN (< VN 03-00) ............................6 3.3.2 Top view BL20-E-GW-EN ( VN 03-00) ............................7 3.3.3 Block diagram......................................8 3.3.4 General technical data of a station ...............................9 –...
  • Page 25 Properties: gateway and I/O-modules Status and Control Word of the BL20-stations..................33 3.8.1 Status Word ......................................33 – Meaning of the status bits................................33 3.8.2 Control Word.......................................33 Parameters of the I/O-modules .........................34 3.9.1 Digital input modules ..................................34 3.9.2 Analog input modules ..................................34 3.9.3 Analog output modules ..................................43 3.9.4 Technology modules..................................48...
  • Page 26: Function Of The Gateway

    Function of the gateway Function of the gateway The BL20-E-GW-EN (> VN 03-00) is used as multiprotocol-interface between the BL20-system and the Ethernet-protocols Modbus TCP, EtherNet/IP™ and PROFINET®. 3.1.1 Version overview Please observe, that the previous version of the gaetway did only support the Modbus TCP protocol. ...
  • Page 27: Supported I/O-Modules

    Properties: gateway and I/O-modules Supported I/O-modules Table 3-1: Module EtherNet/IP™ Modbus TCP PROFINET® List of supported modules Digital input modules    BL20-2DI-24VDC-P    BL20-2DI-24VDC-N    BL20-2DI-120/230VAC    BL20-4DI-24VDC-P    BL20-4DI-24VDC-N ...
  • Page 28 Supported I/O-modules Table 3-1: Module EtherNet/IP™ Modbus TCP PROFINET® List of supported modules    BL20-E-16DO-24VDC-0.5A-P    BL20-32DO-24VDC-0,5A-P Analog output modules    BL20-1AO-I(0/4…20MA)    BL20-2AO-I(0/4…20MA)    BL20-2AO-U(-10/0…+10VDC)  BL20-2AO-H   ...
  • Page 29: Technical Data

    Properties: gateway and I/O-modules Technical data 3.3.1 Top view BL20-E-GW-EN (< VN 03-00) Figure 3-1: Top view BL20-E-GW-EN (< VN 03-00) A LEDs for BL20 module bus SERVICE B service interface, no function C DIP-switch for the fieldbus- address D DIP-switch for the operation mode E DIP-switch for...
  • Page 30: Top View Bl20-E-Gw-En ( Vn 03-00)

    Technical data 3.3.2 Top view BL20-E-GW-EN ( VN 03-00) Figure 3-2: Topview BL20-E-GW-EN BL20-E-GW-EN  VN 03-00) A LEDs for BL20 module bus B service interface, SERVICE no function C DIP-switch for the fieldbus- address D DIP-switch for the operation mode E DIP-switch for MODE...
  • Page 31: Block Diagram

    Properties: gateway and I/O-modules 3.3.3 Block diagram Figure 3-3: Service Block diagram BL20-E-GW-EN Module bus Switch 24 V Eth1 Eth2 Gateway D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 32: General Technical Data Of A Station

    Technical data 3.3.4 General technical data of a station Attention The auxiliary power supply must comply with the stipulations of SELV (Safety Extra Low Voltage) according to IEC 364-4-41. Table 3-2: Supply voltage/auxiliary voltage General tech- (nominal value) 24 V DC nical data of a provision for other modules station...
  • Page 33 Properties: gateway and I/O-modules Ambient conditions Operating temperature horizontal/vertical 0 to+55°C mounting For vertical installation, the gateway can be positioned both at the top and bottom. Sufficient ventilation and heat dissipation must be ensured. Storage temperature - 25 to +85 °C relative humidity according to 5 to 95 % (indoor), Level RH-2, no condensation EN 61131-2/EN 50178...
  • Page 34: Technical Data For The Push-In Tension Clamp Terminals

    Technical data Approvals and tests Table 3-3: Designation Approvals and Approvals tests for a BL20 station in preparation Tests (EN 61131-2) Cold DIN IEC 68-2-1, Temperature -25 °C / 185 °F, duration 96 h; device not in use Dry heat DIN IEC 68-2-2, Temperature +85 °C / 185 °F, duration 96 h;...
  • Page 35: Led-Displays

    Properties: gateway and I/O-modules 3.3.6 LED-displays Every BL20-E-GW-EN displays the following statuses via LEDs:  2 LEDs for the module bus communication (module bus-LEDs): GW and IOs  < VN 03-00: 1 LEDs for the field bus communication: MS VN  03-00: 2 LEDs for the field bus communication: ERR and BUS ...
  • Page 36 Technical data Table 3-5: Status Meaning Remedy LED-displays Incompatible deviation of – Compare the configured list of flashing, module list. modules in your BL20-station to the 1 Hz The gateway reports an error. current configuration. The communication to the field –...
  • Page 37: Connection Options At The Gateway

    Properties: gateway and I/O-modules Connection options at the gateway The fieldbus connection is realized via an integrated RJ45-Ethernet-switch, the connection of the power supply via push-in tension clamps. Figure 3-4: Connection options at the gateway GND L U SYS GND SYS 3.4.1 Power supply The BL20-E-GW-EN provides an integrated power supply unit an push-in tension clamps for:...
  • Page 38: Address Assignment

    Address assignment Address assignment LED behavior During the start-up, the flashing LED "BUS" (red/green) displays that the station is waiting for address assignment per DHCP/BOOTP/autonegotiation. As soon as the address assignment is done, the LED flashes green and the station is ready for communicating in the network.
  • Page 39: Function Of Dip-Switches

    Properties: gateway and I/O-modules 3.5.2 Function of DIP-switches The DIP-switches for address setting, operation mode setting and for the storage of the station configuration are located under the gateway’s upper label. To set the DIP-switches, please pull the label from the gateway. Note Please observe, that the numbering of the DIP-switches under the label does not correspond to the switches‘...
  • Page 40: Resetting The Ip-Address, Switch Position "Restore

    Address assignment Table 3-7: Address- MODE Name Function Combinations switches of address- switches (Value) RESTORE Restoring the Default setting of the gateway (page 3-15). 1-254 Address Setting the last byte of the gateway's IP-address. Resetting the IP-address, switch position "RESTORE" (page 3-17) DHCP gateway-„Address setting via the mode DHCP“...
  • Page 41: Address Setting Via Dip-Switches

    Properties: gateway and I/O-modules 3.5.4 Address setting via DIP-switches (2 to 2 Switch MODE has to be set to "OFF". Addresses from 1 to 254 can be set. The addresses 0 and 255 are used for Broadcast-messages in the subnet. Note All other network settings are stored in the module’s non-volatile EEPROM and can not be changed.
  • Page 42: Address Setting Via The Mode Dhcp

    Address assignment 3.5.5 Address setting via the mode DHCP Address setting is carried out by a DHCP-server in the network after the start-up of the gateway. In order to activate the DHCP-mode, the DIP-switch MODE is set to "ON", the address-switches 2 to 2 to address "1"...
  • Page 43: Address Setting Via The Mode Bootp

    Properties: gateway and I/O-modules 3.5.6 Address setting via the mode BootP Address setting is carried out by a BootP-server in the network after the start-up of the gateway. In order to activate the BootP-mode, the DIP-switch MODE is set to "ON", the address-switches to 2 to address "2"...
  • Page 44: Address Setting Via The Mode

    Address assignment 3.5.7 Address setting via the mode PGM The PGM-mode enables access of the software I/O-ASSISTANT (FDT/DTM) to the module’s network settings (see also „Addressing via I/O-ASSISTANT 3 (FDT/DTM)“). In order to activate the PGM-mode, the DIP-switch MODE is set to "ON", the address-switches 2 to 2 to address "4"...
  • Page 45: Address Setting Via The Mode Pgm-Dhcp (Universal Mode)

    Properties: gateway and I/O-modules 3.5.8 Address setting via the mode PGM-DHCP (universal mode) Figure 3-11: PGM-DHCP MODE The device sends DHCP-requests until a IP-address is assigned (DHCP-server, PROFINET®-controller). The assigned IP-address is stored to the device and the DCHP-client is stopped. Even after a restart of the device, the device sends no further DHCP-requests.
  • Page 46: Addressing Via I/O-Assistant 3 (Fdt/Dtm)

    The software-tool I/O-ASSISTANT 3 (FDT/DTM) enables direct access to the Ethernet-network via the Ethernet cable. The IP address, as well as the subnet mask of the TURCK Ethernet stations, can be changed accordingto the application by using the Busaddress Management function of the BL Service Ethernet interface (TCP/IP) in the software I/O-ASSISTANT 3 (FDT/DTM).
  • Page 47 Properties: gateway and I/O-modules Figure 3-14: Searching network- Nodes in the Busaddress management A Search function in the Busad- dress manage- ment Note The access of the IO-ASSISTANT to the station is only possible, if the station already has an IP- address (see Address assignment (page 3-15))
  • Page 48 Address assignment Figure 3-15: IP address change 3-25 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 49: Addressing Via Web Server (Version  Vn 03-00)

    Properties: gateway and I/O-modules 3.5.11 Addressing via Web server (Version  VN 03-00) The device's network settings can be changed under "Network Configuration" only by users having administrator rights. Further information concerning the web server of the FGEN-devices and it's use can be found under Web server - remote access/configuration (Version ...
  • Page 50: Addressing Via Ip Address Tool

    Address assignment 3.5.12 Addressing via IP Address Tool Use the TURCK IP Address Tool for simple and fast changes in the IP-address of your device. The software can be downloaded from www.turck.com in the „Download“ area. The IP Address Tool can be used to: ...
  • Page 51: Synchronization Of The Station Configuration

    Properties: gateway and I/O-modules Synchronization of the station configuration 3.6.1 DIP-switch CFG The DIP-switch "CFG" at the gateway serves to take-over the Current Configuration of the BL20- station as Required Configuration to the gateway’s non-volatile memory. Note Storing the Current Configuration via SET-Taster is necessary in EtherNet/IP™ as well as in Modbus TCP, in PROFINET®...
  • Page 52: Web Server - Remote Access/Configuration (Version  Vn 03-00)

    Web server - remote access/configuration (Version  VN 03-00) Web server - remote access/configuration (Version  VN 03-00) 3.7.1 IP address Open the web server by entering the device's IP-address in your web browser. IF no IP-address is assigned to the device (DHCP-, BootP-server etc.), then the web server can be opened using the default IP-address 192.168.1.254.
  • Page 53: Login / Password

    Properties: gateway and I/O-modules 3.7.3 Login / password Login to the web server by using the default-password "password". The default-password can be changed by the administrator at every time under Change Admin Password (page 3-32) Note A reset of the device to the default-settings using the switch position 900 "F_Reset"...
  • Page 54: Gateway Configuration

    The page "Ethernet Statistics" shows information like the port-status, telegram and error counters etc. The page can above all be useful for analyzing network problems. 3.7.8 Links This page contains for example a link to the product page on the TURCK-homepage. 3-31 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 55: Change Admin Password

    Properties: gateway and I/O-modules 3.7.9 Change Admin Password Please define an individual password for administrator rights. Default password. „password“ Note A reset of the device to the default-settings using the switch position "F_Reset" also causes a reset of the password to "password". Figure 3-23: Change Admin Password...
  • Page 56: Status And Control Word Of The Bl20-Stations

    Status and Control Word of the BL20-stations Status and Control Word of the BL20-stations The Status as well as the Control Word are mapped into the station's process data.  EtherNet/IP™ In EtherNet/IP, the mapping can be disabled (see Gateway Class (VSC 100, 64h), and GW Status Register (page...
  • Page 57: Parameters Of The I/O-Modules

    Properties: gateway and I/O-modules Parameters of the I/O-modules 3.9.1 Digital input modules  BL20-4DI-NAMUR Table 3-9: Byte Parameter name Value Module param- – Meaning eters 0 to 3 input filter x 0 = deactivate A default – (input filter 0,25 ms) setting 1 = activate –...
  • Page 58 Parameters of the I/O-modules  BL20-2AI-I(0/4…20MA) (1 byte per channel) Table 3-11: Byte Parameter name Value Module param- current mode 0 = 0…20 mA eters 1 = 4…20 mA A default setting value representation 0 = Integer (15 bit + sign) 1 = 12 bit (left-justified) Diagnosis 0 = activate...
  • Page 59 Properties: gateway and I/O-modules  BL20-2AI-PT/NI-2/3 (2 byte per channel) Table 3-14: Byte Parameter name Value Module param- Mains suppression 0 = 50 Hz eters 0 = 60 Hz A default value representation 0 = Integer (15 bit + sign) setting 1 = 12 bit (left-justified) Diagnosis...
  • Page 60 Parameters of the I/O-modules  BL20-2AI-THERMO-PI (2 byte parameters per channel) Table 3-15: Byte Parameter name Value Module param- Mains suppression 0 = 50 Hz eters 0 = 60 Hz A default value representation 0 = Integer (15 bit + sign) setting 1 = 12 bit (left-justified) Diagnosis...
  • Page 61 Properties: gateway and I/O-modules  BL20-4AI-U/I (1 byte parameters per channel) Table 3-17: Byte Parameter name Value Module param- 0 to 3 reserved eters value representation 0 = Integer (15 bit + sign) A default 1 = 12 bit (left-justified) setting Diagnosis 0 = release...
  • Page 62 Parameters of the I/O-modules  BL20-2AIH-I Table 3-18: Byte Parameter name Value Module param- eters A default Channel 0 = activate setting (channel 1) 1 = deactivate short circuit diagnostics 0 = block 1 = release open circuit diagnostics 0 = block 1 = release 3 + 4 Operation mode...
  • Page 63 Properties: gateway and I/O-modules Table 3-18: Byte Parameter name Value Module param- eters HART®-Variable B Defines the channel of which the HART®-variable is read. channel mapping 0 = channel 1 1 = channel 2 6 + 7 variable mapping Defines which HART-variable of the connected sensor is mapped into the module’s process data.
  • Page 64 Parameters of the I/O-modules  BL20-E-8AI-U/I-4PT/Ni (1 byte per channel) Table 3-19: Byte Parameter Value Meaning Module param- name eters A default 0 to 7 0 to 5 Operation 000000 voltage, -10…10 V DC Standard setting mode B In 3-wire mea- 000001 voltage …10 VDC, standard surement, only...
  • Page 65 Properties: gateway and I/O-modules Table 3-19: Byte Parameter Value Meaning Module param- name eters 0 to 7 0 to 5 Operation 011110 Pt 1000, -200°C…850 °C, 3-wire mode 011111 Pt 1000, -200°C…150 °C, 3-wire 100000 Ni 100, -60 °C…250 °C, 2-wire 100001 Ni 100, -60°C…150 °C, 2-wire 100010...
  • Page 66: Analog Output Modules

    Parameters of the I/O-modules 3.9.3 Analog output modules  BL20-1AO-I(0/4…20MA) Table 3-20: Byte Parameter name Value Module param- current mode 0 = 0…20 mA eters 1 = 4…20 mA A default value representation 0 = Integer (15 bit + sign) setting 1 = 12 bit (left-justified) reserved...
  • Page 67 Properties: gateway and I/O-modules  BL20-2AO-U(-10/0…+10VDC) (3 byte per channel) Table 3-22: Byte Parameter name Value Module param- voltage mode 0 = 0…10 V eters 1 = -10…+10 V A default value representation 0 = Integer (15 bit + sign) setting 1 = 12 bit (left-justified) reserved...
  • Page 68 Parameters of the I/O-modules Table 3-23: Byte Parameter name Value Module param- eters A default setting value representation Kx 0 = Integer (15 bit + sign) (channel 1) 1 = NE 43 2 = Extended Range 6 + 7 Behavior on module bus error Ax substitute value Ax (channel 1)
  • Page 69 Properties: gateway and I/O-modules Table 3-23: Byte Parameter name Value Module param- eters A default setting HART®-variable C Defines the channel of which the HART®- variable is read. channel mapping 0 = channel 1 1 = channel 2 6 + 7 variable mapping Defines which HART-variable of the connected sensor is mapped into the...
  • Page 70 Parameters of the I/O-modules Table 3-24: Byte Parameter name Value Meaning Module param- eters 000111 reserved 001000 current, 0…20 mA, standard 001001 current, 4…20 mA, standard 001010 current, 0…20 mA, NE 43 001011 current, 4…20 mA, NE 43 001100 current, 0…20 mA, Extended Range 001101 current, 4…20 mA, Extended Range 001110...
  • Page 71: Technology Modules

    Properties: gateway and I/O-modules 3.9.4 Technology modules  BL20-1RS232 Table 3-25: Byte Parameter name Value Module param- eters A default Data rate 0000 = 300 bps setting to 0 0001 = 600 bps 0010 = 1200 bps 0100 = 2400 bps 0101 = 4800 bps 0110 = 9600 bps 0111 = 14400 bps...
  • Page 72 Parameters of the I/O-modules Table 3-25: Byte Parameter name Value Module param- eters A default Stop bits 0 = 1 bit setting 1 = 2 bit Parity 00 = none 01 = odd – The parity bit is set so that the total number of bits (data bits plus parity bit) set to 1 is odd.
  • Page 73 Properties: gateway and I/O-modules  BL20-1RS485/422 Table 3-26: Byte Parameter name Value Module param- eters A default 3 to 0 Data rate 0000 = 300 bps setting 0001 = 600 bps 0010 = 1200 bps 0100 = 2400 bps 0101 = 4800 bps 0110 = 9600 bps 0111 = 14400 bps 1000 = 19200 bps...
  • Page 74 Parameters of the I/O-modules Table 3-26: Byte Parameter name Value Module param- eters XON character 0 – 255 (17 only in the RS422-mode: XON character: This character is used to start the transmission of data from the data terminal device if the software handshake is active.
  • Page 75 Properties: gateway and I/O-modules Table 3-27: Byte Parameter name Value Module param- – Meaning eters 6 to 4 Number of invalid bits (MSB) 000 to 111 Number of invalid bits on the LSB side of the position value supplied by the SSI encoder. The meaningful word width of the position value transferred to the module bus master is as follows:...
  • Page 76 Parameters of the I/O-modules  BL20-E-1SWIRE Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte 1 reserved free free configura- Disable Cfg free tion Byte 2 free AUXERR INFO INFO INFO Byte 3 reserved Byte 4 reserved (life guarding time until version VN 01-03)
  • Page 77 Properties: gateway and I/O-modules Table 3-28: Parameter Value Module param- name eters Byte 1 Configuration check active/ Bus or slave-oriented configuration check (without function if MC = 1) passive 0 = Bus based If the PLC configuration check is activated, data exchange is only started if the configuration stored in the BL20-E-1SWIRE fully matches the SET configuration stored in the PLC.
  • Page 78 Parameters of the I/O-modules Table 3-28: Parameter Value Module param- name eters Byte 2 Group PKZ error field Activate slave diagnostics PKZ . As soon as a slave on the bus clears its PKZ bit, this is indicated as an individual error depending on the parameter setting. 0 = active Group diagnostics is activated 1 = inactive...
  • Page 79 0x20 SWIRE-DIL-MTB (: 0xFF) 0xFF Basic setting (no slave)  BL20-E-2CNT-2PWM (see separate manual for the module, D301224, „BL20 – I/O-MODULES BL20-E- 2CNT-2PWM“, chapter 2)  BL20-2RFID-S (see RFID-documentation www.turck.de) 3-56 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 80: Diagnostic Messages Of The Modules

    Diagnostic messages of the modules 3.10 Diagnostic messages of the modules 3.10.1 Power distribution modules  BL20-BR-24VDC-D Table 3-29: Diagnostic byte Diagnosis BL20-BR- 24VDC-D Module bus voltage warning reserved Undervoltage field supply reserved  BL20-PF-24VDC Table 3-30: Diagnostic byte Diagnosis BL20-PF-24VDC reserved reserved...
  • Page 81: Digital Input Modules

    Properties: gateway and I/O-modules 3.10.2 Digital input modules  BL20-4DI-NAMUR Table 3-32: Diagnostic byte Diagnosis BL20-4DI- NAMUR short circuit sensor 1 open circuit sensor 1 short circuit sensor 2 open circuit sensor 2 short circuit sensor 3 open circuit sensor 3 short circuit sensor 4 open circuit sensor 4 3.10.3 Analog input modules...
  • Page 82 Diagnostic messages of the modules  BL20-1AI-U(-10/0…+10VDC) Table 3-35: Diagnostic byte Diagnosis BL20-1AI-U (-10/0…10VDC) n (channel 1) Measurement value range error  BL20-2AI-U(-10/0…+10VDC) Table 3-36: Diagnostic byte Diagnosis BL20-2AI-U (-10/0…10VDC) n (channel 1) Measurement value range error n (channel 2) Measurement value range error ...
  • Page 83 Properties: gateway and I/O-modules  BL20-2AIH-I Table 3-39: Diagnostic byte Diagnosis BL20-2AIH-I overflow The measurement value exceeds the value ranges and the device is not able to capture these values. Open circuit Displays an open circuit in the signal line. Short circuit Displays a short circuit in the signal line.
  • Page 84: Digital Output Modules

    Diagnostic messages of the modules  BL20-E-8AI-U/I-4AI-PT/NI Table 3-41: Diagnostic byte Diagnosis BL20-E-8AI-U/I- 4AI-PT/NI A thresholds: Measurement value range error (OoR) value represen- (channel 0) Wire break (WB) tation of the to n + 7 module in man- (channel 7) Short circuit (SC) ual D300716 Overflow/ underflow (OUFL)
  • Page 85 Properties: gateway and I/O-modules  BL20-4DO-24VDC-0.5A-P Table 3-45: Diagnostic byte Diagnosis BL20-4DO- 24VDC-0.5A-P overcurrent /short-circuit (1 ch. min)  BL20-16DO-24VDC-0.5A-P Table 3-46: Diagnostic byte Diagnosis BL20-16DO- 24VDC-0.5A-P Overcurrent (short-circuit channel 1-4) Overcurrent (short-circuit channel 5-8) Overcurrent (short-circuit channel 9-12) Overcurrent (short-circuit channel 13-16) ...
  • Page 86: Analog Output Modules

    Diagnostic messages of the modules 3.10.5 Analog output modules  BL20-2AOH-I Table 3-48: Diagnostic byte Diagnosis BL20-2AOH-I Value above upper limit Display of a measurement range exceeding limit values according to parameterization Open circuit Displays an open circuit in the signal line. invalid value The output value exceeds the values which the module is able to interpret.
  • Page 87: Technology Modules

    Properties: gateway and I/O-modules 3.10.6 Technology modules  BL20-1CNT-24VDC Table 3-50: Diagnostic byte Diagnosis BL20-1CNT- 24VDC Short-circuit / open circuit DO  ERR_DO Short-circuit in sensor power supply, 24 V DC  ERR-24VDC if bit 7=0 (counter mode) End of counter range wrong Start of counter range wrong Invert-DI+latch-retr.
  • Page 88 Diagnostic messages of the modules  BL20-1RS485/422 Table 3-52: Diagnostic byte Diagnosis BL20-1RS485/ parameterization error Hardware failure Data flow control error (only in the RS422-mode) frame error buffer overflow  BL20-1SSI Table 3-53: Diagnostic byte Diagnosis BL20-1SSI SSI group diagnostics Open circuit sensor value overflow sensor value underflow...
  • Page 89 Properties: gateway and I/O-modules The following table shows the meaning of the diagnostic bits: Table 3-54: Designation Valu Meaning Meaning of the diagnostic bits Byte 1 SWIRE MASTER If the physical structure of the SWIRE bus does not match the configuration stored in the BL20-E-1SWIRE, this bit indicates an error.
  • Page 90 Diagnostic messages of the modules Table 3-54: Designation Valu Meaning Meaning of the diagnostic bits Byte 2 Communication SWIRE slave If the parameter SD A is set for group diagnostics, this bit indicates an error as soon as only one slave on the bus sets its SD No error is present or diagnostics function has been deactivated via the parameter setting.
  • Page 91 , TYP Sx, PKZ , PKZ Sx, SD and SD Sx can be AUXERR deactivated by a respective parameterization.  BL20-E-2CNT-2PWM (see separate manual for this module D301224)  BL20-2RFID-S (see RFID-documentation www.turck.de) 3-68 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 92: Implementation Of Ethernet/Ip

    Implementation of EtherNet/IP™ The EtherNet/IP™ Communications Profile....................2 4.1.1 Communications Profile for BL20..............................3 Device Level Ring (DLR) ..........................4 Diagnostic messages via the process data....................5 4.3.1 Summarized Diagnostics...................................5 4.3.2 Scheduled Diagnostics..................................5 Classes and Instances of the EtherNet/IP™-stations................... 6 4.4.1 EtherNet/IP™...
  • Page 93: The Ethernet/Ip™ Communications Profile

    Implementation of EtherNet/IP™ The EtherNet/IP™ Communications Profile TECHNICAL BASICS EtherNet/IP™ is based on a connection-oriented communication model. This means that it is only possible to exchange data via specified connections assigned to the devices. Communication between the nodes in the EtherNet/IP™ network can be carried out either via I/O Messages or Explicit Messages.
  • Page 94: Communications Profile For Bl20

    The EtherNet/IP™ Communications Profile 4.1.1 Communications Profile for BL20 BL20 behaves as an EtherNet/IP™ Server in the network; the scanner of the higher-level controller oper- ates as a EtherNet/IP™ Client. The following EtherNet/IP™ communications types are supported:  Unicast  Multicast ...
  • Page 95: Device Level Ring (Dlr)

    Implementation of EtherNet/IP™ Device Level Ring (DLR) The BL20-E-GW-EN (FW-Version  V 3.2.8.0) supports DLR. TECHNICAL BASICS The Device Level Ring (DLR)-redundancy protocol is used to increase the stability of EtherNet/IP™ networks. DLR-capable products provide an integrated switch and can thus be integrated into a ring topology.
  • Page 96: Diagnostic Messages Via The Process Data

    Diagnostic messages via the process data Diagnostic messages via the process data Besides the evaluation of diagnostic data via Explicit Messages, BL20 with EtherNet/IP™ offers the possibility of mapping diagnostic data into the process data (see also the stations‘ process data mappings (page 4-11 ff.).
  • Page 97: Classes And Instances Of The Ethernet/Ip™-Stations

    Implementation of EtherNet/IP™ Classes and Instances of the EtherNet/IP™-stations 4.4.1 EtherNet/IP™ Standard Classes The BL20-stations support the following EtherNet/IP™ Standard Classes in accordance with the CIP specification. Table 4-1: Class Code Object name EtherNet/IP™ 01 (0x01) Identity Object (0x01) Standard Classes 04 (0x04) Assembly Object (0x04)
  • Page 98: Identity Object (0X01)

    Get/ Type Description Instance attri- butes, object- 1 (0x01) VENDOR UINT Contains the vendor ID. instance 1 TURCK = 48 2 (0x02) PRODUCT TYPE UINT Indicates the general type of product. Communications Adapter = 0x0C 3 (0x03) PRODUCT CODE UINT Identifies a particular product within a device type.
  • Page 99 Implementation of EtherNet/IP™ Device Status Table 4-4: Name Definition Device Status 0 to 1 reserved Default = 0 Configured TRUE = 1  The application of the device has been configured ( default-settings). reserved Default = 0 4 to 7 Extended Device 0011 = no I/O connection established Status...
  • Page 100: Assembly Object (0X04)

    Classes and Instances of the EtherNet/IP™-stations 4.4.3 Assembly Object (0x04) Assembly Objects bind attributes of multiple objects to allow data to or from each object to be sent or received over a single connection. The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev. 2.1 by ODVA &...
  • Page 101: Process Data Instances

    Implementation of EtherNet/IP™ Process data instances Instance 101 Contains the station’s input data (static length 256 bytes). 2 Bytes status information (see page 3-29) + process data Instance 102 Contains the station’s output data (static length 256 bytes). 2 Bytes Control data (mapped, but not defined) + process data Instance 103 und Instance 104 In- and output assembly instances with variable assembly sizes.
  • Page 102: Mapping Of Process Data

    Classes and Instances of the EtherNet/IP™-stations Mapping of process data The process data image of the BL20-gateways is depicted in WORD-format (16 bit). The process data of successive modules of the same type, with process data of less than 1 word, are grouped together until 16 bits of process data is reached.
  • Page 103: Connection Manager Object (0X06)

    Implementation of EtherNet/IP™ 4.4.4 Connection Manager Object (0x06) This object is used for connection and connectionless communications, including establishing connections across multiple subnets. The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev. 2.1 by ODVA &...
  • Page 104: Tcp/Ip Interface Object (0Xf5)

    Classes and Instances of the EtherNet/IP™-stations 4.4.5 TCP/IP Interface Object (0xF5) The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev. 1.1 by ODVA & ControlNet International Ltd. and adapted to BL20. Class Attributes Table 4-11: Attr.
  • Page 105 Implementation of EtherNet/IP™ Common Services Table 4-13: Service code Class Instance Service name Common ser- 01 (0x01) Get_Attribute_All vices 02 (0x02) Set_Attribute_All 14 (0x0E) Get_Attribute_Single 16 (0x10) Set_Attribute_Single  Interface Status The Status attribute indicates the status of the TCP/IP network interface. Refer to the state diagram, Figure 4-1: TCP/IP object state diagram (acc.
  • Page 106 Classes and Instances of the EtherNet/IP™-stations  Configuration Control The Configuration Control attribute is used to control network configuration options. Table 4-16: Bit(s) Name Definition Configuration Startup Determines how the device shall obtain its initial configuration Control Configuration 0 = The device shall use the interface configuration values previously stored (for example, in non-volatile memory or via hardware switches, etc).
  • Page 107 Implementation of EtherNet/IP™ Figure 4-1: TCP/IP object Non-existent state diagram (acc. to CIP Powerup Reset Status = Spec., Vol.2, Rev. 0×00000000 1.1) Obtaining initial configuration BOOTP/DHCP disabled and BOOTP/DHCP stored config. BOOTP OR disabled and valid DHCP enabled stored config. valid Waiting configuration Set_Attributes...
  • Page 108: Ethernet Link Object (0Xf6)

    INTERFACE FLAGS G DWORD Table 4-19: Interface flags 3 (0x03) PHYSICAL ARRAY OF Contains the interface’s MAC address ADDRESS USINT (TURCK: 00:07:46:××:××:××) 6 (0x06) INTERFACE 2 WORD Allows port-wise changes of the Ethernet- CONTROL settings 7 (0x07) INTERFACE TYPE 10 (0x0A)
  • Page 109 Implementation of EtherNet/IP™ Table 4-19: Bits Name Definition Default value Interface flags 2 to 4 Negotiation Status Indicates the status of the automatic Depends on duplex-negotiation (auto-negotiation) application 0 = Auto-negotiation in progress 1 = Auto-negotiation and speed detection failed. Using default values for speed and duplex (10Mbps/half duplex).
  • Page 110: Vsc-Vendor Specific Classes

    VSC-Vendor Specific Classes VSC-Vendor Specific Classes In addition to supporting the above named CIP Standard Classes, the BL20-stations support the vendor specific classes described in the following. Table 4-21: Class Code Name Description VSC-Vendor dec. Specific Classes (hex.) 100 (64h) Gateway Class, page 4-20 Contains data and settings concerning the...
  • Page 111: Gateway Class (Vsc 100, 64H)

    Implementation of EtherNet/IP™ 4.5.2 Gateway Class (VSC 100, 64h) This class contains all information which refers to the whole station not to the different I/O channels. Class instance Note Please refer to paragraph Class Instance of the VSCs (page 4-19) for the description of the class instance for the VSC.
  • Page 112 VSC-Vendor Specific Classes Object Instance 2 Table 4-24: Attr. No. Attribute name Get/ Type Description Object instance dec. 2, gateway (hex.) instance Status register 2 STRUCT The Status Word contains general station (6Dh) status information: Station – Bit 15: reserved –...
  • Page 113 Implementation of EtherNet/IP™ Table 4-24: Attr. No. Attribute name Get/ Type Description Object instance dec. 2, gateway (hex.) instance GW Control Get/ DWORD Allows to enable/disable the control register (0x8B) Register which is part of the output data. 0 = deactivated 1 = activated (default) Disable Protocols Get/...
  • Page 114: Process Data Class (Vsc102, 66H)

    VSC-Vendor Specific Classes 4.5.3 Process Data Class (VSC102, 66h) This class contains the process-relevant information. Class instance Note Please refer to paragraph Class Instance of the VSCs, page 4-19 for the description of the class instance for the VSC. Object instance 1, standard input process data (compressed) Table 4-25: Attr.
  • Page 115: Object Instance 3, Diagnostic Instance

    Implementation of EtherNet/IP™ Object Instance 3, diagnostic instance Table 4-27: Attr. No. Attribute name Get/ Set Type Description Object Instance dec. (hex.) 3, diagnostic instance 104 (68h) BOOL 0 = disabled summarized 1 = active diagnostics 1 bit of diagnosis mapped at the end of the input data image ( page 4-5).
  • Page 116: Miscellaneous Parameters Class (Vsc 126)

    VSC-Vendor Specific Classes 4.5.4 Miscellaneous Parameters Class (VSC 126) Instance 1 (port 1)/ Instance 2 (port 2) Table 4-29: Attr. No. Attribute name Get/ Type Description Object Instance dec. (hex.) 109 (6Dh) Ethernet port DWORD 0 = Autonegotiate, AutoMDIX A default setting Parameters 1 = 100BaseT, half duplex, linear topology...
  • Page 117 Implementation of EtherNet/IP™ 4-26 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 118: Application Example: Bl20-E-Gw-En With Ethernet/Ip™ (Allen Bradley)

    Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) General................................ 5-2 5.1.1 Used hard-/ software ..................................5-2 – Hardware......................................5-2 – Software......................................5-2 Network configuration ..........................5-3 5.2.1 Configuration of the network in "RS Logix 5000".........................5-3 – Configuration of the controller...............................5-3 – Configuring the BL20-station ..............................5-4 5.2.2 Downloading the I/O configuration............................5-7 I/O data mapping ............................
  • Page 119: General

    Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) General The following example shows detailed information about the connection of a BL20-station for EtherNet/IP™ to an Allen Bradley PLC. 5.1.1 Used hard-/ software Hardware Hardware used in this example:  Allen Bradley PLC 1769-L30-ER/A Compact Logix5330ER Controller ...
  • Page 120: Network Configuration

    Network configuration Network configuration BL20-stations are delivered in the address-mode "PGM-DHCP" and can be reached using IP-address 192.168.1.254 . Note In order to build up the communication between the BL20-station and a PLC/ PC or a network interface card, both devices have to be hosts in the same network. To achieve this, you have either: ...
  • Page 121: Configuring The Bl20-Station

    Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) Configuring the BL20-station 3 Open the context menu by right-clicking "Ethernet" and select "New Module" in order to add the BL20-station to the network. 4 Open "Communications" and select the entry "Generic Ethernet Module" to configure the station. Figure 5-2: Add generic Ethernet mod-...
  • Page 122 The in- and output sizes have to match the sizes definitely required by the station. This required in- and output size can be determined as follows: Create a station report for the station using the TURCK DTMs for BLxx (see also Figure 5-4: EtherNet/IP™-report (PLC-configuration) (page...
  • Page 123 Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) 7 In the "Connection" tab set the "Requested Packet Interval" (RPI) to 10 ms, which normally should be the default setting. For BL20, the RPI should be set to 5 ms or higher. Figure 5-5: Set connection options for the...
  • Page 124: Downloading The I/O Configuration

    Network configuration 5.2.2 Downloading the I/O configuration 1 If the configuration of the network is completed, it can be downloaded to the controller by using for example the "Communication  Download" command. 2 In the "Download" dialog box, start the download by pressing the "Download" button. Figure 5-7: Download of the configura-...
  • Page 125 Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) 5 Once the I/O configuration is downloaded and the controller is in "Run" or "Remote Run" mode, the I/O-data mapping of the FGEN-stations is shown in the "Controller Tags": Figure 5-10: Controller Tags The controller tags are divided into: ...
  • Page 126: I/O Data Mapping

    I/O data mapping I/O data mapping Each station is now accessible via the controller tags for viewing input data and/or forcing outputs. The data mapping depends on process data mappings of the configured FGEN-modules (see chapter Assembly Object (0x04), Mapping of process data (page 4-11) ff.).
  • Page 127 Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) For the example station, the mapping in RS Logix looks as follows: Figure 5-12: Mapping of the BL20-station 5-10 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 128: Process Data Access

    Process data access Process data access 5.4.1 Setting outputs Example: In order to set outputs "0" and "1" at slot 5 of the station (BL20-2DO-24VDC-0.5A-P, see example station), bit 0 and bit 1 in data word 1 (BL20_E_GW_EN:I.Data [1]) have to be set (see above Figure 5-9:I/O data mapping (page 5-9)).
  • Page 129: Example Program

    Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) 5.4.2 Example program Figure 5-14: Example program 1 The counter counts upwards. 2 The counter value is mapped to the outputs of the two digital output modules in the station (slot 5 and slot 6). 5-12 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 130 Process data access 3 The counter is set to „0“ by setting the variable „xReset“ (BOOL) to „1“. „xReset“ has been defined and mapped to Bit BL20_E_GW_EN:I.Data[1].0 by building an Alias in the Main Program. Figure 5-15: Definition and mapping of xReset 5-13 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 131 Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley) 5-14 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 132: Implementation Of Modbus Tcp

    Implementation of Modbus TCP Common Modbus description........................6-2 6.1.1 Protocol description..................................6-3 6.1.2 Data model ......................................6-4 Implemented Modbus functions....................... 6-6 Modbus registers............................6-7 6.3.1 Structure of the packed in-/ output process data ......................6-12 – Packed input process data..............................6-12 – Packed output process data..............................6-13 –...
  • Page 133: Common Modbus Description

    Implementation of Modbus TCP Common Modbus description Note The following description of the Modbus protocol is taken from the Modbus Application Protocol Specification V1.1 of Modbus-IDA. Modbus is an application layer messaging protocol, positioned at level 7 of the OSI model, that provides client/server communication between devices connected on different types of buses or networks.
  • Page 134: Protocol Description

    Common Modbus description 6.1.1 Protocol description The Modbus protocol defines a simple protocol data unit (PDU) independent of the underlying communication layers. The mapping of Modbus protocol on specific buses or network can introduce some additional fields on the application data unit (ADU). Figure 6-2: Modbus tele- gram acc.
  • Page 135: Data Model

    Implementation of Modbus TCP If an error related to the Modbus function requested occurs, the field contains an exception code that the server application can use to determine the next action to be taken. Figure 6-4: Modbus data transmission (acc. to Modbus-IDA) 6.1.2 Data model...
  • Page 136 Common Modbus description BL20 devices have only one data block, whose data can be accessed via different Modbus functions. The access can be carried out either via registers (16-bit-access) or, for some of them, via single-bit- access. Figure 6-5: Picture of the data memory of the BL20 modules...
  • Page 137: Implemented Modbus Functions

    Implementation of Modbus TCP Implemented Modbus functions The BL20-gateways for Modbus TCP support the following functions for accessing process data, parameters, diagnostics and other services. Table 6-2: Function codes Implemented Function functions Description Read Coils Serves for reading multiple output bits. Read Discrete Inputs Serves for reading multiple input bits.
  • Page 138: Modbus Registers

    Modbus registers Modbus registers Note Table 6-5:, page 6-14 shows the register mapping for the different Modbus addressing methods. Table 6-3: Address (hex.) Access Description Modbus regis- ters of the module A ro = read only 0x0000 to 0x01FF packed process data of inputs rw = read/write (process data length of the modules ...
  • Page 139 Implementation of Modbus TCP Table 6-3: Address (hex.) Access Description Modbus regis- ters of the module 0x113E to 0x113F Modbus parameter save, page 6-18 (permanent storing of parameters) 0x1140 (VN 03-00 and Disable Protocol, page 6-18 higher) 0x1141 (VN 03-00 and Active Protocol, page 6-18 higher)
  • Page 140 Modbus registers The following table shows the register mapping for the different Modbus addressing methods Table 6-4: Description Decimal 5-digit Modicon Mapping of BL20-E-GW-EN Modbus regis- ters (holding registers) packed input data 0x0000 40001 400001 0x01FF 40512 400512 packed output data 0x0800 2048 42049...
  • Page 141 Implementation of Modbus TCP Table 6-4: Description Decimal 5-digit Modicon Mapping of BL20-E-GW-EN Modbus regis- ters (holding registers) Disable protocol (VN 03-00 and higher) 0x1140 4416 44417 404417 Active protocol (VN 03-00 and higher) 0x1141 4417 44418 404418 service-object, response-area, 0x2080 8320 48321...
  • Page 142 Modbus registers Table 6-4: Description Decimal 5-digit Modicon Mapping of BL20-E-GW-EN Modbus regis- ters (holding registers) Diagnostics (max. 32 modules per station 0xA000 to × 32 registers for module-ID) 0xA400 slot 1 0xA000 40960 440961 slot 2 0xA020 40991 440992 slot 3 0xA040 41023...
  • Page 143: Structure Of The Packed In-/ Output Process Data

    Implementation of Modbus TCP 6.3.1 Structure of the packed in-/ output process data In order to assure a largely efficient access to the process data of a station, the module data are consistently packed and mapped to a coherent register area. The I/O-modules are divided into digital and intelligent modules (analog modules, serial interfaces).
  • Page 144: Packed Output Process Data

    Modbus registers Status/ diagnosis The area "status/diagnosis" comprises a maximum of 9 registers. The first register contains a common gateway-/station-status. The following registers (max. 8) contain a group diagnostic bit for each I/O-module which shows whether a diagnostic message is pending for the relevant module or not. Status/ diagnosis n + 0x0000 n + 0x0008...
  • Page 145: Data Width Of The I/O-Modules In The Modbus-Register Area

    Implementation of Modbus TCP Data width of the I/O-modules in the modbus-register area The following table shows the data width of the BL20-I/O-modules within the modbus register area and the type of data alignment. Table 6-5: Module Process input Process output Alignment Data width of the I/O-modules...
  • Page 146 Modbus registers Table 6-5: Module Process input Process output Alignment Data width of the I/O-modules A The process data – Technology modules of the SWIRE- BL20-1RS××× 4 word 4 word word by word modules is mapped into the BL20-1SSI 4 word 4 word word by word register area for...
  • Page 147: Register 0X100C: Gateway Status

    Implementation of Modbus TCP 6.3.2 Register 0x100C: Gateway status This register contains a general gateway/ station status. Table 6-6: Name Description Register 100Ch: Gateway status Gateway reserved Force Mode Active Error The Force Mode is activated, which means, the actual output values may no match the ones defined and sent by the field bus.
  • Page 148: Register 0X1130H: Modbus-Connection-Mode

    Modbus registers 6.3.3 Register 0x1130h: Modbus-Connection-Mode This register defines the behavior of the Modbus connections: Table 6-7: Name Register – Description 0x1130h: Modbus- 15 to 2 reserved Connection- MB_ImmediateWritePermission Mode A default – 0: With the first write access, a write authorization for the respective Modbus-connection setting is requested.
  • Page 149: Register 0X113E And 0X113F: „Save Modbus-Connection-Parameters

    Implementation of Modbus TCP 6.3.6 Register 0x113E and 0x113F: „Save Modbus-Connection-Parameters“ Registers 0x113E and 0x113F are used for permanent storing the parameters in registers 0x1120 and 0x1130 to 0x113B. For this purpose, write 0x7361 to register 0×113E. To activate the saving of the registers, write 0×7665 ("save") within 30 seconds in register 0×113F.
  • Page 150: Register 0X2000 Bis 0X207F: The Service-Object

    Modbus registers 6.3.9 Register 0x2000 bis 0x207F: The Service-Object The service-object is used to execute one-time or acyclic services. It is an acknowledge service which may serve, for example, to parameterize an I/O-module. 2000 2080 20FF service request area service response area The service request area allows write access, the service response area only read access.
  • Page 151: Indirect Reading Of Registers

    Implementation of Modbus TCP Supported service numbers: Table 6-8: Service-Code Meaning Supported 0x0000 no function service numbers 0x0003 indirect reading of registers 0x0010 indirect writing of registers A service request may have the following results: Table 6-9: Service-Code Meaning results of the 0x0000 error free execution of service service request...
  • Page 152 Modbus registers Indirect writing of registers 1 to 122 ( Count) Modbus-registers are read, starting with address Addr.)  service-request 2000 2001 2002 2003 2004 2005 207F Service- 0x0000 0x0010 Addr Count register contents number  service response 0x2080 0x2081 0x2082 0x2083 0x2084...
  • Page 153: Bit Areas: Mapping Of Input-Discrete- And Coil-Areas

    Implementation of Modbus TCP Bit areas: mapping of input-discrete- and coil-areas The digital in- and outputs can be read and written (for outputs) as registers in the data area of the packed in- and output process data. Note In the packed process data, the digital I/O data are stored following the variable in- and output data area of the intelligent modules, which means they are stored with a variable offset, depending on the station’s I/O-configuration.
  • Page 154: Error Behavior Of Outputs (Watchdog)

    Error behavior of outputs (watchdog) Error behavior of outputs (watchdog) In case of a failure of the Modbus communication, the outputs’ behavior is as follows, depending on the defined time for the Watchdog (register 0x1120 (page 6-7)):  watchdog = 0 ms (default) ...
  • Page 155 Implementation of Modbus TCP 6-24 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 156 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Used hard-/ software............................. 2 7.1.1 Hardware.........................................2 7.1.2 Software........................................2 Network configuration ..........................3 Programming with CoDeSys ........................4 7.3.1 Predefined feature sets ..................................4 7.3.2 Creating a new project..................................5 7.3.3 Defining the communication settings............................7 –...
  • Page 157: Hardware

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Used hard-/ software 7.1.1 Hardware  BL20-E-GW-EN, VN 03-00 (IP-address 192.168.1.16) – BL20-2DI-24VDC-P – BL20-4DI-24VDC-P – BL20-1AI-U(-10/0…+10VDC) – BL20-2AI-THERMO-PI – BL20-2DO-24VDC-0.5A-P – BL20-E-8DO-24VDC-0.5A-P 7.1.2 Software  CoDeSys 3.4, SP3, Patch 1 ...
  • Page 158: Network Configuration

    Network configuration Network configuration BL20-stations are delivered in the address-mode "PGM-DHCP" and can be reached using IP-address 192.168.1.254 . Note In order to build up the communication between the BL20-station and a PLC/ PC or a network interface card, both devices have to be hosts in the same network. To achieve this, you have either ...
  • Page 159: Programming With Codesys

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Programming with CoDeSys Open CoDeSys via "Start  All programs  3S CoDeSys  CoDeSys  CoDeSys V 3.4“. 7.3.1 Predefined feature sets In this example, CoDeSys is run with the "Professional feature set" not with the "Standard feature set". This setting has influence on different CoDeSys functions and can be changed via "Tools ...
  • Page 160: Creating A New Project

    Programming with CoDeSys 7.3.2 Creating a new project 1 Create a new CoDeSys-project using the "File   New project" command. Figure 7-2: New project 2 Select "Standard project" and define a project name. Figure 7-3: Standard proj- D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 161 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 3 Select the PLC used in the project. In this example, the CoDeSys Control Win V3 is used. 4 Please define also your preferred programming language. In this example, Structured Text is used. Figure 7-4: Selection of CoDeSys...
  • Page 162: Defining The Communication Settings

    Programming with CoDeSys 7.3.3 Defining the communication settings Double-clicking the "Device (CoDeSys Control Win V3)" opens the corresponding editors. The communication path (Gateway) to the HMI is defined in the "Communication Settings" tab. Gateway definition 1 Use the "Add gateway"-button to open the dialog box "Gateway" and, where necessary, assign a new gateway name.
  • Page 163: Setting The Communication Path

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Setting the communication path 1 Mark the gateway and scan the network via the respective button. 2 The network card of your PC will be found and set as active path. Figure 7-7: Setting the com- munication...
  • Page 164: Adding The Ethernet Adapter

    Programming with CoDeSys 7.3.4 Adding the Ethernet Adapter Open again the context menu by right-clicking the Device entry. In the dialog "Add Device" select the 3S Ethernet Adapter under "fieldbusses  Ethernet Adapter" and add it to the project tree. Figure 7-8: Adding the Ethernet...
  • Page 165: Adding The Modbus Master

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 7.3.5 Adding the Modbus master A right-click on the Ethernet-master opens the context menu. Select "Add Device" and add the Modbus TCP-master to the network. Figure 7-9: Adding the Modbus master 7-10 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 166: Adding A Modbus Tcp Slave

    Programming with CoDeSys 7.3.6 Adding a Modbus TCP slave 1 Now, add the Modbus TCP slaves to the project and rename them if necessary. Figure 7-10: Selecting a slave 7-11 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 167 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 2 Again, a double-click onto the slave in the project tree opens the respective editors. 3 In the "Modbus TCP Slave“"-tab, set the nodes IP-address (in this example: address 192.168.1.16 ). All other settings can be kept.
  • Page 168: Programming (Example Program)

    Programming with CoDeSys 7.3.7 Programming (example program) The programming is done under PLC-PRG in the project tree. This example is programmed in Structured Text (ST) as defined under Creating a new project (page 7-5). Small example program 1 The counter counts 2 Counter-reset via setting the variable "xReset"...
  • Page 169: Codesys: Global Variables

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 7.3.8 CoDeSys: Global variables Global variables are defined either in the Global Variable List (see page 7-14) or directly in the I/O Mappings of the single stations. Figure 7-13: Example for the definition of a global vari- able...
  • Page 170: Modbus Channels

    Programming with CoDeSys 7.3.9 Modbus channels The communication between Modbus TCP master and Modbus slaves is realized through defined Modbus channels. These channels are set in the register-tab "Modbus Slave Channel" using the "Add Channel..." button. The process data of a slave can then be monitored under "ModbusTCPSlave I/O Mapping"...
  • Page 171: Modbus Data Mapping

    The mapping for the input and output data of a BL20-Modbus-station depends on it's configuration. The TURCK-software "I/O-ASSISTANT (FDT/DTM" offer the possibility to create a Modbus-report for each Modbus-station, which shows the in-and output data mapping as well as the parameter- and diagnostic data mappings for the respective station.
  • Page 172 Programming with CoDeSys Figure 7-16: Modbus report - Mapping of parameter and diagnostic data Note Detailed information about the modbus registers of the BL20-stations can be found in the descriptions in chapter 6.3. 7-17 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 173: Setting The Modbus-Channels (Examples) And Data Mapping

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Setting the Modbus-channels (examples) and data mapping 1 Writing of %QW0 and mapping of the counter value (VAR "Counter", see PLC_PRG, page 7-13) to the output byte of the station (%QW0). Write: %QW0 –...
  • Page 174 Programming with CoDeSys Mapping: counter value to %QW0 – The mapping of the counter value (VAR "Counter") to the station 's output register is done the the "ModbusTCPSlave I/O Mapping". Double click the field "variable" in the respective line. Use the "..."-button to open the dialog box "Input Assistant"...
  • Page 175 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 2 Read: Bit 0 in register 0x0003 has to be read out ( reset the counter (with „xReset“ = 1) Read: %IW0 – Access Type: Read Holding Registers (function code 03) –...
  • Page 176 Programming with CoDeSys Figure 7-21: Modbus chan- nel, read "xRe- set", FC03 Mapping: "xReset" (global variable) to %IX0.0 in %IW0 – "xReset" is mapped to the first bit in %IW0 of BL20-2DI-24VDC-P . This is done in the "ModbusTCPSlave I/O Mapping". –...
  • Page 177 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) – Confirm with "OK". A "1" at bit %IX0.0 will now reset the counter to zero. Figure 7-22: Mapping of "xReset" to bit %IX0.0 7-22 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 178 Programming with CoDeSys 3 Read: Reading the station's Status Word – Access Type: Read Holding Registers (function code 03) – Read Register, Offset: 0x0004 (see below) – The station's Status Word is read from register 0×0004 and displayed in &IW1 in the ModbusTCPSlave I/O Mapping.
  • Page 179 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Figure 7-25: Status Word in the process image 7-24 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 180 Programming with CoDeSys 4 Write: Parameters of the station  Disable channel diagnosis at channel 1 at slot 3 of the station BL20-1AI-U(-10/0…+10VDC) Writing parameters is normally done once during the program start and is thus not set as a "normal" Modbus channel under "ModbusSlave Channel", but as an Initialization channel under "Modbus Slave Init"...
  • Page 181: Building, Login And Start

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 7.3.10 Building, login and start 1 The WIN V3-PLC has to be running. This is done in the Windows-task bar: Figure 7-28: Starting the WIN V3-PLC 2 Building the program: Figure 7-29: Building the program 7-26...
  • Page 182 Programming with CoDeSys 3 Login: Figure 7-30: Login 4 Start the program: Figure 7-31: Starting the program 7-27 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 183: Reading Out The Process Data

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 7.3.11 Reading out the process data The station's process data are shown in the register tab "ModbusTCPSlave I/O Mapping". Note In order assure a regular updating of the process data, activate the function "Always update variables".
  • Page 184: Diagnosis Evaluation

    Programming with CoDeSys 7.3.12 Diagnosis evaluation Evaluation of the Status word of the BL20-Station (%IW1) Register 0x0004 contains the Status-word of the Station (see Modbus data mapping (page 7-16)). According to the definition of the Modbus communication channel (see Setting the Modbus-channels (examples) and data mapping (page 7-18), it is read from %IW1 of the station image.
  • Page 185 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) The message has to be interpreted as follows: Status-register  %IW 1, bit 0 = 1  status message: „DiagWarn“ = active diagnosis at least one module at the gateway sends a diagnostic message (see also Register 0x100C: Gateway status (page 6-16)).
  • Page 186 Programming with CoDeSys According to the examples for setting the modbus channels (see Setting the Modbus-channels (examples) and data mapping (page 7-18)), the following channel is add to read out the group diagnosis register. Read Holding Registers (FC3), register 0×0005, length 1 Figure 7-35: Channel for reading out the...
  • Page 187: Evaluation Of The Module Diagnosis Information

    Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) Evaluation of the module diagnosis information The diagnosis data of module BL20-2AI-THERMO-PI at slot 4 of the example station can be found in registers 0×A060 to 0×A07F (see also Modbus TCP-report (Figure 7-16: Modbus report - Mapping of parameter and diagnostic data (page 7-17)), whereby only register 0×A060 contains diagnosis...
  • Page 188 Programming with CoDeSys Meaning: Bit 1: Open circuit at channel 1 (see also Diagnostic messages of the modules (page 3-57)) Figure 7-39: Mapping of diagnosis data according to Modbus report 7-33 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 189 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3) 7-34 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 190: Implementation Of Profinet

    Implementation of PROFINET® Address assignment........................... 8-2 GSDML-file ..............................8-3 Default-values ............................8-3 Diagnosis in PROFINET®..........................8-4 8.4.1 Gateway Error codes ..................................8-4 8.4.2 Channel -specific error codes of the I/O-modules ......................8-5 – Meaning of the error codes for the BL20 I/O-modules....................8-5 Parameterization .............................8-10 8.5.1 Gateway parameters..................................
  • Page 191: Address Assignment

    Implementation of PROFINET® Address assignment Note In PROFINET®, the connected device is not identified by it’s IP address, but recognized and addressed by it’s device name. The selection of a device name for a special IO device can thus be compared to the setting of the PROFIBUS address for a DP slave.
  • Page 192: Mrp (Media Redundancy Protocol)

    MRP (Media Redundancy Protocol) MRP (Media Redundancy Protocol) The BL20-E-GW-EN (VN 03-00, FW version  V3.2.9.0) supports MRP. MRP is a standardized protocol according to IEC 62439. It describes a mechanism for media redundancy in ring topologies. A Media Redundancy Manager (MRM) checks the ring topo-logy of a PROFINET network defined by the network configuration for functionality.# All other network nodes are Media Redundancy Clients (MRC).
  • Page 193: Gsdml-File

    Implementation of PROFINET® GSDML-file You can download the actual GSDML file for the gateway BL20-E-GW-PN “GSDML-V××-Turck-BL20- ×××.xml“ from our Homepage www.turck.com. Default-values Default-values: IP-address 192.168.1.254 subnet mask: 255.255.255.0 Name: Note When storing the device name or the IP address or when resetting the gateway to the default values, the GW-LED switches to orange.
  • Page 194: Diagnosis In Profinet

    Diagnosis in PROFINET® Diagnosis in PROFINET® In PROFINET®, critical events (diagnostic messages) are reported acyclically as alarms. In addition to information as slot-number, subslot-number, channel type etc., the diagnostic telegrams contain error codes which define the diagnostic event more precisely. The error codes are interpreted by the PLC-software or respective function block, so that the diagnostic messages are normally displayed as plain text.
  • Page 195: Channel -Specific Error Codes Of The I/O-Modules

    Implementation of PROFINET® 8.5.2 Channel -specific error codes of the I/O-modules The channel-specific diagnostic messages of the I/O-modules using error codes are defined as follows: Table 8-2: Value (dec.) Diagnosis channel-specific error codes Error codes (1 to 9 according to the standards) Short circuit Under voltage overload...
  • Page 196 Diagnosis in PROFINET® The following table shows, which module message will be changed to which error code. Table 8-3: PROFINET® Error code possible module diagnostics Error codes / Text I/O module diagnostic message of the module module diag- (dec.) nostics Short circuit BL20-2AIH-I Short circuit...
  • Page 197 Implementation of PROFINET® Table 8-3: PROFINET® Error code possible module diagnostics Error codes / Text I/O module diagnostic message of the module module diag- (dec.) nostics open circuit BL20-×AI-I(0/4...20MA) open circuit BL20-2AI-PT/NI-2/3 BL20-2AI-THERMO-PI BL20-2AIH-I BL20-4AI-U/I BL20-E-8AI-U/I-4AI-PT/NI BL20-E-4AI-TC BL20-2AOH-I BL20-4DI-NAMUR overshoot upper BL20-×AI-×...
  • Page 198 Diagnosis in PROFINET® Table 8-3: PROFINET® Error code possible module diagnostics Error codes / Text I/O module diagnostic message of the module module diag- (dec.) nostics error BL20-E-8AI-U/I-4AI-PT/NI overflow/ underflow OUFL BL20-E-4AO-U/I BL20-2AOH-I invalid value parameterization BL20-E-1SWIRE PLC SLAVE, RDYerr error BL20-1RS×××...
  • Page 199 Implementation of PROFINET® Table 8-3: PROFINET® Error code possible module diagnostics Error codes / Text I/O module diagnostic message of the module module diag- (dec.) nostics Common error BL20-2AIH-I HART® status error BL20-E-4AI-TC Measurement value range error BL20-2AOH-I HART® status error BL20-E-1SWIRE general error message, GEN BL20-1SSI...
  • Page 200: Parameterization

    Parameterization Parameterization 8.6.1 Gateway parameters The BL20-gateways for PROFINET® occupie 4 parameter bytes. Description of the gateway-parameters Table 8-4: Byte Bit parameters Value Meaning gateway parameters A default Byte 0 setting bit 0, bit 1 Output behavior if one module is missing output 0 The gateway switches the outputs of modules to "0".
  • Page 201 Implementation of PROFINET® Table 8-4: Byte Bit parameters Value Meaning gateway parameters bit 2, bit 3 Output behavior if one module is wrong A default hold current value The gateway maintains the actual output settings of setting all modules (with the exception of analog output modules).
  • Page 202 Parameterization Table 8-4: Byte Bit parameters Value Meaning gateway parameters A default Bit 2: Disable output power diagnosis setting inactive A A monitoring of the field supply V (from the gateway and the Power-Feeding modules) is activated. If this parameter is set but the parameter "Diagnostics from modules"...
  • Page 203: I/O-Module-Parameters

    Implementation of PROFINET® 8.6.2 I/O-module-parameters The decription of the signle I/O-module-parameters is protocol-independent and can thus be found in chapter 3.9, Parameters of the I/O-modules (page 3-34). 8.6.3 Parameter "module parameterization" Each parameterizable module, gets the additional parameter "module parameterization" via the GSDML-file of the gateway.
  • Page 204: Description Of User Data For Acyclic Services

    STRING Product name of the gateway (0x02) Designation Gateway revision STRING Firmware-revision of the gateway (0x03) Vendor-ID WORD Ident number for TURCK (0x04) Gateway-Name STRING Name assigned to the gateway (0x05) Gateway type STRING Device type of the gateway (0x06)
  • Page 205: Description Of The Acyclic Module User Data

    Implementation of PROFINET® Table 8-5: Index Name Data Type r/w Comment Gateway Appli- cation Instance Module diag. list Array of List of all module diagnosis (0x22) BYTE messages Module parameter list Array of List of all module parameters (0x23) BYTE reserved (0x24) to 45039...
  • Page 206 Description of user data for acyclic services Input data specific Input data of the respective module (0x13) reserved (0x14) to 22 (0x16) Output data specific Output data of the respective (0x17) module 24 (0x18) to reserved 31 (0x1F) 32 (0x20) to Profile-specific These indices are reserved for the data of several module 255 (0xFF)
  • Page 207 Implementation of PROFINET® 8-18 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 208: Application Example: Bl20-E-Gw-En With Profinet® (S7)

    Application example: BL20-E-GW-EN with PROFINET® (S7) Application example..........................9-2 9.1.1 General.........................................9-2 9.1.2 Example network .....................................9-2 9.1.3 New project in the Simatic Manager............................9-3 9.1.4 Setting the PG/PC-interface .................................9-3 9.1.5 Installation of the GSDML-files..............................9-4 9.1.6 Adding PROFINET®-network nodes............................9-8 – Adding a BL20-gateway and configuring the BL20-station ..................9-9 9.1.7 Configuring the BL20-station ..............................
  • Page 209: Application Example

     Siemens PLC S7, CPU 315-2 PN/DP, 6ES7 315-2EH14-0AB0, V3.2 – device name: pn-io – IP address: 192.168.1.112  FGEN-IOM88-5001 – device name: turck-fgen-107 – IP-address: not assigned, yet  FGEN-XSG16-5001 – device name: turck-fgen-90 – IP-address: not assigned, yet ...
  • Page 210: New Project In The Simatic Manager

    Application example 9.1.3 New project in the Simatic Manager 1 Create a new project in the Simatic Manager using the "File New"-command 2 Add a Simatic station to the project using the "Insert  station..."-command. In this example a "Simatic 300 station" is used. Figure 9-1: Selecting a Simatic station...
  • Page 211: Installation Of The Gsdml-Files

    GSD-files. Figure 9-3: GSD files install 2 Define the directory for the TURCK GSDML-files by browsing the directories and add the BL20 PROFINET® gateway to the hardware catalog. Figure 9-4: Install GSD files D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 212 Application example The new gateway can now be found under "PROFINET IO  Additional Field Devices  I/O  TURCK". Figure 9-5: BL20 gateway in the hardware catalog 3 Chose the profile rack "RACK-300" for the Siemens CPU from the catalog and add it to the network window.
  • Page 213 Application example: BL20-E-GW-EN with PROFINET® (S7) 4 After this, select the Siemens CPU from the hardware catalog. In this example a CPU 315-2 PN/DP, version 6ES7 315-2EH14-0AB0 (V 3.2). is used. Figure 9-6: Selecting the 5 In the dialog "Properties Ethernet Interface", define the IP address and the subnet mask for the S7 CPU and add the subnet using the "New..."...
  • Page 214 Application example Figure 9-8: Add new Ethernet subnet D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 215: Adding Profinet®-Network Nodes

    The nodes of the example network (see page 9-2) are added to the PROFINET® as follows:  FGEN – FGEN-IOM88-5001, device name: turck-fgen-107 – FGEN-XSG16-5001, device name: turck-fgen-90 Figure 9-9: Add network node D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 216: Adding A Bl20-Gateway And Configuring The Bl20-Station

    Now, the BL20-gateway is selected from the Hardware Catalog and added to the configuration  BL20-E-GW-EN – Device name: not assigned, yet – IP-address: not assigned, yet 1 Select the gateway under "PROFINET IO  Additional Field Devices I/O TURCK  BL20" and add it to the Ethernet-network. Figure 9-10: Select BL20 gateway 2 A double-click on the gateway-symbol opens the dialog "Properties TURCK".
  • Page 217 3 Enter the gateway’s device name in this dialog. Figure 9-11: Dialog: Properties TURCK Note In PROFINET®, the connected device is not identified by it’s IP address, but recognized and addressed by it’s device name. The selection of a device name for a special IO device can thus be compared to the setting of the PROFIBUS address for a DP slave.
  • Page 218: Configuring The Bl20-Station

    Application example 9.1.7 Configuring the BL20-station After the assignment of the device name, the I/O modules, which are connected to the BL20 gateway, are added to the station. They have to be selected from the Hardware Catalog in the same order as they appear physically in the station.
  • Page 219: Scanning The Network For Profinet® Nodes

    Application example: BL20-E-GW-EN with PROFINET® (S7) 9.1.8 Scanning the network for PROFINET® nodes The Simatic hardware configuration offers the possibility to browse the PROFINET® network using a broadcast command in order to find active PROFINET® nodes. The active nodes are identified via their MAC address.
  • Page 220: Device Name Assignment Bl20-Gateway

    Device name assignment BL20-gateway If necessary, the deivce name can now be changed to the needs of the application. In this example, the following name is assigned to the BL20-gateway:  Device name: turck-bl20-e-1 Figure 9-14: Adaptation of the Ethernet node configura-...
  • Page 221: Profinet® Neighborhood Detection Via Lldp

    Application example: BL20-E-GW-EN with PROFINET® (S7) 9.1.9 PROFINET® neighborhood detection via LLDP Due to the neighborhood detection, there is no previous PROFINET® name assignment (see Device name assignment BL20-gateway (page 9-13) is necessary for a new device of the same type and with an identical process data width in case of a device exchange.
  • Page 222: Configuring The Neighborhood Detection

    Application example Configuring the neighborhood detection A neighbor-port can be assigned to each Ethernet-port of a device. In case of a device exchange, this port is then used to assign the IP-address and the device name to the new device. The definition of the partner-port is done either in the properties of the devices' Ethernet-ports or directly in the PROFINET®...
  • Page 223 Application example: BL20-E-GW-EN with PROFINET® (S7)  Neighborhood-assignment using the Topology Editor. The assignment of neighboring devices is done either in the tabular or the graphical view. The copper ports of the devices are shown in green, the fiber-optic-ports in orange. Figure 9-17: PROFINET®...
  • Page 224: Online Topology Detection

    Application example 9.1.10 Online topology detection The Step 7 software allows an offline/online comparison of the configured and the actually present topology. 1 Start the "Offline/ online comparison" in the Topology Editor using the "Start"-button in the respective tab. Figure 9-18: PROFINET®...
  • Page 225: Diagnostics With Step 7

    Application example: BL20-E-GW-EN with PROFINET® (S7) Diagnostics with Step 7 9.2.1 Diagnostic messages in the hardware configuration The BL20 gateways for PROFINET® show gateway diagnostics and channel-specific module diagnostics in the hardware configuration of the Step 7-software. Furthermore a special help text, which clearly specifies the error, is given for each diagnostic message: Figure 9-19: Diagnostics A channel-specific...
  • Page 226: Diagnostic Telegram With Error Code

    Diagnostics with Step 7 9.2.2 Diagnostic telegram with error code Figure 9-20: Diagnostic message A slot-no. B subslot-no. C error code D plaint text diag- nostic message 9-19 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 227 Application example: BL20-E-GW-EN with PROFINET® (S7) 9-20 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 228 10 Guidelines for station planning 10.1 Module arrangement ..........................10-2 10.1.1 Random module arrangement..............................10-2 10.1.2 Complete planning..................................10-2 10.1.3 Maximum system extension ..............................10-3 10.2 Power supply ............................10-6 10.2.1 Power supply to the gateway ..............................10-6 10.2.2 Module bus refreshing (BL20-BR-24VDC-D) ........................10-6 10.2.3 Creating potential groups................................
  • Page 229: Module Arrangement

    Guidelines for station planning 10.1 Module arrangement 10.1.1 Random module arrangement The arrangement of the I/O-modules within a BL20 station can basically be chosen at will. Nevertheless, it can be useful with some applications to group certain modules together. Note A mixed usage of gateways of the BL20 ECO and the BL20 standard product line and I/O modules of both product lines (base modules with tension clamp terminals) is possible without any problems.
  • Page 230: Maximum System Extension

    Module arrangement 10.1.3 Maximum system extension The maximum number of modules connected to the gateway BL20-E-GW-EN depends on the following:  The station extension may not exceed the maximum number of 32 modules.  Die maximum number of 192 communications bytes, which are transferred via the module bus from the gateway to the modules may not be exceeded (see below Table 10-1: Communication bytes and nominal current consumption of the...
  • Page 231 Guidelines for station planning Table 10-1: Module Communication bytes Nominal current Communica- (on the module bus) consumption at the tion bytes and module bus nominal current consumption of the BL20- modules BL20-32DI-24VDC-P 30 mA BL20-1AI-I(0/4…20MA) 41 mA BL20-2AI-I(0/4…20MA) 35 mA BL20-1AI-U(-10/0…+10VDC) 41 mA BL20-2AI-U(-10/0…+10VDC)
  • Page 232 Module arrangement Table 10-1: Module Communication bytes Nominal current Communica- (on the module bus) consumption at the tion bytes and module bus nominal current consumption of the BL20- modules BL20-1SSI 50 mA BL20-2RFID-× 30 mA BL20-E-1SWIRE 60 mA 10-5 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 233: Power Supply

    Guidelines for station planning 10.2 Power supply 10.2.1 Power supply to the gateway The gateway BL20-E-GW-EN offers an integrated power supply (see also Power supply (page 3-14)). 10.2.2 Module bus refreshing (BL20-BR-24VDC-D) The number of BL20 modules, which can be supplied via the internal module bus by the gateway or a Bus Refreshing module depends on the modules’...
  • Page 234: Creating Potential Groups

    Power supply 10.2.3 Creating potential groups Power Feeding modules can be used to create potential groups. The potential isolation of potential groups to the left of the respective power distribution modules is provided by the base modules. Note The system can be supplied with power independent of the potential group formation. When using a digital input module for 120/230 V AC, it should be ensured that a potential group is created in conjunction with the Power Feeding module BL20-PF-120/230VAC-D.
  • Page 235 Guidelines for station planning Warning It is permitted to load the C-rail with a maximum of 24 V. Not 230 V! The C-rail can be used as required by the application, for example, as a protective earth (PE). In this case, the PE connection of each power distribution module must be connected to the mounting rail via an additional PE terminal, which is available as an accessory.
  • Page 236: Direct Wiring Of Relay Modules

    Power supply Figure 10-5: 8 DI 2 DO ECO 2 DO 2 DI Using the C-rail as protective earth and for the power SERVICE supply with relay modules MODE GND L U SYS C-rail (PE) C-rail (24 V DC) GND SYS SBBC SBBC SBCS...
  • Page 237: Protecting The Service Interface On The Gateway

    Guidelines for station planning 10.3 Protecting the service interface on the gateway During operation, the label protecting the service interface and the DIP-switches must remain in place due to EMC and ESD requirements. 10.4 Plugging and pulling electronics modules BL20 enables the pulling and plugging of electronics modules without having to disconnect the field wiring.
  • Page 238: Firmware Download

    Firmware download 10.6 Firmware download The firmware download to BL20-E-GW-EN (< VN 03-00) using the software I/O-ASSISTANT 3 (FDT/DTM) can only be executed via Ethernet. The download using the USB-interface is not supported. More information is available in the program’s online help. Attention - The station should be disconnected from the fieldbus when downloading.
  • Page 239 Guidelines for station planning 10-12 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 240: Guidelines For Electrical Installation

    11 Guidelines for Electrical Installation 11.1 General notes ............................11-2 11.1.1 General......................................11-2 11.1.2 Cable routing ....................................11-2 – Cable routing inside and outside of cabinets......................... 11-2 – Cable routing outside buildings............................11-3 11.1.3 Lightning protection..................................11-3 11.1.4 Transmission media..................................11-3 11.2 Potential relationships ..........................11-4 11.2.1...
  • Page 241: General Notes

    Guidelines for Electrical Installation 11.1 General notes 11.1.1 General Cables should be grouped together, for example: signal cables, data cables, heavy current cables, power supply cables. Heavy current cables and signal or data cables should always be routed in separate cable ducts or bundles.
  • Page 242: Lightning Protection

    (10BaseT) with shielding (STP) or without shielding (UTP) Note TURCK offers a variety of cable types for fieldbus lines as premoulded or bulk cables with different connectors. The ordering information on the available cable types can be taken from the BL20-catalog.
  • Page 243: Potential Relationships

    Guidelines for Electrical Installation 11.2 Potential relationships 11.2.1 General The potential relationship of a Ethernet system realized with BL20 modules is characterized by the following:  The system supply of gateway and I/O-modules as well as the field supply are realized via one power feed at the gateway.
  • Page 244: Electromagnetic Compatibility

    Electromagnetic compatibility(EMC 11.3 Electromagnetic compatibility(EMC BL20 products comply in full with the requirements pertaining to EMC regulations. Nevertheless, an EMC plan should be made before installation. Hereby, all potential electromechanical sources of interference should be considered such as galvanic, inductive and capacitive couplings as well as radiation couplings. 11.3.1 Ensuring electromagnetic compatibility The EMC of BL20 modules is guaranteed when the following basic rules are adhered to: ...
  • Page 245: Mounting Rails

    Guidelines for Electrical Installation 11.3.5 Mounting rails All mounting rails must be mounted onto the mounting plate with a low impedance, over a large surface area, and must be correctly earthed. Use corrosion-resistant mounting rails Figure 11-2: F 200 mm F 200 mm / 7.87 inch Mounting options...
  • Page 246: Shielding Of Cables

    Shielding of cables 11.4 Shielding of cables Shielding is used to prevent interference from voltages and the radiation of interference fields by cables. Therefore, use only shielded cables with shielding braids made from good conducting materials (copper or aluminum) with a minimum degree of coverage of 80 %. The cable shield should always be connected to both sides of the respective reference potential (if no exception is made, for example, such as high-resistant, symmetrical, analog signal cables).
  • Page 247: Potential Compensation

    Guidelines for Electrical Installation 11.5 Potential compensation Potential differences can occur between installation components that are in separate areas if these  are fed by different supplies,  have double-sided conductor shields which are grounded on different installation components. A potential-compensation cable must be routed to the potential compensation. Warning Never use the shield as a potential compensation.
  • Page 248: Bl20-Approvals For Zone 2/ Division

    12 BL20-Approvals for Zone 2/ Division 2 Note The Zone 2 - approval certificates for BL20 can be found in a separate manual for approvals D301255 under www.turck.de. D301173 0713 - BL20- Ethernet multiprotocol gateway 12-1...
  • Page 249 BL20-Approvals for Zone 2/ Division 2 12-2 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 250: Appendix

    13 Appendix 13.1 Data image of the technology modules ....................13-2 13.1.1 1RS232/ 1RS485-module................................13-2 – Process input data ..................................13-2 – Process output data ................................. 13-4 13.1.2 SSI module....................................... 13-6 – Process input data ..................................13-6 – Process output data ................................13-11 13.1.3 SWIRE-module....................................13-13 –...
  • Page 251: Data Image Of The Technology Modules

    Appendix 13.1 Data image of the technology modules 13.1.1 1RS232/ 1RS485-module Process input data Process input data is data from the connected field device that is transmitted via the BL××-1RS×××- module to the PLC. The BL××-1RS×××-module sends the data, received by the device, into a 128-byte receive-buffer.
  • Page 252 Data image of the technology modules Table 13-1: Designation Valu Description Meaning of the data bits BufOvfl; Diagnostic information (correspond to the diagnostic information in the (process input) FrameErr; diagnosis telegram). HndShErr; These diagnostics are always displayed and independent to the setting of the HwFailure;...
  • Page 253: Process Output Data

    Appendix Process output data Process output data are data which are sent from the PLC via the gateway and the BL××-1RS×××- module to a connected field device. The data received from the PLC are loaded into the 64-bit transmit-buffer in the BL××-1RS×××-module. The transmission is realized in a 8-byte format which is structured as follows: ...
  • Page 254 Data image of the technology modules Table 13-2: Designation Valu Description Meaning of the data bits (process output) RXBUF FLUSH 0 - 1 The RXBUF FLUSH bit is used for clearing the receive buffer. If STATRES = 1: A request with RXBUF FLUSH = 1 will be ignored. If STATRES = 0: RXBUF FLUSH = 1 will clear the receive buffer.
  • Page 255: Ssi Module

    Appendix 13.1.2 SSI module Process input data The field input data is transferred from the connected field device to BL20-1SSI-module. The process input data is the data that is transferred by the BL20-1SSI-module via a gateway to the PLC. The transmission is realized in a 8-byte format which is structured as follows: ...
  • Page 256 Data image of the technology modules Figure 13-3: Process input data of the SSI- module Meaning of the data bits (process input) Table 13-3: Designation Value Description Meaning of the data bits (process input) REG_RD_DATA 0… Content of the register to be read if REG_RD_ABORT=0. If REG_RD_ABORT =1, then REG_RD_DATA=0.
  • Page 257 Appendix Table 13-3: Designation Value Description Meaning of the data bits (process input) REG_WR_AKN No modification of the data in the register bank by process output, i.e. REG_WR = 0. A write job would be accepted with the next telegram of process output data.
  • Page 258 Data image of the technology modules Table 13-3: Designation Value Description Meaning of the data bits (process input) STS_CMP2 A comparison of the register contents has produced the following result: (REG_SSI_POS)  (REG_CMP1) A comparison of the register contents has produced the following result: (REG_ SSI_POS) = (REG_CMP2) REL_CMP1...
  • Page 259 Appendix Table 13-3: Designation Value Description Meaning of the data bits (process input) ERR_SSI SSI encoder signal present. SSI encoder signal faulty. (e.g. due to a cable break). SSI_DIAG No enabled status signal is active (SSI_STSx = 0). At least one enabled status signal is active (SSI_STSx = 1) 13-10 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 260: Process Output Data

    Data image of the technology modules Process output data Field output data is output from an BL20-1SSI-module to a field device. The process output data is the data that is transferred by the PLC via a gateway to the BL20-1SSI module.
  • Page 261 Appendix Meaning of the data bits (process output) Table 13-4: Designation Value Description Meaning of the data bits (process output) REG_WR_DATA 0… 2 Value which has to be written to the register with the address REG_WR_ADR. REG_RD_ADR 0…63 Address of the register which has to be read. If the reading was successful (REG_RD_ABORT = 0), the user data can be found in REG_RD_DATA in the status interface (bytes 4-7).
  • Page 262: Swire-Module

    Data image of the technology modules 13.1.3 SWIRE-module SWIRE in Modbus In Modbus, the process data of SWIRE-modules are mapped to the data area for digital In- and output modules not to the data area for intelligen modules (see chapter 6.3, page 6-7 ff.)
  • Page 263 Appendix Table 13-5: Design. Status Comment Data bits PKZSTx Switch status, PKZ x The motor-protective circuit breaker is off or has tripped The motor-protective circuit breaker is switched on Communication error, slave x Setting the parameter SC Sx sets the SCx-bit in the process input data. The DIAG information is provided as status information in the PLC for the user.
  • Page 264: Encoder/Pwm-Modulebl20-E-2Cnt-2Pwm

    Detailed information about the process image of the module can be found in separate manual, D301224, „BL20 – I/O-MODULES BL20-E-2CNT-2PWM“, chapter 2) 13.1.5 RFID-moule BL20-2RFID-S/ -A BL20-2RFID-S and BL20-2RFID-A (see RFID-documentation under www.turck.de) 13-15 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 265: Changing The Ip Address Of A Pc/ Network Interface Card

    Appendix 13.2 Changing the IP address of a PC/ network interface card 13.2.1 Changing the IP address in Windows The IP address is changed in the Control Panel:  in Windows 2000/Windows XP under "Network Connections",  in Windows 7 under "Network and Sharing Center". Figure 13-5: Changing the IP address in...
  • Page 266 Changing the IP address of a PC/ network interface card Figure 13-6: Changing the IP address in Windows 7 13-17 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 267: Changing The Ip Address Via I/O-Assistant V3

    Appendix 13.2.2 Changing the IP address via I/O-ASSISTANT V3 The Busaddress Management DTM in the software I/O-ASSISTANT (access via: "Additional functions  Busaddress Management") offers the possibility to browse the whole Ethernet network for connected nodes and to change their IP address as well as the subnet mask according to the application (see also ). Further information about this issue can be found under Adressierung über I/O-ASSISTANT 3 (FDT/ DTM) (page...
  • Page 268: Deactivating/ Adapting The Firewall In Windows

    Deactivating/ adapting the firewall in Windows 13.3 Deactivating/ adapting the firewall in Windows When using the Windows Firewall, problems may occur while changing IP addresses via the I/O-ASSISTANT. In this case, you can deactivate the system integrated Windows firewall com- pletely or adapt it to your application.
  • Page 269 Appendix  Adapting the Windows firewall The firewall remains active, the option "Don’t allow exceptions" it deactivated: Figure 13-10: Adapting the Firewall in Win- dows 2000/ XP 13-20 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 270 Deactivating/ adapting the firewall in Windows Figure 13-11: Adapting the Firewall in Win- dows 7 13-21 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 271: Addressing Via Dhcp

    Appendix 13.4 Addressing via DHCP In this application example, the IP address is set via DHCP using the software tool "BootP/DHCP-Server" version 2.3.2.0 from Rockwell Automation. Figure 13-12: BootP-Server from Rockwell Automation Addresses in the range from 1 to 254 can be allocated. The addresses 0 and 255 are reserved for broadcast messages in the subnet.
  • Page 272 Addressing via DHCP A double click on the request-entry opens the "New Entry" dialog box in which an IP address can be assigned to the s MAC-ID. Figure 13-14: Setting the IP address via DHCP The BootP/DHCP-Server sends the IP Address via BootP/DHCP to the device and, after a few seconds, the stations answers with its new IP address when having stored it.
  • Page 273: Ident Codes The Bl20-Modules

    Appendix 13.5 Ident codes the BL20-modules Each module is identified by the gateway using a unique identifier. Table 13-7: Module ident code Module ident codes Digital input modules BL20-2DI-24VDC-P 0x210020x× BL20-2DI-24VDC-N 0x220020x× BL20-2DI-120/230VAC 0x230020x× BL20-4DI-24VDC-P 0x410030x× BL20-4DI-24VDC-N 0x420030x× BL20-4DI-NAMUR 0x015640x× BL20-E-8DI-24VDC-P 0x610040x×...
  • Page 274 Ident codes the BL20-modules Table 13-7: Module ident code Module ident codes BL20-16DO-24VDC-0,5A-P 0x413005×× BL20-E-16DO-24VDC-0.5A-P 0x820005×× BL20-32DO-24VDC-0,5A-P 0x614007×× Analog output modules BL20-1AO-I(0/4…20MA) 0x010605×× BL20-2AO-I(0/4…20MA) 0x220807×× BL20-2AO-U(-10/0…+10VDC) 0x210807×× BL20-2AO-H 0x217AB7×× BL20-E-4AO-U/I 0x417A09×× Relay modules BL20-2DO-R-NC 0x230002×× BL20-2DO-R-NO 0x220002×× BL20-2DO-R-CO 0x210002×× technology modules BL20-1RS232 0x014799××...
  • Page 275 Appendix 13-26 D301173 0713 - BL20- Ethernet multiprotocol gateway...
  • Page 276 14 Glossary Acknowledge Acknowledgment of a signal received. Active metal component Conductor or conducting component that is electrically live during operation. Address Identification number of, e.g. a memory position, a system or a module within a network. Addressing Allocation or setting of an address, e. g. for a module in a network. Used to definitely allocate the hardware addresses (MAC-IDs) assigned worldwide to the IP addresses of the network clients via internal tables.
  • Page 277 Glossary Bus system All units which communicate with one another via a bus. Capacitive coupling Electrical capacitive couplings occur between cables with different potentials. Typical sources of interference are, for example, parallel-routed signal cables, contactors and electrostatic discharges. Check-back interface The check-back interface is the interface from the counter module to the internal module bus.
  • Page 278 German acronym for European Standard. Electrostatic Discharge. Field power supply Voltage supply for devices in the field as well as the signal voltage. Fieldbus Data network on sensor/actuator level. A fieldbus connects the equipment on the field level. Characteristics of a fieldbus are a high transmission security and real-time behavior.
  • Page 279 Glossary Inactive metal components Conductive components that cannot be touched and are electrically isolated from active metal components by insulation, but can adopt voltage in the event of a fault. Inductive coupling Magnetic inductive couplings occur between two cables through which an electrical current is flowing. The magnetic effect caused by the electrical currents induces an interference voltage.
  • Page 280 Programmable Logic Controller. Potential compensation The alignment of electrical levels of electrical components and external conductive components by means of an electrical connection. Potential free Galvanic isolation of the reference potentials in I/O-modules of the control and load circuits. Potential linked Electrical connection of the reference potentials in I/O-modules of the control and load circuits.
  • Page 281 Glossary Shielding Description of all measures and devices used to join installation components to the shield. Short-circuit proof Characteristic of electrical components. A short-circuit proof part withstands thermal and dynamic loads which can occur at its place of installation due to a short circuit. Station A functional unit or I/O components consisting of a number of elements.
  • Page 282 Index acyclic services firmware download ............. 8-15 ............ 10-11 Address assignment Flexibility ............. 3-15 ................. 2-2 address assignment ............8-2 auxiliary power supply ........... 3-9 Gateway –block diagram ............... 3-7 Base modules –parameters ..............2-7 ..............8-11 basic concept gateway ..............
  • Page 283 Index –SWIRE ................ 13-13 process input –SSI ................13-6 Process out –SWIRE ................ 13-14 Process output –RS××× ................. 13-4 process output –SSI ................13-11 product overview ............2-1 shield ................11-7 Software ..............5-2 storage ................1-5 supply voltage ............3-9 3-14 Terminal Slot Class ............
  • Page 284 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...

Table of Contents