Page 3
SICOM3171 Software Operation Manual 201009 Preface SICOM3171 is a high‐performance embedded serial server specially designed by KYLAND Technology CO., LTD., supporting one 10/100Base‐TX Ethernet copper port, four RS232/RS485/RS422 serial ports, supporting TCP/UDP Server and TCP/UDP Client, supporting RS232/RS485/RS422 mode, supporting 5, 6, 7, 8 data bits, and 1, 2 stop bits, supporting parity and no parity. ...
SICOM3171 Serial Device Server Software Operation Manual Table of Contents Chapter 1: Function Introduction ............................ 6 1.1 Function Overview .............................. 6 1.2 Basic settings ................................. 6 1.3 uboot, kernel, filesystem ............................ 6 Chapter 2: Configuration and Application of Serial Server .................. 8 2.1 Channel Configuration ............................... 8 2.1.1 Telnet Configuration............................ 8 2.1.2 WEB Configuration ............................. 11 2.2 Serial server network parameter configuration ...
Page 5
SICOM3171 Serial Device Server Software Operation Manual 4.2 Serial port test ................................ 22 4.2.1 Ethernet port‐serial port test ......................... 22 4.2.2 TCP server‐TCP Client serial port testing .................. 24 Appendix A: Q&A .................................. 1 ...
SICOM3171 Serial Device Server Software Operation Manual Chapter 1: Function Introduction 1.1 Function Overview SICOM3171 serial server is a communication interface protocol converter which realizes data conversion from RS232/422/485 terminal to TCP/IP network. SICOM3171 serial server provides 4 full‐function RS232/422/485 serial ports with RJ45 connectors, one 10/100Mbps self‐adaptive Ethernet port, Reset button, real time clock (RTC), SSH, SSL/TLS etc. ...
Page 7
SICOM3171 Serial Device Server Software Operation Manual kernel: linux operation system kernel programm filesystem: file system ...
SICOM3171 Serial Device Server Software Operation Manual Chapter 2: Configuration and Application of Serial Server 2.1 Channel Configuration Serial server can be embedded into devices and convert four‐channel serial data to TCP/IP protocol packets and connect to Ethernet. TCP/IP protocol supports connection‐based TCP protocol and connectionless‐based UDP protocol simultaneously, so that any PC in the network can control serial devices and share the information of serial devices. User can use the Ethernet port in serial server to Telnet or WEB login the server to set the serial server IP address and working mode. Before using serial server, user should obtain the unique IP address for remote setting and normal working. SICOM3171 serial server has one Ethernet port. The factory default settings of serial server: IP address is 192.168.0.3 and subnet mask is 255.255.255.0 2.1.1 Telnet Configuration Firstly, use cross‐over cable or straight‐through cable to connect the Ethernet port (ETH) in serial server with user’s PC network card. In the “Operation” window of Windows system or ...
Page 9
SICOM3171 Serial Device Server Software Operation Manual Figure 2‐2 User login Figure 2‐3 Telnet configuration interface Table 2‐1 Channel configuration commands Command Function Description ‐‐save save current channel configuration ‐‐saveall save all channel configuration ...
Page 10
SICOM3171 Serial Device Server Software Operation Manual ‐‐read read configuration file ‐‐show show current channel configuration ‐‐close close current channel ‐‐start restart current channel ‐‐help show help file ‐‐version show current version Table 2‐2 Serial port parameter setting Command Function Description ‐c, ‐‐channel=[1,2,3,4] specify a channel (mandatory) ‐d, ‐‐data=[5,6,7,8] setting data bit ‐s, ‐‐stop=[1,2] setting stop bit setting parity mode ‐P, ‐‐parity=[O,M,N,L,P] L:None, M:Even, N:Odd ,O:Mark, P:Space setting baud rate of current channel serial port optional baud rate: ‐b, 1000000,921600,576000,500000,460800,230400,11520 ‐‐baudrate=BAUDRATE 0,57600,38400,19200,9600,4800,2400,1800,1200,600,30 0, 200,150,134,110,75,50 ...
SICOM3171 Serial Device Server Software Operation Manual 2.1.2 WEB Configuration Operation Steps: Connect the device Ethernet port (ETH) with the management PC through Ethernet; input device IP address in IE browser, such as IP is 192.168.0.3; press “Enter”; enter default user name “root” and default password “123”; click “Sign in” to enter the WEB main page of serial server. After entering WEB main page of serial server, click “Channel Setup” in the main menu to enter channel configuration page, as shown in Figure 2‐5 Configure data port channel according to the table 2‐4, 2‐5 and 2‐6 Table 2‐4: serial port parameter setting Command Function Description Channel ID=[1,2,3,4] specify a channel (mandatory) Stop Bit=[1,2] setting stop bit Data Bit=[5,6,7,8] setting data bit Parity=[None, Even, Odd, Mark, setting parity mode Space] setting baud rate of current channel serial port ...
Page 12
SICOM3171 Serial Device Server Software Operation Manual No delay=[No, Yes] if there is delay in network data Table 2‐6 Function Keys Command Function Description Apply setting apply the setting and save cancel current setting and read the Cancel changes previous setting Auto Refresh auto refresh Figure 2‐4 WEB login interface Figure 2‐5: Channel Configuration ...
SICOM3171 Serial Device Server Software Operation Manual 2.2 Serial server network parameter configuration 2.2.1 Telnet configuration Setting IP address, MAC address and network mask Method 1: #ifconfig eth0 192.168.0.1 netmask 255.255.255.0 #ifconfig eth0 hw ether 00:11:22:33:44:55 Method 2: ech ipaddr=192.168.0.1 >> /etc/eth‐setting ech netmask=255.255.255.0 >> /etc/eth‐setting ech gatewayip=192.168.0.1 >> /etc/eth‐setting ech dns=192.168.0.1 >> /etc/eth‐setting ech ethaddr=00:11:22:33:44:55 >> /etc/eth‐setting /etc/init.d/ifconfig‐eth save Note 1: method 1 can temporarily change IP address or MAC address, and take them effect immediately Method 2 can permanently change IP address or MAC address. Only after restarting the device, can the configuration comes into effect. Note 2: If IP address is changed, the established Telnet remote access will be disconnected. 2.2.2 WEB Configuration Operation steps: ...
Page 14
SICOM3171 Serial Device Server Software Operation Manual setting MAC address of Ethernet port Eth0:Local MAC Address (ETH) SSH Server enable or disable SSH safe Shell mode =[Enable, Disable] SSL enable or disable HTTPS safe WEB mode =[Enable, Disable] LLDP Protocol enable or disable LLDP protocol =[Enable, Disable] SNTP Client enable or disable SNTP client function =[Enable, Disable=] Remote server remote SNTP server address Synchronous synchronization time Time zone time zone Summer time enable or disable daylight saving time Last SYNC Last synchronization time Table 2‐8 Function keys Command ...
SICOM3171 Serial Device Server Software Operation Manual Figure 2‐6 Serial server network parameter configuration 2.3 Device management configuration 2.3.1 Modify RTC time by Telnet #date [[[[[YY]YY]MM]DD]hh]mm[.ss] #hwclock ‐w ‐f /dev/rtc1 2.3.2 WEB configuration of device management Operation steps: Enter WEB main page of serial server; click “Administration” in the main menu to enter the management configuration page as shown in Figure 2‐7 For network configuration, please refer to table 2‐9 and 2‐10 Table 2‐9 Administration items Command Function Description setting local WEB management user User Name name setting local WEB management user User Password password Set the RTC clock setting local RTC clock RESET TimeOut ...
SICOM3171 Serial Device Server Software Operation Manual Figure 2‐7 Management Configurations 2.3.3 Restore factory defaults Enter WEB main page of serial server; click “Administration” in the main menu to enter the configuration page; click “Restore Factory Defaults” to restore factory default settings. 2.3.4 Reboot Switch Enter WEB main page of serial server; click “Administration” in the main menu to enter the configuration page; click “Reboot Switch” to restart the device. 2.3.5 Statistics of transmitting bytes between serial port and network Operation steps: Enter WEB main page of serial server; click “Status” in the main menu to enter the transmit statistics page, shown in Figure 2‐8 Checking the number of receiving and transmitting bytes between serial port and network ...
SICOM3171 Serial Device Server Software Operation Manual Command Function Description Reset reset the statistics of a channel to 0 Refresh manual refresh Auto Refresh auto refresh Show SysLog the function of checking system log Figure 2‐8 Statistics of Transmitting bytes 2.4 Serial Server Application 2.4.1 Serving as TCP server Serial server adopts TCP server mode to achieve the data conversion and transmission from serial port to network port. After setting a unique IP and corresponding port number for serial server in the network, serial server starts to monitor. If there are hosts in the network sending “connection” requests, serial server will accept the requests and send the Ethernet ‐port‐received data from the serial port; then send the serial‐port‐received data from the Ethernet port in the way of TCP/IP protocol message; device won’t make any analysis and ...
SICOM3171 Serial Device Server Software Operation Manual 2.4.2 Serving as TCP Client In the Ethernet network of devices, if set one to be TCP Server and other one to be TCP client. When the TCP client is powered on, it will automatically connect to the server to achieve ...
SICOM3171 Serial Device Server Software Operation Manual Chapter 3: System Upgrade 3.1 Upgrade boot, kernel, filesystem 3.1.1 Upgrade by Telnet Operation command: update.sh [boot|kernel|rootfs] <user> <password> <ftp ip> <file name> 1) Upgrade boot update.sh boot username password 192.168.0.50 u‐boot.bin 2) Upgrade kernel update.sh kernel username password 192.168.0.50 uImage 3) Upgrade filesystem update.sh rootfs username password 192.168.0.50 ramdisk.gz 3.1.2Upgrade by WEB 1) Upgrade kernel Operation steps: Enter WEB main page of serial server; click “upgrade” in the main menu to enter the software upgrade page, shown in the Figure 3‐1 ...
Page 20
SICOM3171 Serial Device Server Software Operation Manual Table 3‐2 function keys Command Function description upgrade upgrade Warning: in the upgrade process, don’t cut off the power or restart the device to avoid abnormal ...
Page 21
SICOM3171 Serial Device Server Software Operation Manual Figure 3‐2 Upgrade file system ...
SICOM3171 Serial Device Server Software Operation Manual Chapter 4 Test Methods 4.1 Self inspection After the device is powered on, PWR indicator will be always on. 20 seconds later device will be normally started up and RUN indicator will keep blinking. 4.2 Serial port test 4.2.1 Ethernet portserial port test Serial server has four channel data. Data interface has three modes: RS232/RS485/RS422. But at the same time, one channel serial port only supports one mode which can be set by software. Connect D1 serial port with RS232 mode on serial server to COM1 port of testing PC; connect Ethernet ...
Page 23
SICOM3171 Serial Device Server Software Operation Manual Figure 4‐2 D1 Channel Setting Figure 4‐3 TCP/IP hyper terminal setting D1 testing data: Operate hyper terminal on the testing PC; enter “192.168.0.3” in host address; input “9201” in port number; use “TCP/IP (Winsock)” to connect, click “Apply” to open hyper terminal ...
SICOM3171 Serial Device Server Software Operation Manual interface; click the button on the toolbar. Operate hyper terminal on the testing PC; enter Baud rate “9600”, Data Bit “8”, Parity “none”, Stop bit “1”, Flow control “off”; select “COM1” to connect at the window; click “Apply” to open hyper terminal interface; click the button on the toolbar. After that, the characters input in TCP/IP hyper terminal window should be displayed in COM1 hyper terminal window. In the same way, the characters typed in COM1 hyper terminal ...
Page 25
SICOM3171 Serial Device Server Software Operation Manual Figure 4‐4: TCP server‐TCP Client data testing Figure 4‐5 TCP server settings ...
Page 26
SICOM3171 Serial Device Server Software Operation Manual Figure 4‐6: TCP Client settings Testing data: Operate hyper terminal on the testing PC; enter Baud rate “9600”, Data Bit “8”, Parity “none”, Stop bit “1”, Flow control “off”; select “COM1” to connect at the window; click “Apply”. Operate hyper terminal on the testing PC; enter Baud rate “9600”, Data Bit “8”, Parity “none”, Stop bit “1”, Flow control “off”; select “COM2” to connect at the window; click “Apply”. Enter the hyper terminal interface; click the button .on the toolbar. After that the characters input in COM1 hyper terminal window should be displayed in COM2 hyper terminal ...
SICOM3171 Serial Device Server Software Operation Manual Appendix A: Q&A Q: forget WEB password A: 1) Telnet serial server, use the following command #cat /etc/httpd.conf Checking WEB configuration and obtaining user name and password ...
Need help?
Do you have a question about the SICOM3171 Series and is the answer not in the manual?
Questions and answers