turck BL20-2DI-24VDC-P, BL20-2DI-24VDC-N, BL20-E-GW-EN, BL20-4DI-24VDC-P, BL20-4DI-24VDC-N User Manual

...
Page 1
BL20 – USER MANUAL
MULTIPROTOCOL Gat fOr ETHERNET
BL20-E-GW-EN
Eway
Page 2
Table of Contents
1About this manual
1.1 Documentation concept .................................................................................................................................1-2
1.1.1 Additional documentation ................................................................................................................................................................. 1-2
1.2 Explanation of symbols used..........................................................................................................................1-3
1.2.1 Further notes ...........................................................................................................................................................................................1-3
1.3 General notes...................................................................................................................................................1-4
1.3.1 Prescribed use ......................................................................................................................................................................................... 1-4
1.3.2 Notes concerning planning/installation of this product ......................................................................................................... 1-4
1.4 General ............................................................................................................................................................1-5
1.4.1 Prescribed use ......................................................................................................................................................................................... 1-5
1.4.2 Notes concerning planning/ installation of this product ........................................................................................................ 1-5
1.5 List of revisions ................................................................................................................................................1-6
2 BL20-philosophy
2.1 The basic concept ............................................................................................................................................2-2
2.1.1 Flexibility ...................................................................................................................................................................................................2-2
2.1.2 Compactness ...........................................................................................................................................................................................2-2
2.1.3 Easy to handle .........................................................................................................................................................................................2-2
2.2 BL20 components ............................................................................................................................................2-3
2.2.1 Gateways ...................................................................................................................................................................................................2-3
2.2.2 Power distribution modules...............................................................................................................................................................2-4
2.2.3 Electronics modules (standard product line) ............................................................................................................................... 2-5
2.2.4 ECO electronics modules.....................................................................................................................................................................2-6
2.2.5 Base modules...........................................................................................................................................................................................2-7
2.2.6 End plate....................................................................................................................................................................................................2-8
2.2.7 End bracket...............................................................................................................................................................................................2-8
2.2.8 Jumpers...................................................................................................................................................................................................... 2-9
2.2.9 Marking material.....................................................................................................................................................................................2-9
2.2.10 Shield connection gateway ............................................................................................................................................................. 2-10
3 Properties: gateway and I/O-modules
3.1 Function of the gateway .................................................................................................................................3-3
3.1.1 Version overview .................................................................................................................................................................................... 3-3
3.2 Supported I/O-modules ..................................................................................................................................3-4
3.3 Technical data..................................................................................................................................................3-6
3.3.1 Top view BL20-E-GW-EN (< VN 03-00) ...........................................................................................................................................3-6
3.3.2 Top view BL20-E-GW-EN (VN 03-00) ..........................................................................................................................................3-7
3.3.3 Block diagram .......................................................................................................................................................................................... 3-8
3.3.4 General technical data of a station ................................................................................................................................................. 3-9
3.3.5 Technical data for the push-in tension clamp terminals ..................................................................................................... 3-11
3.3.6 LED-displays .......................................................................................................................................................................................... 3-12
3.4 Connection options at the gateway ............................................................................................................ 3-14
3.4.1 Power supply ........................................................................................................................................................................................ 3-14
3.4.2 Field bus connection via Ethernet-switch .................................................................................................................................. 3-14
D301173 0713 - BL20- Ethernet multiprotocol gateway
i
Page 3
3.4.3 Service interface ................................................................................................................................................................................... 3-14
3.5 Address assignment ..................................................................................................................................... 3-15
3.5.1 Default setting of the gateway ....................................................................................................................................................... 3-15
3.5.2 Function of DIP-switches ..................................................................................................................................................................3-16
3.5.3 Resetting the IP-address, switch position "RESTORE".............................................................................................................3-17
3.5.4 Address setting via DIP-switches (2
0
to 27)................................................................................................................................. 3-18
3.5.5 Address setting via the mode DHCP.............................................................................................................................................3-19
3.5.6 Address setting via the mode BootP ............................................................................................................................................3-20
3.5.7 Address setting via the mode PGM ............................................................................................................................................... 3-21
3.5.8 Address setting via the mode PGM-DHCP (universal mode)...............................................................................................3-22
3.5.9 F_Reset (Reset to factory setting) .................................................................................................................................................. 3-22
3.5.10 Addressing via I/O-ASSISTANT 3 (FDT/DTM) ............................................................................................................................. 3-23
3.5.11 Addressing via Web server (Version VN 03-00) ....................................................................................................................3-26
3.5.12 Addressing via IP Address Tool....................................................................................................................................................... 3-27
3.6 Synchronization of the station configuration ............................................................................................ 3-28
3.6.1 DIP-switch CFG .....................................................................................................................................................................................3-28
3.7 Web server - remote access/configuration (Version VN 03-00)............................................................. 3-29
3.7.1 IP address................................................................................................................................................................................................3-29
3.7.2 Access rights ..........................................................................................................................................................................................3-29
3.7.3 Login / password.................................................................................................................................................................................. 3-30
3.7.4 Network Configuration ......................................................................................................................................................................3-30
3.7.5 Gateway Configuration ..................................................................................................................................................................... 3-31
3.7.6 Station Diagnostics .............................................................................................................................................................................3-31
3.7.7 Ethernet Statistics ................................................................................................................................................................................3-31
3.7.8 Links.......................................................................................................................................................................................................... 3-31
3.7.9 Change Admin Password..................................................................................................................................................................3-32
3.8 Status and Control Word of the BL20-stations ........................................................................................... 3-33
3.8.1 Status Word............................................................................................................................................................................................ 3-33
3.8.2 Control Word .........................................................................................................................................................................................3-33
3.9 Parameters of the I/O-modules ................................................................................................................... 3-34
3.9.1 Digital input modules ........................................................................................................................................................................3-34
3.9.2 Analog input modules ....................................................................................................................................................................... 3-34
3.9.3 Analog output modules ....................................................................................................................................................................3-43
3.9.4 Technology modules.......................................................................................................................................................................... 3-48
3.10 Diagnostic messages of the modules.......................................................................................................... 3-57
3.10.1 Power distribution modules ............................................................................................................................................................3-57
3.10.2 Digital input modules ........................................................................................................................................................................3-58
3.10.3 Analog input modules ....................................................................................................................................................................... 3-58
3.10.4 Digital output modules ..................................................................................................................................................................... 3-61
3.10.5 Analog output modules ....................................................................................................................................................................3-63
3.10.6 Technology modules.......................................................................................................................................................................... 3-64
4 Implementation of EtherNet/IP™
4.1 The EtherNet/IP™ Communications Profile .................................................................................................. 4-2
4.1.1 Communications Profile for BL20 .................................................................................................................................................... 4-3
4.2 Device Level Ring (DLR).................................................................................................................................. 4-4
4.3 Diagnostic messages via the process data ................................................................................................... 4-5
D301173 0713 - BL20- Ethernet multiprotocol gateway ii
Page 4
4.3.1 Summarized Diagnostics ..................................................................................................................................................................... 4-5
4.3.2 Scheduled Diagnostics .........................................................................................................................................................................4-5
4.4 Classes and Instances of the EtherNet/IP™-stations .....................................................................................4-6
4.4.1 EtherNet/IP™ Standard Classes.......................................................................................................................................................... 4-6
4.4.2 Identity Object (0x01) ........................................................................................................................................................................... 4-7
4.4.3 Assembly Object (0x04) .......................................................................................................................................................................4-9
4.4.4 Connection Manager Object (0x06) ............................................................................................................................................. 4-12
4.4.5 TCP/IP Interface Object (0xF5) ........................................................................................................................................................ 4-13
4.4.6 Ethernet Link Object (0xF6) ............................................................................................................................................................. 4-17
4.5 VSC-Vendor Specific Classes........................................................................................................................ 4-19
4.5.1 Class Instance of the VSCs ................................................................................................................................................................ 4-19
4.5.2 Gateway Class (VSC 100, 64h) ......................................................................................................................................................... 4-20
4.5.3 Process Data Class (VSC102, 66h) .................................................................................................................................................. 4-23
4.5.4 Miscellaneous Parameters Class (VSC 126) ................................................................................................................................ 4-25
5 Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley)
5.1 General .............................................................................................................................................................5-2
5.1.1 Used hard-/ software............................................................................................................................................................................. 5-2
5.2 Network configuration....................................................................................................................................5-3
5.2.1 Configuration of the network in "RS Logix 5000" .......................................................................................................................5-3
5.2.2 Downloading the I/O configuration................................................................................................................................................5-7
5.3 I/O data mapping.............................................................................................................................................5-9
5.4 Process data access ...................................................................................................................................... 5-11
5.4.1 Setting outputs .................................................................................................................................................................................... 5-11
5.4.2 Example program................................................................................................................................................................................ 5-12
6 Implementation of Modbus TCP
6.1 Common Modbus description ........................................................................................................................6-2
6.1.1 Protocol description ..............................................................................................................................................................................6-3
6.1.2 Data model ...............................................................................................................................................................................................6-4
6.2 Implemented Modbus functions....................................................................................................................6-6
6.3 Modbus registers.............................................................................................................................................6-7
6.3.1 Structure of the packed in-/ output process data ................................................................................................................... 6-12
6.3.2 Register 0x100C: Gateway status................................................................................................................................................... 6-16
6.3.3 Register 0x1130h: Modbus-Connection-Mode ........................................................................................................................ 6-17
6.3.4 Register 0x1131: Modbus-Connection-Timeout...................................................................................................................... 6-17
6.3.5 Register 0x113C and 0x113D: Restore Modbus-connection parameters ....................................................................... 6-17
6.3.6 Register 0x113E and 0x113F: „Save Modbus-Connection-Parameters“ .......................................................................... 6-18
6.3.7 Register 0x1140: Disable protocol................................................................................................................................................. 6-18
6.3.8 Register 0x1141: Active protocol................................................................................................................................................... 6-18
6.3.9 Register 0x2000 bis 0x207F: The Service-Object ..................................................................................................................... 6-19
6.4 Bit areas: mapping of input-discrete- and coil-areas ................................................................................ 6-22
6.5 Error behavior of outputs (watchdog)........................................................................................................ 6-23
7 Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3)
7.1 Used hard-/ software .......................................................................................................................................7-2
D301173 0713 - BL20- Ethernet multiprotocol gateway
iii
Page 5
7.1.1 Hardware .................................................................................................................................................................................................. 7-2
7.1.2 Software .................................................................................................................................................................................................... 7-2
7.2 Network configuration ................................................................................................................................... 7-3
7.3 Programming with CoDeSys .......................................................................................................................... 7-4
7.3.1 Predefined feature sets........................................................................................................................................................................ 7-4
7.3.2 Creating a new project ........................................................................................................................................................................ 7-5
7.3.3 Defining the communication settings ........................................................................................................................................... 7-7
7.3.4 Adding the Ethernet Adapter............................................................................................................................................................ 7-9
7.3.5 Adding the Modbus master ............................................................................................................................................................. 7-10
7.3.6 Adding a Modbus TCP slave ............................................................................................................................................................7-11
7.3.7 Programming (example program) ................................................................................................................................................ 7-13
7.3.8 CoDeSys: Global variables ................................................................................................................................................................7-14
7.3.9 Modbus channels................................................................................................................................................................................. 7-15
7.3.10 Building, login and start ....................................................................................................................................................................7-26
7.3.11 Reading out the process data ......................................................................................................................................................... 7-28
7.3.12 Diagnosis evaluation .......................................................................................................................................................................... 7-29
8 Implementation of PROFINET®
8.1 Address assignment ....................................................................................................................................... 8-2
8.2 MRP (Media Redundancy Protocol)............................................................................................................... 8-3
8.3 GSDML-file....................................................................................................................................................... 8-4
8.4 Default-values................................................................................................................................................. 8-4
8.5 Diagnosis in PROFINET® ................................................................................................................................. 8-5
8.5.1 Gateway Error codes ............................................................................................................................................................................ 8-5
8.5.2 Channel -specific error codes of the I/O-modules .................................................................................................................... 8-6
8.6 Parameterization .......................................................................................................................................... 8-11
8.6.1 Gateway parameters...........................................................................................................................................................................8-11
8.6.2 I/O-module-parameters ....................................................................................................................................................................8-14
8.6.3 Parameter "module parameterization"........................................................................................................................................ 8-14
8.7 Description of user data for acyclic services............................................................................................... 8-15
8.7.1 Description of the acyclic gateway user data............................................................................................................................ 8-15
8.7.2 Description of the acyclic module user data .............................................................................................................................8-16
9 Application example: BL20-E-GW-EN with PROFINET® (S7)
9.1 Application example ...................................................................................................................................... 9-2
9.1.1 General ...................................................................................................................................................................................................... 9-2
9.1.2 Example network ................................................................................................................................................................................... 9-2
9.1.3 New project in the Simatic Manager .............................................................................................................................................. 9-3
9.1.4 Setting the PG/PC-interface ............................................................................................................................................................... 9-3
9.1.5 Installation of the GSDML-files.......................................................................................................................................................... 9-4
9.1.6 Adding PROFINET®-network nodes................................................................................................................................................. 9-8
9.1.7 Configuring the BL20-station ..........................................................................................................................................................9-11
9.1.8 Scanning the network for PROFINET® nodes............................................................................................................................. 9-12
9.1.9 PROFINET® neighborhood detection via LLDP .........................................................................................................................9-14
9.1.10 Online topology detection ............................................................................................................................................................... 9-17
9.2 Diagnostics with Step 7 ................................................................................................................................ 9-18
9.2.1 Diagnostic messages in the hardware configuration.............................................................................................................9-18
D301173 0713 - BL20- Ethernet multiprotocol gateway iv
Page 6
9.2.2 Diagnostic telegram with error code .......................................................................................................................................... 9-19
10 Guidelines for station planning
10.1 Module arrangement ................................................................................................................................... 10-2
10.1.1 Random module arrangement....................................................................................................................................................... 10-2
10.1.2 Complete planning............................................................................................................................................................................. 10-2
10.1.3 Maximum system extension ........................................................................................................................................................... 10-3
10.2 Power supply ................................................................................................................................................ 10-6
10.2.1 Power supply to the gateway ......................................................................................................................................................... 10-6
10.2.2 Module bus refreshing (BL20-BR-24VDC-D) .............................................................................................................................. 10-6
10.2.3 Creating potential groups ................................................................................................................................................................ 10-7
10.2.4 C-rail (cross connection) ................................................................................................................................................................... 10-7
10.2.5 Direct wiring of relay modules ....................................................................................................................................................... 10-9
10.3 Protecting the service interface on the gateway ..................................................................................... 10-10
10.4 Plugging and pulling electronics modules............................................................................................... 10-10
10.5 Extending an existing station.................................................................................................................... 10-10
10.6 Firmware download ................................................................................................................................... 10-11
11 Guidelines for Electrical Installation
11.1 General notes................................................................................................................................................ 11-2
11.1.1 General ....................................................................................................................................................................................................11-2
11.1.2 Cable routing ........................................................................................................................................................................................ 11-2
11.1.3 Lightning protection.......................................................................................................................................................................... 11-3
11.1.4 Transmission media............................................................................................................................................................................ 11-3
11.2 Potential relationships................................................................................................................................. 11-4
11.2.1 General ....................................................................................................................................................................................................11-4
11.3 Electromagnetic compatibility(EMC ........................................................................................................... 11-5
11.3.1 Ensuring electromagnetic compatibility .................................................................................................................................... 11-5
11.3.2 Grounding of inactive metal components................................................................................................................................. 11-5
11.3.3 PE connection....................................................................................................................................................................................... 11-5
11.3.4 Earth-free operation ........................................................................................................................................................................... 11-5
11.3.5 Mounting rails....................................................................................................................................................................................... 11-6
11.4 Shielding of cables ....................................................................................................................................... 11-7
11.5 Potential compensation............................................................................................................................... 11-8
11.5.1 Switching inductive loads ................................................................................................................................................................ 11-8
11.5.2 Protection against Electrostatic Discharge (ESD) .................................................................................................................... 11-8
12 BL20-Approvals for Zone 2/ Division 2
13 Appendix
13.1 Data image of the technology modules ..................................................................................................... 13-2
13.1.1 1RS232/ 1RS485-module .................................................................................................................................................................. 13-2
13.1.2 SSI module ............................................................................................................................................................................................. 13-6
13.1.3 SWIRE-module ....................................................................................................................................................................................13-13
13.1.4 Encoder/PWM-moduleBL20-E-2CNT-2PWM ...........................................................................................................................13-15
13.1.5 RFID-moule BL20-2RFID-S/ -A .......................................................................................................................................................13-15
D301173 0713 - BL20- Ethernet multiprotocol gateway
v
Page 7
13.2 Changing the IP address of a PC/ network interface card ....................................................................... 13-16
13.2.1 Changing the IP address in Windows........................................................................................................................................ 13-16
13.2.2 Changing the IP address via I/O-ASSISTANT V3 .................................................................................................................... 13-18
13.3 Deactivating/ adapting the firewall in Windows ..................................................................................... 13-19
13.4 Addressing via DHCP .................................................................................................................................. 13-22
13.5 Ident codes the BL20-modules.................................................................................................................. 13-24
14 Glossary
15 Index
D301173 0713 - BL20- Ethernet multiprotocol gateway vi
Page 8

1 About this manual

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

1.1 Documentation concept

This manual contains all information about the gateways BL20-E-GW-EN of the product line BL20 .
Version < VN 03-00: gateway for Modbus TCP
Version VN 03-00: multiprotocol-gateway for Modbus TCP, EtherNet/IP™, PROFINET®
In addition to a short BL20-system description and the protocol-independent properties of the gateway and if necessary of the I/O-modules (technical properties, diagnostics, parameters, etc.), the following chapters contain two protocol-dependent chapters respectively.
The protocol-dependent chapters contain on the one hand the protocol-specific gateway-properties and on the other hand an application example for the respective Ethernet-protocol, describing the device's connection to automation devices.
EtherNet/IP™
chapter 4, Implementation of EtherNet/IP™
chapter 5, Application example: BL20-E-GW-EN with EtherNet/IP™ (Allen Bradley)
Modbus TCP
chapter 6, Implementation of Modbus TCP
chapter 7, Application example: BL20-E-GW-EN for Modbus TCP (CoDeSys Win V3)
PROFINET®
chapter 8, Implementation of PROFINET®
chapter 9, Application example: BL20-E-GW-EN with PROFINET® (S7)
Additionally, the manual contain protocol-independent guideline for station configuration, the electri­cal installation, etc..

1.1.1 Additional documentation

BL20 I/O-modules (TURCK-documentation no.: German D300716; English D300717).
The bus-independent I/O-modules of the BL20-system as well as all bus independent information as mounting, labeling etc. are described in a separate manual.
In addition to that, the manual contains a short description of the I/O-ASSISTANT, the project plan­ning and configuration software tool for TURCK I/O-systems-
BL20-E-2CNT-2PWM, (TURCK-documentation no.: German D301223; English D301224)
D300815 0215- BL67 multiprotocol1-2
Page 10
Explanation of symbols used

1.2 Explanation of symbols used

Warnings
Action-related warnings are placed next to potentially dangerous work steps and are marked by graphic symbols. Each warning is initiated by a warning sign and a signal word that expresses the grav­ity of the danger. The warnings have absolutely to be observed.
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.
CAUTION!
WARNING indicates a potentially dangerous situation with medium risk, the death or severe injury, if not avoided.

1.2.1 Further notes

CALL TO ACTION
This symbol identifies steps that the user has to perform.
RESULTS OF ACTION
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 follow­ing the correct procedure.
TECHNICAL BASICS
The TECHNICAL BASICS offer technical information, basics and background information. This information lead to a better understanding of the device functions for example. The experi­enced user can skip this information.
This symbol identifies relevant results of steps
D300815 0215- BL67 multiprotocol
1-3
Page 11
About this manual

1.3 General notes

Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment.
This manual includes all information necessary for the prescribed use of the BL67-gateways. It has been specially conceived for personnel with the necessary qualifications.

1.3.1 Prescribed use

The devices described in this manual must be used only in applications prescribed in this manual or in the respective technical descriptions, and only with certified components and devices from third party manufacturers.
Appropriate transport, storage, deployment and mounting as well as careful operating and thorough maintenance guarantee the trouble-free and safe operation of these devices.

1.3.2 Notes concerning planning/installation of this product

All respective safety measures and accident protection guidelines must be considered carefully and without exception.
D300815 0215- BL67 multiprotocol1-4
Page 12
General

1.4 General

This manual includes all information necessary for the prescribed use of the BL20-E-GW-EN. It has been specially conceived for personnel with the necessary qualifications.

1.4.1 Prescribed use

Appropriate transport, storage, deployment and mounting as well as careful operating and thorough maintenance guarantee the trouble-free and safe operation of these devices.
ATTENTION!
Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment.
WARNING!
The devices described in this manual must be used only in applications prescribed in this manual or in the respective technical descriptions, and only with certified components and devices from third party manufacturers.

1.4.2 Notes concerning planning/ installation of this product

WARNING!
All respective safety measures and accident protection guidelines must be considered care­fully and without exception.
D300815 0215- BL67 multiprotocol
1-5
Page 13
About this manual

1.5 List of revisions

In comparison to the previous manual edition, the following changes/ revisions have been made.
Tabelle 1-1: List of revisions
Chapter Topic new changed
Chap. 3 Version overview (page 3-3) X
Top view BL20-E-GW-EN (< VN 03-00), page 3-6 X
Top view BL20-E-GW-EN (VN 03-00), page 3-7 X
LED-displays (page 3-12) X
Function of DIP-switches (page 3-16) X
Addressing via IP Address Tool (page 3-27) X
Chap. 7 Diagnosis evaluation (page 7-29) X
NOTE
The publication of this manual renders all previous editions invalid.
D300815 0215- BL67 multiprotocol1-6
Page 14

2 BL20-philosophy

2.1 The basic concept ....................................................................................................................................... 2-2
2.1.1 Flexibility .............................................................................................................................................................................................2-2
2.1.2 Compactness .....................................................................................................................................................................................2-2
2.1.3 Easy to handle ...................................................................................................................................................................................2-2
2.2 BL20 components....................................................................................................................................... 2-3
2.2.1 Gateways .............................................................................................................................................................................................2-3
– ECO-gateways ...............................................................................................................................................................................2-3
– Gateways with integrated power supply ............................................................................................................................ 2-4
– Gateways without integrated power supply .....................................................................................................................2-4
2.2.2 Power distribution modules.........................................................................................................................................................2-4
2.2.3 Electronics modules (standard product line) .........................................................................................................................2-5
2.2.4 ECO electronics modules............................................................................................................................................................... 2-6
2.2.5 Base modules.....................................................................................................................................................................................2-7
2.2.6 End plate..............................................................................................................................................................................................2-8
2.2.7 End bracket......................................................................................................................................................................................... 2-8
2.2.8 Jumpers ...............................................................................................................................................................................................2-9
2.2.9 Marking material ..............................................................................................................................................................................2-9
2.2.10 Shield connection gateway ....................................................................................................................................................... 2-10
D301173 0713 - BL20- Ethernet multiprotocol gateway 2-1
Page 15
BL20-philosophy

2.1 The basic concept

BL20 is a modular I/O system for use in industrial automation. It connects the sensors and actuators in the field with the higher-level master.
BL20 offers modules for practically all applications:
Digital input and output modules
Analog input and output modules
Technology modules (counters, RS232 interface...)
A complete BL20 station counts as one station on the bus and therefore occupies one fieldbus address in any given fieldbus structure. A BL20 station consists of a gateway, power distribution modules and I/O modules.
The connection to the relevant fieldbus is made via the bus-specific gateway, which is responsible for the communication between the BL20 station and the other fieldbus stations.
The communication within the BL20 station between the gateway and the individual BL20 modules is regulated via an internal module bus.

2.1.1 Flexibility

All BL20 stations can be planned to accommodate the exact number of channels to suit your needs, because the modules are available with different numbers of channels in block and slice design.
A BL20 station can contain modules in any combination, which means it is possible to adapt the system to practically all applications in automated industry.

2.1.2 Compactness

The slim design of the BL20 modules (standard gateway 50.4 mm / 1.98 inch, ECO gateway 34 mm/ 1.34 inch, standard slice 12.6 mm / 0.49 inch, ECO slice 13 mm / 0.51 inch and block 100.8 mm / 3.97 inch) and their low overall height favor the installation of this system in confined spaces.

2.1.3 Easy to handle

All BL20 modules of the standard line, with the exception of the gateway, consist of a base module and an electronics module. The gateway and the base modules are snapped onto a mounting rail. The electronics modules are plugged onto the appropriate base modules.
The base modules of the standard line are designed as terminal blocks. The wiring is secured by tension clamp or screw connection.
The electronics modules can be plugged or pulled when the station is being commissioned or for maintenance purposes, without having to disconnect the field wiring from the base modules.
Note
The gateway is the only fieldbus-dependent module on a BL20 station. All other BL20 modules are not dependent on the fieldbus used.
The ECO electronics modules combine base module and electronics module in one housing. All BL20­ECO modules can be used with the standard products with tension clamp connection technology.
D301173 0713 - BL20- Ethernet multiprotocol gateway 2-2
Page 16
BL20 components

2.2 BL20 components

2.2.1 Gateways

The gateway connects the fieldbus to the I/O modules. It is responsible for handling the entire process data and generates diagnostic information for the higher-level master and the software tool I/O­ASSISTANT.
ECO-gateways
The BL20-ECO gateways enlarge the product portfolio of BL20. They offer an excellent cost/ performance ratio.
Further advantages of the gateways in the ECO-housing:
At the moment available for PROFIBUS-DP, DeviceNet™, CANopen, Modbus TCP, EtherNet/IP™, EtherCAT® and PROFINET®
Low required space: width 34 mm/ 1.34 inch minimal space requirements
Can be combined with all existing standard modules (with tension clamp connection technology)
and ECO modules
Figure 2-1: Gateway BL20-E-GW-EN
Simple wiring with "Push-in" tension clamp terminals, via DeviceNet™-Open Style Connector or via
Ethernet RJ45-connectors
Automatic bit rate detection for PROFIBUS-DP and DeviceNet™
Setting of fieldbus address and bus terminating resistor (PROFIBUS-DP, DeviceNet™, CANopen) via
DIP-switches
Service interface for commissioning with I/O-ASSISTANT 3 (FDT/DTM), without PLC)
D301173 0713 - BL20- Ethernet multiprotocol gateway
2-3
Page 17
BL20-philosophy
Gateways with integrated power supply
All standard gateways BL20-GWBR-××× as well as the BL20-gateways for DPV1 and Ethernet (BL20-GW­DPV1, BL20-GW-EN, BL20-GW-EN-IP, BL20-GW-EN-PN, BL20-PG-EN and BL20-PG-EN-IP) offer an integrated power supply unit for feeding the gateway and the connected I/O modules.
It is not necessary to supply each individual module with a separate voltage.
Gateways without integrated power supply
Note
The gateways without integrated power supply unit need an additional power supply module (bus refreshing module) which feeds the gateway an the connected I/O modules.

2.2.2 Power distribution modules

The power supply for gateways and I/O modules is fed to the power distribution modules; therefore, it is not necessary to supply each individual module with a separate voltage.
Figure 2-2: Power distribu­tion module
D301173 0713 - BL20- Ethernet multiprotocol gateway 2-4
Page 18
BL20 components

2.2.3 Electronics modules (standard product line)

The standard electronics modules contain the I/O-functions of the BL20 modules (power distribution modules, digital and analog input/output modules, and technology modules).
They are plugged onto the base modules and are not directly connected to the wiring
and can be plugged or pulled when the station is being commissioned or for maintenance purposes, without having to disconnect the field wiring from the base modules.
Figure 2-3: Electronics module in slice design (left) and in Block design (right)
D301173 0713 - BL20- Ethernet multiprotocol gateway
2-5
Page 19
BL20-philosophy

2.2.4 ECO electronics modules

New ECONOMY modules with a high signal density and exceptionally low channel price expand the BL20 I/O bus terminal system.
Depending on type, up to 16 digital inputs and outputs can be connected on only 13 mm. This high connection density considerably reduces the mounting width required for typical applications.
All advantages at a glance:
Space saving thanks to 16 channels on 13 mm/ 0.51 inch width
Cost saving thanks to electronics with integrated connection level
High signal density
Tool-less connection via "push-in" spring-type terminal technology for simple and fast mounting
Flexibility in combining them with standard I/O-modules in tension clamp technology, the
standard- and the ECO-gateways.
Simple assembly reduces error sources
Figure 2-4: ECO I/O-module
D301173 0713 - BL20- Ethernet multiprotocol gateway 2-6
Page 20
BL20 components

2.2.5 Base modules

The field wiring is connected to the base modules. These are constructed as terminals in block and slice designs and are available in the following variations with either tension clamp or screw connections: 2­/3-wire (2-channel), 4-wire (2-channel) and 4 x 2-/3-wire (4-channel).
Figure 2-5: Base module with tension clamp connec­tion
Figure 2-6: Base module with screw connection
Figure 2-7: Base module in block design
D301173 0713 - BL20- Ethernet multiprotocol gateway
2-7
Page 21
BL20-philosophy

2.2.6 End plate

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

2.2.7 End bracket

A second end bracket to the left of the gateway is necessary, as well as the one mounted into the end plate to secure the station.
Figure 2-9: End bracket
Note
The end plate and two end brackets are delivered with the gateway.
D301173 0713 - BL20- Ethernet multiprotocol gateway 2-8
Page 22
BL20 components

2.2.8 Jumpers

Jumpers (QVRs) are used to bridge a connection level of a 4-wire base module. They can be used to connect potentials in relay modules (bridging the relay roots); thus considerably reducing the amount of wiring.
Figure 2-10: Jumpers

2.2.9 Marking material

Labels: for labeling BL20 electronics modules.
Markers: for colored identification of connection levels of BL20 base modules.
Dekafix connector markers: for numbering the mounting slots on BL20 base modules.
Figure 2-11: Marking mate­rial
D301173 0713 - BL20- Ethernet multiprotocol gateway
2-9
Page 23
BL20-philosophy

2.2.10 Shield connection gateway

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

3 Properties: gateway and I/O-modules

3.1 Function of the gateway............................................................................................................................... 3
3.1.1 Version overview ..................................................................................................................................................................................3
3.2 Supported I/O-modules ................................................................................................................................ 4
3.3 Technical data................................................................................................................................................ 6
3.3.1 Top view BL20-E-GW-EN (< VN 03-00) .........................................................................................................................................6
3.3.2 Top view BL20-E-GW-EN (VN 03-00) ........................................................................................................................................7
3.3.3 Block diagram........................................................................................................................................................................................8
3.3.4 General technical data of a station ...............................................................................................................................................9
– Approvals and tests...................................................................................................................................................................... 11
3.3.5 Technical data for the push-in tension clamp terminals ................................................................................................... 11
3.3.6 LED-displays ........................................................................................................................................................................................ 12
3.4 Connection options at the gateway........................................................................................................... 14
3.4.1 Power supply ...................................................................................................................................................................................... 14
3.4.2 Field bus connection via Ethernet-switch ................................................................................................................................ 14
3.4.3 Service interface ................................................................................................................................................................................ 14
3.5 Address assignment.................................................................................................................................... 15
– LED behavior................................................................................................................................................................................... 15
3.5.1 Default setting of the gateway..................................................................................................................................................... 15
3.5.2 Function of DIP-switches................................................................................................................................................................ 16
3.5.3 Resetting the IP-address, switch position "RESTORE" ..........................................................................................................17
3.5.4 Address setting via DIP-switches (2
3.5.5 Address setting via the mode DHCP .......................................................................................................................................... 19
3.5.6 Address setting via the mode BootP..........................................................................................................................................20
3.5.7 Address setting via the mode PGM ............................................................................................................................................ 21
3.5.8 Address setting via the mode PGM-DHCP (universal mode) ............................................................................................ 22
– PROFINET® ....................................................................................................................................................................................... 22
3.5.9 F_Reset (Reset to factory setting)................................................................................................................................................ 22
3.5.10 Addressing via I/O-ASSISTANT 3 (FDT/DTM)........................................................................................................................... 23
3.5.11 Addressing via Web server (Version VN 03-00).................................................................................................................. 26
3.5.12 Addressing via IP Address Tool .................................................................................................................................................... 27
0
to 27) .............................................................................................................................. 18
3.6 Synchronization of the station configuration .......................................................................................... 28
3.6.1 DIP-switch CFG................................................................................................................................................................................... 28
3.7 Web server - remote access/configuration (Version VN 03-00) ........................................................... 29
3.7.1 IP address ............................................................................................................................................................................................. 29
3.7.2 Access rights ....................................................................................................................................................................................... 29
3.7.3 Login / password ............................................................................................................................................................................... 30
3.7.4 Network Configuration ...................................................................................................................................................................30
3.7.5 Gateway Configuration ...................................................................................................................................................................31
3.7.6 Station Diagnostics........................................................................................................................................................................... 31
3.7.7 Ethernet Statistics ............................................................................................................................................................................. 31
3.7.8 Links ....................................................................................................................................................................................................... 31
3.7.9 Change Admin Password ............................................................................................................................................................... 32
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-1
Page 25
Properties: gateway and I/O-modules
3.8 Status and Control Word of the BL20-stations.......................................................................................... 33
3.8.1 Status Word .........................................................................................................................................................................................33
– Meaning of the status bits ..........................................................................................................................................................33
3.8.2 Control Word.......................................................................................................................................................................................33
3.9 Parameters of the I/O-modules .................................................................................................................34
3.9.1 Digital input modules ......................................................................................................................................................................34
3.9.2 Analog input modules .....................................................................................................................................................................34
3.9.3 Analog output modules ..................................................................................................................................................................43
3.9.4 Technology modules........................................................................................................................................................................48
3.10 Diagnostic messages of the modules......................................................................................................... 57
3.10.1 Power distribution modules ..........................................................................................................................................................57
3.10.2 Digital input modules ......................................................................................................................................................................58
3.10.3 Analog input modules .....................................................................................................................................................................58
3.10.4 Digital output modules ...................................................................................................................................................................61
3.10.5 Analog output modules ..................................................................................................................................................................63
3.10.6 Technology modules........................................................................................................................................................................ 64
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-2
Page 26
Function of the gateway

3.1 Function of the gateway

The BL20-E-GW-EN (> VN 03-00) is used as multiprotocol-interface between the BL20-system and the Ethernet-protocols Modbus TCP, EtherNet/IP™ and PROFINET®.

3.1.1 Version overview

Please observe, that the previous version of the gaetway did only support the Modbus TCP protocol.
Version < VN 03-00 BL20-gateway supports only the Ethernet protocol
– Modbus TCP
Version VN 03-00
BL20-gateway supports the Ethernet protocols
– Modbus TCP
– EtherNet/IP™
–PROFINET
®
Note
The multiprotocol gateway replaces the Modbus TCP version and is fully compatible.
Only the LED-designation has changed. Please find detailed information under LED-displays
(page 3-12).
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-3
Page 27
Properties: gateway and I/O-modules

3.2 Supported I/O-modules

Table 3-1: List of supported modules
Module EtherNet/IP™ Modbus TCP PROFINET®
Digital input modules
BL20-2DI-24VDC-P 
BL20-2DI-24VDC-N 
BL20-2DI-120/230VAC 
BL20-4DI-24VDC-P 
BL20-4DI-24VDC-N 
BL20-4DI-NAMUR 
BL20-E-8DI-24VDC-P 
BL20-16DI-24VDC-P 
BL20-E-16DI-24VDC-P 
BL20-32DI-24VDC-P 
Analog input modules
BL20-1AI-I(0/4…20MA) 
BL20-2AI-I(0/4…20MA) 
BL20-1AI-U(-10/0…+10VDC) 
BL20-2AI-U(-10/0…+10VDC) 
BL20-2AI-PT/NI-2/3 
BL20-2AI-THERMO-PI 
BL20-2AI-H
BL20-4AI-U/I 
BL20-E-4AI-TC 
BL20-E-8AI-U/I-4AI-PT/NI 
Digital output modules
BL20-2DO-24VDC-0,5A-P 
BL20-2DO-24VDC-0,5A-N 
BL20-2DO-24VDC-2A-P 
BL20-2DO-120/230VAC-0.5A 
BL20-4DO-24VDC-0,5A-P 
BL20-E-8DO-24VDC-0.5A-P 
BL20-16DO-24VDC-0,5A-P 
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-4
Page 28
Supported I/O-modules
Table 3-1: List of supported modules
Module EtherNet/IP™ Modbus TCP PROFINET®
BL20-E-16DO-24VDC-0.5A-P 
BL20-32DO-24VDC-0,5A-P 
Analog output modules
BL20-1AO-I(0/4…20MA) 
BL20-2AO-I(0/4…20MA) 
BL20-2AO-U(-10/0…+10VDC) 
BL20-2AO-H
BL20-E-4AO-U/I 
Relay modules
BL20-2DO-R-NC 
BL20-2DO-R-NO 
BL20-2DO-R-CO 
Technology modules
BL20-1RS232 
BL20-1RS485/422 
BL20-1SSI 
BL20-E-1SWIRE 
BL20-E-2CNT-2PWM 
BL20-2RFID-A
BL20-2RFID-S 
Power distribution modules
BL20-BR-24VDC-D 
BL20-BR-24 VDC-RED 
BL20-PF-24VDC-D 
BL20-PF-120/230VAC-D 
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-5
Page 29
Properties: gateway and I/O-modules
GW
IOs
SERVICE
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on
MS
Unlock end-bracket before dismounting
Slide top cover for configuration and service
U
L
GND
L
U
SYS
GND
SYS
!
ETH1 ETH2
B
A
D
C
F
G
H
E
I

3.3 Technical data

3.3.1 Top view BL20-E-GW-EN (< VN 03-00)

Figure 3-1: Top view BL20-E-GW-EN (< VN 03-00)
A LEDs for BL20
module bus
B service interface,
no function
C DIP-switch for
the fieldbus­address
D DIP-switch for
the operation mode
E DIP-switch for
the configura­tion acceptance
F LEDs for the
Modbus-com­munication
G EtherNet-switch
with EtherNet­LEDs
H terminals for
field supply
I terminals for
system supply
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-6
Page 30
Technical data
GW
IOs
SERVICE
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on
ERR
BL20-E-GW-EN
BUS
Unlock end-bracket before dismounting
Slide top cover for configuration and service
U
L
GND
L
U
SYS
GND
SYS
!
ETH1 ETH2
B
A
D
C
F
G
H
E
I
3.3.2 Top view BL20-E-GW-EN (VN 03-00)
Figure 3-2: Topview BL20-E-GW-EN (
VN 03-00)
A LEDs for BL20
module bus
B service interface,
no function
C DIP-switch for
the fieldbus­address
D DIP-switch for
the operation mode
E DIP-switch for
the configura­tion acceptance
F LEDs for the
Ethernet-com­munication
G EtherNet-switch
with EtherNet­LEDs
H terminals for
field supply
I terminals for
system supply
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-7
Page 31
Properties: gateway and I/O-modules
Switch
CPU
5 V
24 V
Eth1 Eth2
U
sys
Service USB
U
L
Module bus
Gateway

3.3.3 Block diagram

Figure 3-3: Block diagram BL20-E-GW-EN
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-8
Page 32
Technical data

3.3.4 General technical data of a station

Attention
The auxiliary power supply must comply with the stipulations of SELV (Safety Extra Low Voltage) according to IEC 364-4-41.
Table 3-2: General tech­nical data of a station
Supply voltage/auxiliary voltage
U
(nominal value)
sys
24 V DC
provision for other modules
(at max. system extension,
I
sys
approx. 600 mA
see chapter 10, from page 10-3)
nominal value 24 V DC
U
L
I
Lmax
,
8 A
maximum current from field supply
permissible range according to EN 61131-2 (18 to 30 V DC)
Residual ripple according to EN 61 131-2
Voltage anomalies according to EN 61 131-2
I
(supply of module bus nodes) 400 mA
MB
Connection technology push-in tension clamps,
LSF from Weidmueller
Physical interfaces
Field bus Ethernet
Transmission rate 10/100 Mbps
Passive fiber-optic-adapters can be
current consumption max. 100 mA
connected
Fieldbus connection technology RJ45-female connector, RJ45-male connector
Fieldbus shielding connection via Ethernet cable
Address setting via DIP-switches (2
0
to 27)
service interface Ethernet
Isolation voltages
U
U
U
U
against service interface) -
BL(Usys
(supply voltage against Ethernet) 500 V AC
ETH
(supply voltage against Ethernet) -
ETH
(ETH1 against ETH2) 500 V AC
ETHETH
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-9
Page 33
Properties: gateway and I/O-modules
Ambient conditions
Operating temperature horizontal/vertical mounting
0 to+55°C For vertical installation, the gateway can be positioned both at the top and bottom. Sufficient ventilation and heat dissipation must be ensured.
Storage temperature - 25 to +85 °C
relative humidity according to EN 61131-2/EN 50178
5 to 95 % (indoor), Level RH-2, no condensation (storage at 45 °C, no function test)
Climatic tests according to IEC 61131-2
Vibration resistance
10 to 57 Hz, constant amplitude 0.075 mm /
yes
0.003 inch, 1g
57 to 150 Hz
yes
constant acceleration 1 g
Mode of vibration Frequency sweeps with a change in speed of 1
Octave/min
Period of oscillation 20 frequency sweeps per axis of coordinate
Shock resistant according to IEC 68-2-27
18 shocks, sinusoidal half-wave 15 g peak value/11 ms, in each case in ± direction per space coordinate
A Using the device
in residential areas can cause disturbances. In this case, addi­tional measures to suppress the disturbance are necessary.
Resistance to repetitive shock IEC 68-2-29
1 000 shocks, half-sinus 25 g peak value/6 ms, in each case in ± direction per space coordinate
Drop and topple
Height of fall (weight < 10 kg) 1.0 m
Height of fall (weight 10 to 40 kg) 0.5 m
Test runs 7
Device with packaging, electrically tested printed-circuit board.
Electromagnetic compatibility (EMC) according to EN 50 082-2 (Industry)
Static electricity according to EN 61 000-4-2
– Discharge through air (direct) 8 kV
– Relay discharge (indirect) 4 kV
Electromagnetic HF fields according to EN 61
10 V/m
000-4-3 and ENV 50 204
Conducted interferences induced by HF
10 V
fields according to EN 61 000-4-6
Fast transients (Burst) according to EN 61 000-4-4
Emitted interference according to EN 50 081-2 (industry)
according to EN 55 011 Class A
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-10
A, group 1
Page 34
Technical data
Approvals and tests
Table 3-3: Approvals and tests for a BL20 station
Designation
Approvals
UL
in preparation
CSA
Tests (EN 61131-2)
Cold DIN IEC 68-2-1, Temperature -25 °C / 185 °F, duration 96 h;
device not in use
Dry heat DIN IEC 68-2-2, Temperature +85 °C / 185 °F, duration 96 h;
device not in use
Damp heat, cyclic DIN IEC 68-2-30, temperature +55 °C / 131 °F, duration 2
cycles every 12 h; device in use
Pollution severity according to IEC 664
2
(EN 61 131-2)
Protection class according to IEC 529 IP20

3.3.5 Technical data for the push-in tension clamp terminals

Table 3-4: Technical data Push-in tension clamp terminals
Designation
Protection class IP20
Insulation stripping length 8 mm + 1/ 0.32 inch + 0,039
Max. wire range 0.14 to 1.5 mm
2
/ 0.0002 to 0.0023 inch2/ 26 to 16 AWG
Crimpable wire
"e” solid core H 07V-U 0.14 to 1.5 mm
"f” flexible core H 07V-K 0.5 to 1.5 mm
"f” with ferrules according to
0.25 to 1.5 mm
2
/ 0.0002 to 0.0023 inch2/ 26 to 16 AWG
2
/ 0.0008 to 0.0023 inch2/ 25 to 16 AWG
2
/ 0.0004 to 0.0023 inch2/30 to 16 AWG DIN 46 228/1 (ferrules crimped gas­tight)
Danger
This device can cause radio disturbances in residential areas and in small industrial areas (residential, business and trading). In this case, the operator can be required to take appropriate measures to suppress the disturbance at his own cost.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-11
Page 35
Properties: gateway and I/O-modules

3.3.6 LED-displays

Every BL20-E-GW-EN displays the following statuses via LEDs:
2 LEDs for the module bus communication (module bus-LEDs): GW and IOs
< VN 03-00:
1 LEDs for the field bus communication: MS VN 03-00: 2 LEDs for the field bus communication: ERR and BUS
2 LEDs for the status of the Ethernet-connection at the Ethernet-ports ETH1/ ETH2:
Table 3-5: LED-displays
LED Status Meaning Remedy
GW
OFF No power supply of the CPU. Check the system power supply at the
gateway.
green Firmware active, gateway ready -
green flashing,
Firmware not active If LED “
necessary
1 Hz
green flashing,
Firmware active, gateway hardware error.
Replace the gateway.
4 Hz
red CPU not ready, V
possible causes:
– too many modules at the
gateway
– short-circuit in connected
too low
CC
– Check the system power supply at the
gateway and the cabling.
– Unmount excessively mounted
modules.
– Replace the gateway, if necessary.
module
– gateway hardware error.
red / green
WINK-command active
flashing, 4 Hz
IOs“ red, firmware-download
IOs OFF No power supply of the CPU. Check the system power supply at the
gateway.
green The modules configured
­correspond to the modules in the station, communication running.
green flashing,
Station is in the Force Mode of the I/O-ASSISTANT.
Deactivate the Force Mode of the I/O­ASSISTANT.
1 Hz
red Hardware error, firmware not
– Replace the gateway.
running.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-12
Page 36
Technical data
Table 3-5: LED-displays
LED Status Meaning Remedy
IOs red
flashing, 1 Hz
red flashing, 4 Hz
red/green flashing
ERR OFF No diagnostic message
red Pending diagnostic message at
BUS (MS)
OFF Station is not supplied. – Check the voltage supply at the
Incompatible deviation of module list. The gateway reports an error. The communication to the field bus is disturbed. A trouble-free process data exchange is not assured.
No communication via the module bus.
behavior similar to: red flashing, 1 Hz
the gateway or at one of the connected modules.
– Compare the configured list of
modules in your BL20-station to the current configuration.
– Check the physical station for
defective or incorrectly plugged electronic modules.
– At least one module has to be
plugged and has to be able to communicate with the gateway.
– Check the station for diagnostic
messages.
gateway.
green Displays the logical connection
to a Master (1. Modbus TCP­connection)
green, flashing
red Gateway error:
red + green – auto-negotiation
LEDs at female connectors ETH1/ETH2
green
yellow ON 100 Mbps
OFF No Ethernet link.
ON Link
flashing Ethernet Traffic
OFF 10 Mbps
Gateway ready for operation
– IP address conflict –gateway in RESTORE-mode – F_Reset activated
and / or
– waiting for DHCP- / BootP-
address assignment.
– Check the IP-addresses in the network – Check the position of the DIP-switches
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-13
Page 37
Properties: gateway and I/O-modules
Unlock end-bracket before dismounting
Slide top cover for configuration and service
U
L
GND
L
U
SYS
GND
SYS
!
ETH1 ETH2
87654321
1 = TX + 2 = TX – 3 = RX + 4 = n.c. 5 = n.c. 6 = RX – 7 = n.c. 8 = n.c.

3.4 Connection options at the gateway

The fieldbus connection is realized via an integrated RJ45-Ethernet-switch, the connection of the power supply via push-in tension clamps.
Figure 3-4: Connection options at the gateway

3.4.1 Power supply

The BL20-E-GW-EN provides an integrated power supply unit an push-in tension clamps for:
Field supply (UL, GNDL)
and
system supply (USYS, GNDSYS)

3.4.2 Field bus connection via Ethernet-switch

The BL20-ECO-gateways for Ethernet provide an integrated RJ45-Ethernet-switch.
Figure 3-5: RJ45 female connector

3.4.3 Service interface

The access of the software I/O-ASSISTANT 3 (FDT/DTM) via the service-interface (Mini-USB) is not supported.
For a connection to the gateway via I/O-ASSISTANT 3 (FDT/DTM) is done via Ethernet.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-14
Page 38
Address assignment

3.5 Address assignment

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

3.5.1 Default setting of the gateway

The object provides the following control functions:
IP-address 192.168.1.254 Subnet mask 255.255.255.0 Default gateway
Note
The stations can be reset by the user to these default settings at any time. To reset the module, set the three DIP-switches 20 to 27 on the gateway to "0" followed by apower-on reset.
Note
After every change of the address-mode, a voltage reset must be carried done.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-15
Page 39
Properties: gateway and I/O-modules
GW
IOs
SERVICE
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on
ERR
BL20-E-GW-EN
BUS
10
9 8 7 6 5 4 3 2 1
NO

3.5.2 Function of DIP-switches

The DIP-switches for address setting, operation mode setting and for the storage of the station configuration are located under the gateway’s upper label.
To set the DIP-switches, please pull the label from the gateway.
Note
Please observe, that the numbering of the DIP-switches under the label does not correspond to the switches‘ designation on the label.
Figure 3-6: DIP-switches at the gateway
Top view with label:
Top view without label:
Table 3-6: Meaning of the DIP-switches
Designation Function
under label
Label
7
20 - 2
10 - 3 Address-switch for setting the last byte of the gateway's IP-address
(only, if "MODE" is OFF (see Table 3-7: Combinations of address-
switches (page 3-17)).
MODE 2 Depending on its setting, this switch changes the function of
address switches 2
0
- 27 (see Table 3-7:Combinations of address-
switches (page 3-17)).
CFG 1 Switching from "OFF" to "ON" activates the „Synchronization of the
station configuration“.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-16
Page 40
Address assignment
Table 3-7: Combinations of address­switches
Address-
CFG MODE Name Function
switches
0
7
2
- 2
(Value)
0 OFF OFF RESTORE Restoring the Default setting of the gateway
(page 3-15).
1-254 OFF OFF Address Setting the last byte of the gateway's IP-address.
Resetting the IP-address, switch position "RESTORE" (page 3-17)
1 OFF ON DHCP gateway-„Address setting via the mode DHCP“
2 OFF ON BOOTP gateway-„Address setting via the mode BootP“
4 OFF ON PGM gateway-„Address setting via the mode PGM“
8 OFF ON PGM-DHCP gateway-„Address setting via the mode PGM-
DHCP (universal mode)“
16 OFF - - reserved
32 OFF ON F_Reset
…reserved

3.5.3 Resetting the IP-address, switch position "RESTORE"

With this setting the DIP-switches to "0" followed by a voltage reset, the module is set to the address
192.168.1.254 for IP-based services (seeDefault setting of the gateway (page 3-15)).
This setting allows for example the I/O-ASSISTANT 3 (FDT/DTM) to communicate with the station, the device's WEB-server can be accessed using the IP-address 192.168.1.254.
Note
This setting is no operation mode! Please set the device to another mode after having reset the IP address to the default values.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-17
Page 41
Properties: gateway and I/O-modules
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on

3.5.4 Address setting via DIP-switches (20 to 27)

Switch MODE has to be set to "OFF".
Addresses from 1 to 254 can be set.
The addresses 0 and 255 are used for Broadcast-messages in the subnet.
Note
All other network settings are stored in the module’s non-volatile EEPROM and can not be changed.
Figure 3-7: Address setting
The gateway’s field bus address results from the addition of the valences (2 switches (position = 1).
Note
Pull the label upwards out of the housing in order to reach the DIP-switches.
Example:
Bus address 50 = 0×32 = 00110010
Note
The internal module bus does not require any addressing.
0
to 27) of the active DIP-
Attention
The settings carried out via DIP-switches 20 to 27 are not stored in the module’s EEPROM. Thus, they will get lost in case of a subsequent address-assignment via a BootP/ DHCP or PGM.
Attention
After changing the position of the rotary coding-switches, a voltage reset must be carried out to store the new address.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-18
Page 42
Address assignment
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on

3.5.5 Address setting via the mode DHCP

Address setting is carried out by a DHCP-server in the network after the start-up of the gateway.
In order to activate the DHCP-mode, the DIP-switch MODE is set to "ON", the address-switches 2 to address "1" (see Table 3-7: Combinations of address-switches).
Figure 3-8: DHCP mode
Note
The IP address, as well as the default subnet mask assigned to the gateway by the DHCP­server, are stored in the module’s EEPROM. If the gateway is subsequently switched to another address-mode, the settings (IP address, subnet mask, etc) will be read from the module’s EEPROM.
0
to 27
Attention
After every change of the address-mode, a voltage reset must be carried done.
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, and 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.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-19
Page 43
Properties: gateway and I/O-modules
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on

3.5.6 Address setting via the mode BootP

Address setting is carried out by a BootP-server in the network after the start-up of the gateway.
In order to activate the BootP-mode, the DIP-switch MODE is set to "ON", the address-switches
0
2
to 27 to address "2" (see Table 3-7: Combinations of address-switches).
Figure 3-9: BootP
Note
The IP address, as well as the default subnet mask assigned to the gateway by the BootP­server, are stored in the module’s EEPROM. If the gateway is subsequently switched to another address--mode, the settings (IP address, subnet mask, etc) will be read from the module’s EEPROM.
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.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-20
Page 44
Address assignment
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on

3.5.7 Address setting via the mode PGM

The PGM-mode enables access of the software I/O-ASSISTANT (FDT/DTM) to the module’s network settings (see also „Addressing via I/O-ASSISTANT 3 (FDT/DTM)“).
In order to activate the PGM-mode, the DIP-switch MODE is set to "ON", the address-switches 2 to address "4" (see Table 3-7: Combinations of address-switches).
Figure 3-10: PGM
Note
In the PGM-mode, all network settings (IP address, subnet mask, etc.) are read from the module’s internal EEPROM.
0
to 27
Attention
After every change of the address-mode, a voltage reset must be carried done.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-21
Page 45
Properties: gateway and I/O-modules
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on

3.5.8 Address setting via the mode PGM-DHCP (universal mode)

Figure 3-11: PGM-DHCP
The device sends DHCP-requests until a IP-address is assigned (DHCP-server, PROFINET®-controller).
The assigned IP-address is stored to the device and the DCHP-client is stopped.
Even after a restart of the device, the device sends no further DHCP-requests.
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.

3.5.9 F_Reset (Reset to factory setting)

Figure 3-12: F_Reset
This mode sets all device-settings back to the default values and deletes all data in the device's internal flash.
Note
This setting is no operation mode! Please set the device to another mode after having reset the IP address to the default values.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-22
Page 46
Address assignment

3.5.10 Addressing via I/O-ASSISTANT 3 (FDT/DTM)

The software-tool I/O-ASSISTANT 3 (FDT/DTM) enables direct access to the Ethernet-network via the Ethernet cable.
The IP address, as well as the subnet mask of the TURCK Ethernet stations, can be changed accordingto the application by using the Busaddress Management function of the BL Service Ethernet interface (TCP/IP) in the software I/O-ASSISTANT 3 (FDT/DTM).
Figure 3-13: Busaddress management
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-23
Page 47
Properties: gateway and I/O-modules
A
Figure 3-14: Searching network­Nodes in the Busaddress management
A Search function
in the Busad­dress manage­ment
Note
The access of the IO-ASSISTANT to the station is only possible, if the station already has an IP­address (see Address assignment (page 3-15))
and if it is operated in switch position PGM or PGM-DHCP-mode.
Note
When using Windows XP as operating system, difficulties may occur with system-integrated firewall.
It may inhibit the access of PACTware™ (I/O-ASSISTANT V3) to the Ethernet-network. In this case, please adapt your firewall respectively or deactivate it.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-24
Page 48
Address assignment
Figure 3-15: IP address change
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-25
Page 49
Properties: gateway and I/O-modules
3.5.11 Addressing via Web server (Version VN 03-00)
The device's network settings can be changed under "Network Configuration" only by users having administrator rights.
Further information concerning the web server of the FGEN-devices and it's use can be found under
Web server - remote access/configuration (Version   .
Note
The access of the IO-ASSISTANT to the station is only possible, if the station already has an IP­address, Address assignment (page 3-15).
and if it is operated in switch position PGM or PGM-DHCP-mode.
Figure 3-16: Web server with Network Configuration
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-26
Page 50
Address assignment

3.5.12 Addressing via IP Address Tool

Use the TURCK IP Address Tool for simple and fast changes in the IP-address of your device.
The software can be downloaded from www.turck.com in the „Download“ area.
The IP Address Tool can be used to:
search devices,
change IP-addresses,
reset devices
send WINK-commands.
Figure 3-17: IP Address Tool
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-27
Page 51
Properties: gateway and I/O-modules
GW
IOs
SERVICE
ERR
01
ADDRESS
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
MODE
CFG
off on
BUS

3.6 Synchronization of the station configuration

3.6.1 DIP-switch CFG

The DIP-switch "CFG" at the gateway serves to take-over the Current Configuration of the BL20­station as Required Configuration to the gateway’s non-volatile memory.
Note
Storing the Current Configuration via SET-Taster is necessary in EtherNet/IP™ as well as in Modbus TCP, in PROFINET® the referenced configuration is defined by the master.
Figure 3-18: DIP-switch for storing the station configu­ration
Switching from OFF to ON starts the storage of the Current Configuration as the Required Configuration (Reference configuration).
Procedure:
Switching the DIP-switch "CFG" from OFF to ON
Starting of storage process
LED IOs flashes green (1 Hz)
LED IOs shortly lits up orange
storage process active
set back the DIP-switch from ON to OFF
storage process terminated successfully, if the LEDs IOs and GW are constant green.
Note
If the DIP-switch is not set back, the gateway will continuously restart the storage process. Only setting the switch back from ON to OFF will terminate this process.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-28
Page 52
Web server - remote access/configuration (Version VN 03-00)
3.7 Web server - remote access/configuration (Version VN 03-00)

3.7.1 IP address

Open the web server by entering the device's IP-address in your web browser.
IF no IP-address is assigned to the device (DHCP-, BootP-server etc.), then the web server can be opened using the default IP-address 192.168.1.254.

3.7.2 Access rights

Without administrator rights, data as general product data and diagnosis data are read only.
In order to achieve administrator rights, please log-on to the web server, see Login / password (page
3-30).
Figure 3-19: Web server of the BL20-station
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-29
Page 53
Properties: gateway and I/O-modules

3.7.3 Login / password

Login to the web server by using the default-password "password".
The default-password can be changed by the administrator at every time under Change Admin
Password (page 3-32) .
Note
A reset of the device to the default-settings using the switch position 900 "F_Reset" also causes a reset of the password to "password".
Figure 3-20: Web server "Home" screen

3.7.4 Network Configuration

On the "Network Configuration"-page, network-relevant settings can be changed.
Figure 3-21: Web server "Network Configuration"
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-30
Page 54
Web server - remote access/configuration (Version VN 03-00)

3.7.5 Gateway Configuration

The "Gateway Configuration"-page serves for parameterizing the device's fieldbus interface.
Figure 3-22: Web server „Gateway Configuration"

3.7.6 Station Diagnostics

Diagnostic messages of the device are displayed on the "Station Diagnostics"-page.

3.7.7 Ethernet Statistics

The page "Ethernet Statistics" shows information like the port-status, telegram and error counters etc. The page can above all be useful for analyzing network problems.

3.7.8 Links

This page contains for example a link to the product page on the TURCK-homepage.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-31
Page 55
Properties: gateway and I/O-modules

3.7.9 Change Admin Password

Please define an individual password for administrator rights.
Default password. „password“
Note
A reset of the device to the default-settings using the switch position "F_Reset" also causes a reset of the password to "password".
Figure 3-23: Change Admin Password
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-32
Page 56
Status and Control Word of the BL20-stations

3.8 Status and Control Word of the BL20-stations

The Status as well as the Control Word are mapped into the station's process data.
EtherNet/IP™ In EtherNet/IP, the mapping can be disabled (see
Register (page 4-21)
).
Modbus TCP see Register 0x100C: Gateway status (page 6-16)
PROFINET® see Diagnosis in PROFINET® (page 8-5)

3.8.1 Status Word

Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Status 0 UL
low
1 -FCE-MB
---I/O Cfg
Gateway Class (VSC 100, 64h), and GW Status
--Diag
Wdg
Warn.
I/O CFG
I/O COM
U
sys
low
Warn
U high
sys
Table 3-8: Meaning of the status bits
Meaning of the status bits
Name Meaning
Diag
Summarized diagnosis of the device. At least one I/O-module sends active diagnosis.
Warn
I/O Cfg
The station configuration has changed.
Warn.
U
L
Load voltage too low (< 18 V DC).
low
U
sys
System supply voltage too high (> 30 V DC).
high
U
sys
System supply voltage too low (< 18 V DC).
low
I/O COM
I/O CFG
I/O Communication Lost Error No Communication on the module bus.
I/O CfgModified Error The I/O-configuration has be changed and is no longer compatible.
MB Wdg
Modbus Watchdogs Error A timeout occurred in the modbus-communication. (only for Modbus TCP)
FCE Force Mode Active Error
The Force Mode is activated, which means, the actual output values may no match the ones defined and sent by the field bus.

3.8.2 Control Word

The Control Word has no function at the moment, it is reserves for further use.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-33
Page 57
Properties: gateway and I/O-modules

3.9 Parameters of the I/O-modules

3.9.1 Digital input modules

BL20-4DI-NAMUR
Table 3-9: Module param­eters
A default
setting
Byte Bit Parameter name Value
– Meaning
0 to 3 0 input filter x 0 = deactivate
– (input filter 0,25 ms)
1 = activate
– (input filter 2,5 ms)
1 digital input x 0 = normal
A
1 = inverted
2 Short circuit monitoring x 0 = deactivate
1 = activate
3 Short circuit diagnosis x 0 = deactivate
1 = activate
4 Open circuit monitoring x 0 = deactivate
1 = activate
5 Open circuit diagnosis x 0 = deactivate
1 = activate
6 Input on diagnostic x 0 = output substitute value
1 = keep last value
7 Substitute value on diag x 0 = off
A
1 = on
A
A
A
A
A
A

3.9.2 Analog input modules

BL20-1AI-I(0/4…20MA)
Table 3-10: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 0 current mode 0 = 0…20 mA A
1 value representation 0 = Integer (15 bit + sign)
2 Diagnosis 0 = activate
1 = 4…20 mA
A
1 = 12 bit (left-justified)
A
1 = deactivate
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-34
Page 58
Parameters of the I/O-modules
BL20-2AI-I(0/4…20MA) (1 byte per channel)
Table 3-11: Module param­eters
A default
setting
Table 3-12: Module param­eters
A default
setting
Byte Bit Parameter name Value
0/1 0 current mode 0 = 0…20 mA A
1 = 4…20 mA
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = activate
A
1 = deactivate
3 Channel 0 = activate
A
1 = deactivate
BL20-1AI-U(-10/0…+10VDC)
Byte Bit Parameter name Value
0 0 voltage mode 0 = 0…10 V A
1 = -10…+10 V
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
A
A
Table 3-13: Module param­eters
A default
setting
2 Diagnosis 0 = activate
1 = deactivate
BL20-2AI-U(-10/0…+10VDC) (1 byte per channel)
Byte Bit Parameter name Value
0/1 0 voltage mode 0 = 0…10 V A
1 = -10…+10 V
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = activate
1 = deactivate
3 Channel 0 = activate
1 = deactivate
A
A
A
A
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-35
Page 59
Properties: gateway and I/O-modules
BL20-2AI-PT/NI-2/3 (2 byte per channel)
Table 3-14: Module param­eters
A default
setting
Byte Bit Parameter name Value
0/2 0 Mains suppression 0 = 50 Hz A
0 = 60 Hz
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = release
1 = block
3 Channel 0 = activate
1 = deactivate
7 to 4
element 0000 = Pt100, -200…850 °C
0001 = Pt100, -200…150 °C 0010 = Ni100, -60…250 °C 0011 = Ni100, -60…150 °C 0100 = Pt200, -200…850 °C 0101 = Pt200, -200…150 °C 0110 = Pt500, -200…850 °C 0111 = Pt500, -200…150 °C 1000 = Pt1000, -200…850 °C 1001 = Pt1000, -200…150 °C 1010 = Ni1000, -60…250 °C 1011 = Ni1000, -60…150 °C 1100 = resistance, 0…100 1101 = resistance, 0…200 1110 = resistance, 0…400 1111 = resistance, 0…1000
A
A
A
A
1/3 0 Measurement mode 0 = 2 wire
1 = 3 wire
A
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-36
Page 60
Parameters of the I/O-modules
BL20-2AI-THERMO-PI (2 byte parameters per channel)
Table 3-15: Module param­eters
A default
setting
Byte Bit Parameter name Value
0/1 0 Mains suppression 0 = 50 Hz A
0 = 60 Hz
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = release
1 = block
3 Channel 0 = activate
1 = deactivate
7 to 4
element 0000 = Type K, -270…1370 °C
0001 = Type B, +100…1820 °C 0010 = Type E, -270…1000 °C 0011 = Type J, -210…1200 °C 0100 = Type N, -270…1300 °C 0101 = Type R, -50…1760 °C 0110 = Type S, -50…1540 °C 0111 = Type T, -270…400 °C 1000 = ±50 mV 1001 = ±100 mV 1010 = ±500 mV 1011 = ±1000 mV … = reserved
A
A
A
A
Table 3-16: Module param­eters
A default
setting
BL20-4AI-U/I (1 byte parameters per channel)
Byte Bit Parameter name Value
0 to 3 0 range 0 = 0…10 V/ 0…20 mA A
1 = -10…+10 V/ 4…20 mA
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = release
A
1 = block
3 Channel 0 = activate
A
1 = deactivate
4 Operation mode 0 = voltage
A
1 = current
A
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-37
Page 61
Properties: gateway and I/O-modules
BL20-4AI-U/I (1 byte parameters per channel)
Table 3-17: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 to 3 0 reserved
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2 Diagnosis 0 = release
1 = block
3 channel x 0 = activate
1 = deactivate
4 element Kx 0000 = Type K, -270…1370 °C
0001 = Type B, +100…1820 °C 0010 = Type E, -270…1000 °C 0011 = Type J, -210…1200 °C 0100 = Type N, -270…1300 °C 0101 = Type R, -50…1760 °C 0110 = Type S, -50…1540 °C 0111 = Type T, -270…400 °C 1000 = ±50 mV 1001 = ±100 mV 1010 = ±500 mV 1011 = ±1000 mV 1100 = Type K, -454…2498 °F 1101 = Type J, -346…2192 °F 1110 = Type C 0… 2315 °C 1111 = Type G 0… 2315 °C
A
A
A
A
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-38
Page 62
Parameters of the I/O-modules
BL20-2AIH-I
Table 3-18: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 (channel 1)
0 Channel 0 = activate A
1 = deactivate
1 short circuit diagnostics 0 = block
1 = release
2 open circuit diagnostics 0 = block
1 = release
3 + 4 Operation mode 0 = 0…20 mA
(polling of HART®-status not possible)
1 = 4…20 mA (polling of HART®-status not possible)
2 = 4…20 mA HART® active Cyclic polling of HART®-status activated.
5 + 6 reserved
7 HART®-diagnostics 0 = release
A
A
A
A
1 = block
1 (channel 1)
0 + 1 value representation 0 = Integer (15 bit + sign)
1 = NE 43
A
2 = Extended Range
2 + 3
similar to byte 0 + 1
(channel 2)
4 HART®-Variable A Defines the channel of which the HART®-variable
is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the connected
sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-39
Page 63
Properties: gateway and I/O-modules
Table 3-18: Module param­eters
Byte Bit Parameter name Value
5 HART®-Variable B Defines the channel of which the HART®-variable
is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the connected
sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
6 HART®-variable C Defines the channel of which the HART®-variable
is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the connected
sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
7 HART®-variable D Defines the channel of which the HART®-variable
is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the connected
sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-40
Page 64
Parameters of the I/O-modules
BL20-E-8AI-U/I-4PT/Ni (1 byte per channel)
Table 3-19: Module param­eters
A default
setting
B In 3-wire mea-
surement, only the first of the used channel has too be parameterized. The parameter­ization of the second channel is ignored.
Byte Bit Parameter
name
0 to 7 0 to 5 Operation
mode
Value Meaning
000000 voltage, -10…10 V DC Standard A
000001 voltage …10 VDC, standard
000010 voltage, -10…10 VDC, NE 43
000011 voltage, 0…10 VDC, NE 43
000100 voltage, -10…10 VDC, Extended Range
000101 voltage, 0…10 VDC, Extended Range
000110 reserved
000111 reserved
001000 current, 0…20 mA, standard
001001 current, 4…20 mA, standard
001010 current, 0…20 mA, NE 43
001011 current, 4…20 mA, NE 43
001100 current, 0…20 mA, Extended Range
001101 current, 4…20 mA, Extended Range
001110 reserved
001111 reserved
010000 Pt 100, -200°C…850 °C, 2-wire
010001 Pt 100, -200°C…150 °C, 2-wire
010010 Pt 200, -200°C…850 °C, 2-wire
010011 Pt 200, -200°C…150 °C, 2-wire
010100 Pt 500, -200°C…850 °C, 2-wire
010101 Pt 500, -200°C…150 °C, 2-wire
010110 Pt 1000, -200°C…850 °C, 2-wire
010111 Pt 1000, -200°C…150 °C, 2-wire
011000 Pt 100, -200°C…850 °C, 3-wire
B
011001 Pt 100, -200°C…150 °C, 3-wire B
011010 Pt 200, -200°C…850 °C, 3-wire B
011011 Pt 200, -200°C…150 °C, 3-wire B
D301173 0713 - BL20- Ethernet multiprotocol gateway
011100 Pt 500, -200°C…850 °C, 3-wire B
011101 Pt 500, -200°C…150 °C, 3-wire B
3-41
Page 65
Properties: gateway and I/O-modules
Table 3-19: Module param­eters
Byte Bit Parameter
name
0 to 7 0 to 5 Operation
mode
Value Meaning
011110 Pt 1000, -200°C…850 °C, 3-wire B
011111 Pt 1000, -200°C…150 °C, 3-wire B
100000 Ni 100, -60 °C…250 °C, 2-wire
100001 Ni 100, -60°C…150 °C, 2-wire
100010 Ni 1000, -60 °C…250 °C, 2-wire
100011 Ni 1000, -60°C…150 °C, 2-wire
100100 Ni 1000TK5000, -60 °C…250 °C, 2-wire
100101 reserved
100110 reserved
100111 reserved
101000 Ni 100, -60 °C…250 °C, 3-wire
101001 Ni 100, -60°C…150 °C, 3-wire
101010 Ni 1000, -60 °C…250 °C, 3-wire
6value
representation Kx
101011 Ni 1000, -60°C…150 °C, 3-wire
101100 Ni 1000TK5000, -60 °C…250 °C, 3-wire
101101 reserved
101110 reserved
101111 reserved
110000 resistance, 0…250
110001 resistance, 0…400
110010 resistance, 0…800
110011 resistance, 0…2000
110100 resistance, 0…4000
110101
reserved to 111110
111111 deactivated
0 Integer (15 bit + sign)
A
1 12 bit (left-justified)
7diagnostics Kx0 release
1block
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-42
A
Page 66
Parameters of the I/O-modules

3.9.3 Analog output modules

BL20-1AO-I(0/4…20MA)
Table 3-20: Module param­eters
A default
setting
Table 3-21: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 0 current mode 0 = 0…20 mA A
1 = 4…20 mA
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2
reserved
to 7
1 Substitute value low byte
2 Substitute value high byte
BL20-2AI-I(0/4…20MA) (3 byte per channel)
Byte Bit Parameter name Value
0/3 0 current mode 0 = 0…20 mA A
1 = 4…20 mA
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
A
A
2reserved
3 Channel 0 = activate
4
reserved
to 7
1/4 Substitute value low byte
2/5 Substitute value high byte
A
1 = deactivate
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-43
Page 67
Properties: gateway and I/O-modules
BL20-2AO-U(-10/0…+10VDC) (3 byte per channel)
Table 3-22: Module param­eters
A default
setting
Table 3-23: Module param­eters
A default
setting
Byte Bit Parameter name Value
0/3 0 voltage mode 0 = 0…10 V A
1 = -10…+10 V
1 value representation 0 = Integer (15 bit + sign)
1 = 12 bit (left-justified)
2reserved
3 Channel 0 = activate
1 = deactivate
4
reserved
to 7
1/4 Substitute value low byte
2/5 Substitute value high byte
BL20-2AOH-I
Byte Bit Parameter name Value
A
A
0 (channel 1)
0 Channel 0 = activate A
1 = deactivate
1 Diagnosis 0 = block
A
1 = release
3 + 4 Operation mode Kx 0 = 0…20 mA
(polling of HART®-status not possible)
1 = 4…20 mA
(polling of HART®-status not possible)
2 = 4…20 mA HART® active
A
(cyclic polling of HART-status activate)
7HART®-diagnostics Kx0 = release
A
1 = block
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-44
Page 68
Parameters of the I/O-modules
Table 3-23: Module param­eters
A default
setting
Byte Bit Parameter name Value
1 (channel 1)
0+1 value representation Kx 0 = Integer (15 bit + sign) A
1 = NE 43
2 = Extended Range
6 + 7 Behavior on module bus
error Ax
2+3
substitute value Ax
(channel 1)
4 to 7
similar to byte 0 to 3
(channel 2)
8 HART®-Variable A Defines the channel of which the HART®-
variable is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the
connected sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
9 HART®-Variable B Defines the channel of which the HART®-
variable is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the
connected sensor is mapped into the module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
D301173 0713 - BL20- Ethernet multiprotocol gateway
3 = QV (4th variable)
3-45
Page 69
Properties: gateway and I/O-modules
Table 3-23: Module param­eters
A default
setting
Byte Bit Parameter name Value
10 HART®-variable C Defines the channel of which the HART®-
variable is read.
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the
connected sensor is mapped into the
module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
11 HART®-variable D Defines the channel of which the HART®-
variable is read.
Table 3-24: Module param­eters
A default
setting
0 channel mapping 0 = channel 1
1 = channel 2
6 + 7 variable mapping Defines which HART-variable of the
connected sensor is mapped into the
module’s process data.
0= PV (primary variable)
1= SV (2nd variable)
2 = TV (3rd variable)
3 = QV (4th variable)
BL20-E-4AO-U/I (3 byte parameters per channel)
Byte Bit Parameter name Value Meaning
0/3/6/9 0 to 3 Operation mode Kx000000 voltage, -10…10 V DC Standard A
000001 voltage …10 VDC, standard
000010 voltage, -10…10 VDC, NE 43
000011 voltage, 0…10 VDC, NE 43
000100 voltage, -10…10 VDC, Extended Range
000101 voltage, 0…10 VDC, Extended Range
000110 reserved
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-46
Page 70
Parameters of the I/O-modules
Table 3-24: Module param­eters
Byte Bit Parameter name Value Meaning
000111 reserved
001000 current, 0…20 mA, standard
001001 current, 4…20 mA, standard
001010 current, 0…20 mA, NE 43
001011 current, 4…20 mA, NE 43
001100 current, 0…20 mA, Extended Range
001101 current, 4…20 mA, Extended Range
001110 reserved
001111 deactivated
4value
representation Kx
5diagnostics Kx0 release
0 Integer (15 bit + sign)
1 12 bit (left-justified)
A
1block
A
1/4/7/ 10
2/5/8/ 11
6 + 7 substitute value
options
substitute value Ax low byte
substitute value Ax high byte
00 output substitute value
01 hold current value
10 output min. value
11 output max. value
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-47
Page 71
Properties: gateway and I/O-modules

3.9.4 Technology modules

BL20-1RS232
Table 3-25: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 3
to 0
Data rate 0000 = 300 bps
0001 = 600 bps
0010 = 1200 bps
0100 = 2400 bps
0101 = 4800 bps
0110 = 9600 bps
0111 = 14400 bps
1000 = 19200 bps
1001 = 28800 bps
1010 = 38400 bps
1011 = 57600 bps
1100 = 115200 bps
… reserved
5, 4 reserved
6 DisableReducedCtrl Constant setting:
The diagnostic messages are shown in Byte 6
of the process input data (independently from
“Diagnosis").
Byte 6 of the process output data contains 2
bits, with which the receive or transmit buffer
can be cleared.
Byte 7 contains the status or control byte. User
data are represented in Bytes 0 - 5.
A
0 7 Diagnosis 0 = release
A
– Diagnostic activated:
This affects the separate fieldbus-specific diagnostic message – not the diagnosis embedded in the process input data.
1 = block
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-48
Page 72
Parameters of the I/O-modules
Table 3-25: Module param­eters
A default
setting
Byte Bit Parameter name Value
1 0 Stop bits 0 = 1 bit A
1 = 2 bit
2.1 Parity 00 = none
01 = odd
– The parity bit is set so that the total number
of bits (data bits plus parity bit) set to 1 is odd.
10 = even
– The parity bit is set so that the total number
of bits (data bits plus parity bit) set to 1 is odd.
3Data bits 0 = 7
A
– The number of data bits is 7.
1 = 8
– The number of data bits is 8.
14
to 5
Flow control 00 = none A
– Data flow control is switched off.
01 = XON/XOFF
– Software handshake (XON/XOFF) is
switched on.
10 = RTS/CTS
– Hardware handshake (RTS/CTS) is switched
on.
A
7.6 reserved
2 XON character 0 – 255 (17
XON character: This character is used to start the transmission of data from the data terminal device if the software handshake is active.
3 XOFF character 0 – 255 (19
XOFF character This character is used to start the transmission of data from the data terminal device if the software handshake is active.
A)
A)
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-49
Page 73
Properties: gateway and I/O-modules
BL20-1RS485/422
Table 3-26: Module param­eters
A default
setting
Byte Bit Parameter name Value
0 3 to 0 Data rate 0000 = 300 bps
0001 = 600 bps
0010 = 1200 bps
0100 = 2400 bps
0101 = 4800 bps
0110 = 9600 bps
0111 = 14400 bps
1000 = 19200 bps
1001 = 28800 bps
1010 = 38400 bps
1011 = 57600 bps
1100 = 115200 bps
… reserved
4 Select RS485 0 = parameterization of the module as RS422
1 = parameterization of the module as RS485
5reserved
6 DisableReducedCtrl Constant setting:
The diagnostic messages are shown in Byte 6
of the process input data (independently from
“Diagnosis").
Byte 6 of the process output data contains 2
bits, with which the receive or transmit buffer
can be cleared.
Byte 7 contains the status or control byte. User
data are represented in Bytes 0 - 5.
A
0 7 Diagnosis 0 = release
A
1 = block
1 0 Stop bits 0 = 1 bit
A
1 = 2 bit
2.1 Parity 00 = none
01 = odd
A
The parity bit is set so that the total number of
bits (data bits plus parity bit) set to 1 is odd.
10 = even
The parity bit is set so that the total number of
bits (data bits plus parity bit) set to 1 is odd.
3Data bits 0 = 7
A
The number of data bits is 7.
0 = 8
A
The number of data bits is 8.
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-50
Page 74
Parameters of the I/O-modules
Table 3-26: Module param­eters
Table 3-27: Module param­eters
A default
setting
Byte Bit Parameter name Value
2 XON character 0 – 255 (17 A)
only in the RS422-mode: XON character: This character is used to start the transmission of data from the data terminal device if the software handshake is active.
3 XOFF character 0 – 255 (19
only in the RS422-mode: XOFF character: This character is used to start the transmission of data from the data terminal device if the software handshake is active.
BL20-1SSI
Byte Bit Parameter name Value
– Meaning
0 4 to 0 reserved
A)
5 Sensor idle data cable test 0 = activate
7.6 reserved
1 3 to 0 Number of invalid bits
(LSB)
A
ZERO test of data cable.
1 = deactivate After the last valid bit, a ZERO test of the data cable is not carried out.
0000 to 1111: Number of invalid bits on the LSB side of the position value supplied by the SSI encoder. The meaningful word width of the position value transferred to the module bus master is as follows: SSI_FRAME_LEN -INVALID_BITS_MSB­INVALID_BITS_LSB. The invalid bits on the LSB side are removed by shifting the position value to the right, starting with the LSB. (Default 0 bit = 0×0). INVALID_BITS_MSB +INVALID_BITS_LSB must always be less than SSI_FRAME_LEN.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-51
Page 75
Properties: gateway and I/O-modules
Table 3-27: Module param­eters
A default
setting
Byte Bit Parameter name Value
– Meaning
1 6 to 4 Number of invalid bits (MSB) 000 to 111
Number of invalid bits on the LSB side of the
position value supplied by the SSI encoder.
The meaningful word width of the position
value transferred to the module bus master is
as follows:
SSI_FRAME_LEN - INVALID_BITS_MSB -
INVALID_BITS_LSB.
Number of invalid bits on the MSB side of the
position value supplied by the SSI encoder.
INVALID_BITS_MSB +INVALID_BITS_LSB must
always be less than SSI_FRAME_LEN.
Default: 0 = 0hex
7reserved
2 3 to 0 Data rate 0000 = 1000000 bps
0001 = 500000 bps
0010 = 250000 bps
0011 = 125000 bps
0100 = 100000 bps
0101 = 83000 bps
0110 = 71000 bps
0111 = 62500 bps
… reserved
A
7 to 4 reserved
3 5 to 0 Number of
data frame bits
6reserved
7 Data type binary coded
00000 to 100000
Number of bits of the SSI data frame.
SSI_FRAME_LEN must always be greater than
INVALID_BITS.
Default: 25 = 19hex
A
SSI encoder sends data in binary code
GRAY coded
SSI encoder sends data in GRAY code
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-52
Page 76
Parameters of the I/O-modules
BL20-E-1SWIRE
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Byte 1
reserved free free MC MNA configura-
Byte 2 Byte 3 Byte 4 Byte 5 Byte 6
SC
SC
Byte 7 Byte 8 Byte 9 -
24
The following table shows the meaning of the parameter bits:
free U
S8 SC
DIAG
S16 SC
DIAG
AUXERR
DIAG
S15 SC
DIAG
TYP
ERR
reserved (life guarding time until version VN 01-03)
S7 SC
DIAG
DIAG
TYP
INFO
S6 SC
S14 SC
DIAG
DIAG
Type designation slave 1 - 16
reserved
S5 SC
S13 SC
reserved
reserved
PKZ
DIAG
DIAG
ERR
S4 SC
S12 SC
tion
PKZ
DIAG
DIAG
Disable Cfg free
S3 SC
SD
DIAG
DIAG
INFO
S11 SC
ERR
S2 SC
S10 SC
SD
DIAG
DIAG
INFO
S1
S9
Table 3-28: Module param­eters
A default
setting
Parameter
Value
name
Byte 1
Disable Cfg If the physical structure of the SWIRE bus does not match the configuration stored in the
BL20-E-1SWIRE on power up (SW LED flashing), the physical structure of the SWIRE bus must be stored in the BL20-E-1SWIRE.
0 = inactive
A Manual SWIRE configuration:
To store the physical structure of the SWIRE bus in the BL20-E-1SWIRE, the CFG button of the BL20-E-1SWIRE must be pressed manually (only functions if the SW LED is flashing).
1 = active Automatic SWIRE configuration:
If the physical structure of the SWIRE bus does not match the configuration stored in the BL20-E-1SWIRE on power up, the physical structure is stored automatically in the BL20-E-1SWIRE.
configurationPLC configuration check
If the PLC configuration check is activated, the configuration stored in the BL20-E­1SWIRE is compared with the SET configuration stored in the PLC.
0 = active
A The configuration stored in BL20-E-1SWIRE is compared with the SET
configuration stored in the PLC. Only SWIRE slaves in the SWIRE bus are accepted that have a device ID completely matching the SET configuration.
1 = inactive All slaves are mapped in 4Bit INPUT/ 4Bit OUTPUT without checking
the device ID.
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-53
Page 77
Properties: gateway and I/O-modules
Table 3-28: Module param­eters
Parameter
Value
name
Byte 1
MNA active/ passive
Configuration check Bus or slave-oriented configuration check (without function if MC = 1)
0 = Bus based
A
If the PLC configuration check is activated, data exchange is only started if the configuration stored in the BL20-E-1SWIRE fully matches the SET configuration stored in the PLC. Modifying the bus during operation causes the system to be aborted.
1 = Slave based
If the PLC configuration check is activated, data exchange is started with all SWIRE slaves that match the SET configuration stored in the PLC. The SWIRE slaves that do not match the SET configuration stored in the PLC do not perform any data exchange.
MC Moeller conformance (from version VN 01-04)
Behavior of the BL20-E-1SWIRE in accordance with SWIRE Conformance criteria.
inactive
A Default behavior
active The BL20-E-1SWIRE master responds according to the Moeller SWIRE
Conformance criteria (see manual for the IO-modules D300717).
SD
INFO
Byte 2
SD
ERR
PKZ
INFO
Slave error field Activate slave diagnostics info field SD
Sx. As soon as a slave on the bus clears its PKZ
ERR
bit, this is indicated as an individual error depending on the parameter setting.
active Single diagnostics is activated
inactive Single diagnostics is not activated
Group error - slave error Activate slave diagnostics SD
Sx. Activate slave diagnostics SDERRSx. As soon as only
ERR
one slave on the bus sets its error bit, this is indicated as a group error depending on the parameter setting.
0 = active
A Group diagnostics is activated
1 = inactive Group diagnostics is not activated
PKZ error field Activate slave diagnostics info field PKZ
Sx. As soon as a slave on the bus clears its PKZ
ERR
bit, this is indicated as an individual error depending on the parameter setting.
0 = active
A Single diagnostics is activated
1 = inactive Single diagnostics is not activated
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-54
Page 78
Parameters of the I/O-modules
Table 3-28: Module param­eters
Parameter name
Byte 2
PKZ
ERR
TYP
INFO
TYP
ERR
Value
Group PKZ error field Activate slave diagnostics PKZ
. As soon as a slave on the bus clears its PKZ bit, this is
ERR
indicated as an individual error depending on the parameter setting.
0 = active
A Group diagnostics is activated
1 = inactive Group diagnostics is not activated
Configuration error field As soon as a slave on the bus does not match the set configuration and therefore cannot be started, this is indicated as an individual error depending on the parameter set.
0 = active
A Single diagnostics is activated
1 = inactive Single diagnostics is not activated
Group configuration error field Activate slave diagnostics TYP
Sx. As soon as only one slave on the bus is incorrectly
ERR
configured, this is indicated as an error depending on the parameter setting.
0 = active
A Group diagnostics is activated
1 = inactive Group diagnostics is not activated
Byte 2
U
AUXERR
Error message Voltage U Activate system diagnostics U the power supply goes below a level at which the function of the relays is not guaranteed.
0 = active
1 = inactive Error message U
Byte 3 reserved
Byte 4
reserved (Lifeguardi
Was up to version VN 01-03: Lifeguarding time of the SWIRE slaves. Lifeguarding time of
the SWIRE slaves ng time only up to version
0x02-0xFF
0x64
A
VN01-03)
-
AUX
A Error message U
AUXERR
. U
AUXERR
AUXERR
AUXERR
will generate an error message as soon as
activated
not activated
Lifeguarding time of the SWIRE slaves Setting of lifeguarding time of SWIRE slaves, timeout time up to automatic reset of the slaves in the event of communication failure. (n * 10ms) (Default 1s) 0xFF: 0xFF: Lifeguarding off
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-55
Page 79
Properties: gateway and I/O-modules
Table 3-28: Module param­eters
Parameter
Value
name
Byte 5 - 6
SD
Sx Input bit communication error, slave x
DIAG
Slave diagnostics message from Byte 1 / Bit 7 is accepted in the feedback interface as Bit 4
0 = active
1 = inactive SD
A SD
Sx is accepted
DIAG
Sx is not accepted
DIAG
Byte 7 - 8 reserved
Byte 9 to 24
Device ID, slave x
TYPE setting for the LIN slave at position x on the SWIRE bus
0x20 SWIRE-DIL-MTB (: 0xFF)
0xFF Basic setting (no slave)
BL20-E-2CNT-2PWM (see separate manual for the module, D301224, „BL20 – I/O-MODULES BL20-E-
2CNT-2PWM“, chapter 2)
BL20-2RFID-S (see RFID-documentation www.turck.de)
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-56
Page 80
Diagnostic messages of the modules

3.10 Diagnostic messages of the modules

3.10.1 Power distribution modules

BL20-BR-24VDC-D
Table 3-29: BL20-BR­24VDC-D
Table 3-30: BL20-PF-24VDC
Diagnostic byte Bit Diagnosis
n 0 Module bus voltage warning
1 reserved
2 Undervoltage field supply
3 reserved
BL20-PF-24VDC
Diagnostic byte Bit Diagnosis
n 0 reserved
1 reserved
2 Undervoltage field supply
reserved
BL20-PF-120/230VAC-D
Table 3-31: BL20-PF-120/ 230VAC-D
Diagnostic byte Bit Diagnosis
n 0 reserved
1 reserved
2 Undervoltage field supply
reserved
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-57
Page 81
Properties: gateway and I/O-modules

3.10.2 Digital input modules

BL20-4DI-NAMUR
Table 3-32:
Diagnostic byte Bit Diagnosis
BL20-4DI­NAMUR
n 0 short circuit sensor 1

3.10.3 Analog input modules

BL20-1AI-I(0/4…20MA)
Table 3-33: BL20-1AI-I(0/ 4
20MA)
Diagnostic byte Bit Diagnosis
1 open circuit sensor 1
2 short circuit sensor 2
3 open circuit sensor 2
4 short circuit sensor 3
5 open circuit sensor 3
6 short circuit sensor 4
7 open circuit sensor 4
A Only in the mea-
surement range 4 to 20 mA
Table 3-34: BL20-2AI-I(0/ 4
20MA)
A Only in the mea-
surement range 4 to 20 mA
n (channel 1) 0 measurement value range error A
1Open circuit
BL20-2AI-I(0/4…20MA)
Diagnostic byte Bit Diagnosis
n
0 measurement value range error A
(channel 1)
1Open circuit
n + 1 (channel 2)
0 measurement value range error
1Open circuit
A
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-58
Page 82
Diagnostic messages of the modules
BL20-1AI-U(-10/0…+10VDC)
Table 3-35: BL20-1AI-U (-10/0
10VDC)
Table 3-36: BL20-2AI-U (-10/0
10VDC)
Table 3-37: BL20-2AI-PT/NI­2/3
A threshold: 1 % of
the positive measurement range end value
B threshold:
5  (loop resis­tance)
Diagnostic byte Bit Diagnosis
n (channel 1) 0 Measurement value range error
BL20-2AI-U(-10/0…+10VDC)
Diagnostic byte Bit Diagnosis
n (channel 1) 0 Measurement value range error
n (channel 2) 0 Measurement value range error
BL20-2AI-PT/NI-2/3
Diagnostic byte Bit Diagnosis
n (channel 1) 0 measurement value range error A
(Underflow diagnostics in temperature measurement ranges only)
1Open circuit
2Short circuit
B
(in temperature measurement ranges only)
Table 3-38: BL20-2AI­THERMO-PI
A threshold:
1 % of the posi­tive measure­ment range end value
3 to 7
BL20-2AI-THERMO-PI
Diagnostic byte Bit Diagnosis
n 0 measurement value range error A
1Open circuit
(in temperature measurement ranges only)
2 to 7 reserved
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-59
Page 83
Properties: gateway and I/O-modules
BL20-2AIH-I
Table 3-39: BL20-2AIH-I
Diagnostic byte Bit Diagnosis
n0overflow
The measurement value exceeds the value ranges and the device is not able to capture these values.
1Open circuit
Displays an open circuit in the signal line.
2 Short circuit
Displays a short circuit in the signal line.
3undervoltage
The measurement value is below the value ranges and the device is not able to capture these values.
4HART®status-error
The connected HART®-device set a bit in the HART® status-information ("status - polling").
5 HART® communication error
The channel does not allow communication with the HART®-device.
6 Invalid parameter
7 Hardware error
Shows common errors of the module hardware. The return analog value in case of an error is "0".
Table 3-40: BL20-4AI-U/I
A threshold:
1% of the posi­tive measure­ment range end value, under­flow diagnostics only in value range
20 mA
4
B threshold:
3 mA (only in value range
20 mA)
4
BL20-4AI-U/I
Diagnostic byte Bit Diagnosis
n
0 measurement value range error (channel 0) to n + 3 (channel 3)
1open circuit B
2 to 7 reserved
A
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-60
Page 84
Diagnostic messages of the modules
BL20-E-8AI-U/I-4AI-PT/NI
Table 3-41:
Diagnostic byte Bit Diagnosis
BL20-E-8AI-U/I­4AI-PT/NI
A thresholds:
value represen­tation of the module in man­ual D300716
n (channel 0) to n + 7 (channel 7)

3.10.4 Digital output modules

BL20-2DO-24VDC-0.5A-P
Table 3-42: BL20-2DO­24VDC-0.5A-P
Diagnostic byte Bit Diagnosis
n 0 overcurrent (short-circuit channel 1)
0 Measurement value range error (OoR)
1 Wire break (WB) A
2 Short circuit (SC) A
3 Overflow/ underflow (OUFL) A
4 to 6 reserved
7 Hardware error
A
Table 3-43: BL20-2DO­24VDC-0.5A-N
Table 3-44: BL20-2DO­24VDC-2A-P
1 overcurrent (short-circuit channel 2)
BL20-2DO-24VDC-0.5A-N
Diagnostic byte Bit Diagnosis
n 0 overcurrent (short-circuit channel 1)
1 overcurrent (short-circuit channel 2)
BL20-2DO-24VDC-2A-P
Diagnostic byte Bit Diagnosis
n 0 overcurrent (short-circuit channel 1)
1 overcurrent (short-circuit channel 2)
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-61
Page 85
Properties: gateway and I/O-modules
BL20-4DO-24VDC-0.5A-P
Table 3-45: BL20-4DO­24VDC-0.5A-P
Table 3-46: BL20-16DO­24VDC-0.5A-P
Table 3-47: BL20-32DO­24VDC-0.5A-P
Diagnostic byte Bit Diagnosis
n 0 overcurrent /short-circuit (1 ch. min)
BL20-16DO-24VDC-0.5A-P
Diagnostic byte Bit Diagnosis
n 0 Overcurrent (short-circuit channel 1-4)
1 Overcurrent (short-circuit channel 5-8)
2 Overcurrent (short-circuit channel 9-12)
3 Overcurrent (short-circuit channel 13-16)
BL20-32DO-24VDC-0.5A-P
Diagnostic byte Bit Diagnosis
n 0 Overcurrent (short-circuit channel 1-4)
1 Overcurrent (short-circuit channel 5-8)
2 Overcurrent (short-circuit channel 9-12)
3 Overcurrent (short-circuit channel 13-16)
4 Overcurrent (short-circuit channel 17-20)
5 Overcurrent (short-circuit channel 21-24)
6 Overcurrent (short-circuit channel 25-28)
7 Overcurrent (short-circuit channel 29-32)
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-62
Page 86
Diagnostic messages of the modules

3.10.5 Analog output modules

BL20-2AOH-I
Table 3-48: BL20-2AOH-I
Diagnostic byte Bit Diagnosis
n 0 Value above upper limit
Display of a measurement range exceeding limit values according to parameterization
1Open circuit
Displays an open circuit in the signal line.
2 invalid value
The output value exceeds the values which the module is able to interpret.
3 value below lower limit
Display of a measurement range underflow limit values according to parameterization
4 HART® status error
The connected HART®-device set a bit in the HART® status-information ("status - polling").
5 HART® communication error
The channel does not allow communication with the HART®-device.
6 Invalid parameter
Table 3-49: BL20-E-4AO-U/I
A thresholds:
value represen­tation of the module in man­ual D300716
7 Hardware error
Shows common errors of the module hardware. The return analog value in case of an error is "0".
BL20-E-4AO-U/I
Diagnostic byte Bit Diagnosis
n
0 Measurement value range error (OoR) (channel 0) to n + 3 (channel 3)
1 reserved
2 reserved
3 Overflow/ underflow (OUFL)
4 to 6 reserved
7 Hardware error
A
A
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-63
Page 87
Properties: gateway and I/O-modules

3.10.6 Technology modules

BL20-1CNT-24VDC
Table 3-50: BL20-1CNT­24VDC
Diagnostic byte Bit Diagnosis
n
if bit 7=0 (counter mode)
n
If bit 7 = 0 (measurement mode)
0 Short-circuit / open circuit DO  ERR_DO
1 Short-circuit in sensor power supply, 24 V DC ERR-24VDC
2 End of counter range wrong
3 Start of counter range wrong
4 Invert-DI+latch-retr. not perm.
It is not permitted to invert the level of the digital input when using the latch-retrigger-function
5 Main count direction wrong
6Operating mode wrong
7Measurement mode
Bit = 0 Counter mode active
0 Short-circuit / open circuit DO  ERR_DO
1 Short-circuit in sensor power supply, 24 V DC ERR-24VDC
2 Sensor pulse wrong
3 Integration time wrong
Table 3-51: BL20-1RS232
4 Upper limit wrong
5 Lower limit wrong
6Operating mode wrong
7Measurement mode
Bit = 1 measurement operation is active
BL20-1RS232
Diagnostic byte Bit Diagnosis
n 0 parameterization error
1 Hardware failure
2 Data flow control error
3frame error
4 buffer overflow
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-64
Page 88
Diagnostic messages of the modules
BL20-1RS485/422
Table 3-52: BL20-1RS485/ 422
Table 3-53: BL20-1SSI
Diagnostic byte Bit Diagnosis
n 0 parameterization error
1 Hardware failure
2 Data flow control error
(only in the RS422-mode)
3frame error
4 buffer overflow
BL20-1SSI
Diagnostic byte Bit Diagnosis
n 0 SSI group diagnostics
1Open circuit
2 sensor value overflow
3 sensor value underflow
4 parameterization error
BL20-E-1SWIRE
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
field
GENER­AL
ERR
TYP
ERR
TYP
ERR
SD
S8 SD
ERR
SD
S16 SD
ERR
PKZ
ERR
PKZ
ERR
S8 TYP
S16 TYP
S8 PKZ
S16 PKZ
Byte n
Byte n+1 free U
TYP
ERR
Byte n+2
Byte n+3
Slave diagnosis
Byte n+4
Byte n+5
PKZ field
Byte n+6
Byte n+7
U
SWERR
AUXERR
S7 TYP
ERR
S15 TYP
ERR
S7 SD
ERR
S15 SD
ERR
S7 PKZ
ERR
S15 PKZ
ERR
free COM
TYP
ERR
ERR
ERR
ERR
ERR
ERR
ERR
free PKZ
S6 TYP
S14 TYP
S6 SD
S14 SD
S6 PKZ
S14 PKZ
ERR
S5 TYP
ERR
S13 TYP
ERR
S5 SD
ERR
S13 SD
ERR
S5 PKZ
ERR
S13 PKZ
ERR
free RDY
ERR
ERR
ERR
ERR
ERR
ERR
ERR
free SD
S4 TYP
S12 TYP
S4 SD
S12 SD
S4 PKZ
S12 PKZ
ERR
S3 TYP
ERR
S11 TYP
ERR
S3 SD
ERR
S11 SD
ERR
S3 PKZ
ERR
S11 PKZ
ERR
free SW
ERR
ERR
ERR
ERR
ERR
ERR
ERR
free
S2 TYP
S10 TYP
S2 SD
S10 SD
S2 PKZ
S10 PKZ
ERR
ERR
ERR
ERR
ERR
ERR
ERR
S1
S9
S1
S9
S1
S9
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-65
Page 89
Properties: gateway and I/O-modules
The following table shows the meaning of the diagnostic bits:
Table 3-54: Meaning of the diagnostic bits
Designation ValueMeaning
Byte 1
SW
ERR
SWIRE MASTER
If the physical structure of the SWIRE bus does not match the configuration stored in the BL20-E-1SWIRE, this bit indicates an error.
0 Data exchange The physical structure of the SWIRE bus was accepted and the
1 Offline The physical structure was not accepted, the SWIRE bus does
RDY
ERR
SPS SLAVE
This bit indicates an error if the configuration stored in the BL20-E-1SWIRE does not match the SET configuration stored in the PLC.
0 Data exchange No error present. The SWIRE bus is ready for data exchange.
1 Offline The configuration stored in the BL20-E-1SWIRE was not
COM
ERR
Communication SWIRE
SWIRE bus is in operation.
not start operation (SW LED flashing).
accepted. The data exchange is prevented (RDY LED flashing).
U
SWERR
GENERAL
A communication error is present, such as a slave is no longer reached, its internal timeout has elapsed or communication is faulty. The master cannot carry out data exchange with at least one slave.
0 OK No error present.
1 faulty An error is present.
Voltage U
SW
Voltage fault in USW, voltage (17 VDC) for supplying the SWIRE slaves
0 OK No error present.
1 under voltage An error is present.
Error message
ERR
The creation of a function block shows that systems/function blocks for the general checking of a slave for any diagnostics messages present only check the first byte.
0 none No diagnostics message present
1 present One/several diagnostics messages present
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-66
Page 90
Diagnostic messages of the modules
Table 3-54: Meaning of the diagnostic bits
Designation ValueMeaning
Byte 2
SD
ERR
Communication SWIRE slave
If the parameter SD only one slave on the bus sets its SD
0 OK No error is present or diagnostics function has been
1 faulty An error is present.
PKZ
ERR
Overcurrent protective circuit-breaker
If the parameter PKZ as only one PKZ of a slave has tripped.
0 OK No PKZ error is present or diagnostics function has been
1 Tripping At least one PKZ has tripped.
TYP
ERR
configuration
A is set for group diagnostics, this bit indicates an error as soon as
ERR
ERR
.
deactivated via the parameter setting.
A is set for group diagnostics, this bit indicates an error as soon
ERR
deactivated via the parameter setting.
U
AUXERR
If the TYP
parameter is set with group diagnostics in the parameter setting, this
ERR
bitindicates an error as soon as a PLC configuration check detects differing slave numbers,types or position of an SWIRE slave.
0 OK The PLC configuration check was positive (the configuration
stored in the BL20-E-1SWIRE matches the SET configuration stored in the PLC) or the diagnostics function is deactivated via the parameter setting.
1 faulty A mismatch was determined in the PLC configuration check.
Voltage U
If the U
AUX
A parameter is activated,
AUXERR
will generate an error message as soon as
AUXERR
the power supply goes below the level at which the function of the relays is not guaranteed.
0 OK Contactor supply voltage is o.k. (> 20 VDC) or diagnostics
function has been deactivated via this parameter.
1 under voltage Contactor supply voltage is not o.k.
(< 18 VDC).
D301173 0713 - BL20- Ethernet multiprotocol gateway
3-67
Page 91
Properties: gateway and I/O-modules
Table 3-54: Meaning of the diagnostic bits
Designation ValueMeaning
Byte 3.4
TYP
Sx Device configuration, slave x
ERR
Info field for the individual indication of a configuration error as error message. Info field for the individual indication of a configuration error as error message. If theTYP parameter is set with individual diagnostics, the error is indicated in this bit fieldas soon as a PLC configuration check detects differing slave numbers, types or positionof an SWIRE slave.
0 OK No configuration error is present and the slave is in data
1 incorrect Configuration error present and the slave is NOT in data
Byte 5.6
SD
Sx Communication, slave x
ERR
Info field for the individual indication of the release of the slave diagnostics as error message. If the SD soon as the slave diagnostic message of the slave Sx is triggered.
exchange mode or diagnostics function has been deactivated via the parameter setting.
exchange mode.
A is set for single diagnostics, this bit field indicates the error as
INFO
INFO
0 OK No error is present or diagnostics function has been
deactivated via the parameter setting.
1 Offline A diagnostics message is present.
Byte 7.8
PKZ
Sx Overcurrent protective circuit-breaker, slave x
ERR
Info field for the individual indication of the tripping a motor-protective circuit-breaker (PKZ) as error message. If the PKZ
A is set for single diagnostics, this bit field indicates
INFO
the error as soon as the PKZ of the slave Sx has tripped.
0 OK The PKZ of the slave has not tripped or diagnostics function has
been deactivated via the parameter setting.
1 tripped The PKZ of the slave has tripped
Note
The error messages U
AUXERR
, TYP
ERR
, TYP
Sx, PKZ
ERR
ERR
, PKZ
ERR
Sx, SD
deactivated by a respective parameterization.
BL20-E-2CNT-2PWM (see separate manual for this module D301224)
BL20-2RFID-S (see RFID-documentation www.turck.de)
and SD
ERR
Sx can be
ERR
D301173 0713 - BL20- Ethernet multiprotocol gateway 3-68
Page 92

4 Implementation of EtherNet/IP™

4.1 The EtherNet/IP™ Communications Profile................................................................................................. 2
4.1.1 Communications Profile for BL20...................................................................................................................................................3
4.2 Device Level Ring (DLR) ................................................................................................................................ 4
4.3 Diagnostic messages via the process data.................................................................................................. 5
4.3.1 Summarized Diagnostics...................................................................................................................................................................5
4.3.2 Scheduled Diagnostics.......................................................................................................................................................................5
4.4 Classes and Instances of the EtherNet/IP™-stations................................................................................... 6
4.4.1 EtherNet/IP™ Standard Classes ....................................................................................................................................................... 6
4.4.2 Identity Object (0x01) .........................................................................................................................................................................7
4.4.3 Assembly Object (0x04) .....................................................................................................................................................................9
– Process data instances ................................................................................................................................................................ 10
– Mapping of process data............................................................................................................................................................ 11
4.4.4 Connection Manager Object (0x06) ........................................................................................................................................... 12
4.4.5 TCP/IP Interface Object (0xF5)...................................................................................................................................................... 13
4.4.6 Ethernet Link Object (0xF6)........................................................................................................................................................... 17
4.5 VSC-Vendor Specific Classes ...................................................................................................................... 19
4.5.1 Class Instance of the VSCs .............................................................................................................................................................. 19
4.5.2 Gateway Class (VSC 100, 64h)....................................................................................................................................................... 20
– Class instance ................................................................................................................................................................................. 20
– Object Instance 1........................................................................................................................................................................... 20
– Object Instance 2........................................................................................................................................................................... 21
4.5.3 Process Data Class (VSC102, 66h) ................................................................................................................................................ 23
– Class instance ................................................................................................................................................................................. 23
– Object instance 1, standard input process data (compressed) ................................................................................... 23
– Object Instance 3, diagnostic instance ................................................................................................................................. 24
– Object Instance 4, COS/CYCLIC instance .............................................................................................................................. 24
4.5.4 Miscellaneous Parameters Class (VSC 126) .............................................................................................................................. 25
– Instance 1 (port 1)/ Instance 2 (port 2) .................................................................................................................................. 25
D301173 0713 - BL20- Ethernet multiprotocol gateway 4-1
Page 93
Implementation of EtherNet/IP™

4.1 The EtherNet/IP™ Communications Profile

TECHNICAL BASICS
EtherNet/IP™ is based on a connection-oriented communication model. This means that it is only possible to exchange data via specified connections assigned to the devices. Communication between the nodes in the EtherNet/IP™ network can be carried out either via I/O Messages or Explicit Messages.
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 applications. 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/Client System that requires a request from a client always to be confirmed by a response from the server. – Message Router Request
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.
D301173 0713 - BL20- Ethernet multiprotocol gateway 4-2
Page 94
The EtherNet/IP™ Communications Profile

4.1.1 Communications Profile for BL20

BL20 behaves as an EtherNet/IP™ Server in the network; the scanner of the higher-level controller oper­ates as a EtherNet/IP™ Client.
The following EtherNet/IP™ communications types are supported:
Unicast
Multicast
Cyclic Connection
Unconnected (UCMM) Explicit Messaging
Connected Explicit Messaging
TECHNICAL BASICS
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.
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 genera­tor.
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 typically 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. Receiv­ing nodes decode this key to know whether they must accept the data or not.
D301173 0713 - BL20- Ethernet multiprotocol gateway
4-3
Page 95
Implementation of EtherNet/IP™

4.2 Device Level Ring (DLR)

The BL20-E-GW-EN (FW-Version V 3.2.8.0) supports DLR.
TECHNICAL BASICS
The Device Level Ring (DLR)-redundancy protocol is used to increase the stability of EtherNet/IP™ networks.
DLR-capable products provide an integrated switch and can thus be integrated into a ring topology. 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.
D301173 0713 - BL20- Ethernet multiprotocol gateway 4-4
Page 96
Diagnostic messages via the process data

4.3 Diagnostic messages via the process data

Besides the evaluation of diagnostic data via Explicit Messages, BL20 with EtherNet/IP™ offers the possibility of mapping diagnostic data into the process data (see also the stations‘ process data mappings (page 4-11 ff.).
2 different forms of diagnostic data handling are provided:
summarized diagnostics
Scheduled Diagnostics

4.3.1 Summarized Diagnostics

The summarized diagnostic data mode will send back 1 bit for each slice within the station.
This bit will be "0" if there are no diagnostic flags set on the slice. If there are any diagnostic events on the device, the bit will be set to "1".
The diagnostic bits are placed at the end of the input data. The diagnostic data start WORD aligned (see
page 4-11).
Bit „I/O Diag Warn“
0 = OK, no diagnostics present
at least one module sends diagnostics (acc. to VSC 100, Gateway Class, Attr. 116, page 4-20)

4.3.2 Scheduled Diagnostics

If scheduled diagnostics is activated (Process Data Class (VSC102, 66h) (page 4-23)), the manufacturer specific diagnostic bits are mapped into the station's process data(page 4-5 ff.).
The scheduled diagnostic data is placed at the end of the input data and after the summarized diagnostic data (see page 4-11).
The scheduled diagnostic data is a time sliced module related data block, which holds diagnostic data of all modules with active diagnostics using a round robin mechanism.
This diagnostic "window" visualizes a specific module diagnostic data for approx. 125 ms and changes over to the next active diagnostics afterwards. This is done automatically by the gateway.
The data length for the scheduled diagnostics is set according to properties of the modules attached tothe gateway.
word- Byte Data
00slot-no. of the module which sends an emergency-frame.
1
Status process release: bit 5 = 1: diagnostic active bit 6 = 1: wrong module bit 7 = 1 Module pulled (acc. to VSC 100, Gateway Class, Attr. 116, page 4-20)
n Module diagnostics from the module actually referenced by the
roundrobin mechanism.
D301173 0713 - BL20- Ethernet multiprotocol gateway
4-5
Page 97
Implementation of EtherNet/IP™

4.4 Classes and Instances of the EtherNet/IP™-stations

4.4.1 EtherNet/IP™ Standard Classes

The BL20-stations support the following EtherNet/IP™ Standard Classes in accordance with the CIP specification.
Table 4-1: EtherNet/IP™ Standard Classes
Class Code
01 (0x01) Identity Object (0x01)
04 (0x04)
06 (0x06)
245 (0xF5)
246 (0xF6)
Object name
Assembly Object (0x04)
Connection Manager Object (0x06)
TCP/IP Interface Object (0xF5)
Ethernet Link Object (0xF6)
D301173 0713 - BL20- Ethernet multiprotocol gateway 4-6
Page 98
Classes and Instances of the EtherNet/IP™-stations

4.4.2 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 BL20.
Class Attributes
Table 4-2: Class Attributes
Table 4-3: Instance attri­butes, object­instance 1
Attr. No.
Attribute name Get/
Type Value
Set
1 (0x01) REVISION G UINT 1
2 (0x02)
6 (0x06)
7 (0x07)
MAX OBJECT INSTANCE G UINT 1
MAX CLASS ATTRIBUTE G UINT 7
MAX INSTANCE ATTRIBUTE G UINT 7
Object-instance 1 - instance attributes
Attr. No.
Attribute name Get/
Type Description
Set
1 (0x01) VENDOR G UINT Contains the vendor ID.
TURCK = 48
2 (0x02)
PRODUCT TYPE G UINT Indicates the general type of product.
Communications Adapter 12
= 0x0C
dez
3 (0x03)
PRODUCT CODE G UINT Identifies a particular product within a device
type. Default: 27247
dec =
6A6F
4 (0x04)
5 (0x05)
6 (0x06)
7 (0x07)
REVISION
Major Minor
G STRUCT
OF: USINT USINT
Revision of the item the Identity Object is representing. 0x01 0x06
DEVICE STATUS G WORD see Table 4-4: Device Status
SERIAL NUMBER G UDINT Contains the ident-no. of the product (3 last
bytes of the MAC-ID).
PRODUCT NAME
G
STRUCT
OF: LENGTH NAME
USINT
STRING
[13]
D301173 0713 - BL20- Ethernet multiprotocol gateway
4-7
Page 99
Implementation of EtherNet/IP™
Device Status
Table 4-4: Device Status
Table 4-5: Common ser­vices
Bit
0 to 1 reserved Default = 0
2
3
4 to 7
8 to 15
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
05 (0x05)
Name Definition
Configured TRUE = 1
 The application of the device has been configured (default-settings).
reserved Default = 0
Extended Device Status
reserved Default = 0
Class Instance Service name
no yes Reset
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
Returns a predefined list of the object‘s attributes.
Starts the reset service for the device.
14 (0x0E)
16 (0x10)
yes yes Get_Attribute_Single
Returns the contents of a specified attribute.
no no Set_Attribute_Single
Modifies a single attribute.
D301173 0713 - BL20- Ethernet multiprotocol gateway 4-8
Page 100
Classes and Instances of the EtherNet/IP™-stations

4.4.3 Assembly Object (0x04)

Assembly Objects bind attributes of multiple objects to allow data to or from each object to be sent or received over a single connection.
The following description of the Ethernet Link Object is taken from the CIP specification, Vol. 2, Rev. 2.1 by ODVA & ControlNet International Ltd. and adapted to BL20.
Class Attributes
Table 4-6: Class Attributes
Table 4-7: Instance attribute
Table 4-8: Common ser­vices
Attr. No.
1 (0x01) REVISION G UINT 2
2 (0x02)
Instance Attributes
Attr. No.
3 (0x03) DATA S ARRAY OF
4 (0x04)
Common Services
Service code
01 (0x01) yes yes Get_Attribute_All
14 (0x0E)
Attribute name Get/
Set
MAX OBJECT INSTANCE G UINT 104
Attribute name Get/
SIZE G UINT UINT Number of bytes in attr. 3
Class Instance Service name
no yes Get_Attribute_Single
Type Description
Set
BYTE
256 or variable
Type Value
D301173 0713 - BL20- Ethernet multiprotocol gateway
4-9
Loading...