4.3 Operating Status Information
This menu displays real-time operational data of the gateway, such as:
text
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
Cycle counter should normally increase several times every few seconds. If it remains unchanged for a long time, it indicates that the internal data forwarding of the gateway is stagnant.
If the Error counter continues to increase, it indicates that the gateway cycle exceeds 100ms, usually due to network overload on one side.
Operation mode can display status such as Stop/Clear/Operate for the main station interface. If it is in Stop, a control word needs to be sent to switch it to Operate (see 4.5).
The hexadecimal value of Status word value can be directly decoded. For example, 0x3002=0b0011 0000 0000 0010, it can be resolved that Run bit=1, Init bit=1, error counter=0, and loop counter=2.
4.4 Change Configuration
This is the most commonly used maintenance menu. After entering, the system will prompt "Both networks will go offline". After confirmation, you can modify the following parameters (listed in the above and below interfaces respectively):
General parameter description
Suggested values for parameter meanings
Input I/O data size: The length of input data (in bytes) for this interface is set according to application requirements and should not exceed 512
Output I/O data size: The length of the output data from this interface (in bytes) is the same as above
The action when another network is offline is usually selected as Freeze or Clear
Is the Control/Status word enabled? When the Control/Status word needs to be remotely reset or diagnosed, it should be set to Enabled
Does the Live List provide activity maps for secondary stations? When there are a large number of secondary stations and monitoring is required, set them to Enabled
Offline timeout determines the offline silence time (in milliseconds), which defaults to 0 (disabled) and can be set to 500-2000ms based on the bus cycle
Attention: After modifying the I/O data size, it must be consistent with the configuration of the opposite device (master/slave), otherwise it may cause data misalignment or communication failure.
Gateway system parameters
Reboot after disconnection: When using HMS Transport Provider (some configuration tools), whether to automatically restart the gateway if the connection is lost. Usually, keeping it enabled is sufficient to avoid the gateway not being restored after the tool is accidentally disconnected.
4.5 Change operation mode of the main station
This menu (Menu 9) is only displayed for gateways configured with the main station/scanner. The main station interface usually supports multiple operating modes, such as Stop, Clear, and Operate. The slave interface changes the master mode through the "Master Mode" bit in the control word. If the control word is disabled, it must be manually switched through this menu.
Typical scenario: The main station interface is in Stop mode, causing all slave stations to be unable to exchange data. Enter menu 9 and select Operate (or Run) to restore data exchange.
4.6 Configuration file backup and recovery (Configuration upload/download)
X-gateway supports uploading/downloading complete configuration files (config. cfg) through Ymodem protocol. This is the best way to quickly replace gateways:
Backup:
Enter the main menu → 7 → press u to start uploading.
Select "Receive Files" from the "Transfer" menu of the terminal software, choose Ymodem as the protocol, and save as config. cfg.
Recovery:
Enter the main menu → 7 → press d to start the download.
If prompted offline, press y to confirm.
Select 'Send File', choose Ymodem protocol, and send the previously saved config. cfg.
The gateway automatically restarts and the new configuration takes effect.
This method can be used to batch replicate multiple gateways or quickly restore configurations after a failure, without the need for manual item by item settings.

Power and environmental faults
5.1 Power supply abnormality
Power supply requirements: 24V DC ± 10%, maximum current 300mA. Using a non regulated power supply or voltage below 21V may cause the gateway to randomly restart or the status LED to flash.
Polarity: The power terminal has positive and negative markings (+/-), and reverse connection will not damage it but will not work.
Grounding: DIN rails must be connected to a protective earth (PE), otherwise EMC performance may decrease and communication errors may occur.
5.2 Environmental Overheating
Working temperature range: 0~+65 ° C. If installed in a closed control cabinet with poor ventilation, the gateway may exceed its upper limit, causing abnormal operation of internal chips (such as communication interruption).
Non storage temperature: -40 to+85 ° C. Extreme temperatures should be avoided during transportation or storage.
5.3 ESD precautions
The gateway contains electrostatic sensitive components inside. Before operation, contact the grounded metal or wear an anti-static wristband. More attention should be paid in dry environments.