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

  • Rexroth 0-531-012-740 Bladder Accumulator
  • Rexroth VT-VRRA 1-527-20/V0/2STV Amplifier
  • Rexroth CSB01-1N-AN-ENS Control Section
  • Rexroth 2ma-1a P58718 Pilot Air Valve
  • Rexroth SB356 Multi-channel Controller System Box
  • Rexroth IndraControl L20 PLC CML20.1
  • Rexroth R151231013 Ball Screw Nut
  • Rexroth RC28-14/30 BODAS Controller R917007683
  • Rexroth LTU350 3-Phase Servo Amplifier
  • Rexroth VAM42.1 Control Device
  • Rexroth S20-DO-16/1 Digital Output Module
  • Rexroth HED8OA-20/350K14AS Pressure Switch
  • Rexroth CSH01.1C-SE-EN2 Control Section
  • Rexroth VT-VSPA2-1-11/T1 Valve Amplifier R900021909
  • Rexroth VT3024-S34-R1 Amplifier Card
  • Rexroth Aventics R417000243 Operating Unit Switch
  • Rexroth NYS04.1-ST-05-ULNN R911325068 Module
  • Rexroth DPR-10 Amplifier Circuit Board Card
  • Rexroth 4WE 10 D33/OFCG24N9K33L R900701304 Valve
  • Rexroth DKC01.3-100-7-FW Servo Drive
  • Rexroth VCP05.2DSN-003-PB-NN-PW Operator Panel
  • Rexroth MSK030B-0900-NN-M1-UG0-NNNN Servo Motor
  • Rexroth 0 821 758 010 Valve Terminal 10 Bar
  • Rexroth VAM42.1-PB-NF-NN-TB-VD-NN-1608-NN Control Panel
  • Rexroth MAC090B-0-JD-5-C/110-A-0/KI520LV Servo Motor
  • Rexroth VCP25.1BVN-003PB-NN-PW Operator Panel
  • Rexroth RKL4305/002.5 Power Cable L=250cm
  • Rexroth MSM031C-0300-NN-M5-MH1 R911344216 Servomotor
  • Rexroth CSH01.1C-SE-EN2 R911335435 Control Unit
  • Rexroth FEM-E-S 25x10RX3-4 R151224013 Ball Screw
  • Rexroth FCS01.1E-W0005-A-04-NNBV Frequency Drive
  • Rexroth 0510-425-009 Hydraulic Gear Pump
  • Bosch Rexroth IndraControl XM42 Controller R911396964
  • Rexroth VT5035-17 R900579497 Valve Amplifier
  • Rexroth FCS01-1EW0015-A-04 R91131106 Frequency Drive
  • Rexroth MSK050B-0600-NN-M1-UG1-NNN Motor
  • Bosch Indramat TBM1.2-40-W1-115 Bleeder
  • Rexroth HCS01.1E-W0028 Compact Converter
  • Rexroth Indramat MAC071B-0-PS-2-C/095-A-0 Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Drive Set
  • Rexroth R-IL S3 BK DI8 DO4-PAC Coupler
  • Rexroth HCS01.1E-W0028-A-03-E-S3-EC-NNN Drive
  • Rexroth MSK061C-0600-NN-S1-UG0-NNNN Motor
  • Bosch Rexroth MSM041B-0300-NN-M0-CH0 Motor
  • Rexroth IKG0071-05.0m Servo Motor Cable
  • Rexroth R-IL S3 BK DI8 DO4-PAC Bus Coupler
  • Bosch Rexroth SB301 Tightening Unit 0608701017
  • Rexroth E-003-S-S Tool Cable 0608740220
  • Rexroth MSM020B-0300-NN-M0-CG0 Servo Motor
  • Rexroth IndraControl VEP30.3 Panel PC
  • Rexroth DBETE-62/315G24K31A1V Valve R901029969
  • Rexroth CSH01.3C-ET-ENS-NNN Control Section
  • Rexroth VT3013-37 Amplifier Control Card
  • Rexroth 1-2 TH6 L 162-10/N 05 Joystick
  • Rexroth ESV025 Handheld Nutrunner 0608841037
  • Rexroth RK2 S30 Amplifier Card VT 4224 U 261
  • Rexroth CDB01.1C-SE-ENS R911308279 Control Unit
  • Rexroth VFC3610-0K40-3P4-MNA-7P Inverter 0.4kW
  • Bosch Indramat HCS02.1E-W0028-A-03-NNNN Servo Module
  • Rexroth DKC01.3-040-7-FW EcoDrive R911279426
  • Rexroth HMV02.1R-W0015-A-07-NNN Utility Unit 15kW
  • Rexroth 0 608 830 193 ZSE220 Communication Module
  • Rexroth VT5003 S41 R5 Proportional Amplifier Card
  • Rexroth KSM02.1B-041c-42N-M1-HP0-ET-L3-D7-NN-FW Motor Drive
  • Mannesmann Rexroth VT5005 S16 R1 Valve Amplifier Card
  • Rexroth CFL01.1-R3 Sercos III Interface Module
  • Rexroth CKK-110-NN-1 Linear Axis with MSK040C
  • Bosch Rexroth 047018-104401 Controller Card
  • Rexroth MDSD1K-2X/4 Solenoid Driver Module
  • Rexroth DKC02.3-012-3-MGP-01VRS Servo Drive
  • Rexroth HCS01.1E-W0006 Compact Servo Drive
  • Rexroth NAM1.2-08 Line Former R911246505
  • Rexroth VPB40 Industrial PC Control Cabinet
  • Rexroth FWA-ECODR3-SGP-03-MS Firmware Module
  • Rexroth HEDE10-31 Pressure Switch R901425475
  • Rexroth HM 17-11/315-C/V0/0 Pressure Sensor
  • Rexroth VFC 3610-2K20-3P4-MNA-7P Inverter 2.2kW
  • Rexroth MSK040C-0600-NN-M1-UG1-NNNN Right Angle Geared Motor
  • Rexroth DKC02.3-012-3-MGP-01VRS EcoDrive Cs
  • Bosch Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Power Section
  • Rexroth DBDS 20 P18/400V Pressure Relief Valve
  • Rexroth 3460565500 Pneumatic EP Converter Regulator
  • Rexroth VT-SWA-1-12/DFEE Angle Sensor R900913641
  • Rexroth 0-608-830-250 Interface Module SM24V
  • Rexroth MHD071B-035-NP0-UN8 Servo Motor 12Nm 1000rpm
  • Rexroth MKD025B-144-KG0-KN R911263737 Servo Motor
  • Rexroth KCU02.2N-ET-ET*-025-NN-N-NN-NW Control Unit
  • Rexroth MV-VPB40*3-RB001VPB R911337529 Valve Terminal
  • Bosch Rexroth AS 2/R-2200 Drive Module 3842998041
  • Rexroth HMS01.1N-W0036 Power Section
  • Rexroth CKK-145-NN1 Compact Linear Module
  • Rexroth MS2N04-C0BTN-BSDK0-NNNNN-NN Geared Servo Motor
  • Rexroth HCS02.1E-W0028-A-03-NNNN Power Section
  • Rexroth MS2N04-D0BQN-CMSG0-NNNNN-NN Servo Motor
  • Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth MKD041B-144-KP1-KN Servo Motor R911262307
  • Rexroth ESA075G Handheld Nutrunner 0608841033
  • Rexroth MSK070D-0450-NN-M1-UP1-NSNN Motor
  • Rexroth CKK-145-NNG1 Linear Kit with HCS02 Drive
  • Rexroth MSK060C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth MKD090B-047-KP1-KS Servo Motor
  • Rexroth MLS140S-3A-0450-NNN Linear Motor
  • Rexroth VPB40.3 Industrial PC R911338689 CB1
  • Rexroth HCS02.1E-W0012 Servo Drive R911313871
  • Rexroth R151349014 R151145672 Ball Screw Assembly
  • Bosch Rexroth CKK-110-NN-1 Compact Module
  • Rexroth MSK060B-0300-NN-M1-UG1-NNNN Servo Motor
  • Rexroth Indramat TBM 1.2-40-W1-024 Servo Bleeder
  • Rexroth MSK040B-0600-NN-M1-UG1-NNNN Servo Motor
  • Rexroth MLS200S-3A-0450-NNN R911299213 Linear Motor
  • Rexroth SB356 Tool Tightening Controller Rack
  • Rexroth MSK050C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth Indramat DKC11.3-040-7-FW Eco Drive
  • Rexroth VT2000 Proportional Amplifier
  • Rexroth VT1118-10 Analog Module
  • Rexroth MSK060C-0600-NN-M1-UP1-NSNN Motor
  • Rexroth MSK060C-0300-NN-S1-UG0-NNNN Motor
  • Rexroth R911173937 IndraControl XM AI1
  • Rexroth R412018225 AES-D-BC-ECAT Module
  • Rexroth CDB02.1B R911338542 Controller Card
  • Rexroth VT-HNC100-2-30/P-I-00/000 Module
  • Bosch Rexroth CSB02.1B R911372549 Control
  • Bosch Rexroth R185321310 Runner Block
  • Rexroth VPB40.3 Industrial PC R911338689
  • Rexroth HNK01.1A-A075-E0106-A-500 Drive Controller
  • Rexroth CSH02.1B-CC-EC-ET-S4-NN-NN-FW Controller
  • Rexroth CSB01.1C-PB-ENS-NNN Control Unit