Table of Contents
4
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
7.1.2 Setting the Dual MAC Mode ......................................................................................................26
7.2 Setting the IP address...................................................................................................26
7.2.1 Setting the IP address via switches at the device...............................................................26
7.2.2 Setting the IP address with Turck Service Tool ...................................................................28
7.2.3 Setting the IP address via the web server .............................................................................29
7.3 Put master/slave functions into operation in CODESYS........................................31
7.3.1 Installing the devices package..................................................................................................31
7.3.2 Creating a standard project with TBEN-L…-PLC… ...........................................................32
7.3.3 Configuring the Network ............................................................................................................33
7.3.4 Configuring the Ethernet interfaces .......................................................................................35
7.3.5 Commissioning TBEN-L...-PLC-... as Modbus TCP Master ................................................37
7.3.6 Commissioning TBEN-L...-PLC-... as Modbus TCP Slave....................................................41
7.3.7 Commissioning TBEN-L...-PLC-... as Modbus RTU Master................................................42
7.3.8 Commissioning TBEN-L...-PLC-... as Modbus RTU Device ................................................45
7.3.9 Commissioning TBEN-L...-PLC-... as PROFINET Controller ...............................................47
7.3.10 Commissioning TBEN-L...-PLC-... as PROFINET Device......................................................50
7.3.11 Commissioning TBEN-L...-PLC-... in parallel as PROFINET controller and device ....54
7.3.12 Commissioning TBEN-L...-PLC-... as EtherNet/IP™ Scanner.............................................56
7.3.13 Commissioning TBEN-L...-PLC-... as EtherNet/IP™ Slave (Device) .................................58
7.3.14 Commissioning TBEN-L...-PLC-... parallel as EtherNet/IPâ„¢ Scanner and Slave
(Device)..............................................................................................................................................64
7.3.15 Commissioning TBEN-L...-PLC-... as CANopen Manager ..................................................65
7.3.16 Commissioning TBEN-L...-PLC-... as CANopen Device ......................................................67
7.3.17 Commissioning TBEN-L...-PLC-... as SAE J1939 Manager .................................................70
7.3.18 Displaying task and processor information..........................................................................72
7.4 Commissioning TBEN-L…PLC-… as Cloud gateway .............................................77
7.4.1 Register or login user and project in the cloud...................................................................78
7.4.2 Creating a Cloud project .............................................................................................................79
7.4.3 Activate a device as Cloud gateway in Turck Cloud Portal.............................................82
7.4.4 Configuring the Cloud access in the web server................................................................85
7.4.5 Transfer process data from CODESYS to the cloud ...........................................................86
7.4.6 Setup firewall for Ethernet port P2..........................................................................................88
8 Parameterizing and Configuring...................................................................................................89
8.1 Parameters......................................................................................................................89
8.1.1 General PLC parameters..............................................................................................................90
8.1.2 Parameters of the local DXP channels (Local I/O) ..............................................................93
8.1.3 Parameter VAUX Control.............................................................................................................93
8.1.4 Interface parameters – COM0/COM1 .....................................................................................93
8.1.5 Interface parameters – CAN .......................................................................................................94
8.1.6 Parameterizing and configuring the device via the web server...................................95
8.2 Configuring the real-time clock (RTC) .......................................................................98
8.2.1 Setting the RTC with Turck Service Tool................................................................................98
8.2.2 Setting the RTC via the web server..........................................................................................99
8.2.3 Setting the RTC via CODESYS ................................................................................................. 101
9 Operating .........................................................................................................................................102
9.1 LED displays................................................................................................................. 102
9.2 Software diagnostic messages ................................................................................ 104
9.2.1 Diagnostics.................................................................................................................................... 104
9.2.2 Module status............................................................................................................................... 106
9.3 Using the USB host port ............................................................................................ 108
9.3.1 USB host port – function overview....................................................................................... 108
9.3.2 Executing USB functions .......................................................................................................... 111
9.3.3 USB functions – behavior of the RUN-LED in case of an error .................................... 113