Anybus X-gateway User manual

Anybus
®X-gateway™
USER MANUAL
HMSI-27-262 3.0 ENGLISH

Important User Information
Liability
Every care has been taken in the preparation of this document. Please inform HMS Industrial Networks AB of any
inaccuracies or omissions. The data and illustrations found in this document are not binding. We, HMS Industrial
Networks AB, reserve the right to modify our products in line with our policy of continuous product development.
The information in this document is subject to change without notice and should not be considered as a commit-
ment by HMS Industrial Networks AB. HMS Industrial Networks AB assumes no responsibility for any errors that
may appear in this document.
There are many applications of this product. Those responsible for the use of this device must ensure that all the
necessary steps have been taken to verify that the applications meet all performance and safety requirements in-
cluding any applicable laws, regulations, codes, and standards.
HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that
may arise as a result from the use of undocumented features, timing, or functional side effects found outside the
documented scope of this product. The effects caused by any direct or indirect use of such aspects of the product
are undefined, and may include e.g. compatibility issues and stability issues.
The examples and illustrations in this document are included solely for illustrative purposes. Because of the many
variables and requirements associated with any particular implementation, HMS Industrial Networks AB cannot as-
sume responsibility for actual use based on these examples and illustrations.
Intellectual Property Rights
HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product de-
scribed in this document. These intellectual property rights may include patents and pending patent applications in
the USA and other countries.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Anybus®X-gateway™User Manual HMSI-27-262 3.0
Table of Contents Page
1 Preface ............................................................................................................................... 3
1.1 About This Document.....................................................................................................3
1.2 Related Documents .......................................................................................................3
1.3 Document history...........................................................................................................3
1.4 Trademark Information ...................................................................................................3
1.5 Conventions ..................................................................................................................4
1.6 Document-specific Conventions......................................................................................4
2 Description ....................................................................................................................... 5
2.1 Introduction ...................................................................................................................5
2.2 Data Exchange..............................................................................................................6
2.3 Status and Diagnostics...................................................................................................7
2.4 Controlling the X-gateway from the Network.....................................................................9
2.5 Error Handling ...............................................................................................................9
2.6 Data Mapping Examples...............................................................................................10
3 Installation ...................................................................................................................... 11
3.1 DIN Rail Mounting........................................................................................................ 11
3.2 Connectors and Indicators............................................................................................12
4 Anybus Configuration Manager ................................................................................ 13
4.1 Introduction .................................................................................................................13
4.2 Setup..........................................................................................................................14
4.3 Configuration...............................................................................................................14
A Technical Data................................................................................................................ 15
B Regulatory Compliance............................................................................................... 16

This page intentionally left blank

Preface 3 (18)
1 Preface
1.1 About This Document
This document describes the functions and general configuration of the Anybus X-gateway.
Documentation and software for the specific fieldbus and Ethernet network interfaces can be
downloaded from www.anybus.com/support.
1.2 Related Documents
Document Author Document ID
Anybus X-gateway Installation Guide HMS SP1747
Anybus X-gateway network-specific documentation HMS —
1.3 Document history
Version Date Description
1.00 2004-04-02 First release
2.00 2014-05-01 Major update
2.10 2014-08-26 Compliance information update
3.00 2017-01-23 Major rewrite
1.4 Trademark Information
Anybus®is a registered trademark of HMS Industrial Networks AB. All other trademarks men-
tioned in this document are the property of their respective holders.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Preface 4 (18)
1.5 Conventions
Ordered lists are used for instructions that must be carried out in sequence:
1. First do this
2. Then do this
Unordered (bulleted) lists are used for:
• Itemized information
• Instructions that can be carried out in any order
...and for action-result type instructions:
► This action...
➨leads to this result
Bold typeface indicates interactive parts such as connectors and switches on the hardware, or
menus and buttons in a graphical user interface.
Monospaced text is used to indicate program code and other
kinds of data input/output such as configuration scripts.
This is a cross-reference within this document: Conventions, p. 4
This is an external link (URL): www.hms-networks.com
This is additional information which may facilitate installation and/or operation.
This instruction must be followed to avoid a risk of reduced functionality and/or
damage to the equipment, or to avoid a network security risk.
Caution
This instruction must be followed to avoid a risk of personal injury.
WARNING
This instruction must be followed to avoid a risk of death or serious injury.
1.6 Document-specific Conventions
The following conventions are used specifically in this document:
• Hexadecimal values are written as NNNNh (the suffix hindicates hexadecimal notation).
• 16 and 32 bit values are stored in Motorola (big endian) format unless otherwise stated.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 5 (18)
2 Description
2.1 Introduction
The Anybus X-gateway consists of two Anybus fieldbus or Ethernet network interface modules
and an intelligent gateway platform which transfers data between the two networks.
The X-gateway can be configured via a USB port using a Windows-based application, Anybus
Configuration Manager. The on-board network interfaces are normally configured from the re-
spective networks, using third-party configuration tools.
24 VDC
Network 1
Network 2
Fig. 1 Anybus X-gateway concept overview
This document describes only the gateway platform. The network interfaces are described in
the respective Network Guides that can be downloaded from www.anybus.com/support.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 6 (18)
2.2 Data Exchange
Fig. 2 Anybus X-gateway data exchange
The terminology and definitions used for different types of data vary between different network
types. Most networks distinguish between fast, cyclical I/O data, and less time-critical acyclic
data. In the Anybus X-gateway these types of data are generally referred to respectively as I/O
Data and Parameter Data.
Each of the two network interfaces exchanges data on its network through its own buffer, which
can hold up to 512 bytes of data. The actual amount of data that can be exchanged depends on
the settings in the network interface and may therefore be significantly less than 512 bytes,
which is only the maximum size of the buffer. The default setting is 20 bytes in each direction.
See the Network Guide for the respective network interface for more information.
In addition to the I/O data the buffers may contain network status information and instructions
for controlling the network interface. Depending on the type of network interface this may be
general diagnostic information (Status Word), a list of the active slaves (Live List), or other net-
work-specific information. In a network master, part of the buffer may be used to start/stop data
exchange and to reset the gateway (Control Word).
The exchange of data between the buffers is separate from the network data exchange. While
the X-gateway ensures data consistency (where applicable), it does not feature any mecha-
nisms for synchronisation between the two networks.
Network Interface 2 Network Interface 1
Network 2
Network 1
Data From
Network 2
Data From
Network 1
Data From
Network 1
Data From
Network 2
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 7 (18)
2.3 Status and Diagnostics
2.3.1 Status Word
Runtime status and diagnostic information can be provided through the Status Word, which (if
enabled) takes up the first two bytes of the output area (data to the network).
The Status Word is disabled by default and must be enabled for each network separately
through Anybus Configuration Manager.
(MSB) (LSB)
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Gateway Cycle Counter General Error Counter (reserved) Master Mode Init Run
Gateway Cycle Counter
A 4-bit counter, incremented for each successful gateway cycle (each time data has been suc-
cessfully transferred between the network interfaces).
General Error Counter
A 4-bit counter, incremented each time the throughput of the gateway exceeds 100 ms.
Master Mode (master configurations only)
If a network interface is confgured as a network master, these bits indicate the current operation
mode of the master to the other network.
The exact definition depends on the network interface type. See the Network Guide for the re-
spective interface for more information.
Init
Indicates if the other network interface has been initialized.
Bit set (1) = Other network interface successfully initialized
Bit cleared (0) = Could not initialize other network interface
Run
Indicates the status of the data exchange on the other network.
Bit set (1) = Other network is online and exchanging data
Bit cleared (0) = Other network is offline or not exchanging data
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 8 (18)
2.3.2 Live List (Master Configurations Only)
The Live List provides the active status of the slaves associated with an on-board network inter-
face acting as master. The list is assembled by the master interface and forwarded to the other
network each gateway cycle.
The Live List functionality is disabled by default and must be enabled for the master interface
through Anybus Configuration Manager.
Offset bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7
0 Slave 0 Slave 1 Slave 2 Slave 3 Slave 4 Slave 5 Slave 6 Slave 7
1 Slave 8 Slave 9 Slave 10 Slave 11 Slave 12 Slave 13 Slave 14 Slave 15
2 Slave 16 Slave 17 Slave 18 Slave 19 Slave 20 Slave 21 Slave 22 Slave 23
3 Slave 24 Slave 25 Slave 26 Slave 27 Slave 28 Slave 29 Slave 30 Slave 31
4 Slave 32 Slave 33 Slave 34 Slave 35 Slave 36 Slave 37 Slave 38 Slave 39
5Slave 40 Slave 41 Slave 42 Slave 43 Slave 44 Slave 45 Slave 46 Slave 47
6 Slave 48 Slave 49 Slave 50 Slave 51 Slave 52 Slave 53 Slave 54 Slave 55
7Slave 56 Slave 57 Slave 58 Slave 59 Slave 60 Slave 61 Slave 62 Slave 63
Bit set (1) = Slave active
Bit cleared (0) = Slave not active
The exact definition of each set or cleared bit depends on the network interface used. See the
Network Guide for the respective interface for more information.
2.3.3 Network-specific Status
Some network interfaces may provide additional registers or status lists. See the Network
Guide for the respective interface for more information.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 9 (18)
2.4 Controlling the X-gateway from the Network
Some functions in the X-gateway can be controlled from the network by setting the correspond-
ing bits in the Control Word, which (if enabled) takes up the first two bytes of the input area (data
coming from the network).
The Control Word is disabled by default and must be enabled for each network separately via
Anybus Configuration Manager. When enabled, specific actions may be required in order for
the X-gateway to start exchanging data.
(MSB) (LSB)
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Reset Master Mode
Master Mode (master configurations only)
If a network interface is confgured as a network master, these bits indicate the current operation
mode of the master to the other network.
The exact definition depends on the network interface type. See the Network Guide for the re-
spective interface for more information.
Reset
Can be used to reset the Anybus X-gateway.
Bit set (1) = Restart the gateway and re-initialize both network interfaces
Bit cleared (0) = No action
2.4.1 Network-specific Controls
Some network interfaces may provide additional methods of controlling the X-gateway from the
network. See the Network Guide for the respective interface for more information.
2.5 Error Handling
If a network goes offline the X-gateway can either freeze (keep the current value) or clear (set
to zero) the data from the network that has gone offline. Which action to take can be selected
via Anybus Configuration Manager.
See also Anybus Configuration Manager, p. 13.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Description 10 (18)
2.6 Data Mapping Examples
Usage of the Control Word, Status Word and Live List affect how data is mapped to the network
interfaces in the Anybus X-gateway.
The following generic examples describe typical configurations. The actual representation of
data on the network is highly network-specific and is described in the Network Guide for the re-
spective interface.
Typical Slave-to-Slave Gateway Configuration
Fig. 3 Slave-to-slave example
This example illustrates how data is mapped in a typical slave-to-slave gateway configuration.
The Control Word and Status Word is here enabled for both networks.
Typical Master-to-Slave Gateway Configuration
Fig. 4 Master-to-slave example
This example illustrates how data is mapped in a typical master-to-slave gateway configuration.
The mapping is similar to the slave-to-slave configuration but also features the Live List, which
indicates the active status of the slaves that are attached to the master interface.
Network Interface 2
(Slave)
Network Interface 1
(Slave)
Network 2
Network 1
Parameter Data
Status Word
Control Word
I/O Data
Parameter Data
I/O Data
Status Word
Parameter Data
I/O Data
Parameter Data
I/O Data
Control Word
Network Interface 2
(Slave)
Network Interface 1
(Master)
Network 2
Network 1
Parameter Data
Status Word
Control Word
I/O Data
Parameter Data
I/O Data
Parameter Data
I/O Data
Parameter Data
I/O Data
Control Word
Status Word
Live List
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Installation 11 (18)
3 Installation
3.1 DIN Rail Mounting
The unit must be electrically grounded through the DIN rail for EMC compliance.
Mount on DIN rail
The unit is designed to be mounted on a standard DIN rail. No tools are needed.
1
2
Fig. 5 Push down to mount or remove
1. Hook the unit onto the upper lip of
the rail and push gently downwards.
2. Push the unit towards the rail until it
snaps into place.
Remove from DIN rail
1. Push the unit gently downwards on the rail.
2. Pull the bottom end of the unit free of the rail and remove it.
Sideways Mounting
The unit can alternatively by mounted sideways on the DIN rail. A T10 Torx screwdriver is
needed to reposition the DIN clip.
Remove for optional DIN retting
T10
21 3
Fig. 6 Refit the DIN clip to the side panel
1. Remove the sticker covering the
screw holes on the right side panel.
2. Unscrew the DIN clip from the back
of the unit.
3. Refit the DIN clip to the side panel.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Installation 12 (18)
3.2 Connectors and Indicators
GW Status
GW Status
X3
X4
Fig. 7 Front and top views
3.2.1 Power Connector (X3)
1 2
Fig. 8 Power connector
Pin Function
1 + 24 VDC
2 Power ground
3.2.2 USB Connector (X4)
1
2
34
Fig. 9 USB type B connector
Pin Signal
1 +5 V input
2 USBDM (USB communication)
3 USBDP (USB communication)
4 Signal ground
Housing Cable shield
3.2.3 LED Indicators
LED Indication Meaning
GW Status Green Communication running
Red Communication error
Red, flashing Network interface error
All other LED indicators, connectors and configuration switches are specific for each network in-
terface and are described in the respective Network Guide.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

Anybus Configuration Manager 13 (18)
4 Anybus Configuration Manager
4.1 Introduction
The Anybus X-gateway usually requires only a minimum of configuration during setup, since
the on-board network interfaces are configured from the respective networks. Some parameters
in the gateway may however need to be adjusted to suit specific networks and applications.
The gateway settings are accessed via the USB port of the X-gateway using the Windows-
based application Anybus Configuration Manager.
This section describes only the general features and how to install Anybus Configuration Man-
ager. The network-specific settings are described in detail in the built-in help system and in the
Network Guide for each respective interface.
Anybus Configuration Manager requires Windows XP or later.
Fig. 10 Anybus Configuration Manager
Anybus
®X-gateway™User Manual HMSI-27-262 3.0

Anybus Configuration Manager 14 (18)
4.2 Setup
1. Download Anybus Configuration Manager from www.anybus.com/support.
2. Unzip the contents of the archive in a folder on your computer and double-click on the set-
up executable, then follow the instructions in the installation wizard.
3. Connect a USB cable between the computer and the USB port on the X-gateway.
4. Start Anybus Configuration Manager and select Online > Select Connection.
Fig. 11 Select a connection
5. Select the connection to use for the X-gateway and click on OK. The USB connection will
be named Anybus Serial Connection.
There is normally no need to configure the connection unless you are connected to more
than one X-gateway. See the built-in help for more information.
6. Select Online > Connect to open the connection to the X-gateway.
4.3 Configuration
Once Anybus Configuration Manager has established a connection to the X-gateway, configura-
tions from the unit can be retrieved, viewed and modified.
1. Select Online > Upload Configuration to retrieve the configuration from the X-gateway.
2. The configuration can now be viewed and modified as required.
3. After making changes, select Online > Download Configuration to apply the modified
configuration to the X-gateway.
For more information about the various functions and settings, see the built-in help in Anybus
Configuration Manager and the Network Guide for each network interface.
Fig. 12 Anybus Configuration Manager help menu
Anybus
®X-gateway™User Manual HMSI-27-262 3.0

Appendix A: Technical Data 15 (18)
A Technical Data
Technical Specifications
Model name Anybus X-gateway
Dimensions (L x W x H) 114 x 44 x 127 mm
Weight 400 g
Operating temperature -25 to +65 °C (IEC 60068-2-1 and IEC 60068-2-2)
(max. +50 °C for fibre optic interfaces)
Storage temperature -40 to +85 °C (IEC 60068-2-1 and IEC 60068-2-2)
Humidity range 5–95 % RH, non-condensing (IEC 60068-2-30)
Pressure range 85–105 kPa
Power supply 24 V ±20 % DC regulated power source
Current consumption Typical: 200 mA @ 24 VDC
Maximum: 400 mA @ 24 VDC
Configuration port USB (USB to CAN cable not included)
Galvanic isolation Yes, on both network sides
Mechanical rating IP20, NEMA rating 1
Mounting DIN rail (EN 50022)
Network shield conductance via DIN rail
Certifications CE, CULUS, ATEX/Haz.Loc.
All measurements are in millimeters.
43.4
129.7
61.4
124.5
113.7
Fig. 13 Anybus X-gateway dimensions
Anybus
®X-gateway™User Manual HMSI-27-262 3.0

Appendix B: Regulatory Compliance 16 (18)
B Regulatory Compliance
The product must be connected to protective earth (PE) via the DIN rail connector
in order to achieve proper EMC behavior. HMS Industrial Networks AB does not
guarantee proper EMC behavior unless this requirement is fulfilled.
EMC Compliance (CE)
This product is in compliance with the EMC Directive 2014/30/EU through conformance with
the following standards:
Emission standard for industrial environment Immunity for industrial environment
EN 61000-6-4 (2007) EN 61000-6-2 (2005)
- EN 55016-2-3, Class A (2010) - EN 61000-4-2 (2009)
- EN 55022, Class A (2011) - EN 61000-4-3 (2006)
- EN 61000-4-4 (2012)
- EN 61000-4-5 (2014)
- EN 61000-4-6 (2014)
The Declaration of Conformity is available at www.anybus.com/support.
Disposal and Recycling
You must dispose of this product properly according to local laws and regulations. Because this
product contains electronic components, it must be disposed of separately from household waste.
When this product reaches its end of life, contact local authorities to learn about disposal and recy-
cling options, or simply drop it off at your local HMS office or return it to HMS.
For more information, see www.hms-networks.com.
ATEX Certification
Anybus
®X-gateway™User Manual HMSI-27-262 3.0

Appendix B: Regulatory Compliance 17 (18)
UL Certification
This equipment is suitable only for use in Class I, Division 2, Groups A, B, C and D OR non-haz-
ardous locations only. Combinations of equipment in your system are subject to investigation by
the local Authority Having Jurisdiction at the time of installation.
WARNING
EXPLOSION HAZARD - SUBSTITUTION OF ANY COMPONENTS MAY IMPAIR SUITABILITY
FOR CLASS I, DIVISION 2.
EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE
REPLACING OR WIRING MODULES.
EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS.
EXPLOSION HAZARD- THE USB CONNECTOR IS NOT FOR USE IN HAZARDOUS
LOCATIONS AND FOR TEMPORARY CONNECTION ONLY. DO NOT USE, CONNECT OR
DISCONNECT UNLESS THE AREA IS KNOWN TO BE NONHAZARDOUS. CONNECTION OR
DISCONNECTION IN AN EXPLOSIVE ATMOSPHERE COULD RESULT IN AN EXPLOSION.
INSTALL IN A TOOL LOCKED ENCLOSURE CONSIDERED REPRESENTATIVE OF THE
INTENDED USE.
AVERTISSEMENT
RISQUE D’EXPLOSION – LE REMPLACEMENT DE TOUT COMPOSANTS INVALIDE LA
CERTIFICATION CLASS I, DIVISION 2.
RISQUE D’EXPLOSION – EN ZONE EXPLOSIVE, VEUILLEZ COUPER L’ALIMENTATION
ÉLECTRIQUE AVANT LE REMPLACEMENT OU LE RACCORDEMENT DES MODULES.
RISQUE D’EXPLOSION – NE PAS DÉCONNECTER L’ÉQUIPEMENT TANT QUE
L’ALIMENTATION EST TOUJOURS PRÉSENTE OU QUE LE PRODUIT EST TOUJOURS EN
ZONE EXPLOSIVE ACTIVE.
RISQUE D’EXPLOSION – LE CONNECTEUR USB N’EST PAS FAIT POUR UN USAGE EN
MILIEU EXPLOSIF. NE PAS, BRANCHER ET DEBRANCHER SANS SAVOIR SI LA ZONE N’EST
PAS IDENTIFIEE NON EXPLOSIVE. BRANCHER OU DEBRANCHER EN ZONE EXPLOSIVE
PEUT ENTRAINER UNE EXPLOSION.
INSTALLER DANS UNE ARMOIRE VERROUILLEE VALIDANT L’ACTE VOLONTAIRE
D’UTILISATION.
• Field wiring terminals — use only 105 °C copper (Cu) 14–30 AWG
• Terminal tightening torque: 5–7 lb-in (0.5–0.8 Nm)
• Maximum surface temperature: 135 °C
• Use in Overvoltage Category I Pollution Degree 2 Environment conforming to EN 60664-1
• To comply with ATEX directives, the equipment must be installed within an IP54 enclosure
and must be installed with a transient suppressor on the supply that does not exceed
140 % (33.6 V DC) of the nominal rated supply voltage.
Anybus®X-gateway™User Manual HMSI-27-262 3.0

last page
© 2017 HMS Industrial Networks AB
Box 4126
300 04 Halmstad, Sweden
Other manuals for X-gateway
3
Table of contents
Other Anybus Gateway manuals

Anybus
Anybus RS-232 User manual

Anybus
Anybus PROFINET IRT 2.32 User manual

Anybus
Anybus AB7702 User manual

Anybus
Anybus Modbus to BACnet Gateway User manual

Anybus
Anybus Communicator PROFINET IRT User manual

Anybus
Anybus Communicator CAN PROFINET IRT 2.32 User manual

Anybus
Anybus X-gateway Assembly instructions

Anybus
Anybus Communicator Modbus plus User manual