Page 1
User Manual of KPS/KGW Series Products Date of publication: February 2023 Version: V1.3...
Page 2
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.
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;...
hysical Drawing Figure 1: KPS/KGW 3102A, KPS/KGW3204A and KPS/KGW3208A RS-485 P 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.
hysical Drawing Figure 2: KPS 3224a/KGW 3224a P 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.
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.
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 Power Description Power supply...
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.
Page 13
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.
Page 15
Serial RS-232 RS422 RS-485 number 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.
Serial RS-485 RS-232 RS-422 numbe Data-(B) Data+(A) Data-(B) TxD- Data+(A) TxD+ Data-(B) Data+(A) Data-(B) RxD- 2.3 Network Port Data+(A) RxD+ Table Network Interface Information Products Network interface KPS/KGW310XA: 1 10/100Mbps KPS/KGW3x0xA series 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...
MDI-X signal MDI signal to be defined to be defined to be defined to be defined 2.4 Light emitting diode Table 14 LED Indicators Color Description Indicator light Flashing: the Reset button is pressed for more than 3 seconds. Reset Green On: Press the Reset button for less than 3 seconds.
Page 18
crashes or runs abnormally. Off: the system is normal Always on: KGW series non-agreement project KPS serial port is not started. On: the port has established a valid network connection. Link/ACT Green Flash: There is network activity on the port. Off: the port has not established a valid network connection.
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.
protection electrostatic protection electrostatic protection electrostatic protection Isolation Built-in 1.5KV Built-in 1.5KV Built-in 1.5KV protection Note: it is recommended to use shielded wire for network interface wiring to improve anti-interference ability. 3.2 Serial Interface Table 21 Serial Interface Parameters product KPS/KGW3x0xA series KPS/KGW3224A series KGW3204A 4G series...
192.168.0.249; Network port-eth1: 192.168.1.249. Figure 8 Login Page Default login user name: admin and login password: pwd$4$Kyland. Enter the user name and password and click "Login" to enter the Web console. After logging in to the homepage, you can choose the page display language, and the page text can be switched between English and Simplified Chinese.
Figure 9 Home Page 4.3 Network 4.3.1 Interface The network-interface page is used to display the relevant network parameters of the serial server device, including the running time of the device, MAC address, data received/sent, IP address, etc. Figure 10 Network Page After clicking the Network-Interface menu, the "Edit"...
Figure 11. Website Editing Page Table 23 Editing Parameters of Network Port Parameter Value Description Protocol Static address, DHCP client Select static IP or DHCP. eth0:192.168.0.249 Ip address Ip address eth1:192.168.1.249 Identifies whether the server belongs to a, b or c Subnet mask 255.255.255.0 network.
Page 26
bridging function, set the IP address and subnet mask, and click "Apply". The bridge function between the network port -LAN(eth0) and the network port -LAN1(eth1) has been successfully enabled, and both networks can access this equipment or transmit data with this equipment with the set IPv4 address.
Page 27
Figure 13 LAN-WAN Interface Bridge Page Table 25 LAN-WAN Interface Bridging Parameters Parameter Value Description Protocol Static address, DHCP client Select static IP or DHCP. IPv4 address IP address Ip address IPv4 subnet mask 255.255.255.0 Identifies that the server belongs to a class, b or c network.
accessed through the added multiple IP addresses. Note: A single network port device does not support bridging. 4.4 Mobile Network Settings Note: KGW3204A-2T4D-232/485-4G-L17 unique function module. 4.4.1 Mobile network enabling The mobile network enabling page is used to display and set relevant parameters of mobile network settings, including enabling mobile network, access point name, user name, password and Ping address.
cannot be pinged, the 4G module will be restarted. If this function is not enabled, fill in 127.0.0.1. 4.4.2 IMSI The IMSI page is used to display basic information of IMSI, including IMEI, IMSI and firmware information. When the mobile network function is enabled, IMEI information, IMSI information and firmware information will be displayed on the IMSI page.
Otherwise, check whether the antenna or SIM card is installed correctly. 4.5 Application 4.5.1 Time synchronization The time synchronization page is used to display and set time, including enabling time zone selection application, device time synchronization and setting time application. Time zone setting: Select the corresponding time zone from the drop-down box and click Apply.
Time interval 1min, 5min, 20min Time correction request interval Candidate NTP The device sends a time correction request to the Target NTP server server NTP server. Time zone UTC-12:00~UTC+12:00 World time zone time After synchronization, the device time is consistent Equipment time Local time with the local time.
FTP account Custom (non-root) User login FTP server account FTP account Customize Password of user login FTP server password 4.5.3 Mail alert settings The e-mail alarm setting page is used to display the relevant parameters of e-mail alarm setting, including enabling e-mail alarm client, address of e-mail sending server, e-mail account and password of e-mail account, etc.
Alarm mail receiver Mailbox account Mail recipient's mailbox account 4.5.4 SNMP settings The SNMP Settings page is used to display the related parameters of SNMP settings, including enabling SNMP, service port, community, Trap IP and Trap port. After successful SNMP setting, you can get the device information, including device time, network information, memory information, etc.
the MAC address added to the blacklist will not be able to access this device. Note: Please use black/white list carefully. When the wrong setting of black/white list makes it impossible to access this device, press and hold the Reset button to restore the factory settings to reset the black/white list.
Figure 21 Basic Alarm Settings Page Table 33 Basic Alarm Setting Parameters Parameter Value Description External alarm server Ip address External server IP address External alarm server Port number External address port number port External alarm server TCP, UDP The receiver uses the protocols TCP and UDP. protocol Alarm type Checked/Unchecked...
Figure 22 Power Failure Alarm Settings Table 34 Power Failure Alarm Settings Parameter Value Description Alarm protocol UDP, SNMP Alarm protocol UDP or SNMP External alarm server Ip address External server IP address External alarm server Port number External server port number port Alarm content Customize...
"Apply" to show that the password is successfully modified. If you forget the administrator password, press and hold the Reset button to restore the factory settings, you can log in to the page with the initial user name admin and password pwd$4$Kyland. Figure 24 Modify Password Page 4.7 Serial server...
Page 38
supports encrypted transmission, and the modes are DES, 3DES and AES. Select the mode to be encrypted in the drop-down box corresponding to Encrypted Transmission, or select Disabled without encryption. When the parameters are set, click "Apply" and the parameters will take effect immediately. The configuration of serial communication parameters needs to be consistent with the lower computer;...
Page 40
Figure 28 Transparent Transmission Mode UDP Client Mode Table 35 Transparent Setting Parameters Parameter Value Description Configuration of baud rate of serial port: After selecting Customize, manually enter the baud rate in the input box, ranging from 50 to 250000. 50, 75, 110, 134, 150, 200, 300, Note: When KPS/KGW3224A and 600, 1200, 1800, 2400, 4800, 9600,...
Page 41
Not enabled when set to 0; When the setting value is not 0, the maximum length of data sent by the serial port at a time, and when the data received by the network port of the equipment does not Unit bytes, the default is 0.
Page 42
encrypted transmission. Select the filling form of encrypted Encrypted filling PKCS7, Zero transmission. AES encryption method can choose the key Key length 128, 192, 256 length. The key length is between 1 and 32 Encryption key Custom fill-in key characters. Encryption IV requires input only when Encrypted IV Custom filling encryption mode is CBC.
Page 43
disconnection. If the set time is exceeded, the No data communication connection will be Unit: S, 200 s by default. disconnection disconnected actively when the device has no data communication. In TCP Client mode, the time period for reconnecting devices can reduce the network Reconnection Unit: S, default is 60s.
Page 45
Figure 32 Modbus RTU Transmission Mode UDP Client Mode Table 36 Modbus RTU Setting Parameters Parameter Value Description Configuration of baud rate of serial port: After selecting Customize, manually enter the baud rate in the input box, ranging from 50 to 250000. 50, 75, 110, 134, 150, 200, 300, Note: When KPS/KGW3224A and 600, 1200, 1800, 2400, 4800, 9600,...
Page 46
Unit ms, the default is 500. Character spacing Not effective Setting range is 100-500ms. TCP/Server, TCP/Client, Select the network mode of serial port Network mode UDP/Server, UDP/Client operation. Transmission Communication mode of serial port data, Modbus RTU mode Modbus RTU mode. Local port numbers of TCP and UDP Local port Port number...
Page 47
different IP). Slave Id value of TCP and UDP Client, Slave Id 1-255 that is, slave station address. TCP/UDP Server network mode, when the request time of the upper computer is less than the set value, the time interval for the device to send continuous requests to the lower computer is the Polling interval 10-1000ms sum of the set value and the request...
Figure 33 Serial Ports 3 and 4 Configured as RS-422. Note: Serial ports 1-2 of KGW3204A-2T4D-232/485-4G-L17 series products are fixed as RS-485, and serial ports 3-4 are fixed as RS-232 or RS-485 when they leave the factory, and cannot be changed after leaving the factory. If the serial port 3-4 is set as RS-485 in the factory, two RS-485s can be configured as one RS-422 on the serial port server-serial interface setting page.
Figure 37 Status Information Mode 4.7.3 Extra configuration Note: KPS/KGW3224A unique function module. The additional configuration page is used to set the running configuration of the device serial port, including enabling/disabling the 120Ω resistor in RS-485 mode and enabling/disabling the configuration of the RS422 port, which can be used to set additional configuration items of the device serial port.
By default, the RS-485 serial port is RS485 mode. When the page sets port n as enabled, two consecutive RS485 ports 2n-1 and 2n are enabled as RS422 mode. When the page setting port n is not enabled, two consecutive ports 2n-1 and 2n are in RS485 mode. Figure 36 Serial Port Mode Configuration 4.8 Data acquisition The data collection page is used to display and set the relevant configuration information of the...
Page 51
Figure 37 Running Project Configuration Protocol engineering list In the list of protocol projects, you can view and manage protocol projects, and enable, download, delete and import them. The project displayed in the protocol project list is called the downloaded protocol project in the equipment.
Figure 38 Protocol Engineering List Protocol driver list In the protocol driver list, you can view the communication protocol driver information supported by this device, including driver name, driver description, driver file name, driver version and authorization status. Figure 39 Protocol Driver List 4.8.2 EDPS upgrade The EDPS upgrade page is mainly used for updating and upgrading EDPS functions.
device EDPS function is successfully updated and upgraded. The EDPS upgrade function does not affect the existing protocol engineering files in the equipment and the authorization of EDPS. Figure 40 EDPS Upgrade 4.8.3 EDPS authorization EDPS authorization page is mainly used for EDPS authorization authentication, and it can only run normally and stably after authorization authentication.
Figure 42 System Log Log settings are used to send log information to the designated external server, and can be used to remotely monitor equipment operation information. Figure 43 Log Settings Table 38 Log Settings Parameter Value Description External log server Ip address External server IP address External log server port...
Click "Generate Backup" to download the current configuration file and archive the backup to the local area. Click "Browse" button, select the path of the local configuration file, and click "Upload Backup" to import the local configuration file, and use the local configuration file to restore the device configuration information.
When it is necessary to restart the equipment, click the "Execute Restart" button to restart the equipment. Figure 47 Restart the Page 4.10 Help There is a "Help" button in the upper right corner of the Web interface. Click "Help" to jump to the official page of Kyland Technology.
Figure 48 Help Page 4.11 Quit After logging in to the Web page and completing the page configuration, click the exit button to exit the Web login state, so as to prevent the abnormal function of the device caused by wrong operation.
Page 58
B. Network port 0 and network port 1 are the same CIDR segments The two network ports cannot access each other to communicate, and network port 0 and network port 1 are in an independent working mode. Bridge function is enabled When the network mode is to enable the bridging function, the serial server can work in LAN-LAN or LAN-WAN mode.
Page 59
Figure 51 Bridging the network ports of the same network segment Ping another device (IP: 192.168.0.111) on a PC with an IP of 192.168.0.242, and you can ping. B. Bridging different network segments Physical connection: The network cable is The network cable is connected to 10 connected to 192 network ports.
Figure 53 Bridge of Network Ports of Different Network Segments Ping another device (IP:192.168.0.111) on a PC with an IP of 10.12.2.233, and you can ping. 5.2 Transparent Transfer Operation Cases A KGW3204A and a computer are used, and the serial interface type of the gateway is RS-232. As a TCP Server, the gateway uses a USB-to-RS-232 serial communication line at the USB end of the computer, and the DB9 port of the USB-to-RS-232 serial communication line is connected to the serial port S1 of the terminal of this equipment.
Figure 54 Web Configuration TCP Server Page B. Configure PC-side parameters The PC end uses USB to RS-232 serial communication line, and the serial end of the serial communication line connects the terminal of KGW3204A to connect the PC with the device S1. Open the integrated debugging management tool "KyCMT", right-click the serial network debugging assistant column to create a new debugging assistant, select TCP Client as the communication port, fill in the local host address, fill in the KGW3204A device IP and port number...
Page 62
Right-click to create a new debugging assistant, select COM as the communication port, and configure the parameters related to the serial port to be the same as those of the serial port S1 of KGW3204A equipment. Click Open after the configuration is completed. B.
Figure 57 Configuration of Integrated Debugging Management Tool Parameters 5.2 ModbusRTU operation case A KGW3204A and a computer are used, and the serial interface type of the device is RS-232. KGW3204A is a TCP Server. The USB end of the computer uses a USB-to-RS-232 serial communication line, and the DB9 port of the USB-to-RS-232 serial communication line is connected to the serial port S1 of the terminal of this equipment.
Page 64
Figure 58 Configuring a Web Page B. Configure PC-side parameters The PC end uses USB to RS-232 serial communication line, and the serial end of the serial communication line is connected to the terminal of KGW3204A, which connects the PC with the device S1.
Page 65
Open the software "Modbus Poll", create a new Mbpoll window, click the menu bar Connection-Connection Setup, select Modbus TCP/IP as the communication port, fill in the device IP of KGW3204A and the port number set in step a for the remote address, and the Response Timeout setting value of the upper computer needs to be greater than the timeout set in the WEB page, and click OK.
Figure 61 Successful Communication between Modbus slave and Modbus Poll Tool 5.3.2 TCP Client mode A. Configure PC-side parameters The PC end uses USB to RS-232 serial communication line, and the serial end of the serial communication line is connected to the terminal of KGW3204A, which connects the PC with the device S1.
Page 67
Figure 62 Configure Modbus Slave Tool Parameters Open the software "Modbus Poll", create a new Mbpoll window, click the menu bar Connection-Connection Setup, and select Serial Port as the communication port. The parameters related to the serial port are configured to be the same as those of the device serial port S1. The Response Timeout setting value of the upper computer needs to be greater than the timeout set by the WEB page, and click OK.
name and password to log in to the Web page. Click "serial server"-"serial interface settings" in the navigation bar, select serial port 1, TCP Client for network mode and Modbus RTU for transmission mode, add a link, and the Slave Id, target IP and target port settings in the link are consistent with those in Modbus Slave tool settings, set serial port baud rate, data bits, check bits and stop bits, and click "Apply"...
Page 69
The configuration protocol project needs to be carried out in the integrated software KyPMT. Taking the Modbus protocol project as an example, the Modbus RTU acquisition service and Modbus RTU forwarding service are configured, and the specific operations are as follows: 1.
Page 70
Figure 67 Modbus Acquisition Service 3. New forwarding service The setting steps of forwarding service are the same as those of collecting service. Figure 68 Modbus Forwarding Service 4. Download project Click, download the project, and enter the user name edps and password yckyedps. Note: For the specific configuration methods of Modbus, DNP, IEC101, IEC103, IEC104, DL/T654-1997, DL/T654-2007, Siemens S7, OPCUA and IEC61850, please refer to the protocol configuration manual under the help menu of KyPMT tools.
Page 71
connection may be abnormal. B.Web page enables engineering Enter the device IP in the browser, enter the device Web page, click the data acquisition-protocol project list, select the project named Modbus project, and click Enable to activate and run the protocol project; Figure 69 Enabling Project C.
Page 72
Figure 70 Configure Modbus Slave Tool Parameters The PC end uses USB to RS-485 serial communication line, and the serial end of the serial communication line is connected with the terminal of the gateway, which connects the PC with the serial port 2 of the gateway equipment, that is, S2.
Page 73
in the following figure. Figure 72 Communication between Modbus slave and Modbus Poll tool is successful. D.KyPMT observation information point After the project is activated on the Web page, click the link on the KyPMT tool, enter the user name admin, and click OK to view the information such as the value, quality and update time of the information points in the collection service and forwarding service.
6.2 Dimensional Drawing 6.2.1 KPS/KGW310XA&320XA Overall dimensions: KPS/KGW3101A: 123x90x30 mm KPS/KGW3102A: 123x90x30 mm KPS/KGW3204A: 150x92x30 mm KPS/KGW3208A: 177x100x44 mm Unit: mm Figure 75 Dimensions of KPS/KGW 3101a/3102a...
6.3 Packing List Product packaging includes the following accessories: 1 device (4G gateway device includes 4G antenna) Packing list Certificate Note: The user manual can be obtained by QR code. If any of the above items are lost or damaged, please contact a sales representative.
Need help?
Do you have a question about the KPS310X Series and is the answer not in the manual?
Questions and answers