turck TBEN EN1 Series Getting Started Manual
turck TBEN EN1 Series Getting Started Manual

turck TBEN EN1 Series Getting Started Manual

Spanner modules

Advertisement

Quick Links

Your Global Automation Partner
TBEN-L...-EN1/FEN20-EN1
Spanner Modules
Getting Started Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TBEN EN1 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for turck TBEN EN1 Series

  • Page 1 Your Global Automation Partner TBEN-L…-EN1/FEN20-EN1 Spanner Modules Getting Started Guide...
  • Page 2 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 3: Table Of Contents

    FEN20-EN1 Address Setting for Spanner Modules Address setting at TBEN-L…-EN1 Address Setting at FEN20-EN1 Assign the IP Address with Turck Service Tool (Port 1 only) The Web Server Security in the Web Server Address Setting via the Web Server Web Server and Spanner Data Mapping 6.3.1 Spanner Data Mapping...
  • Page 4 PROFINET – Process Data Mapping Mapping the TBEN-L5-EN1 into a TIA Portal V13 Project Appendix 10.1 Spanner Mode 10.2 1:1 NAT-Router Mode Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 5: About These Instructions

    About these Instructions The purpose of this document is to guide customers in installing and commissioning the TBEN-Lx- EN1 and FEN20-EN1 Ethernet spanners. 2018/03...
  • Page 6 About these Instructions Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 7: Notes On The Product

    45472 Muelheim an der Ruhr Germany Turck supports you with your projects, from initial analysis to the commissioning of your applica- tion. The Turck product database contains software tools for programming, configuration or com- missioning, data sheets and CAD files in numerous export formats. You can access the product data- base at the following address: www.turck.en/products...
  • Page 8 Notes on the Product Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 9: Product Description

    Product Description Properties and Features  Two Ethernet ports that can be addressed individually  Data exchange via a 240 word (480 byte) data table  Spanner port 1 supports EtherNet/IP™ and Modbus TCP, spanner port 2 supports EtherNet/IP™ and Modbus TCP and PROFINET ...
  • Page 10: Device Overview

    10/100 Mbps Connection technology 2 × M12, 4-pole, D-coded Protocol detection Automatic Web server 192.168.1.254 (Default) Service interface Ethernet via P1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 11 Protocol properties Modbus TCP Address assignment Static IP (rotary coding switches), BOOTP, DHCP Supported Function Codes FC1, FC2, FC3, FC4, FC5, FC6, FC15, FC16, FC23 Number of connections Input data size Max. 240 registers Register start address 12288 (0x3000) Output data size Max.
  • Page 12 60.4 × 230.4 × 24 mm (w × l ×h) Material Fibre-glass reinforced Polyamide (PA6-GF30) Window material Lexan Screw material 303 Stainless Steel Halogen-free Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 13: Block I/O Module Fen20-En1

    Block I/O Module FEN20-EN1 3.3.1 Device Overview 62,5 Fig. 2: Dimensions 3.3.2 Technical data Supply voltage Supply voltage 24 VDC Operating/load voltage 12…30 VDC Operating current 100 mA Electrical isolation 500 V galvanic IO to Ethernet  2.4 W Power loss, typical Connection technology voltage supply screw terminals Inputs...
  • Page 14 - 40 °C…+ 70 °C (- -40 °F…+158 °F) – Storage/transport - 40 °C…+ 85°C (- -40 °F…+185 °F) Protection class IP20 Approvals CE, cULus Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 15: Connecting

    Connecting Connecting TBEN-L…-EN1 Connecting the Device to Ethernet For the connection to Ethernet, the device has an integrated autocrossing switch with two 4-pin M12 Ethernet sockets. The maximum tightening torque is 0.6 Nm. Fig. 3: M12 Ethernet sockets  Connect the device to the field bus according to the pin assignment shown below. 1 = TX + 2 = RX + 3 = TX –...
  • Page 16 If a common reference potential is not required, remove the grounding clamp to disconnect the fieldbus shield or fix the module with a plastic screw. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 17: Fen20-En1

    Removing the Grounding Clamp  Use a flat standard screwdriver to lever the grounding clip upwards and remove it. Fig. 6: Removing the grounding clamp Mounting the Grounding Clamp  Insert the grounding clamp between the fieldbus connectors (using a screwdriver if necessary) so that it makes contact with the metal housing of the connector.
  • Page 18 9 = I 7 1 2 3 4 5 6 7 8 9 10 5 = I/O 3 10 = V Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 19: Address Setting For Spanner Modules

    When using the rotary-mode, the last byte of the station’s IP address can be set via the rotary coding switches.  Switch position 000: in TURCK devices used to reset the device to the default IP address (see Resetting the IP-Address, Switch Position "000" (Seite 19)).
  • Page 20 If a DHCP-server is used within the network, problems may occur during IP-assignment. In this case, both, the DHCP-server as well as the PROFINET-controller (via DCP), try an IP- address-assignment. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 21 Resetting the IP-Address, Switch Position "000" With this setting the DIP-switches to "000" followed by a voltage reset, the device is set to the address 192.168.1.254 (see Default Setting of the Device (Seite 19)). NOTE Setting "000" is no operation mode! After having reset the IP address to the default values, the device has to be set to another mode.
  • Page 22  Screw the protective cover over the rotary coding-switches firmly  Check if seal of the protective cover is correctly placed Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 23: Address Setting At Fen20-En1

    1 for the Turck Service Tool to work correctly. The address of port 2 can not be set with Turck Service Tool. If the IP addresses for both ports need to be assigned, the web server or PROFINET DCP is recommended and discussed in the follow- ing section.
  • Page 24 Fig. 14: Turck Service Tool – Change device configuration  The IP address is set.  Close the Turck Service Tool. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 25: The Web Server

    The Web Server  Configure the device via the web server. Security in the Web Server In the web server, a default-password is assigned in the devices for the administrator access. In order to make misuse by third parties more difficult, it can be necessary to change the password. This should be done in the context of the network security concept for the complete facility in which the modules are placed.
  • Page 26 Log into the web server with the default password “password”. The password can be reset by per- forming a factory reset on the device. Fig. 16: Web server – Station Configuration  Open the “Network Configuration”. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 27  Enter the IP addresses for port 1 and port 2. Fig. 17: Web server – Network Configuration  Write the IP addresses into the device via “Submit”. 2018/03...
  • Page 28  The IP addresses for port 1 and port 2 are set. Fig. 18: Web server – changes IP addresses Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 29: Web Server And Spanner Data Mapping

    Web Server and Spanner Data Mapping 6.3.1 Spanner Data Mapping The data map of the spanner can be seen on the “Station Information” page of the web server under “Spanner Status”. Fig. 19: Web server – Spanner Status The data map consists of 240 16-bit words. The status table for port 1 shows the value of each word that is being written by the device that is mapped to port 1.
  • Page 30: Modbus Tcp - Status- And Input Data Mapping

    GSDML file. 6.3.2 Modbus TCP – Status- and Input Data Mapping Fig. 20: Web server – Modbus TCP data mapping Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 31: Ethernet/Ip™ - Status- And Input Data Mapping

    6.3.3 EtherNet/IP™ – Status- and Input Data Mapping Fig. 21: Web server – EtherNet/IP™ data mapping 2018/03...
  • Page 32 The Web Server Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 33: Operating Spanner Modules At Modbus Tcp

    Operating Spanner Modules at Modbus TCP Implemented Modbus Functions TBEN-L…-EN1 and FEN20-EN1 support the following functions for accessing process data, parame- ters, diagnostics and other services. Function codes Function Description Read Holding Registers Reading multiple output registers Read Input Registers Reading multiple input registers.
  • Page 34: Modbus Tcp - Registers

    : Only one Modbus-connection can receive the write permission. A write permission is opened until a Disconnect. After the Disconnect the next connection which requests a write access receives the write authorization. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 35: Register 0X1131: Modbus Connection Timeout

    7.3.2 Register 0x1131: Modbus Connection Timeout This register defines after which time of inactivity a Modbus connection is closed through a Discon- nect. Behavior of the BUS LED In case of a connection timeout the BUS LED's behavior is as follows: Connection Timeout BUS LED time-out...
  • Page 36: Mapping The Fen20-En1 Into A Codesys V3 Project

     Create a TX507 Portrait project in CODESYS V3.5 (CODESYS V3.5 SP 8 Patch 1). Fig. 24: CODESYS – Create a project with TX507 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 37  Scan the network and add the TX507 HMI as Modbus Master. Fig. 25: CODESYS – scanning the network  Right Click the device and add an Ethernet Adapter Card (Turck V3.5.7.20 or newer). Fig. 26: CODESYS – Adding the Ethernet adapter...
  • Page 38  Open the Ethernet adapter by double-clicking. Click „…“ and accept the IP address of the HMI with “OK”. Fig. 27: CODESYS – IP address of HMI Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 39  Right click “Ethernet”, click “Add Device…” and add a Modbus TCP Master. Fig. 28: CODESYS – adding the Modbus TCP Master  Once the “Modbus_TCP_Master” is added, double click on it and check the “Auto-reconnect” box. Fig. 29: CODESYS – activating “Auto-reconnect” 2018/03...
  • Page 40 1 of the FEN20-EN1 spanner at IP address 192.168.1.60. Fig. 31: CODESYS – Mapping of port 1 of FEN20-EN1 to IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 41  In the “Modbus Slave Channel” tab enter the parameters below to use all of the 240 I/O words in the FEN20-EN1. Fig. 32: CODESYS – Modbus TCP Slave channels  The following Modbus Slave channels have been added. Fig. 33: CODESYS – Modbus TCP Slave channels 2018/03...
  • Page 42  Click “Online”  “Login” and download the program to the TX507.  Follow the prompts. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 43  Click “Start” to start the program. Fig. 35: CODESYS – Starting the program  Port 1 is scanned. Fig. 36: CODESYS – spanner port1 2018/03...
  • Page 44 2 of the spanner. Fig. 39: Modbus Server Tester – writing of data at port 2 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 45 Fig. 40: Web server – port 2 spanner data This data is now reflected in the input words (IWs) of the TX507 CODESYS V3 HMI. Fig. 41: CODESYS – input data of TX507 2018/03...
  • Page 46 Operating Spanner Modules at Modbus TCP Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 47: Operating Spanner Modules At Ethernet/Ip

    Operating Spanner Modules at EtherNet/IP™ EtherNet/IP™ Standard Classes Class Code Object name 01 (0x01) Identity Objekt (0x01) 04 (0x04) Assembly Object (0x04) 06 (0x06) Connection Manager Object (0x06) 245 (0xF5) TCP/IP Interface Object (0xF5) 246 (0xF6) Ethernet Link Object (0xF6) Ethernet/IP™...
  • Page 48: Mapping The Fen20-En1 Into A Rslogix Project „Ethernet/Ip Generic Device

     Sett the IP addresses for the FEN20-EN1 spanner as follows via the web server. Fig. 43: Webserver – setting the addresses at FEN20-EN1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 49 Creating a New Project  Right-click "Ethernet" and click "New Module…". Fig. 44: RSLogix – adding a new module  Select “Generic Ethernet Module” and click “OK”. Fig. 45: RSLogix – select “Generic Ethernet Module“ 2018/03...
  • Page 50 Fig. 47: RSLogix – settings “Connection”  Go online and download the project to the controller. Set the controller to “RUN Mode”. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 51 Fig. 48: RSLogix – output data Writing values to the output data tags of the FEN20 spanner module will be reflected in the “Port 2 Spanner Data map” in the web server. These values can also be read in as inputs by a device hooked to port 1 of the spanner.
  • Page 52 Fig. 51: MODBUS Server Tester – Writing the inputs Corresponding Port 1 Spanner data in the web server Fig. 52: Web server – port 1 spanner data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 53 This data is now reflected in the Input tags of the EtherNer/IP™ PLC. Fig. 53: RSLogix – input tags Mapping the FEN-20-EN1 Spanner into a RSLogix Project via EDS File  Add a “new module” to the project. Fig. 54: RSLogix – New Module 2018/03...
  • Page 54  Select the number of 16 bit words to use with the spanner. The recommended data size is INT. Add the IP address and click “OK”. Fig. 56: RSLogix – configuring FEN20-EN1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 55  The spanner can now be used as in the sample above. Fig. 57: RSLogix – FEN20-EN1 in the project 2018/03...
  • Page 56 Operating Spanner Modules at EtherNet/IP™ Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 57: Operating Spanner Modules At Profinet (Port 2 Only)

    PROFINET – Process Data Mapping The PROFINET process data map is defined in the PROFINET project by the GSDML file. Download the appropriate GSDML file www.turck.com.  Download and install the GSDML file for the spanner module. Mapping the TBEN-L5-EN1 into a TIA Portal V13 Project Set the IP addresses for the TBEN-L5-EN1 spanner as follows via the web server.
  • Page 58  Create a project in TIA Portal. Fig. 59: TIA-Portal – new project  Use the Hardware catalog to add a PLC to the project. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 59 Fig. 60: TIA-Portal – adding the PLC  Use the “Properties”  “PROFINET Interface” tab to assign the IP address and PROFINET device Name to the PLC. Fig. 61: TIA-Portal – properties of the PLC 2018/03...
  • Page 60  Use the Hardware catalog to add a spanner module to the project. Fig. 62: TIA-Portal – adding the spanner module Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 61  Use the “Properties”  “PROFINET Interface” tab to assign the IP address and PROFINET device name to the spanner module. Fig. 63: TIA-Portal – assigning properties to the spanner module NOTE PROFINET is only supported on port 2 of the spanner module. Beim Anschluss der If the PROFINET cable is hooked to port 1 the spanner module will not respond to the PROFINET PLC.
  • Page 62  In the Project Tree, open the “Online Access” tab at the used network interface and update the list off connected devices via “Update accessible devices”. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 63  Verify that the IP address and PROFINET name match for the connected device. Fig. 65: TIA-Portal – accessible devices Above you can see the PROFINET name of the TBEN-L5-EN1 does not match the name we pro- grammed into the project “TBEN-EN1”. ...
  • Page 64  In the Project Tree, open the “Online Access” tab at the used network interface and update the list off connected devices via “Update accessible devices”. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 65  Verify that the PROFINET name of the spanner module was changed. Fig. 67: TIA-Portal – updated accessible devices  In the “Network View” make the network connection from the PLC to the spanner module. Fig. 68: TIA-Portal – connection between PLC and spanner module ...
  • Page 66  Once the “Load results” window is loaded check the “Start all” radio button and click “Finish”. Fig. 70: TIA-Portal – Load results  Click "Go online". Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 67  The module is now connected to the PLC and the PLC is running. Fig. 71: TIA-Portal – PLC running  In the project tree, under “Watch and force tables”, select “Add New Watch Table”.  Add I/O to the watch table. ...
  • Page 68 These values can also be read in as inputs by a device hooked to port 1 of the spanner. Fig. 74: TIA-Portal – watch table Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 69 Corresponding port 2 spanner data in the web server: Fig. 75: Web server – port 2 spanner data Input values (IWs) for port 1 will be reflected in the “Port 1 Spanner data map” in the Webserver. These values need to be written by a device connected to port 1. Connecting the Modbus Server Tester to port 1 (192.168.1.100) and writing inputs 0…9 generates the following data words on port 1 of the spanner module.
  • Page 70 This data is now reflected in the Input words (IWs) of the PROFINET PLC. Fig. 78: TIA-Portal – watch table Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 71: 10 Appendix

    10 Appendix 10.1 Spanner Mode The spanner has multiple applications for spanning different networks. 1 Communication between two different Ethernet networks. The use of the spanner module avoids conflicting IP addresses. 2 Bidirectional data exchange between identical controllers 3 Connection of 2 PLCs (with different subnets) without router 2018/03...
  • Page 72: 1:1 Nat-Router Mode

    NAT device operates protocol-independently and transports IP frames between two networks, changing the IP header in some cases. Fig. 79: 1:1 NAT mode Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 73 Configuring the spanner module for 1:1 NAT router mode  Set IP addresses for Port1, Port2 and the default gateway in the spanner module. Fig. 80: Web server - Setting IP addresses The following 4 blocks are mapped to the internal network of the spanner module: Fig.
  • Page 74 The mappings are entered after logging in to the web server under "Network Configuration". Fig. 82: Web server – mapping Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 75  The connected devices now respond to requests from the external network. These devices can be mapped into a PLC or SCADA (Supervisory Control and Data Acquisition) on the external net- work. Fig. 83: Web server – mapping 2018/03...
  • Page 76 Appendix Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 77 Over 30 subsidiaries and over 60 representations worldwide! 100002231 | 2018/03 *100002231* www.turck.com...

This manual is also suitable for:

Fen20-en1 seriesTben-l5-en16814035

Table of Contents