You are on page 1of 30

User Manual

Anybus X-gateway ®

Doc ID. SCM-1200-090


Rev. 1.13

HMS Industrial Networks AB


 
Germany + 49 - 721 - 96472 - 0 ge-sales@hms-networks.com
Japan + 81 - 45 - 478 -5340 jp-sales@hms-networks.com
Sweden + 46 - 35 - 17 29 20 sales@hms-networks.com
U.S.A. + 1 - 312 - 829 - 0601 us-sales@hms-networks.com
France + 33 - 3 89 32 76 76 fr-sales@hms-networks.com
Italy + 39 - 347 - 00894 - 70 it-sales@hms-networks.com
China + 86 - 10 - 8532 - 3183 cn-sales@hms-networks.com
Table of Contents

Table of Contents

Preface About This Document


How To Use This Document ............................................................................................................ P-1
Important User Information .............................................................................................................. P-1
Related Documents.............................................................................................................................. P-2
Document History ............................................................................................................................... P-2
Conventions & Terminology.............................................................................................................. P-3
Support .................................................................................................................................................. P-3

Chapter 1 About the Anybus X-gateway


Introduction ...........................................................................................................................................1-1
Functional Overview ............................................................................................................................1-1
External View ........................................................................................................................................1-2
Installation ..............................................................................................................................................1-3
DIN Rail Installation ..................................................................................................................1-3
Power............................................................................................................................................1-3
Network Installation ....................................................................................................................1-3

Chapter 2 Basic Operation


Data Exchange.......................................................................................................................................2-1
Status & Diagnostics.............................................................................................................................2-2
Status Word .................................................................................................................................2-2
Live List (Master Configurations Only)........................................................................................2-3
Network Specific Status ................................................................................................................2-3
Controlling the Gateway from the Network.....................................................................................2-4
Control Word ...............................................................................................................................2-4
Network Specific Controls.............................................................................................................2-4
Data Mapping ........................................................................................................................................2-5
Error Handling ......................................................................................................................................2-6
Table of Contents II

Chapter 3 Gateway Config Interface


General Information.............................................................................................................................3-1
Communication Settings ......................................................................................................................3-2
Invoking the Menu Interface...............................................................................................................3-3
Main Menu .............................................................................................................................................3-3
Show Gateway System Information...................................................................................................3-4
Show Fieldbus System Information ...................................................................................................3-4
Show Gateway System Configuration................................................................................................3-4
Show Fieldbus System Configuration ................................................................................................3-5
Operating Status Information .............................................................................................................3-6
Change Configuration ..........................................................................................................................3-7
General Information......................................................................................................................3-7
Settings .........................................................................................................................................3-8
Configuration Upload/Download......................................................................................................3-9
Change Operation Mode (Master Configurations Only) ..............................................................3-10

Chapter 4 Connectors and Cables


Power Supply .........................................................................................................................................4-1
Gateway Config Interface ....................................................................................................................4-1
Null Modem Cable Schematic.............................................................................................................4-1

Appendix A Mechanical Drawings

Appendix B Technical Specification


Power ..................................................................................................................................................... B-1
Protective Earth and Shielding........................................................................................................... B-1
Temperature.......................................................................................................................................... B-1
Relative Humidity................................................................................................................................. B-1
EMC Compliance................................................................................................................................. B-1
Preface

About This Document

How To Use This Document


This document is intended to provide a good understanding of the functionality shared by the various
incarnations of the Anybus X-gateway. It does however not cover any network specific features, which
is instead provided through separate documents, known as Interface Addendums.
The reader of this document is expected to be familiar with industrial networking systems, and commu-
nication systems in general.
For more information, documentation etc., please visit the HMS website, ‘www.anybus.com’.

Important User Information


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 com-
mitment 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 application meets all performance and safe-
ty requirements including any applicable laws, regulations, codes, and standards.
Anybus® is a registered trademark of HMS Industrial Networks AB. All other trademarks are the prop-
erty of their respective holders.
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 cannot assume responsibility or liability for actual use based on these examples and illustra-
tions.

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

Summary of Recent Changes (1.12... 1.13)

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

Revision Date Author(s) Chapter(s) Description


1.00 2004-04-02 PeP All First release
1.01 2005-02-14 PaL 5, 7 and 8 Reset bit, offset bits main menu
1.02 2005-09-01 PaL 6, 7 and 8 Changed default setting of Control/Status and Live List
1.10 2007-06-25 PeP All Major rewrite
1.11 2007-11-23 PeP 2 Minor update
1.12 2009-05-08 KeL Preface Minor update
and 2
1.13 2011-02-07 KaD 3, B Minor update

Conventions & Terminology


The following conventions are used throughout this manual:
• Numbered lists provide sequential steps
• Bulleted lists provide information, not procedural steps
• The terms ‘gateway’ and ‘X-gateway’ refers to the Anybus X-gateway
• Hexadecimal values are written in the format NNNNh, where NNNN is the hexadecimal value.
• All measurements expressed in this document have a tolerance of ±0.25mm unless otherwise
stated.
• 16/32 bit values are generally stored in Motorola (big endian) format unless otherwise stated.
• The term “byte” always refers to a string of 8 bits
About This Document P-3

Support

HMS Sweden (Head Office)


E-mail: support@hms-networks.com
Phone: +46 (0) 35 - 17 29 20
Fax: +46 (0) 35 - 17 29 09
Online: www.anybus.com

HMS North America


E-mail: us-support@hms-networks.com
Phone: +1-312-829-0605
Toll Free: 888-8-Anybus
Fax: +1-312-738-5873
Online: www.anybus.com

HMS Germany
E-mail: ge-support@hms-networks.com
Phone: +49-721-96472-0
Fax: +49-721-964-7210
Online: www.anybus.com

HMS Japan
E-mail: jp-support@hms-networks.com
Phone: +81-45-478-5340
Fax: +81-45-476-0315
Online: www.anybus.com

HMS China
E-mail: cn-support@hms-networks.com
Phone: +86 10 8532 3023
Online: www.anybus.com

HMS Italy
E-mail: it-support@hms-networks.com
Phone: +39 039 59662 27
Fax: +39 039 59662 31
Online: www.anybus.com

HMS France
E-mail: mta@hms-networks.com
Phone: +33 (0) 3 89 32 76 41
Fax: +33 (0) 3 89 32 76 31
Online: www.anybus.com
Chapter 1

About the Anybus X-gateway

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

cation solution used all over the world by 24V DC


leading manufacturers of industrial auto-
mation products.
The X-gateway enhances the common
gateway concept by providing gateway
versions with both master and slave func- Network 2
tionality as well as ethernet capabilities.
Furthermore, the gateway can be configured using common terminal emulation software and a standard
null-modem cable; no proprietary configuration software or utilities are needed (note however that ded-
icated configuration tools may be required when setting up the actual fieldbus network communication).

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

Anybus-S Network Interface


Network 1

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

• Network Status LEDs Gateway Status LED


Network Status LEDs
(see separate X-gateway Interface Addendum).

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”

• Network Connectors & Switches


(see separate X-gateway Interface Addendum).
Power Connector

Bottom View

• Gateway Config Connector


The Gateway Config interface is located on the bottom
side of the gateway.

See also...
- 3-1 “Gateway Config Interface” (Network Connectors & Switches)

- 4-1 “Power Supply”


Gateway Config Interface
• Network Connectors & Switches 1 5

(see separate X-gateway Interface Addendum).

6 9
About the Anybus X-gateway 1-3

Installation

DIN Rail 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

top (1) and pull the lower part away from


the din rail (2).

Power

The gateway requires a regulated 24V±10% power-


source. Power is applied via a 2 pole pluggable screw
connector.
Note that this connector is polarized; wrong polarity
will not work and may damage the product.

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.

Data From Data From


Network 2 Network 1
Network 1

Network 2
Network Interface 1 Network Interface 2

Data From Data From


Network 1 Network 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 & Diagnostics

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:

b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0


Gateway Cycle Counter General Error Counter (reserved) Master Mode Init Run

(MSB) (LSB)

• Gateway Cycle Counter


This 4-bit counter is incremented for each successful gateway cycle, i.e. each time data has been
successfully transferred between the network interfaces.

• General Error Counter


This 4-bit counter is incremented each time the throughput of the gateway exceeds 100 ms.

• 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”

1. Master configurations only.


Basic Operation 2-3

Live List (Master Configurations Only)

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:

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
5 Slave 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
7 Slave 56 Slave 57 Slave 58 Slave 59 Slave 60 Slave 61 Slave 62 Slave 63

• Bit Set (1)


Slave active.
(The exact interpretation of this bit is network specific. Consult the separate interface addendum
for the master network interface)

• Bit Cleared (0)


Slave not active.
(The exact interpretation of this bit is network specific. Consult the separate interface addendum
for the master network interface)

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”)

Network Specific Status

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

Controlling the Gateway from the Network

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:

b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0


Reset Master Mode

(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”

Network Specific Controls

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.

1. Master configurations only.


Basic Operation 2-5

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.

Typical Slave to Slave Gateway Configuration


The figure below illustrates how data is mapped in a typical slave-to-slave gateway configuration. Note
the Control- and Status Words, which in this particular example has been enabled for both networks.

Status Word Status Word


I/O Data I/O Data

Parameter Data Parameter Data


Network 1

Network 2
Network Interface 1 Network Interface 2
(Slave) (Slave)
Control Word Control Word
I/O Data I/O Data

Parameter Data Parameter Data

See also...
• 2-2 “Status & Diagnostics” (2-2 “Status Word”)
• 2-4 “Controlling the Gateway from the Network” (2-4 “Control Word”)

Typical Master to Slave Gateway Configuration


The figure below illustrates how data is mapped in a typical master-to-slave gateway configuration. The
mapping is similar to that of the slave-to-slave configuration above, but additionally also features the
‘Live List’, which indicates the active status of the slaves attached to the on-board master interface.

Status Word

Live List
Status Word
I/O Data I/O Data

Parameter Data Parameter Data


Network 1

Network 2

Network Interface 1 Network Interface 2


(Master) (Slave)
Control Word Control Word
I/O Data I/O Data

Parameter Data Parameter Data

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

Gateway Config Interface

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’

4. Specify which interface to use for the connection


(select the COM port that is connected to the
gateway, in this particular case COM1), and click
‘OK’.

5. HyperTerminal will now prompt for the commu-


nication properties for the interface. Ensure that
the settings match that of the Gateway Config In-
terface and click ‘OK’.

6. Done.
Power up the gateway and proceed with the steps
described on the following pages.
Gateway Config Interface 3-3

Invoking the Menu Interface


The gateway displays several diagnostic messages during startup. To enter the main menu, press <Esc>.
Verifying application firmware.....OK
Performing Hardware check..........OK
Mounting flash disk................OK

Gateway initialising.....Please wait

Verifying file system and generating configuration.....

Both Anybus modules are OK. Exchanging data.

Press ESC to enter configuration interface

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>.

Entry Meaning Page


1 Display general information about the system. 3-4
2 Display general information about the on-board network interfaces 3-4
3 Display the current system configuration 3-4
4 Display the current network configuration 3-5
5 Display the current operating status. 3-6
6 Alter the network configuration. 3-7
7 Upload/Download a predefined configuration 3-9.
8 Restarts the gateway. The gateway will prompt for confirmation. -
9 Changes the current operation mode (Master configurations only) 3-10
A Provides access to administrative functions (Expert users only) -

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

Show Gateway System Information


This menu provides general information about the gateway system firmware.
---------------------------------------------------
Gateway System information
---------------------------------------------------
Bootloader Version: 1.22.1
Application Version: 3.10.2
Product Version: 3.10.2
Serial Number (Hex): FFFFFFFF
---------------------------------------------------
Press ESC to continue

(Press <Esc> to return to the main menu).

Show Fieldbus System Information


This menu provides general information about the on-board network interfaces.
---------------------------------------------------
Fieldbus System information
---------------------------------------------------
Ethernet IP + MBTCP + WEB Slave (Upper)

Bootloader Version: 01.14


Application Version: 01.31
Serial Number (Hex): A004877A
Ethernet Mac ID (Hex): 00-30-11-02-3E-45
---------------------------------------------------
Modbus RTU Slave (Lower)

Bootloader Version: 01.01


Application Version: 01.04
Serial Number (Hex): FFFFFFFF
---------------------------------------------------
Press ESC to continue

(Press <Esc> to return to the main menu).

Show Gateway System Configuration


This menu shows the current gateway system configuration.
---------------------------------------------------
Gateway system configuration
---------------------------------------------------
Reboot after disconnection: Enabled
---------------------------------------------------
Press ESC to continue

(Press <Esc> to return to the main menu).

See also...
• 3-7 “Change Configuration” (3-8 “Settings”)
Gateway Config Interface 3-5

Show Fieldbus System Configuration


This menu shows the current configuration of the on-board network interfaces.
--------------------------------------------------
Fieldbus system configuration
---------------------------------------------------
Ethernet IP + MBTCP + WEB Slave (Upper)

Input I/O data size (bytes): 20


Output I/O data size (bytes): 20
Offline option: Clear
Control word / Status word: Disabled
Modbus Address Mode: Enabled
---------------------------------------------------
Modbus RTU Slave (Lower)

Input I/O data size (bytes): 20


Output I/O data size (bytes): 20
Input Parameter data size (bytes): 0
Output Parameter data size (bytes): 0
Offline option: Clear
Control word / Status word: Disabled
Offline timeout (ms/0=disabled): 0
---------------------------------------------------
Press ESC to continue

(Press <Esc> to return to the main menu).

See also...
• 3-7 “Change Configuration”
• 3-8 “Settings”
Gateway Config Interface 3-6

Operating Status Information


This menu shows the current operating status of the gateway, which is derived from the Control- and
Status Words.
--------------------------------------------------
Operating Status information
---------------------------------------------------
PROFIBUS Master (Upper)

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

(Press <Esc> to return to the main menu).

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:

Both networks will go offline


Is this OK? (Y/N)

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)

Input I/O data size (bytes): 20


Output I/O data size (bytes): 20
Offline option (+/-): Clear
Control / Status word (+/-): Disabled
Modbus Address Mode (+/-): Enabled
---------------------------------------------------
Modbus RTU Slave (Lower)

Input I/O data size (bytes): 20


Output I/O data size (bytes): 20
Input Parameter data size (bytes): 0
Output Parameter data size (bytes): 0
Offline option (+/-): Clear
Control / Status word (+/-): Disabled
Offline timeout (ms/0=disabled): 0
---------------------------------------------------
Gateway configuration

Reboot after disconnection (+/-): Enabled

When done, the gateway will ask if the changes shall be stored.

Store Configuration (Y/N)? Yes

To store the changes, press ‘Y’. The gateway must be restarted in order for any changes to have effect.

Configuration stored!

Do you want to restart gateway to execute all changes (Y/N)? Yes

Press ‘Y’ to restart the gateway. Once the gateway has restarted, the new settings will become active.
Gateway Config Interface 3-8

Settings

Network Interface Settings


The following table lists common settings available on most network interfaces. Note that depending
on the network in question, certain settings may be unavailable.
Consult the separate interface addendums for your product for further information.

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

Note: Additional network-specific settings may be available for certain interfaces.

Gateway System Configuration

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:

Step 1 - Type 'd' to start download


Step 2 - Type 'y' to go offline
Step 3 - Start Ymodem transfer (Send)
Step 4 - Download file 'config.cfg'
---------------------------------------------------
Upload Instruction:

Step 1 - Type 'u' to start upload


Step 2 - Start Ymodem transfer (Receive)
---------------------------------------------------
Start configuration Upload/Download? (U/D)

• To download the configuration file to the gateway...


1. Press ‘d’. The gateway is now waiting for
the host terminal to send the configuration
via Y-Modem.
2. If prompted, press ‘y’ to allow the gateway
to go offline on both networks.
3. Select ‘Send File...’ in the ‘Transfer’ menu.
4. Specify the file that shall be sent to the
gateway.
5. Select ‘Y-Modem’ in the ‘Protocol’-list
6. Click ‘Send’. The specified configuration file will now be downloaded to the gateway. If
necessary, the gateway will restart. Once restarted, the new settings will become active.

• To upload a configuration file from the gateway...


7. Press ‘y’ <Enter>. The gateway is now
waiting for the host terminal to receive the
configuration via Y-Modem.
8. Select ‘Receive File...’ in the ‘Transfer’
menu.
9. Specify the destination path. The file will
be saved as ‘config.cfg’.
10. Select ‘Y-Modem’ in the ‘Use receiving
protocol’-list
11. Click ‘Receive’. The gateway will now send its current configuration to the host terminal.
12. The gateway will now restart.
Gateway Config Interface 3-10

Change Operation Mode (Master Configurations Only)


This menu is only available on master gateway configurations, and allows the current master operation
mode to be specified manually.

---------------------------------------------------
Change operation mode
---------------------------------------------------
PROFIBUS Master (Upper)

Operation mode (+/-): Stop


---------------------------------------------------
Press ESC to continue

(Press <Esc> to return to the main menu).

See also...
• 2-2 “Status & Diagnostics” (2-4 “Control Word”)
• Interface addendum for the on board master/scanner.
Chapter 4

Connectors and Cables

Power Supply
Pin Signal
- Ground
+ +24V DC

Gateway Config Interface


Pin Signal
Housing Shield
1 -
2 Receive Data (RS232) 1 5

3 Transmit Data (RS232)


4 -
6 9
5 Signal ground
6 -
7 -
8 -
9 -

Null Modem Cable Schematic

9 pin D-sub (female) 9 pin D-sub (female)

(Housing) (Cable Shield) (Housing)


1 1
Receive Data - 2 2 - Receive Data
Transmit Data - 3 3 - Transmit Data
4 4
Signal Ground - 5 5 - Signal Ground
6 6
7 7
8 8
9 9
Appendix A

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.

Protective Earth and Shielding


The product must be connected to protective earth (PE) via the DIN-rail connector in order to achieve
proper EMC behaviour.

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)

You might also like