Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Anybus X-gateway Configuration Manual

F: | Au:FAN | DA:2026-05-07 | 308 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Complete Configuration and Operation Guide for Industrial Protocol Gateway of Anybus X-gateway

Product positioning and core values

The Airbus X-gateway is a highly flexible industrial protocol conversion gateway launched by HMS Industrial Networks. It can seamlessly connect two completely different types or even different manufacturers of fieldbus networks together, such as PROFIBUS DP master and Modbus RTU slave, EtherNet/IP adapter and PROFINET IO device combinations. This gateway is based on mature Anybus-S embedded communication technology and has been widely validated in the global automation field.

Unlike ordinary gateways, X-gateway supports multiple combinations of master/slave roles and has Ethernet capability. One of its most prominent features is that it does not require specialized configuration software - engineers only need to use standard terminal simulation programs (such as HyperTerminal under Windows) and a NULL modem cable to complete all basic parameter settings. Of course, for specific fieldbus network parameters such as PROFIBUS site addresses, I/O mappings, etc., manufacturer specific configuration tools may still be required. However, the gateway's own operating logic, data mapping size, control word/status word enablement, etc. can all be completed in a free and universal manner.

Hardware installation and electrical connection

2.1 DIN rail installation and grounding

The X-gateway adopts a standard DIN rail installation method. When installing, first align the upper buckle of the gateway with the guide rail, press firmly on the upper part (position 1), and then push the lower part into the guide rail (position 2) until you hear a clamping sound. When disassembling, press the upper part and pull out the lower part at the same time.

Important: In order to meet electromagnetic compatibility (EMC) requirements, DIN rails must be connected to a protective earth (PE). Otherwise, it may lead to unstable communication or decreased anti-interference ability.

2.2 Power Wiring

The gateway requires a stable 24V DC power supply with a permissible fluctuation range of ± 10% (i.e. 21.6V~26.4V). The maximum power consumption is 300mA @ 24V. The power interface is a 2-digit pluggable screw terminal with clear polarity markings: the top pin is "+24V" and the middle pin is "GND".

⚠️  The power terminals have polarity differentiation. Reverse connection will not work and may damage the equipment.

2.3 Fieldbus Network Interface

The position of network connectors and dip switches depends on the specific model of the gateway (upper layer interfaces and lower layer interfaces may be located at the top or bottom, respectively). Each network interface has a dedicated status LED:

Green constantly on: The network communication on this side is normal

Red constantly on: Network fault on this side

Red flashing: Network interface hardware failure

Extinguish: This side is not powered on

For detailed network wiring rules, terminal resistance settings, site address dialing, etc., please refer to the corresponding interface supplement manual (Interface Addendum).

2.4 Gateway Config Interface

This interface is located at the bottom of the gateway and is a standard 9-pin D-sub female socket (RS-232) used to connect to a PC for parameter configuration. The interface definition is as follows:

Pin signal

2 RXD (receive data)

3 TXD (Sending Data)

5 GND (signal ground)

Shell shielding layer

The communication parameters are fixed as:

Baud rate: 57600

Data bits: 8

Verification: None

Stop position: 1

Flow control: None

When connecting to a PC, a NULL modem cable (also known as a cross serial cable) must be used instead of a direct serial cable.

Internal data exchange mechanism

3.1 Dual buffer structure

The X-gateway contains two Anybus-S network interface cards that are interconnected through an intelligent gateway platform. Each network interface maintains two data buffers:

Input buffer: Data received from the local network, ready to be forwarded to the other network.

Output buffer: Data received from the other network, ready to be sent on the local network.

The gateway copies the entire content of one input buffer to the other output buffer during each cycle, and vice versa. The data exchange between the two directions is independent, with a maximum support of 512 bytes per direction. Note: The actual number of bytes that can be exchanged is limited by the maximum I/O data length of the fieldbus protocol used.

3.2 Loop Data (I/O) and Non Loop Data (Parameters)

Most fieldbuses distinguish between fast, periodic process data (I/O) and slow, non periodic parameter data (such as device configuration). The X-gateway handles these two types separately:

I/O data: automatically mapped to input/output buffers in each bus cycle for real-time control.

Parameter data: can be enabled through additional parameter data length settings for transmitting diagnostic information or configuring parameters.

3.3 Examples of Data Mapping

Taking the slave slave mode as an example: the upper network is a PROFIBUS DP slave, and the lower network is a Modbus RTU slave. If control words/status words are enabled for each network separately, the mapping structure is as follows:

The output data of the upper layer network (network → gateway) includes: control words (2 bytes)+application output data

The upper layer network input data (gateway → network) includes: status word (2 bytes)+application input data

The same applies to the lower level network

The gateway automatically forwards the output data of the upper layer application to the input data of the lower layer application, and vice versa. Control words/status words are used for operational control and status feedback between networks.

In the master slave configuration (such as PROFIBUS DP master in the upper layer and Modbus RTU slave in the lower layer), an additional Live List will be provided. This list is a 64 bit (8-byte) bitmap, with each bit corresponding to a slave node number (1-64). Bit=1 indicates that the slave is active, 0 indicates inactive or offline. This is very practical for the upper system to monitor the status of on-site equipment.


Status and Diagnostic System

4.1 Status Word

The status word is an important means for X-gateway to provide feedback on its own diagnostic information to the upper system. It is disabled by default and needs to be separately enabled for each network interface in the configuration interface. The length of the status word is 16 bits, and its meanings are as follows:

Name Description

The 15-12 gateway cycle counter successfully completes a bidirectional data exchange each time, and the counter increments by 1 (0-15 cycle)

The 11-8 universal error counter increments by 1 every time the gateway data exchange cycle exceeds 100ms

7-5 reserved -

4-3 main station mode (if applicable) indicates the current operating mode of the other main station (such as stop/run/clear, etc.)

2 initialization flag 1=The other network interface has been successfully initialized; 0=Initialization failed

1-0 operating status 1=the other side of the network is online/running; 0=The other network is offline/not running

By reading the status word, the upper system can real-time understand the health status of the opposite network and promptly detect issues such as initialization failure or communication timeout.

4.2 Control Word

The control word allows the upper system to manipulate the behavior of the gateway or the main station on the other side through one side of the network. By default, it is turned off and needs to be manually turned on. The control word length is 16 bits, where:

Bit 0 (LSB): Reset bit. When the bit is 1, the gateway will immediately restart and reinitialize the network interfaces on both sides. Usually used for remote fault recovery.

Bit 1-15: Master station mode control bit (only valid when the opposite side is the master station interface). The exact definition depends on the specific fieldbus, but the general rule is that if the control word is enabled, a valid value must be specified for these bits before the gateway can begin exchanging data. For example, for PROFIBUS DP master stations, it is usually necessary to set the mode to 'run' in order to initiate periodic data exchange.

4.3 Live List of Activity Sites

Only available when one side of the gateway is configured as the main station interface. After opening the Live List, the main station will forward the currently recognized activity status of its slave stations in bitmap form to the other network every cycle. This bitmap has a total of 64 bits and occupies 8 bytes. Bit 0 corresponds to node 1, and bit 63 corresponds to node 64 (node 0 usually represents the main station itself and is not included).

Notes:

Even if the master station supports more than 64 slave stations, the Live List only reflects the status of nodes 1-64.

The EtherNet/IP scanner interface does not provide a Live List, but can provide statistical information on configured connections, active connections, and incorrect connections. Please refer to the corresponding supplementary manual for details.


Error handling strategy

When one network side experiences offline or communication interruption, the gateway allows users to customize how the other network responds. This setting is completed through the Offline option in the configuration menu, which has two options:

Clear: Clear the data from the offline network direction and send it to the other side. For example, if the upper layer PROFIBUS network is offline, the gateway will output all 0 values to the lower layer Modbus. This can avoid executing old data, but may cause the device to stop.

Freeze: Keep the last received valid data unchanged and continuously forward it to the other side. Suitable for scenarios where the device is expected to maintain its current position or state, such as keeping a valve open.

In addition, for the scenario of connection loss for TCP/IP transport providers (such as HMS Transport Provider used by some configuration tools), Reboot after disconnection can also be set:

Enabled: Once the connection is lost, the gateway will automatically restart.

Disabled: Do not restart.

Configure the terminal through serial port for advanced settings

6.1 Enter the main menu

After correctly connecting the NULL modem cable and opening the terminal software (such as HyperTerminal, set 57600-8-N-1), power on the gateway. During the startup process, a series of self check messages will be displayed, and finally:

text

Press ESC to enter configuration interface

At this point, press the Esc key on the keyboard to enter the main menu. The main menu is usually as follows:

text

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

Here are the most commonly used menus.

6.2 Viewing System and Fieldbus Information

Menu 1: Display firmware version, bootloader version, product version, and serial number.

Menu 2: Display the boot version, application version, MAC address (for Ethernet interface), etc. of the upper and lower network interfaces separately.

Menu 3: Display the global gateway system configuration, such as the "Reboot after disconnection" status.

Menu 4: Display detailed configuration parameters for each current network interface (see "Changing Configuration" below).

6.3 Real time Operation Status (Menu 5)

This menu parses the current running status from the status and control words, for example:

Cycle counter

Error counter

Operation mode (main station mode: run/stop/clear, etc.)

Module status (initialized/uninitialized)

Network status (online/offline)

Status word value (original hexadecimal value)

This menu is an effective tool for quickly diagnosing whether the network has been established and whether the main station has been started on site.

6.4 Change Configuration (Menu 6) - Detailed Explanation of Core Parameters

After selecting menu 6, the gateway will prompt "Both networks will go offline". After confirmation, enter the configuration editing interface. The following are common parameters (taking a mixed configuration as an example):

Independent settings for each network interface

Parameter value/description

Input I/O data size (bytes) The length of data input from the local network to the gateway (gateway → network direction)

Output I/O data size (bytes) The length of data output from the gateway to the local network (network → gateway direction)

Input parameter data size Non cyclic input parameter data length, 0 indicates disabled

Output parameter data size Non cyclic output parameter data length

Offline option Clear or Freeze

Control / Status word Enabled / Disabled

Live List (Main Station Side) Enabled/Disabled

Offline timeout (ms) 0=disabled; A non-zero value indicates how long to wait offline before executing the Offline option

Global gateway settings

Parameter value/description

Reboot after disconnection Enabled / Disabled

When modifying, use the+and - keys to switch options, and enter the new value directly for the numerical parameter and press enter. After completing all modifications, enter the Y storage configuration as prompted, and the gateway will ask if you want to restart immediately (a restart is required for it to take effect).

6.5 Upload/Download Configuration Files (Menu 7)

This feature allows the current gateway configuration to be saved as a file (config. cfg) or restored from a file, making it ideal for bulk deployment of gateways with the same settings.

Download configuration to gateway:

Press'd 'to start downloading

If prompted offline, press y to confirm

Select "Send File" from the "Transfer" menu in the terminal software, choose "config. cfg", and select "Y-modem" for the protocol

After sending, the gateway automatically restarts

Upload configuration to PC:

Press U to start uploading

Select "Receive Files" in the terminal software, specify the save path, and select the Y-modem protocol

Gateway sends current configuration and restarts

6.6 Manually changing the main station operation mode (Menu 9)

Only displayed when a network interface is the master station. This menu allows you to force the main station mode to switch to "Run" or "Stop". This is very useful during the debugging phase: you can first stop the data exchange of the master station and manually start it after all the slave stations are ready.


Troubleshooting and typical problem solving

7.1 Unable to enter the configuration interface

Check if the serial port cable is a NULL modem cable (2-3 crossover, 5-5 direct connection).

Confirm that the baud rate and data bits of the terminal software fully comply with 57600-8-N-1.

Confirm that the gateway has been powered on normally (indicated by LED).

If the "Press ESC..." prompt does not appear during the startup process, it may be due to a damaged gateway or firmware crash. Try powering off and restarting.

7.2 Two networks cannot exchange data

Check if the I/O data length of the two network interfaces matches the length used in actual engineering. For example, if the upper layer is set to 20 bytes, the lower layer must also be set to 20 bytes to fully map.

If the control word is enabled, please confirm that the upper system has set the "master station mode" bit in the control word to a valid value (non-zero).

Check the "Module status" and "Network status" in menu 5 to confirm that both parties have been initialized and are online.

Check if the initialization flag and run flag of the status word are set to 1.

7.3 Some items are not displayed in the Live List

Confirm that the slave address is within the range of 1-64.

Check if the slave station has been correctly connected to the bus and if the power supply is functioning properly.

For PROFIBUS, confirm that the GSD file configuration of the slave station is correct and there are no conflicts in the station address.

For EtherNet/IP, there is no Live List and connection statistics should be used.

7.4 Data behavior after offline does not meet expectations

Enter menu 6 and check if the Offline option is the desired value (Clear or Freeze). Save and restart after modification.

7.5 Frequent gateway restarts

Check if the power supply is stable and if the fluctuation exceeds ± 10%.

If 'Reboot after disconnection' is enabled and the transport provider connection is extremely unstable, the gateway may restart repeatedly. You can try disabling this option.

Check if the universal error counter is growing rapidly. If it grows too fast, it indicates that the gateway cycle has timed out, which may be due to excessive data volume or slow network response on one side.


Summary of Technical Specifications

Project specifications

Power supply 24V DC ± 10%, maximum 300mA

Working temperature from 0 to+65 ° C (according to IEC 68-2-1/IEC 68-2-2)

Storage temperature -40 to+85 ° C

Relative humidity 5%~95%, no condensation (IEC 68-2-30)

EMC emission EN 61000-6-4:2001, CISPR 11/22 Class A

EMC immunity EN 61000-6-2:2001 (including ESD, radiated immunity, burst, surge, conducted immunity)

Maximum exchange of data per direction is 512 bytes (actually limited by the fieldbus used)

Configure interface RS-23257600-8-N-1, NULL modem

Installation method: DIN rail, requires connection to PE


Engineering Practice Suggestions

Before the first configuration, backup the factory configuration: use menu 7 to upload the initial configuration to the computer to prevent errors that cannot be restored after modification.

Gradually enable advanced features: If control words/status words/Live List are not used, keeping the default "Disabled" can reduce data mapping complexity and communication overhead.

Reasonable setting of offline timeout: If both networks are deterministic fieldbus (such as PROFIBUS DP), the timeout can be set to 0 (disabled), relying on the watchdog mechanism of the bus itself; If one side is Ethernet and there is a possibility of instantaneous disconnection, setting a reasonable timeout (such as 1000ms) can avoid frequent triggering of offline actions.

Record configuration changes: After each key parameter change (such as I/O size, offline strategy), use menu 7 to upload a new configuration file and archive it to the project folder.

Pay attention to error counters: During the debugging phase, frequently check the error counters in menu 5. If they continue to increase, investigate issues such as bus load, cable length, and terminal resistance.

  • Basler SR32A2B05B3E Static Voltage Regulator
  • Basler Electric BE1-59N Ground Fault Overvoltage Relay
  • Basler Electric 9110000113 Excitation Module
  • Basler Electric 90-72300-114 Control Accessory
  • Basler Electric PRS-250 Protection Relay System
  • Basler Electric BE1-50/51M-109 Overcurrent Relay
  • Basler Electric SR4A1B10B3E Static Voltage Regulator
  • Basler Electric CBS 212 Current Boost System
  • Basler Electric SR32A2B05B3E Static Voltage Regulator
  • Basler Electric MOC2207 Motor Operated Potentiometer
  • Basler Electric SR4A1B05A3E Static Voltage Regulator
  • Basler Electric BE1-32R Power Relay B2EE1PA0N1F
  • Basler BEI-81 Underfrequency Relay
  • Basler CBS 212A Current Boost System
  • Basler SSR 63-12 Static Voltage Regulator
  • Basler DGC-2020 Digital Genset Controller
  • Basler BE1-32 Reverse Power Relay
  • Basler BE1-50/51B-207 Overcurrent Relay
  • Basler BE1-951 Overcurrent Protection System
  • Basler 9073800-103 Power Supply
  • Basler SCA1300-32FC CCD Camera
  • Basler 9073800-103 Power Supply
  • Basler SCA1300-32FC CCD Camera
  • Basler L304KC Protective Relay
  • Basler BE3-25-1S1N4 Time Overcurrent Relay
  • Basler 9032300113 Excitation Support System
  • Basler BE1-59N Ground Overvoltage Relay
  • Basler MVC-300 Manual Voltage Control Unit
  • Basler MOC2102 Potentiometer
  • Basler BE1-87G Generator Differential Relay
  • Basler Electric DECS-200 Digital Excitation Control System
  • Basler Electric DECS 125-15-B2C5 Digital Excitation System
  • Basler Electric PLA2400-12GM Power Supply
  • Basler Electric BE1-50/51B-235 Overcurrent Relay
  • Basler Electric BE1-27/59 Undervoltage Overvoltage Relay
  • Basler Electric CEM-2020 Contact Expansion Module
  • Basler Electric BE1-32R Solid State Power Relay
  • Basler Electric BE1-700 Digital Generator Management Relay
  • Basler Electric BE1-59N Ground Fault Overvoltage Relay
  • Basler Electric BE10493002 Protection Module
  • Basler Electric BEI-79A1AA5CA3M1F Digital Annunciator
  • Basler Electric SSR 32-12 Static Voltage Regulator
  • Basler Electric BE1-CDS240 Current Differential System
  • Basler Electric BE1-67 Directional Overcurrent Relay
  • Basler Electric 9121000106 DECS-100 Voltage Controller
  • Basler Electric BEI-871 Interface Module
  • Basler Electric 8650C72 Exciter Control Module
  • Basler Electric RDP-110-S1 Generator Annunciator
  • Basler Electric BE1-32O/U Directional Power Relay
  • Basler Electric BE2000E AVR Voltage Regulator
  • BASLER ELECTRIC BE1-50F2EA1PA0N0F Instantaneous Overcurrent Relay
  • BASLER ELECTRIC BE1-81T1EE1WA0N1F Underfrequency Relay
  • Basler BE1-67 Directional Overcurrent Relay
  • Basler BE1-25/79TR Reclosing Relay
  • Basler CEM-2020 Contact Expansion Module
  • Basler BE1-11 Overcurrent Protection Relay
  • Basler BE1-GPS Generator Protective Relay
  • BASLER ELECTRIC MVC-300 MANUAL VOLTAGE CONTROL UNIT 9121000106
  • Basler Electric KR2FF Voltage Regulator 9 1163 00 109
  • BASLER ELECTRIC BE1-87G-G1E-A1K-A0N0F Generator Differential Relay
  • Basler BE1-47NE3EA1PA0N2F Phase Sequence Relay
  • Basler BE1-81-T1E-E1C-B0N1F Frequency Relay
  • Basler DECS125-15 Excitation Control
  • Basler BE1-25 Sync-Check Relay
  • Basler BE1-50/51B Overcurrent Relay
  • Basler BE1-40Q Loss of Excitation Relay
  • Basler BE1-50/51M-104 Overcurrent Relay
  • Basler SSE-N 250-9 KW Shunt Exciter Assembly
  • Basler BE1-87T Transformer Differential Relay
  • Basler BE1-60 Solid State Protective Relay
  • Basler DECS125-15 Excitation Control System
  • Basler SR4A-2B15B3A Static Voltage Regulator
  • Basler BE150BF Overcurrent Relay
  • BASLER ELECTRIC BE1A1HF1JD1S2F Overcurrent Relay
  • Basler BE1-81O Under/Over Frequency Relay
  • Basler EDM-200 Exciter Diode Monitor
  • Basler DECS125-15-B2C5 Excitation Control
  • Basler 9261402100 PCB Board
  • Basler 9252000107 Overcurrent Relay
  • Basler BE1-87T Solid State Protective Relay
  • Basler Electric Phase Directional Overcurrent Relay BE1-Z2JA0N2F
  • Basler SSR125-12 Static Voltage Regulator
  • Basler Electric KR7F VOLTAGE REGULATOR 9116200100
  • BASLER ELECTRIC BE1-59N-A8E-E1L-N0S1F Ground Overvoltage Relay
  • Basler SR8A2B06B3A Static Voltage Regulator
  • BASLER ELECTRIC BE1-81O/UT3EE1KA7N1F Under/Over Frequency Relay
  • Basler MOC2107 Output Module
  • Basler 9125600102 Control Module
  • BASLER ELECTRIC BE1-81T1EE1EA2N0F
  • Basler BE3-25A Time Overcurrent Relay
  • Basler Electric CBS 212 Current Boost System 9 2650 00 100 120/240 VAC 50/60Hz
  • Basler Electric BE1-27 Under Voltage Relay A3EC1JA0N5F
  • Basler BE1-32R Power Relay B2EE1PA0N1F
  • Basler DECS100-B15 Automatic Voltage Regulator
  • Basler SR8A-2B15B3A Static Voltage Regulator
  • Basler AVC63-4 Analog Voltage Regulator
  • Basler UFOV 260 A Overvoltage Module
  • Basler SR4A-2B16B3A Static Voltage Regulator
  • Basler SR4A-2B16B3E Static Voltage Regulator
  • Basler SCA1300-32GM CCD Camera
  • Basler BE34062001 G18 Transformer
  • Basler BE1-87T Transformer Differential Relay
  • Basler 9 2849 00 101 DECS Power Module
  • Basler RAL6144-16GM Line Scan Camera
  • Basler 9269101107 Voltage Regulator Board
  • Basler BE1-851 Overcurrent Relay
  • Basler SR32A-2B13B3E Static Voltage Regulator
  • Basler 9 2007 00 100 Current Boost System CBS 305
  • Basler DECS-100-B11 Automatic Voltage Regulator
  • Basler BE127 Under Voltage Relay
  • Basler 3300C03B1028-G01 Spike Suppressor
  • Basler SSR 125-12 Static Voltage Regulator
  • Basler SCA1300-32GM CCD Camera Lens Enclosure
  • Basler BE32965001 Transformer Timer Kit
  • Basler D90 96801 100 PCB Card
  • Basler BE1-81-T1E-E1C-A0N1F / 9106400 Underfrequency Relay
  • Pro-Face Basler AGP3600-T1-D24 HMI Touch
  • Basler SR4A2B10B1A Static Voltage Regulator
  • Basler SR8A2B05B3A Static Voltage Regulator
  • Basler BE1-25 Time Overcurrent Relay M1FA6PA4S0F
  • Basler SR4A2B05B3E Static Voltage Regulator
  • Basler DECS-200-2L Digital Excitation Control
  • Basler BE303280001 Control Transformer
  • Basler 9262103004 Voltage Regulator Board For Basler DECS-400
  • Basler ICRM-7 Inrush Current Reduction Module
  • Basler BE1-32R Power Relay
  • BASLER ELECTRIC KR4F VOLTAGE REGULATOR 9042600100 600V 50/60Hz
  • Basler 9222600101 Power Module