turck TBEN-L Series, TBEN-L4, TBEN-L5 Operating Instructions Manual

Page 1
Your Global Automation Partner
TBEN-L
Compact I/O Modules for Ethernet
Operating instructions
Page 2
Page 3
Table of Contents
1 About these Instructions 7
1.1 Target Groups 7
.2 Explanation of Symbols 7
1
1.3 Additional Documents 8
1.4 Feedback about these Instructions 8
2 Notes on the Product 9
2.1 Product Identification 9
1.1 Scope of Delivery 9
2.
2.1.2 Legal Requirements 9
2.1.3 Manufacturer and Service 9
3 For Your Safety 11
3.1 Intended Use 11
2 General Safety Instructions 11
3.
4 Product Description 13
4.1 Device Overview 13
1.1 Dimensions 13
4.
4.2 Properties and Features 14
4.3 Protocols 15
4.3.1 Explicit/Manual Protocol Selection 15
4.3.2 Protocol Dependent Functions 15
5 Con
5.1 Device Configuration Files 17
5.2
5.2.1 Mode: Static Rotary 18
5.2.2 Mode: BootP (300) 19
5.2.3 Mode: DHCP (400) 19
5.2.4 Mode: PGM (500) 20
5.2.5 Mode: PGM-DHCP (600) 20
5.2.6 Resetting the IP Address, Switch Position "000" 20
5.2.7 Factory Reset (F_Reset), Switch Position "900" 21
5.2.8 Functional Difference: Switch Position "000" and "900" 21
5.2.9 Address Setting via DTM 22
5.2.10 Address Setting via Web Server 22
figuring 17
Address Assignment 18
5.3 SET Button 22
1
Page 4
6Mounting 23
6.1 Grounding the Device 24
6.1.1 Grounding and Shielding Concept 24
6.1.2 Grounding the Device (FE) 25
7Connecting 27
7.1 Connecting the Devices to Ethernet 27
7.1.1 Ethernet-Connection for QC/FSU Applications 27
7.2 Connect Power Supply 28
7.2.1 Supply Concept 29
7.3 Connecting Digital Sensors and Actuators 30
7.3.1 Inputs 30
7.3.2 Outputs 31
7.3.3 In- and Outputs 31
8 Device Characteristics 33
8.1 Block Diagrams 33
8.2 General Technical Data 34
8.3 TBEN-Lx-16DIP/TBEN-L4-16DIN 36
8.3.1 Technical Data 36
8.3.2 Wiring Diagram 36
8.3.3 Parameters for I/O Channels 37
8.3.4 Diagnostic Messages 37
8.4 TBEN-Lx-16DOP/TBEN-L4-16DON 38
8.4.1 Technical Data 38
8.4.2 Wiring Diagram 38
8.4.3 Parameters for I/O Channels 39
8.4.4 Diagnostic Messages 39
8.5 TBEN-Lx-8DIP-8DOP 40
8.5.1 Technical Data 40
8.5.2 Wiring Diagram 40
8.5.3 Parameters for I/O Channels 41
8.5.4 Diagnostic Messages 41
8.6 TBEN-Lx-16DXP/TBEN-L4-16DXN 42
8.6.1 Technical Data 42
8.6.2 Wiring Diagram 43
8.6.3 Parameters for I/O Channels 43
8.6.4 Diagnostic Messages 43
8.7 Module Status 44
8.7.1 LED Behavior 44
8.7.2 Status and Control Word of the TBEN-L Devices 46
2
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 5
9 ARGEE/FLC 47
10 Modbus TCP 49
10.1 General Modbus Description 49
10.1.1 Protocol Description 50
10.2 Implemented Modbus Functions 53
10.3 Modbus Registers 54
10.4 Data Width of the I/O-Modules in the Modbus-Register Area 56
10.5 Register Mapping of the TBEN-L Devices 57
10.5.1 TBEN-Lx-16DIP/TBEN-L4-16DIN 57
10.5.2 TBEN-Lx-16DOP/TBEN-L4-16DON 58
10.5.3 TBEN-Lx-8DIP-8DOP 59
10.5.4 TBEN-Lx-16DXP/TBEN-L4-16DXN 60
10.5.5 Meaning of the Register Bits 61
10.6 Register 0x100C: Station Status 61
10.7 Register 0x1130: Modbus Connection Mode 62
10.8 Register 0x1131: Modbus Connection Timeout 62
10.8.1 Behavior of the BUS LED 62
10.9 Register 0x113C and 0x113D: Restore Modbus-Connection-Parameters 63
10.10 Register 0x113E and 0x113F: Save Modbus-Connection-Parameters 63
10.11 Bit Areas: Mapping of Input Discrete- and Coil-Areas 63
10.12 Error Behavior (Watchdog) 64
10.12.1Behavior of Outputs 64
10.12.2Behavior of the BUS LED 64
10.13 Parameters and Diagnostic Messages of the I/O Channels 64
11 EtherNet/IP™ 65
11.1 The EtherNet/IP™ Communications Profile 65
11.1.1 Communications Profile for TBEN-L 65
11.2 EDS-File 66
11.3 Diagnostic Messages via Process Data 67
11.3.1 Summarized Diagnostics 67
11.3.2 Scheduled Diagnostics (Manufacturer Specific) 67
11.4 QC - QuickConnect 67
11.4.1 QuickConnect in TBEN 68
3
Page 6
11.5 Device Level Ring (DLR) 69
11.6 EtherNet/IP™ Standard Classes 70
11.6.1 Identity Object (0x01) 70
11.6.2 Assembly Object (0x04) 71
11.6.3 Process Data Instances 78
11.6.4 Connection Manager Object (0x06) 84
11.6.5 TCP/IP Interface Object (0xF5) 85
11.6.6 Ethernet Link Object (0xF6) 88
11.7 VSC-Vendor Specific Classes 90
11.7.1 Class Instance of the VSCs 90
11.7.2 Gateway Class (VSC 100) 91
11.7.3 Process Data Class (VSC102) 93
11.7.4 Digital Versatile Module Class (VSC117) 95
11.7.5 Miscellaneous Parameters Class (VSC 126) 97
12 PROFINET 99
12.1 GSDML-File 101
12.2 FSU - Fast Start-Up (prioritized startup) 101
12.2.1 Ethernet-Cabling for TBEN-L in FSU Applications 101
12.2.2 FSU in TBEN-L 101
12.3 MRP (Media Redundancy Protocol) 102
12.4 PROFINET-diagnostics 103
12.4.1 TBEN-Lx-16DIP/TBEN-L4-16DIN – Diagnostic Data Mapping 103
12.4.2 TBEN-Lx-16DOP/TBEN-L4-16DON – Diagnostic Data Mapping 104
12.4.3 TBEN-Lx-8DIP-8DOP – Diagnostic Data Mapping 105
12.4.4 TBEN-Lx-16DXP/TBEN-L4-16DXN – Diagnostic Data Mapping 106
12.5 Parameters 107
12.5.1 General Device Parameters (turck-tben) 107
12.5.2 Parameters for I/O Channels 108
12.6 Description of User Data for Acyclic Services 109
12.6.1 Description of the Acyclic Device User Data 109
12.6.2 Description of the Acyclic I/O-Channel User Data 110
13 The Web Server 111
13.1 Safety in the Web Server 111
13.1.1 Web Server Logout 111
13.2 IP Address 111
13.3 Start Page of the Web Server (Home) 112
13.4 Station Diagnostics 113
4
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 7
13.5 Ethernet Statistics 114
13.6 Event Log 115
13.7 EtherNet/IP™/Modbus TCP Memory Map 116
13.8 Links 117
13.9 Login/Password 118
13.10 Change Admin Password 119
13.11 Network Configuration 120
13.11.1Change Network Parameters (Port Settings, IP Address, etc.) 120
13.12 Station Configuration 122
13.12.1Configuring the Ethernet Interface 122
13.13 Parameters 123
13.13.1Parameterization of the In-/ Outputs 123
13.14 Using Mobile Devices 124
13.15 Web Server Logout 124
13.16 Deactivating the Web Server 124
14 Access via Turck DTMs in PACTware™ 125
14.1 General 125
14.1.1 Address Setting via DTM 125
5
Page 8
6
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 9

1 About these Instructions

These operating instructions describe the structure, functions and the use of the product and will help you to operate the product as intended. Read these instructions carefully before using the product. This is to avoid possible damage to persons, property or the device. Retain the instructions for future use during the service life of the product. If the product is passed on, pass on these instruc­tions as well.

1.1 Target Groups

These instructions are aimed at qualified personnel and must be carefully read by anyone mount­ing, commissioning, operating, maintaining, dismantling or disposing of the device.

1.2 Explanation of Symbols

The following symbols are used in these instructions:
DANGER!
DANGER indicates an immediately dangerous situation, with high risk, the death or severe injury, if not avoided.
WARNING!
WARNING indicates a potentially dangerous situation with medium risk, the death or severe injury, if not avoided.
ATTENTION!
ATTENTION indicates a situation that may lead to property damage, if it is not avoided.
NOTE
In NOTES you find tips, recommendations and important information. The notes facilitate work, provide more information on specific actions and help to avoid overtime by not fol­lowing the correct procedure.
CALL TO ACTION
This symbol identifies steps that the user has to perform.
RESULTS OF ACTION
This symbol identifies relevant results of steps
7
Page 10
About these Instructions

1.3 Additional Documents

The following additional documents are available online at www.turck.com:
Data sheet
Quick Start Guide
User manual TBEN-L1

1.4 Feedback about these Instructions

We make every effort to ensure that these instructions are as informative and as clear as possible. If you have any suggestions for improving the design or if some information is missing in the docu­ment, please send your suggestions to
techdoc@turck.com.
8
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 11

2 Notes on the Product

2.1 Product Identification

These instructions apply to the compact multiprotocol I/O modules for Ethernet TBEN-L4 and
TBEN-L5 (TBEN-Lx).

2.1.1 Scope of Delivery

TBEN-L4 or respectively TBEN-L5 device
Closure caps for 7/8'' connectors
Closure caps for M12 female connectors
Quick Start Guide

2.1.2 Legal Requirements

The device falls under the following EU directives:
2014/30/EU (electromagnetic compatibility)

2.1.3 Manufacturer and Service

Hans Turck GmbH & Co. KG
Witzlebenstraße 7
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:
Should you have any further questions, please contact the sales and service team in Germany under the following telephone numbers:
Sales: +49 208 4952-380
Technology: +49 208 4952-390
Internet:
Outside Germany, please contact your local Turck representative.
www.turck.com/support
www.turck.de/products
9
Page 12
Notes on the Product
10
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 13

3 For Your Safety

The product is designed according to state-of-the-art technology. However, residual risks still exist. Observe the following warnings and safety notices to prevent damage to persons and property. Turck accepts no liability for damage caused by failure to observe these warning and safety notices.

3.1 Intended Use

The devices are only intended for use in industrial applications.
Thanks to the Turck multiprotocol technology, the compact multiprotocol I/O modules for Ethernet can be operated in the three Ethernet protocols PROFINET, EtherNet/IP™ and Modbus TCP. The modules detect the bus protocol automatically during the start-up.
The TBEN-Lx devices provide eight M12 female connectors for the connection of up to 16 digital sensors or actuators.
The devices may only be used as described in this manual. Any other usage shall be considered improper and Turck shall not be held liable for any resulting damage.

3.2 General Safety Instructions

The device may only be assembled, installed, operated and maintained by professionally trained
personnel.
The device may only be used in accordance with applicable national and international regula-
tions, standards and laws.
The device only meets the EMC requirements for industrial areas and is not suitable for use in res-
idential areas.
11
Page 14
For Your Safety
12
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 15

4 Product Description

218
230.5
C4C5C6C7
6.3
38.8
60.4
C0C1C2C3
24
30.2
X2
X1
P2
P1
The devices are designed in a fully encapsulated housing with degree of protection IP65/IP67/ IP69K. For the connection of digital sensors and actuators, the devices provide eight or respectively sixteen input or output channels or respectively sixteen freely configurable digital I/O channels which can be used as in- or output. The terminals for the digital I/Os are M12 sockets. Two M12 sock­ets are provided for the Ethernet connection. The power supply connectors are designed as 4-pole (TBEN-L4) or 5-pole (TBEN-L5) 7/8" connectors.

4.1 Device Overview

Fig. 1: Size

4.1.1 Dimensions

The devices are provided with multi-color LEDs for displaying information:
Supply voltage
Group and bus errors
Status
Diagnostics
13
Page 16
Product Description

4.2 Properties and Features

Multiprotocol: EtherNet/IP™-Device, Modbus TCP-Slave, or PROFINET-Device
Channel-related short-circuit diagnosis of outputs
Slot-related short-circuit diagnosis of the sensor/actuator supply voltage
Voltage supply via 7/8'' connectors
TBEN-L5: 5-pole
TBEN-L4: 4-pole
Two 4-pole M12-connectors for Ethernet
Integrated Ethernet-switch for building up a line-topology.
Transmission speed 10 Mbps/100 Mbps
Integrated web server
LED displays and diagnostics
Fibre-glass reinforced housing
Shock and vibration tested
Fully potted module electronics
Degree of protection IP65/IP67/IP69K
Programmable via ARGEE/FLC
14
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 17

4.3 Protocols

Multi Protocol Functionality

The compact I/O-devices of the TBEN-L product line combine the three Ethernet-protocols
Modbus TCP (description page 49 ff.),
EtherNet/IP™ (description page 65) and
PROFINET (description page 99 ff.)
in one device.
A multi-protocol device can be operated without intervention of the user (which means, without changes in the parameterization) in all of the three Ethernet protocols mentioned.
During the start-up, after a power-on, the module runs in "snooping" mode and detects the Ether­net protocol which requests a link connection by listening the traffic.
If a protocol is detected, the device is set automatically to the respective protocol. After this an access to the device from other protocols is read-only.

4.3.1 Explicit/Manual Protocol Selection

The protocol can also be determined manually. This skips the snooping-phase and the device is per­manently set to the selected protocol. An access to the device from other protocols is read-only.
The explicit protocol selection allows thus an additional locking mechanism.

4.3.2 Protocol Dependent Functions

PROFINET
Fast Start-UP (FSU), see FSU - Fast Start-Up (prioritized startup), page 101
Topology discovery
Address assignment via LLDP
MRP, see MRP (Media Redundancy Protocol), page 102
EtherNet/IP™
QuickConnect (QC), see QuickConnect in TBEN, page 68
DLR (Device Level Ring), see Device Level Ring (DLR), page 69
15
Page 18
Product Description
16
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 19

5 Configuring

This chapter describes the configuration of the Ethernet-connection.
Details concerning the necessary protocol-specific configurations (Modbus TCP, EtherNet/IP™, PROFINET) can be found in the respective sub-chapters

5.1 Device Configuration Files

The actual device configuration files for the devices can be downloaded from the Turck home page
www.turck.com.
Information about the protocol-specific files can be found in the respective sub-chapters.
17
Page 20
Configuring
x10
x1
000: 192.168.1.254 1 - 254: static rotary 300: BootP 400: DHCP 500: PGM 600: PGM-DHCP 900: F_Reset
x 100

5.2 Address Assignment

Setting the address mode is done through the 3 rotary coding-switches on the gateway.
Fig. 2: Decimal rotary coding-switches for address setting
ATTENTION!
Protective cover opened
Protection class IP65/IP67/IP69K not guaranteed
Screw the protective cover over the switches firmlyCheck if seal of the protective cover is correctly placed

5.2.1 Mode: Static Rotary

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", page 20).
Switch position 001: normally reserved for the default-gateway
Switch position 002…254: valid IP address range
Switch position 255: normally used for broadcast messages in the subnet.
We therefore recommend addresses in the range of
NOTE
After every change of the address-mode, a voltage reset must be done.
002…254.
18
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 21

5.2.2 Mode: BootP (300)

Switch position: 300
Address setting is carried out by a BootP-server in the network after the start-up of the gateway.
PROFINET
Please assure, that in PROFINET-applications, the address assigned via a BootP-server corresponds to the address, which is assigned in the configuration tool.

5.2.3 Mode: DHCP (400)

Switch position: 400
Address setting is carried out by a DHCP-server in the network after the start-up of the device.
NOTE
The IP address, as well as the default subnet mask assigned to the station by the BootP­server, are stored permanently in the station’s EEPROM.
If the station is switched from BootP-mode to rotary- or PGM-mode, the settings carried out in BootP-mode (IP address, subnet mask, etc) will be read from the device’s EEPROM.
NOTE
The IP address, as well as the default subnet mask assigned to the station by the DHCP­server, are stored permanently in the station’s EEPROM.
If the station is switched from DHCP-mode to rotary- or PGM-mode, the settings carried out in DHCP-mode (IP address, subnet mask, etc) will be read from the device’s EEPROM.
DHCP supports three mechanisms for IP address allocation:
In "automatic allocation", the DHCP-server assigns a permanent IP address to a client.
In "dynamic allocation", DHCP assigns an IP address to a client for a limited period of time. After
this time, or until the client explicitly relinquishes the address, the address can be re-assigned.
In "manual allocation", a client's IP address is assigned by the network administrator. DHCP is
used simply to convey the assigned address to the client.
PROFINET
Please assure, that in PROFINET-applications, the address assigned via a BootP-server corresponds to the address, which is assigned in the configuration tool.
19
Page 22
Configuring

5.2.4 Mode: PGM (500)

Switch position: 500
The PGM-mode enables access of the Turck DTMs to the device’s network settings.
NOTE
In the PGM-mode, all network settings (IP address, subnet mask, etc.) are send to the device’s internal EEPROM and stored permanently.

5.2.5 Mode: PGM-DHCP (600)

Switch position: 600
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 DHCP-client is stopped.
Even after a restart of the device, the device sends no further DHCP-requests.
PROFINET
This mode assures a PROFINET-compliant operation of the modules.
NOTE
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.

5.2.6 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 for IP-based services (see Default Setting of the Device, page 21).
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.
20
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 23
Default Setting of the Device
The default-settings are as follows:
IP address 192.168.1.254 Subnet mask 255.255.255.0 Default gateway 192.168.1.1
NOTE
The devices can be reset by the user to these default settings at any time. To reset the module, set the three coding-switches on the gateway to "000" followed by a voltage reset.
ATTENTION!
Protective cover opened
Protection class IP65/IP67/IP69K not guaranteed
Screw the protective cover over the switches firmlyCheck if seal of the protective cover is correctly placed

5.2.7 Factory Reset (F_Reset), Switch Position "900"

F_Reset (Reset to factory setting)
Switch position: 900
This mode sets all device-settings back to the default values and deletes all data in the device's inter­nal flash.
NOTE
Setting 900 is no operation mode! Please set the device to another mode after having reset the IP address to the default values.
ATTENTION!
Protective cover opened
Protection class IP65/IP67/IP69K not guaranteed
Screw the protective cover over the switches firmlyCheck if seal of the protective cover is correctly placed

5.2.8 Functional Difference: Switch Position "000" and "900"

Reset of...
IP address, subnet mask, gateway 
Parameters
PROFINET device name
Switch position
000 900
21
Page 24
Configuring
x10
x1
x 100
x10
x1
x 100

5.2.9 Address Setting via DTM

In a respective frame application e.g. PACTware™, the Turck DTMs allow direct access to Ethernet.
The IP address, as well as the subnet mask of the Ethernet devices, can be changed according to the application by using the Busaddress Management function of the BL Service Ethernet interface (TCP/IP) in the DTM.
Further information about using the DTMs can be found in chapter 14, Access via Turck DTMs in
PACTware™, page 125.

5.2.10 Address Setting via Web Server

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 TBEN-L devices and it's use can be found under chapter 13, The Web Server, page 111

5.3 SET Button

.
The Set-button is placed left to the rotary coding switches under the cover at the device.
Pushing the Set-button causes a device-restart
Fig. 3: SET button
ATTENTION!
Protective cover opened
Protection class IP65/IP67/IP69K not guaranteed
Screw the protective cover over the switches firmlyCheck if seal of the protective cover is correctly placed
.
22
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 25

6Mounting

218 [5.58]
M6 (2x) max. 1.5 Nm
The devices must be attached to a level, pre-drilled and grounded mounting surface.
Attach the module to the mounting surface with two M6 screws. The maximum tightening
torque for the screws is 1.5 Nm.
Fig. 4: Attaching the device to the mounting plate
23
Page 26
Mounting

6.1 Grounding the Device

6.1.1 Grounding and Shielding Concept

The grounding and shielding concept of the TBEN-L modules allows the fieldbus and I/O parts to be grounded separately.
X1
C0
4 x 15 nF
C1
C2
C3
P1
X2
C4
C5
C6
C7
1 nF
2,2 MΩ
P2
Fig. 5: Replacement wiring diagram, shielding concept
1
2 3
Fig. 6: Grounding components
The grounding clip (1) at the M12 connectors for the fieldbus connection (P1, P2) connects the shield of the fieldbus lines.
The grounding ring (2) is attached below the grounding clip and connects the functional ground of the 7/8" connector (pin 3) for the power supply with the functional ground of the M12 connector (pin 5) for connecting the sensors and actuators.
The grounding screw (3) connects the device with the system's reference potential.
24
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 27

6.1.2 Grounding the Device (FE)

The grounding clip and the metal ring are connected to each other. A mounting screw through the bottom mounting hole in the module connects the shielding of the fieldbus lines to the functional ground of the power supply and the connected devices and to the reference potential of the sys­tem.
If a common reference potential is not required, remove the grounding clip to disconnect the field­bus shield or attach the module with a plastic screw.
Removing the Grounding Clip
Use a flat standard screwdriver to lever the grounding clip upwards and remove it.
Fig. 7: Removing the grounding clip
Mounting the Grounding Clip
Insert the grounding clip between the fieldbus connectors (using a screwdriver if necessary) so
that it makes contact with the metal housing of the connector.
The shield of the fieldbus lines lies flush to the grounding clip.
Fig. 8: Mounting the grounding clip
25
Page 28
Mounting
26
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 29

7 Connecting

v
4
1
3
2
P1, P2
1 = TX + 2 = RX + 3 = TX – 4 = RX –
ange = FE

7.1 Connecting the Devices 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. 9: M12 Ethernet sockets
Connect the device to the field bus according to the pin assignment shown below.
Fig. 10: Pin assignment Ethernet connectors

7.1.1 Ethernet-Connection for QC/FSU Applications

NOTE
Please observe the following for QuickConnect (QC)- and Fast Start-Up (FSU)-applications with TBEN-L:
do not use a crossover-cable
– – ETH1 = connector for incoming Ethernet-lineETH2 = connector for outgoing Ethernet-line
Further information concerning QuickConnect and FSU can be found here:
QC - QuickConnect, page 67
FSU - Fast Start-Up (prioritized startup), page 101
27
Page 30
Connecting
1 BK = V2 (–) 2 BU = V1 (–) 3 GNYE = FE 4 BN = V1 (+) 5 WH = V2 (+)
3
452
1
wv
3
4
5
2
1
X1 X2
wv
123
4
1 RD = 24 VDC V2 2 GN = 24 VDC V1 3 WH = GND V1 4 BK = GND V2
1 2
3 4
X1 X2

7.2 Connect Power Supply

For the connection to the power supply and the feeding through of the power, the device has two 5-pin 7/8" connectors. The power supply connectors are designed as 4-pole (TBEN-L4) or 5-pole (TBEN-L5) 7/8" connectors. V1 and V2 are galvanically isolated. The maximum tightening torque is 0.8 Nm.
Connect the device to the power supply according to the pin assignment shown below.
Supply voltage 7/8", 5-pole
Pin assignment
X1= voltage IN X2 = voltage OUT for supplying the next node
Supply voltage 7/8", 4-pole
Pin assignment
NOTE
V1 and V2 are fed and monitored separately. In case of an undercut of the admissible volt­age, the connectors are switched-off according to the module's supply concept (see Sup­ply concept (see Supply Concept, page 29).
In case of an undervoltage at V2, the "POWER" LED changes from green to red. In case of an undervoltage at V1, the "POWER" LED is turned off. The behavior of the LED POWER can be configured via the parameter "LED-behavior (PWR) at V2 undervoltage)".
V1 = supply voltage 1 (incl. supply of electronics) V2 = supply voltage 2
X1= voltage IN X2 = voltage OUT for supplying the next node
V1 = supply voltage 1 (incl. supply of electronics) V2 = supply voltage 2
28
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 31

7.2.1 Supply Concept

V1
V2
V1V2V1
V2
All TBEN-S-devices are supplied via two separate voltages V1 and V2.
The I/O-channels are therefore consequently separated into the different potential groups "detach­able I/O" (supplied through V2) and "non-detachable" I/O (supplied through V1).
This allows a safety shutdown of parts of an installation via emergency-off circuits even when using the highly flexible 16DXP-module variants.
V1 = supply of module electronics and the respective connectors
V2 = supply of device electronics and the respective connectors (separately detachable)
TBEN-Lx-16DIx TBEN-Lx-16DOx
TBEN-L1x-8DIP-8DOx TBEN-Lx-16DXx
V1
V2
Fig. 11: Device supply – overview
29
Page 32
Connecting
5 FE
4 BK
1 BN +
3 BU –
3 BU –
2 WH
v
C0...C7
5 FE
4 BK
1 BN +
3 BU –
3 BU –
2 WH
v
C0...C3

7.3 Connecting Digital Sensors and Actuators

The device has eight 5-pin M12 connectors for connecting digital sensors and actuators. The maxi­mum tightening torque is 0.8 Nm.
Fig. 12: M12 connector for connecting digital sensors and actuators

7.3.1 Inputs

Connect the digital sensors to the device according to the pin assignment shown below.
TBEN-Lx-16DIP/TBEN-L4-16DIN
v
1 = V
2
2 = Signal In 3 = GND V1
3
1
5
C0...C7
4
4 = Signal In 5 = FE
TBEN-Lx-8DIP-8DOP
v
1 = V
2
2 = Signal In 3 = GND V1
3
1
5
C0...C3
4
4 = Signal In 5 = FE
aux
aux
1
1
30
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 33

7.3.2 Outputs

5 FE
4 BK
1 BN +
3 BU –
3 BU –
2 WH
v
C0...C7
Sensor or Actuator
Sensor or Actuator
5 FE
4 BK
1 BN +
2 WH 3 BU –
v
C0...C7
4
1
3
2
5
v
1 = V
aux
2 2 = Signal Out 3 = GND V2 4 = Signal Out 5 = FE
C4...C7
4
1
3
2
5
v
1 = V
aux
1 2 = Signal In/Out 3 = GND V1 4 = Signal In/Out 5 = FE
C0...C3
4
1
3
2
5
v
1 = V
aux
2 2 = Signal In/Out 3 = GND V2 4 = Signal In/Out 5 = FE
C4...C7
5 FE
4 BK
1 BN +
3 BU –
3 BU –
2 WH
v
C0...C7
Sensor or Actuator
Sensor or Actuator
Connect the digital actuators to the device according to the pin assignment shown below.
TBEN-Lx-16DOP/TBEN-L4-16DON
TBEN-Lx-8DIP-8DOP
4 BK
5 FE
1 BN +
2 WH 3 BU –
v
C4...C7

7.3.3 In- and Outputs

Connect the digital sensors and actuators to the device according to the pin assignment shown below.
TBEN-Lx-16DXP/TBEN-Lx-16DXN
31
Page 34
Connecting
32
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 35

8 Device Characteristics

Rotary switches
ERR
BUS
µC
Supply
µC
+4–2+5–1FE
3
V1 V2
+4–2+5–1FE
3
V1 V2
X1 X2
IN Diag
IN Diag
V1 Diag V2 Diag
OUT Diag
OUT Diag
P2P1
4
1
3
2
4
1
3
2
ETH2ETH1
Ethernet
Ethernet
1 V
AUX1
4 IN
2 IN
3 V1 –
5 FE
120 mA
Input
Input
1 V
AUX2
4 OUT
2 OUT
3 V2 –
5 FE
120 mA
Output
Output
V1 +
V1 +
V2 +
V2 +
IN Diag
OUT Diag
IN Diag
OUT Diag
1 V
AUX1
4 IN/OUT
2 IN/OUT
3 V1 –
5 FE
120 mA
In/Output
I/O
1 V
AUX2
4 IN/OUT
2 IN/OUT
3 V2 –
5 FE
120 mA
In/Output
I/O
V1 +
V2 +
Bus
Bus
P2P1
PROFIBUS
PROFIBUS
Bus
4
1
3
2
5
4
1
3
2
5

8.1 Block Diagrams

Fig. 13: Block diagrams
33
Page 36
Device Characteristics

8.2 General Technical Data

Supply voltage
V1 (incl. electronics supply) 24 V DC
Permissible range
V2 24 V DC
Permissible range
Potential isolation Galvanic isolation of V1 and V2
Connectors
Ethernet 2 x M12-connector (OUT), 4-pole, D-coded
power supply
TBEN-L4 7/8" connector, 4-pole
TBEN-L5 7/8" connector, 5-pole
In-/outputs M12 connector, 5-pole
Permissible torques
Ethernet 0.6 Nm
I/O channels/supply. 0.8 Nm
Mounting (M6 screws) 1.5 Nm
Protective cap 0.5 Nm
Isolation voltages
V1 to V2 500 V AC
V1/V2 to the field bus 500 V AC
Protocol properties
Modbus TCP
Address assignment
Supported Function Codes
Number of connections
EtherNet/IP™
Address assignment
Quick Connect (QC)
Device Level Ring (DLR)
Number of connections
PROFINET
Address assignment
MinCycleTime
Fast Start-Up (FSU)
Diagnostics
Topology detection
Automatic address assignment
Media Redundancy Protocol (MRP)
18 … 30 V DC
18 … 30 V DC
Static IP (rotary coding switches), BOOTP, DHCP
FC1, FC2, FC3, FC4, FC5, FC6, FC15, FC16, FC23
8
according to EtherNet/IP™ standard
< 150 ms
supported
3
DCP
1 ms
< 150 ms
according to PROFINET Alarm Handling
supported
supported
supported
34
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 37
Mounting
Mounting 2 mounting holes, ? 6.3 mm
Mounting distance device to device 50 mm
Valid for operation in the ambient temperatures men­tioned below, with sufficient ventilation as well as max­imum load (horizontal mounting). At low simultaneity factors and low ambient tempera­tures, mounting distances of < 50 mm may be possible.
Tests
Vibration test according to EN 60068-2-6/ IEC 68-2-47,
acceleration up to 20 g
Drop and topple according to IEC 60068-2-31/IEC 60068-2-32 1
Shock test according to EN 60068-2-27
EMC according to EN 61131-2
Ambient conditions
Temperature range
– Operating temperature - 40 °C to + 70 °C
– Storage/transport - 40 °C to + 85°C
Operating altitude max. 5000 m
Protection class
IP65/IP67/IP69K
Housing
Size 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 yes
35
Page 38
Device Characteristics

8.3 TBEN-Lx-16DIP/TBEN-L4-16DIN

TBEN-Lx-16DIP offers sixteen digital inputs for 3-wire PNP sensors.
TBEN-Lx-16DIN offers sixteen digital inputs for 3-wire NPN sensors.

8.3.1 Technical Data

power supply
Nominal value 24 V DC from operating voltage
Permissible range 18 … 30 V DC
Operational current (from V
Sensor/actuator supply VAUX
Digital inputs
Number of channels 16
Input type
TBEN-Lx-16DIP PNP
TBEN-L4-16DIN NPN
Switching threshold EN 61131-2 type 3, PNP or NPN
Signal voltage, low level < 5 V
High level signal voltage > 11 V
Low level signal current < 1.5 mA
High level signal current > 2 mA
Switch-on delay 2.5 ms
Type of input diagnosis channel diagnostics
Potential isolation galvanic isolation to the field bus
) < 150 mA
1
1
Supply connector C0-C7 from V1 120 mA per connector, short-circuit proof

8.3.2 Wiring Diagram

Connecting the Devices to Ethernet, page 27
Connect Power Supply, page 28
Connecting Digital Sensors and Actuators, page 30
36
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 39

8.3.3 Parameters for I/O Channels

Parameter name Value Description
Digital input Invert digital input (Inv. DIx)
Pulse stretching input
Further information about the parameters can be found in the fieldbus specific chapters.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
PROFINET: Parameters, page 107

8.3.4 Diagnostic Messages

0 = no
1 = yes Inverts the digital input signal.
0 - 255 The input signal is stretched to a time between 10
to 2550 ms. Default setting: 0 = pulse stretching deactivated (standard pulse = 2,5 ms)
Example: 10 = pulse of 100 ms
Diagnostics Description
SCSx Short-circuit at the supply voltage for the respective connector.
Please find more detailed information about the diagnostic data mapping in the fieldbus-specific chapters:
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
PROFINET: PROFINET-diagnostics, page 103
37
Page 40
Device Characteristics

8.4 TBEN-Lx-16DOP/TBEN-L4-16DON

TBEN-Lx-16DOP offers sixteen digital PNP outputs for DC actuators.
TBEN-Lx-16DON offers sixteen digital NPN outputs for DC actuators.

8.4.1 Technical Data

power supply 24 V DC from operating voltage
Nominal value
Permissible range 18 … 30 V DC
Operational current (from V
Sensor/actuator supply VAUX
Digital outputs
Number of channels 16
Output type
TBEN-Lx-16DOP PNP
TBEN-L4-16DON NPN
Output voltage 24 VDC from potential group
Output current per channel
TBEN-Lx-16DOP 2 A, short-circuit proof, max. 2 A per connector
TBEN-L4-16DON 1 A, short-circuit proof, max. 2 A per connector
Load type ohmic, inductive, lamp load
Simultaneity factor 0.28 for entire module,
Type of output diagnostics channel diagnosis
Potential isolation galvanic isolation to the field bus
) < 150 mA
1
2
Supply connector C0-C7 from V2 120 mA per connector, short-circuit proof
total current max. 9 A per module

8.4.2 Wiring Diagram

Connecting the Devices to Ethernet, page 27
Connect Power Supply, page 28
Connecting Digital Sensors and Actuators, page 30
38
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 41

8.4.3 Parameters for I/O Channels

Parameter name Value Description
Manual output reset after overcurrent (SROx)
Further information about the parameters can be found in the fieldbus specific chapters.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
PROFINET: Parameters, page 107

8.4.4 Diagnostic Messages

Diagnostics Description
SCSx Short-circuit at the supply voltage for the respective connector.
SCOx Overcurrent at the respective output
Further information about the diagnostic data mapping can be found in the fieldbus specific chap­ters.
0 = no The output switches on automatically after
an overload.
1 = yes The output is manually switched-off after
an overload until a new set-command is given (rise and fall).
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
PROFINET: PROFINET-diagnostics, page 103
39
Page 42
Device Characteristics

8.5 TBEN-Lx-8DIP-8DOP

The station offers eight digital inputs for 3-wire PNP-sensors and eight digital PNP outputs for DC actuators.

8.5.1 Technical Data

power supply
Nominal value 24 V DC from operating voltage
Permissible range 18 … 30 V DC
Operating current < 150 mA
Sensor/actuator supply V
Digital inputs
Number of channels 8
Input type PNP
Switching threshold EN 61131-2 type 3, PNP
Low level signal voltage < 5 V
High level signal voltage > 11 V
Low level signal current < 1.5 mA
High level signal current > 2 mA
Switch-on delay 2.5 ms
Type of input diagnosis channel diagnostics
Digital outputs
Number of channels 8
Output type PNP
Output voltage 24 VDC from potential group
Load type ohmic, inductive, lamp load
Simultaneity factor 0.56 for entire module,
Type of output diagnostics channel diagnosis
Potential isolation galvanic isolation to the field bus
AUX1/VAUX2
supply of connectors C0 - C3 from V1 C4 - C7 from V2 120 mA per connector, short-circuit proof
total current max. 9 A per module

8.5.2 Wiring Diagram

Connecting the Devices to Ethernet, page 27
Connect Power Supply, page 28
Connecting Digital Sensors and Actuators, page 30
40
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 43

8.5.3 Parameters for I/O Channels

Parameter name Value Description
Digital input Invert digital input (Inv. DIx)
Pulse stretching input
Manual output reset after overcurrent (SROx)
Further information about parameters can be found in the fieldbus specific chapters.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
PROFINET: Parameters, page 107
0 = no A
1 = yes Inverts the digital input signal.
0 - 255 The input signal is stretched to a time between
10 to 2550 ms. Default setting: 0 = pulse stretching deactivated (standard pulse = 2,5 ms)
Example: 10 = pulse of 100 ms
0 = no The output switches on automatically after an
overload.
1 = yes The output is manually switched-off after an
overload until a new set-command is given (rise and fall).

8.5.4 Diagnostic Messages

Diagnostics Description
SCSx Short-circuit at the supply voltage for the respective connector.
SCOx Overcurrent at the respective output
Further information about the diagnostic data mapping can be found in the fieldbus specific chap­ters.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
PROFINET: PROFINET-diagnostics, page 103
41
Page 44
Device Characteristics

8.6 TBEN-Lx-16DXP/TBEN-L4-16DXN

The device provides sixteen channels, which can be configured individually, depending on the spe­cific application requirements.
Up to sixteen 3-wire PNP sensors or sixteen DC actuators can be connected to TBEN-Lx-16DXP.
Up to sixteen 3-wire NPN sensors or sixteen DC actuators can be connected to TBEN-L4-16DXN.

8.6.1 Technical Data

power supply
Nominal value 24 V DC from operating voltage
Permissible range 18 … 30 V DC
Operating current < 150 mA
Sensor/actuator supply V
Digital inputs
Number of channels 16
Input type
TBEN-Lx-16DXP PNP
TBEN-L4-16DXN NPN
Switching threshold EN 61131-2 type 3, PNP or NPN
Signal voltage, low level < 5 V
High level signal voltage > 11 V
Low level signal current < 1.5 mA
High level signal current > 2 mA
Input resistance 4 k
Switch-on delay 2.5 ms
Input frequency 100 Hz
Type of input diagnostics channel diagnostics
Digital outputs
Number of channels 16, DC actuators
Output type
TBEN-Lx-16DXP PNP
TBEN-L4-16DXN NPN
Output voltage 24 VDC from potential group
Output current per channel
TBEN-Lx-16DXP 2 A, short-circuit proof, max. 2 A per connector
TBEN-L4-16DXN 1 A, short-circuit proof, max. 2 A per connector
Load type ohmic, inductive, lamp load
Simultaneity factor 0.56 for entire module,
Type of output diagnostics channel diagnosis
Potential isolation galvanic isolation to the field bus
AUX1/VAUX2
supply of connectors C0 - C3 from V1 C4 - C7 from V2 120 mA per connector, short-circuit proof
total current max. 9 A per module
42
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 45

8.6.2 Wiring Diagram

Connecting the Devices to Ethernet, page 27
Connect Power Supply, page 28
Connecting Digital Sensors and Actuators, page 30

8.6.3 Parameters for I/O Channels

Parameter name Value Description
Digital input Invert digital input (Inv. DIx)
0 = no
1 = yes The digital input signal is inverted.
Pulse stretching input
Manual output reset at overcurrent (SROx)
Activate output (EN DOx)
Further information about parameters can be found in the fieldbus specific chapters.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
PROFINET: Parameters, page 107

8.6.4 Diagnostic Messages

0 - 255 The input signal is stretched to a time between 10
to 2550 ms. Default setting: 0 = pulse stretching deactivated (standard pulse = 2,5 ms)
Example: 10 = pulse of 100 ms
0 = no The output switches on automatically after an
overload.
1 = yes The output is manually switched-off and on again.
0 = no
1 = yes
Diagnostics Description
SCSx Short-circuit at the supply voltage for the respective connector.
SCOx Overcurrent at the respective output
Further information about the diagnostic data mapping can be found in the fieldbus specific chap­ters.
Modbus TCP: Register Mapping of the TBEN-L Devices, page 57 ff.
EtherNet/IP™: Digital Versatile Module Class (VSC117), page 95 ff.
PROFINET: PROFINET-diagnostics, page 103
43
Page 46
Device Characteristics

8.7 Module Status

8.7.1 LED Behavior

The following table describes the protocol-independent behavior of the module LEDs.
The description of protocol-specific LED-behavior can be found in the respective sub-chapters.
LED Color Status Meaning Remedy
PWR
TBEN-Lx-16DIP/ TBEN-L4-16DIN
TBEN-Lx-16DOP/ TBEN-L4-16DON TBEN-Lx-8DIP-8DOP TBEN-Lx-16DXP/ TBEN-L4-16DXN
ETHx Green on Active link,100 Mbps
ERR Green on No diagnostic message available
BUS Green on Active connection to a master
Green off V1 missing or < 18 V DC Check V1
on V1 OK
Green off V1 missing or < 18 V DC Check V1
on V1 and V2 OK
Red on V2 missing or < 18 V DC Check V2
blinking Ethernet Traffic, 100 Mbps
Yellow on Active link,10 Mbps
blinking Ethernet Traffic, 10 Mbps
off No Ethernet link. Check the Ethernet con-
nection.
Red on Diagnostic message pending
blinking Device is ready for operation
Red on IP address conflict or restore mode
or timeout
blinking Blink-/wink-command active
Red/ green
on Autonegotiation and/or waiting for
DHCP-/BootP-address assignment.
control IP addresses in the network wait for the device to be ready for operation
44
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 47
LED Color Status Meaning Remedy
0 to 15
TBEN-Lx-16DIP/ TBEN-L4-16DIN
TBEN-Lx-16DOP/ TBEN-L4-16DON
TBEN-Lx-16DXP/ TBEN-L4-16DXN
Green on A Input active, 24 V at input
Red blinking AOverload of the supply voltage at
the respective connector Both LEDs at the connector are blinking
off Input active
Green on A Output active
Red on Output active,
Overload/short-circuit at output
blinking AShort-circuit at the supply voltage
for the respective connector. Both LEDs at the connector are blinking
off Output inactive
Green on A Output or input active
Red on output active, overload/overcur-
rent at output
blinking AShort-circuit at the supply voltage
for the respective connector. Both LEDs at the connector are blinking
off Output or input active
Check the sensor supply
Check the sensor supply
Check the sensor supply
0 to 7
TBEN-Lx-8DIP-8DOP Green on A Input active, 24 V at input
Red blinking AShort-circuit at the supply voltage
for the respective connector. Both LEDs at the connector are blinking
off
Check the sensor supply
8 to 15
TBEN-Lx-8DIP-8DOP Green on A Output active
Red on Output active,
Overload/short-circuit at output
blinking AShort-circuit at the supply voltage
for the respective connector. Both LEDs at the connector are blinking
off Output inactive
Check the sensor supply
Can also occur in combination
A
45
Page 48
Device Characteristics

8.7.2 Status and Control Word of the TBEN-L Devices

The Status as well as the Control Word are mapped into the module's process data.
EtherNet/IP™ In EtherNet/IP™, the mapping can be disable
Regis-ter, page 93 and GW Control Register, page 93).
ATTENTION!
Activate/deactivate the Status and Control Word in EtherNet/IP™
Changes
Observe that activating/deactivating the Status and Control Word causes changes in
Modbus TCP
see Register 0x100C: Station Status, page 61
PROFINET
see PROFINET-diagnostics, page 103
Status Word
in the process data mapping
the process data mapping.
d (see Gateway Class (VSC 100), GW Status
Status0V2–-----Diag
Meaning of the status bits
Name Meaning
Diag Warn
V2 V2 too low (< 18 V DC).
V1 V1 too low (< 18 V DC).
COM Error in the device, the internal communication is disturbed.
CFG The I/O-configuration has be changed and is no longer compatible.
FCE Force Mode Active Error
Control Word
The Control word is reserved.
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Warn
1
FCE - CFG COM V1
Group diagnostics of the device. At least 1 channel sends diagnostics.
The Force Mode is activated, which means, the actual output values may no match the ones defined and sent by the field bus.
46
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 49

9 ARGEE/FLC

The ARGEE/FLC programming software can be downloaded from the download area at the Turck homepage.
The Zip archive "SW_ARGEE_Environment_Vx.x.zip" contains the software and the documentation for the programming environment.
47
Page 50
ARGEE/FLC
48
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 51

10 Modbus TCP

Modbus Application Layer
Modbus TCP
TCP
IP
andere
Master/Slave
Client/Server
Physical layer
Modbus plus
Physical layer
Rsxxx
Physical layer
Ethernet
Physical layer

10.1 General 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 pro­vides client/server communication between devices connected on different types of buses or net­works.
The industry’s serial de facto standard since 1979, Modbus continues to enable millions of automa­tion devices to communicate. Today, support for the simple and elegant structure of Modbus con­tinues to grow.
The Internet community can access Modbus at a reserved system port 502 on the TCP/IP stack.
Modbus is a request/reply protocol and offers services specified by function codes. Modbus func­tion codes are elements of Modbus request/reply PDUs (Protocol Data Unit).
Currently, the following sub protocols are implemented:
TCP/IP over Ethernet. (used for the TBEN-L modules and described in the following)
Asynchronous serial transmission over a variety of media (wire: RS232, RS422, RS485, optical:
fiber, radio, etc.)
Modbus PLUS, a high speed token passing network.
Schematic representation of the Modbus Communication Stack (according to Modbus Application Protocol Specification V1.1 of Modbus-IDA):
49
Page 52
Modbus TCP

10.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).
The Modbus application data unit is built by the client that initiates a Modbus transaction.
The function code indicates to the server what kind of action to perform.
The Modbus application protocol establishes the format of a request initiated by a client.
The field function code of a Modbus data unit is coded in one byte. Valid codes are in the range of
1... 255 decimal (128 – 255 reserved for exception responses).
When a message is sent from a Client to a Server device the function code field tells the server what kind of action to perform. Function code "0" is not valid.
Sub-function codes are added to some function codes to define multiple actions.
The data field of messages sent from a client to server devices contains additional information that the server uses to take the action defined by the function code. This can include items like discrete and register addresses, the quantity of items to be handled, and the count of actual data bytes in the data field.
The data field may be non-existent (= 0) in certain kinds of requests, in this case the server does not require any additional information. The function code alone specifies the action.
If no error occurs related to the Modbus function requested in a properly received Modbus ADU the data field of a response from a server to a client contains the data requested. #
50
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.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 53
Data model
The data model distinguishes four basic data types:
Data type Object type Access Comment
Discrete Inputs Bit Read This type of data can be provided by an I/O system.
Coils Bit read/write This type of data can be alterable by an application pro-
gram.
Input registers
Holding regis­ters
16-bit (Word)
16-bit (Word)
Read This type of data can be provided by an I/O system.
read/write This type of data can be alterable by an application pro-
gram.
For each of these basic data types, the protocol allows individual selection of 65536 data items, and the operations of read or write of those items are designed to span multiple consecutive data items up to a data size limit which is dependent on the transaction function code.
It’s obvious that all the data handled via Modbus (bits, registers) must be located in device applica­tion memory.
Access to these data is done via defined access-addresses (see „Modbus Registers“, page 54).
51
Page 54
Modbus TCP
The example below shows the data structure in a device with digital and analog in- and outputs.
TBEN-L devices have only one data block, which 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.
Fig. 14: Picture of the data memory of the TBEN-L modules
52
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 55

10.2 Implemented Modbus Functions

The TBEN-L stations for Modbus TCP support the following functions for accessing process data, parameters, diagnostics and other services.
Function codes
No. Function
Description
1
2
3
4
5
6
15
16
23
Read Coils
Reading multiple output bits.
Read Discrete Inputs
Reading multiple input bits.
Read Holding Registers
Reading multiple output registers.
Read Input Registers
Reading multiple input registers.
Write Single Coil
Writing a single output bit.
Write Single Register
Writing a single output register.
Write Multiple Coils
Writing multiple output bits.
Write Multiple Registers
Writing multiple output registers.
Read/Write Multiple Registers
Reading and writing of multiple registers
53
Page 56
Modbus TCP

10.3 Modbus Registers

NOTE
For the register mapping of the different Modbus addressing methods see (siehe page 55).
Address (hex.) Access
ro = read only
rw = read/ write
0x0000 to 0x01FF ro Packed process data of outputs (process data length of
0x0800 to 0x09FF rw Packed process data of outputs (process data length of
Description
devices, see Data Width of the I/O-Modules in the
Modbus-Register Area, page 56
devices, see Data Width of the I/O-Modules in the
)
Modbus-Register Area, page 56)
0x1000 to 0x1006 ro Station Identifier
0x100C ro Stations-Status (siehe
0x1012 ro Process image length in bit for the digital
output modules
0x1013 ro Process image length in bit for the digital
input modules
0x1017 ro Register mapping revision
Register mapping revision (always 1, if not, mapping is incompatible with this description)
0x1020 ro Watchdog, actual time [ms]
0x1120 rw Watchdog predefined time [ms] (default: 0)
see Error Behavior (Watchdog), page 64
0x1130 rw Modbus connection mode register (siehe page 62)
0x1131 rw Modbus connection timeout in sec. (default: 0 = never)
page 62)
(siehe
0x113C to 0x113D rw Modbus Parameter Restore (siehe page 63)
(reset of parameters to default values)
0x113E to 0x113F rw Modbus Parameter Save (siehe
(permanent storing of parameters)
0x1140 rw Deactivate protocol
Deactivates explicitly the selected Ethernet-protocol: Bit 0 = EtherNet/IP™ Bit 1 = Modbus TCP Bit 2 = PROFINET Bit 15 = web server
0x1141 ro Active protocol
Bit 0 = EtherNet/IP™ Bit 1 = Modbus TCP Bit 2 = PROFINET Bit 15 = web server
0x1150 rw LED behavior (PWR) at V2 undervoltage
Bit 0: 0 = red 1 = green blinking
page 61)
page 63)
54
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 57
Address (hex.) Access
ro = read only
rw = read/ write
0x2400 ro V1 [mV]: 0 at < 18 V
0x2401 ro V2 [mV]: 0 at < 18 V
0x8000 to 0x8400 ro Process data inputs (32 registers per device)
0x9000 to 0x9400 rw Process data outputs (32 registers per device)
0xA000 to 0xA400 ro Diagnostics (32 registers per device)
0xB000 to 0xB400 rw Parameters (32 registers per device)
Description
The following table shows the register mapping for the different Modbus addressing methods:
Description Hex Decimal 5-digit Modicon
Packed inputs 0x0000
to 0x01FF
Packed outputs 0x0800
to 0x09FF
Station Identifier 0x1000
to 0x1006
Module status 0x100C 4108 44109 404109
Process image length in bit for the digital output modules
process image length in bit for the digital input modules
watchdog, actual time 0x1020 4128 44129 404129
watchdog, predefined time 0x1120 4384 44385 404385
Modbus connection mode register 0x1130 4400 44401 404401
Modbus connection timeout in sec. 0x1131 4401 44402 404402
Modbus parameter restore, 0x113C to
Modbus parameter save, 0x113E to
Deactivate protocol 0x1140 4416 44417 404417
Active protocol 0x1141 4417 44418 404418
LED behavior (PWR) at V2 undervoltage
V1 [mV]: 0x2400 9216 49217 409217
V2 [mV]: 0x2401 9217 49218 409218
Process data inputs (32 registers per device)
0x1012 4114 44115 404115
0x1013 4115 44116 404116
0x113D
0x113F
0x1150 4432 44433 404433
0x8000 to 0x8400
0 to 511
2048 to 2549
4096 to 4102
4412 to 4413
4414 to 4415
32768 to 32792
40001 to 40512
42049 to 42560
44097 to 44103
44413 to 44414
44415 to 44416
432769 to
400001 to 400512
402049 to 402560
404097 to 404103
404413 to 404414
404415 to 404416
432793
55
Page 58
Modbus TCP
Description Hex Decimal 5-digit Modicon
Process data outputs (32 registers per device)
Diagnostics (32 registers per device) 0xA000 to
Parameters (32 registers per device) 0xB000 to
0x9000 to 0x9400
0xA400
0xB400
36864 to 37888
40960 to 41984
45056 to 46080

10.4 Data Width of the I/O-Modules in the Modbus-Register Area

The following table shows the data width of the TBEN-L stations within the Modbus register area and the type of data alignment.
Device Process input data Process output data Alignment
TBEN-Lx-16DIP TBEN-L4-16DIN
TBEN-Lx-16DOP TBEN-L4-16DON
TBEN-Lx-8DIP-8DOP 8 Bit 8 Bit bit by bit
TBEN-Lx-16DXP TBEN-L4-16DXN
16 Bit bit by bit
16 Bit bit by bit
16 Bit 16 Bit bit by bit
436865 to
437889
440961 to
441985
445057 to
446081
56
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 59

10.5 Register Mapping of the TBEN-L Devices

10.5.1 TBEN-Lx-16DIP/TBEN-L4-16DIN

Register Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Packed input data
0x0000
Inputs
0x0001
Status word
0x0002
group diag-
nostics
Inputs
0x8000 Byte 0 DI7
Diagnostics
0xA000 Byte 0 SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
Parameters
0xB000Byte 0–-------
0xB001 Byte 0 Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
0xB002 Byte 0 reserved
0xB003 Byte 0 Pulse stretching input 1
0xB004 Byte 0 Pulse stretching input 3
Byte 0 DI7
C3P2
Byte 1 DI15
C7P2
Byte 0
–------
Byte 1 FCE - CFG COM V
DI6
C3P4 DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
DI1
C0P2
DI9
C4P2
1
DI0
C0P4
DI8
C4P4
Diag
Warn
Byte 0–------I/O Diag Byte 1
Byte 1 DI15
–-------
C3P2
C7P2
DI6
C3P4 DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
DI1
C0P2
DI9
C4P2
DI0
C0P4
DI8
C4P4
Byte 1–-------
Byte 1–-------
Byte 1 Inv. DI15 Inv. DI14 Inv. DI13 Inv. DI12 Inv. DI11 Inv. DI10 Inv. DI9 Inv. DI8
Byte 1 Pulse stretching input 0
Byte 1 Pulse stretching input 2
Byte 1 Pulse stretching input 4

0xB009 Byte 0 Pulse stretching input 13
Byte 1 Pulse stretching input 14
0xB00A Byte 0 Pulse stretching input 15
Byte 1 reserved
Meaning of the Register Bits, page 61.
57
Page 60
Modbus TCP

10.5.2 TBEN-Lx-16DOP/TBEN-L4-16DON

Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Packed input data
0x0000
Status word
0x0001
group diag-
nostics
Packed output data
0x0800 Byte 0 DO7
Outputs
0x9000 Byte 0 DO7
Diagnostics
0xA000 Byte 0 SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
0xA001 Byte 0 SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
Parameters
0xB000 Byte 0 SRO7 SRO6 SRO5 SRO4 SRO3 SRO2 SRO1 SRO0
0xB000 Byte 0
Byte 0
Byte 1 FCE - CFG COM V
V
2
–-- - --
1
Byte 0–------I/O Diag
Byte 1
Byte 1 DO15
Byte 1 DO15
–- --- --
C3P2
C7P2
C3P2
C7P2
DO6
C3P4
DO14
C7P4
DO6
C3P4
DO14
C7P4
DO5
C2P2
DO13
C6P2
DO5
C2P2
DO13
C6P2
DO4
C2P4
DO12
C6P4
DO4
C2P4
DO12
C6P4
DO3
C1P2
DO11
C5P2
DO3
C1P2
DO11
C5P2
DO2
C1P4
DO10
C5P4
DO2
C1P4
DO10
C5P4
DO1
C0P2
DO9
C4P2
DO1
C0P2
DO9
C4P2
Byte 1 SCO7 SCO6 SCO5 SCO4 SCO3 SCO2 SCO1 SCO0
Byte 1–-------
Byte 1 SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
Byte 1
Diag
Warn
DO0
C0P4
DO8
C4P4
DO0
C0P4
DO8
C4P4
Meaning of the Register Bits, page 61.
58
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 61

10.5.3 TBEN-Lx-8DIP-8DOP

Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Packed input data
0x0000
Inputs
0x0001
Status word
0x0002
group diag-
nostics
Inputs
0x8000 Byte 0 DI7
Packed output data
0x0800 Byte 0 DO15
Outputs
0x9000 Byte 0 DO15
Diagnostics
0xA000 Byte 0 SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
Parameters
0xB000 Byte 0 Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
0xB001 Byte 0
0xB002 Byte 0 reserved
0xB003 Byte 0 Pulse stretching input 1
0xB004 Byte 0 Pulse stretching input 3
0xB005 Byte 0 Pulse stretching input 5
0xB006 Byte 0 Pulse stretching input 7
Byte 0 DI7
C3P2
DI6
C3P4
DI5
C2P2
DI4
C2P4
DI3
C1P2
DI2
C1P4
DI1
C0P2
Byte 1–- -----
Byte 0
Byte 1 FCE - CFG COM V
V
2
–-- - --
1
Byte 0–------I/O Diag
Byte 1
–-------
C3P2
DI6
C3P4
DI5
C2P2
DI4
C2P4
DI3
C1P2
DI2
C1P4
DI1
C0P2
Byte 1–- -----
C7P2
DO14
C7P4
DO13
C6P2
DO12
C6P4
DO11
C5P2
DO10
C5P4
DO9
C4P2
Byte 1–-------
C7P2
DO14
C7P4
DO13
C6P2
DO12
C6P4
DO11
C5P2
DO10
C5P4
DO9
C4P2
Byte 1–-------
Byte 1 SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
Byte 1 SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
reservedByte 1
Byte 0
Byte 1 Pulse stretching input 0
Byte 1 Pulse stretching input 2
Byte 1 Pulse stretching input 4
Byte 1 Pulse stretching input 6
Byte 1 reserved
DI0
C0P4
Diag
Warn
DI0
C0P4
DO8
C4P4
DO8
C4P4
Meaning of the Register Bits, page 61.
59
Page 62
Modbus TCP

10.5.4 TBEN-Lx-16DXP/TBEN-L4-16DXN

Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Packed input data
0x0000
Inputs
0x0001
Status word
0x0002
group diag-
nostics
Inputs
0x8000 Byte 0 DI7
Packed output data
0x0800 DO7
Outputs
0x9000 Byte 0 DO7
Diagnostics
0xA000 Byte 0 SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
0xA001 Byte 0 SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
Parameters
0xB000 reserved 0xB001 Byte 0 Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
0xB002 Byte 0 SRO7 SRO6 SRO5 SRO4 SRO3 SRO2 SRO1 SRO0
0xB003 Byte 0 EN DO7 EN DO6 EN DO5 EN DO4 EN DO3 EN DO2 EN DO1 EN DO0
0xB004 Byte 0 reserved
0xB005 Byte 0 Pulse stretching input 1
0xB00B Byte 0 Pulse stretching input 13
0xB00C Byte 0 Pulse stretching input 15
Byte 0 DI7
C3P2
Byte 1 DI15
C7P2
Byte 0
V
2
Byte 1 FCE - CFG COM V
DI6
C3P4 DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
DI1
C0P2
DI9
C4P2
–-- - --
1
Byte 0–------I/O Diag Byte 1
Byte 1 DI15
Byte 1 DO15
–-------
C3P2
C7P2
C3P2 DO15
C7P2
C3P2
C7P2
DI6 C3P4 DI14 C7P4
DO6
C3P4
DO14
C7P4
DO6
C3P4
DO14
C7P4
DI5
C2P2
DI13
C6P2
DO5
C2P2
DO13
C6P2
DO5
C2P2
DO13
C6P2
DI4
C2P4
DI12
C6P4
DO4
C2P4
DO12
C6P4
DO4
C2P4
DO12
C6P4
DI3
C1P2
DI11
C5P2
DO3
C1P2
DO11
C5P2
DO3
C1P2
DO11
C5P2
DI2
C1P4
DI10
C5P4
DO2
C1P4
DO10
C5P4
DO2
C1P4
DO10
C5P4
DI1
C0P2
DI9
C4P2
DO1
C0P2
DO9
C4P2
DO1
C0P2
DO9
C4P2
Byte 1 SCO7 SCO6 SCO5 SCO4 SCO3 SCO2 SCO1 SCO0
Byte 1–-------
Byte 1 Inv. DI15 Inv. DI14 Inv. DI13 Inv. DI12 Inv. DI11 Inv. DI10 Inv. DI9 Inv. DI8
Byte 1 SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
Byte 1 EN DO15 EN DO14 EN DO13 EN DO12 EN DO11 EN DO10 EN DO9 EN DO8
Byte 1 Pulse stretching input 0
Byte 1 Pulse stretching input 2 Byte 0 Byte 1
Byte 1 Pulse stretching input 14
Byte 1 reserved
DI0
C0P4
DI8
C4P4
Diag
Warn
DI0
C0P4
DI8
C4P4
DO0
C0P4
DO8
C4P4
DO0
C0P4
DO8
C4P4
60
Meaning of the Register Bits, page 61.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 63

10.5.5 Meaning of the Register Bits

Name Meaning
I/O data
DIx DI = digital input
DOx DO = digital output
Cx C = connector
Px P = pin
Diagnostics
DiagWarn see Register 0x100C: Station Status, page 61
V
1
V
2
COM
CFG
FCE
I/O Diag Group diagnostics of I/Os
SCSx Short-circuit at the supply voltage for the respective connector.
SCOx Overcurrent at the respective output
Parameters  See "parameters"-section for the respective module type in chapter 8.

10.6 Register 0x100C: Station Status

This register contains a general module status.
Bit Name Description
Device
15 -
14 FCE The Force Mode is activated, which means, the actual output
13 -
12 -
Module bus
11 CFG Configuration error
10 COM Internal communication disturbed
Voltage errors
9V
8– -
7V
6– -
5– -
4 – -
System power supply too low (< 18 V DC).
1
V2 too low (< 18 V DC).
2
values may no match the ones defined and sent by the field bus.
61
Page 64
Modbus TCP
Bit Name Description
Warnings
3– -
2– -
1– -
0 DiagWarn Diagnostics available at the device.

10.7 Register 0x1130: Modbus Connection Mode

This register defines the behavior of the Modbus connections:
Bit Name
Description
15 to 2 reserved
1
0
MB_ImmediateWritePermission
0: With the first write access, a write authorization for the respective Modbus-connection is
requested. If this request fails, an exception response with exception-code 0x01 is generated. If the request is accepted, the write access is executed and the write authorization remains active until the connection is closed.
1: The write authorization for the respective Modbus-connection is already opened during the
connection establishment. The first Modbus-connection thus receives the write authorization, all following connections don’t (only if bit 0 = 1).
MB_OnlyOneWritePermission
0: all Modbus-connections receive the write authorization 1: 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.

10.8 Register 0x1131: Modbus Connection Timeout

This register defines after which time of inactivity a Modbus-connection is closed through a Discon­nect.

10.8.1 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 green, blinking
62
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 65

10.9 Register 0x113C and 0x113D: Restore Modbus-Connection-Parameters

Registers 0x113C and 0x113D serve for resetting the parameter-register 0x1120 and 0x1130 to 0x113B to the default settings.
For this purpose, write 0x6C6F to register 0x113C. To activate the reset of the registers, write 0x6164 ("load") within 30 seconds in register 0x113D.
Both registers can also be written with one single request using the function codes FC16 and FC23.
The service resets the parameters without saving them. This can be achieved by using a following "save" service.

10.10 Register 0x113E and 0x113F: Save Modbus-Connection-Parameters

Registers 0x113E and 0x113F are used for the non-volatile saving of 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 0x7665 ("save") within 30 seconds in register 0x113F.
Both registers can also be written with one single request using the function codes FC16 and FC23.

10.11 Bit Areas: Mapping of Input Discrete- and Coil-Areas

As described before, the digital in and outputs can be read and, in case of outputs, be written in the data area for the packed in- and output 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 I/Os, which means they are stored with a variable offset, depending on the station’s I/O-configuration.
In order to set for example a single output (single coil), the following functions are available for read­ing and writing single bits:
FC1 ("Read Coils"),
FC2 ("Read Discrete Inputs"),
FC 5 ("Write Single Coil")
FC15 ("Write Multiple Coils")
Data mapping of input discrete and coil areas:
Mapping: input discrete area
Contains all digital inputs starting with offset "0".
Mapping: coil area
Contains all digital outputs starting with offset "0".
63
Page 66
Modbus TCP

10.12 Error Behavior (Watchdog)

10.12.1 Behavior of Outputs

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 54):
Watchdog = 0 ms (default)
outputs hold the momentary value in case of an error
Watchdog > 0 ms
outputs switch to
NOTE
Setting the outputs to predefined substitute values is not possible in Modbus TCP. Even­tually parameterized substitute values will not be used.

10.12.2 Behavior of the BUS LED

0 after the watchdog time has expired (setting in register 0×1120).
If the Watchdog has tripped, the BUS LED behaves as follows:
Watchdog BUS-LED
tripped constantly red

10.13 Parameters and Diagnostic Messages of the I/O Channels

NOTE
Please find explanations regarding parameters and diagnostic messages in the section
Register Mapping of the TBEN-L Devices, page 57.
64
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 67

11 EtherNet/IP™

11.1 The EtherNet/IP™ Communications Profile

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.
I/O Messages
I/O Messages serve to exchange high priority process and application data over the network.
Communication between the slaves in the EtherNet/IP™ network is carried out according to the Server/Client Model,
which means a producing application transmits data to another or a number of consuming applica­tions. It is quite possible that information is passed to a number of Application Objects in a single device.
Explicit Messages
Explicit Messages are used to transmit low-priority configuration data, general management data or diagnostic data between two specific devices. This is a point-to-point connection in a Server/Cli­ent System that requires a request from a client always to be confirmed by a response from the server.
Message Router Response
Consists of a service code, path size value, a message router path and service data. An EPATH is used in the message router path to indicate the target object.
Message Router Response
Consists of a service field with the most significant bit set. This is an echo of the service code in the request message with the most significant bit set. A reserved byte follows the service code, which is followed by the General Status code.

11.1.1 Communications Profile for TBEN-L

TBEN-L behaves as an EtherNet/IP™ Server in the network; the scanner of the higher-level controller operates as a EtherNet/IP™ Client.
The following EtherNet/IP™ communications types are supported:
Unicast
Multicast
Cyclic Connection
Unconnected (UCMM) Explicit Messaging
Connected Explicit Messaging
Unicast
A point-to-point connection that exists between two nodes only.
Multicast
A packet with a special destination address, which multiple nodes on the network may be willing to receive.
65
Page 68
EtherNet/IP™
COS I/O Connection
COS (Change Of State) I/O Connections establish event-controlled connections. This means that the EtherNet/IP™ devices generate messages as soon as a change of status occurs.
Cyclic I/O Connection
Messages are triggered time-controlled in Cyclic I/O connections by means of a time generator.
UCMM
The EtherNet/IP™ gateway offers the option of establishing explicit messaging via the UCMM port (Unconnected Message Manager Port).
UCMM-based explicit messaging is normally used for random, non-periodic requests.
It is not recommended for frequent messaging because the UCMM input queue in a product is typ­ically limited to just a few messages. Once this limit is reached, subsequent requests are ignored and must be retried.
Connected Explicit Messaging
CIP is a connection-based system. For most communications between nodes, a connection is used.
A connection is a path or a virtual circuit between two or more end points in a system. The purpose is to transfer data in the most efficient manner possible.
The Connection ID is a number that is associated with a communication relationship. Receiving nodes decode this key to know whether they must accept the data or not. Receiving nodes decode this key to know whether they must accept the data or not.

11.2 EDS-File

The actual EDS-files for TBEN-L can be downloaded from the Turck home page www.turck.com.
Device ZIP-file
TBEN-Lx-16DIP/ TBEN-L4-16DIN
TBEN-Lx-16DOP/ TBEN-L4-16DON
TBEN-Lx-8DIP-8DOP
TBEN-Lx-16DXP/ TBEN-L4-16DXN
TBEN-L45_ETHERNETIP.zip
66
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 69

11.3 Diagnostic Messages via Process Data

Besides the evaluation of diagnostic data via Explicit Messages, TBEN-L with EtherNet/IP™ o ffers the possibility of mapping diagnostic data into the process data (see also the devices‘ process data mappings (page 78 ff.).
2 different forms of diagnostic data handling are provided:
Summarized diagnostics
Scheduled diagnostics (manufacturer specific)

11.3.1 Summarized Diagnostics

The summarized diagnostic data mode will send back the bit "I/O Diag" which indicates that one of the device channels sends a diagnosis.
This bit will be "0" if there are no diagnostic flags set on the device. This bit is set to "1" if there are diagnostics pending.
Bit "I/O Diag"
0 = OK, no diagnostics present
1 = At least 1 channel sends diagnostics

11.3.2 Scheduled Diagnostics (Manufacturer Specific)

The scheduled diagnostics feature (Process Data Class (VSC102), page 93) is used for mapping the channel diagnostic bits into the device's process data (siehe page 78) ff..
Bit "SchedDiag"
0 = no mapping of channel diagnostics into the process data
1 = mapping of channel diagnostics into the process data activated

11.4 QC - QuickConnect

QuickConnect enables a PLC to build up connections to EtherNet/IP™ nodes in less than 300 ms after switching-on the power supply for the EtherNet/IP™ network. The fast start-up is necessary for fast tool changing applications at robot arms for example in the automobile industry.
The TBEN-L-devices support FSU with a start-up time of < 150 ms.

Ethernet-Cabling for TBEN-L in QC-Applications

Please read Ethernet-Connection for QC/FSU Applications, page 27 for information about the correct Ethernet-cabling in QC-applications with TBEN-L.
67
Page 70
EtherNet/IP™

11.4.1 QuickConnect in TBEN

Turck TBEN-L devices support QuickConnect.
QuickConnect is activated:
via the device’s web server
via the configuration data in the PLC program via
Assembly Class 0x04, Configuration Assembly 106, bit 0 = 1
or
via Class Instance Attribute in
TCP/IP Interface Object 245 (0×F5), instance 1, attribute 12 (0×C0)
NOTE
Activating QuickConnect also activated the automatic setting of all necessary port­properties:
Auto-negotiation
Transmission speed
Duplex
Topology
AutoMDIX
QuickConnect via Configuration Assembly
The Configuration Assembly is part of the Assembly Class of the device and is defined during the device's configuration in the RS Logix-software tool by Rockwell Automation.
= deactivated
= 100BaseT
= Full duplex
= linear
= deactivated
68
Fig. 15: Configuration Assembly
Quick Connect via Class Instance Attribute
Activate QuickConnect via Class Instance Attribute with the following settings:
Class Instance Attribute Value
245 (0xF5) 1 (0x01) 12 (0x0C) 0 = deactivated (default)
1= activated
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 71
QuickConnect via Web Server
QuickConnect can also be activated or deactivated using the device's web server, see also chapter
13.12, Station Configuration, page 122.

11.5 Device Level Ring (DLR)

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.
The DLR-protocol is used to recognize a ring fault. In case of an interruption of the data line, data are sent through an alternative network section, so that the network can be reconfigured as soon as possible.
DLR-capable network nodes are provided with extended diagnostic functions which enable the devices to localize errors and thus decrease the time for error search and maintenance.
69
Page 72
EtherNet/IP™

11.6 EtherNet/IP™ Standard Classes

The TBEN-L stations support the following EtherNet/IP™ Standard Classes in accordance with the CIP specification.
Class Code Object name
01 (0x01) Identity Object (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)

11.6.1 Identity Object (0x01)

The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev.
2.1 by ODVA & ControlNet International Ltd. and adapted to TBEN-L.
Class Attributes
Attr. No. Attribute name Get/
1 (0x01) REVISION G UINT 1
2 (0x02) MAX OBJECT INSTANCE G UINT 1
6 (0x06) MAX CLASS ATTRIBUTE G UINT 7
7 (0x07) MAX INSTANCE ATTRIBUTE G UINT 7
Instance Attributes
Attr. No. Attribute name Get/
1 (0x01) VENDOR G UINT Contains the vendor ID.
2 (0x02) PRODUCT TYPE G UINT Shows the general product type.
3 (0x03) PRODUCT CODE G UINT Identifier for a specific product of a device
4 (0x04) REVISION
Major Minor
Type Description
Set
G STRUCT
OF: USINT USINT
Type Value
Set
TURCK = 48
Communications Adapter
= 0x0C
12
dec
type. default: 27247
Revision of the item the Identity Object is rep­resenting. 0x01 0x06
dec =
6A6F
70
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 73
5 (0x05) DEVICE STATUS G WORD See page 71
6 (0x06) SERIAL NUMBER G UDINT Contains the ident-no. of the product (3 last
7 (0x07) PRODUCT NAME
Device Status
Bit Name Definition
0 to 1 reserved default = 0
2 Configured TRUE = 1
3 reserved default = 0
4 to 7 Extended Device Sta-
8 to 15 reserved default = 0
LENGTH NAME
tus
bytes of the MAC-ID).
G STRUCT
OF:
USINT STRING [13]
The application of the device has been configured ( default-settings).
0011 = no I/O connection established 0110 = at least one I/O connection in run mode 0111 = at least one I/O connection established, all in IDLE mode All other settings = reserved
e. g.: TBEN-L5-16DXP
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
05 (0x05) no yes Reset
14 (0x0E) yes yes Get_Attribute_Single
16 (0x10) no no Set_Attribute_Single

11.6.2 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 & ControlNet International Ltd. and adapted to TBEN-L.
Class Attributes
Attr. No. Attribute name Get/
1 (0x01) REVISION G UINT 2
2 (0x02) MAX OBJECT INSTANCE G UINT 104
Class
Instance Service name
Returns a predefined list of the object‘s attributes.
Starts the reset service for the device.
Returns the contents of a specified attribute.
Modifies a single attribute.
Type Value
Set
71
Page 74
EtherNet/IP™
Instance Attributes
Attr. No. Attribute name Get
3 (0x03) DATA S ARRAY OF
4 (0x04) SIZE G UINT Number of bytes in attr. 3
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
14 (0x0E) no yes Get_Attribute_Single
Configuration Assembly
TBEN-L stations support Configuration Assembly. It enables an EDS-based configuration/parame­terization of the devices in the PLC software (if supported by the PLC).
Instance 106
The Configuration Assembly contains:
10 byte configuration data
+ x byte parameter data of the respective device
Class
Type Description
/
Set
BYTE
256 or variable
Instance Service name
Configuration Assembly
Module Standard bytes Module specific
parameter data
TBEN-Lx-16DIP/ TBEN-L4-16DIN
TBEN-Lx-16DOP/ TBEN-L4-16DON
TBEN-Lx-8DIP-8DOP 10 byte 16 byte 26
TBEN-Lx-16DXP/ TBEN-L4-16DXN
10 byte 21 byte 31
10 byte 4 byte 14
10 byte 26 byte 36
total
72
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 75
Configuration Assembly (TBEN-Lx-16DIP/TBEN-L4-16DIN)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Module configuration data, see Module Configuration Data, page 77
0 to 8
9
----
Reserved
behavior (PWR) at
under-
LED
V2
Eth 2
Port
Setup
Eth 1
Port
Setup
voltage
Parameters of the I/O channels, see Parameters for I/O Channels, page 37
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
Inv. DI15 Inv. DI14 Inv. DI13 Inv. DI12 Inv. DI11 Inv. DI10 Inv. DI9 Inv. DI8
Pulse stretching input 0
Pulse stretching input 1
Pulse stretching input 2
Pulse stretching input 3
Pulse stretching input 4
Pulse stretching input 5
Pulse stretching input 6
Pulse stretching input 7
Pulse stretching input 8
Pulse stretching input 9
Pulse stretching input 10
Pulse stretching input 11
Pulse stretching input 12
Pulse stretching input 13
Pulse stretching input 14
Pulse stretching input 15
Reserved
Reserved
Quick
Connect
73
Page 76
EtherNet/IP™
Configuration Assembly (TBEN-Lx-16DOP/TBEN-L4-16DON)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Module configuration data, see Module Configuration Data, page 77
0 to 8
9
----
Reserved
behavior (PWR) at
under-
LED
V2
Eth 2
Port
Setup
Eth 1
Port
Setup
voltage
Parameters of the I/O channels, see Parameters for I/O Channels, page 39
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
10
11
12
13
14
15
SRO7 SRO6 SRO5 SRO4 SRO3 SRO2 SRO1 SRO0
SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
Reserved
Quick
Connect
74
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 77
Configuration Assembly (TBEN-Lx-8DIP-8DOP)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Module configuration data, see Module Configuration Data, page 77
0 to 8
9
Reserved
----
Parameters of the I/O channels, see Parameters for I/O Channels, page 41
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
10
11
12
13
14
15
16
17
18
19
20
21
22
Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
Pulse stretching input 0
Pulse stretching input 1
Pulse stretching input 2
Pulse stretching input 3
Pulse stretching input 4
Pulse stretching input 5
Pulse stretching input 6
Pulse stretching input 7
behavior
(PWR) at
under-
voltage
Reserved
LED
V2
Eth 2
Port
Setup
Eth 1
Port
Setup
Quick
Connect
75
Page 78
EtherNet/IP™
Configuration Assembly (TBEN-Lx-16DXP/TBEN-L4-16DXN)
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Module configuration data, see Module Configuration Data, page 77
0 to 8
9
----
Reserved
behavior (PWR) at
under-
LED
V2
Eth 2
Port
Setup
Eth 1
Port
Setup
voltage
Parameters of the I/O channels, see Parameters for I/O Channels, page 43
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Inv. DI7 Inv. DI6 Inv. DI5 Inv. DI4 Inv. DI3 Inv. DI2 Inv. DI1 Inv. DI0
Inv. DI15 Inv. DI14 Inv. DI13 Inv. DI12 Inv. DI11 Inv. DI10 Inv. DI9 Inv. DI8
SRO7 SRO6 SRO5 SRO4 SRO3 SRO2 SRO1 SRO0
SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8
EN DO7 EN DO6 EN DO5 EN DO4 EN DO3 EN DO2 EN DO1 EN DO0
EN DO15 EN DO14 EN DO13 EN DO12 EN DO11 EN DO10 EN DO9 EN DO8
Pulse stretching input 0
Pulse stretching input 1
Pulse stretching input 2
Pulse stretching input 3
Pulse stretching input 4
Pulse stretching input 5
Pulse stretching input 6
Pulse stretching input 7
Pulse stretching input 8
Pulse stretching input 9
Pulse stretching input 10
Pulse stretching input 11
Pulse stretching input 12
Pulse stretching input 13
Pulse stretching input 14
Pulse stretching input 15
Reserved
Reserved
Quick
Connect
76
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 79
Module Configuration Data
Parameter name
= default
A
Quick Connect 0 = controlled recovery
Value Meaning
1 = activated
ETH x Port Setup 0 = Autonegotiation The port is set to autonegotiation.
1 = 100BT/FD Fix setting of the communication parameters
for the Ethernet port to:
100BaseTFull duplex
LED behavior (PWR) at V2 undervoltage
0 = red PWR-LED constant red at V2 undervoltage.
1 = green PWR-LED is blinking green at V2 undervoltage.
77
Page 80
EtherNet/IP™

11.6.3 Process Data Instances

Instance 101
Contains the device’s input data (static length 256 bytes).
2 Bytes status information
+ process data
Instance 102
Contains the device’s output data (static length 256 bytes).
2 bytes control data (mapped, but not defined)
+ process data
Instance 103 and Instance 104
In- and output assembly instances with variable assembly sizes. The assembly size is pre-calculated to support the stations I/O-configuration, enabled diagnostics, etc.
Input Assembly Instance: 103
Output Assembly Instance: 104
The effective size of the Assembly Instance can be determined using the Assembly Object ( 0×67, attribute 0x04) and can be from 2 to 496 bytes large.
Process Data Mapping TBEN-Lx-16DIP/TBEN-L4-16DIN
Scheduled diagnostic data mode
Default setting, see page 67
IN = 8 byte
OUT = 2 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
Diagnos­tics
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
3
4
5
6
1
V
2
------
- FCE - - CFG COM V
DI7
C3P2
DI15
C7P2
DI6
C3P4
DI14
C7P4
DI5
C2P2
DI13
C6P2
C2P4
C6P4
-------I/O Diag
--
Sched
Diag
SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
--------
Control word (MSB)
Control word (LSB)
instance
Diag
Warn
-
DI0
C0P4
DI8
C4P4
DI4
DI12
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
1
DI1
C0P2
DI9
C4P2
-----
78
Meaning of the Process Data Bits, page 84.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 81
No diagnostics,
status- and control-word can be deactivated, see page 44.
IN = 4 byte
OUT = 2 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
1
-------
- FCE - - CFG COM V
DI7
C3P2
DI15
C7P2
DI6
C3P4
DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
Control word (MSB)
Control word (LSB)
Meaning of the Process Data Bits, page 84.
Process Data Mapping TBEN-Lx-16DOP/TBEN-L4-16DON
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
1
DI1
C0P2
DI9
C4P2
Diag
Warn
-
DI0
C0P4
DI8
C4P4
Scheduled diagnostic data mode
default setting, see also page 67.
IN = 8 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Diagnos­tics
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
Outputs 2
2
3
4
5
6
7
1
3
V
2
- FCE - - CFG COM V
------
1
-------I/O Diag
--
Sched
Diag
-----
SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
SCO7 SCO6 SCO5 SCO4 SCO3 SCO2 SCO1 SCO0
SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
--------
Control word (MSB)
Control word (LSB)
DO7
C3P2
DO15
C7P2
DO6
C3P4
DO14
C7P4
DO5
C2P2
DO13
C6P2
DO4
C2P4
DO12
C6P4
DO3
C1P2
DO11
C5P2
DO2
C1P4
DO10
C5P4
DO1
C0P2
DO9
C4P2
Diag
Warn
-
DO0
C0P4
DO8
C4P4
Meaning of the Process Data Bits, page 84.
79
Page 82
EtherNet/IP™
No diagnostics,
status- and control-word can be deactivated, see page 44.
IN = 2 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
1
Outputs 2
3
V
2
------
- FCE - - CFG COM V
Control word (MSB)
Control word (LSB)
DO7
C3P2
DO15
C7P2
DO6
C3P4
DO14
C7P4
DO5
C2P2
DO13
C6P2
DO4
C2P4
DO12
C6P4
DO3
C1P2
DO11
C5P2
DO2
C1P4
DO10
C5P4
1
DO1
C0P2
DO9
C4P2
Diag
Warn
-
DO0
C0P4
DO8
C4P4
Meaning of the Process Data Bits, page 84.
Process Data Mapping TBEN-Lx-8DIP-8DOP
Scheduled diagnostic data mode
Default setting, see page 67
IN = 8 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
Diagnos­tics
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
Outputs 2
4
5
6
7
1
3
V
2
------
- FCE - - CFG COM V
DI7
C3P2
DI6
C3P4
--------
-------I/O Diag
--
SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
DO15
C7P2
DO14
C7P4
--------
DI5
C2P2
Sched
Diag
DO13
C6P2
Diag
Warn
1
DI4
C2P4
DI3
C1P2
DI2
C1P4
DI1
C0P2
DI0
C0P4
-----
Control word (MSB)
Control word (LSB)
DO12
C6P4
DO11
C5P2
DO10
C5P4
DO9
C4P2
DO8
C4P4
-
80
Meaning of the Process Data Bits, page 84.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 83
No diagnostics,
status- and control-word can be deactivated, seepage 44
IN = 4 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
1
Outputs 2
3
V
2
------
- FCE - - CFG COM V
DI7
C3P2
DI6
C3P4
DI5
C2P2
DI4
C2P4
--------
Control word (MSB)
Control word (LSB)
DO15
C7P2
DO14
C7P4
DO13
C6P2
DO12
C6P4
--------
.
DI3
C1P2
DO11
C5P2
DI2
C1P4
DO10
C5P4
1
DI1
C0P2
DO9
C4P2
Meaning of the Process Data Bits, page 84.
Diag
Warn
-
DI0
C0P4
DO8
C4P4
81
Page 84
EtherNet/IP™
Process Data Mapping TBEN-Lx-16DXP/TBEN-L4-16DXN
Scheduled diagnostic data mode
Default setting, see page 67
IN = 10 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
Diagnos­tics
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
Outputs 2
4
5
6
7
8
9
1
3
V
2
- FCE - - CFG COM V
DI7
C3P2
DI15
C7P2
------
1
DI6
C3P4
DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
DI3
C1P2
DI11
C5P2
DI2
C1P4
DI10
C5P4
DI1
C0P2
DI9
C4P2
-------I/O Diag
--
Sched
Diag
-----
SCS7 SCS6 SCS5 SCS4 SCS3 SCS2 SCS1 SCS0
SCO7 SCO6 SCO5 SCO4 SCO3 SCO2 SCO1 SCO0
SCO15 SCO14 SCO13 SCO12 SCO11 SCO10 SCO9 SCO8
--------
Control word (MSB)
Control word (LSB)
DO7
C3P2
DO15
C7P2
DO6
C3P4
DO14
C7P4
DO5
C2P2
DO13
C6P2
DO4
C2P4
DO12
C6P4
DO3
C1P2
DO11
C5P2
DO2
C1P4
DO10
C5P4
DO1
C0P2
DO9
C4P2
Diag
Warn
-
DI0
C0P4
DI8
C4P4
DO0
C0P4
DO8
C4P4
Meaning of the Process Data Bits, page 84.
82
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 85
No diagnostics,
status- and control-word can be deactivated, see page 44.
IN = 4 byte
OUT = 4 byte
IN Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0
1
Inputs 2
3
OUT Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Control 0
1
Outputs 2
3
V
2
------
- FCE - - CFG COM V
DI7
C3P2
DI15
C7P2
DI6
C3P4
DI14
C7P4
DI5
C2P2
DI13
C6P2
DI4
C2P4
DI12
C6P4
Control word (MSB)
Control word (LSB)
DO7
C3P2
DO15
C7P2
DO6
C3P4
DO14
C7P4
DO5
C2P2
DO13
C6P2
DO4
C2P4
DO12
C6P4
DI3
C1P2
DI11
C5P2
DO3
C1P2
DO11
C5P2
DI2
C1P4
DI10
C5P4
DO2
C1P4
DO10
C5P4
1
DI1
C0P2
DI9
C4P2
DO1
C0P2
DO9
C4P2
Diag
Warn
-
DI0
C0P4
DI8
C4P4
DO0
C0P4
DO8
C4P4
Meaning of the Process Data Bits, page 84.
83
Page 86
EtherNet/IP™
Meaning of the Process Data Bits
Name Meaning
I/O data
DIx DI = digital input
DOx DO = digital output
Cx C = connector
Px P = pin
Diagnostics
DiagWarn See VSC 100, attr. 109 (0x6D), Status register 2, page 92
V
2
V
1
COM
CFG
FCE
I/O Diag Group diagnostics of in-/outputs
SchedDiag The mapping of input and output diagnostics is
activated
SCSx Overcurrent at sensor supply of the respective connector
SCOx Overcurrent at output

11.6.4 Connection Manager Object (0x06)

This object is used for connection and connectionless communications, including establishing con­nections across multiple subnets.
The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev.
2.1 by ODVA & ControlNet International Ltd. and adapted to TBEN-L.
Common Services
Service code
84 (0x54) no yes FWD_OPEN_CMD
78 (0x4E) no yes FWD_CLOSE_CMD
82 (0x52) no yes UNCONNECTED_SEND_CMD
Class
Instance Service name
(Opens a connection)
(Closes a connection)
84
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 87

11.6.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 TBEN-L.
Class Attributes
Attr. No. Attribute name Get/
1 (0x01) REVISION G UINT 1
2 (0x02) MAX OBJECT INSTANCE G UINT 1
3 (0x03) NUMBER OF INSTANCES G UINT 1
6 (0x06) MAX CLASS IDENTIFIER G UINT 7
7 (0x07) MAX INSTANCE ATTRIBUTE G UINT 6
Instance Attributes
Attr. No. Attribute name Get/
1 (0x01) STATUS G DWORD Interface status (siehe page 86)
2 (0x02) CONFIGURATION
3 (0x03) CONFIGURATION
4 (0x04) PHYSICAL LINK
5 (0x05) INTERFACE CON-
6 (0x06) HOST NAME G STRING 0 = no Host Name configured (siehe
12 (0x0C) Quick Connect G/S BOOL 0 = deactivate
Type Value
Set
Type Description
Set
G DWORD Interface Capability Flag (siehe page 86)
CAPABILITY
G/S DWORD Interface Control Flag (siehe page 86)
CONTROL
G STRUCT
OBJECT
Path size
Path:
G Structure
FIGURATION
IP address G UDINT Actual IP address
NETWORK MASK G UDINT Actual network mask
GATEWAY ADDR. G UDINT Actual default gateway
NAME SERVER G UDINT 0 = no server address configured
NAME SERVER 2 UDINT 0 = no secondary server address configured
DOMAIN NAME G UDINT 0 = no Domain Name configured
UINT Number of 16 bit words: 0x02
Padded EPATH
of:
0x20, 0xF6, 0x24, 0x01
TCP/IP Network Interface Configuration (siehe page 86)
page 87)
1 = activate
85
Page 88
EtherNet/IP™
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
02 (0x02) no no Set_Attribute_All
14 (0x0E) yes yes Get_Attribute_Single
16 (0x10) no yes Set_Attribute_Single
Interface Status
Class
Instance Service name
The Status attribute indicates the status of the TCP/IP network interface. Refer to the state diagram,Fig. 16: TCP/IP object state diagram (acc. to CIP Spec., Vol.2, Rev.
1.1)
for a description of object states as they relate to the Status attribute.
Bit(s) Name Definition
0-3 Interface Configuration
Status
4 to 31 reserved
Configuration Capability
Indicates the status of the Interface Configuration attribute: 0 = The Interface Configuration attribute has not been configured 1 = The Interface Configuration attribute contains valid configura­tion. 2 to 15: reserved
The Configuration Capability indicates the device’s support for optional network configuration capability.
Bit(s) Name Definition Value
0 BOOTP Client The device is capable of obtaining its net-
work configuration via BOOTP.
1 DNS Client The device is capable of resolving host
names by querying a DNS server.
2 DHCP Client The device is capable of obtaining its net-
work configuration via DHCP.
Configuration Control
1
0
1
The Configuration Control attribute is used to control network configuration options.
Bit(s) Name Definition
0-3 Startup-
Configuration
4 DNS Enable Always 0
5-31 reserved Set to 0
Determines how the device shall obtain its initial configuration. 0 = The device shall use the interface configuration values previ­ously stored (for example, in non-volatile memory or via hardware switches, etc). 1 to 3: reserved
86
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 89
Interface Configuration
Non-existent
Obtaining initial
configuration
Waiting
for
configuration
Applying
configuration
TCP/IP network
interface configured
Status = 0×00000001
Powerup/ Reset
BOOTP/DHCP response received
BOOTP/DHCP disabled and stored config. valid
Set_Attributes request received
Change interface configuration
Status = 0×00000000
Configuration applied
BOOTP OR DHCP enabled
BOOTP/DHCP disabled and stored config. valid
Status = 0×00000000
This attribute contains the configuration parameters required to operate as a TCP/IP node. To modify the Interface Configuration attribute, get the Interface Configuration attribute first, change the desired parameters, then set the attribute. The TCP/IP Interface Object applies the new configuration upon completion of the Set service. If the value of the Startup Configuration bits (Configuration Control attribute) is 0, the new configuration is stored in non-volatile memory. The device does not reply to the set service until the values are safely stored to non-volatile memory. An attempt to set any of the components of the Interface Configuration attribute to invalid values results in an error (status code 0x09) returned from the Set service. If initial configuration is obtained via BOOTP or DHCP, the Interface Configuration attribute components are all 0 until the BOOTP or DHCP reply is received. Upon receipt of the BOOTP or DHCP reply, the Interface Configuration attribute shows the configuration obtained via BOOTP/DHCP.
Host Name
This attribute contains the device’s host name. The host name attribute is used when the device supports the DHCP-DNS Update capability and has been configured to use DHCP upon start up. The mechanism allows the DHCP client to transmit its host name to the DHCP server. The DHCP server then updates the DNS records on behalf of the client.
Fig. 16: TCP/IP object state diagram (acc. to CIP Spec., Vol.2, Rev. 1.1)
87
Page 90
EtherNet/IP™

11.6.6 Ethernet Link Object (0xF6)

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 TBEN-L.
Class Attributes
Attr. No. Attribute name Get/
1 (0x01) REVISION G UINT 1
2 (0x02) MAX OBJECT INSTANCE G UINT 1
3 (0x03) NUMBER OF INSTANCES G UINT 1
6 (0x06) MAX CLASS IDENTIFIER G UINT 7
7 (0x07) MAX INSTANCE ATTRIBUTE G UINT 6
Instance Attributes
Attr. No. Attribute name Get
1 (0x01) INTERFACE SPEED G UDINT Speed in Mbit/s
2 (0x02) INTERFACE FLAGS G DWORD
3 (0x03) PHYSICAL
6 (0x06) INTERFACE
7 (0x07) INTERFACE TYPE (siehe page 89)
10 (0x0A) INTERFACE LABEL
ADDRESS
CONTROL
Type Value
Set
Type Description
/
Set
(e. g. 10, 100, 1000, etc.)
G ARRAY OF
USINT
2 WORD Allows port-wise changes of the Ethernet-set-
Contains the interface’s MAC address (Turck: 00:07:46:××:××:××)
tings
88
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 91
Interface Flags
Bits Name
0 Link Status Indicates whether or not the Ethernet 802.3
1 Half/full duplex 0 = half duplex
2 to 4 Negotiation Status Indicates the status of the automatic
5 Manual Setting
Requires Reset
6 Local Hardware Fault 0 = interface detects no local hardware fault
Definition
communications interface is connected to an active network. 0 = inactive link 1 = active link
1 = full duplex If the L ink S tatus flag is 0, D uple x bit c anno t be defined.
Duplex detection (autonegotiation) 0 = autonegotiation running 1 = autonegotiation and speed detection failed Using default values for speed and duplex (10Mbps/half duplex). 2 = autonegotiation failed but detected speed (default: half duplex). 3 = successfully negotiated speed and duplex. 4 = autonegotiation not attempted. Forced speed and duplex.
0 = interface can activate changes to link parameters (auto-negotiate, duplex mode, interface speed) automatically 1 = device requires a Reset service to be issued to its Identity Object in order to adapt the changes
1 = a local hardware fault is detected
Default value
Depends on application
Depends on application
Depends on application
0
0
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
14 (0x0E) yes yes Get_Attribute_Single
76 (0x4C) no yes Enetlink_Get_and_Clear
Class
Instance Service name
89
Page 92
EtherNet/IP™

11.7 VSC-Vendor Specific Classes

In addition to supporting the above named CIP Standard Classes, the TBEN-L stations support the vendor specific classes described in the following.
Class Code
dec. (hex.)
100 (0x64) Gateway Class, page 91 Contains data and settings concerning the
102 (0x66) Process Data Class, page 93 contains the process data
117 (0x75) Digital Versatile Module Class,
126 (0x1A) Miscellaneous Parameters Class, page 97 Describes the EtherNet/IP™-Port properties
Name Description

11.7.1 Class Instance of the VSCs

NOTE
The class instance attributes are the same for each Vendor Specific Class.
The class-specific Object Instances and the corresponding attributes are explained in the paragraphs for the different VSC.
The general VSC - class instance attributes are defined as follows.
Attr. No.
dec. (hex.)
100 (0x64)
101 (0x65)
102 (0x66)
103 (0x67)
Attribute name Get/
Class revision G UINT Contains the revision number of the class
Max. instance G USINT Contains the number of the highest
# of instances G USINT Contains the number of Object Instances
Max. class attribute G USINT Contains the number of the last class attri-
field bus-specific part of the TBEN-L stations.
page 95 Describes the I/O channels
Type Description
Set
(maj. rel. *1000 + min. rel.).
instance of an object created on this level in the class hierarchy.
created in this class.
bute to be implemented.
90
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 93

11.7.2 Gateway Class (VSC 100)

This class contains all information concerning the whole module not the different I/O channels.
Class Instance
NOTE
Please refer to section Class Instance of the VSCs, page 90 for the description of the class instance for the VSC.
Object Instance 1
Attr. No.
dec. (hex.)
100 (0x64)
101 (0x65)
102 (0x66)
103 (0x67)
104 (0x68)
Attribute name Get/
Type Description
Set
Max object attri­bute
Hardware revision G STRUCT Contains the hardware revision number of
Firmware revision G STRUCT Contains the revision number of the boot
Service tool ident number
Hardware Info
G USINT Contains the number of the last object
attribute to be implemented.
the module (USINT Maj./USINT Min.)
firmware (Maj./Min.).
G UDINT Contains the BOOT ID number that serves
as an identification number for the DTM.
G STRUCT Contains module hardware information
(UINT):
count (number of the following entries) CLOCK FREQUENCY (kHz)MAIN FLASH (in kB)MAIN FLASH SPEED (ns)SECOND FLASH (kB)RAM (kB),RAM SPEED (ns),RAM data WIDTH (bit),SERIAL EEPRPOM (kbit)RTC SUPPORT (in #)AUTO SERVICE BSL SUPPORT (BOOL)HDW SYSTEM
91
Page 94
EtherNet/IP™
Object Instance 2
Attr. No.
dec. (hex.)
109 (0x6D)
115 (0x73)
Attribute name Get/
Type Description
Set
Status register 2 G STRUCT The Status Word contains general station
status information,
Device
Bit 15: reservedBit 14: "Force Mode Active Error" The
Force Mode is activated (FCE).
Bit 13: reserved Bit 12: reserved
Internal bus
Bit 11: "I/O Cfg Modified Error" (CFG)
Configuration error
Bit 10: "I/O Communication Lost Error"
(COM) Internal communication disturbed
Voltage errors
Bit 09: "V1 too low"
V1 < 18 V DC
Bit 08: reserved Bit 07: "V2 too low"
V2 < 18 V DC
Bit 06: reservedBit 05: reservedBit 04: reserved
Warnings
Bit 03: reservedBit 02: reserved Bit 01: reserved Bit 00: "I/O Diags Active Warning"
(DiagnWarn) At least one I/O-channel sends active diagnostics.
ON IO CONNECTION TIMEOUT
G/S ENUM
USINT
Reaction to the I/O connection exceeding
the time limit.
SWITCH IO FAULTED (0):
The channels are switched to substitute
value.
SWITCH IO OFF (1):
The outputs are switched to 0.
SWITCH IO HOLD (2):
No further changes to the I/O-data. The
outputs are held.
92
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 95
Attr. No.
dec. (hex.)
138 (0x8A)
139 (0x8B)
140 (0x8C)
Attribute name Get/
GW Status Register
GW Control Regis­ter
Disable Protocols Get/set UINT Deactivation of the used Ethernet proto-

11.7.3 Process Data Class (VSC102)

This class contains the process-relevant information.
Class Instance
Type Description
Set
Get/set DWORD Activates or deactivates the mapping of
the status word into the device's input
data.
Get/set DWORD Activates or deactivates the mapping of
the status word into the device's input
data.
col.
bit assignment
Bit 0 = EtherNet/IP™ (can not be disabled
via EtherNet/IP™-interface)
Bit 1 = Modbus/TCP
Bit 2 = PROFINET
Bit 3 - 14 = reserved
Bit 15 = web server
NOTE
Please refer to section Class Instance of the VSCs, page 90 for the description of the class instance for the VSC.
Object instance 1, standard output process data (compressed)
This instance is not supported.
Object instance 2, standard output process data (compressed)
This instance is not supported.
Object Instance 3, diagnostic instance
Attr. No.
dec. (hex.)
104 (0x68) GW
105 (0x69) GW
106 (0x6A) reserved -
Attribute name
Summarized diagnostics)
scheduled diag­nostics (manufac­turer specific diagnostics)
Get/
Type Description
Set
G/S BOOL 0 = inactive
1 = active: 1 bit of diagnosis mapped at the
end of the input data image (
Changes become valid after a start-up!
G/S BOOL 0 = inactive
1 = activated: Used for activating the map-
ping of the channel-specific diagnostic
bits into the process input data (
Changes become valid after a start-up!
page 67).
page 67).
93
Page 96
EtherNet/IP™
Object Instance 4, COS/CYCLIC instance
Attr. No.
dec. (hex.)
104 (0x68) COS data
Attribute name Get/
mapping
Type Description
Set
G/S ENUM
USINT
The actual data are loaded to the non-vol-
atile memory of the device.
Changes become valid after a start-up!
0 = standard: Data of COS message
input data.
1 = process input data (only the process
data input image is transferred to scanner)
2 to 7: reserved
94
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 97

11.7.4 Digital Versatile Module Class (VSC117)

This class contains all information and parameters for the device’s I/O channels.
Object Instance
Attr. No.
dec. (hex.)
100 (0x64) Max object
101 (0x65) reserved -
102 (0x66) reserved -
103 (0x67) Module ID G DWORD Contains the device ID
104 (0x68) Module order num-
105 (0x69) Module order
106 (0x6A) Module
107 (0x6B) Module type ID G ENUM
108 (0x6C) Module command
109 (0x6D) Module response
110 (0x6E) Module
111 (0x6F) Module input
112 (0x70) Module output
Attribute name Get/
Set
G USINT Contains the number of the last object
attribute
G UDINT Contains the ident number of the device.
ber
GSHORT
name
G USINT Contains the revision number of the
revision
G/S ARRAY The device's command interface.
interface
G ARRAY The device's response interface.
interface
GENUM
registered index
G USINT Contains the number of input channels
channel count
G USINT Contains the number of output channels
channel count
Type Description
attribute to be implemented.
Contains the device name
STRING
device
Describes the device type:
USINT
USINT
0x01: digital device
ARRAY OF:
BYTE: Control byte sequence
ARRAY OF:
BYTE: Response byte sequence
Contains the index numbers specified in
all the station lists.
supported by the station.
supported by the station.
95
Page 98
EtherNet/IP™
Attr. No.
dec.
Attribute name Get/
Set
Type Description
(hex.)
Input data
113 (0x71) Module input_1 G DWORD Input data of the respective I/Os.
114 (0x72) Module input_2 G DWORD Input data of the respective I/Os.
Output data
115 (0x73) Module output_1 G DWORD Output data of the respective I/Os.
116 (0x74) Module output_2 G DWORD Output data of the respective I/Os.
...
Diagnostics
119 (0x77) Short circuit output
G DWORD Overcurrent at output
error_1
120 (0x78) Short circuit output
G DWORD Overcurrent at output
error_2
121 (0x79) Short circuit V
AUX
G DWORD Overcurrent at sensor/actuator supply
error_1
122 (0x7A) Short circuit V
AUX
G DWORD Overcurrent at sensor/actuator supply
error_2
...
Parameter data
127 (0x7F) Invert input data_1 G/S DWORD The input signal is inverted (channel 0 to
15).
...
133 (0x85) Auto recovery out-
put_1,
G/S DWORD The outputs switch on automatically after
an overload (output 0 to 15).
...
137 (0x89) Re-triggered
recovery output_1
G/S DWORD The outputs (channel 0 to 15) have to be
re-triggered in case of an overload.
...
139 (0x8b) Enable high side
output driver_1
G/S DWORD Enables the high side output driver of
channels (channel 0 to 15).
...
96
149 (0x95) to 164 (0xA4)
Pulse stretching input x
G/S Byte The input signal is stretched to a time
between 10 to 2550 ms.
Default setting:
0 = pulse stretching deactivated
(standard signal = 2,5 ms)
Example:
10 = signal of 100 ms
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 99

11.7.5 Miscellaneous Parameters Class (VSC 126)

Instance 1/Instance 2
Attr. No.
dec. (hex.)
109 (0x6D) Ethernet port
112 (0x70) IO Controller Soft-
Attribute name Get/
Parameters
ware revision
Type Description
Set
G/S DWORD 0 = autonegotiate, autoMDIX A
1 = 10BaseT, half duplex, linear topology
(AutoMDIX disabled)
2 = 100BaseT, full duplex, linear topology
(AutoMDIX disabled)
3 = 100BaseT, half duplex, linear topology
(AutoMDIX disabled)
4 = 100BaseT, full duplex, linear topology
(AutoMDIX disabled)
G DWORD The number of instances of this parameter
depends on the number of I/O controllers.
97
Page 100
EtherNet/IP™
98
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Loading...