Page 3
W&T Introduction The Com-Server++, 58665 and Com-Server 3x Isolated, 58662 represent a uniform platform for linking serial interfaces such as RS232, RS422/485 to TCP/IP networks. The standard mo- des for transparent tunneling of serial data (e.g. through vir- tual COM ports) are implemented. The Com-Server++ includes additional protocols and modes (e.g.
W&T Content 1 Quickstart ���������������������������������������������������������������� 9 1.1 Flow chart – Network installation using WuTility ....10 1.2 Overview of configuration menu ........11 1.3 Factory defauls settings ........... 12 2 Assigning the IP address ��������������������������������������� 13 2.1 Configuring network parameters with WuTility ....14 2.2 Assigning the IP using DHCP protocol ......
Page 5
W&T 8 The basis configuration of the Com-Server ������������ 55 8.1 Save your settings ............56 8.2 Menu: INFO System ............57 8.3 Menu: SETUP System ............58 8.3.1 Menu: SETUP System r Setup TCP/IP......58 8.3.2 Menu: SETUP System r System Password ....62 8.3.3 Menu: SETUP System r System Name ......63 8.3.4 Menu: SETUP System r Logfile ........63 8.3.5 Menu: SETUP System r Flash Update......65...
W&T Quickstart Already experienced users of Com-Servers will find on the two following pages a flow chart with the essential steps for start-up as well as a comple- te overview of the configuration menu. Detailed information can be found then in the following sections. Subject to error and alteration...
W&T 1�1 Flow chart – Network installation using WuTility Network Windows PC Com-Server with TCP/IP Select site WuTility installed? Install Connect WuTility with supply voltage product CD Start Connect WuTility network cable Select Obtain IP device in address, subnet inventory list mask, gateway Button: IP address...
W&T 1�2 Overview of configuration menu INFO System Cable Type IP-Address (0.0.0.0) Subnet Mask MAC address Gateway SOFTW Date/REV Standard Gateway (0.0.0.0) HARDW Rev Route 1 Destination DNS-Server Route 2 Netmask Run Time MTU (560-1460) DHCP Client Route 3 Gateway System Port List Route 4 SETUP System...
W&T 1�3 Factory defauls settings The list contains an overview of the most important settings. For many applications, such as the W&T COM Port Redirector, no additional configurations need to be made besides assig- ning the network base parameters. Detailed information on the respective parameters can be found in later sections of this manual.
W&T Assigning the IP address The Com-Server is factory set to IP address 0.0.0.0. Before you can make the entry in the Com-Server, you need to specify an IP address that is valid for your network. Your system administrator will provide you with this. The IP address must be unique within the network! ...
W&T Assigning the IP address 2�1 Configuring network parameters with WuTility WuTility is the central inventorying and management tool for all W&T network devices. In addition to convenient assigning of the IP parameters, WuTility also provides quick access to device configurations, the ability to perform firmware up- dates, managing configuration profiles, etc.
Page 15
W&T Assigning the IP address • If the Com-Server does not have its factory default settings and there is a system password assigned, this must be known in order to make changes using WuTility. Step 1: Start the assignment dialog WuTility automatically searches the local network for connec- ted W&T network devices and creates an inventory list.
Page 16
W&T Assigning the IP address Step 2: Assign the IP parameters The Static option allows you to assign fixed basic parameters while simultaneously disabling DHCP and BOOTP protocols in the Com-Server. Enter the desired values for IP address, subnet mask and gateway address in the corresponding entry fields.
W&T Assigning the IP address 2�2 Assigning the IP using DHCP protocol DHCP protocol is activated by the factory default settings, so that in network environments dynamic IP assignment is sufficient for connecting the Com-Server to the network. The following parameters can be assigned using DHCP: •...
W&T Assigning the IP address 2�2�2 System name To support any automatic updating of the DNS system by the DHCP server, the Com-Server identifies itself within the DHCP protocol with its system name. The factory default setting for this is COMSERVER- followed by the last three places of the Ethernet address.
W&T Assigning the IP address 2�2�4 Reserved IP addresses If the Com-Server is used as a TCP server or UDP peer, it provides services which other clients in the network can also make use of as needed. To open a connection, they of course need the current IP address for the Com-Server, so that in such situations it makes sense to reserve a particular IP address for the Com-Server on the DHCP server.
W&T Assigning the IP address 2�3 Assigning the IP using the ARP command Requirements This method can only be used if the Com-Server does not al- ready have an IP address, i.e. the entry is 0.0.0.0. To change an IP address, use one of the other methods described in this section or use the configuration menu over Telnet.
Page 21
W&T Assigning the IP address E.g. under Windows: arp -s 172.16.231.10 00-C0-3D-00-12-FF E.g under UNIX/Linux: arp -s 172.16.231.10 00:C0:3D:00:12:FF The IP addresses must be without leading zeros in all Windows environments. Otherwise the entry is incor- rectly interpreted by the system and an incorrect IP address is assigned to the Com-Server.
Page 22
W&T Assigning the IP address separate Telnet configuration session (see section Basic Confi- guration of the Com-Server).
W&T Assigning the IP address 2�4 Assigning the IP using the serial port After a Com-Server reset a time window of around 1-2 se- conds is available on port A, during which you can assign a new IP address, subnet mask and gateway address by ente- ring at least 3 „x“.
Page 24
W&T Assigning the IP address by commas and follows the IP address. Entering as shown in the following example will assign IP address 172.17.231.99, subnet mask 255.255.255.0 and gateway 172.17.231.52 to the Com-Server Exampel: Assigning the IP address: IP no.+<ENTER>: <- Com-Server 172.17.231.99 ->...
W&T Assigning the IP address 2�5 IP Address Conflict Detect Firmware version 1.31 and higher enables the Com-Server++ to detect and display an IP address conflict. This function is deactivated by default and can be activated in the following menu branch: SETUP System Setup TCP/IP IP Address Conflict Detect...
W&T Supply voltage 3�1 Supply voltage 58665 The model 58665 can also be operated either using PoE or from an external power supply. The current draw can be found in the technical appendix. 3�1�1 Power over Ethernet In PoE environments (Power-over-Ethernet, IEEE802.3af) power is provided by the network infrastructure.
W&T Supply voltage 3�1 Supply voltage 58662 The model 58662 Com-Server can be powered using the plug- in screw terminal located on the lower section of the housing. The input is reverse polarity protected and may be used with AC or DC voltages having the following specifications: The current draw can be found in the technical appendix.
W&T Network interface 4�1 Ethernet interface The Com-Server++ incorporates an IEEE 802.3-compatible network interface. 4�1�1 Link status The Link status is indicated on the two LEDs built into the RJ45 jack. • Link/Activity (green) ON indicates a valid link to a hub or switch port. The LED flashes when there is data traffic.
Page 33
W&T Network interface transmission parameters with respect to speed and duplex. To prevent communications problems (duplex mismatch), only the following two combinations are permissible: • Both parties (switch and Com-Server) are operated in Auto- Negotiation mode. • Both parties are configured for the same (fixed) transmissi- on speeds and duplex mode.
W&T The serial combi-port 5�1 Overview Com-Server comes standard with an RS232/422/485 combi- port whose modes are described below. All external signal lines use ESD-immune interface compon- ents to provide protection against static discharges of up to 15kV per IEC 801-2, Level 4. 5�1�1 Opening the Com-Server To open the Com-Server, plug the DB9 connector into the seri- al port.
W&T The serial combi-port 5�2 RS232 mode (factory default) The pin configuration of the RS232 port is identical to that of a PC, which allows you to use standard cables. DIP switch setting RS232 Mode RS232 The terminating DIL switches SW6 and SW7 must never be in the ON position when using the module in RS232 mode.
W&T The serial combi-port 5�3 RS422/485 mode As opposed to RS232, an RS422 interface allows transmission distances of up to 1000 meters. The RS485 mode allows you to integrate corresponding 2- or 4-wire bus sytems into a TCP/IP network with the help of the Com-Server. E s p e c i a l l y w h e n u s i n g l o n g e r c a b l e l e n g t h s i n industrial environments, potential differences need to be taken into consideration.
Page 39
W&T The serial combi-port Operation modes The DIL switches are used to set the following modes: • RS422, RS485 4-wire bus master Provides one data and handshake channel each in each direction. The RS422/485 drivers and receivers are always active in this mode. •...
Page 40
W&T The serial combi-port Data In B Data In A Wiring examples RS422 connection with hardware handshake Data Out A RxD A (-) Data Out B RxD B (+) Data In A TxD A (-) Data In B TxD B (+) Handshake Out A CTS A (-) Handshake Out B...
W&T LED displays 6�1 LED displays Error Power-LED Power Status On indicates that power is present on the external screw terminals or – with model 58665 – via PoE. Error Status-LED Power Status Rapid continuous flashing = bootup, no IP Rapid continuous flashing (approx.
Page 43
W&T LED displays 2 x flashing = Check serial data format The serial port received at least one character with a parity or framing error (= parity error / framing error), or the data register of the serial receiver ship was written even though the previous character was not read out.
Page 44
W&T LED displays Speed Link/Activity Link/Activity OFF: The Com-Server is not detecting a Link pulse from a hub or switch. Check the cable or the hub port. ON: The Com-Server has a valid link to a hub or switch. The Speed LED indicates the data rate in this case. Flashing: The Com-Server is receiving or sending network packets...
W&T Configuration access to the Com-Server After completing the hardware installation and assigning the IP address, the remaining Com-Server configuration takes place over the network. Here either a Telnet client or, after it has been activated, an Internet brow- ser can be used. Telnet configuration under Windows Configuration with the Internet browser Subject to error and alteration...
W&T Configuration access to the Com-Server 7�1 Configuration menu structure The setup of the Com-Server is treelike regardless of whether the configuration is used for a Telnet client or an Internet If you exit the configu- browser. An overview of all the levels can be found in the fol- ration menu by closing lowing illustration.
Page 47
W&T Configuration access to the Com-Server INFO System Cable Type IP-Address (0.0.0.0) MAC address Subnet Mask Gateway Standard Gateway (0.0.0.0) SOFTW Date/REV Route 1 Destination HARDW Rev DNS-Server Run Time Route 2 Netmask MTU (560-1460) DHCP Client Route 3 Gateway System Port List Route 4 SETUP System...
W&T Configuration access to the Com-Server 7�2 Configuration via Telnet On Unix/Linux systems as well as Windows up to XP the telnet client is included in the standard installation of the operating systems. The TCP port number for the telnet configuration is configu- rable in menu path Setup Port x r TCP/IP Mode r Port List r Telnet Configuration Port.
Page 49
W&T Configuration access to the Com-Server always just one level of the selected menu. Simply entering the number of the desired menu and pressing the ENTER key takes you to the next level. Entering a q or pressing the EN- TER key takes you back to the previous menu level.
W&T Configuration access to the Com-Server 7�3 Configuration via Browser - Web Based Management The Com-Server also allows configuration via HTTP protocol and a standard Internet browser. The menu structure of the WBM (Web Based Management) is compatible with the Telnet configuration.
W&T Configuration access to the Com-Server After finishing your entry by pressing the Return key, the values are stored in the non-volatile memory and you can im- mediately access the Com-Server and the set WBM port using your Internet browser. Additional information about serial configuration possibilities for the Com-Server can be found in the sec- tions Assigning the IP Address.
W&T Configuration access to the Com-Server SAVE Setup item. After you have quit the Telnet session, you can now access the Com-Server using an Internet browser. 7�3�4 Starting and navigating the WBM To access the Web pages after activating the WBM, start your Internet browser and enter the IP address of the Com-Server and the configured port number in the address line: http://[IP-Adresse]:[Portnummer]...
Page 53
W&T Configuration access to the Com-Server Navigation Since the WBM of the Com-Server is session-oriented, you must use backlinks and corresponding control buttons to navigate to the individual Web pages. Using the Back function in the browser can lead to problems in accepting the set pa- rameters.
Page 54
W&T Configuration access to the Com-Server The Abort button causes the Com-Server to reject all the settings you made and quits the configuration session. The Restore Defaults button resets the Com-Server to its original factory setting. All settings including the network parameters IP address, subnet mask and gateway address are lost.
W&T The basis configuration of the Com-Server Here follows the explanation of all the configuration possibilities related to the Com-Server operating system and which are not directly related to the serial ports. Save settings Menu: INFO System Menu: SETUP System Subject to error and alteration...
W&T The basis configuration of the Com-Server 8�1 Save your settings When configuring using either Telnet or Web Based Manage- ment, all the changes are first saved only temporarily in the Com-Server. To make sure the settings remain intact even after a reset or power failure, each configuration session must be ended with an explicit save procedure.
W&T The basis configuration of the Com-Server 8�2 Menu: INFO System This menu allows you to call up device-specific parameters such as the version njmber and creation date of the firmware, MAC address of the unit, etc. n Cable type Indicates whether the connection to the hub/switch is using 10BaseT or 100BaseTX.
W&T The basis configuration of the Com-Server 8�3 Menu: SETUP System This menu is for configuring all the parameters that pertain to the Com-Server operating system and are independent of the serial interface. 8�3�1 Menu: SETUP System r Setup TCP/IP n IP-Address (Default= 0.0.0.0) Enter here the IP address if you want to change it.
Page 59
W&T The basis configuration of the Com-Server only after closing the current Telnet connection using q. n DNS Server (Default: 0.0.0.0) The entry contains the IP address of the DNS server (Do- main Name System). The latter is needed in all client mo- des of the Com-Server (TCP, UDP, Telnet, FTP client) if the destination system is to be stored in the configuration not as a numerical IP address, but rather in the form of a host...
Page 60
W&T The basis configuration of the Com-Server n System Port List From the respective submenus you can configure and disable the TCP and UDP port numbers under which the following configuration and control accesses for the Com- Server are reached. Entries are made in decimal. The value 0 disables the service.
Page 61
W&T The basis configuration of the Com-Server n Wake on LAN (Default: deactive) Up to three Ethernet addresses for network components can be configured, which are enabled when there is a re- start of the Com-Server via Wake-on-LAN. For proper function of Wake-on-LAN it must be supported and activated by the BIOS and the net- work card in the destination computer.
W&T The basis configuration of the Com-Server running. Details on this functionality can be found in RFC5227, IPv4 Address Conflict Detection. If the Com-Server detects that its current IP address is also being used by another station in the local network, it indi- cates this conflict by rapid flashing of the Error LED.
W&T The basis configuration of the Com-Server associated TCP ports the password must be null-terminated (=[password] + 0x00) and sent to the Com-Server no later than 2s after the TCP connection has been established. Que- ries from SNMP managers are only responded to by the Com- Server if the community corresponds to the system password.
Page 64
W&T The basis configuration of the Com-Server · Read the configuration file (Default = 8003/TCP) · Write the configuration file (Default = 8004/TCP) · Reset Com-Server (Default = 8888/TCP) · Reset Port Status (Default = 9084/TCP) n Activate Logfile (Default= 0 = OFF) A 1 activates recording.
W&T The basis configuration of the Com-Server 8�3�5 Menu: SETUP System r Flash Update Before you activate the update mode, make sure that you have quit any active network connections. Then confirm with „y“. The update mode is indicated by lighting of the Status LED on the Com-Server.
Page 66
W&T The basis configuration of the Com-Server In addition to autonegotiation, the Com-Servers as well as many manageable switches can be configured for fixed transmission parameters with respect to speed and duplex procedure. To prevent communications problems (duplex mis- match), only the following two combinations are permitted: •...
W&T The basis configuration of the Com-Server 8�4 Menu ��� r TCP/IP Mode r System Options n Network Delay [10ms-Ticks] Default: 0000) This value specifies the minimum delay time of the Com- Server after serial data have arrived. After this time has expired, it packs the data into a network packet and sends them to the respective communications partner.
Page 68
W&T The basis configuration of the Com-Server n Flush Buffer Default: active If this switch is active, the serial buffer is cleared each time a new connection is opened; any residual data which cannot be transmitted (e.g. handshake stop of the serial terminal device) are thus lost.
W&T Configuration of the serial port Configuring the serial transmission parameters In addition to the usual settings for baud rate, data bits, parity and stop bits, the various handshake procedures and available special functions of the individual control signals are explained here. Setting the TCP/UDP services with access to the serial port Subject to error and alteration...
W&T Configuration of the serial port 9�1 The serial parameters (Menu: UART Setup) All RS232 parameters relevant to operation are configured in the submenu Setup Port x r UART Setup. An overview of the entire configuration tree can be found in the section Structure of the Configuration Menu.
W&T Configuration of the serial port n Com-Server 3x Isolated 7,3728*10 7,3728*10 Divisor= Baudrate= 64*Baudrate 64*Divisor The maximum baud rate of the Com-Server 3x Isolated is 115,2kBd, which corresponds to a divisor of 1. 230,4kBd is only available as standard baudrate. The currently configured baud rate is displayed when selec- ting the submenu SETUP Port x (serial) r UART Setup.
Page 72
W&T Configuration of the serial port filtered out from the actual data flow in both directions. This filtering can be turned off individually for each data direction in the Special submenu. Function control signal: RTS: NO (Default HIGH) DTR: NO (Default HIGH) CTS: DSR: n NO handshake...
Page 73
W&T Configuration of the serial port 2� Show Connection – The output is switched to the serial port depending on an existing TCP connection. HIGH (+3...12V) indicates an existing connection. 3� NO (Default=HIGH) – The outputs are not used by the Com-Server and carry a constant HIGH level (+3...12V).
Page 74
W&T Configuration of the serial port RS232 terminal device, the Com-Server stops serial data output until it receives an XON. If XON/XOFF Send is turned on, the Com-Server generates an XOFF when it is no longer able to receive serial data. n XON/XOFF (Filter) If XON/XOFF is turned off for flow control, this option can be used to separately determine for both data di-...
W&T Configuration of the serial port [Baud], [Parität], [Datenbits], [Stopbits], [Handshake] Possible values for the handshake variables are: Send filter Receive filter No handshake Hardware handshake Software handshake Xon/Xoff [Special] Special >setting configuration menu „Handshake Special“ 9�1�3 Receive Buffer (InQueue) The Com-Server is factory configured with a serial input buffer capacity of 4094 bytes.
Page 76
W&T Configuration of the serial port the FIFOs be turned on to reduce the system load especially when sending large data quantities at high baud rates above 57600. If for example you need a short delay in sending data as possible when working with serial protocols, the FIFOs should on the other hand be turned off.
W&T Configuration of the serial port 9�2 TCP-/UDP port numbers (Menu: TCP/IP Mode) In the menu branch Setup Port x r TCP/IP Mode r Port List you can configure the TCP server ports for all services with access to the serial ports on the Com-Server. Changes to the port numbers must be set the same in the client-side commu- nication partner.
Page 78
W&T Configuration of the serial port Telnet Port/TCP (Default = 6000/Port A, 6100/Port B, 6200/Port C) The telnet port allows access to the serially connected device with a standard telnet client. The port is always required for Telnet Server mode. For detailed information see chapter: Telnet Server FTP Port/TCP...
W&T 10 Packetizing serial datagrams Some serial protocols monitor the synchronous reception of datagrams with character delay time. When this timeout between two characters is ex- ceeded the associated datagram is rejected or evaluated as a transmission error. In such environments it may be necessary to send serial datagrams closed in a packet on the network side as well.
W&T Packetizing serial datagrams 10�1 Packet Options Packet Options in the menu path Setup Port x r TCP/IP Mode r SystemOptions are criteria which allow the Com-Server to detect the start and end of contiguous datagrams in serial receiving. They allow a serial datagram to be sent to the communication partner closed in a network packet.
W&T Packetizing serial datagrams 10�1�1 Startsequence/Endsequence The Com-Server sends the datagram when one of the two configured Start AND End sequences has been received. If the network send will be triggered only by an End Sequence, Start Sequence Size 1 and Start Sequence Size 2 must be configured to 0.
Page 82
W&T Packetizing serial datagrams Example 1: Modbus/ASCII begins each datagram with the character : (0x3a). The end of the datagram is indicated by the character string CRLF (0x0d, 0x0a). As soon as the Com-Server has received the character 0x3a, it collects more data until the End Sequence 0x0d 0x0a is recei- ved and then passes the datagram to the network.
Page 83
W&T Packetizing serial datagrams The Com-Server collects incoming serial data until receipt of the End Sequence CRLF or LFCR and then passes the datagram to the network. Example 3: The block end of a serial protocol is followed by the character ETX (0x03) followed by a 16-bit checksum.
W&T Packetizing serial datagrams 10�1�2 Startsequence + Lengthfield The Com-Server sends the datagram after reception of a Start Sequence and evaluation of a length specification contained in the datagram. n Activate this Packet Option (Telnet) Activates the selected option for serial data reception. n Start Sequence Size Enter the length of the Start Sequence in bytes.
Page 85
W&T Packetizing serial datagrams n Byte Order Organization of the length field (net order = high-byte- first; byte order = low-byte-first) n Additional Bytes Any number of bytes which may not be accounted for in the length specification of the serial protocol (e.g. Start Sequence, appended checksum, etc.).
W&T Packetizing serial datagrams racters is equal to the sum from the Length field and Additio- nal Bytes, the datagram is passed to the network. 10�1�3 Interpacket Delay The Com-Server structures the serial data stream based on a configurable rest pause in ms for serial reception. This means after receipt of any character the following data are collected until no more characters have been received within the time set as Interpacket Delay.
W&T Packetizing serial datagrams 10�1�4 Fixed Packet Length The Com-Server structures datagrams based on a fix number of characters. This means datagrams are not passed to the network until the set number of characters has been received. n Activate this Packet Option (Telnet) Activates the selected option for serial data reception.
W&T 11 Mode TCP-Server The most direct way to exchange data with a serial device connected to the Com-Server is via TCP sockets. This is especially useful in cases where communication needs to be integrated into your own programs. Compa- rable to traditional telephony, TCP connections always consist of an active, calling side (=Client) and a passive, call-answering side (=Server).
W&T Mode TCP server 11�1 The Com-Server as TCP server TCP is a connection-based protocol, i.e. during data transmis- sion there is a fixed connection between client and server. TCP possesses all the mechanisms for opening and closing a connection and ensuring errorless data transfer over the network.
W&T Mode TCP server 11�1�1 Configuration of the local port number SETUP Port x TCP/IP Mode Port List Local Port TCP/UDP To open a connection to the Com-Server, a client needs an IP address and the TCP port number. Direct access via TCP to the serial port of the Com-Server is done using the port number stored in the menu branch Setup Port x r TCP/IP Mode r Port List r Local port (TCP).
Page 92
W&T Mode TCP server application is determined by the Flush Buffer option. Details can be found in the section Basic configuration of the Com- Server. Flush Buffer SETUP Port x TCP/IP Mode System Options Flush Buffer This option determines whether when a network-side connec- tion is opened to the Com-Server the serial receive buffer is cleared (Flush Buffer = 1) or any existing data are sent to the client application (Flush Buffer = 0).
Page 93
W&T Mode TCP server Network Delay SETUP Port x TCP/IP Mode System Options Network Delay In its default setting the Com-Server attempts to sent the seri- ally arriving data to the network-side application with as little delay as possible. Particularly when working with host serial protocols it may be necessary to send the protocol blocks enclosed in a network packet if possible.
W&T 12 Mode TCP Client Triggered by serial data reception or a serial control line the Com-Server opens the connection to a TCP server in TCP-Client mode as needed. TCP-Client mode with static addressing TCP-Client mode with serial addressing Connection opening and closing control Subject to error and alteration...
W&T Mode TCP client 12�1 The Com-Server as TCP client In contrast to the passive TCP server mode, in TCP client mode the Com-Server independently opens connections to a TCP server located in the network. The destination IP address and destination port number needed for this can either be stored in the configuration or sent serially to the Com-Server before the actual user data.
W&T Mode TCP client 12�1�1 TCP client mode with fixed destination system SETUP Port x TCP/IP Mode TCP Client Server Port Server IP/URL n Server Port Port number that the application (TCP server process) addresses on the computer. Format: decimal n Server IP/URL IP address or URL of the computer on which your applicati- on (TCP server process) is active.
Page 98
W&T Mode TCP client Closing the TCP connection SETUP Port x TCP/IP Mode TCP Client Special Options Inactivity Timeout Disconnect Char Connection Timeout To close the connection the following methods from the Sub- menu ...TCP Client r Special Options are available. If connec- tion control is configured using the handshake inputs CTS or DSR, the connection is also closed when this line drops.
Page 99
W&T Mode TCP client n Connection Timeout Default: 300 This value is a connection timeout that is only effective together with an activated Inactivity Timeout . After the Inactivity Timeout expires, the Com-Server tries to send any still existing, unsent user data for the duration of the Connection Timeout.
W&T Mode TCP client 12�1�2 TCP client mode with serial addressing SETUP Port x TCP/IP Mode TCP Client Special Options Client: "C"+Addr In this mode the address data for the server are not per- manently configured, but rather transmitted serially to the Com-Server as an ASCII string in front of the actual data.
Page 101
W&T Mode TCP client contain space characters (0x20), nor can the first cha- racter be a decimal (0x2E). A server IP or URL is deleted by entering 0.0.0.0.For additional information refer to the section Menu: Setup SYSTEM r Setup TCP/IP r DNS- Server.
W&T Mode TCP client 12�1�3 Optional settings Using the following optional settings in the submenu ...TCP Client r Special Options various special functions can be ac- tivated and deactivated. These apply both for operation with fixed or serial addressing. Response Mode (Default: deaktiv) SETUP Port x TCP/IP Mode TCP Client...
Page 103
W&T Mode TCP client Serial transmission parameters SETUP Port x UART Setup Baud, Parity, Data Bits, Stopbits, Handshake Baud rate, data bits, parity and handshake procedure must conform to the connected serial device. For details see section Configuration of the Serial Port. Serial receive buffer SETUP Port x UART Setup...
Page 104
W&T Mode TCP client activate their processing for the respective mode. Details can be found in the section Packeting of serial datagrams. Network Delay SETUP Port x TCP/IP Mode System Options Network Delay In its default setting the Com-Server attempts to sent the seri- ally arriving data to the network-side application with as little delay as possible.
W&T Mode TCP client 12�1�4 Deactivating TCP client mode Set the following parameters in the menu branch SETUP Port x r TCP/IP Mode r TCP Client to a value of 0 and save this change: ... r Server Port ... r Special Options r Client: „C“+Addr Alternately you may use the function SETUP Port x r Port Sta- te r Clear Port Mode.
Page 106
W&T Mode TCP client Example 1: A control program polls a measuring device; the measuring device is passive Configuration menu: r TCP/IP Mode r TCP-Client Intranet / Internet Com-Server A - Server Port: 8000 - Server IP: IP address Com-Server B - Client“C“+Addr.: deactive Com-Server B - Server Port: 0000...
Page 107
W&T Mode TCP client Example 3: A control program polls multiple measuring devi- ces; the measuring devices can (e.g. in case of error) indepen- dently send data to the control program Intranet / Internet Configuration menu: r TCP/IP Mode r TCP-Client Com-Server A - Server Port: 8000 - Server IP: IP address Com-Server B...
W&T 13 Data transfer per UDP Instead of TCP, communication with the serially connected devices can also take place via UDP. This method offers several advantages over TCP when the data are secured already within a serial protocol in creating your own software.
W&T Mode UDP peer 13�1 Der Com-Server als UDP-Peer UDP is a connection-less and unsecured datagram service. During data transmission there is no fixed connection bet- ween the communicating network stations. Datagrams are addressed to the destination in the network without there being any reply referencing the success or failure of the sen- ding.
W&T Mode UDP peer 13�1�1 Setting the local UDP port number SETUP Port x TCP/IP Mode Port List Local Port TCP/UDP To send a UDP datagram to the Com-Server, the sender needs the IP address of the Com-Server as well as its UDP port num- ber on which the data are received.
W&T Mode UDP peer 13�1�2 UDP clientmode with fixed destination system SETUP Port x TCP/IP Mode UDP Client Server Port Server IP/URL n Server Port Port number that the application (TCP server process) addresses on the computer. Format: decimal n Server IP/URL IP address or URL of the computer on which your applicati- on (TCP server process) is active.
W&T Mode UDP peer 13�1�3 UDP client mode serial addressing SETUP Port x TCP/IP Mode UDP Client Special Options Client: "C"+Addr Disconnect Char In this node the address data of the destination system are not permanently configured, but rather sent serially to the Com-Server as an ASCII string before the actual user data.
Page 114
W&T Mode UDP peer by entering 0.0.0.0. For additional information refer to the section Menu: Setup SYSTEM r Setup TCP/IP r DNS- Server. n Disconnect Char Default: 0 This parameter is only processed if the parameter Client: „C“+Addr is activated. If the Com-Server receives the cha- racter configured here at its serial port, it deletes the last serially received UDP server address.
W&T Mode UDP peer 13�1�4 Optional settings The following optional settings allow you to activate and deactivate various special functions. These apply to fixed as well as serial addressing. Special Options r Write „C“+Addr (Default: deactive) SETUP Port x TCP/IP Mode UDP Client Special Options Write: "C"+Addr...
W&T Mode UDP peer When sending serial protocols such as Modbus/RTU, it is of- ten necessary to send serial received datagrams also closed on the network side in a TCP packet. The menu paths shown above offer various ways to parameterize serial packet limits (pause times, start-/end sequences, datagram lengths) and to activate their processing for the respective mode.
W&T 14 UDP Bus Mode UDP Bus Mode projects the behavior of an RS485 bus with master/slave protocol on to the network. Polling of the serial master is sent via broad- cast to the Com-Server which is configured as a slave. The reply from the contacted slave is then addressed or likewise sent back to the master in a broadcast.
W&T UDP bus mode 14�1 Function of UDP Bus Mode The Com-Server configured in UDP Bus Mode as a master sends all received serial data as a broadcast into the network to the configured UDP port. All slave Com-Servers active on the addressed UDP port receive these data and forward them to their serial devices with no content changes.
Page 119
W&T UDP bus mode 14�1�1 Configuring the local port number A UDP port number must be set on both the master as well as the slave Com-Servers. The contents of all UDP datagrams addressed to the Com-Server and this UDP port number are received and their data forwarded to the serial device.
W&T UDP bus mode n Server IP/URL If the UDP datagrams need to be sent addressed to the UDP Bus master, enter here the IP address of the UDP Bus master. TO also send in this direction via broadcast, confi- gure here broadcast address 255.255.255.255.
W&T UDP bus mode 14�1�4 Deactivating UDP mode Set the following parameters in the menu branch SETUP Port x r TCP/IP Mode r UDP Client to a value of 0 and save this change: ... r Server Port ... r Special Options r Client: „C“+Addr Alternately you may use the function SETUP Port x r Port Sta- te r Clear Port Mode.
W&T 15 The Windows COM port redirector With the COM Port Redirector available for Windows 9x, NT, 2000, XP, Vista, 7, 8, 8.1 (incl. 64-bit and server editions) the virtual COM ports are installed in the respective system. These behave in a serial application exactly like normal local ports, but are actually located on Com-Servers located in the network.
W&T The Windows COM port redirector 15�1 Overview The W&T COM Port Redirector implemented as a Windows core driver provides virtual COM ports which behave like local standard ports with respect to opening applications. Configuration is registry-based using the COM Port Redirector configuration tool from the Windows start menu.
W&T The Windows COM port redirector 15�2 Download & installation of the W&T COM redirector The latest version of the COM Port Redirector as well as addi- tional tools, application descriptions and FAQs can always be downloaded from our Web site http://www.wut.de. The simp- lest way to navigate from there is by using the menu tree on the left side of the page.
W&T The Windows COM port redirector ver, a link to the configuration tool in the Windows Start menu under W&T COM Port Redirector is created. 15�2�2 Uninstalling the W&T COM Port Redirector The W&T COM Port Redirector is uninstalled using Windows software administration.
W&T The Windows COM port redirector 15�3 Set up virtual COM ports To set up a new virtual COM port, start the COM Port Redirec- tor configuration applet in the control panel and click on the Com-Server button. A dialog box opens which you fill in and then click on OK.
Page 128
W&T The Windows COM port redirector Local Port and Control Port SETUP Port x TCP/IP Mode Port List Local Port TCP/UDP Control Port TCP If a TCP port which differs from the factory default setting was entered in the COM Port Redirector, the corresponding values must also be configured in the above menu paths of the Com-Server.
Page 129
W&T The Windows COM port redirector Network Delay SETUP Port x TCP/IP Mode System Options Network Delay In its default setting the Com-Server attempts to sent the seri- ally arriving data to the network-side application with as little delay as possible. Particularly when working with host serial protocols it may be necessary to send the protocol blocks enclosed in a network packet if possible.
W&T 16 Box-to-Box mode In „Box to Box“ mode any two Com-Server serial ports can be logically linked to each other over the network. The two connected serial terminal devices are in constant online contact in this mode. Optionally communica- tion can be encrypted via TLS/SSL for protected transmission of the serial data in the network.
W&T Box-to-Box mode 16�1 Box-to-Box application This mode is based on a permanent TCP connection between two serial ports on Com-Servers distributed in the network. One of these ports acts as the master, the other as slave, though from the view of the serial data it makes no diffe- rence which device is acting as master or slave.
W&T Box-to-Box mode 16�1�1 Configuring Box-to-Box mode Only the Master port is configured for „Box to Box“ mode;Slave ID address, slave port number as well as any use of TLS encryption are configured only on the master port! Settings in the Special Options submenu and parameterizing of the serial port can and must be done on both ports (see examples at the end of this section).
W&T Box-to-Box mode 16�1�2 Optional settings The following optional settings allow enabling/disabling va- rious special functions. With the exception of TLS(SSL) encryp- tion these can be set independently of each other on either the master or the slave. Serial transmission parameters SETUP Port x UART Setup Baud, Parity, Data Bits,...
Page 135
W&T Box-to-Box mode the slightly increased latencies caused by the TLS protocol may need to be taken into account. Packeting options for serial receive data SETUP Port x TCP/IP Mode Box to Box Activ. Packet Options System Options Packet Options When sending serial protocols such as Modbus/RTU, it is of- ten necessary to send serial received datagrams also closed on the network side in a TCP packet.
W&T Box-to-Box mode 16�1�3 Deactivating Box to Box Mode As with setting up the Box-to-Box connection, proper disab- ling of this mode is also done using the Box-to-Box master. Set the following parameters in the menu path SETUP Port x r TCP/IP Mode r Box to Box to a value of 0 and save this change: ...
Page 137
W&T Box-to-Box mode 15�1�4 Sampleconfigurations for Box to Box mode Intranet / Internet Serial connection tunneled through the network Box-to-Box Master Box-to-Box Slave IP address: 172.16.231.5 IP address: 172.16.231.8 Port number of Port A: 8000 Port number of Port A: 8000 SETUP Port 0 SETUP Port 0 TCP/IP Mode...
W&T 17 Mode FTP-Server The FTP, which is based on TCP, is a standard protocol for file transmissi- on. In the mode as FTP server an FTP client can send files to the Com-Ser- ver whose contents are sent to the serially connected device. In the other direction, serial data arriving at the Com-Server from the FTP client can be written to a file.
W&T Mode FTP server 17�1 The Com-Server as FTP server This mode can be used when the send data are in file format and the action will always be started from your TCP/IP com- puter. If the FTP-Server service is enabled in the Com-Server, connec- tions to configured port numbers are accepted by FTP clients.
W&T Mode FTP server 17�1�2 Supported FTP commands and functiuons The Com-Server accepts the following FTP commands: n PUT [local file] [remote file] Sending the file local file to the Com-Server for the pur- pose of outputting on the serial port. Since no remote file exists, enter any character here for this.
W&T Mode FTP server 17�1�3 Optional settings Serial transmission parameters SETUP Port x UART Setup Baud, Parity, Data Bits, Stopbits, Handshake Baud rate, data bits, parity and handshake procedure must conform to the connected serial device. For details see section Configuration of the Serial Port.
W&T 18 Mode FTP-Client FTP, which depends on TCP, is a complete, session-oriented, general pur- pose file transfer protocol. If the Com-Server is configured as an FTP client, the connection to an FTP server is automatically opened, triggered by serial data reception.
Page 144
W&T Mode FTP client 18�1 The Com-Server as FTP client This mode enables automated writing and reading of files to and from any standard FTP server. The IP address/URL of the FTP server are permanently stored in the setup of the Com- Server.
Mode FTP client 18�1�1 Configuring the destination address and port no� SETUP Port x TCP/IP Mode FTP Client Server Port Server IP/URL Regardless of whether the FTP protocol is handled automati- cally or with the help of the serial protocol string, the address data for the respective FTP server must be configured in this submenu.
Page 146
W&T Mode FTP client 18�1�2 The automatic FTP client mode This mode is recommended whenever you need to execute the same command over and over again. The FTP commands are configured in the Com-Server. The latter opens a con- nection to the FTP server when it receives data at the serial port.
Page 147
Mode FTP client n [STOR/APPE/RETR/LIST] [dir/file] Open connection Close connection LIST Directory The connection is The connection is RETR File opened when any closed when the FTP character is received server has sent all data. at the serial port. This character is not sent.
W&T Mode FTP client 18�1�3 FTP client with serial protocol This mode is recommended where constantly changing com- mands with different files need to be executed. FTP commands for the FTP client TYPE A or I Activation of ASCII or binary mode STOR File Saves all serially received data in File...
Page 149
Mode FTP client the transmission takes place with TYPE I (binary), the oc- currence of the protocol character in the data stream will be ignored. The only possibility for a disconnection in this case is by way of an inactivity timeout. Format: decimal Opening the FTP connection After saving the configuration data the Com-Server waits to...
W&T Mode FTP client 18�1�4 Closing the FTP connection SETUP Port x TCP/IP Mode FTP Client Special Options Inactivity Timeout Connection Timeout Protocol Char Regardless of whether you are working with Automatic mode or the serial protocol, the FTP connection is closed either time-based or, for ASCII transmission, with the help of the Protocol Chars.
Mode FTP client n Connection Timeout Default: 300s This value is a connection timeout which is only effec- tive together with an activated Inactivity Timeout. After the Inactivity Timeout expires the Com-Server attempts to transmit any existing, unsent serial user data for the duration of the Connection Timeout.
W&T Mode FTP client 18�1�6 Application examples Example 1: Opening and closing the connection 1. Send the command string to the serial port. If the com- plete string was received, the Com-Server begins to open the connection and process the commands. 2.
Page 153
Mode FTP client Com-Server Serial device <----- egon<lf>happy<lf>TYPE A<lf>APPE /usr/egon/config<lf><Ctrl C> -----> OK<Ctrl C> <----- [binary data] -----> 221 Goodbye<Ctrl C> Example 4: User egon having the password happy would like to view the file /usr/private and transfer the data in ASCII. The file does not exist however.
W&T 19 Mode Telnet Server Telnet is a terminal emulation protocol. Data transmission is character- oriented. Telnet allows bi-directional character exchange between the TCP/ IP computer and the serial terminal device connected to the Com-Server. Com-Server as Telnet server Subject to error and alteration...
W&T Mode Telnet Server 19�1 The Com-Server as Telnet server This mode allows character-oriented data to be exchanged between a network side telnet client application and the seri- ally connected device on the Com-Server. If the telnet server service is activated in the Com-Server, con- nections from telnet clients are accepted on the configured port number.
W&T Mode Telnet Server 19�1�2 Optional Settings Telnet Echo SETUP Port x TCP/IP Mode Telnet Server Telnet Echo When opening a Telnet session, negotiation between the sta- tions takes place on the network side to determine who will generate the echo of the characters sent by the client. Either the client application generates a local echo, or the Telnet server generates a remote echo by immediately returning all received data.
Page 158
W&T Mode Telnet Server Flush Buffer SETUP Port x TCP/IP Mode System Options Flush Buffer This option determines whether when a network-side connec- tion is opened to the Com-Server the serial receive buffer is cleared (Flush Buffer = 1) or any existing data are sent to the client application (Flush Buffer = 0).
W&T 20 Mode Telnet Client Telnet is a protocol for terminal emulation. Data transmission is character- oriented. In Telnet Client mode the Com-Server opens the connection to the configured telnet server starting with the reception of serial data. The Com-Server as Telnet-Client Subject to error and alteration...
W&T Mode Telnet Client 20�1 The Com-Server as Telnet client This mode is the simplest way to implement terminal emu- lation on a serial terminal device and thereby to effect direct communication with the TCP/IP station on which the Telnet server is active.
Page 161
W&T Mode Telnet Client Opening the Telnet connection After saving the connection data the Com-Server waits to re- ceive any serial character. This is the trigger for opening the connection. Closing the Telnet connection To close the Telnet connection, use the following methods available in the Submenu ...Telnet Client r Special Options.
W&T Mode Telnet Client 20�1�2 Optional settings Serial transmission parameters SETUP Port x UART Setup Baud, Parity, Data Bits, Stopbits, Handshake Baud rate, data bits, parity and handshake procedure must conform to the connected serial device. For details see section Configuration of the Serial Port.
W&T Mode Telnet Client 20�1�3 Deactivating Telnet client mode Set the following parameters in the menu branch SETUP Port x r TCP/IP Mode r Telnet Client to a value of 0 and save this change: ... r Server Port ... r Server IP/URL Alternately you may use the function SETUP Port x r Port Sta- te r Clear Port Mode.
W&T 21 Mode SLIP-Router SLIP router mode enables serial devices with their own TCP/IP stack to be incorporated into an Ethernet. When the Com-Servers are used in pairs, remote Ethernet segments can also be integrated into the main network in this mode using a serial standard cable.
W&T Mode SLIP router 21�1 SLIP mode In this mode the Com-Servers functions as a router. All net- work packets whose destination address is within the confi- gured subnet are routed over the serial interface using SLIP. All arriving serial SLIP packets are passed along to the local Ethernet network.
W&T Mode SLIP router 21�1�1 Configuring the SLIP mode You may not configure for SLIP routing in the same Telnet session in which the IP address, the subnet mask or the gateway address for the Com-Server was already changed. After you make such serttings you must first close the Telnet connection using q and then reopen SETUP Port x TCP/IP Mode...
Page 168
W&T Mode SLIP router The following sketch shows the various ways of processing the IP packets depending on the SLIP-Net Routing parameter. 192.1.1.12 172.16.231.2 172.16.231.1 Ethernet Com Server RS232 172.16.231.3 Paketrahmen Ethernet IP datagram SLIP IP datagram ... r SLIP Router r Net Address = 192.1.1.0 / SLIP-Net Routing = 1 ping 172.16.231.1 ping 192.1.1.12 ...
W&T Mode SLIP router 21�1�2 Optional settings Serial transmission parameters SETUP Port x UART Setup Baud, Parity, Data Bits, Stopbits, Handshake When using in pairs, both Com-Servers used as SLIP routers must be configured identically for baud rate, parity, data bits and stop bits.
W&T Mode SLIP router 21�1�4 Application example Connecting two IP networks over serial cable In SLIP router mode paired use of two Com-Servers allows two IP/Ethernet networks to be connected over a serial RS232/422 cable. The prerequisite is that the two networks must belong to different IP networks.
W&T Mode SLIP router 21�1�5 Configuring the Com-Server via SLIP It is possible to open a UDP connection for configuring some Com-Server parameters through the serial connection bet- ween the Com-Server and the connected SLIP computer. The SLIP packets must be directed to the IP address 10.0.0.1 and UDP port 1111.
Page 172
W&T Mode SLIP router Packet types (byte TYPE) The following three packet types are used for sending confi- guration data: • TYPE = 1: Writing parameters in the Com-Server This packet is sent by the SLIP computer to the Com- Server.
W&T 22 OPC data transfer OPC (Ole for Process Control) is the standard software interface for manuf- acturer-neutral acquisition of external data sources from within visualizati- on and SCADA systems. Regardless of whether in process-, automation- or building technology, the W&T OPC Server takes care of TCP/IP communi- cation with the Com-Server.
W&T OPC data transfer 22�1 Overview The W&T OPC-Server Version 4 conforms to OPC Data Access 3.0 as well as OPC Alarms & Events 1.10. It is implemented This description refers as a background service, whereby client connections as well to the OPC Server are possible without any active user login on the respective Version 4.00 and hig-...
W&T OPC data transfer 22�2 Download and installation of the W&T OPC server The latest version of the W&T OPC server as well as additional tools, application descriptions and FAQs can always be down- loaded from our Web site http://www.wut.de. The simplest way to navigate from there is by using the menu tree on the left side of the page.
W&T OPC data transfer - OPC-Server configuration Configuration tool for OPC server service - Minimal OPC-Client OPC client application for testing purposes - Manual Online documentation and help. A context-specific start can also be done by pressing the F1 key within the confi- guration tool 22�2�2 Deinstallation of the OPC server The W&T OPC Server is uninstalled using Windows software...
W&T OPC data transfer 22�3 Configuration of the OPC server The OPC Server is implemented as a background service, and can be used without a user login. Configuration is file-based, whereby the configuration files contain general options and a device list. Any number of these files may be stored under any desired names.
Page 178
W&T OPC data transfer Local Port und Control Port SETUP Port x TCP/IP Mode Port List Local Port TCP/UDP Control Port TCP If a TCP port differing from the factory default set 8000 was entered in the OPC server, the corresponding values must also be configured in the menu branches of the Com-Server shown above.
W&T OPC data transfer 22�3�2 Incorporating the Com-Server into the OPC Server After starting the OPC configuration tool, click on the New serial device button to start the dialog for integrating a Com- Server: The required connection data for the Com-Server, consisting of the IP address, TCP port and system password, are entered into the corresponding fields of the following window.
W&T OPC data transfer 22�3�3 Structuring the serial data In order to be able to represent the received RS232 data for OPC as string variables, the data must first be broken down into packets. Packet limits are recognized here either based on pauses or by the occurrence of special character se- quences.
W&T OPC data transfer 22�4 Serial OPC variables T h e O P C S t a n d a r d s D a t a A c c e s s 3 . 0 ( D A 3 . 0 ) a n d Alarm&Events (A&E) are supported by separate OPC Server instances.
W&T Mode InQueueCopy 23�1 InQueue Copy InQueueCopy enables reproducing the serial input data of the Com-Server to up to six slave applications. These must be designed as TCP clients and connect to the configured Local Copy Port. In combination with the W&T COM Port Redirector it is also possible to user serially communicating programs.
W&T Mode InQueueCopy 23�1�2 Configuring InQueueCopy SETUP Port x TCP/IP Mode InQueueCopy Local Copy Port Accepted Copy-Slave IPs n Local Copy Port TCP-Server port on which copies of the serial input data of the Com-Server are made available. To prevent conflicts with other standard ports on the Com-Server we recom- mend selecting a port number >...
W&T Status and error messages 24�1 Menu Setup Port x r Port State In this menu you will find information about the configured TCP/IP mode of the Com-Server port, the status of the net- work connection and a listing of error which occured. In addi- tion, Clear Port Mode can be used to clear a fixed set mode.
Page 189
W&T Status and error messages n Error State This list shows the errors which occured on the port. If more than five errors have occured since the Com-Server was last reset or since the last time the error table was cleared, the oldest entry is always overwritten.
Page 190
W&T Status and error messages parity bit, stop bits). Please check here also that the Com Server and serial terminal device configurations are the same. n Clear Port Mode Use this command to simply and easily revert the port to standard TCP/IP mode.
W&T 25 Expanded services of the Com-Server In the preceding sections we explained all the standard processes that are implemented in the Com-Server. These client/server processes cover the majority of the application possibilities for the Com-Server. Implementati- on of more complex scenarios often requires however that the software be individually adapted.
W&T Expanded services of the Com-Server 25�1 The control port The TCP client and TCP server processes for sending data to the serial port of the Com-Server do not allow influencing the serial port itself. But some applications make it necessary that the status and configuration of the port be known and capab- le of being changed at all times.
W&T Expanded services of the Com-Server If no system password is configured, you can begin with ex- change of the info structures immediately after the TCP con- nection is opened, as described in the following. 25�1�1 The control structure For the purpose of exchanging information and commands, data records having a defined length and structure are ex- changed through this connection.
Page 194
W&T Expanded services of the Com-Server The structure COM_ERROR The COM_ERROR structure has a length of one WORD (16-bit integer) and contains all the error states of the serial port. typedef struct _com_error union word error_flags; struct _err_flags word f_data : 1;...
Page 195
W&T Expanded services of the Com-Server word break_mode //1 = set_break was set HighByte //0 = clear_break was set word dummy //not used word send_xoff //Send XOFF asynchron word flush_rd //Flush serial input buffer | word flush_wr //Flush serial output buffer| word set_rts_dtr //set RTS to rts_hold and //DTR to dtr_hold...
Page 196
W&T Expanded services of the Com-Server tivated and break signal is generated. The level of the data output remains inverted until break mode is deactivated again by setting clear_break. Structure BOX_CNTRL The BOX_CNTRL structure (20 bytes) is used to store the port configuration (baud rate, data bits, parity, stop bits, handsha- king, timing values, etc.).
Page 197
W&T Expanded services of the Com-Server struct _commands unsigned char save_command :4; //Save COM-Configuation //0 = no save //1 = save without EEPROM Update //2 = save with EEPROM Update unsigned char clear_error //1 = clear error in display/lamps unsigned char set_fact_def :1; //1 = set factory defaults and reset unsigned char free_cmd //not used...
Page 198
W&T Expanded services of the Com-Server 2. To work with the configuration, the value save_command in the structure has to be set. save_command = 2 causes the Com-Server to save this configuration in non-volatile memory and to use it again after a restart. A 1 does not overwrite the non-volatile memory, i.e.
W&T Expanded services of the Com-Server 25�2 Reset Com-Server port Factory default = 9084, 9184, 9284/TCP for ports A, B, C For special applications this port makes it possible to carry out a forced reset of the Com-Server port. All current connec- tions to the serial port are immediately closed, regardless of whether the respective partner is reachable.
W&T Expanded services of the Com-Server 25�3 Com-Server reset Factory default: 8888/TCP The reset socket has been implemented in case the Com- Server ever needs to be completely reset. If a connection is opened on this port, the Com-Server immediately closes it again and then performs a software reset.
W&T Expanded services of the Com-Server 25�4 Up-/downloading configuration data Factory default: 8003/TCP=read, 8004/TCP = write These services allow you to read out the configuration data for the Com-Server stored in the non-volatile memory and send it to another Com-Server. Especially when installing a large number of Com-Servers having the same settings this methjod eliminates having to open a Telnet configuration con- nection for each individual unit.
Page 202
W&T Expanded services of the Com-Server Writing configuration data on port 8004 Uploading to a Com-Server is analogous to reading out the configuration data. After opening a TCP connection to Port 8004 of the Com-Server, the latter expects the 2048 bytes for a new configuration.
W&T Expanded services of the Com-Server 25�5 Inventory taking per UDP/8513 UDP port 8513 allows you to open an info-structure with de- vice-specific information from the Com-Server. After receipt of a network packet with any contents directed to this port, the Com-Server replies with the info-packet.
Page 204
W&T Expanded services of the Com-Server typedef struct _PORT_DESCRIPT // ( 10 byte ) { union unsigned int wState; struct _new_type unsigned char port_type;//0x01 = serial port (serial CPU port) //0x02 = Serial port (UART port) //0x03 = reserved //0x04 = Digital E/A //0x05 = reserved //0x06 = W&T Dual Port RAM...
W&T Expanded services of the Com-Server 25�6 SNMP management Many networks are managed through a central network ma- nagement system using SNMP protocol. For this purpose the Com-Server supports parts of the MIB2 for read access via SNMPv1. A private branch with associated MIB which provides read and write access to all the configuration parameters of the Com-Server is in preparation.
Page 206
W&T Expanded services of the Com-Server...
W&T 26 Firmware-Update of the Com-Server Since the operating software is under constant develpoment, this device also allows you to perform a firmware update. The available upload variati- ons are described here. Where do I get the current firmware? Network firmware update under Windows Subject to error and alteration...
W&T Firmware update of the Com-Server 26�1 Where do I get the current firmware? The most current firmware including update tools and a revi- sion list is published on our Web site at the following address: http://www.wut.de From there it is easiest to navigate using the Search function located on the left side.
W&T Firmware update of the Com-Server 26�2 Network firmware update under Windows Required is a PC running Windows >NT with a network con- nection and activated TCP/IP stack. For the update process you need two files which, as already mentioned, are available for download from our Web site at http://www.wut.de.
Page 210
W&T Firmware update of the Com-Server 26�2�1 Update in routed environments The WuTility Update Wizard divides itself on the network side into three steps, whereby the specified TCP and UDP services are used: 1. Identification/Inventory of the device Destination port Com-Server: UDP/8513 2.
Page 211
W&T Firmware update of the Com-Server Highlight the desired Com-Server in the WuTility inventory list with the right mouse button and choose Properties. Highlight the line Component#0 r Platform Code and enter the value 9.0 for the Com-Server++, 58665 in the correspon- ding entry field For the Com-Server 3x Isolated, 58662 enter the value 9.2.
Page 212
W&T Firmware update of the Com-Server 26�3 Incomplete and interrupted updates The Com-Server automatically detects an incomplete or in- terrupted firmware transmission – caused for example by a power or network failure – and after a restart automatically re- sumes update mode. The update can in this case be restarted under the previous IP address.
W&T Appendix Used ports and network security The port numbers factory set in the Com-Server: Port-/Socket- Password- number Application protection? configurable? 8000 (TCP) Socket server port A 8100, 21 (TCP) Socket server port B 8200 (TCP) Socket server Port C 1111 (TCP) Telnet configuration port 9094 (TCP)
Page 215
W&T Appendix The Com-Server and network security Network security has rightly taken on added significance in recent times. All the experts are in agreement that there can be no such thing as absolute security given today’s level of technology. Every customer must decide for himself what the appropriate balance is between security, functionality and cost for his specific circumstances.
Page 216
W&T Appendix however a general issue for network security for which each customer must find the appropriate solutions. Ports with special functions In addition to access over Telnet or Web Based Management, there are a variety of functions which can be activated over various TCP or UDP ports.
Page 217
W&T Appendix • Com-Server Reset and Port Reset (see section on Reset Com-Server-Port and Reset the Com- Servers) The TCP ports 8888, 9084/9184/9284 allow resetting of fixed modes of a port and for fully resetting the Com-Ser- ver. All the ports are not configurable and are protected by the system password.
W&T Appendix Serial assignment of the IP address under Windows Serial assigning of the IP address and even the subnet mask and gateway address can be done using the free mini-terminal program „Easyterm“, which has been optimized especially for this task. Alternately of course you can use any other terminal program such as that included with Windows or Hyperterminal as described here.
Page 219
W&T Appendix Now turn the Com-Server on and off to reset it and while it is starting up hold down the „x“ key (lower case, no Caps Lock!). After about 2-3 seconds the prompt IP no.:+<ENTER>: will ap- pear in the terminal window. Now enter the IP address you want to assign in the usual dot notation (e.g.
Page 220
W&T Appendix Hyperterminal To serially assign the IP address you can also use Hyperter- minal, which is bundled with Windows. Start this procedure under Start r Programs r Accessories r Hyperterminal. 1.) In the first window you assign a name for the connection you wish to build.
Page 221
W&T Appendix 3. The transmission parameters are 9600 baud, 8 data bits, no parity, no protocol: 4. After you have confirmed the settings with OK, you will find yourself in the actual terminal window. All keyboard entries are output thorugh the selected COM port. Now turn the Com-Server on and off to reset it and while it is starting up hold down the „x“...
W&T Appendix WuTility - Inventory and management tool In Windows environments the WuTility Tool can also be used for inventory and management of Com-Server installations. Pressing a button lists all the Com-Servers located in the local network together with their key data. Following are the most interesting functions which can be run directly from the list: Assigning the IP address, even if the currently set address does not fit in the local network...
W&T Appendix Hardware-Reset to factory defaults In addition to resetting the Com-Server to its factory defaults using the Telnet configuration (Port 1111), this can also be done via hardware. For this purpose the Com-Server has a jumper on the board. For normal operation this jumper must be out.
W&T Appendix Technical data and formfactor 58665 Supply voltage ��� Power-over-Ethernet 37 - 57V DC from PSE External supply..DC 12 - 48V DC (+/- 10%) ... AC 18 - 30Vrms +/- 10%) Current draw typ. 55mA @ 24VDC PoE Class 1 (0,44 - 3,84W) Permissible ambient temperatur ���...
W&T Index DSR 71, 73 Index DTR 71, 72, 198 Symbole 2-wire bus 39 Easyterm 218 4-wire bus 39 Encryption 134 Endsequence 81 Error State 189 A&E 181 APPE 147 ASCII 141 Factory Defaults 65 Auto Negotiation 32 firmware update 209 Fixed Packet Length 87 fixed routes 58 Baud Divisor 70...
Page 227
W&T Index InQueueCopy 184 Interpacket Delay 86 parity 70, 196 IP address 13, 58, 218 parity error 43 IP address conflict 25, 42 Pin assignment 37 Port State 188 PUT 141 keep alive 61 keep alive check 61 Keep Alive Time 61 QUIT 141 Lease time 18 Receive-Filter 74...
Page 228
W&T Index STOR 147 Subnet Mask 24, 58, 219 System Name 18, 63 System Options 67 System Password 62 System Port List 60 Technical data 224 Telnet-Client 160 Telnet configuration 60 Terminating 39 TLS 131, 134 TYPE A 146 TYPE I 146 Wake on LAN 61 WuTility 14, 222 XON/XOFF 73...
Need help?
Do you have a question about the Com-Server++ and is the answer not in the manual?
Questions and answers