KYLAND KPS310X Series User manual

User Manual of KPS/KGW Series Products
Date of publication: February 2023
Version: V1.3

Disclaimer
Kyland(Yichang) Software Technology Co., Ltd. strives to make the information in the manual
as accurate and up-to-date as possible. However, the company cannot guarantee that this manual is
completely free of any technical errors or clerical errors, and reserves the right to modify it without
notifying the user.
All rights reserved
The copyright of this manual belongs to Kyland(Yichang) Software Technology Co., Ltd.
Without the written permission of the copyright owner, no unit or individual may extract, copy,
translate or distribute for commercial purposes in any way.
Infringement must be investigated.
Copyright © 2022 Kyland Technology Co., Ltd.

Catalog
1 Product Introduction..............................................................................................................3
1.1 Brief.................................................................................................................................................. 3
1.1.1 KPS/KGW310X&320XA Series .............................................................................................................3
1.1.2 KPS/KGW3224A Series ..........................................................................................................................2
1.1.3 KGW3204A-4G Series ............................................................................................................................3
1.2 Product Features.............................................................................................................................4
2 Specification Parameters and Pin Definition....................................................................... 5
2.1 Power Source Pin ............................................................................................................................ 5
2.2 Serial Interface................................................................................................................................ 6
2.2.1 RS-485 terminal resistance ...........................................................................................................................6
2.2.2 Serial interface pin definition ....................................................................................................................... 7
2.3 Network Port ................................................................................................................................. 12
2.4 Light emitting diode ......................................................................................................................13
2.5 Console Interface...........................................................................................................................15
2.6 4G Module ......................................................................................................................................15
2.6.1 EC200A-CN Mini PCle ..............................................................................................................................15
2.6.2 EG25-G Mini PCIe .....................................................................................................................................16
3 Hardware Characteristics....................................................................................................16
3.1 Network Interface......................................................................................................................... 16
3.2 Serial Interface.............................................................................................................................. 17
3.3 Serial Communication Parameters .............................................................................................17
3.4 Button .............................................................................................................................................18
3.5 Environmental Conditions ...........................................................................................................18
3.6 Micro SD........................................................................................................................................ 18
3.7 SIM card........................................................................................................................................ 18
4 Software Function.................................................................................................................19
4.1 WEB Login and Password........................................................................................................... 19
4.2 Home Page..................................................................................................................................... 19
4.3 Network..........................................................................................................................................20
4.3.1 Interface ......................................................................................................................................................20
4.3.2 Network port bridging ................................................................................................................................ 21
4.4 Mobile Network Settings .............................................................................................................. 24
4.4.1 Mobile network enabling ............................................................................................................................24
4.4.2 IMSI ............................................................................................................................................................25
4.5 Application .....................................................................................................................................26
4.5.1 Time synchronization ................................................................................................................................. 26
4.5.2 FTP settings ................................................................................................................................................ 27
4.5.3 Mail alert settings ....................................................................................................................................... 28

4.5.4 SNMP settings ............................................................................................................................................ 29
4.5.5 Address filtering settings ............................................................................................................................29
4.5.6 Basic alarm ................................................................................................................................................. 30
4.5.7 Power failure alarm setting .........................................................................................................................31
4.6 User.................................................................................................................................................32
4.6.1 User management ....................................................................................................................................... 32
4.6.2 Modify password ........................................................................................................................................ 33
4.7 Serial server................................................................................................................................... 33
4.7.1 Serial interface settings .............................................................................................................................. 33
4.7.2 Status messages .......................................................................................................................................... 44
4.7.3 Extra configuration .....................................................................................................................................45
4.8 Data acquisition.............................................................................................................................46
4.8.1 Overview of protocol configuration ........................................................................................................... 46
4.8.2 EDPS upgrade ............................................................................................................................................ 48
4.8.3 EDPS authorization .................................................................................................................................... 49
4.9 System .............................................................................................................................................49
4.9.1 Log ..............................................................................................................................................................49
4.9.2 Backup/recovery .........................................................................................................................................50
4.9.3 Upgrade ...................................................................................................................................................... 51
4.9.4 System reset ................................................................................................................................................52
4.9.5 Restart .........................................................................................................................................................52
4.10 Help .................................................................................................................................................52
4.11 Quit................................................................................................................................................. 53
5 Operational Use Case........................................................................................................... 53
5.1 Network Port Bridging Operation Case.....................................................................................53
5.2.1 TCP Server mode ....................................................................................................................................... 56
5.2.2 TCP Client mode ........................................................................................................................................ 57
5.2 ModbusRTU operation case........................................................................................................ 59
5.3.1 TCP Server mode ....................................................................................................................................... 59
5.3.2 TCP Client mode ........................................................................................................................................ 62
5.3 Modbus Protocol Engineering Operation Case.........................................................................64
6 Mechanical Dimensions and Packaging..............................................................................70
6.1 Mechanical Structure................................................................................................................... 70
6.2 Dimensional Drawing ................................................................................................................... 71
6.2.1 KPS/KGW310XA&320XA ....................................................................................................................... 71
6.2.2 KPS3224A/KGW3224A ............................................................................................................................ 72
6.2.3 KGW3204A-2T4D-232/485-4G-L17 ........................................................................................................ 73
6.3 Packing List................................................................................................................................... 74
6.4 Quality Assurance .........................................................................................................................74

1 Product Introduction
The product name prefix of KPS/KGW indicates the product category. KPS series includes
industrial serial server products and KGW series includes industrial intelligent gateway products.
This document applies to the following series of products:
KPS/KGW310XA&320XA series;
KPS/KGW3224A series;
KGW3204A 4G series;
1.1 Brief
1.1.1KPS/KGW310X&320XA Series
KPS/KGW 310XA-320XA series is an industrial gateway product based on Linux system
architecture and ARM9 processor, which is mainly used to connect serial devices to Ethernet, read
serial device data through the network and remotely control serial devices.
This series can be divided into RS-232 and RS-485 serial communication modes. RS-485
provides 120Ω switchable terminal resistance, which is convenient to reduce signal reflection and
can effectively improve the stability and reliability of RS-485 serial communication.
Series products include the following models:
KPS3101A-E-1T1D-232-L17 KPS3101A-E-1T1D-485-L17
KPS3102A-E-1T2D-232-L17 KPS3102A-E-1T2D-485-L17
KPS3204A-E-2T4D-232-L17 KPS3204A-E-2T4D-485-L17
KPS3208A-E-2T8D-232-L17 KPS3208A-E-2T8D-485-L17
KGW3101A-E-1T1D-232-L17 KGW3101A-E-1T1D-485-L17
KGW3102A-E-1T2D-232-L17 KGW3102A-E-1T2D-485-L17
KGW3204A-E-2T4D-232-L17 KGW3204A-E-2T4D-485-L17
KGW3208A-E-2T8D-232-L17 KGW3208A-E-2T8D-485-L17

2
Figure 1: KPS/KGW 3102A, KPS/KGW3204A and KPS/KGW3208A RS-485 Physical Drawing
1.1.2KPS/KGW3224A Series
KPS3224A/KGW3224A series is an industrial-grade high-performance 24-port rack product
based on Linux system architecture and 4-core A53 processor, which is mainly used for the
conversion of communication protocols. Through data collection, storage and control, online
real-time monitoring and remote control can be realized, and it can be used as the terminal equipment
of industrial Internet platform. The equipment can meet the needs of communication protocol
conversion in different industrial applications, and is suitable for smart cities, smart transportation,
smart power and other fields.
It can be set to three serial communication modes: RS-232, RS-485 and RS422. The RS-485
serial interface of this series of equipment provides a switchable terminal resistance of 120Ω, which
is convenient to reduce signal reflection and can effectively improve the stability and reliability of
RS-485 serial communication.
Series products include the following models:
KPS3224A-2T24D-HV
KPS3224A-2T24D-HV-HV
KGW3224A-2T24D-HV
KGW3224A-2T24D-HV-HV

3
Figure 2: KPS 3224a/KGW 3224a Physical Drawing
1.1.3KGW3204A-4G Series
KGW3204A-4G wireless gateway is an industrial-grade 4G wireless gateway based on Linux
system architecture, which is mainly used for the conversion of communication protocols. Through
data collection, storage and control, it can realize online real-time monitoring and remote control,
and can be used as the terminal equipment of industrial Internet platform.
4G wireless gateway can support RS-232, RS-485 and RS-422 serial communication modes.
Two Ethernet interfaces and one 4G are provided to meet the requirements of wired and wireless
communication. Providing a switchable terminal resistance of 120Ω is convenient to reduce signal
reflection and can effectively improve the stability and reliability of serial communication.
Series products include the following models:
KGW3204A-2T4D-232/485-4G-L17

4
Figure 3: KGW 3204a-2t4d-232/485-4g-L17 Physical Drawing
1.2 Product Features
Data transmission:
Support Socket operation mode, including TCP Server, TCP Client
and UDP.
Transmission protocol:
KPS series supports transparent transmission and Modbus RTU data
transmission protocol;
KGW series additionally supports Modbus, OPC UA, DNP,
IEC101, IEC103, IEC104, IEC61850, DL/T645-1997,
DL/T645-2007 and Siemens S7 data transmission protocols, and
supports advanced application-script calculation.
Routing:
Support static routing.
Security function:
Support SSH, MAC address binding, user classification,
AES\DES\3DES data encryption.
Device management:
Support Web management (HTTP/HTTPS)

5
Support KyCMT integrated debugging management tools
(equipment search, IP address configuration and other functions)
Support KyPMT integrated configuration tool (EDPS protocol
engineering configuration)
Support ICMP control message
Support SNMP v2c
Support SNMP Trap
Support ARP, DNS, DHCP Client.
Equipment maintenance:
Support upgrading through WEB software.
Support FTP, TFTP and Syslog.
Support SMTP mail alarm
Support device alarm indicator light
Support breakpoint reconnection
Support telnet management
Clock characteristics:
Support NTPv3 Client.
2 Specification Parameters and Pin Definition
2.1 Power Source Pin
Table 1 Power Information
Products
Input voltage
Access terminal
Power consumption
Anti-reverse
connection of
power supply
KPS/KGW3x0xA
series
24V DC
(12-48V DC)
2-core plug-in
type
KPS3101A: 1.0W
KGW3101A: 2.0W
KPS3102A: 1.0W
KGW3102A: 2.0W
KPS3204A: 1.5W
KGW3204A: 2.0W
KPS3208A: 1.6W
KGW3208A: 3.0W
√
KPS/KGW3224A
series
220V AC
3-core plug-in
type
15.0w
√
KGW3204A 4G series
24V DC
(12-48V DC)
2-core plug-in
type
8.0w
√

6
KPS/KGW3x0xA series and KGW3204A-4G series use a 2-core plug-in terminal to connect to
the power supply. The equipment has anti-reverse connection protection, and the line sequence is
subject to the mask screen printing instructions.
Table 2 Definition of Power Interface
KPS/KGW3224A series rack serial server uses two 3-core plug-in terminals to connect to the
power supply.
Table 3 Definition of Power Interface
2.2 Serial Interface
2.2.1 RS-485 terminal resistance
Table 4 Resistance Information
Products
120Ω terminal resistance setting mode
KPS/KGW3x0xA series
DIP switch
KPS/KGW3224A series
WEB page configuration
KGW3204A 4G series
DIP switch
When using RS-485 transmission mode in complex industrial environment, it may be necessary
to increase the terminal resistance to reduce the signal interference caused by serial signal reflection;
DIP switch is set with 120Ω terminal resistance: ID n of DIP switch corresponds to serial port
Sn respectively. When dip switch No. N is turned ON, the terminal resistance of Sn serial port is
enabled; When dip switch No. N is turned OFF, the terminal resistance of Sn serial port is not
enabled; The termination resistor is not enabled by default.
WEB page setting 120Ω terminal resistance: When the serial terminal resistance of the serial
server-additional configuration page is set to ON, the terminal resistance of the serial port is enabled;
Power
Pin
Description
PWR
V+
Power supply
V-
Power supply
Power
Pin
Description
PWR
-/N
Zero curve
+/L
Live wire
GND
Earth wire

7
When set to OFF, the terminal resistance of the serial port is not enabled; The device does not enable
the termination resistor by default.
2.2.2 Serial interface pin definition
2.2.2.1 KPS/KGW310XA&320XA
According to different product models, serial ports can be divided into RS-232 type and RS-485
type, and each type of gateway only supports one communication mode of serial interface.
Table 5 Definition of KPS/KGW 3101a Terminal
Table 6 Definition of KPS/KGW 3102a Terminal
Table 7 Definition ofKPS/KGW 3204a Terminal
Pin
Serial
number
RS-232
RS-485
GND
S1
GND
GND
B1
RxD
Data-(B)
A1
TxD
Data+(A)
Pin
Serial
number
RS-232
RS-485
GND
S1
GND
GND
B1
RxD
Data-(B)
A1
TxD
Data+(A)
GND
S2
GND
GND
B2
RxD
Data-(B)
A2
TxD
Data+(A)
Pin
Serial
number
RS-232
RS-485
GND
S1
GND
GND
B1
RxD
Data-(B)
A1
TxD
Data+(A)
B3
S3
RxD
Data-(B)
A3
TxD
Data+(A)
GND
GND
GND
GND
S2
GND
GND

8
Table 8 Definition of KPS/KGW 3208a Terminal
B2
RxD
Data-(B)
A2
TxD
Data+(A)
B4
S4
RxD
Data-(B)
A4
TxD
Data+(A)
GND
GND
GND
Pin
Serial
number
RS-232
RS-485
GND
S1
GND
GND
B1
RxD
Data-(B)
A1
TxD
Data+(A)
B3
S3
RxD
Data-(B)
A3
TxD
Data+(A)
GND
GND
GND
GND
S5
GND
GND
B5
RxD
Data-(B)
A5
TxD
Data+(A)
B7
S7
RxD
Data-(B)
A7
TxD
Data+(A)
GND
GND
GND
GND
S2
GND
GND
B2
RxD
Data-(B)
A2
TxD
Data+(A)
B4
S4
RxD
Data-(B)
A4
TxD
Data+(A)
GND
GND
GND
GND
S6
GND
GND
B6
RxD
Data-(B)
A6
TxD
Data+(A)
B8
S8
RxD
Data-(B)
A8
TxD
Data+(A)
GND
GND
GND

9
2.2.2.2 KPS/KGW3224A
The serial ports of this series can be divided into RS-232 type, RS-485 type and RS-422 type,
and each serial port only supports one communication mode of serial interface. According to the
additional configuration of page serial port-serial port mode configuration item, RS-485 terminal can
be configured as RS-422 terminal.
Figure 4 Serial terminal diagram
Table 9 Definition of KPS 3224a/KGW 3224a RS-485 Terminal
Pin
Serial
number
RS-232
RS422
RS-485
GND
S1
-
GND
GND
B1
-
TxD1-
B1
A1
-
TxD1+
A1
GND
S3
-
GND
GND
B3
-
TxD2-
B3
A3
-
TxD2+
A3
GND
S5
-
GND
GND
B5
-
TxD3-
B5
A5
-
TxD3+
A5
GND
S7
-
GND
GND
B7
-
TxD4-
B7
A7
-
TxD4+
A7
GND
S2
-
GND
GND
B2
-
RxD1-
B2
A2
-
RxD1+
A2
GND
S4
-
GND
GND
B4
-
RxD2-
B4

10
A4
-
RxD2+
A4
GND
S6
-
GND
GND
B6
-
RxD3-
B6
A6
-
RxD3+
A6
GND
S8
-
GND
GND
B8
-
RxD4-
B8
A8
-
RxD4+
A8
GND
S9
-
GND
GND
B9
-
TxD5-
B9
A9
-
TxD5+
A9
GND
S11
-
GND
GND
B11
-
TxD6-
B11
A11
-
TxD6+
A11
GND
S13
-
GND
GND
B13
-
TxD7-
B13
A13
-
TxD7+
A13
GND
S15
-
GND
GND
B15
-
TxD8-
B15
A15
-
TxD8+
A15
GND
S10
-
GND
GND
B10
-
RxD5-
B10
A10
-
RxD5+
A10
GND
S12
-
GND
GND
B12
-
RxD6-
B12
A12
-
RxD6+
A12
GND
S14
-
GND
GND
B14
-
RxD7-
B14
A14
-
RxD7+
A14
GND
S16
-
GND
GND
B16
-
RxD8-
B16
A16
-
RxD8+
A16
Table 10 Definition of KPS 3224a/KGW 3224a RS-232 Terminal

11
Pin
Serial
number
RS-232
RS422
RS-485
GND
S1
GND
-
-
RX1
Rx1
-
-
TX1
Tx1
-
-
GND
S3
GND
-
-
RX3
Rx3
-
-
TX3
Tx3
-
-
GND
S5
GND
-
-
RX5
Rx5
-
-
TX5
Tx5
-
-
GND
S7
GND
-
-
RX7
Rx7
-
-
TX7
Tx7
-
-
GND
S2
GND
-
-
RX2
Rx2
-
-
TX2
Tx2
-
-
GND
S4
GND
-
-
RX4
Rx4
-
-
TX4
Tx4
-
-
GND
S6
GND
-
-
RX6
Rx6
-
-
TX6
Tx6
-
-
GND
S8
GND
-
-
RX8
Rx8
-
-
TX8
Tx8
-
-
2.2.2.3 KGW3204A-2T4D-232/485-4G-L17
The serial ports of this series can be divided into RS-232, RS-485 and RS-422, and each serial
port only supports one of the communication modes of serial interfaces. According to the settings of
serial port server-serial interface, RS-485 terminal can be configured as RS-422 terminal.
Table 11 Definition of KGW3204a-2t4d-232/485-4g-L17 Terminal

12
2.3 Network Port
Table
12
Network Interface Information
Products
Network interface
KPS/KGW3x0xA series
KPS/KGW310XA: 1
10/100Mbps
KPS/KGW320XA: 2
10/100Mbps
KPS/KGW3224A series
2 x 10/100Mbps
KGW3204A 4G series
2 x 10/100Mbps
When working normally, you can directly connect the equipment to the network by using the
network cable. When initialization and fault detection are needed, it can be directly connected to the
PC through the network cable. When the equipment is running, the network port indicator lights up,
so it can be judged whether it has been connected to the network and the rate of access to the
network.
Users can change the IP address of the network port, but the MAC address cannot be changed.
If you want to connect multiple devices to the network side, the external network device must
keep the same network segment as the network port of the device, and there is no IP and MAC
address conflict.
The port pins are defined as follows:
Table 13 Definition of Network Ports
Pin
Serial
numbe
RS-485
RS-232
RS-422
GND
S1
GND
-
-
B1
Data-(B)
-
-
A1
Data+(A)
-
-
B3
S3
Data-(B)
RxD
TxD-
A3
Data+(A)
TxD
TxD+
GND
GND
GND
GND
GND
S2
GND
-
-
B2
Data-(B)
-
-
A2
Data+(A)
-
-
B4
S4
Data-(B)
RxD
RxD-
A4
Data+(A)
TxD
RxD+
GND
GND
GND
GND

13
Pin
MDI-X signal
MDI signal
1
Rx+
Tx+
2
Rx-
Tx-
3
Tx+
Rx+
6
Tx-
Rx-
4-5
to be defined
to be defined
7-8
to be defined
to be defined
2.4 Light emitting diode
Table 14 LED Indicators
LED
Indicator light
Color
Description
Reset
Green
Flashing: the Reset button is pressed for more than 3 seconds.
On: Press the Reset button for less than 3 seconds.
Off: the Reset button is not pressed.
Power
Green
Always on: the input power supply is connected normally and the
equipment is running normally.
Off: the input power supply is not connected or abnormal.
PWR1
Green
On: power on
Off: No electricity.
PWR2
Green
On: power on
Off: No electricity.
Run
Green
Always on: the serial server is starting.
Flash: The frequency is about once every second, and the system
is running normally.
Flash (no Reset indicator):
When the reset key is pressed (for 3-10 seconds), the system will
return to the factory settings.
Off: the main state is abnormal or not powered on.
4G
Green
On: the port has established a valid network connection.
Flash: There is network activity on the port.
Off: the port has not established a valid network connection.
Alarm
Green
Flash: The frequency is about 2 times per second, and the system

14
crashes or runs abnormally.
Off: the system is normal
Always on: KGW series non-agreement project
KPS serial port is not started.
Link/ACT
Green
On: the port has established a valid network connection.
Flash: There is network activity on the port.
Off: the port has not established a valid network connection.
Speed
Green
On: 100M working state (i.e. 100Base-TX).
Off: 10M working state (i.e. 10Base-TX)
RJ45
(Link/ACT)
Green
On: the port has established a valid network connection.
Flash: There is network activity on the port.
Off: the port has not established a valid network connection.
RJ45
(10/100M)
Yellow
On: 100M working state (i.e. 100Base-TX).
Off: 10M working state (i.e. 10Base-TX)
Tx-n
Green
Flash: serial port n has data signal to send.
Off: serial port n has no data transmission.
Rx-n
Green
Flash: serial port n has data signal reception.
Off: serial port n has no data transmission.
Note: The value of n in the above table is serial number of serial port, such as Tx1 for
serial port 1.
Figure 5 Line Diagram of KPS/kg w3x0xa Series Indicator Panel (taking KPS3208A as an example)

15
Figure 6 Line Diagram of KPS/kgw3224a Indicator Panel
Note: KPS/KGW3224A series equipment supports configuring RS485 serial port in
RS422 mode. When the RS-422 serial port N is enabled, the RX 2n indicator will always be
on, indicating that the RS-422 serial port N has been turned on. At this time, RX/TX(2n-1)
is the serial port indicator of RS-422 port n.
Figure 7 KGW3204A-4G Series Indicator Panel Line Diagram
2.5 Console Interface
Note: Console interface is applicable to KPS/KGW3224A.
Table 15 Definition of Console Port
Pin
MDI-X signal
MDI signal
2
Tx
Tx
3
Rx
Rx
5
GND
GND
1
to be defined
to be defined
4
to be defined
to be defined
6-8
to be defined
to be defined
2.6 4G Module
Note: 4G module is suitable for KGW3204A-4G. The domestic version uses EC200A-CN
module, and the global version uses EG25-G module.
2.6.1 EC200A-CN Mini PCle
Table 16 RF Parameters of EC 200a-CN Mini PCLE
Network standard
Frequency band
Max downlink
Max uplink
LTE-FDD
B1/ B3/ B5/ B8
150
50
LTE-TDD
B34/ B38/ B39/B40/ B41
130
30
WCDMA
B1/B5/ B8
384
384
Table 17 Emission Power of EC 200a-CN Mini PCLE
Network standard
Maximum power value

16
EGSM900
33dBm±2dB
DCS1800
30dBm±2dB
WCDMA
24dBm+1/-3db
LTE-FDD
23dBm±2dB
LTE-TDD
23dBm±2dB
2.6.2 EG25-G Mini PCIe
Table 18 RF Parameters of EG25-G Mini PCLE
Network standard
Frequency band
Max downlink
Max uplink
LTE-FDD
B1/ B2/ B3/ B4/ B5/ B7/ B8/ B12/
B13/ B18/ B19/ B20/ B25/ B26/ B28
150
50
LTE-TDD
B38/ B39/B40/ B41
130
30
WCDMA
B1/B2/ B4/ B5/ B6/ B8/ B19
384
384
GSM
B2/ B3/ B5/ B8
296
236.8
107
85.6
Table 19 Emission Power of EC 200a-CN Mini PCLE
Network standard
Maximum power value
EGSM900
33dBm±2dB
DCS1800
30dBm±2dB
WCDMA
24dBm+1/-3db
LTE-FDD
23dBm±2dB
LTE-TDD
23dBm±2dB
3 Hardware Characteristics
3.1 Network Interface
Table 20 Network Interface Parameters
Products
KPS/KGW3x0xA series
KPS/KGW3224A series
KGW3204A 4G series
Number of
network
interfaces
one KPS/KGW310XA
and two
KPS/KGW320XA.
2
2
Rate
10/100Mbps, adaptive
10/100Mbps, adaptive
10/100Mbps, adaptive
Connector
RJ45
RJ45
RJ45
4G
None
None
1 road
ESD
Air 8 kV, contact 6 kV
Air 8 kV, contact 6 kV
Air 8 kV, contact 6 kV
This manual suits for next models
28
Table of contents