ABX Generic Gateway User Manual 1 13 SCM-1200-090
ABX Generic Gateway User Manual 1 13 SCM-1200-090
ABX Generic Gateway User Manual 1 13 SCM-1200-090
Anybus X-gateway ®
Table of Contents
Warning: This is a class A product. In a domestic environment this product may cause radio interfer-
ence in which case the user may be required to take adequate measures.
ESD Note: This product contains ESD (Electrostatic Discharge) sensitive parts that may be damaged
if ESD control procedures are not followed. Static control precautions are required when
handling the product. Failure to observe this may cause damage to the product.
About This Document P-2
Related Documents
Document Author
- -
Document History
Change Page(s)
Changed information about non operating storage temperature from -15 to -40 B-1
Added information about data bits 3-1
Revision List
Support
HMS Germany
E-mail: [email protected]
Phone: +49-721-96472-0
Fax: +49-721-964-7210
Online: www.anybus.com
HMS Japan
E-mail: [email protected]
Phone: +81-45-478-5340
Fax: +81-45-476-0315
Online: www.anybus.com
HMS China
E-mail: [email protected]
Phone: +86 10 8532 3023
Online: www.anybus.com
HMS Italy
E-mail: [email protected]
Phone: +39 039 59662 27
Fax: +39 039 59662 31
Online: www.anybus.com
HMS France
E-mail: [email protected]
Phone: +33 (0) 3 89 32 76 41
Fax: +33 (0) 3 89 32 76 31
Online: www.anybus.com
Chapter 1
Introduction
The Anybus X-gateway is a series of network gateways, used to provide a seamless connection between
two networks of different type.
The gateway is based on patented Anybus
technology; a proven industrial communi- Network 1
Functional Overview
Internally, the gateway consists of two Anybus-S network interface cards, interconnected through an in-
telligent gateway platform, which basically forwards data from one network to the other and vice versa
as shown below. This design allows almost any combination of network systems, in both master and
slave configurations.
Anybus-S Network Interface
Network 2
Note: This document does not cover any network specific features, such information is instead available
through supplementary documents called X-gateway Interface Addendums.
About the Anybus X-gateway 1-2
External View
The flexible design of the X-gateway platform allows the network interfaces to be either top or bottom
mounted. Note that this affects the orientation of on-board switches, connectors etc.
Front View
Top mounted interface
• The Gateway Status LEDs
These LEDs reflect the overall status of each network in-
terface. Network Status LEDs
Gateway Status LED
Colour Indication
Green Communication running
Red Communication fault
Red, flashing Network interface fault
Off No power
Top View
Bottom mounted interface
• Power Connector
The power connector is located on the top side of the gate-
way.
(Network Connectors & Switches)
See also...
- 4-1 “Power Supply”
Bottom View
See also...
- 3-1 “Gateway Config Interface” (Network Connectors & Switches)
6 9
About the Anybus X-gateway 1-3
Installation
The gateway is DIN-rail mountable. To ensure proper EMC behaviour, the DIN-rail must be connected
to protective earth (PE).
Snap On
1
To fasten the gateway onto the DIN-rail,
align it with the din rail connector accord-
ing to this figure, press firmly on top (1)
and push the lower part into position (2).
Snap Off
To remove the gateway, press firmly on 1
Power
Network Installation
Network specific installation procedures are, when applicable, described in the separate interface adden-
dums for your product.
Chapter 2
Basic Operation
Data Exchange
Each of the two network interfaces exchange data on it’s network through two buffers. The gateway
forwards the data between these buffers as shown below. Note that this process is separated from the
network data exchange; while the gateway ensures data consistency (where applicable), it does not fea-
ture any built-in mechanisms for synchronisation between the two networks.
Network 2
Network Interface 1 Network Interface 2
Each buffer holds up to 512 bytes of data, which is the theoretical upper limit for the number of bytes
that can be exchanged in each direction. Note however that the actual number of bytes that can be ex-
changed is highly network dependent.
Besides network I/O, these buffers are optionally also used to provide access to network status infor-
mation, and to control various aspects of the gateway. This may be general diagnostic information (called
the ‘Status Word’), list of active slaves (known as the ‘Live List’), or other network specific status infor-
mation. A dedicated Control Word may be used to start/stop the exchange of data, or to reset the gate-
way if needed.
Most networks distinguishes between fast cyclical I/O and less time critical acyclic data. Where applica-
ble, this is also reflected in how data is treated by the gateway and the on-board network interfaces.
The amount of data that shall be exchanged, and the use of the control- and status functionality, is spec-
ified separately for each network via the Gateway Config interface. This means that even though up to
512 bytes of data can be forwarded to an interface, the amount of data that will actually be exchanged
on that network is determined by settings in the network interface itself. While this may not seem logical
at first, it allows data exchange regardless of network specific needs and limitations.
Note that the available control- and status functionality highly depends on the actual gateway configu-
ration. Also note that the terminology and definitions used for different types of data varies greatly be-
tween different networking systems. In this document, they are simply referred to as ‘I/O Data’ (as in
fast, cyclic data) and ‘Parameter Data’ (as in acyclic, slow data).
See also...
• 2-2 “Status & Diagnostics”
• 2-4 “Controlling the Gateway from the Network”
• 2-5 “Data Mapping”
Basic Operation 2-2
Status Word
Optionally, the gateway provides runtime status and diagnostics through the Status Word. This func-
tionality is disabled by default, but can be enabled separately for each network via the Gateway Config
Interface.
Status Word Contents:
(MSB) (LSB)
• Master Mode1
These bits indicate the current operation mode of the on-board master to the other network
(these bits are not available on the master/scanner side).
The exact definition of these bits depend on the network in question. For further information,
consult the interface addendum for the on board master/scanner.
• Init
This bit indicates if the other network interface has been initialised as follows:
1: Other network interface successfully initialised.
0: Could not initialise other network interface.
• Run
This bit indicates the status of the data exchange on the other network as follows:
1: Other network is on line / running
0: Other network is not on line / not running
See also...
• 2-4 “Controlling the Gateway from the Network”
• 3-6 “Operating Status Information”
• 3-7 “Change Configuration”
Optionally, the gateway provides a list of the active status of the slaves associated with the on board mas-
ter. The list is assembled by the master interface and forwarded to the other network each gateway cycle.
This functionality is disabled by default, but can be enabled via the Gateway Config Interface.
Live List Contents:
Note 1: Although certain masters may support more than 64 slaves, only node number 1... 64 will be
represented in the Live List.
Note 2: The EtherNet/IP Scanner Interface does not feature a Live List. Instead, it is possible to rep-
resent statistics about configured, active, and erroneous connections.
See also...
• 3-7 “Change Configuration” (3-8 “Settings”)
Some network interfaces may provide additional registers or status lists. For further information, consult
the separate interface addendums for your product.
Basic Operation 2-4
Control Word
It is possible to control certain aspects of the gateway from the network by setting the corresponding
bits in the Control Word.
This functionality is disabled by default, but can be enabled separately for each network interface
through the Gateway Config Interface. Note that if enabled, certain actions may be required in order for
the gateway to start exchanging data.
Control Word Contents:
(MSB) (LSB)
• Master Mode1
These bits specify the current operation mode of the on-board master from the other network
(these bits are not available on the master/scanner side).
The exact definition of these bits depend on the network in question, however common for all
networks is that if the Control Word has been enabled, it is required to specify a value for these
bits in order for the gateway to start exchanging data.
See also...
- 3-10 “Change Operation Mode (Master Configurations Only)”
- Interface addendum for the on board master/scanner.
• Reset
This bit is used to reset the gateway.
1: Restart the gateway and re-initialize both network interfaces.
0: (no action)
See also...
• 2-2 “Status & Diagnostics”
• 3-6 “Operating Status Information”
• 3-7 “Change Configuration”
Some interfaces may provide additional methods of controlling the gateway from the network. For fur-
ther information, consult the separate interface addendums for your product.
Data Mapping
If enabled, the Control- and Status Words, and the Live List (when available), affects how data is
mapped to the on-board network interfaces.
Note: The actual representation of the data on the network is highly network specific and is described
in detail in the interface addendums for your product.
Network 2
Network Interface 1 Network Interface 2
(Slave) (Slave)
Control Word Control Word
I/O Data I/O Data
See also...
• 2-2 “Status & Diagnostics” (2-2 “Status Word”)
• 2-4 “Controlling the Gateway from the Network” (2-4 “Control Word”)
Status Word
Live List
Status Word
I/O Data I/O Data
Network 2
See also...
• 2-3 “Live List (Master Configurations Only)”
Basic Operation 2-6
Error Handling
When a network goes off line, it is often desirable to have certain control over what happens on the other
network. The gateway can either freeze (keep the current value) or clear (set to zero) the data from the
network that has gone off line.
Which action to perform can be specified via the Gateway Config Interface.
See also...
• 3-7 “Change Configuration” (3-8 “Settings”)
Chapter 3
General Information
Generally, the X-gateway requires very little effort to get up and running. However, since all networks
are different, certain settings may need to be adjusted slightly to fit a particular application. This is
achieved through the Gateway Config Interface, which features a text based user interface that can be
accessed using standard terminal emulation software (such as the Microsoft HyperTerminal).
From the physical point of view, this is a standard RS232 interface with the following properties:
Baudrate: 57600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
----------------------------------------
Anybus X-gateway Main menu
----------------------------------------
1 - Show gateway system information
2 - Show fieldbus system information
3 - Show gateway system configuration
4 - Show fieldbus system configuration
5 – Operating Status information
6 – Change Configuration
7 – Configuration upload/download
8 – Restart Gateway
9 - Change operation mode (Master only)
A – Administration mode
----------------------------------------
>
Note: This document covers common settings available on all gateway configurations (with some minor
exceptions). Network-specific settings are, when applicable, described separately in the interface adden-
dums for your product.
See also...
• 4-1 “Gateway Config Interface”
• 4-1 “Null Modem Cable Schematic”
Gateway Config Interface 3-2
Communication Settings
1. Connect a null-modem cable between the Gate-
way Config Interface and a COM-port on the PC.
2. Start the Windows HyperTerminal
3. HyperTerminal will prompt for a name to use for
the new connection. Name the connection ‘Gate-
way Config connection’, and click ‘OK’
6. Done.
Power up the gateway and proceed with the steps
described on the following pages.
Gateway Config Interface 3-3
Main Menu
The main menu holds the following entries:
----------------------------------------
Anybus X-gateway Main menu
----------------------------------------
1 - Show gateway system information
2 - Show fieldbus system information
3 - Show gateway system configuration
4 - Show fieldbus system configuration
5 – Operating Status information
6 – Change Configuration
7 – Configuration upload/download
8 – Restart Gateway
9 - Change operation mode (Master only)
A – Administration mode
----------------------------------------
>
To enter a menu, type the corresponding digit and press <Enter>. Note that it is possible to return to
the main menu at any point by pressing <Esc>.
Note: HMS offers no technical support regarding this menu entry. Do not use the functions provided
through this menu unless explicitly instructed to do so by the HMS technical support department.
Gateway Config Interface 3-4
See also...
• 3-7 “Change Configuration” (3-8 “Settings”)
Gateway Config Interface 3-5
See also...
• 3-7 “Change Configuration”
• 3-8 “Settings”
Gateway Config Interface 3-6
Cycle counter: 3
Error counter: 0
Operation mode: Stop
Module status: Initialised
Network status: Offline
Status word value (Hex): 3002
---------------------------------------------------
Modbus RTU Slave (Lower)
Cycle counter: 3
Error counter: 0
Module status: Initialised
Network status: Online
Status word value (Hex): 3003
---------------------------------------------------
Press ESC to continue
See also...
• 2-2 “Status & Diagnostics” (2-2 “Status Word”, 2-4 “Control Word”)
• 3-7 “Change Configuration” (3-8 “Settings”)
Gateway Config Interface 3-7
Change Configuration
General Information
This menu is used when specifying basic operational properties for the gateway and the on-board net-
work interfaces. It may be necessary for the gateway to go offline. In such case, the following message
will be appear:
To continue, press ‘Y’. The available settings will now be listed in three sections; settings for the upper
network interface, settings for the lower network interface, and general gateway settings.
Use ‘+’ and ‘-’ to toggle between different possible settings. Numerical values are changed by typing the
new value in decimal format followed by <Enter>.
---------------------------------------------------
Change configuration
---------------------------------------------------
Ethernet IP + MBTCP + WEB Slave (Upper)
When done, the gateway will ask if the changes shall be stored.
To store the changes, press ‘Y’. The gateway must be restarted in order for any changes to have effect.
Configuration stored!
Press ‘Y’ to restart the gateway. Once the gateway has restarted, the new settings will become active.
Gateway Config Interface 3-8
Settings
Setting Meaning
Input I/O data size (bytes)ab Specifies the amount of cyclic input data (gateway to network).
Output I/O data size (bytes)ab Specifies the amount of cyclic output data (network to gateway).
Input Parameter data size (bytes)ab Specifies the amount of acyclic input data (gateway to network).
Output Parameter data size (bytes)ab Specifies the amount of acyclic output data (network to gateway).
Offline option Specifies how data shall be treated if the other network goes offline.
Value: Meaning:
Clear Data sent to the network is cleared
Freeze Data sent to the network is frozen
See also...
- 2-6 “Error Handling”
Control/Status word Value: Meaning:
Enabled Enable the Control- and Status Words for this interface.
Disabled Disable the Control- and Status Words for this interface.
See also...
- 2-2 “Status Word”
- 2-4 “Control Word”
Live Listb Value: Meaning:
Enabled Enable the Live List
Disabled Disable the Live List
See also...
- 2-3 “Live List (Master Configurations Only)”
a. The terminology used for this setting may differ slightly between different networking systems.
b. This setting is not available on all network interfaces
Setting Meaning
Reboot after disconnection a Determines how the gateway behaves when the connection towards the transport
provider is lost (i.e. terminated).
Value: Meaning:
Enabled Reboot gateway when the connection is lost
Disabled Do not reboot the gateway when the connection is lost
See also...
- 3-6 “Operating Status Information”
a. This setting is only relevant when using the HMS Transport Provider functionality used by certain network config-
uration tools and software applications.
Gateway Config Interface 3-9
Configuration Upload/Download
Sometimes it is useful to be able to download a predefined configuration into the gateway. Note that
this requires a terminal program with Y-modem capabilities.
---------------------------------------------------
Configuration upload/download
---------------------------------------------------
Download Instruction:
---------------------------------------------------
Change operation mode
---------------------------------------------------
PROFIBUS Master (Upper)
See also...
• 2-2 “Status & Diagnostics” (2-4 “Control Word”)
• Interface addendum for the on board master/scanner.
Chapter 4
Power Supply
Pin Signal
- Ground
+ +24V DC
Mechanical Drawings
42
53
109
63
126
Appendix B
Technical Specification
Power
The gateway requires a regulated 24V±10% DC power source. The maximum power consumption is
300mA at 24V.
Temperature
Operating
+0 to +65 degrees Celsius
(Test performed according to IEC-68-2-1 and IEC 68-2-2.)
Non Operating
-40 to +85 degrees Celsius
(Test performed according to IEC-68-2-1 and IEC 68-2-2.)
Relative Humidity
The product is designed for a relative humidity of 5 to 95% non-condensing.
Test performed according to IEC 68-2-30.
EMC Compliance
The on-board network interfaces are tested according to EMC directive 89/336/EEC:
Emission
According to EN 61000-6-4:2001
Tested per 55011:1998/55022:1994, class A, radiated
Immunity
According to EN 61000-6-2:2001
Tested per EN 61000-4-2:1995 (Electrostatic Discharge (ESD))
EN 61000-4-3:1996 (Radiated, radio frequency electromagnetic field)
EN 61000-4-4:1995 (Fast transients/burst)
EN 61000-4-5:1995 (Surge)
EN 61000-4-6:1996 (HF Injection)