Product specifications

Using the Serial Device Server
Silex
Page 21
Part Number 140-00188-180
After the Serial Port Emulator software has started, you will see a list of all the configured Serial Device
Servers on the network. Right click on the name of the Serial Device Server that you want the virtual
COM port to connect to (the default name is SLXxxxxxx, where xxxxxx is the last six digits of the Serial
Device Server MAC address), and then click Virtual Port. You will be asked to select the name of the
virtual COM port (for example, COM3).
Click OK after you have selected the name, and you now ready to use the virtual COM port.
Using virtual COM port is identical to using a normal COM port. For example, if you configure a virtual
COM port called COM3, this port will show up as one of the available serial ports when you use the
Windows HyperTerminal Accessory program.
Raw TCP connection
You can communicate directly from your application program to the Serial Device Server using a raw TCP
connection. This is done by opening a TCP port on the Serial Device Server and then sending and
receiving data to this port via a socket or equivalent API. This method is more efficient than using the
Serial Port Emulator, and does not require any additional software to be installed on your computer.
If you are using a raw TCP connection, the default TCP port number (you can use any or all of these port
numbers) for normal connections. If you want to be able to access your device’s modem control signals
from your computer system, then the TCP port number is 9200 (this enables RFC 2217 support). You
can change the port number, if desired, by modifying one of the Serial Device Server services. To
change the TCP port number:
1. Connect to the Serial Device Server with a web browser (see chapter 3 for instructions on doing
this);
2. After you have logged in, click I/O Services on the left side of the page.
3. Click on the service name that you want to change (any one of the services is OK, provided that
you are not using the existing TCP port number of that service for a different application).
4. Change the Raw TCP Port to the desired number (must be greater than 1023).
5. Click Submit to save your change.
You can test this connection by using the TELNET utility from the Windows Command Prompt (MS-DOS
prompt), Mac OS X Terminal Utility, or UNIX/Linux command line as follows:
telnet ipaddress portnumber