KYLAND Technology SICOM3171 Series User manual

SICOM3171 Software Operation Manual 201009
1
SICOM3171 Series
Managed Traffic Ethernet
Serial Server
Software Operation Manual
KYLAND Technology Co., Ltd.

SICOM3171 Software Operation Manual 201009
2
SICOM3171SeriesManagedTrafficEthernetSerialServer
SoftwareOperationManual
Copyright©2010KYLANDTechnologyCO.,LTD.
Allrightsreserved.
Nopartofthisdocumentationmaybeexcerpted,reproduced,translated,annotatedor
duplicated,inanyformorbyanymeanswithoutthepriorwrittenpermissionofKYLAND
Corporation.
Publisher:KYLANDTechnologyCO.,LTD.
Address:ChongxinCreativeBuilding,ShixingEastRoad18#,
ShijingshanDistrict,Beijing,China
Website:http://www.kyland.cn
postcode:100041
Tel:(+8610)88796676
FAX:(+8610)88796678
E‐mail:sales@kyland.cn
Version:1st,Sep,2010

SICOM3171 Software Operation Manual 201009
3
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/RS422serialports,supportingTCP/UDPServerandTCP/UDPClient,supporting
RS232/RS485/RS422mode,supporting5,6,7, 8databits,and1,2stopbits,supportingparity
andnoparity.
SICOM3171 Serial Server Software Operation Manual mainly introduces the configuration and
applicationofserialserver,testmethods,etc.Itisareference for users in system startup,
expansionandroutinemaintenance.Itisalsoapracticalteachingmaterialforusertrainingand
technicianstudy.
Thismanualmainlyincludesthefollowingcontents:
Chapter1FunctionsofSerialServer;
Chapter2ConfigurationandApplicationofSerialServer;
Chapter3SystemUpgradeofSerialServer;
Chapter4TestMethodsofSerialServer;
AppendixAIntroducesUser’sQuestionandAnswersofSerialServer(Q&A);
Statement:Asproductandtechnologyupgradesandimprovesconstantly,thecontentsof
thisdo c u m e n t maynotcompletelyaccordwiththeactualproduct.Forproductupgrading
information,pleasevisitourcompany’swebsiteordirectlycontactwithourbusiness
representative.

SICOM3171 Serial Device Server Software Operation Manual
4
Table of Contents
Chapter1:FunctionIntroduction...........................................................................................................................................6
1.1FunctionOverview......................................................................................................................................................6
1.2Basicsettings.................................................................................................................................................................6
1.3uboot,kernel,filesystem...........................................................................................................................................6
Chapter2:ConfigurationandApplicationofSerialServer.........................................................................................8
2.1ChannelConfiguration...............................................................................................................................................8
2.1.1TelnetConfiguration......................................................................................................................................8
2.1.2WEBConfiguration.....................................................................................................................................11
2.2Serialservernetworkparameterconfiguration..........................................................................................13
2.2.1Telnetconfiguration...................................................................................................................................13
2.2.2WEBConfiguration.....................................................................................................................................13
2.3Devicemanagementconfiguration...................................................................................................................15
2.3.1ModifyRTCtimebyTelnet.......................................................................................................................15
2.3.2WEBconfigurationofdevicemanagement......................................................................................15
2.3.3Restorefactorydefaults.............................................................................................................................16
2.3.4RebootSwitch...............................................................................................................................................16
2.3.5Statisticsoftransmittingbytesbetweenserialportandnetwork...........................................16
2.4SerialServerApplication.......................................................................................................................................17
2.4.1ServingasTCPserver................................................................................................................................17
2.4.2ServingasTCPClient.................................................................................................................................18
2.4.3UDPmode.......................................................................................................................................................18
Chapter3:SystemUpgrade....................................................................................................................................................19
3.1Upgradeboot,kernel,filesystem.........................................................................................................................19
3.1.1UpgradebyTelnet........................................................................................................................................19
3.1.2UpgradebyWEB...........................................................................................................................................19
Chapter4TestMethods...........................................................................................................................................................22
4.1Selfinspection............................................................................................................................................................22

SICOM3171 Serial Device Server Software Operation Manual
5
4.2Serialporttest............................................................................................................................................................22
4.2.1Ethernetport‐serialporttest.................................................................................................................22
4.2.2 TCPserver‐TCPClientserialporttesting.........................................................................................24
AppendixA:Q&A..........................................................................................................................................................................1

SICOM3171 Serial Device Server Software Operation Manual
6
Chapter 1: Function Introduction
1.1FunctionOverview
SICOM3171 serial server is a communication interface protocol converter which realizes
dataconversionfromRS232/422/485terminaltoTCP/IPnetwork.
SICOM3171 serial server provides 4 full‐function RS232/422/485 serialportswithRJ45
connectors, one 10/100Mbps self‐adaptive Ethernet port, Reset button,realtimeclock
(RTC),SSH,SSL/TLSetc.
Serial server supports TCP/UDP Server mode and TCP/UDP Client mode,
RS232/RS485/RS422mode,5,6,7,8databit,1,2stopbit;andsupportparityand noparity,
xon/xoffsoftwareflowcontrol..
Itsbuilt‐inembeddedLinuxoperationsystemanditscompleteTCP/IP communication
protocolcanprovidebidirectionaltransparentdatatransmissionbetweenRS‐232/422/485
terminalandTCP/IPnetwork.
SICOM3171uses10pin‐RJ45serialport.Hardwareinterfacewiringisasfollows:
RJ‐4510‐PinJack RS232 RS422 RS2485
1 N/A N/A TxD‐
2 N/A TxD/RxD‐ RxD‐
3 N/A N/A N/A
4 N/A N/A N/A
5 TxD N/A TxD+
6 RxD TxD/RxD+ RxD+
7 SG SG SG
8 N/A N/A N/A
9 N/A N/A N/A
10 N/A N/A N/A
1.2 Basicsettings
Defaultusername:root,password:123
Defaultip:192.168.0.3
Defaultpath:/root
Webusername:root,Webpassword:123
1.3 uboot,kernel,filesystem
l i n u x e m b e dde d de v e lo p m e n t m a i n lyreferstouboot,kernel,Filesystem:
uboot:bootstrapprogram

SICOM3171 Serial Device Server Software Operation Manual
7
kernel:linuxoperationsystemkernelprogramm
filesystem:filesystem

SICOM3171 Serial Device Server Software Operation Manual
8
Chapter 2: Configuration and Application of Serial
Server
2.1ChannelConfiguration
Serialservercanbeembeddedintodevicesandconvertfour‐channelserialdatatoTCP/IP
protocolpacketsandconnecttoEthernet.TCP/IPprotocolsupportsconnection‐basedTCP
protocol and connectionless‐based UDP protocol simultaneously, sothatanyPCinthe
networkcancontrolserialdevicesandsharetheinformationofserialdevices.
UsercanusetheEthernetportinserialservertoTelnetorWEBlogintheservertosetthe
serialserverIPaddressandworkingmode.Beforeusingserialserver,usershouldobtainthe
uniqueIPaddressforremotesettingandnormalworking.
SICOM3171serialserverhasoneEthernetport.Thefactorydefaultsettingsofserialserver:
IPaddressis192.168.0.3andsubnetmaskis255.255.255.0
2.1.1TelnetConfiguration
Firstly,usecross‐overcableorstraight‐throughcabletoconnecttheEthernetport(ETH)in
serialserverwithuser’sPCnetworkcard.Inthe“Operation”wi n dow of W i n do w s s y s t e m o r
MS‐DOS command line prompt, type “telnet 192.168.0.3” to enter theTelnetwindow,and
system will display “System login”, please enter user name “root” and password “123”,
shownintheFigure2‐1,Figure2‐2andFigure2‐3
Figure2‐1TelnetLogin

SICOM3171 Serial Device Server Software Operation Manual
9
Figure2‐2Userlogin
Figure2‐3Telnetconfigurationinterface
Table2‐1Channelconfigurationcommands
CommandFunctionDescription
‐‐save savecurrentchannelconfiguration
‐‐saveall saveallchannelconfiguration

SICOM3171 Serial Device Server Software Operation Manual
10
‐‐read readconfigurationfile
‐‐show showcurrentchannelconfiguration
‐‐close closecurrentchannel
‐‐start restartcurrentchannel
‐‐help showhelpfile
‐‐version showcurrentversion
Table2‐2Serialportparametersetting
Command FunctionDescription
‐c,‐‐channel=[1,2,3,4] specifyachannel(mandatory)
‐d,‐‐data=[5,6,7,8] settingdatabit
‐s,‐‐stop=[1,2] settingstopbit
‐P,‐‐parity=[O,M,N,L,P] settingparitymode
L:None,M:Even,N:Odd,O:Mark,P:Space
‐b,
‐‐baudrate=BAUDRATE
settingbaudrateofcurrentchannelserialport
optionalbaudrate:
1000000,921600,576000,500000,460800,230400,11520
0,57600,38400,19200,9600,4800,2400,1800,1200,600,30
0,200,150,134,110,75,50
‐x[on,off] settingsoftwareflowcontrol
‐m,‐‐mode=[rs232,rs485,rs422] settingserialportmode
Table2‐3connectionmodeconfiguration
Command FunctionDescription
‐‐server,‐‐client settingthechannelisserverorclient
‐‐tcp,‐‐udp settingtheprotocoltype:tcporudp
‐a,‐‐address=IP settingtheportIP.IftheprotocoltypeisTCPandthe
channelisserver,userneednotcareaboutthisitem
‐p,‐‐port=[1024~65535]
settingtheTCP/IPportnumber.Ifitisudpport,thenext
udpportnumberisoccupied.Ifthisudpportisserver,this
portisatransmittingport,andthenextportisareceiving
port;ifthisudpportisclient,thisportisforreceivingand
thenextportisfortransmission
‐n,‐‐nodelay
‐‐delay ifthereisdelayinnetworkdata
Configurationexample:
#channelc‐c1‐mrs485‐b115200‐d8‐pL‐s1‐‐server‐‐tcp‐‐port9200
Thiscommandistosetchannel1withrs485mode,baudrate“115200”,databit“8”,parity
“none”,stopbit“1”andthenetworkmodeofchannelistcpSOCKET,andservermonitorport
9200.

SICOM3171 Serial Device Server Software Operation Manual
11
2.1.2WEBConfiguration
OperationSteps:
zConnectthedeviceEthernetport(ETH)withthemanagementPCthroughEthernet;input
deviceIPaddressinIEbrowser,suchasIPis192.168.0.3;press“Enter”;enterdefaultuser
name“root”anddefaultpassword“123”;click“Signin”toentertheWEBmainpageofserial
server.
zAfterenteringWEBmainpageofserialserver,click“ChannelSetup”inthemainmenuto
enterchannelconfigurationpage,asshowninFigure2‐5
zConfiguredataportchannelaccordingtothetable2‐4,2‐5and2‐6
Table2‐4:serialportparametersetting
Command FunctionDescription
ChannelID=[1,2,3,4] specifyachannel(mandatory)
StopBit=[1,2] settingstopbit
DataBit=[5,6,7,8] settingdatabit
Parity=[None, Even, Odd, Mark,
Space] settingparitymode
BaudRate
setting baud rate of current channel
serialport
optionalbaudrate:
1000000,921600,576000,500000,46080
0,230400,115200,57600,38400,19200,9
600,4800,2400,1800,1200,600,300,
200,150,134,110,75,50
StreamContrl[on,off] settingsoftwareflowcontrol
Serialmode=[rs232,rs485] settingserialportmode
Table2‐5networkparameterconfiguration
Command FunctionDescription
Server/Client
=[Server,Client] settingthechannelisclientorserver
ProtocolType
=[TCP,UDP] settingprotocoltype:tcporudp
IPAddress=IP
setting the port IP. If the protocol type is
TCPandtheport is server,userneednot
careaboutthisitem
Port=[1024~65535]
settingtheTCP/IPportnumber.Iftheport
isudp,thenextudpnumberisoccupied.If
thisudpportisserver,thisportisa
transmittingport,andthenextportisa
receiving port; if this udp port is client,
thisportisforreceivingandthenextport
isfortransmission

SICOM3171 Serial Device Server Software Operation Manual
12
Nodelay=[No,Yes] ifthereisdelayinnetworkdata
Table2‐6FunctionKeys
Command FunctionDescription
Applysetting applythesettingandsave
Cancelchanges cancel current setting and read the
previoussetting
AutoRefresh autorefresh
Figure2‐4WEBlogininterface
Figure2‐5:ChannelConfiguration

SICOM3171 Serial Device Server Software Operation Manual
13
2.2Serialservernetworkparameterconfiguration
2.2.1Telnetconfiguration
SettingIPaddress,MACaddressandnetworkmask
Method1:
#ifconfigeth0192.168.0.1netmask255.255.255.0
#ifconfigeth0hwether00:11:22:33:44:55
Method2:
echipaddr=192.168.0.1>>/etc/eth‐setting
echnetmask=255.255.255.0>>/etc/eth‐setting
echgatewayip=192.168.0.1>>/etc/eth‐setting
echdns=192.168.0.1>>/etc/eth‐setting
echethaddr=00:11:22:33:44:55>>/etc/eth‐setting
/etc/init.d/ifconfig‐ethsave
Note1:method1cantemporarilychangeIPaddressorMACaddress,andtakethemeffect
immediately
Method2canpermanentlychangeIPaddressorMACaddress.Onlyafterrestartingthe
device,cantheconfigurationcomesintoeffect.
Note2:IfIPaddressischanged,theestablishedTelnetremoteaccesswillbedisconnected.
2.2.2WEBConfiguration
Operationsteps:
zEnterWEBmainpageofserialserver;click“NetworkSetup”inthemainmenutoenter
networkconfigurationpageasFigure2‐6
zFornetworkconfiguration,pleaserefertotable2‐7and2‐8
Table2‐7:NetworkSetup
Command FunctionDescription
Eth0:LocalIPAddress settingIPaddressofEthernetport(ETH)
Eth0:SubnetMask settingsubnetmaskofEthernetport(ETH)
Eth0:Gateway settinggatewayofEthernetport(ETH)
Eth0:LocalDSN settingDNSoflocalserver

SICOM3171 Serial Device Server Software Operation Manual
14
Eth0:LocalMACAddress setting MAC address of Ethernet port
(ETH)
SSHServer
=[Enable,Disable] enableordisableSSHsafeShellmode
SSL
=[Enable,Disable] enableordisableHTTPSsafeWEBmode
LLDPProtocol
=[Enable,Disable] enableordisableLLDPprotocol
SNTPClient
=[Enable,Disable=] enableordisableSNTPclientfunction
Remoteserver remoteSNTPserveraddress
Synchronous synchronizationtime
Timezone timezone
Summertime enableordisabledaylightsavingtime
LastSYNC Lastsynchronizationtime
Table2‐8Functionkeys
Command FunctionDescription
Savesetting applythesettingandsavethem
Cancelchanges cancelcurrentsettingsandreadprevious
configuration

SICOM3171 Serial Device Server Software Operation Manual
15
Figure2‐6Serialservernetworkparameterconfiguration
2.3Devicemanagementconfiguration
2.3.1ModifyRTCtimebyTelnet
#date[[[[[YY]YY]MM]DD]hh]mm[.ss]
#hwclock‐w‐f/dev/rtc1
2.3.2WEBconfigurationofdevicemanagement
Operationsteps:
zEnterWEBmainpageofserialserver;click“Administration”inthemainmenutoenter
themanagementconfigurationpageasshowninFigure2‐7
zFornetworkconfiguration,pleaserefertotable2‐9and2‐10
Table2‐9Administrationitems
Command FunctionDescription
UserName setting local WEB management user
name
UserPassword setting local WEB management user
password
SettheRTCclock settinglocalRTCclock
RESETTimeOut thetimeoutofRESETbutton
RESETLock LockingRESETbutton
Table2‐10Functionkeys
Command FunctionDescription
Savesetting applythesettingandsavethem
Cancelchanges cancel current configuration, read
previousconfiguration

SICOM3171 Serial Device Server Software Operation Manual
16
Figure2‐7ManagementConfigurations
2.3.3Restorefactoryde f a u lts
EnterWEBmainpageofserialserver;click“Administration”inthemainmenutoenterthe
configurationpage;click“RestoreFactoryDefaults”torestorefactorydefaultsettings.
2.3.4RebootSwitch
EnterWEBmainpageofserialserver;click“Administration”inthemainmenutoenterthe
configurationpage;click“RebootSwitch”torestartthedevice.
2.3.5Statisticsoftransmittingbytesbetweenserialportandnetwork
Operationsteps:
zEnter WEB main page of serial server; click “Status” in the main menu to enter the
transmitstatisticspage,showninFigure2‐8
zChecking the number of receiving and transmitting bytes between serial port and
network
Table2‐11Functionkeys

SICOM3171 Serial Device Server Software Operation Manual
17
Command FunctionDescription
Reset resetthestatisticsofachannelto0
Refresh manualrefresh
AutoRefresh autorefresh
ShowSysLog thefunctionofcheckingsystemlog
Figure2‐8StatisticsofTransmittingbytes
2.4SerialServerApplication
2.4.1ServingasTCPserver
SerialserveradoptsTCPservermodetoachievethedataconversionandtransmissionfrom
serialporttonetworkport.AftersettingauniqueIPandcorrespondingportnumberfor
serialserverinthenetwork,serialserverstartstomonitor.Iftherearehostsinthenetwork
sending“connection”requests,serialserverwillaccepttherequestsandsendtheEthernet
‐port‐received data from the serial port; then send the serial‐port‐received data from the
EthernetportinthewayofTCP/IPprotocolmessage;devicewon’tmakeanyanalysisand
modificationonuserdatapackets,providingcompletelytransparentdatachannel.

SICOM3171 Serial Device Server Software Operation Manual
18
2.4.2ServingasTCPClient
IntheEthernetnetworkofdevices,ifsetonetobeTCPServer and other one to be TCP
client.WhentheTCPclientispoweredon,itwillautomaticallyconnecttotheserverto
achieve point‐to‐point connection of two serial ports. For example: server IP address is
192.168.0.3andportnumberis9201,theconfigurationisasfollows:
Connectiontype:TCPClient
RemoteIPaddress:192.168.0.3
RemotePortnumber:9201
2.4.3UDPmode
InUDPmode,serialportreceivesnetworkdata.Whenserialportreturnthedata,thedata
willbetransmittedtothepresettingIPaddresswithapresettingportnumberwithoutthe
necessaryofpre‐connection.IfsetthepresettingIPaddresstobethebroadcastaddressof
networksegment,itcanachievepointtomulti‐pointcommunicationbetweenserialports..

SICOM3171 Serial Device Server Software Operation Manual
19
Chapter 3: System Upgrade
3.1Upgradeboot,kernel,filesystem
3.1.1UpgradebyTelnet
Operationcommand:
update.sh[boot|kernel|rootfs]<user><password><ftpip><filename>
1) Upgradeboot
update.shbootusernamepassword192.168.0.50u‐boot.bin
2) Upgradekernel
update.shkernelusernamepassword192.168.0.50uImage
3) Upgradefilesystem
update.shrootfsusernamepassword192.168.0.50ramdisk.gz
3.1.2UpgradebyWEB
1) Upgradekernel
Operationsteps:
zEnter WEB main page of serial server; click “upgrade” in the main menu to enter the
softwareupgradepage,shownintheFigure3‐1
zSettheupgradeparameterasTable3‐1;clickthebuttonof“upgrade”.FTPserverIPaddress
anddeviceIPaddressshouldbeinasamesegment.
zWaitforthesystemupgradeuntilthesystemshowyouasuccessfulinformation
zClickthebuttonof“Administration”inthenavigationbartoopenthepage,click“Reboot”to
restartthedevice
Table3‐1Upgradeoptions
Command FunctionDescription
Item=[Kernel,RootFS] Choose upgrade items: kernel, root,
filesystem
ServerIP settingFTPserverIPaddress
UserName settingFTPserverusername
UserPassword settingFTPserveruserpassword
FileName filename

SICOM3171 Serial Device Server Software Operation Manual
20
Table3‐2functionkeys
Command Functiondescription
upgrade upgrade
Warning:intheupgradeprocess,don’tcutoffthepowerorrestartthedevicetoavoidabnormal
workingofdevice.
Figure3‐1Upgradekernel
2) Upgrade File System
The operation is the same as kernel upgrading, shown in the Figure 3-2
Other manuals for SICOM3171 Series
1
Table of contents
Other KYLAND Technology Server manuals
Popular Server manuals by other brands

NEC
NEC NEC Express5800 Series Configuration guide

Fujitsu
Fujitsu FUTRO S5010 operating manual

Dell
Dell PowerEdge C6105 Hardware owner's manual

NEC
NEC NEAX IPS NWA-008869-001 installation guide

Digital Equipment
Digital Equipment PRIORIS ZX 6000 MP SERIES user guide

Lantronix
Lantronix MSS4 installation guide