Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Anybus X-gateway Configuration Manual

来源: | 作者:FAN | 发布时间 :2026-05-07 | 15 次浏览: | 🔊 Click to read aloud ❚❚ | 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.

  • Siemens 6AG1214-1AG40-4XB0 PLC
  • OMRON CJ1W-AD081-V1 Analog Unit
  • OMRON C500-CPU11-E PLC CPU
  • OMRON NX-ECC201 EtherCAT Coupler
  • OMRON F300-A20S Camera Interface
  • Mitsubishi 80173-109-01 PLC Module
  • Fanuc A16B-2200-0141 PCB Board
  • Lenze EPL10200 PLC Module
  • OMRON CJ1M-CPU13 PLC CPU Unit
  • Yaskawa SGMPH-04AAA61D-OY Motor
  • OMRON NX-SOD400 Safety Output
  • Control Techniques V1800 Flux Vector Drive
  • Yaskawa SGDH-04AE-OY Servo Drive
  • OMRON NT-DRT21 DeviceNet Interface
  • OMRON C500-RM001-V1 Remote I/O Master
  • OMRON C500-AD006 Analog Input Module
  • OMRON 3G3MV-A4055 Inverter Drive
  • OMRON F150-C15E-3 Vision Mate Controller
  • OMRON CS1G-CPU44H PLC CPU
  • GE Fanuc DS6800CCIE1E1D CPU Module
  • Omron CP1L-M30DR-A PLC CP1W-CIF01 CPU Unit
  • Heraeus 585923 2M130 M8 Electrode Assembly Sensor
  • Omron C40P-EDT1-D C Series PLC Controller
  • Yaskawa SGMGH-09DCA6F-OY Servo Motor SGDH Driver
  • Datalogic SG-BWS-T4-MT Safety Control Unit Category 4
  • Pro-face PFXLM4301TADDC HMI Controller LT-4301M
  • Mitsubishi FX1N-60MR-DS PLC Main Unit 60 I/O
  • Omron NJ501-1320 Sysmac Database Connection CPU
  • Omron CJ1W-ETN21 Ethernet Unit CJ Series Module
  • Siemens 6ES7517-3AP00-0AB0 CPU 1517-3 PN/DP
  • Pasaban MTC-3052 Fast I/O PLC Module
  • Mitsubishi FX3U-128MR/ES-A PLC
  • OMRON CS1W-CLK21 Controller Link Unit
  • Yokogawa ADV151-E63 Digital Input Module
  • Allen Bradley MPL-B680B-M-X227 Motor
  • OMRON CJ1W-NC413 4-Axis Position Unit
  • Yaskawa SGMGH-30DCA6H-OY Servo Motor
  • Bosch 1070075337-101 Output Card
  • OMRON CQM1-CPU45-EV1 PLC CPU Unit
  • Siemens 6SE7090-0XX84-0AG1 CU3 Control Module
  • OMRON CQM1-TC101 Temperature Control Module
  • MOOG OEM-1030-422 Wind Energy PLC Controller
  • OMRON ZFX-C15 Vision Sensor
  • Square D 8702SCO2V02 Reversing Contactor
  • OMRON C20-LK201-EV1 PLC Link Adapter
  • OMRON NB7W-TW01B HMI PLC
  • Siemens 7ME6920-1AA10-1AA0 Flow Transmitter
  • Allen Bradley 1791-8BR Block I/O Module
  • OMRON CQM1-AD041 Analog Input Module
  • OMRON CJ1M-CPU21 PLC Module
  • Omron Z500-MC10E-001 Laser Profile Controller
  • Omron NA5-7W001B-V1 NA Series Programmable Terminal HMI
  • Allen-Bradley 1606-XLS960EE Power Supply 960W 24VDC
  • GE DS3800NEPB1F1E Power Excitation Board Mark IV
  • Yaskawa SGDH-04AE-OY Sigma-II Servo Drive 400W
  • Allen-Bradley 2711P-RBT7 PanelView Plus 7 Bezel
  • CCS PD3-3024-3-EI Digital Control Unit 3 Channel
  • Yaskawa CPU301 MP3300 Controller JAPMC-CP3301-2-E
  • Omron C40P-EDR-D PLC C Series P Type Controller
  • Omron NX-SID800 Safety Input Unit 8 PNP 24VDC
  • ABB SCC-C 23070-0-10232110 gas cooler
  • Sick LGTN101-521 CPU Module
  • Okuma 1911-2836 PLC Circuit Board
  • Mitsubishi Melsec PM-120M PLC
  • Omron F210-C15 Vision Mate Controller System
  • Siemens 7ML5110-1GD07-4AF3 Ultrasonic Level Gauge
  • ABB Pluto S46 V2 Safety Relay
  • Omron Z3RN-5A Optical Serial Link
  • Omron R7D-APA3H 30W Servo Drive
  • Giddings Lewis 502-03638-41R3 PLC Processor
  • Omron SCY-P1 Sequencer Controller
  • Siemens C98043-A7002-L1-13 PCB Board
  • SACS TECNICA Palletizer PC PLC Control System
  • AutomationDirect T1F-14THM PLC Module T1F14THM
  • OMRON C200H-AD003 Analog Input Unit PLC Module
  • Applied Materials 0010-A0000 Electricity Box PLC 200mm
  • ABB RVT-6 Power Factor Controller RVT6
  • Allen-Bradley 2094-BC01-MP5-M Kinetix 6000 Axis Module
  • OMRON FQM1S-MC233 Motion Controller PLC Module
  • OMRON C200H-SNT31 PLC Special I-O Module
  • Yaskawa SGMPH-04AAA61D-OY Servo Motor 400W 200V
  • Yaskawa SGMGH-09DCA6F-OY AC Servo Motor 850W 400V
  • REFU ELEKTRONIK SR17002 PLC Logic Module Circuit Board
  • Siemens 6DP1231-7AA PLC Board Module Industrial Control
  • ABB SACE ISOMAX S3 N 160 Molded Case Circuit Breaker
  • OMRON C120-SC024-V1 SYSMAC C120 Compact PLC Unit
  • OMRON CJ1W-SCU41-V1 Serial Communication Unit PLC Module
  • OMRON 3G3MX2-A4110-ZV1 MX2 Variable Frequency Drive
  • Yaskawa SGDH-04AE-OY Sigma-II Servo Driver 400W 200V
  • OMRON CQM1-AD041 Analog Input Module PLC I/O Unit
  • Delta Omega XML2-0060-45-4/S-A Servo Drive
  • Omron CJ1W-AD041 Analog Input
  • Omron CJ1W-NC271 Position Control Unit
  • Omron CJ1G-CPU45H PLC CPU
  • Omron CJ1W-EIP21 EtherNet/IP Unit
  • Omron F210-C15 Vision Mate Controller
  • Omron CQM1H-ADB21 Analog I/O Board
  • Omron GRT1-PRT PROFIBUS DP-V1 Adapter
  • Omron CP1H-Y20DT-D PLC CPU
  • TE.CO TFX 4G 1.5 Grey Cable 470m
  • Yaskawa SGDH-04AE-OY Servo Driver 400W 200V
  • OMRON CJ1H-CPU66H V4.0 PLC CPU
  • OMRON R7M-A10030-BS1 Servo Motor 200W 100V
  • OMRON FQM1-MMA21 Motion Controller
  • Yaskawa SJDE-08APA Servo Amplifier
  • OMRON CQM1-AD041 Analog Input Unit
  • Siemens OCI55 Dialogue Module Landis
  • OMRON F350-C10E Image Processing Unit
  • OMRON NT10S-SF121 HMI Terminal
  • SIEMENS 3RB1262-0LB31 Overload Relay
  • OMRON YASKAWA SGDS-02A12A Servo Drive
  • TE.CO TFX 4G 1.5 Grey Cable ST 500m
  • FANUC A16B-3200-0362 PCB Control Board
  • OMRON CQM1-ARM21 Analog Output Unit
  • Allen-Bradley 1788-EN2DN Ethernet DeviceNet Gateway
  • Siemens 3VL9440-7EE40 3VL4740-2AA46-0AA0 Circuit Breaker
  • OMRON CJ1W-AD041-V1 Analog Input Unit
  • OMRON CQM1-AD041 CQM1-IPS02 Analog Input Power Supply
  • Texas Instruments System 505 PLC 525-110 525-1102
  • OMRON CQM1-AD042 Analog Input Unit
  • Yaskawa SGDH-04AE-OY Servo Driver 200V 400W
  • CTI 2512 75W Power Supply for CTI 2500
  • Omron F300-B5 Image Processing Unit
  • Mitsubishi 15050-PR01A PLC Board
  • Omron CQM1-TC101 Temperature Controller
  • SCE M68-2000 2 Axis Motion Controller HW 2.3/B
  • Omron 3Z4SP-C22 Visual Positioning Sensor
  • Omron 3G3SV-BB007-E 0.75kW VFD