background image

 

14

   

 

Serial Timeout

 

Default is 0, or no timeout. Setting timeout to any value between 1 and 65535 seconds activates 

it. If communications are idle for specified timeout value the serial server will reset and make 

itself available for another connection.     

 

TCP Alive Timeout

 

This monitors TCP activity. If TCP activity stops for the length of time specified in this field the 

connection will be closed. This field can be set to any value between 0 and 255 minutes. If zero, 

or no value, is entered into this field the server will not disconnect.     

 

Connection Mode

 

The Connection mode field has three options, Server, Client and Client (no heartbeat). When 

Client or Client (no heartbeat) is selected, the 

Connection at

 field automatically becomes active 

(allowing the user to select Power up or Data arrival).   

• When using the Virtual COM Port feature, select Server.   

• When using a TCP or UDP Socket program, select Server.   

• When using Paired Mode communication between two serial servers set up one as a Client 

and the other as a Server.   

• When connecting to a server that does not support Heartbeat, select Client (no heartbeat).   

 

Delimiter HEX1 and Delimiter HEX 2 

These two fields allow the user to enter two ASCII characters (in hex format) that delimit the 

beginning and end of a message. When a message with both these delimiters is received at the 

serial port, the data contained in the serial buffer is placed in an Ethernet packet and sent out the 

Ethernet port. If only Delimiter 1 is set (Delimiter 2 is zero or blank), upon receiving Delimiter 1 

the TRP-C32S will put all the data in the serial buffer in an Ethernet packet and send it out the 

Ethernet port. If serial data greater than 1 kilobyte is received it will automatically be placed in an 

Ethernet packet and sent out the Ethernet port.     

Summary of Contents for TRP-C32S

Page 1: ...bject to change without prior notice in order to improve reliability design and function and dosed not represent a commitment on the part of the manufacturer No part of this manual may be reproduced copied or transmitted in any form without the prior written permission of manufacturer Acknowledgment Products mentioned in this manual are mentioned for identification purpose only Products manes appe...

Page 2: ...ts RS 232 RS 422 and RS 485 serial interface In Server mode supports individual client sessions for security Virtual COM drivers for Windows NT 98 ME 2000 XP Fully compatible with Ethernet and TCP IP protocol Supports 10 100 Mbps Ethernet Auto fast hardware direction flow control on RS 485 All RS 422 485 signals provide surge protection and over current protection Supported baud rate up to 230 4 K...

Page 3: ...P C32S to the LAN and serial device A review of the switch settings and the functionality of the LED s are also provided 2 1 Panel layout 2 2 LED indicator PWR LED System is ready Blinking LINK LED Ethernet cable connection and data active TXA RXA TXB RXB LED Transiting Receiving Indicator 2 3 DC Jack Power DC Input from 10V to 30V Pleas use the 5 5 2 1mm DC JACK ...

Page 4: ...rogram such as Hyper terminal When the TRP C32S enters console Mode the console Mode screen will appear in the Hyper terminal program window The PC serial port configuration must be set to 8 N 1 at 9600 baud rate When the DIP switches are switched to the ON OFF position the TRP C32S will work at internal Loop back Mode all data is sent back immediately When the DIP switches are switched to the OFF...

Page 5: ...th TRP C32S The TRP C32S has a two pins terminal block and power jack Power can apply on either terminal block or the power jack It accepts DC 10V 30V power supply When power is properly applied the PWR LED will flash every one second to indicate the system is up and running Warning User can only choose either external DC Jack or Screw terminal DC input Do not use external DC Jack and screw termin...

Page 6: ... as a DTE data terminal equipment device A null modem cable is required to make a connection between the COM port on a PC and the TRP C32S serial port A straight through cable is required to connect the TRP C32S serial port to a DCE device The screw terminal connector accepts AWG 12 30 wires 4 1 RS 485 Wiring The RS 485 mode supports the Transmit and Receive channels using 2 wire half duplex opera...

Page 7: ... connected to the LAN When this is completed a window will list the devices making them available for configuration Configuring the serial server to meet your LAN and application requirement is an easy process with the available setup menu in the TRP C3X Manager software 5 1 How to install TRP C3X manager The following procedure installs the TRP C3X Manager software STEP1 Inserting TRP Series CD i...

Page 8: ... to install the TRP C3X Manager software in the default location User may select Browse to install into a selected directory The installation progress will be shown until complete STEP5 Click Finish when the Install Shield Wizard Complete screen appears When the ...

Page 9: ...t Once the software has been removed install the new software Highlight remove 7 How to configure TRP C32S There are 4 ways to access the Server Properties and program the TRP C32S 1 TRP C3X Manager software see 7 1 2 Console mode see 7 2 3 Telnet see 7 3 4 Web Server see 7 4 7 1 Using TRP C3X Manager Software The TRP C3X Manager software performs several functions A Searching for TRP C32S connect...

Page 10: ...ager Utility opens it will initiate Searching Server and after a few seconds the Serial Server List will display all TRP C32S 32 34 serial servers on the network B To manually initiate a search for servers on the menu side bar select Searching Server button The Search Setup box will appear It provides two options for searching for servers on the network Specify the IP address of the Serial Server ...

Page 11: ...w The Server Properties window is used to configure and store the Server configuration settings Details for setting Properties are described in the next chapter After configuring as needed click Update to store the configuration in the server and click Yes to restart the server to make sure all settings are changed to conform to the desired application ...

Page 12: ... server is not available on the network the TRP C32S will time out after 10 seconds and the default values will remain When DHCP is enabled the IP address Netmask and Gateway fields become inaccessible and cannot be changed by the user IP Address A static IP address can also be assigned in this section of the menu A dynamic address assigned by the DHCP server may change if the TRP C32S looses the ...

Page 13: ...al baud rate of the connected device unless using Virtual COM mode In Virtual COM mode the software program will establish serial settings Data Parity Stop This setting will have to match the data format of the connected device unless using Virtual COM mode In Virtual COM mode the software program will establish serial settings Flow Control The flow control setting must match the connected serial ...

Page 14: ...rival When using the Virtual COM Port feature select Server When using a TCP or UDP Socket program select Server When using Paired Mode communication between two serial servers set up one as a Client and the other as a Server When connecting to a server that does not support Heartbeat select Client no heartbeat Delimiter HEX1 and Delimiter HEX 2 These two fields allow the user to enter two ASCII c...

Page 15: ...l server for the following modes of operation Console When this mode is selected and the server is updated a PC running a communication program such as Hyper terminal can communicate with the serial server via the Console Mode serial port Port 1 on TRP C32S displaying the Server Properties screen and allowing configuration of the server and its ports Upgrade When this mode is selected and the serv...

Page 16: ...d not to change this setting until the application has been tested and is communicating properly At that point the address filtering feature of the TRP C32S can be activated Update Save Server properties must be updated separately for each serial port Updating varies slightly depending on which of the four configuration user interfaces are used Updating the Server Properties in Manager Software Fr...

Page 17: ... configured the same as the mentioned default settings of the TRP C32S and must be set to VT100 emulation mode The default settings are used only if they have not been changed 7 2 1 Console Mode Hardware Wiring 7 2 2 Console Mode Software Install STEP1 Select Hyper Terminal WINDOWS Utility Start Accessories Communications Hyper Terminal STEP2 Select New Connection and Enter a name click OK ...

Page 18: ...indow displays the same configuration information shown in Console Mode and allows server properties to be configured See chapter 6 for details on Server Properties Ensure the PC and TRP C32S are connected to the LAN and the serial server is in RS 232 RS 422 or RS 485 mode before you can telnet to it and access the configuration screens From the Desktop click Start and then run The Run dialogue bo...

Page 19: ...19 STEP1 Select Start then Click RUN then key in the Telnet IP STEP2 Click the OK TRP C32S firmware setting will show as following screen You can set the TRP C32S by Telnet mode ...

Page 20: ...rowser software such as Internet Explorer Server properties can be set up using three browser pages See chapter 6 for details on Server Properties In Internet Explorer type the IP Address of the Serial Server into the address field near the top of the window and press the Enter key The following window will appear ...

Page 21: ... is configured as a TCP or UDP Server 8 1 Installing Virtual COM Port STEP1 On the Desk Top select Start Programs Trycom Install Virtual COM STEP2 Select the Search all reachable servers check box then click OK STEP3 The Install Virtual COM program will automatically search the LAN for all available TRP C32S serial servers and display them in the Found Server window Highlight the desired serial se...

Page 22: ...o proceed with the installation STEP5 When Virtual Com installation completed click close on the Found Server window to close Found Server window To confirm installation go to the Device Manager and select Ports COM LPT The installed Virtual COM port will be displayed as TRP C32S COM 8 2 Configuring Virtual COM Port The Virtual COM port can be configured in the Device Manager of the operating syst...

Page 23: ...Top select Start Settings Control Panel Select the System Icon when the Control Panel window opens STEP2 In the System Properties window select the Device Manager Button STEP3 In the Device Manager select the button next to Ports COM LPT to expand and see the TRP C32S COM Double click TRP C32S COM to open the Properties window ...

Page 24: ...24 STEP4 Select the Configuration tab From here the same settings found in the TRP C32S Manager can be adjusted ...

Page 25: ...t Start Settings Control Panel Select the System icon when the Manager window opens STEP2 Select Device Manager in the Systems Properties window In the Device Manger window select the next to Ports COM LPT to expand STEP3 Highlight TRP C32S COM to be removed go the Action tab at the top of window and select uninstall A confirm Device Removal window will appear Select OK to proceed STEP4 The TRP C3...

Page 26: ...s physical COM port The virtual COM port converts the application s data into IP packet destined for the TRP C32S which in turn converts the IP packet back to serial data In this mode theTRP C32S must be set to either TCP server or UDP server in the menu with a designated communication port number The virtual COM driver is a TCP or UDP client 9 3 Paired Mode Paired mode is also called serial tunne...

Page 27: ...If a loss occurs the Heart Beat feature will try to reconnect the TCP data connection every 5 seconds until communications is established again The Heart Beat feature is available to use with the Virtual COM Mode Paired Mode and Direct IP Mode This is not available when using a UDP application 10 Using TRPCOM Utility For Connect RS 232 422 485 Device TRP Serial Test Utility is demo utility which m...

Page 28: ... Switch to the ON OFF STEP2 Run the Install Virtual Com and setting the Virtual COM STEP3 Run the Demo Utility click the Settings then setup the com port status and click the Action User may find the DEMO utility in the TRP C32S disk Double click DEMO EXE ...

Reviews: