Software Upgrades: Please check our latest Download section.
Search Tip: You can increase the accuracy of your searches by using as many keywords as possible. Remove any common words such as "a", "or", "the" as they will be used in the search. Do not use any operands such as +, or quotation marks to enclose phrases.
How to get my Serial application to communicate with a serial device that is remotely connected over a network.
Pre-requisites From the Perle WEB site downloads section: http://www.perle.com/downloads/
1. Download the latest Trueport driver on your Windows computer. Before you install it see Trueport for Windows configuration example below.
2. Download and install the latest IOLAN Device Manager on your Windows computer.
3. Download and upgrade the IOLAN with the latest iolan firmware.
4. Ensure that your Windows computer NIC and the iolanDS are connected to the same ethernet network switch / hub
The following configuration example uses a 1-port IOLAN Device Server. If you have a multiple port IOLAN Device Server specify additional number of COM ports.
Trueport for Windows configuration
1. Install the Perle Trueport software on your Windows computer.
2. During the installation specify the IP address of the iolanDS. Since this example uses a 1-port IOLANDS specify "1" for the number of COM ports and accept the starting available COM port. This will be the COM port which your Serial application will use in order to communicate with the remote serial device. The serial device will be connected to the iolanDS serial port.
3. Once the Trueport installation is complete open the "Trueport Management Tool" on your Windows Desktop and select the "Properties" button for the Installed Trueport Adapter.
4. Select "Configuration", then "Settings".
5. Select the Trueport "COM" port (appears under the Perle Trueport adapter).
6. Select "Accept connection from Device Server" and Listen on TCP port 10001 (note: this TCP port must match the TCP port that is going to be configured in the iolanDS).
7. Select the Advanced tab.
8. Check the box to enable the option "Simulate COM port Transmit delays".
9. Click OK.
10. Click OK.
11. Click Close.
12. In the Control Panel of your Windows computer, select Administrative Tools, then select Services, right-click on Perle Trueport Service and select Stop then right-click again on Perle Trueport Service and select Start.
Note: If you check netstats on your computer you should see TCP port 10001 in a listening state.
netstat -a | find "100" or netstat -an
Next configure the Perle iolanDS1 in order for it to initiate a TCP connection to your Windows computer on TCP port 10001.
iolanDS configuration using the iolan Device Manager Utility software
1. Launch the Perle iolan Device Manager utility software. Once it has discovered the iolanDS on the network, open the connection and login. Default password is superuser.
2. Select the Network Folder then IP Settings and enter an IP address and subnet mask and gateway (if applicable).
3. Select the "Serial" folder, then select "Serial port".
4. Click the Edit button to make changes to the serial port.
5. Select the "Change Profile" button, select "Trueport", click OK.
6. In the General tab, under the Trueport Settings, select "Connect to remote system (Server-Initiated Connection)".
7. For the Host name, select the drop down arrow and select "add host".
8. Enter a name to represent your Windows computer and then enter the IP address of your Windows computer and click OK. note: I am referring to the Windows computer that you have installed the Perle Trueport software.
9. For the TCP port, enter 10001 (this matches the listening TCP port configured in Trueport)
10. Select the "Advanced" tab. click on the "Enabled TCP keepalive", click OK.
11. Select the "Download All Changes" button.
12. Select the "Reboot iolan" button.
For IOLAN desktop models ensure that the Serial/Console switch is in the Serial (OFF) position). Does_not apply to IOLAN Rack mount models.
Wait for the iolanDS to power up and establish a TCP connection with your Windows computer. Check the netstats in your Windows computer for the status of TCP port 10001. netstat -a | find "100" or netstat -an
You may see 2 states for the same TCP port. One in a listening state and the later in an established state for the same TCP port. The TCP port (in this example 10001) must be in an establised state before your Serial application can open the the Trueport's virtual "COM" port to communicate with your serial device.
Important Note to consider: In this example we are using the default packet forwarding option called Minimize Latency. This setting may_not be suitable for your Serial Application. It all depends how your Serial Application communicates with the Serial device. If you are communicating over a remote network then you may consider using "Optimize Network Throughput" or "Prevent Message Fragmentation" as the better choice. In Trueport, these settings are located in the Configuration Settings, select the COM port then open the "Change Profile" button under the Connection Profile. In the iolanDS, these settings are located in the Serial port, then select the "Packet Forwarding" tab.