Seriallink SLK-S502 Serial Server Instruction Manual

June 12, 2024
Seriallink

SLK-S502 Serial server instruction manual
SLK-S502
Serial Server
Instruction manual

Product Introduction

1.1 Introduction

SERIALLINK SLK-S502 serial server converts multi-channel decentralized, low- speed, and different standard serial devices into Ethernet for centralized management. After installing the virtual serial port, it can realize remote reading of serial data. SLK-S502  serial server supports multiple working modes, including TCP server mode, TCP client mode, UDP mode, TCP/UDP Socket, Modbus RTU to Modbus TCP Server and other working modes, allowing user software to access the serial port through TCP plus port
number Line equipment. In addition, it also supports virtual serial port access to serial devices.
SERIALLINK SLK-S502 supports convenient and quick manual configuration of the IP address through a browser or Telnet terminal. At the same time, users can also use the easy-to-use Windows management software to automatically search for serial server devices in the LAN, and perform applications such as remote configuration management and working status monitoring.
features:

√ 2 x Adaptive 10/100/1000M Ethernet
√ 1 x R232 serial port (interface is RJ45)
√ 1 x RS485 serial port (interface as terminal)
√ 4 x Digital DI input
√ 1 x Digital quantity DO output, relay output
√  RS485 serial port with TVS, ESD protection
√  RS232 serial port with ESD protection
√  Multiple working modes: TCP server, UDP working mode, TCP client mode, Modbus RTU to Modbus TCP Server mode
√  Support WEB and Telnet two configuration methods
√  Wide voltage: DC9-28V power supply

1.2 Detailed Parameters

Item Description
CPU Dual-Core 880MHZ
RAM 1Gb DDR3 RAM default, can be customized to support 4Gb DDR3 RAM

maximum
NAND Flash| 128Mbytes default
Ethernet interface| Number of interfaces:2
speed:10/100 /1000Mbps, auto MDI/MDIX
Connector:8-pin RJ45
protect: 2.4 kV built-in
defaultIP:192.168.0.233
Serial port| Number of serial ports:2,1 x RS232,1 x RS485
The first channel is the RS232 serial port (RJ45) definition
Note: RXD, TXD, GND are connected with the previous terminal definitions to facilitate terminal wiring)
The second serial port RS485-definition

RS-485-2w: A,B

Serial parameter| Data bit: 5, 6, 7, 8
Stop bits: 1, 1.5, 2
Check Digit: None, Even, Odd Baud rate: 300bps to 115200 kbps
Serial port protection| RS232/485 with 15 kV ESD protection
RS232/485 with TVS protection
RS-485Terminal resistance: 120 Ω
Software performance| Network protocol: TCP, UDP, DHCP ,DNS
Configuration method: Web configuration
Working mode: TCP Server, TCP client, UDP, Modbus RTU to Modbus TCP Server
Windows 95/98/ME/NT/2000, Windows XP/2003/Vista/2008/7/8/8.1/10 (x86/x64), Windows 2008 R2/2012/2012 R2 (x64) Use the IP address and port number to access the serial port under LINUX
Physical

parameter

| Material: iron
Dimensions with mounting accessories86mm x 70mm x 25mm
temperature| Operating temperature: -40 to 75°C (-40 to 167°F)
storage temperature: -40 to 85°C (-40 to 167°F)
Relative humidity: 5 to 95%
power supply| Input voltage: DC9-28V
Warranties| 2 year

1.3 Appearance Design
1.3.1 Product Size

Seriallink SLK S502 Serial Server - fig1

1.3.2 Appearance Instructions

Seriallink SLK S502 Serial Server - fig2

Figure 1

RS232 WAN/LAN2 LAN1 Reset
Serial port Network port Network port Restore     factory     settings

button

Figure 2

PWR| Power indicator light| Always bright:Equipment power supply is normal Not bright : The device is not powered, please check whether the voltage is 9-28V
---|---|---
SYS| System indicator light| Flashing:Is now Entering the system Always bright(Very bright):The equipment is running Always bright(Slightly bright):The system does not start
LAN1| LAN 1 network port indicator| Flashing/Always bright:Access network Not bright:Not connected to the network
LAN2| WAN/LAN2 network port indicator| Flashing/Always bright:Access network Not bright:Not connected to the network

Figure 3

category parameter Description
POWER V+

Power input 9-28V

V-
RS458| B| RS458 Negative end
A| RS458 Positive end
RS232| TXD| RS232 Signal sending end
RXD| RS232 Signal receiving end
| GND| Ground terminal end
Din| DIN1|

Switching value input end

DIN2
DIN3
DIN4
12VDD| High level output of switching value
Dout| DO1| Switching value output end
COM1| Switching value output public end
DO2| Switching value output end
COM2| Switching value output public end

Parameters Configuration

2.1 Preparation Before Serial Port Server Configuration
Connect one of the LAN ports of the serial server directly to a computer or to a switch. Before logging in to the Web setting page of the serial server, you need to make sure that the management computer has an Ethernet card installed.
2.1.1 Set A Static IP Address.
Please set the IP address of the management PC (for example, set it to: 192.168.0.185) and the IP address of the device’s LAN port in the same network segment (the initial IP address of the device’s LAN port is:
192.168.0.233, and the subnet mask is 255.255. 255.0).
Start>>>Settings>>>Control Panel>>>Network&Internet>>>Ethernet>>>Network and Sharing Center,Modify as follows:

Seriallink SLK S502 Serial Server - fig3

2.1.2 Get IP
The network protocol of the LAN setting is DHCP (dynamic allocation) or you forget the IP address of the LAN port currently set, you can use the tool Seriallinkv1.2.exe to get the device IP information, as shown in the figure (LAN has been set to DHCP), search The IP address of the device model SLK-S502 is 192.168.20.182, and then the network bit in the IP address of the PC is changed to 192.168.20, see 2.1.1 for details.

Seriallink SLK S502 Serial Server - fig4

Double-click the SLK-S502 device information, you can also set temporary IP, change the host name, restart, restore factory settings and other operations.
Note: After logging in with the modified temporary IP, if the LAN protocol is static, it is recommended to reset and save in the LAN settings to change it back to the original IP address. For details, see 2.3.1 to change the device to the original address.
2.2 Login Configuration Page
Open IE or other browsers, enter the LAN port IP address in the address bar (default is 192.168.0.233), after the connection is established, in the pop-up login interface, log in as the system administrator (admin), that is, in the login interface Enter the password (the factory default setting of the password is admin).

Seriallink SLK S502 Serial Server - fig5

The default login password is admin. If the user needs to protect the configuration interface and avoid being modified by others, you can modify the login password. For detailed operations, please refer to 3.4.
2.3 Network Setting
2.3.1 Modify The Static Login Page Address
The default static address of the serial server is 192.168.0.233. You can see the network information in the navigation bar “Network Setting” >>> “LAN Setting”. You can also modify the static IP address, and after the modification, the new IP address will be used to log in to the page.

Seriallink SLK S502 Serial Server - fig6

2.3.2 DHCP
The LAN port of the serial server is connected to a switch or router, and you can select the DHCP network protocol to automatically obtain an IP address.after the computer is connected to the switch, log in to the page through the IP automatically obtained by the serial server DHCP. At this time, the IP of the serial server is assigned by the upper-level router. You need to check which IP the upper-level router assigns to the serial server, or use Seriallinkv1.2.exe Software, obtain the IP address, see 2.1.2 for details.

Seriallink SLK S502 Serial Server - fig7

2.4 Serial Port Configuration
2.4.1 Use Tools And Preparation
Select Serisl Utility>>>PROT 2 in turn to configure a port according to your needs. Here is an example of PORT 2. Connect the computer serial port, check the serial port as shown in the figure below, right click on the desktop This PC>>>Manage>>>System Tools>>>Device Manage>>>Ports(COM &LPT). Use tools UartAssist.exe and NetAssist.exe for TCP Server, TCP Client, UDP Server, and UDP Client simulation, and ModSim32.exe and ModScan32.exe for Modbus TCP simulation. You can use your familiar serial port and network debugging software. The difference between UDP Client and UDP Server is whether it needs to communicate with only a specific IP address. UDP Client only communicates with a specific server IP address.

Seriallink SLK S502 Serial Server - fig8

The settings of UartAssist.exe are as follows. The baud rate and stop bit can be changed as required. After the setting is completed, click Open.

Seriallink SLK S502 Serial Server - fig9

2.4.2 TCP Server
Select Serisl Utility>>>PORT2 in turn,select TCP Server as the network protocol, and choose the data type according to your needs. Generally, the choice is “Raw date”. You need to remember the local port after setting. When establishing a TCP connection, you need to use the IP address and port number of the serial server.Configure the baud rate, data bit, stop bit and parity bit of the serial port through the serial port configuration bar according to your needs. After the configuration is complete, click SAVA & APPLY.

Seriallink SLK S502 Serial Server - fig10

Maximum number: The default is 6, which means that up to 6 TCP Clients are supported to connect to the same serial port.
Time Out (s): The default is 300, which means that after the TCP Server establishes a connection, if there is no data, the connection will be disconnected after 300 seconds. If you need a permanent online connection, you can set the value to 0.
Open the software, select TCP Client, IP is the server address, the port is the same as the server port, and click Connect.

Seriallink SLK S502 Serial Server - fig11

2.4.3 TCP Client
Protocol select TCP Server, Local host addr select the IP address set by the computer, which is in the same network segment as the device’s LAN port IP. The Local host port is the default, and the client settings need to use Local host addr and Local host port,click Open.

Seriallink SLK S502 Serial Server - fig12

Select Serisl Utility>>>PORT2 in turn,select TCP Client as the network protocol, and the server IP and port number should be consistent with the software settings. Configure the baud rate, data bit, stop bit and parity bit of the serial port according to your needs through the serial port configuration bar. After the configuration is complete, click SAVA & APPLY.

Seriallink SLK S502 Serial Server - fig13

After saving and applying, the software will print “[2021-12-02 17:36:44.743]# Client 192.168.0.233:44380 gets online.”, indicating that the connection is successful.

Seriallink SLK S502 Serial Server - fig14

2.4.4 UDP Server
Select Serisl Utility>>>PORT2 in turn,select UDP Server as the network protocol, choose the data type according to your needs. Generally, the choice is Raw date. You need to remember the local port after setting. When establishing a UDP connection, you need to use the IP address and port number of the serial server. The baud rate, data bit, stop bit and parity bit of the serial port are configured according to your needs. After the configuration is complete, click SAVA & APPLY.

Seriallink SLK S502 Serial Server - fig15

Maximum number: The default is 6, which means that up to 6 UDP Clients are supported to connect to the same serial port.
Time Out (s): The default is 300, which means that after the UDP Server establishes a connection, if there is no data, the connection will be disconnected after 300 seconds. If you need a permanent online connection, you can set the value to 0.
The software settings are as follows, Protocol selects UDP, Local host addr selects the same network segment IP set by the computer and the device, and the Local host port defaults to it. Click Open after setting.

Seriallink SLK S502 Serial Server - fig16

UDP Server and UDP Client send and receive data diagram.

Seriallink SLK S502 Serial Server - fig17

2.4.5 UDP Client
Protocol select UDP, Local host addr select the IP address set by the computer, which is in the same network segment as the device’s LAN port IP. The Local host port is the default, and the client settings need to use Local host addr and Local host port,click Open.

Seriallink SLK S502 Serial Server - fig18

Select Serisl Utility>>>PORT2 in turn,choose UDP Client as the network protocol, and choose the data type according to your needs. Generally, the choice is Raw date. You need to remember the local port after setting.
The IP address and port number of the serial port server are used when establishing a UDP connection.
Compared with UDP Server, UDP Client has an additional server IP address and server port number. The purpose of this addition is to ensure the security of UDP data transmission. Network data only receives data from the server IP and server port number. The rest of the data are denied access. Configure the baud rate, data bit, stop bit and parity bit of the serial port through the serial port configuration bar according to your needs. After the configuration is complete, click SAVA & APPLY.

Seriallink SLK S502 Serial Server - fig19

UDP Client and UDP Server send and receive data diagram,

Seriallink SLK S502 Serial Server - fig20

2.4.5 Modbus TCP
Select Serisl Utility>>>PORT2 in turn,Select Modbus TCP as the network protocol. After setting the local port, remember to configure the baud rate, data bit, stop bit and parity bit of the serial port through the serial port configuration bar according to your needs. After the configuration is complete, click SAVA & APPLY.

Seriallink SLK S502 Serial Server - fig21

Here you need to use ModSim32.exe and ModScan32.exe to simulate the use, first open the software ModSim32, File>>>New to create a new file, Connection>>>Connect>>>Port 3 (the choice here is the connection between your computer and the device port).

Seriallink SLK S502 Serial Server - fig22

The pop-up dialog box is as follows, the baud rate, data bit, stop bit and parity bit are changed according to the values set on the web page.

Open the software ModScan32, Connection>>>Connect.

Seriallink SLK S502 Serial Server - fig24

The pop-up dialog box is as follows, select Remote modbusTCP Server, fill in the IP Address and Service Port, and then click OK.

Seriallink SLK S502 Serial Server - fig25

The selected settings in ModSim32 and ModScan32 software need to be consistent.

Seriallink SLK S502 Serial Server - fig26

Seriallink SLK S502 Serial Server - fig27

2.4.6 Transport Proto
When selecting TCP Server, the data type also has the option of Telnet (RFC2217), and a software putty.exe is used here.Select Serisl Utility>>>PORT2 in turn,Select TCP Server or UDP Server as the Network Proto, and Telnet (RFC2217) as the Transport Proto. After the configuration is complete, click SAVE & APPLY.

Seriallink SLK S502 Serial Server - fig28

Open the putty.exe software, fill in the server IP address and port number, select Telent for Connection type, set as follows, click Open after the configuration is complete.

Seriallink SLK S502 Serial Server - fig29

If no error is prompted after opening, a pure black dialog box will be displayed, as shown below.

Seriallink SLK S502 Serial Server - fig30

Click the putty dialog box, enter any character, and the result is as follows.

Seriallink SLK S502 Serial Server - fig31

2.4.7 POE Power
The serial port power supply function switch is closed by default. Log in to the serial server page when you need to use it, click Serial Utility>>>POE Power, select ON, and then click SAVE&APPLY.

Seriallink SLK S502 Serial Server - fig32

Routing Setting

3.1 Firewall
The firewall is turned on by default. When doing DMZ and Port Mapping, you need to disable the firewall. To disable the firewall, click Routing Setting>>>Firewall, select Disable for the firewall, and then click “SAVE&APPLY”.

Seriallink SLK S502 Serial Server - fig33

3.2 Port Mapping
Compared with DMZ (3.3), port forwarding is more refined control. Data packets sent to a certain port can be forwarded to a certain host on the LAN side, so that different ports can be transferred to different hosts. First, you need to disable the firewall.

Seriallink SLK S502 Serial Server - fig34

Click Routing Setting>>>Port Mapping and enter the “Port Forwards” interface to configure.
Name: Specify the name of this rule, you can give a meaningful name.
Protocol: Specify the protocol to be forwarded, which can be TCP, UDP, or TCP/UDP.
Internal IP address: select the IP address that needs to be forwarded to the external network.
Internal port: the port to be forwarded by the downstream device or this machine.
External port: Add this external port through the wan port ip to access the downstream device.
After configuration, click the “ADD” button to add a forwarding rule. Click the “SAVE&APPLY” button to make the rule effective.

Seriallink SLK S502 Serial Server - fig35

After the addition is successful, there will be an extra port forwarding rule, click “SAVE&APPLY” to make this rule effective. You can add multiple rules.

Seriallink SLK S502 Serial Server - fig36

Check the wan port ip, through the wan port ip and the external port number, you can access the internal port of the downstream device or the local device.

Seriallink SLK S502 Serial Server - fig37

3.3 DMZ
The DMZ function can map the WAN port address to a host on the LAN side; all packets to the WAN address will be transferred to the designated LAN host to achieve two-way communication. In fact, a host in the intranet is completely exposed to the Internet and all ports are opened.
It is equivalent to all port mapping. It is equivalent to using the public IP directly.
First, you need to disable the firewall.

Seriallink SLK S502 Serial Server - fig38

Click Routing>>>DMZ, check Enable, set the ip address assigned by the lan port to the downstream device, forward all the ports of the downstream device, and you can directly access it through the ip address of the wan port.
Enable: Check Enable
Internal IP address: PC end IP address
After the configuration is complete, click “SAVE&APPLY” to make it effective.

Seriallink SLK S502 Serial Server - fig39

Check the wan port ip, you can directly access the downstream device through the wan port ip. If you can’t access it, the possible cause is that the firewall of the downstream device is turned on, and the firewall of the downstream device needs to be turned off.

Seriallink SLK S502 Serial Server - fig40

You can access the downstream device directly through the ip of the wan port. (Note: The computer needs to be in the same local area network as the wan port ip to be able to access)

Seriallink SLK S502 Serial Server - fig41

Switch Control

4.1 Switch DI/DO
Click Switch Control>>>Switch DI/DO, select Transport Protocol, Local Port, and Power Input as needed.
Here, follow the instructions of Passive Input and Active Input of Power Input.
Passive Input:
After changing the power input to Passive Input, click Save and Apply.

Seriallink SLK S502 Serial Server - fig42

Open ModScan32.exe software, click Connection>>>Connect on the menu bar, fill in the pop-up window IP Address as the IP address of the LAN port, Service Port as the local port in the Switch Control, and then click OK, the settings are as follows:

Seriallink SLK S502 Serial Server - fig43

As shown in the figure below, the area Address setting value in the red box: 0001, the Length setting value: 4, and the MODBUS Point Type select 02: INPUT STATUS.

Seriallink SLK S502 Serial Server - fig44

This is mainly for demonstration. The short connection method is used. A is connected to CND and B is connected to DIN1. The interface corresponds to the value in the software one-to-one. DIN1 corresponds to 10001, DIN2 corresponds to 10002, DIN3 corresponds to 10003, DIN4 corresponds to 10004, and the following brackets The value will vary according to the wiring method, as shown in the figure.

Seriallink SLK S502 Serial Server - fig45

AcTive Input:
After changing the power input to Active Input, click SAVE&APPLY.

Seriallink SLK S502 Serial Server - fig46

Open ModScan32.exe software, click Connection>>>Connect on the menu bar, fill in the pop-up window IP Address as the IP address of the LAN port, Service Port as the local port in the Switch Control, and then click OK, the settings are as follows:

Seriallink SLK S502 Serial Server - fig47

As shown in the figure below, the area Address setting value in the red box: 0001, the Length setting value: 4, and the MODBUS Point Type select 02: INPUT STATUS.

Seriallink SLK S502 Serial Server - fig48

This is mainly for demonstration. The short connection method is adopted. A is connected to 12VDD and B is connected to DIN1. The interface corresponds to the value in the software one-to-one. DIN1 corresponds to 10001, DIN2 corresponds to 10002, DIN3 corresponds to 10003, DIN4 corresponds to 10004, and the following brackets The value will vary according to the wiring method, as shown in the figure.

Seriallink SLK S502 Serial Server - fig49

Equipment Manage

5.1 Diagnosis
This function is used to test whether it is connected to the Internet, the PING address can be selected, or you can fill in a well-known domain name (a website that can be accessed normally), and then click PING, wait for the result, if”ping: bad address ‘****’” appears, it means there is no ping. Please check the domain name, network cable access to the WAN port, WAN settings and other issues.

Seriallink SLK S502 Serial Server - fig50

5.2 Date Time
You can choose to synchronize the local time, or you can synchronize the time of the NTP server.

Seriallink SLK S502 Serial Server - fig51

5.3 Language Setting
Modify the language of the serial server, and you need to save it before you can use it after modification.

Seriallink SLK S502 Serial Server - fig52

5.4 Modify Password
Change the login password of the serial server page
Password:new password
Confirmation:Enter again to confirm the password
If the password does not match the confirmed password, the password modification will fail.
If they are the same, the modification is successful. After the password is modified, the password will take effect the next time you log in to the page.

Seriallink SLK S502 Serial Server - fig53

5.5 Update Firmware
Image:Click “Choose File” to select your firmware file. Click “FLASH IMAGE…”.
Checksum:MD5 of the firmware
Size:The size of the firmware file
Click “PROCEED” to start the firmware upgrade

Seriallink SLK S502 Serial Server - fig54

5.6 Factory Reset
Restoring the factory settings can effectively solve some errors caused by improper configuration.

Seriallink SLK S502 Serial Server - fig55

5.7 Reboot
Device Reboot:Click PERFORM REBOOT, the device restarts.
Time Reboot:Tick enable, set the time, click SAVA & APPLY, after it is turned on, it will restart at a fixed time every day (the device time needs to be correct).

Seriallink SLK S502 Serial Server - fig56

Check

6.1 Status
Display information related to the system.

Seriallink SLK S502 Serial Server - fig57

6.2 System Log
Display system log.

Seriallink SLK S502 Serial Server - fig58

Logout

7.1 Logout
Exit and enter the login page.

Seriallink SLK S502 Serial Server - fig59

Thank you for your support of SERIALLINK products.
If you have any questions, please email: [email protected] or www.seriallink.net

WEB:www.seriallink.cn
e-Mail:[email protected]

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Seriallink User Manuals

Related Manuals