Besides this document, the following material can be found on the Internet at www.turck.com: Data sheet Instruction for use for BL20 I/O modules Declarations of conformity (current version) Approvals V01.00 | 2023/08 | 4 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
If you have any suggestions for improving the design or if some information is missing in the document, please send your suggestions to techdoc@turck.com. V01.00 | 2023/08 | 5 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
1 × end plate BL20-ABPL Quick Start Guide Turck service Turck supports you in your projects – from the initial analysis right through to the commission- ing of your application. The Turck product database at www.turck.com offers you several soft- ware tools for programming, configuring or commissioning, as well as data sheets and CAD files in many export formats.
Intended use The BL20 gateway BL20-E-GW-EC-20 is part of the BL20 system. It forms the interface to an EtherCAT network and forwards the data collected from the field by BL20 I/O modules within the BL20 station to the higher-level EtherCAT master.
The components of the BL20 product series are designed with IP20 protection. The BL20-E-GW-EC-20 EtherCAT gateway has two RJ45 sockets (XF1 EC IN and XF2 EC OUT) for the connection to EtherCAT. Two tension clamp terminals each are available for connecting system and load voltage.
AoE (ADS over EtherCAT): The AoE communication protocol is used to read or write device data acyclically, e.g. from connected IO-Link devices. V01.00 | 2023/08 | 10 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Protect the installation site against heat radiation, rapid temperature fluctuations, dust, dirt, moisture and other environmental influences. V01.00 | 2023/08 | 15 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Turn the upper end of the gateway to the rear. Press the gateway against the DIN rail until the latching hook audibly engages. V01.00 | 2023/08 | 16 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Insert the connectors of the end plate firmly into the recesses of the module. Screw the end bracket tight (through the end plate). V01.00 | 2023/08 | 17 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Flexible with ferrule without plastic sleeve 0.2…1.5 mm Flexible with ferrule with plastic sleeve 0.2…0.75 mm Wire cross section AWG 24…16 V01.00 | 2023/08 | 18 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Configured Station Alias The value for the Identification Value is written to the device via register 0x0012 of the Ether- CAT master. V01.00 | 2023/08 | 20 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
The following software tools are used in this example: TwinCAT V3.1.0 ESI file for BL20-E-GW-EC-20 (available as a free download at www.turck.com) V01.00 | 2023/08 | 21 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Select used EtherCAT master as target system. Ò Scanning the network for EtherCAT stations: Right-click I/O Devices. Click Scan. Fig. 10: Scanning for devices V01.00 | 2023/08 | 22 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 23
Modules without process data are not listed. Fig. 11: EtherCAT device as Box 4 in the Solution Explorer V01.00 | 2023/08 | 23 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 24
The device configuration is activated. Click the Run mode button. Fig. 14: Run mode The device is connected online with the EtherCAT master. V01.00 | 2023/08 | 24 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 25
The current status (here: OP) as well as the data points and the link are shown on the On- line tab. Fig. 15: EtherCAT Device, Online tab: status display (here: Operational), data points, link V01.00 | 2023/08 | 25 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 26
The input data is updated cyclically, all outputs of the slaves are switched to the safe state. Operational (Op): SDO and PDO transfer, input and output data valid Bootstrap: Firmware update can be executed V01.00 | 2023/08 | 26 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
The device is connected to the Beckhoff controller with an xml file, the EtherCAT Slave Informa- tion (ESI). The device description file must be saved in TwinCAT Studio V3 for the connection. The ESI file for the device is available free of charge for download from www.turck.com. ...
In the Set Value Dialog sub menu, enter the value 1 = yes. Confirm with OK. Fig. 19: TwinCAT: setting startup parameters The load voltage diagnostics are activated. V01.00 | 2023/08 | 28 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Single Update (recommended): The directory is updated once if a parameter was changed. Auto Update: The directory is updated continuously. V01.00 | 2023/08 | 29 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
(see [} 20]). Confirm entries with OK. Carry out a voltage reset. Fig. 21: TwinCAT – Select Explicit Device Identification V01.00 | 2023/08 | 30 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Identification Con- figured Station Alias (ADO 0x0012). Confirm the entry with OK. Fig. 22: TwinCAT – Selecting Configured Station Alias V01.00 | 2023/08 | 31 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 32
After switching on, the newly connected device is automatically recognized by the mas- ter. The status in the Online tab automatically changes to OP. V01.00 | 2023/08 | 32 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
To use the Hot Connect function, a Hot Connect group must be set up. Ò Right-click Box 4 (BL20-E-GW-EC-20) Add to Hot Connect Group. Fig. 24: TwinCAT: Add to HotConnect group V01.00 | 2023/08 | 33 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 34
In order for a new device to be detected by the master, the device address (Identification Value) must either be set with Explicit Device ID or Configured Station Alias. V01.00 | 2023/08 | 34 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 35
Devices that are part of a Hot Connect group can also be removed from it: Ò Right-click Box 4 (BL20-E-GW-EC-20) Delete from Hot Connect Group. Fig. 27: Delete device from Hot Connect Group V01.00 | 2023/08 | 35 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Launch CODESYS. Ò Click Tools Device Repository. Fig. 28: Device Repository V01.00 | 2023/08 | 36 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 37
Fig. 29: Installing a device description file The module is displayed as an installed device description in the device repository Fig. 30: Installed device description V01.00 | 2023/08 | 37 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
The programming software has been opened. A new project has been created. Example: Creating a project with WinPLC Fig. 31: Example: Creating a project V01.00 | 2023/08 | 38 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 39
Add Device. Select the EtherCAT master in the following window. Click Add Device. Fig. 32: Adding an EtherCAT master V01.00 | 2023/08 | 39 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 40
In the General tab open the Select Network Adapter dialog via the Browse… button. Select the network adapter and confirm with OK. Fig. 34: Selecting a network adapter V01.00 | 2023/08 | 40 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 41
Select the option Restart slaves automatically. Fig. 35: Restart slaves automatically Ò Click Online Login. The project is written to the controller. V01.00 | 2023/08 | 41 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 42
The configuration is possible in the logged-out state. Ò Right-click EtherCAT_Master (EtherCAT Master) select Scan For Devices. Fig. 36: Scan For Devices V01.00 | 2023/08 | 42 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 43
The BL20 station (gateway and connected modules) appears in the project tree with the default settings from the ESI file. Fig. 38: BL20 station in the project tree V01.00 | 2023/08 | 43 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 44
Double-click BL20_E_GW_EC_20 (BL20-E-GW-EC-20). Ò On the General tab Diagnostics the Operational status indicates the active connec- tion. Fig. 39: Status: Operational V01.00 | 2023/08 | 44 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
The parameters of the BL20 gateway (0xF800) and all I/O modules of the BL20 station are displayed. The start-up parameters of the gateway can be changed here. Fig. 40: Start-up parameters of the BL20 gateway V01.00 | 2023/08 | 45 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 46
The startup parameters of the I/O modules are set at the respective module. Fig. 41: CODESYS: Setting the start-up parameters at the BL20 I/O module V01.00 | 2023/08 | 46 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
In the project tree double-click BL20_E_GW_EC_20 (BL20-E-GW-EC-20). In the General tab activate the Expert Settings option. Fig. 42: Activate expert settings V01.00 | 2023/08 | 47 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 48
NOTE The changing of parameters during the runtime can cause a faulty configuration of the device. V01.00 | 2023/08 | 48 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Identification Value (hex.) corresponding to the position of the rotary cod- ing switches on the device. Fig. 44: CODESYS: Explicit Device ID: entering the Identification Value Ò Click Online Login. V01.00 | 2023/08 | 49 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
In the Value field enter the Identification Value. Click Write to EEPROM. Fig. 45: CODESYS: Configured Station Alias: entering the Identification Value V01.00 | 2023/08 | 50 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
At Virtual Ethernet Switch activate the Enable option and the Connect to TCP/IP Stack option at Windows Network. The EoE function is activated in the master. V01.00 | 2023/08 | 51 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 52
The EoE function is activated in the Ethernet switch port terminal. Fig. 47: TwinCAT – Activating EoE in switch port terminal V01.00 | 2023/08 | 52 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 53
The EoE function is activated in the EtherCAT slave. Fig. 48: TwinCAT: activating EoE in EtherCAT slave NOTE DHCP is not support by BL20-E-GW-EC-20. V01.00 | 2023/08 | 53 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 54
Enter the IP Address, Subnet Mask and Default Gateway. The EoE function is activated in the EtherCAT slave. Fig. 49: CODESYS: activating EoE in EtherCAT slave V01.00 | 2023/08 | 54 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 55
Log in to the device’s web server. Configure the device and send the changes to the device via Write. Fig. 50: Web server: configuring the device V01.00 | 2023/08 | 55 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
PLC is started or when the con- nected EtherCAT slaves are read (scanned). V01.00 | 2023/08 | 56 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
0x07 Deactivate load voltage 0: No Load voltage diagnostics are activated. diagnostics 1: Yes All load voltage diagnostics are deactivated. V01.00 | 2023/08 | 60 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 61
Deactivate Force 0: No Mode 1: Yes The force mode is deactivated. The use of the DTM is currently not supported. V01.00 | 2023/08 | 61 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Operational to status Pre Operational Red flashing, 2 × Time out watchdog process data or time out watchdog EtherCAT Red flashing Invalid configuration V01.00 | 2023/08 | 64 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Meaning 0x0F Force mode active Currently not supported The force mode has been activated via the service interface (by DTM). V01.00 | 2023/08 | 65 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
1: latest message was not read Acknowledge Mode 0: no unacknowledged message 1: diagnostic messages are present and can be acknowledged V01.00 | 2023/08 | 67 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 68
6 and so on. Thus always the latest messages (max. 50 messages, see subindex 1) are made accessible for the EtherCAT master. V01.00 | 2023/08 | 68 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 69
Meaning of the text IDs, see diagnostic data (Diagnostic data, 0xA000…0xAFFF) Bit 15 = 0: incoming message (Appear), Example: 0x0101 Bit 15 = 1: outgoing message (Disappear), Example: 0x8101 V01.00 | 2023/08 | 69 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
After the reset to factory settings: Set DIP switch ”Mode” back to ”off”. If necessary, set device ID via DIP switch 2 …2 V01.00 | 2023/08 | 70 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Fig. 53: TwinCAT (example) - Resetting the device to factory settings via CoE index The device is reset to factory settings. V01.00 | 2023/08 | 71 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Risk of device damage due to faulty firmware update Do not interrupt the data connection and the power supply during the firmware update. V01.00 | 2023/08 | 72 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Carrying out the firmware update 10.1.1 Updating the firmware via TwinCAT Downloading the firmware file The firmware file for the device is available free of charge for download from www.turck.com. In the project tree double-click Box 4 (BL20-E-GW-EC-20). Ò...
The Expert settings are activated on the General tab. The option Automatically restart slaves on the General tab is deactivated. Downloading the firmware file The firmware file for the device is available free of charge for download from www.turck.com. In the project tree double-click BL20_E_GW_EC_20 (BL20-E-GW-EC-20).
Loosen the gateway from the DIN rail and remove it from the DIN rail. Disposal The devices must be disposed of properly and do not belong in the domestic waste. V01.00 | 2023/08 | 75 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
According to IEC 60068-2-6 Acceleration Up to 20 g Shock test According to IEC 60068-2-27(shock resistance), IEC 60068-2-29 (resistance to repetitive shocks) V01.00 | 2023/08 | 76 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 77
Flexible with ferrule without plastic sleeve 0.2…1.5 mm Flexible with ferrule with plastic sleeve 0.2…0.75 mm Wire cross section AWG 24…16 V01.00 | 2023/08 | 77 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Via San Domenico 5, IT-20008 Bareggio (MI) www.turckbanner.it Japan TURCK Japan Corporation ISM Akihabara 1F, 1-24-2, Taito, Taito-ku, 110-0016 Tokyo www.turck.jp V01.00 | 2023/08 | 78 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 79
United Kingdom TURCK BANNER LIMITED Blenheim House, Hurricane Way, GB-SS11 8YT Wickford, Essex www.turckbanner.co.uk Turck Inc. 3000 Campus Drive, USA-MN 55441 Minneapolis www.turck.us V01.00 | 2023/08 | 79 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com...
Page 80
Over 30 subsidiaries and 60 representations worldwide! 100040750 | 2023/08 100040750 www.turck.com...
Need help?
Do you have a question about the BL20-E-GW-EC-20 and is the answer not in the manual?
Questions and answers