Serial Device Server - SIIG Home Page

24
1 Introducing the Serial Device Server The Serial Device Server will link any serial device to your computer network using the Ethernet for access control or remote control and monitoring purposes. Features and Benefits Data conversion between RS-232/422/485 Dynamic IP configuration Dual LAN speed Server/Client dual modes Web-based setup Built-in security control System Requirements Pentium ® or equivalent computer with an available serial port and ethernet port Windows ® 7 (32-/64-bit) / Vista (32-/64-bit) / XP (32-/64-bit) / Server 2003 & 2008 (32/-64-bit) / 2000 Serial Number Sticker For future product return or exchange, this serial number is required. Please keep it for your reference. 04-0500A Serial Device Server Quick Installation Guide

Transcript of Serial Device Server - SIIG Home Page

Page 1: Serial Device Server - SIIG Home Page

1

Introducing the Serial Device ServerThe Serial Device Server will link any serial device to yourcomputer network using the Ethernet for access controlor remote control and monitoring purposes.

Features and Benefits• Data conversion between RS-232/422/485• Dynamic IP configuration• Dual LAN speed• Server/Client dual modes• Web-based setup• Built-in security control

System Requirements• Pentium® or equivalent computer with an available

serial port and ethernet port• Windows® 7 (32-/64-bit) / Vista (32-/64-bit) / XP

(32-/64-bit) / Server 2003 & 2008 (32/-64-bit) / 2000

Serial Number StickerFor future product return or exchange, this serial numberis required. Please keep it for your reference.

04-0500A

Serial Device ServerQuick Installation Guide

Page 2: Serial Device Server - SIIG Home Page

2

Package Contents• Serial Device Server• Power adapter• Driver CD• Quick installation guide

Layout

Terminator

Figure 1: Serial Device Server

LED Indicators• Sys (Red): Power indicator (when power is on the

LED flashes every second)• LAN: Network status (when converter links to LAN

the LED stays on) Green: 100 Mbps, Red: 10Mbps• Data (Red): Network activity indicator (when sending

and receiving data the LED will blink)• PWR (Red): Power indicator (when the power is on

the LED will flash continuously)

Serial PortRS-485/422

Serial PortRS-232

DC-In (power)

LAN

Reset button

LED indicators

Page 3: Serial Device Server - SIIG Home Page

3

Figure 2: Layout

IntroductionThe Serial Device Server is designed to operate serial portsover 10/100 Mbps Ethernet networks, transmitting viaTCP/IP protocol. Control is available via Ethernet,Intranet, and Internet. The device server is packaged ina plastic case well suited for industrial environments. Allserial ports operate in standard RS-232 mode andindustrial RS-422 and RS-485 modes.

OverviewThe Serial Device Server is designed to make your serialdevices network ready. This device server is the idealchoice for connecting your RS-232 or RS-422/485 serialdevices, such as PLCs, meters, and sensors to an IP-basedEthernet LAN, making it possible for your software toaccess serial devices anywhere and anytime over a localLAN or the Internet.The Serial Device Server is compatible with most networksoftware that used standard network API (Winsock orBSD sockets) by providing TCP server mode, TCP clientmode, and UDP mode. The VirtualCOM driver software,that works with the COM port, can be set up to work overa TCP/IP network. This excellent feature preserves yoursoftware investment and lets you enjoy the benefits ofnetworking your serial devices.The Serial Device Server supports manual configurationvia the handy web browser console and many protocolsincluding TCP, IP, UDP, HTTP, DHCP, ICMP, and ARP.

Page 4: Serial Device Server - SIIG Home Page

4

Device Server Configuration

Initial IP ConfigurationWhen setting up the Serial Device Server for the first time,the first thing you should do is configure the IP address.This chapter introduces the method to configure thedevice server's IP address. For more details about thenetwork settings, see Web Console Configuration, in thenext sub section.

Device Management Utility (ETM)Device Management Utility, named ETM.exe, is anexecutable prograom in Windows 32-bit environments.ETM Setup Toll is used to detect and setup the SerialDevice Server. It uses UDP broadcast packets to query andconfigure the device server on the network.When you activate the toll, it will detect the existence ofthe installed device server and the device server's displaystatus, such as IP address,. subnet mask, MAC address,and device II, see Figure 2 below.Temporarily disable Windows firewall when using ETM.You can restart it after completing the parameter settings.

Figure 2

Page 5: Serial Device Server - SIIG Home Page

5

Menu ViewRefresh the status. ETM will sne another query to getupdated information, see Figure 3. Important: Alwaysrun View > Refresh after any data change.

Figure 3

Press Enter or select [IP Address] in the [Config] menu, adialog box will be shown, see Figure 4 below. Assign anIP address with the same subnet mask as your computer,avoiding any IP conflict with other network devices.

Figure 4

Page 6: Serial Device Server - SIIG Home Page

6

Press Ok, and the IP address will be refreshed in 2-3seconds, see Figure 5.

Figure 5

Web Console ConfigurationIn addition to basic IP address and subnet mask, specificdevice settings can be set through HTTP protocol withpopular browsers, e.g. Internet Explorer, Firefox, etc.Setup is as easy as surfing the web, no special software isrequired. Pressing [Alt] + [Enter] or select [DeviceSettings] in the [Config] menu will ipen a new window inthe browser to log into the device. Alternatively, if the IPaddress of the Serial Device Server is already known, youcan connect to it directly by typing in its IP address in theURL field of the browser.

Controller StatusTo enter the Controller Status page, follow the stepsbelow.1. Start your browser. This chapter will use IE as the

default internet browser.

Page 7: Serial Device Server - SIIG Home Page

7

2. In the browser URL field, type the IP address of theSerial Device Server directly and press Enter (the IPaddress is what you set using the DeviceManagement Utility). The Controller Status pagewill be shown, see Figure 6 below.

Figure 6

Field Description• System time elapsed: the time elaped since start of

this device in [Day:Hour:Minute:Sec] format. Thisinformation can be useful in identifying the reliabilityof the system.

• Firmware version: The device server firmware isidentified by date code. This information will berequired in looking for techinical support.

• Serial number: The first 5 digits is the serial number.The next 8 digits is the unique MAC (Media AccessControl) address used for identification by Ethernetnetwork.

Page 8: Serial Device Server - SIIG Home Page

8

• Password (Setup Login): This field is theadministration password for authentication. Thefactory default setting is blank. However, it isrecommended to set a password under normaloperation. If you forget the password, the deviceserver can be returned to factory default setting(blank password) by pressing in the reset buttonwhile powering on the Serial Device Server.The Serial Device Server uses the same passwordprotection mechanism commonly used in WindowsNT or UNIX. If there are more than 3 consecutivefailures during login, the login function will bedisabled for 15 minutes. During this 15 minuteperiod, you will not be able to login if you supplythe correct password. This prevents intruders fromfinding the password by computer generatedprograms.

Controller SetupType in the password and click Login button, theController Setup page will appear similar to Figure 7 onthe next page.

Note: If you forget the password or can't loginsuccessfully, return the Serial Device Server to thefactory default setting of blank password. SeePassword (Setup Login) above for moreinformation.

Page 9: Serial Device Server - SIIG Home Page

9

Figure 7

Field Description• IP address: Must not conflict with other devices on

your network. If DHCP client mode is enabled andthere's a DHCP server on the network, the IP addresswill be assigned by the DHCP server.

• Destination IP address: The device server IP addressand socket port would be connected in TCP clientand UDP mode for a certain server IP address

• Destination socket port: The device server socketport would be connected in TCP Client and UDPmode or a certain socket port.

• TCP socket inactive timeout (minutes): Sets inactivetimeout period from 1-99 minutes

Page 10: Serial Device Server - SIIG Home Page

10

• Connection: The connection can be selected in 2modes. Auto - automatic program control of theconverter; Manual - manual program control of theconverter

• Serial I/O setting (baud rate, parity, data bits, stopbits): Baud rate: 300-115200 bps; Parity: None; Even;Odd; Data bits: 7 or 8; Stop bits: 1 or 2

• Interface of serial I/O: RS 232: TxD, RxD for datastream, no flow control

• Packet mode of serial input: Can be set to enabledor disabled mode. If packet mode is enabled, thedata input from the UART will be deferred until theinput buffer is full, or the device server detects a 10-character packet gap and no more characters arrive.The block waiting time is extended to avoid thesplitting of the complete packet

• Device ID: User assigned ID number for the deviceserver. AvailableIDs: 0-65535

• Report device ID when connected: In TCP mode, ifthis parameter is enabled, every time the socket isconnected, the Serial Device Server will report it'sdevice ID. The total length is 8 bytes, where "nnnnn"is a 5-digit device ID assigned by the user; [LF] isdecimal 10; [CR] is decimal 13

• Setup password: Administration password used tologin to the Controller Setup page. It may be emptyor up to 15 characters long.

Page 11: Serial Device Server - SIIG Home Page

11

Device Server UpdatedPress Update button after you finish the detailedparameter settings. The Serial Device Server will save allparameters into internal non-volatile memory and thenreboot. It taked about 5 seconds to complete the wholeprocess, and a new login page will be displayed.

Note: If Controller Updated/Now restarting doesn'tshoe up after clicking the update button, this meansthe configuration page was left idling too long andit timed out. No update was performed. The userwill be sent back to the login page. You can re-loginand checkif all the parameters have been saved. Ifeverything is ok, you can close the browser.Important: If the domain of the Serial Device Server isdifferent from that of the computer running thebrowser, the loging page won't appear unless theSerial Device Server's gateway address has beencorrectly set.

• Subnet mask: Subnet mask of 255.255.255.0 is usuallyused for small networks, 255.255.0.0 for largernetworks. If your IP address is provided by an ISPor networ administrator, please obtain thatinformation and enter it correctly. If DHCP clientmode is enabled and there's a DHCP server on thenetwork, this field will be assigned by the DHCPsever automatically.

• Gateway address: Gateway or Router IP address. Agateway is a device which connects a local networkto an external network. Type in this informationcarefully. If there is no gateway on the network,leave it as 0.0.0.0. If DHCP client mode is enabledand there is a DHCP server on the network, this fieldwill be assigned by the DHCP server automatically.

Page 12: Serial Device Server - SIIG Home Page

12

• Network link speed: Ethernet physical link speedcan be set to Auto or you can specify 10Mbps or100Mbps to match the speed of the network.

• DHCP client: DHCP client mode can be enabled/disabled. If DHCP is enabled, there should be aDHCP server on the network.

• Socket port of HTTP setup: The socket port used toconduct the browser setup. Normally, HTTPprotocol uses port 80 for communication. If the fieldis changed to 81, port 80 will be reserved for user’sown Web.To enter the browser setup page, http://x.x.x.x:81should be typed for socket port 81 and http://x.x.x.xfor socket port 80, where x.x.x.x is the converter’s IPaddress.

• Socket port of serial I/O: Port number: A 16-bitnumber, ranging from 1 to 65535. Because thenumbers below 1000 are used for specific purposese.g. 80 is for HTTP protocol, we suggest you usenumbers larger than 1000. Generally port number4660 is used for the serial communication. Howeveryou should specify a different port number for eachserial port. Socket types: TCP Server - TCP protocol,passive open, to be connected from the TCP clients.TCP Client - TCP protocol, active open, connect tothe TCP server.UDP Client: UDP protocol, connectionless

• Socket port of digital I/O: Same as Socket port ofserial I/O.

Page 13: Serial Device Server - SIIG Home Page

13

Factory Default SettingIf by chance, you forget the setup password, or haveincorrect settings making the Serial Device Serverinoperable, there are two ways to reset the server tofactory default settings.A)1. Turn off the Serial Device Server.2. Press and hold down the reset button as you power

on the Serial Device Server.3. Wait for 3 seconds, then release the reset button.4. The password will reset to the factory default (blank

- no password).B)1. Log into the web page.2. Press and hold down the reset button of the Serial

Device Server.3. Select the update button.4. After Tx & Rx lights start flashing, release the reset

button.5. The password will reset to the factory default (blank

- no password).

Self-TestingAfter completing the wiring and parameter setting, usethis chapter to test the Serial Device Server.Hyper Terminal utility should be installed on your PCsee Figure 8 on the next page. It can be found in yourWindows installation CD. The wiring architecture issimilar to RS-232 Wiring on page 19, and the serialdevice is replaced by the PC’s COM 1. The same PC alsoplays the roll of the Remote Host.

Page 14: Serial Device Server - SIIG Home Page

14

Hyper Terminal for TCP/IP WinSockInitiate Hyper Terminal from the Start Menu in Windows,see Figure 8.

Figure 9

Figure 8

Give a terminal name, choose an icon, and press OKbutton, see Figure 9.

Page 15: Serial Device Server - SIIG Home Page

15

Figure 10

Figure 11

Select TCP/IP(Winsock) option at the Connect using:field, see Figure 10.

After OK button is pressed, see Figure 11 appears. Enterthe converter’s IP address (e.g. 192.168.0.10) at the Hostaddress field, and the Socket port number set for SerialPort 1 at the Port number: field (e.g 4660). (The Sockettype of the Serial Port 1 should be TCP Server)

Page 16: Serial Device Server - SIIG Home Page

16

Figure 12

Hyper Terminal for COM PortInitiate another Hyper Terminal as a COM Port Terminal,(see Figure 10, select COM 1 or other COM port. Set theCOM port Properties to the same as those set for the serialport of Serial Device Server.

Data TransmissionWhen all steps described above are finished, type anycharacters on the COM Port Terminal and check if thetyped characters are also displayed on the TCP/IPWinsock Terminal. Alternatively, check if the characterstyped on the TCP/IP Winsock Terminal are alsodisplayed on the COM Port Terminal. If yes, then allsettings are correct and the converter is operating properly.

If Hyper Terminal connects with the Serial Device Serversuccessfully, the time clock at the lower left corner,Connected hh:mm:ss, will start counting, see Figure 12.

Page 17: Serial Device Server - SIIG Home Page

17

Pin out and Cable WiringRJ-45 Pin Assignment

RS-232 Pin AssignmentThe pin assignment scheme for a 9-pin male connector ona DTE is given below.

Pin 1: DCD Pin 6: DSRPin 2: RXD Pin 7: RTSPin 3: TXD Pin 8: CTSPin 4: DTR Pin 9: XPin 5: GND

Page 18: Serial Device Server - SIIG Home Page

18

RS-422 Pin AssignmentThe pin assignment scheme for a 4-pin RS-422 is givenbelow.

Pin 1: T+ Pin 2: T- Pin 3: R+ Pin 4: R-

1 2 3 4

RS-485 Pin AssignmentThe pin assignment scheme for a 4-pin RS-485 is givenbelow.

1 2 3 4

Pin 1: X Pin 2: X Pin 3: D+ Pin 4: D-

Page 19: Serial Device Server - SIIG Home Page

19

Wiring Architecture

RS-232 Wiring

RS-232 (RTS / CTS) Wiring

RS-232 (RTS / CTS, DSR / DTR) Wiring

Page 20: Serial Device Server - SIIG Home Page

20

RS-422 Wiring

RS-485 Wiring

Page 21: Serial Device Server - SIIG Home Page

21

FAQQ1. Why can't ETM.exe detect the Serial Device Server on

the network?A1. Please check the following:• Make sure the power adapter is properly plugged

into the Serial Device Server.• Make sure the network cable is properly connected

between the Serial Device Server and the computer.• Close the anti-virus program and Firewall utility.• Make sure the subnet mask of the computer is the

same as the Serial Device Server (default 255.255.0.0).

Q2. Why can't I use my browser to setup the SerialDevice Server?

A2. Check if the network domain of the PC is the sameas the Serial Device Server.

Page 22: Serial Device Server - SIIG Home Page

22

Blank Page

Page 23: Serial Device Server - SIIG Home Page

23

Technical Support and WarrantyQUESTIONS? SIIG’s Online Support has answers! Simply visit our website at www.siig.com and click Support. Our online support database isupdated daily with new drivers and solutions. Answers to your questionscould be just a few clicks away. You can also submit questions online anda technical support analysts will promptly respond.SIIG offers a 2-year manufacturer warranty with this product. This warrantycovers the original purchaser and guarantees the product to be free of anydefects in materials or workmanship for two (2) years from the date ofpurchase of the product.

SIIG will, at our discretion, repair or replace (with an identical product orproduct having similar features and functionality) the product if defectivein materials or workmanship. This warranty gives you specific legal rights,and you may also have other rights which vary from state to state. Pleasesee our web site for more warranty details.

If you encounter any problems with this product, please follow theprocedures below.A) If it is within the store's return policy period, please return the productto the store where you purchased it.B) If your purchase has passed the store's return policy period, please followthese steps to have the product repaired or replaced.

Step 1: Submit your RMA request. Go to www.siig.com, click Support,then RMA to submit a request to SIIG RMA or fax a request to 510-657-5962. Your RMA request will be processed, if the product is determinedto be defective, an RMA number will be issued.Step 2: After obtaining an RMA number, ship the product.• Properly pack the product for shipping. All software, cable(s) and

any other accessories that came with the original package must beincluded.

• Clearly write your RMA number on the top of the returned package.SIIG will refuse to accept any shipping package, and will not beresponsible for a product returned without an RMA number postedon the outside of the shipping carton.

• You are responsible for the cost of shipping to SIIG. Ship the productto the following address:

SIIG, Inc.6078 Stewart AvenueFremont, CA 94538-3152, USARMA #:

• SIIG will ship the repaired or replaced product via Ground in the U.S.and International Economy outside of the U.S. at no cost to thecustomer.

Page 24: Serial Device Server - SIIG Home Page

About SIIG, Inc.Founded in 1985, SIIG, Inc. is a leading manufacturer of IT connectivitysolutions (including Serial ATA and Ultra ATA Controllers, FireWire, USB,and legacy I/O adapters) that bridge the connection between Desktop/Notebook systems and external peripherals. SIIG continues to grow byadding A/V and Digital Signage connectivity solutions to our extensiveportfolio. All centered around the distribution and switching of A/V signalsover CAT5/6, these products include matrix switches, distribution amplifiers,extenders, converters, splitters, cabling, and more.SIIG is the premier one-stop source of upgrades and is committed toproviding high quality products while keeping economical and competitiveprices. High-quality control standards are evident by one of the lowestdefective return rates in the industry. Our products offer comprehensiveuser manuals, user-friendly features, and most products are backed by alifetime warranty.SIIG products can be found in many computer retail stores, mail ordercatalogs, and e-commerce sites in the Americas, as well as through majordistributors, system integrators, and VARs.

PRODUCT NAMESerial Device Server

FCC RULES: TESTED TO COMPLY WITH FCC PART 15, CLASSB OPERATING ENVIRONMENT: FOR HOME OR OFFICE USE

FCC COMPLIANCE STATEMENT:This device complies with part 15 of the FCC Rules. Operation issubject to the following two conditions: (1) This device may not causeharmful interference, and (2) this device must accept any interferencereceived, including interference that may cause undesired operation.

THE PARTY RESPONSIBLE FOR PRODUCT COMPLIANCE

SIIG, Inc.6078 Stewart AvenueFremont, CA 94538-3152, USAPhone: 510-657-8688

Serial Device Server is a trademark of SIIG, Inc. SIIG and the SIIG logo are registered trademarks ofSIIG, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. All othernames used in this publication are for identification only and may be trademarks of their respectiveowners.

December, 2010 Copyright © 2010 by SIIG, Inc. All rights reserved.