HBM SomatXR CX27C-R User manual

Operating Manual
English
CX27C-R
SomatXR
Industrial-Ethernet-Gateway

Hottinger Baldwin Messtechnik GmbH
Im Tiefen See 45
D-64293 Darmstadt
Tel. +49 6151 803-0
Fax +49 6151 803-9100
www.hbm.com
Mat.:
DVS: A05417_02_E00_01 HBM: public
06.2020
EHottinger Baldwin Messtechnik GmbH.
Subject to modifications.
All product descriptions are for general information only.
They are not to be understood as a guarantee of quality or
durability.

CX27C-R A05417_02_E00_01 HBM: public 3
English
1 Safety instructions 4........................................
2 Markings used 9............................................
2.1 The markings used in this document 9..........................
2.2 Symbols on the device 10......................................
3 Introduction 11..............................................
4 Connections and displays 12.................................
4.1 Power supply 13..............................................
4.2 Ground connection and grounding 13............................
4.3 Connecting the measurement modules 13........................
4.4 Inclusion of Industrial Ethernet fieldbus and connection to PC. 14...
4.5 LED displays 17..............................................
5 Configuration 19............................................
5.1 Adjustment of the Industrial Ethernet mode 19....................
5.2 Adjustment of isochronous data transmission 20..................
5.3 EtherCAT 21.................................................
5.3.1 Basic principles - EtherCAT 21.................................
5.3.2 EtherCAT configuration 26.....................................
5.3.3 EtherCAT Data Integration Workflow with TwinCAT3 27...........
5.4 PROFINET IRT 40............................................
5.4.1 Basic principles - PROFINET 40................................
5.4.2 PROFINET system configuration 41.............................
5.4.3 Cyclical transmission of data to PROFINET 41....................
5.4.4 PROFINET data integration process 42..........................
5.4.5 SomatXR PROFINET slave diagnosis – status byte 49............
6 Description of diagnosis and alarms 51.......................
7 Waste disposal and environmental protection 55..............

Safety instructions
4A05417_02_E00_01 HBM: public CX27C-R
1 Safety instructions
Intended use
The module and the measurement modules and transducers connected to it
must only be used for measurements and directly related control and regulation
tasks. Use for any purpose other than the above is deemed improper use.
In the interests of safety, the module must only be used as described in the
operating manual. When the module is in use, it is essential to comply with the
applicable legal and safety requirements for the relevant application. The same
applies to the use of accessories.
Before starting up the module for the first time, you must first run a project
planning and risk analysis that takes into account all the safety aspects of
automation technology. This particularly concerns personal and machine
protection.
Additional safety precautions must be taken in plants where malfunctions could
cause major damage, loss of data or even personal injury. If an error occurs,
these precautions will ensure that safe operating conditions have been
established.
This can be achieved, for example, through mechanical interlocking, fault
messages, limit value switches, and similar things.

Safety instructions
CX27C-R A05417_02_E00_01 HBM: public 5
Safety requirements
A module must not be directly connected to a power supply system. The
allowed supply voltage range is:
SCX Module 10 DC ... 30 DC
SEX23-R 10 DC ... 36 DC
SMX Module 10 DC ... 30 DC
SUPX Module 10 DC ... 30 DC
The supply voltage connection as well as the signal and sense leads must be
installed in such a way that electromagnetic interference does not adversely
affect device functionality. (HBM recommendation: "Greenline shielding
design", can be downloaded from http://www.hbm.com/greenline).
Automation equipment and devices must be covered over in such a way that
adequate protection or locking against unintentional actuation is provided (e.g.
access checks, password protection, etc.).
When devices are working in a network, these networks must be designed in
such a way that interference in individual nodes can be detected and the nodes
can be shut down.
Safety precautions must be taken both in terms of hardware and software, so
that a line break or other interruptions to signal transmission, e.g. via the bus
interfaces, do not cause undefined states or loss of data in the automation
device.
Conditions on site
For all modules:
SPlease observe the maximum allowed ambient temperatures stated in the
specifications.
SMake sure that the device is exposed to as little direct sunlight as possible
in hot operating environments.

Safety instructions
6A05417_02_E00_01 HBM: public CX27C-R
Maintenance and cleaning
The modules are maintenance-free. Note the following points when cleaning
the housing:
SBefore cleaning, disconnect the module from all connections.
SClean the housing with a soft, slightly damp (not wet!) cloth. You should
never use solvents, since they could damage the label on the front panel
and damage the display.
SDo not subject the device to high water pressure while cleaning.
General dangers of failing to follow the safety instructions
The module is a state of the art device and as such is failsafe. The module
may give rise to residual dangers if it is inappropriately installed and operated
by untrained personnel. Any person instructed to carry out installation, start-up,
maintenance or repair of the module must have read and understood the
operating manual and in particular the technical safety instructions.
Residual dangers
The scope of supply and performance of the module covers only a small area
of measurement technology. In addition, equipment planners, installers and
operators should plan, implement and respond to the safety engineering
considerations of measurement technology in such a way as to minimize
residual dangers. On-site regulations must be complied with at all times. There
must be reference to the residual dangers connected with measurement
technology. After making settings and carrying out activities that are password-
protected, you must make sure that any controls that may be connected
remain in safe condition until the switching performance of the module has
been tested.
Product liability
In the following cases, the protection provided for the device may be adversely
affected. Liability for equipment functionality passes to the operator when:
SThe device is not used in accordance with the operating manual.
SThe device is used outside the field of application described in this chapter.
SThe operator makes unauthorized changes to the device.

Safety instructions
CX27C-R A05417_02_E00_01 HBM: public 7
Working safely
Error messages can only be confirmed once the cause of the error has been
resolved and there is no further danger.
The devices meet EMC standards EN61326-1 / EN61326-2-x. The norms used
include definitions of limit values and test levels for multiple environments.
In terms of emission (EME), the requirements for industrial environments
(Class A) and household/laboratory environments (Class B) must be met. The
standard here references to CISPR 11:2009+A1:2010.
Regarding immunity to interference, requirements for controlled electro-mag
netic environments (lowest requirements), general environments and industrial
environments (highest requirement) are included.
SomatXR modules listed in the declaration of conformity meet the
requirements for:
SEmission (EME): Class A
SImmunity to interference: Industrial environment
The SomatXR-series and the individual modules are designed essentially for
use in an industrial environment. When used in residential and commercial
applications, additional measures may be necessary to limit emission (EME).
Conversions and modifications
The module must not be modified from the design or safety engineering point
of view except with our express agreement. Any modification shall exclude all
liability on our part for any resultant damage.
In particular, any repair or soldering work on motherboards (exchange of
components) is prohibited. When exchanging complete modules, use only
original parts from HBM.
The module is delivered from the factory with a fixed hardware and software
configuration. Changes may only be made within the options documented in
the instructions.
Qualified personnel
Qualified personnel means persons entrusted with installing, mounting, starting
up and operating the product who possess the appropriate qualifications for
their work. This module may only be used by qualified personnel in accordance

Safety instructions
8A05417_02_E00_01 HBM: public CX27C-R
with the specifications and in compliance with the safety requirements and
regulations.
This includes people who meet at least one of the three following criteria:
SThe safety concepts for the automation technology must be known. The
project personnel must be familiar with these concepts.
SThe operators of the automation system must be instructed in how to
handle the machine and must know how to operate the modules and
technologies that are described in this documentation.
SThe commissioning engineers and service technicians must have
successfully completed training that qualifies them to repair automation
systems. They are also authorized to operate, ground and label circuits and
equipment in accordance with safety engineering standards.
It is also essential to comply with the legal regulations and safety rules
applicable to the application concerned during use. The same applies to the
use of accessories.

Markings used
CX27C-R A05417_02_E00_01 HBM: public 9
2 Markings used
2.1 The markings used in this document
Important instructions for your safety are highlighted. It is essential to follow
these instructions to prevent accidents and damage to property.
Symbol Meaning
WARNING This marking warns of a potentially dangerous
situation in which failure to comply with safety
requirements could result in death or serious physical
injury.
CAUTION This marking warns of a potentially dangerous situa
tion in which failure to comply with safety require
ments could result in slight or moderate physical
injury.
Notice This marking draws your attention to a situation in
which failure to comply with safety requirements
could lead to property damage.
Important
This marking draws your attention to important
information about the product or about handling the
product.
Information
This marking draws your attention to information
about the product or about handling the product.
Emphasis
See …
Italics are used to emphasize and highlight text and
identify references to chapters, diagrams, or external
documents and files.
Device -> New Bold text indicates menu items, as well as dialog and
window headings in the program environment.
Arrows between menu items indicate the sequence in
which the menus and sub-menus are called up
Sample rate Bold text in italics indicates inputs and input fields in
the user interfaces.

Markings used
10 A05417_02_E00_01 HBM: public CX27C-R
2.2 Symbols on the device
CE mark
With the CE mark, the manufacturer guarantees that the
product complies with the requirements of the relevant
EC Directives (the Declaration of Conformity can be
found on the HBM website HBM (www.hbm.com) under
Service and Support \ Downloads).
Statutory waste disposal marking
In accordance with national and local environmental pro
tection and material recovery and recycling regulations,
old devices that can no longer be used must be disposed
of separately and not with normal household waste.
See also Chapter 7
„Waste disposal and environmental protection“ on Page
55.
Marking in accordance with the requirements of SJ/T 11364-2014 and
SJ/T 11363-2006 (“China RoHS-2”)
Marking for products that do not contain hazardous mate
rials or that contain only certain quantities of these mate
rials below the highest concentration allowed.
Observe supply voltage
This symbol indicates that the supply voltage must be
monitored. You can find the individual supply voltage
ranges on the respective data sheet.

Introduction
CX27C-R A05417_02_E00_01 HBM: public 11
3 Introduction
These instructions will help you get started using the SomatXR Industrial
Ethernet gateway CX27C-R. It should help you to use the measurement
modules in real-time automation tasks via the EtherCAT or PROFINET IRT.
This manual shows you:
SHow to start up the module.
SWhat can be connected and what to look out for.
SHow to parameterize the module in order to integrate your measured data
into your automation software.
The following documentation is also available:
SSomatXR operating manual with the pin assignment of the MX modules
SData sheets
SOnline help in the MX Assistant software
Further information
EtherCAT is an open standard (IEC/FDIS 61158), therefore note the
information available from www.ethercat.org as an additional source that may
be necessary.
CANopen documentation can be requested from the user organization CAN in
Automation (CiA) (www.can‐cia.de).

Connections and displays
12 A05417_02_E00_01 HBM: public CX27C-R
4 Connections and displays
Gigabit Ethernet (X1)
PTPv2-capable
Industrial Ethernet (X3/X2),
Input/output P1/P2
Fig. 4.1 CX27C-R connections on the front
Voltage supply (X104),
FireWire
(X102 + X101)
Gigabit Ethernet (X100)
PTPv2-capable
Functional
ground
Fig. 4.2 Connectors on the back of the CX27C-R

Connections and displays
CX27C-R A05417_02_E00_01 HBM: public 13
4.1 Power supply
Connect a DC supply voltage of 10 - 30 V to connector X104. Use a voltage
supply with sufficient power if any MX modules connected to the CX27C-R
also need to be supplied.
The DC voltage supply must be a SELV voltage supply, meeting the require
ments of IEC/EN/DIN EN 609501. The supply voltage must be protected by
an adequate DC fuse (e.g. LITTELFUSE KLKD 6, LFPHV001) with a maximum
current of 5 A.
HBM offers the NTX002 power supply for laboratory or general steady-state
operation. On the primary side, this provides a selection of international
connector types and 24 V and 30 watts on the secondary side. A CX27C-R
and two additional MX modules can be supplied in this way.
4.2 Ground connection and grounding
Lay the signal and data leads separately from the current-carrying power line.
Cable ducts made of sheet metal with an internal partition are ideal.
When there are differences in potential in or at the connected measurement
system, you will have to integrate the CX27C-R into the potential equalization
line through the functional earth connector.
4.3 Connecting the measurement modules
The SomatXR module CX27C-R is a so-called gateway. A gateway is used so
that networks based on completely different protocols can communicate with
each other.
Thus the main task of the Industrial Ethernet gateway CX27C-R is to receive
and forward data from the modules connected via FireWire.
Data is transmitted via the FireWire connections and the module is synchro
nized for time and supplied with the optimum voltage. Data transmission is
asynchronous (all nodes) or isochronous (to a specific node, e.g. CX27C-R).
You can connect a total of twelve modules with each other in series via
FireWire.

Connections and displays
14 A05417_02_E00_01 HBM: public CX27C-R
SomatXR or QuantumX modules are connected to the gateway via FireWire.
Connect cable 1-KAB272-x to any of the gateway’s connectors and the other
end to connector X102 of the first measurement module.
Then keep threading: connector X101 to X102 of the second measurement
module, etc. You will usually have to provide another voltage supply after three
modules. The supply voltage of the modules is connected through FireWire
(maximum 1.5 A via FireWire). The power consumption of a module is
explained in the data sheet. The supply voltages in a system should all have
about the same voltage value.
4.4 Inclusion of Industrial Ethernet fieldbus and
connection to PC.
The CX27C-R Gateway has two Ethernet interfaces and one fieldbus interface
(IN/OUT) for a network connection. The Ethernet interfaces on the front and
back of the module are equivalent, and are implemented as M12 sockets
(X coded).
Ethernet M12 X coded RJ45
TX_D1+ 1 1
TX_D1- 2 2
RX_D2+ 3 3
RX_D2- 4 6
BI_D3+ 7 4
BI_D3- 8 5
BI_D4+ 5 7
BI_D4- 6 8
Generally, only one of the two Ethernet interfaces should be used in order to
prevent problems with the network configuration.
Measurement tasks: central interface for all connected modules and their
measured values.
Maintenance tasks: central interface for all connected modules for diagnosis or
updates.
M12
X coded

Connections and displays
CX27C-R A05417_02_E00_01 HBM: public 15
Information
The factory settings of the modules can be restored with the MX Assistant.
Important
The Ethernet interfaces on the front and back of the gateway must have
different IP addresses! You can configure both interfaces with the MX
Assistant.
Power supply
Fig. 4.3 Example: Ethernet connection to a PC/laptop via CX27C-R

Connections and displays
16 A05417_02_E00_01 HBM: public CX27C-R
Important
Running from the data sources to the receiving terminal, the connection
between the modules must always run from the FireWire port X102 to the
X101 port.
The D coded M12 connector sockets X2 and X3 on the front are intended for
connecting to the Industrial Ethernet fieldbus with real-time capability.
Ethernet M12 D coded RJ45
TX+ 1 1
TX- 3 2
RX+ 2 3
RX- 4 6
Additional slaves
Power supply
EtherCAT or
PROFINET IRT
master
CX27C-R
(Slave)
Fig. 4.4 Example: Connection between SomatXR and Industrial Ethernet via
CX27C-R
M12
D coded

Connections and displays
CX27C-R A05417_02_E00_01 HBM: public 17
4.5 LED displays
Gigabit Ethernet LEDs Industrial Ethernet LEDs
Fieldbus LEDs System LED
Fig. 4.5 Position of the LEDs
System LED
Color Meaning
Green Error-free operation
Yellow System not ready, booting procedure active
Flashing yellow Download procedure is active, detection of identification
Red Error/faulty synchronization
Fieldbus LEDs
EtherCAT
ERR/BF/NS Meaning
OFF EtherCAT has no connection
Flashing EtherCAT has a connection - data transfer
Lit continuously EtherCAT has a connection - no data transfer

Connections and displays
18 A05417_02_E00_01 HBM: public CX27C-R
RUN/SF/MS Meaning
OFF EtherCAT in INIT state
Flashing slowly EtherCAT in PRE-OPERATIONAL state
Single flashing EtherCAT in SAFE-OPERATIONAL state
Lit continuously EtherCAT in OPERATIONAL state
Flashing fast EtherCAT in BOOTSTRAP state
PROFINET
Status RUN/SF/MS ERR/BF/NS
Boot sequence OFF OFF
Hardware error1)
Licensing error
OFF RED
Connected2) GREEN OFF
DCP signal (1Hz, 3 seconds) FLASHING ORANGE FLASHING ORANGE
All others FLASHING GREEN OFF
1) Error is triggered by the SDAI stack (e.g. “Ethernet interface not working or IP core problem” from
the source file demo.c)
2) Connection established between PLC and CX27C-R (name and IP input range match)
Ethernet LEDs (gigabit Ethernet and industrial Ethernet)
Color Meaning
Green lights up Ethernet connection status OK
Flashing yellow Ethernet data transmission

Configuration
CX27C-R A05417_02_E00_01 HBM: public 19
5 Configuration
5.1 Adjustment of the Industrial Ethernet mode
When connecting the SomatXR to an industrial fieldbus, the CX27 platform
uses an adjustable protocol stack with the following options: PROFINET IRT,
EtherCAT, and others.
Starting with firmware version 4.32, CX27C-R supports EtherCAT and
PROFINET Device IRT.
At delivery, the EtherCAT fieldbus mode is already preset. You can change
modes using the MX Assistant:
1. Connect your PC to the CX27C-R gateway via an Ethernet cable.
2. Supply voltage to the CX27C-R.
3. Start the MX Assistant, scan for modules and connect the MX Assistant
with CX27C-R.
4. You can pull up the fieldbus mode menu by right-clicking on the CX27C-R
(see Fig. 5.1). There you can choose between EtherCAT and PROFINET
(see Fig. 5.2).
5. Restart the gateway in order to activate the selected mode.

Configuration
20 A05417_02_E00_01 HBM: public CX27C-R
Fig. 5.1 Switch fieldbus mode
Fig. 5.2 Select fieldbus
5.2 Adjustment of isochronous data transmission
You must first configure the relevant module channels for isochronous data
transmission with the MX Assistant ("Signals" tab) and via Ethernet TCP/IP:
1. Connect your modules in the deactivated state to the CX27C-R gateway via
FireWire cable 1-KAB272 (from connector X102 to X101, etc.).
2. Connect your PC to the CX27C-R gateway via an Ethernet cable.
3. Switch on the supply voltage.
Table of contents
Other HBM Gateway manuals