----------- TCP2RS -------------- User’s manual -------------------- page 5/43 1: Introduction The TCP2RS Device Server connects serial devices to Ethernet networks using the IP protocol family (TCP for connection-oriented stream applications and UDP for datagram applications). A few of the different types of serial devices supported are listed below: !"...
----------- TCP2RS -------------- User’s manual -------------------- page 6/43 1.1.1 Packing Algorithms Two software selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the TCP2RS is used in a local environment, allowing for very small delays for single characters while keeping the packet count low.
----------- TCP2RS -------------- User’s manual -------------------- page 7/43 2: Installation This chapter describes the TCP2RS and shows how to install it on a basic network. 2.1 Product Description 2.1.1 Serial Interface The TCP2RS has a serial port that supports RS-232 and RS-485 serial standards (firmware selectable) up to 115.2 Kbps.
----------- TCP2RS -------------- User’s manual -------------------- page 8/43 Table 2-1: TCP2RS LEDs Function A (Yellow) If solid, channel 2 is idle. If blinking (1 sec cycle), the channel is connected Channel 2 over the network. F (Red) This LED and LED 2 (Green) together indicate a series of diagnostic patterns. Error and Diagnostic L (Green)
----------- TCP2RS -------------- User’s manual -------------------- page 9/43 Supply power to the TCP2RS. Note: The required input voltage is 220VAC. Supply power to the serial device. 3: Getting Started This chapter covers the required steps to get the TCP2RS on-line and working. There are two basic methods used to log into the TCP2RS and setup the IP address: !"...
----------- TCP2RS -------------- User’s manual -------------------- page 10/43 blinks continuously and the green Status LED blinks five times). This address will not appear in the TCP2RS’s configuration screens; however, if you enter Monitor Mode from the serial port with network connection enabled (see Monitor Mode), and issue the NC command, you will see the TCP2RS’s IP configuration.
----------- TCP2RS -------------- User’s manual -------------------- page 11/43 address and the hardware address of the TCP2RS, which is found on the product label. Figure 3-1: ARP on UNIX arp -s 191.12.3.77 00:20:4a:xx:xx:xx In order for the ARP command to work on Windows, the ARP table on the PC must have at least one IP address defined other than its own.
Page 12
----------- TCP2RS -------------- User’s manual -------------------- page 12/43 To enter Setup (configuration) Mode, cycle the TCP2RS’s power (power off and back on). After power-up the self-test begins and the red Diagnostic LED starts blinking. You have one second to enter three lowercase "x" characters. Note: The easiest way to enter Setup Mode is to hold down the “x”...
----------- TCP2RS -------------- User’s manual -------------------- page 13/43 4: Configuration Certain parameters must be configured before the TCP2RS can function on a network. The TCP2RS can be locally or remotely configured using the following procedures: !" Use a standard Web browser to access the TCP2RS’s internal Web pages and configure the unit over the network.
----------- TCP2RS -------------- User’s manual -------------------- page 14/43 4.1.2 Using a Telnet Connection To configure the TCP2RS over the network, establish a Telnet connection to port 9999. For Windows, open an MS-DOS command window and enter the following command, where x.x.x.x is the IP address and 9999 is the TCP2RS’s fixed network console port number.
Page 15
Enter. Be sure to store the new configurations when you are finished. The TCP2RS will then perform a power reset. Figure 4-3: Setup (Configuration) Mode Screen *** Circutor *** Serial Number 1400280 MAC address 00:20:4A:14:01:18 Software Version 04.5 (000428)
----------- TCP2RS -------------- User’s manual -------------------- page 16/43 7 Factory defaults Disable Telnet Setup (N) N Disable TFTP firmware update (N) N Disable Port 77Feh (N) N Disable web setup (N) N Enable enhanced password (N) N 8 Exit without save 9 Save and exit 4.4 Server Configuration Select 0 to configure the TCP2RS’s basic parameters.
----------- TCP2RS -------------- User’s manual -------------------- page 17/43 4.4.4 Telnet Configuration Password Setting the Telnet configuration password prevents unauthorized access of the setup menu via a Telnet connection to port 9999. The password is limited to 4 characters. Note: No password is required to access the setup menu via a serial connection.
----------- TCP2RS -------------- User’s manual -------------------- page 18/43 RS-232C, 7-bit, Even Parity, 1 stop bit 0111 1000 RS-485 2-Wire, 8-bit, No Parity, 1 stop bit 0100 1111 Note: See Appendix B for more information on converting binary values to hexadecimal format. 4.5.3 Flow Control Flow control sets the local handshake method for stopping serial input/output.
Page 19
----------- TCP2RS -------------- User’s manual -------------------- page 19/43 Incoming Connection Never accept incoming Accept incoming with DTR Accept unconditional Response Nothing (quiet) Character response (C=conn, D=disconn, N=unreachable) Startup No active startup With any character With active DTR With CR (0x0D) only Manual connection Autostart Datagram Type...
Page 20
----------- TCP2RS -------------- User’s manual -------------------- page 20/43 For the serial port, automatic TCP connection to a network node can be configured by setting the remote IP address and the TCP port number parameters. If automatic connection is selected, all parameters must be provided. 4.5.5.3 Datagram Type When selecting this option, you will be prompted for the Datagram type.
----------- TCP2RS -------------- User’s manual -------------------- page 21/43 4.5.6 Remote IP Address Selecting Autostart (automatic connection) in Connect Mode makes a connection to this IP address on the network. This is the destination IP address used with an outgoing connection. 4.5.7 Remote Port The remote TCP port number must be set to use automatic connections.
----------- TCP2RS -------------- User’s manual -------------------- page 22/43 Clear active connection (from network) Clear passive connection (from serial) Clear at disconnect Alternate Packing Algorithm Enable Note: See Appendix B for information on converting binary values to hexadecimal format. 4.5.10 Pack Control Alternate packing algorithm settings are enabled in Flush Mode.
----------- TCP2RS -------------- User’s manual -------------------- page 23/43 If send characters are enabled, the TCP2RS interprets the sendchars as a 2-byte sequence; if not set, they are interpreted independently. If "Send Immediately After Characters" is not set, any characters already in the serial buffer are included in the transmission after a “transmit”...
----------- TCP2RS -------------- User’s manual -------------------- page 24/43 port. 4.6 Factory Default Settings Select 7 to reset the TCP2RS’s serial port to the factory default settings. The server configurations remain unchanged. 4.7 Exit Configuration Mode Select 8 to exit the configuration mode without saving any changes, or select 9 to exit and save all changes.
----------- TCP2RS -------------- User’s manual -------------------- page 25/43 5: Using the TCP2RS 5.1 Comm Port Redirector The Comm Port Redirector application allows PCs to share modems and other serial devices connected to a TCP2RS using Windows-based applications. The Comm Port Redirector intercepts communications to specified COM ports and sends them over an IP network connection to the TCP2RS’s serial port.
5.2.2 Via the Network To enter Monitor Mode using a Telnet connection: First establish a Telnet session. The following message appears: Figure 5-1: Entering Monitor Mode Via the Network *** Circutor *** Serial Number 1400280 MAC address 00:20:4A:14:01:18 Software Version 04.0b7 (000428) Press Enter to go into Setup Mode Type M (upper case).
----------- TCP2RS -------------- User’s manual -------------------- page 27/43 5.2.3 Monitor Mode Commands The following commands are available in Monitor Mode. Many commands have an IP address as an optional parameter (x.x.x.x). If the IP address is given, the command is applied to another Device Server with that IP address.
Look on the discs that were included in your package for additional documentation and support information !" Look on the Circutor Web site for technical FAQs and documentation updates. !" For information pertaining to your system’s configuration, refer to your system’s documentation or technical support.
----------- TCP2RS -------------- User’s manual -------------------- page 31/43 B: Binary to Hexadecimal Conversion Many of the TCP2RS’s configuration procedures require you to assemble a series of options (represented as bits) into a complete command (represented as a byte). The resulting binary value must be converted to a hexadecimal representation. Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for 10), B (for 11), etc.
----------- TCP2RS -------------- User’s manual -------------------- page 33/43 Figure 3: Serial Interface (RS-232) (RS-232) (RS-485) (RS-485) C.3 Serial and Ethernet Wires Standard Serial Wire Connections diagram of an standard serial wire for connecting any RS-232 serial device to the TCP2RS. Figure 4: Serial wire with male connector Figure 5: Serial wire with female connector...
Page 34
----------- TCP2RS -------------- User’s manual -------------------- page 34/43 1- Orange 5- Blue/White 2- Orange/White 6- Green/White 3- Green 7- Brown 4- Blue 8- Brown/White Direct Ethernet Wire Connections Diagram of a Cat.5 Ethernet wire for connecting any Ethernet device (like TCP2RS) directly to another like a PC. (What we have to do is to take the transmission wires of one end, and link it with the reception pins of the other end.
D: Updating Firmware D.1 Obtaining Firmware Current firmware files are available on the distribution CD. Firmware updates and release notes for the TCP2RS can be downloaded directly from Circutor via the Circutor World Wide Web site (www.circutor.com/tcp2rs.htm). D.2 Reloading Firmware There are three ways to update the TCP2RS’s internal operational code (LTX*.ROM or...
If you don’t have a graphical tftp program, you can upload the firmware using tftp.exe program that comes with any windows 2000 or NT. tftp –i 192.168.0.25 put circutor.cob WEB1 tftp –i 192.168.0.25 put ltx455.rom 3Q The TCP2RS performs a power reset after the configuration has been changed and stored D.2.2 Via Another Device Server...
Page 37
----------- TCP2RS -------------- User’s manual -------------------- page 37/43 Enter Monitor Mode (see Monitor Mode on page 5-2). Download the firmware to the TCP2RS using the DL command. Select Send Text File and select the LTX*.HEX file to be downloaded. Note: The downloaded file must be the .HEX (ASCII) version. After the final record is received, the TCP2RS checks the integrity of the firmware image before programming the new firmware in the flash ROM.
----------- TCP2RS -------------- User’s manual -------------------- page 39/43 !" Storage range: -40° to 66° C (-40° to 151° F) !" Maximum temperature change per hour: 20° C (36° F) Note: Maximum temperature changes may affect operation. Therefore, do not operate the TCP2RS near heating or cooling devices, large windows, or doors that open to the outdoors.
----------- TCP2RS -------------- User’s manual -------------------- page 40/43 F: IP Addressing Every device connected to a TCP/IP network must have a unique IP (Internet Protocol) address. This address is used to reference the specific device; for example, to build a connection to the TCP2RS’s serial port.
----------- TCP2RS -------------- User’s manual -------------------- page 41/43 F.3 Class C Network IP address 192.0.0.x to 223.255.255.x The first three bytes define the host, and the last byte defines the network. Class C networks are the most common and are often used in smaller companies. Each network can consist of up to 254 hosts.
----------- TCP2RS -------------- User’s manual -------------------- page 42/43 192.168.0.0 identifies the entire network, and 192.168.0.255 identifies the broadcast address. F.8 IP Netmask A netmask divides IP address differently than the standards defined by the classes A, B, and C. A netmask defines the number of bits to be taken from the IP address as the network or host sections.
----------- TCP2RS -------------- User’s manual -------------------- page 43/43 F.9 Private IP Networks and the Internet If your network is not and will not be connected to the Internet, you may use any IP address. If your network is connected or will be connected to the Internet, or if you intend to operate the TCP2RS on an intranet, you should use one of the reserved sub- networks.
Need help?
Do you have a question about the TPC2RS and is the answer not in the manual?
Questions and answers