Home
W&T COM-Server - Wiesemann & Theis GmbH
Contents
1. Port A No 1 Port A No 11 Ethernet Address Ethernet Address 00 C0 3D 00 13 7F 00 C0 3D 00 13 C8 po Pinum ES PC 1 measuring device Port A Port A lt Port Number Enter number dez lt Port Number Enter number dez Box to Box Slave Port No dez Box to Box Slave Port No dez y 00011 v 00000 Slave Network Slave Network 00005656 00000000 Slave Ether No Slave Ether No 13C8 0000 Part 5 Box to box TCP IPX Page 67 Setting the box to box mode TCP IP 5 4 Setting the box to box mode TCP IP All settings with the exception of the serial parameters are made locally on one W amp T COM Server The port at which the box to box mode is initialized functions as the master port The port of the partner station functions as the so called slave port After every reset the master port will automatically try to locate its defined slave port on the network and when successful will block it from access by other users For box to box applications with temporary connections via ISDN for example or among multiple W amp T COM Servers please also see Section 3 6 3 In the COM Server menu SET TCPIP set the desired port of the slave box A to D under the Box to box TCPIP Slave Box Port for the appropriate port Under the item Slave Box IP enter the IP number for the slave box SET TCPIP Port A Mode SET T
2. Mode SET IPX Mode INFO Node Number Network Number SOFTW Date Rev BOOT BLOCK Rev Port A Ei Siig Pot B F Callback Address f Pon c Callback Network f Pon D Mode Password Mode FLASH EEP Important Whenever you leave the menu branches by way of the OK button this always leads to a save of the changes that have been made and the attempt to work with them The lt button can be used to return without saving The COM Server can also be configured via the network with the help of the supplied driver If you have more than one COM Server connected to your network configuration via the network is preferable since the driver lists all of the devices in one file and configures them automatically Please read the applicable instructions Page 56 Part 4 The IPX protocol Menu tree for the IPX protocol 4 1 1 Mode SET IPX Configuration of the COM Server for the network is accomplished with a single entry for each port present Port number Assign a port number in decimal format to each port This port number is used for unambiguous identification of the particular serial terminal device being addressed At the factory the value 65535 is entered for all ports This value stands for the initial entry and must be changed A change can be made by overwriting the former values followed by confirmation with the OK button Important Please be sure to note that a port number can only occu
3. FTP Client Server Port 21 21 for the standard FTP Server or a different port number for a special FTP server e Menu SET TCPIP Port FTP Client Server IP IP number of the station on which the FTP server is to be called After all of the values have been fed into the COM Server and confirmed repeatedly with OK until the message Saving appears on the display the client mode is activated FTP Client appears in the first line of the status monitor FTP client functions TYPEA Activation of the ASCII transmission type TYPE Activation of the IMAGE binary transmission type STOR remote file Stores all of the data received at the serial port in remote file RETR remote file Outputs remote file to the serial port APPE remote file Appends all data received at the serial port to the end of remote file LIST remote dir Outputs remote dir Please pay attention to the CAPITALIZATION of the commands For transmission of the necessary parameters login password FTP client functions there are two options as described in the following section Part 3 The TCP IP protocol Page 41 Data transfer by FTP 3 4 2 1 Automatic FTP client This mode is appropriate whenever the same command is to be executed repeatedly dependent upon the presence of data at the serial port Activation Set the switch SET TCPIP Port FTP Client Special Options Automatic FTP on the COM Server to active Call the re
4. Port D IP address of master Com Server 000 000 000 000 j position key e gt lt value key Ty Part 5 Box to box TCP IPX Page 71 Page 72 Part 5 Box to box TCP IPX Part 6 Expanded TCP IP socket functions Port control Sockets Reset Com port status Reset Com Server EEPROM upload download Socket programming Part 6 Expanded TCP IP socket functions Page 73 Port control sockets 6 1 The COM Server s control and service ports The earlier chapters explained all of the standard applications which have been implemented in the COM Server These applications cover a large proportion of the application options for the COM Server Realizing complex problems however often requires customized adaptation of the software For users who make use of the possibilities of socket programming the COM Server offers additional functions which can be activated simultaneous with data transfer in the form of server processes 6 2 Port control socket It is well known that the sockets for transfer of data 8000 8100 8200 8300 to the serial ports of the COM Server do not influence the serial port itself However some applications make it necessary for the status and configuration of the port to be known at all times Parallel to the data connection a control connection can also be opened at an additional socket Through this connection the current status of the port handshake lines and err
5. interface module socket port D interface module socket port C COM Server OEM long 58404 jumpers interface module interface module socket port A socket port B Component side of board Part 1 Connections and hardware variants Page 9 Hardware variants of the W amp T COM Server interface module socket port A COM Server OEM short 58401 COM Server OEM long 58404 Solder side of board Page 10 Part 1 Connections and hardware variants Hardware variants of the W amp T COM Server 1 4 5 Internal connections of the W amp T COM Server Now let us describe the connectors which are located directly on the board It is only necessary to know the details of these connections if you are working with the OEM version of the COM Server The locations of the connectors on the board can be seen from the illustrations on the preceding pages Contact assignments of the module sockets 1 16 Pin Direction Signal Description Default function x N 1 OUT 5V Power supply 5V s 4 13 2 N RI Ring Indicator Ignored gt i 3 N RxD Receive Data Data input 7 10 4 OUT TxD Transmit Data Data output 8 3 5 n c not connected S 6 N CTS Clear to Send Handshake input Low data transfer High stop 7 OUT DTR Data Terminal Ready Low with active connection to PC 8 N DSR Data Set Ready Handshake input Low data transfer High stop 9 OUT RTS Ready to Send Handshake output L
6. Instruction Manual W amp T COM Server Rel 3 0 12 96 Models 58001 58004 Display 58201 Compact 58301 58304 19 58401 58404 OEM Copyright 06 2002 by Wiesemann amp Theis GmbH Subject to error and alteration Since it is possible that we make mistakes you mustn t use any of our statements without verification Please inform us of any error or misunderstanding you come about so we can identify and eliminate it as soon as possible Carry out work on or with W amp T products only to the extent that they are described here and after you have completely read and understood the manual and guide We are not reliable for unauthorized repairs or tampering When in doubt check first with us or with your dealer Introduction and overview Introduction and overview The variety and complexity of ways in which the W amp T COM Server can be used requires comprehensive documentation of the device It is not necessary to read the entire manual however in order to be able to use its very special applications The manual is divided into six main chapters each of which covers a specific topic e Part1 Connections and configurations This chapter describes the options for connecting the device Here you will find everything about the hardware such as the location and specification of the connections arrangement of jumpers views of circuit cards including schematic depictions of the different configurations
7. 2 IN RxD Receive Data Data input 3 OUT TxD Transmit Data Data output 4 OUT DTR Data Terminal 12V with active connection to PC Ready LOCK UNLOCK GND Signal Ground IN DSR Data Set Ready Data transmission only at 3 12V 7 OUT RTS Ready To Send Handshake output 12V Ready to receive data 12V Not ready to receive data 8 IN CTS Clear To Send Data transmission only at 3 12V 9 IN RI Ring Indicator Ignored can be modified temporarily by the specific software Pin assignments and functions RS232 DB9 connector COM Server lt gt 9 pin PC COM Server lt gt 25 pin PC 1199x 1179x 1 4 14 20 o 243o 2 2 Sgt p2 L 3 3 T 2 4 Pio 54 gt 6 5 a 5 58 a 7 Q O 64 peo 1 o ps a 7 gt s 7 5 84 77 se 4 COM Server gt Printer COM Server lt gt Modem 1189x 1198x 2 lt ___2 1 8 23 3 2 24 33 sa 43 22 o ps te 2 6 8 5 4 2E 5 7 55 79 se 0 ee coa 8e 7 _ gt 4 8 lt 4 ___5 9 lt ____2 Part 1 Connections and hardware variants Page 5 External connections of the W amp T COM Server 1 2 3 Power supply The power supply depends upon the model of W amp T COM Server e W amp T COM Servers with Display 58001 58004 The W amp T COM Servers have a built in power adapter Power is drawn through the supplied power cord and matching connector on the back of the case Because this p
8. A FREE tq Port Ahas no active network connection A IN USE 7001 4q Port A has an active network connection The partner station is in the network at 2 0000009 the address 000000C2 The IPX socket of the partner station has the number 7001hex Page 58 Part 4 The IPX protocol Part 5 Box to box TCP IPX Menu tree for box to box TCP IPX Box to box operation Box to box IPX Box to box TCP Bus master slave operation Part 5 Box to box TCP IPX Page 59 Menu tree for box to box TCP IPX 5 1 Menu tree for box to box TCP IPX This menu tree can be used to make all of the settings which are needed in order to connect multiple COM Servers with each other As always you still have the usual serial connections available but data transfer is now handled via the network Display menu Mode RUN Mode MONITOR Mode MENU TYP Protocol TCPIP Mode COM SETUP Mode SET IPX Port A Mode SET TCPIP Box IP No Subnet Mask Gateway Port A Port B Port C Port D Mode INFO Node Number Network Number E Protocol IPX Box2Box TCP IPX Pot B L Box to Box Port C Port D Save the actual configuration to non volatile memory by pressing the OK button until the COM Server shows Saving in its display Port Number Slave Port No IPX F Slave Network Slave Ether No Box to Box Slave Box Port TCPIP E Slave Box IP Specia
9. COM Server A eat AL r Server Socket 8000 Serial port Serial port Server IP IP Addr COM Server B Client C Addr inactive COM Server B F a Server Socket 8000 Je a Server IP IP Addr COM Server A ES Client C Addr inactive mm lt Serial connection Part 3 The TCP IP protocol Page 49 Data transfer by TCP IP sockets e Application A control program polls a number of measuring devices the measuring devices can send data to the control program independently in case of an error for example ETHERNET A Serial port Serial port 5 e ii o o Configuration menu SET TCPIP Port Socket Client COM Server A COM Server B C Server Socket 0000 Server Socket 8000 Server IP IP Addr 0 0 0 0 Server IP IP Addr COM Server A Client C Addr inactive Client C Addr inactive The control program addresses the measuring devices via the serial port in the following format C ip_addr port_number Example C190 107 231 8 8000 lt CR gt Establishes a connection with COM Server port A using the IP address 190 107 231 8 Page 50 Part 3 The TCP IP protocol Data transfer by TCP IP sockets 3 6 2 Applications with UDP sockets Revision 3 7 and later The server and client processes in the COM Server have the following UDP sockets 8500 port A 8600 port B 8700 port C 8800 port D 3 6 2 1 COM Server mode UDP mode In each cas
10. If you are using the BNC connector the coax cable should be checked for correct termination or a possible break or short circuit in the cable When using an AUI connector please check its connection to a MAU Page 14 Part 2 Displays and settings Displays 2 blinks check serial data format At least one character was received at the corresponding port with a parity or framing error or the data register of the serial receiving module was written to even though the prior character had not been read out Check the correctness of the serial parameter settings the handshaking procedure or the connecting cable 3 blinks check serial handshake The serial device connected to the particular port is not reacting to the handshake stop signal set by the COM Server and is continuing to send data This can result in overwriting of the serial ring buffer and consequently in the loss of data Check to see that the handshake configuration of the devices is correct and that the connecting cable is properly wired all error LEDs on self test error The self test which is performed after every Start or Reset of the COM Servers did not finish normally This error can occur if you interrupted a software update early and it was not possible to transfer the complete operating software The COM Server is no longer operable in this state Repeat the software update over the network with TFTP see Section 2 4 1 If the only way you can perform
11. LED displays Power LED Indicates connection to the power supply If the LED fails to light up please check to make sure that the plug in adapter is properly connected or that the line cord is properly connected and in good condition with built in adapter In the case of 19 OEM COM Servers 5830x please be sure to check the proper setting of your bus system in the jumper strip on the board see Section 1 4 5 Status LEDs Flash whenever there is network activity sending and receiving at the corresponding W amp T COM Server port In the case of reception the functioning of the LED pertains exclusively to data and control packets which are addressed directly to the COM Server Periodic blinking indicates that the corresponding serial port has a valid connection with another network participant When useful data are passing over the connection the LED flashes briefly On Display versions only item no 5800x Error LEDs Indicate present errors or errors in memory In this case an error text the time of the error and the number of the responsible RS232 port if any can be obtained from the LCD screen All other versions Error LEDs By means of different blink codes the error LEDs indicate the following error conditions at the corresponding port 1 blink of all error LEDs Check network If the 10BaseT port is being used the COM Server is unable to receive a link pulse from a hub Check the cable or the hub port
12. and after each restart the COM Server automatically searches the network for the specified port and blocks it from access by other users In the event of power loss network interruption etc after the problem has been corrected the system automatically attempts to re establish the connection The entry Slave Port No 0 terminates the connection freeing the port for a new connection If the other station is on a different network under Slave network enter the network address of the slave box The value 0 causes the COM Server to search for the designated partner station only on the local network If it is necessary to prevent broadcasts at the lowest level when routing into other networks when routing over an ISDN line for example enter the last two digits of the six digit Ethernet address for the slave box under Slave Ether No for example 12 A7 Important The box to box mode is set exclusively on a COM Server that is for this mode of operation the slave port may only be set on a COM Server No changes or entries are needed at the partner station see also Section 5 2 Box to box operation 5 1 2 SET TCPIP mode The basic configuration of the COM Server for working with the TCPIP protocol was already explained in detail in sections 3 1 and 3 2 If you have not yet configured the COM Server for your network IP number subnet mask gateway please read the indicated sections first Box to box TCPIP Configur
13. box TCP IPX Bus master slave operation Setting the IP bus master slave mode This mode is activated on every COM Server port by entering a value other than zero for the corresponding IP address Activating the master On the COM Server port to which the master is connected set the subnet IP address in the menu SET TCPIP under IP Bus Mode Master Subnet IP The subnet IP address is that part of the IP address which all of the slaves and the master share in common It is sufficient to enter a value other than zero and confirm with OK The COM Server determines the subnet IP address itself from its own IP number and the subnet mask and enters it This activates the master IMPORTANT Only one port of the COM Server can be activated as IP bus master It is not possible to connect a slave to another port of the device at the same time SET TCPIP Port A Mode SET TCPIP PortA L het Port B Bus Master Mode Slave Subnet IP Port C gt Port D Subnet IP address of slave boxes 000 000 000 000 t position key lt gt value key Ty Activating the slaves On all of the COM Servers on all ports to which slaves are connected set the complete IP address of the COM Server to which the master is connected in the menu SET TCPIP under Bus Slave Mode Bus Master IP This activates the slave SET TCPIP Port A Mode SET TCPIP PortA PIA Port B gt Bus Slave Mode Bus Master IP
14. default Calling Telnet telnet IP number or Host addresses port A telnet IP number or Host 6000 addresses port A telnet IP number or Host 6100 addresses port B telnet IP number or Host 6200 addresses port C telnet IP number or Host 6300 addresses port D If the connection is successful a message from the TELNET server appears on the screen From this point on data can be read in or output in character form via the keyboard All data which are present at the serial port are output to the screen and if so specified to a file All keyboard entries are sent as data in character form to the serial port From the moment the connection is established the host works in local echo mode though it is also possible to switch over to remote echo mode Important The entry FREE must be visible on the status monitor for the port before a connection can be made 3 5 2 Mode TELNET client This mode makes it very simple to implement a terminal emulation on a serial device and use it to establish direct communication with the TCP IP station on which the Telnet server is active The COM Server port is configured for this mode in the SET TCPIP Port Telnet Client menu Settings e Menu SET TCPIP Port Telnet Client Server Port 23 23 for the standard Telnet server or a different port number for a special Telnet server e Menu SET TCPIP Port Telnet Client Server IP IP number of the host on
15. e The software update has no effect on the configuration of the W amp T COM Server Part 2 Displays and settings Page 27 Updating the W amp T COM Server software 2 4 1 Network update of the W amp T COM Server software This procedure requires a UNIX computer or a PC with a TCPIP stack which supplies the functions of the TFTP protocol The individual steps of the update process are described below Please follow the directions closely An incomplete update will render the device inoperable Software update with TFTP 1 Select Mode FLASH EEP Netw FLASH UPD in the menu and confirm with OK The screen displays the message NET FLASH UPDATE and all of the green status LEDs are on Now the COM Server can only be addressed with TFTP The menu is no longer operable 2 Now transfer the first file to the COM Server with the command TFTP Be sure to use binary mode While the data are being transferred over the network the status LED for Port A flashes Afterward the COM Server shifts into the programming mode and all of the error LEDs light up This process can take a few seconds Wait until the error LEDs go out and the status LEDs light up again Repeat this process for all of the files 3 The COM Server recognizes when all of the files have been transferred and automatically performs a restart If all of the green status LEDs are lit again after all of the files have been transferred repeat step 2 in its entirety You may
16. entry FREE must be visible in the status MONITOR for the corresponding port The connection is controlled by your client process that is you open and close the connection Once a connection has been established bidirectional data traffic is possible between the two processes The COM Server delivers all of the data from the LAN to the serial port and conversely reads in all data from the serial port in order to convey it to your client process 3 6 1 2 COM Server mode socket client In this mode the COM Server itself as a client is able to open and close a connection depending upon whether data are to be transferred or not If there is no connection to the server active at the moment it can also itself be the server and accept connections The mode is configured in the SET TCPIP Port Socket Client menu for always connecting to the main server or in the SET TCPIP Port Socket Client Special Options Client C Addr menu for connections with various servers Settings e Menu SET TCPIP Port Socket Client Server Socket The socket on which the server program is working on the host e Menu SET TCPIP Port Socket Client Server IP The IP number of the host on which the server program is active e Menu SET TCPIP Port Socket Client Special Options Inactivity Timeout Here is the place to configure the timer whose count down causes the Box to close the connection The timer is
17. have omitted a file Duplicating transmission of a given file does not cause an error in the update itself The COM Server waits until it has all of the needed files Example 1 SCO UNIX You have received the following two files from us 58r3_1 2_1 and 58r3_1 2_2 The new operating software is version 3 1 Enter the following commands at the prompts tftp tftp gt connect ip number host_name tftp gt binary tftp gt put 58r3_1 2_1 remote filename remote filename any letter Now wait until the green status LEDs light up again and then transfer the second file tftp gt put 58r3_1 2_2 remote filename tftp gt quit Page 28 Part 2 Displays and settings Updating the W amp T COM Server software Example 2 Windows LAN Work Place You have received the following two files from us 58r3_4 2_1 and 58r3_4 2_ 2 The new operating software is version 3 4 Enter the following orders at the prompts remote filename any letter C tftp B 58r3_4 2_1 ip number host_name remote filename Now wait until the green status LEDs light up again and then transfer the second file CA tftp B 58r3_4 2_2 ip number host_name remote filename 2 4 1 Serial update of the W amp T COM Server software This procedure requires a PC with a configurable serial port The individual steps of the update process are described below Please follow the directions closely An incomplete update will render the device inoper
18. in RUN mode If the system has successfully established a connection with the hub the display Cable TP appears at this point if not Cable Link fail is reported The display is updated automatically every 60 seconds However a manual update can also be forced at any time by pressing the OK key Rea gt anc a 2 Rx 7 NC 3 Txt 4 NC 6 Tx 5 NC RJ45 connector pinout according to AT amp T256 Part 1 Connections and hardware variants Page 3 External connections of the W amp T COM Server 10Base2 for coaxial cable The BNC connector can be used to link the W amp T COM Server into a 10Base2 network segment When using conventional technology with BNC T connectors please be aware that it may be necessary to disconnect the cable and that this can cause difficulties for other users Before connecting the COM Server please consult with the responsible network administrator Important When the COM Server is placed at the end of the segment it is essential to terminate the cable with a 50 terminator Network connector AUI optional The AUI connector permits the W amp T COM Server to be connected to a MAU and thereby be linked into a network segment The COM Server OEM short long models have a double row pin contact strip see Section 1 4 4 which supplies all of the signals for the AUI port 5 RX 4 n c 12 RX 13 12V 6 GND 3 TX 11 GND 14 GND 7 n c 2 CD 10 TX __ 15
19. opens an FTP connection to your computer and creates a file consisting of the content of its EEPROM In order to be able to do this it needs login parameters for an FTP connection You convey the login string via the socket 8001 Open the socket transmit the login string and close the socket again The COM Server then performs the file transfer automatically 6 5 1 Format of the login string e Reading the EEPROM user n password n TYPE I n STOR path filename000 n or user n password n TYPE n STOR path filename n e Writing to the EEPROM user n password n TYPE n RETR path filename000 n or user n password n TYPE n RETR path filename n Parameters user password user login and password TYPE must be specified for binary file format path filename000 The COM Server overwrites the three zeros at the end of the filename with the fourth byte of its IP address so that each device accesses its own file and yet you can send the same string to all of the boxes path filename If the last three characters do not produce the value zero the COM Server reads or writes this special file so that you can configure all devices with the same file n Separator character linefeed 0x0a 6 5 2 Usage If you want to configure a number of COM Servers in the network all of which are to work with the same settings you assign an IP address to each device Then you configure one device completely read out the
20. or host 7300 addresses port D After inputting the command ftp you can acknowledge the request for the login name with ENTER The following commands are available put local file remote file send the file local file to the RS232 get remote file local file read in characters from the RS232 into the local file ascii transfer ASCII files image transfer binary files quit ends the FTP session Comments on remote file put enter any letter since no remote file exists get 1 likewise enter any name or letter or 2 code a time criterion for halting the transfer of data For this purpose enter a number of no more than 3 digits one tick corresponds to one second If remote file has no value in this range the connection is broken off 30 seconds after the last character is read in Page 40 Part 3 The TCP IP protocol Data transfer by FTP For the exact designations of your function calls please consult the user manual for your FTP software Important In the menu Mode MONITOR the entry FREE must be visible on the corresponding screen before a connection can be opened 3 4 2 Mode FTP client This mode makes it possible to access files on any PC or UNIX host which has an FTP server active The action must always be initiated from the serial terminal device The COM Server port is configured for this mode in the SET TCPIP Port FTP Client menu Settings e Menu SET TCPIP Port
21. reset when data are exchanged tick 1 second 00001 is the minimum value 1 second 00000 deactivates the function e Menu SET TCPIP Port Socket Client Special Options Client C Addr Activating this switch makes the socket client mode active The format for the address input is C key address CR LF Part 3 The TCP IP protocol Page 47 Data transfer by TCP IP sockets Examples C190 107 231 101 4800 lt CR gt if there is no entry for a server socket under Socket Client C101 lt CR gt if there is an entry for a server socket under Socket Client for example 190 107 231 and the port no 4800 are then the defaults After all of the values have been saved on the COM Server and all of the queries have been acknowledged with OK until the message Saving appears on the screen the client mode is activated The entry Client Socket appears on the status monitor of the corresponding port The current status of the connection can always be read here Important Please note the explanations for the Socket Client menu in Section 3 2 1 1 There are a number of options for opening and closing the connection depending upon various events Special Options sub menu Deactivating the socket client mode Set the value to zero in the SET TCPIP Port Socket Client Server Socket menu or deactivate the Client C Addr switch in the SET TCPIP Port Socket Client Spe
22. the models with integrated LCD display 5800x For all other models of the COM Server the procedures for configuring the device are dependent upon the type of network protocol being used Depending upon the protocol it is possible to perform the configuration over the network with the help of TELNET or the IPX API These options are described in the corresponding chapters of the manual TCPIP protocol IPX protocol 2 2 1 Nonvolatile memory The W amp T COM Server stores all locally set configuration data in a special non volatile memory region Once the data have been saved they are activated again each time the unit is turned on The transfer to non volatile memory occurs when you have left that branch of the menu by pressing the OK key possibly more than once and the message Saving has appeared on the display screen Following the illustration of the menu structure you will find a detailed example of modifying the parameters 2 2 2 Overview of the display menus This overview may be somewhat confusing at first Play around a little bit at first with the display by using the four arrow keys As long as you press only these keys you can move all around the menu without anything really being changed While the following section contains a thorough explanation of the individual menu items with a little skill you can also play at trying out how to use the menu You would be best advised to read the information about the f
23. A The caption SERIAL UPDATE appears on the display and all of the green LEDs light up Important This mode blocks all other operating modes of the COM Server as well as the keypad The only way to exit from the update mode is to perform the update or press the Reset button All currently active connections including any data are lost Part 2 Displays and settings Page 25 Special key functions 2 3 Special key functions For those W amp T COM Servers which have the display screen and keypad there are various key combinations which enable you to deactivate operating mode settings separately for each port quickly and easily Pressing the indicated keys returns the W amp T COM Server to its basic state so that it can be reconfigured e Clear Mode Port A Simultaneously press the OK and lt keys and hold them down until the following message appears Port A CLR Mode Press OK e Clear Mode Port B Simultaneously press the OK and T keys and hold them down until the following message appears Port B CLR Mode Press OK e Clear Mode Port C Simultaneously press the OK and keys and hold them down until the following message appears Port C CLR Mode Press OK e Clear Mode Port D Simultaneously press the OK and J keys and hold them down until the following message appears Port D CLR Mode Press OK
24. CPIP Port A Box to Box TCPIP E Slave Box Port Slave Box IP dec Port B Port C Port D Slave box port lt no Box to Box mode Slave box IP number Port A 000 000 000 000 Ee lt i i position key lt gt value key Ty value key Ty Important The subnet mask for the network in which the COM Servers are located must always be specified Mode SET TCPIP Subnet Mask If the master box and the slave box are not on the same network the appropriate IP number for the gateway must be entered in the menu SET TCPIP Gateway on both COM Servers Deactivating box to box mode A connection can only be activated if the box to box mode is deleted on the master box Select the entry in the menu SET TCPIP PORT Slave Box Port on the master box The master box terminates the connection immediately and also releases the slave box for new connections If the release of a port should fail to function for any reason you can delete all of the values which pertain to the box to box mode by means of the appropriate key combinations For further information see Section 2 3 Special key functions Page 68 Part 5 Box to box TCP IPX Setting the box to box mode TCP IP Sample configuration TCP IP Network No 190 107 230 0 190 107 231 0 if Box IP No 190 107 231 1 Box IP No 190 107 230 8 INULIN PC 1 PortA
25. Connection status Standard Server mode FREE The port is free INUSE The port has an active connection Part 3 The TCP IP protocol Page 39 Data transfer by FTP 3 3 Protocols for the TCP IP suite The following protocols and applications are implemented in the COM Server ARP RARP ICMP PING functions FTP client and server TELNET client and server TCP and UDP sockets for client server applications SLIP RIP active in configured SLIP mode 3 4 Data transfer via FTP Data exchange by means of FTP protocol is file oriented that is it is possible to output file contents to the serial port of the COM Server or to read characters into files from the serial port The COM Server includes both an FTP server and an FTP client 3 4 1 Mode FTP server This mode should be used when the data to be transferred are present in file form and the action is always to be started from your PC or UNIX host No preliminary settings are needed on the COM Server for this mode You can address the device by name or IP address like any other station on the network Selecting the serial port The serial port is selected by designating a port number when calling FTP If no port is designated port A is addressed by default Calling FTP ftp IP number or host addresses port A ftp IP number or host 7000 addresses port A ftp IP number or host 7100 addresses port B ftp IP number or host 7200 addresses port C ftp IP number
26. EEPROM and load this file into all of the other devices This spares you the tedious work of configuring each device separately Example Login string to be read out wt n eeprom n TYPE n STOR usr wt wt999 n Login string to be read out wt n eeprom n TYPE n RETR usr wt wt999 n IMPORTANT When the EEPROM has been rewritten the COM Server performs a reset to make the changes take effect With the exception of the IP address all of the values in the EEPROM are overwritten After this reset the contents of all buffers and any active connections are deleted the COM Server is in its basic state Page 80 Part 6 Expanded TCP IP socket functions PPENDIX Overview of TCP port numbers Technical data APPENDIX Page 81 APPENDIX A Overview of the port and socket numbers used in the COM Server Port number Usage socket number 6000 6100 6200 6300 TELNET server port A D 7000 7100 7200 7300 FTP server port A D 8000 8100 8200 8300 Data sockets client and server port A D 1111 Remote configuration with TELNET 9094 9194 9294 9394 Port control sockets port A D 9084 9184 9284 9384 Reset port status via socket port A D 8888 Reset COM Server 8001 EEPROM upload and download via socket Page 82 APPENDIX Power supply Power consumption Current draw of COM Server APPENDIX B Technical data Internal adapter Plug in adapter 110V 230V 47 H
27. ENU TYP Protocol TCPIP T Box2Box TCP IPX until the COM Server shows Mode COM SETUP Saving in its display Mode SET TCPIP Box IP No Subnet Mask Gateway Port A Box to Box Port B Port C Port D TCPIP E IP Bus Mode Slave Box Port Slave Box IP Special Options Dispatch String1 T Dispatch String2 Slave Master IP L Master Subnet IP System Options Network Delay Node number SOFTW Date Rev BOOT BLOCK Rev Mode INFO Port A COM Setting Port B Port C Port D Mode Password Mode SAVE Mode RESET Mode FLASH EEP Part 5 Box to box TCP IPX Page 61 Menu tree for box to box TCP IPX 5 1 1 SET IPX mode Port number Assign a port number in decimal format to each port This port number is used for positive identification of the serial device which is being addressed The factory default setting for both ports is 65535 This value stands for the initial entry and must be changed Changes can be made by overwriting the former values and confirming with the OK key Important Be sure to remember that a particular port number can only be assigned once in each network The values 0 and 65535 are not allowed Box to box IPX This submenu is used to configure the master box for the box to box mode Enter the decimal port number of the desired port of the slave box under the item Slave Port No After you leave the menu by pressing the OK key
28. FF Limit in ring buffer before clearing handshake stop Limit in ring buffer before setting handshake stop Replace this char if parity error Part 6 Expanded TCP IP socket functions Page 77 Port control sockets struct _commands unsigned char save_command 4 unsigned char clear_error 1 unsigned char free_cmd 13 k int UserTime union int f_flags struct _f_flags int f_rts_disable int f_dtr_disable int f_outx int f_inx int f_outx_cts int f_outx_dsr int f_inx_dtr int f_inx_rts int f_parity int f_pechar int f_inxfilter int f_outxfilter int f_rts_default int f_dtr_default int f_user_time int no_use_4 p BOX_CNTRL E E N ak E ee E T Configuring the serial port Save COM configuration 0 no save 1 save without EEPROM update 2 save with EEPROM update 1 Clear error in display lamps not used IAUTO_LOCK_OUT time defined by user IPX API only RTS will not change at LOCK UNLOCK IDTR will not change at LOCK UNLOCK Enable software handshake while sending Enable software handshake while receiving Enable hardware handshake on CTS Enable hardware handshake on DSR Enable hardware handshake on DTR Enable hardware handshake on RTS Enable parity check amp error report Enable replacement of received char Enable XON XOFF filter while receiving Enable XON XOFF filte while sending I1 While RTS is not used RTS is active 1 While DTR is n
29. Page 26 Part 2 Displays and settings Updating the W amp T COM Server software 2 4 Updating the W amp T COM Server software Since the operating software of the W amp T COM Server is constantly undergoing further development the device also has a provision for performing a software update When you wish to add additional functions you receive up to four files from us these contain the new firmware These files are named according to the following system 58r3_0 2_1 L JL pit J L File Nr 1 von insgesamt 2 Files Version 3 0 Artikel Nr COM Server 58xxx There are two options for performing the update itself If you have access to a UNIX computer or a PC with a TCPIP kernel you can carry out the software update with TFTP This goes much more quickly than updating through the serial port and can be carried out from practically any computer on which a TCPIP stack is activated The second option is to update through the serial port IMPORTANT e Never force an interruption of the update process by pulling the line plug or pressing the Reset button The COM Server is inoperable ollowing an incomplete update e Never mix files with differing versions in their filenames This will prevent the device from working e Transfer all of the files in sequence The COM Server automatically recognizes when all of the files have been transferred and the new operating software is complete It then performs a reset by itself
30. The use of Ethernet repeaters and hubs makes it possible to expand the length of the network to as much as 2 5 km W amp T 55615 Please note that none of the plug in connectors may be inserted unless the terminal devices are turned off The locations of the individual connections can be found in the illustrations in Section 1 4 Hardware variants of the W amp T COM Server The self adhesive hook and loop tape which is included with some versions makes it possible to mount the COM Server directly on a flat surface such as the vertical side of a printer 1 2 1 Ethernet connections Both an IEEE 802 3 compatible 10Base2 port BNC and a 10BaseT port RJ45 are available for network connection as well as an optional AUI port Switching over among the three possible network connections takes place automatically Please note that the cable type can only be recognized if a cable is actually connected when the COM Server is switched on If you wish to change cable types exchange the cables and then press the RESET switch on the back of the unit The type of cable currently in use is displayed on the screen in RUN mode 10BaseT for twisted pair cable The W amp T COM Server can be connected to a 10BaseT hub W amp T 55603 through the shielded RJ45 connector on the rear of the case The pin assingments conform to a standard MDI port AT amp T258 so a 1 1 cable can be used The current link status can be seen on the display screen
31. a depending on the command The stream of useful data must also be concluded with disconnect char If an error occurs the error code of the FTP server disconnect char is reported In both cases the connection is closed automatically and you receive the ending code of the FTP server disconnect char Omitting the TYPE command It is possible to omit parameter 3 the TYPE command and enter only the separator character Ctrl J In that case the string would look like this login_name lt lf gt password lt lf gt lt If gt STOR RETR APPE LIST remote file dir lt If gt disconnect char Part 3 The TCP IP protocol Page 43 Data transfer by FTP Examples 1 User elton with the password happy would like to obtain the file etc hosts in ASCII format The value 003 Crtl C is entered as the protocol character The protocol would look like this Serial device elton lt lf gt happy lt lf gt TYPE A lt lf gt RETR etc hosts lt lf gt lt Ctrl C gt COM Server OK lt Ctrl C gt content of the file etc hosts lt Ctrl C gt 221 Goodbye lt Ctrl C gt 2 User elton with the password happy would like to append binary data to the end of the file usr elton config The value 003 Crtl C is entered as the protocol character The protocol would look like this Serial device elton lt lfshappy lt lf gt TYPE I lt If gt APPE usr elton config lt lf gt lt Ctrl C gt COM Server OK lt Ctrl C gt Serial device binary d
32. able Software Update via COM Server Port A 1 Connect Port A of the COM Server with the serial port of the PC from which you wish to perform the update Configure the serial port of the PC to the following parameters 9600 baud no parity 8 bits 1 stop bit Select Mode FLASH EEP Serial FLASH UPD in the COM Server menu and confirm with OK The screen displays the message Serial FLASH UPDATE and all of the green status LEDs are on Now the COM Server can no longer be addressed over the network and the menu is no longer operable Now transfer the first file to the COM Server with the COPY command While the data are being transferred via the serial port the status LEDs blink rhythmically This step can last up to three minutes Afterward the COM Server shifts into the programming mode and all of the error LEDs light up This process can take a few seconds Wait until the error LEDs go out and the status LEDs again light steadily Repeat this process for all of the files The COM Server recognizes when all of the files have been transferred and automatically performs a restart If all of the green status LEDs are lit again after all of the files have been transferred repeat step 2 in its entirety You may have omitted a file Duplicating transfer of a given file does not cause an error in the update itself The COM Server waits until it has all of the needed files Example You have received the following two f
33. able in this state Repeat the software update over the network with TFTP see Section 2 4 1 If the only way you can perform the update is through the serial port Jumper 1 on the board see illustration in Section 1 4 4 must be closed Press the Reset button The following message will appear on the display screen ROM Test Error SERAIL FLASH UPD Repeat the software update via COM port A see section 2 4 2 If the error cannot be corrected or if it occurs independent of any preceding software update please send the unit to us 4 CTS DSR RLSD Time Out only in connection with a Netware application IPX Display Port x 15 00 CTS DSR RLSD Time Out The IPX API function call SET_COM_STATE can be used to specify a timer value for the W amp T COM Server for each of the three listed serial input signals The timer begins to run when the corresponding input goes LOW 12V and is reset as soon as a HIGH 12V occurs If that does not occur during the time period defined in the configuration this error message is issued Possible causes can be Page 16 Part 2 Displays and settings Displays a serial hardware device which is not connected or which is unselected defective or incorrectly configured As delivered from the factory the timers for all of the inputs are switched off 5 No halt on XOFF DTR RTS Display Port x 16 00 No Halt on XOFF RTS DTR The serial hardware device connected to the par
34. ample in medium size computing systems Serial connections over greater distances A pair of COM Servers replaces two line drivers and in addition offers error correction through the Ethernet transmission procedure Long distance serial connection using already existing Ethernet internetwork connections routers bridges etc Implementation of serial connections at frequently changing locations without the expense of additional cabling Simply connect to the Ethernet cable Page 64 Part 5 Box to box TCP IPX Setting the box to box mode IPX 5 3 Setting the box to box mode IPX All of the settings are made locally on one W amp T COM Server The port at which the box to box mode is initialized functions as the master port After every reset it will automatically try to find the defined partner station on the network and when successful will block it from access by other users This port then functions as the slave port In the COM Server menu SET IPX set the desired port of the other station under the Box to box IPX Slave Port No for the appropriate port If you wish to communicate with a measuring device which is connected to COM Server port no 11 for example enter the value 11 under Slave Port No SET IPX PortA Enter number dec Mode SET IPX Port as i Port No _ Port B Box to Box IPX E Slave Port No dec Port C Slave Network Port D Slave Ether No 00000 positi
35. ansporting the data over the network You can construct your own application that is the further processing and evaluation of the data in accordance with the requirements for the extended functions of the COM Server also read Part 6 Expanded TCP IP socket functions and Section 6 6 Instructions for socket programming The COM Server offers two options at this level client server processes with TCP sockets streams and with UDP sockets datagrams The TCP protocol is connection oriented that is during the transfer of data there is a fixed connection between client and server TCP has all of the mechanisms for opening and closing a connection and ensuring error free data transfer over the network In contrast to this UDP has no mechanisms for repeating data packets or checking their completeness Data transfer with UDP is recommended when a higher level protocol between the serial terminal device on the COM Server and the application on the TCP IP station already ensures error free transfer of data Page 46 Part 3 The TCP IP protocol Data transfer by TCP IP sockets 3 6 1 Applications with TCP sockets The server and client processes in the COM Server have the following TCP sockets 8000 port A 8100 port B 8200 port C 8300 port D Do not use these four socket numbers for your own processes 3 6 1 1 COM Server mode socket server In this mode no settings are needed on the COM Server Important The
36. art 2 Displays and settings Page 23 Configuring the W amp T COM Server e Software Date Rev Displays the creation date and version number of the operating software stored in FLASH memory e BOOT BLOCK Rev Displays the creation date and version number of the boot block software e COM Setting This item shows the current serial configuration of the selected port in the following format baud rate parity data bits stop bits handshake The handshake variable can take these values Send filter Receive filter N No handshaking H Hardware handshaking X Software handshaking XON XOFF OFF OFF S Software handshaking XON XOFF ON OFF R Software handshaking XON XOFF OFF ON SR Software Handshake XON XOFF ON ON All of the other items of information listed in the INFO mode are network parameters and are described in detail in the instructions for the individual versions 2 2 2 6 Mode PASSWORD Here you can specify an 8 character hexadecimal password which protects the menu items Mode COM SETUP Mode SET IPX Mode SET TCPIP and Mode FLASH EEP from unauthorized access The factory setting is 00000000 which permits unrestricted access to all of the configuration options of the COM Server The numerical value is input with the cursor keys The gt keys determine the position of the cursor within the number which can then be incremented or decremented by means of the TN keys Important In order to
37. art 3 Protocol TCPIP or part 5 Box to Box Mode SET IPX Select MENU TYP Protocol IPX or Box2Box TCP IPX see manual part 4 Protocol IPX or part 5 Box to Box Info Mode INFO Node Number Network Number SOFTW Date Rev BOOT BLOCK Rev PortA Port A COM Setting Mode Password Enter new Password numerical 00000000 Mode FLASH EEP Factory Defaults Netw FLASH Upd Serial FLASH Upd Example Starting from the RUN mode the modification of the baud rate for Port B from 9600 to 19200 baud can be made through the following keyboard entries Key Display Key Display Mode RUN time 8 00 T Baud Cable Coax 19200 1 00 4 Mode MONITOR 9 00 OK Port B Baud 2 00 L Mode MENU TYPE 0 0 OK Mode COM SETUP 0 Port B 3 00 4 Mode COM SETUP 11 0 OK Mode COM SETUP 0 4 00 gt Mode COM SETUP 2 0 T Mode MENU TYPE Port A 0 5 00 J Mode COM SETUP 3 0 T Mode MONITOR Port B 0 6 00 PortB 4 0 N Mode RUN Baud 0 7 00 Baud 9600 Part 2 Displays and settings Page 21 Configuring the W amp T COM Server 2 2 2 1 Mode RUN The W amp T COM Server is ready to establish a connection between the network and a serial device in accordance with its configuration The type of cable currently in use is shown in the second line of the display 2 2 2 2 Mode MENU TYPE To make the use of the menu as clear as possible different branches of the menu are blanked out depe
38. ase see your user manual for the precise syntax of the commands for your UNIX system or your TCP IP kernel 1111 stands for the port number On the screen you will have almost exactly the same configuration menu as in the local display By entering the appropriate number you can select the sub menus 3 2 1 Mode SET TCPIP e Box IP number Enter the IP number here under which the box is to be addressed Please note that this number is not freely selectable but must be defined dependent upon the network address of the TCP IP network The form of input conforms to the usual syntax e g 192 107 232 009 The cursor keys are used to input the numerical value The lt gt keys govern the position of the cursor within the number the T keys can then be used to count up or down by steps e Sub net mask Specify the sub net mask for the sub network in which your COM Server is located e g 255 255 255 0 Erroneous entries are corrected automatically when they are saved e Gateway If appropriate enter the IP number of the gateway if routing to other sub networks is necessary 3 2 1 1 Socket client In this mode the COM Server is activated as a TCP socket client TCP streams In the Server Socket sub menu enter the port number and in the Server IP sub menu enter the IP number of your socket server to which the COM Server is to make a connection Part 3 The TCP IP protocol Page 35 Menu tree for the TCP IP protocol Spec
39. ata lt Ctrl C gt COM Server 221 Goodbye lt Ctrl C gt 3 User elton with the password happy would like to look at the file usr private and transfer the data in ASCII mode but the file is not present The protocol would look like this Serial device elton lt lf gt happy lt If gt TYPE A lt lf gt RETR usr private lt lf gt lt Ctrl C gt COM Server 550 usr private No such file or directory lt Ctrl C gt 221 Goodbye lt Ctrl C gt Connection monitor In the corresponding status MONITOR you can read out the current status of the connection see Section 2 3 3 4 2 3 Deactivating the FTP client mode Set the value in the menu SET TCPIP Port FTP Client Server Port to zero The COM Server deactivates the connection and deletes the FTP client mode Page 44 Part 3 The TCP IP protocol Data transfer by TELNET 3 5 Data transfer via TELNET Telnet is a protocol for terminal emulation with character oriented data transfer Telnet makes active bidirectional character exchange possible between the UNIX station or the PC and the serial terminal device connected to the COM Server 3 5 1 Mode TELNET server No default settings are required on the COM Server You can address the device like any other station on the network by name or IP address Selecting the serial ports The serial ports are selected by designating a port number when calling FTP If no port number is designated port A is addressed by
40. box Disconn The access was denied by the remote box Unlock The box is locked by the specified port but loses the connection to the remote box i e by power loss FREE The port is not in use Remote Port TCPIP Port name A D IPX Port number 5 1 4 RESET mode For remote configuration with TELNET only Select this menu item to perform a software reset on the COM Server First your Telnet session will be closed normally 5 1 5 SAVE mode For remote configuration with TELNET only You can use this to make all of the changes which you have made in the box take effect If a password has been activated then it is asked for here If the input is correct then the message Saving appears on the screen If the input is incorrect the values are not saved and you are returned to the main menu the message Failed appears on the screen Part 5 Box to box TCP IPX Page 63 Box to box operation 5 2 Box to box operation The box to box mode allows a firm logical connection of any two COM Server ports over the network without an additional controlling computer In this mode the two connected serial devices are in constant online contact with each other Any additional data traffic or other network protocols have no effect on the connection m 2 ETHERNET PC 1 Measuring device Typical applications Replaces costly serial star cabling layouts for ex
41. can influence the parameters and how they are stored You can see the baud table that is used in the remote configuration or in the display menu COM SETUP Port Baud COM Servers with multiple serial ports always use Table 2 typedef struct _box_cntrl struct _baud_fifo char baud 5 char fifo_aktiv 1 char fifo 2h p char bits int RLS_time_out int CTS_time_out int DSR_time_out char XONChar char XOFFChar int XONLim int XOFFLim char PEChar Baud rate for channel Com Servers max 1 port Com Servers with 1 4 ports Table 1 Table 2 0 57600 6 2400 11 230 4k 5 4800 1 38400 7 1200 14 153 6k 6 2400 2 19200 8 600 15 115 2k 7 1200 20 14400 9 300 0 57600 8 600 3 9600 1 38400 9 300 5 4800 2 19200 10 150 II 3 9600 12 75 II 4 7200 13 50 I only COM Server with Baud Table 2 FIFO enable 0 FIFO disabled 1 FIFO enabled Send receive FIFO trigger 0 8 8 1 16 16 Il 2 32 56 3 disable 00xx xxxx data bits stop bits parity Il 00 5 data bits 01 6 data bits 10 7 data bits 11 8 data bits 0 1 1 1 2 stop bits 1 parity enable Il 0 codd 1 even parity 1 stick parity Timer before f_rlsd_time will be set Timer before f_cts_time will be set Timer before f_dsr_time will be set Char excepted as XON Char excepted as XO
42. characters zero_1 and zero_2 are the starting and ending characters of the structure and must always be zero The structure COM_ERROR The structure COM_ERROR has the length of an integer and contains all of the error states of the port typedef struct _com_error union int error_flags struct _err_flags int f_data Set when data available int f_net 2s 1 when Netware error occurs 2 unresolved command 3 reset Box after overrun or timeout x int f_com a Set when COM port error detected int f_break 215 Reflect the break flag intf_cts_time 1 Time out while waiting for CTS intf_dsr_time 1 Time out while waiting for DSR int f_rlsd_time 1 Time out while waiting for RLSD CD int f_overrun Sle Overrun error int f_parity Ps Parity error int f_frame eal Framing error int f_status if Port LOCK info available IPX API only intno_use_1 1 not used intno_use 2 1 not used intf_rx_over 1 Ring buffer overrun after handshake intno_use 3 1 not used F p COM_ERROR Part 6 Expanded TCP IP socket functions Page 75 Port control sockets The structure COM_STAT The structure COM_STAT has a length of 3 integers and contains the status of the handshake lines and the content of the send and receive buffer for the serial port In addition it offers the possibility of influencing the handshake lines and buffers directly typedef struct _com_stat union int com_flags
43. cial Options menu The COM Server breaks off the connection and deactivates the socket client mode Page 48 Part 3 The TCP IP protocol Data transfer by TCP IP sockets 3 6 1 3 Client server mode between COM Servers There are various options for connecting two or more COM Servers with each other by means of this mode Use the server socket addresses 8000 port A 8100 port B 8200 port C or 8300 port D The COM Servers can then establish mutual connections when data are present at the serial port and can close the connections again C key addressing makes varying connections between COM Servers possible Important In contrast to the Box to Box mode these are non durable connections and are not limited to two COM Server ports at a time e Application A control program polls a measuring device the measuring device is passive Configuration menu A ETHERNET B SET TCPIP Port Socket Client COM Server A var Server Socket 8000 Serial port Serial port Server IP IP Addr COM Server B J Client C Addr inactive COM Server B Server Socket 0000 js Server IP IP Addr 0 0 0 0 Client C Addr deaktiv LO O lt Serial connection y 2 e Application A control program polls a measuring device the measuring device can convey data actively to the control program Configuration menu A ETHERNET B SET TCPIP Port Socket Client oh pa oi
44. cket Port B Server IP Port C Special Inactiv timeout Port D Mode INFO Mode Password Mode SAVE Remote configuration only Mode RESET Remote configuration only Mode FLASH EEP Options Connect Timeout Disconnect Char Client C Addr Server Socket F Server IP Special Disconnect Char Options L Client C Addr Server Port 23 Server IP Disconnect Char Inactiv timeout UDP Client Telnet Client FTP Client Server Port 21 Server IP Special Options Auto FTP FTP Client Login Remote configuration only Inactiv timeout Connect Timeout Protocol Char SLIP Net IP Serial Protocol wE PPP Net IP Flush Buffer System Options Network Delay E Telnet Echo Page 34 Part 3 The TCP IP protocol Menu tree for the TCP IP protocol Whenever you leave this menu branch by pressing the OK key the system stores the parameters which have been set and attempts to work with them You can return at any time without saving by pressing the lt key When the message Saving appears on the display the new configuration has been stored in non volatile memory Remote configuration with Telnet In addition the COM Server can be configured very conveniently via the network with the help of TELNET This can be done from any host which is connected to the network and has the TELNET command available Simply enter the command telnet P number or hos 1111 Ple
45. connect only in connection with a Netware application IPX Display Port x PC disconnect If there is an active IPX connection to a control PC the latter automatically asks for the status of the W amp T COM Server every two minutes when there is no data traffic If this query is not made for more than 4 minutes the W amp T COM Server automatically breaks off the existing connection to the PC in order to be available for other participants who may be present Any data present in the internal buffers at this time are completely lost 2 1 3 The error memory of the W amp T COM Server The W amp T COM Server stores the last 10 errors which occurred together with the time of their occurrence and the port number in a ring buffer The most recent message at any time is always the one currently displayed on the screen The key can be used to call up the earlier messages in order and read them on the screen Stored error messages are erased by pressing the OK key when they are displayed on the screen This causes the next earlier message to scroll automatically into the display Consequently if all of the memory locations of the W amp T COM Servers are occupied then the OK key needs to be pressed 10 times to delete all of the messages Page 18 Part 2 Displays and settings Configuring the W amp T COM Server 2 2 Configuring the W amp T COM Server Configuration of the W amp T COM Servers can be performed directly on the unit on
46. connection an OPEN must be performed on the socket 9084 port A of the COM Server The COM Server will respond to the OPEN and immediately initiate a CLOSE At the same time it sends a RESET signal to the host 190 107 231 100 and clears its parameters The next OPEN on the socket 8000 is now returned by the COM Server IMPORTANT Following this FLUSH parts of the content of the buffer can be lost This socket can be opened by any station and should therefore only be used as a last resort No data are to be transported over this connection The socket is opened by a host and is closed again immediately by the COM Server 6 4 Software reset of the COM Server via socket The Socket 8888 was set up for the eventuality that the COM Server should ever need to be completely reset If a connection is ever opened on this socket the COM Server closes it again immediately and then performs a software reset IMPORTANT After this reset all buffer contents and any active connections are deleted the COM Server is in its basic state This reset can be initiated from any station and should therefore only be used as a last resort Part 6 Expanded TCP IP socket functions Page 79 EEPROM upload download via socket 6 5 EEPROM upload download via socket This function offers the possibility of saving the contents of the COM Server EEPROM to your computer in file form and also of copying this file back to the EEPROM The COM Server automatically
47. dby Error COM Server ser data format ser handshake network error Self test OK Blink code Status LED Blink code Error LED off on blink flash off 1x 2x 3x on Front panel 58201 Reset RJ45 BNC Power jack Rear panel 58201 1 4 3 W amp T COM Server 19 OEM 58301 58304 serial port D serial port C serial port B OU JO O JO OW JO 58304 only serial port A Blink code Status LED oO QO off Standby on Error blink connected o O O O O O tiash Data OOO O Bliink code Error LED LL ait EOK D D 1x Network error o fe Ex 2x ser data format Etherne Oo 3x ser handshake 10Base2 10BaseT on self test Front panel 58301 and 58304 Q fe n D 2 aj Page 8 Part 1 Connections and hardware variants Hardware variants of the W amp T COM Server 1 4 4 W amp T COM Server OEM short 58401 long 58404 Power LED Status Error Port A Status Error Port B Status Error Port C Status Error Port D 58404 only BNC RJ45 reset connector button 16 8 5V GND AUI connector e optional C mm nu COM Server OEM short 58401 2 mi g lt power supply 5V 12V 1 E Qa al vce 5v 83 VCC 5V os GND 3 SHD or 12V for AUI only af af af GND af a SHD SHIELD jumper 1 jumper 2 gt
48. e client or server the respective port on the COM Server must be configured for transport with UDP sockets in order to guarantee clear assignment of the incoming serial data In principle all UDP datagrams which are addressed to the respective port are accepted Incoming serial data are sent to the configured application server IP server socket The mode is configured in the SET TCPIP Port UDP Mode menu for always connecting to the same TCP IP station and it makes no difference which is the client and which the server since there is no setting up and breaking off of a connection or else in the SET TCPIP Port UDP Mode Special Options Client C Addr menu for connections with changing servers Settings e Menu SET TCPIP Port UDP Mode Server Socket Socket at which the server or client program is working on the host e Menu SET TCPIP Port UDP Mode Server IP IP number of the host on which the server or client program is activated e Menu SET TCPIP Port UDP Mode Special Options Client C Addr Activation of the switch activates a UDP client mode The server is addressed in serial order i e the useful data must be preceded by the destination address This address is not included in the transmission It remains in effect until the disconnect char configurable under Special Setup is received Format of the address input C address CR LF Examples address IP address
49. e COM Server are lost when this happens caution should be used when pressing this button To reduce the risk of inappropriate operation and the resultant loss of data the Reset button is recessed into the back of the case 1 3 2 Front control panel models 58001 58004 The operating parameters for the W amp T COM Server can be set through the keypad which is integrated into the faceplate Using the directional keys JT lt the user can move around in the menu structure described in the following chapters Any changes or selections which are made must be confirmed with the OK key in order to take effect 1 4 Hardware variants of the W amp T COM Server 1 4 1 W amp T COM Server with Display 58001 58004 Power Stat Mode Run 08 30 Bo Cable Coax Q Error serial port A i COM Server Cer O 58001 Q Front panel 58001 Mode Run 08 30 gogg saus k Cable Coax OOOO Eror DC BA Port serial port D serial port C serial port B serial port A COM Server C QO TE O QO Cg O O Vay O 58004 Front panel 58004 Part 1 Connections and hardware variants Page 7 Hardware variants of the W amp T COM Server Reset RJ45 BNC Power jack Rear panel 58001 58004 1 4 2 W amp T COM Server Compact 58201 serial port OJO Connected W amp T 58201 Data Status O OError Stan
50. e the master box for the box to box mode here In the submenu Box to box TCPIP enter the desired port Port A D under the item Slave Box Port and the IP number of the slave box under the item Slave Box IP If you select the entry under Slave Box Port the port is free Page 62 Part 5 Box to box TCP IPX Menu tree for box to box TCP IPX Important The box to box mode is set exclusively on one COM Server that is for this operating mode the slave box port may be set only on the master box No changes or entries are needed on the slave box itself see also Section 5 2 Box to box operation e Bus master slave mode If you have connected several COM Servers in a network with the intention that they constitute a bus then configure each port here individually see Section 5 5 5 1 3 MONITOR mode This mode permits constant monitoring of the connection states of all COM Server ports The information on the display screen is updated immediately whenever there is a change In the status query during remote configuration with TELNET TCPIP protocol only updating is accomplished by leaving and again calling the monitor for the port in question A B2BMaster q TCPIP Port A communicates as master B Scanning with Port B of the corresponding box _______y Connecting state Locked The port is locked by the specified remote port Scanng The COM server is searching the corresponding
51. eive filter OFF XON XOFF filter for data direction RS232 network The XON and XOFF characters sent by the serial device are transferred to the network along with the actual useful data This operating mode requires that the particular recipient on the network have a special means for separating useful and control data Receive filter ON XON and XOFF characters sent by the serial device are treated as control bytes by the W amp T COM Server and are not inserted into the network data stream This ensures that the network recipient receives only pure useful data 2 2 2 4 Mode MONITOR SET IPX SET TCPIP In these menus all of the network relevant parameters are set or displayed The configurations and operating modes which are to be set here differ considerably according to which protocol you are using For this reason the descriptions will be found in the chapters for the specific protocols The TCPIP protocol The IPX protocol and Box to box TCP IPX 2 2 2 5 Mode INFO This item allows you to call up the device specific parameters and the port parameter settings for all of the serial ports e Node Number Displays the Ethernet address of the W amp T COM Server This number is factory set and registered and cannot be changed e Network Number IPX protocol Displays the network address of the Netware network to which the COM Server is connected If there is no Netware server in the network then the display is blank P
52. essage Saving appears on the screen If the input is incorrect you are returned to the main menu without saving the values and the message Failed appears on the screen Page 38 Part 3 The TCP IP protocol Menu tree for the TCP IP protocol 3 2 4 Mode MONITOR This mode permits constant monitoring of the connection status of all COM Server ports By scrolling the screen of the display upward or downward you can read the status of each channel one at a time In TELNET remote configuration mode you select the port by entering the corresponding number This gives you the current status of the connection The output is updated when you leave the sub menu and then return to it again A F Status monitor for port A eon Port A is locked as an FTP client the connection 00021 Unlock to the FTP server port 21 is not active Connection status Client Server mode Locked The connection is set up correctly Scanng The Box is looking for its partner box or station Disconn The connection attempt was refused by the partner station Unlock The Box is locked by the designated port or socket but does not have an active connection P Remote server port decimal Status monitor for port B Boone Port A is working in Standard Server mode and was 190 107 231 101 locked by the client with the port number 2251 of the station with the IP number 190 107 231 101
53. g the IP address You have a number of options available for assigning the IP address for the COM Server e On the COM Server s display display versions only In the SET TCPIP Box IP Number enter the appropriate IP address e By means of the RARP server Activate the RARP server enter the Ethernet address for the box in the etc ethers file and the IP address for the box in the etc hosts file Connect the COM Server to the network in the same segment of the RARP server Example The Ethernet number for your COM Server is 00 C0 3D 00 12 FF It is to be given the IP number 190 107 231 11 and the alias WT_1 Entry in the file etc hosts 190 107 231 11 WT_1 Entry in the file etc ethers 00 C0 3D 00 12 FF WT_1 If no RARP daemon is activated yet do this now Under SCO UNIX for example the command is rarpd a e By means of the arp command This method can only be carried out if the COM Server does not yet have an IP address so that the entry is 0 0 0 0 set at the factory To change an IP address use a different method or remote configuration with TELNET Assign the COM Server an IP address in the etc hosts file and then use the arp command to make an entry in the address table Under SCO UNIX for example arp s WT_1 00 C0 3D 00 12 FF Establish a network connection to the COM Server e g Ping Telnet WT_1 e Input at the serial interface when starting the COM Server versions without display only Connec
54. hapter 3 6 It contains documentation of all of the additional socket functions of the W amp T COM Server and instructions for socket programming in general Table of contents Table of contents Page Part 1 Connections and hardware variants 1 1 10 Tasks of the W amp T COM Server i i 2 1 20 External connections of the W amp T COM Server 3 1 30 Control elements of the W amp T COM Server 65 7 1 40 Hardware variants of the W amp T COM Server 7 Part 2 Displays and settings 0 00 00 eee 13 2 10 DISPIAYS issih ss iheisneihaily ads tea SiG enr eat 14 2 20 Configuring the W amp T COM Server l a 19 2 30 Special key functions 26 2 40 Updating the W amp T COM Server software 05 27 Part 3 The TCPIP protocol 00 0 c ccc cece eeeeeeeeeeeeeeeeeeees 31 3 10 Quick installation S iesi dayi felt ieran ee 33 3 20 Menu tree for the TCPIP protocol 0 ceeeeeeeees 34 3 30 Protocols for the TCP IP suite ec ceeeeeeeeeeee eee 40 3 40 Data transfer Via FTP 0 00 0 cee ee ceeee nes neeeeeeeeeeeeeen tenes 40 3 50 Data transfer via TELNET 00 cece ees 45 3 60 Data transfer via TCPIP sockets 46 3 70 SEIPiMOGOS iane a perea Se pea a ario Era aL aia 52 Part 4 The IPX protocol mieie e A AREE 55 4 10 Menu tree for the IPX protocol cece 56 Part 5 Box to box TCP IPX 0 59 5 10 Men
55. ial options Inactivity timeout default 30 seconds Here you can enter a timeout for the connection The value is specified in seconds in a decimal number If no data are transferred for the specified length of time then the COM Server breaks off the connection to the socket server The value zero deactivates this mode Connection timeout default 300 seconds This value is also a connection timeout decimal and in seconds This timeout only becomes active if there are no activities taking place on the network side between the server and the client This state indicates that the connection is hanging The timeout value should be chosen accordingly The value zero deactivates this mode Disconnect char default 3 Here you can enter a decimal character which will end the current connection If this character is received at the serial port the COM Server interrupts the connection to the socket server The character is not included in the transmission The default value is 3 which corresponds to the key code Ctrl C The value zero deactivates this mode Client C addr default inactive This function makes it possible to establish connections to different server addresses without the need of adjusting settings on the Box see Section 3 6 1 2 3 2 1 2 UDP mode In this mode the COM Server is activated for the UDP mode that is data are transmitted by means of UDP datagrams Enter the port number in the Server Socket sub
56. iles from us 58r3_1 2_1 and 58r3_1 2_2 The new operating software is version 3 1 The COM Server is connected to the COM2 port of your PC Enter the following commands at the prompts C mode COM2 96 N 8 1 C copy 58r3_1 2_1 com2 B Now wait until the green status LEDs light up again and then transfer the second file C copy 58r3_1 2_2 com2 B Part 2 Displays and settings Page 29 Notes Page 30 Part 2 Displays and settings Part 3 The TCP IP protocol SET TCPIP menu ARP RARP PING FTP client server TELNET client server SOCKET Client server SLIP router Part 3 The TCP IP protocol Page 31 Quick installation ETHERNET 2 W amp T COM Server TCP IP Station S ai Entry in the hosts file ect 1 Box_IP Box_Name T 190 107 32 4 box 10 Connection of the hardware Sect 1 2 _ COM Server with display Setting the serial parameters Sect 2 2 2 Kap 2 2 2 3 Entry in the file ethers Setting the IP address Box_Etheraddr Box_Name Sect 3 1 oe ee ee ee 0 C0 3D 0 13 A5 box10 Setting the subnet mask Sect 3 2 1 Test of network config ping box_name Connection via router bridge Test of serial config telnet box_name Output if all characters to serial terminal device Setting of gateway addr Sect 3 2 1 Page 32 Part 3 The TCP IP protocol Assigning the IP address 3 1 Assignin
57. ilter in software handshaking however Now that you know your way around use the OK key now instead of the left arrow key in order to really perform the settings In order to prevent accidental operation the OK key is located on the front clear to the right Part 2 Displays and settings Page 19 Configuring the W amp T COM Server Mode RUN A FREE Connect status information screen Mode MONITOR i z one information screen per port MENU TYPE Mode MENU TYP Protocol TCPIP Protocol IPX Box2Box TCP IPX COM Setup Port A 4 port version single port version Mode COM SETUP Port A Baud 153 6k i 57600 115 2k i 38400 Port B L 57600 i 19200 PotC 38400 14400 19200 9600 PotD 9600 l 7200 7200 4800 4800 2400 2400 i 1200 1200 f 600 Save the actual configuration 600 300 to non volatile memory by 300 i pressing the OK button 150 i until the COM Server shows 75 Saving in its display 50 f Data Bits 8 8 vf SE td 6 5 1 Parity None None Even y Even MARK EVEN 0 Odd Odd MARKODD1 Stop Bits 1 i a 2 i Handshake None jz Hardware Send Rec XON XOFF__ Filter Send ON Rec ON Send OFF Rec ON Send ON Rec OFF Send OFF Rec OFF FIFO Send Rec 8 8 without FIFO Page 20 Part 2 Displays and settings Configuring the W amp T COM Server Mode SET TCPIP Select MENU TYP Protocol TCPIP or Box2Box TCP IPX see manual p
58. king is used the individual RS232 signals perform the functions described in Section 1 2 2 according to the factory settings Please note that depending upon the version the meanings of the individual signals can be changed by the particular application software at any time Page 22 Part 2 Displays and settings Configuring the W amp T COM Server e Software handshaking Software handshaking is carried out through the two ASCII characters h11 XON and h13 XOFF In this case the RTS output is permanently set at the factory for 12V and the CTS DSR DCD and RI are ignored A special feature are the four options under the menu item Filters These options define whether the handshake bytes XON h11 and XOFF h13 are filtered out or are communicated transparently Send filter OFF XON XOFF filter for data direction network gt RS232 All useful data including the signals XON and XOFF are output to the RS232 port without filtering It only makes sense to use this operating mode when the attached device is a graphics printer in whose data stream the handshake symbol must also be expected to occur Send filter ON If the characters XON or XOFF should occur within the useful data they are filtered out by the W amp T COM Server and are not forwarded to the terminal device This operating mode is always the one to choose for bidirectional RS232 connections since otherwise problem free data communication is not possible Rec
59. l Options Dispatch String1 L Dispatch String2 IP Bus Mode Slave Master IP gE Master Subnet IP System Options Network Delay SOFTW Date Rev BOOT BLOCK Rev Port A Port B Port C Port D Mode Password Mode FLASH EEP COM Setting Page 60 Part 5 Box to box TCP IPX Menu tree for box to box TCP IPX Leaving the menu branch by pressing the OK key always causes the system to save the parameter settings and to attempt to work with them It is always possible to return without saving by pressing the key If the message Saving appears on the display screen the new configuration has been received into nonvolatile memory Remote configuration with Telnet If you wish to connect the COM Server with the network protocol TCP IP box to box TCPIP or IP IP bus mode you can also perform the configuration of the devices very easily over the network using TELNET This can be sent from any host which is connected to the network and has the TELNET command Simply enter the command telnet P number or hosi 1111 Please look up the exact syntax of the commands for your UNIX system or your TCPIP kernel in your user s manual 1111 is used for the port number The following configuration menu appears on the screen You can select the submenus by entering the corresponding number Mode MONITOR Save the actual configuration to non volatile memory by pressing the OK button Mode M
60. lt Box to Box TCPIP T Slave Box Port Slave Box IP 190 107 231 001 Gateway Network No Mode Run 08 30 as Wat oC 30 serial port measuring device Port A lt Box to Box TCPIP T Slave Box Port Slave Box IP a 000 000 000 000 Part 5 Box to box TCP IPX Page 69 Bus master slave operation 5 5 IP bus master slave operation The IP bus master slave mode allows a firm logical connection of any multiple COM Server ports which you want joined over the network in the form of a bus In this mode the connected serial devices are in constant online contact with each other Any additional data traffic or other network protocols have no effect on the connection ETHERNET a ce RA 2 2 2 DE measuring device measuring device measuring device Slave Slave Slave Master x A A A i Ro ESSE SSeS i Qe perena a a a a a a i 3 Serial communication between master and slaves Please note e The serial devices must transmit their data with their own security protocol since the COM Servers use IP as their network transmission protocol which means that they provide no assurance of data safety e Master and slave devices which are to form a bus must belong to a single subnet In other words all of the COM Servers must have the same subnet mask and network address Page 70 Part 5 Box to
61. mal number If no data are transferred for the specified length of time then the COM Server breaks off the connection to the Telnet server The value zero deactivates this mode 3 2 1 4 FTP client In this menu the COM Server is configured as an FTP client Enter the port number in the Server Port sub menu and in the Server IP sub menu enter the IP number of your FTP server to which the COM Server is to establish the connection The port number for the standard FTP server is 21 Special options e Auto FTP default inactive This switch toggles between serial protocol inactive and automatic operation active See Section 3 4 2 1 e FTP client login with Auto FTP active for remote configuration with TELNET only One after another enter the login parameters with which the COM Server can lock into your FTP server The parameters needed are a username and password the transmission mode and the name of the file which is to be read or written e Inactivity timeout default 30 seconds Here you can enter a timeout for the connection The value is specified in seconds in a decimal number If no data are transferred for the specified length of time then the COM Server breaks off the connection to the socket server The value zero deactivates this mode e Connection timeout default 300 seconds This value is also a connection timeout decimal and in seconds This timeout only becomes active if there are no activities taking
62. menu and in the Server IP sub menu enter the IP number of your UDP server with which the COM Server is to exchange data Special options Disconnect char default 3 The Disconnect char is only in effect when the option Client C Addr is active If this character is received at the serial port the current destination address to the UDP server is deleted Data cannot be transmitted again until a new destination address is sent The character is not included in the transmission The default value is 0 Client C addr default inactive This function makes it possible to transfer data with various UDP servers without the need of adjusting settings on the Box see Section 3 6 2 Page 36 Part 3 The TCP IP protocol Menu tree for the TCP IP protocol 3 2 1 3 Telnet client In this menu the COM Server is configured as a Telnet client Enter the port number in the Server Port sub menu and in the Server IP sub menu enter the IP number of your Telnet server to which the COM Server is to establish the connection The port number for the standard Telnet server is 23 e Disconnect char default 3 Here you can enter a decimal character which will end the Telnet connection The character is not included in the transmission The default value is 3 which corresponds to the key code Ctrl C The value zero deactivates this mode e Inactivity timeout default 30 seconds Entera connection timeout here in seconds in a deci
63. mote configuration from a TCP IP station telnet P no 1111 and choose SET TCPIP Port FTP Client Special Options FTP Client Login Enter one after the other the login name the password and the FTP client functions Important You have a maximum of 80 characters available for all specifications Establishing a connection The FTP client functions LIST and RETR are invoked by the presence of any character at the serial port This character is not transmitted The FTP client functions STOR and APPE are executed as soon as the first character to be transmitted is present at the serial port As the end conditions for the FTP client functions STOR and APPE please enter at least one of the following values on the COM Server or by means of remote configuration SET TCPIP Port FTP Client Special Options Inactive Timeout in seconds For example Inactive Timeout 00030 gt If 30 seconds pass without it being possible to read a character from the RS232 port the connection is broken off 0 corresponds to no time limit but most servers do not allow a connection longer than 5 minutes SET TCPIP Port FTP Client Special Options Protocol Char If this character is received the connection is closed immediately The character is not transmitted If the value of the character is zero this end condition is disabled The first 16 characters of any error codes from the FTP server are output to the di
64. n c n c 1 n c 9 CD _ 16 GND 8 n c zi p n c 9O mmnmmnmm 16 1 mmnnnnnn g 15 n c 9 CD 1 GND _ L 8 GND 14 n c 10 TX 2 CD _ L 7 n c 13 12V 11 n c 3 TX 6 GND 12 RX 4 GND 5 RX AUI pinout OEM version PCB pin header connector DB15 female connector AUI interface 1 2 2 Serial connectors W amp T COM Servers are equipped with RS232 as part of the standard configuration If you use other modules in your unit for example RS422 485 LWL 20mA please read the supplemental module instructions The pin assignments of the RS232 ports on the W amp T COM Server are identical to those on a PC which permits the use of standard cables Be sure that all of the ports are configured for identical transmission parameters and handshake protocols see Section 2 2 2 3 Since interface ports on peripheral devices are often highly manufacturer specific in design it may not be possible to use standard cables in some configurations In such cases the documentation for the devices in question should be referred to The details of pin assignment and the W amp T cables for the most important applications are shown in the following section Page 4 Part 1 Connections and hardware variants External connections of the W amp T COM Server Pin Direction Signal Description Default function 1 IN DCD Data Carrier Detect Ignored
65. nding upon the network protocol you are using In this menu you can set the protocol for which you wish to configure the COM Server Naturally you can still configure the menu for both protocols by switching the MENU TYPE e The TCPIP protocol Confirm the selection with OK The menu Mode SET TCPIP appears with all of the client server applications The menu Mode SET IPX is not visible e The IPX protocol Confirm the selection with OK The menu Mode SET IPX appears The menu Mode SET TCPIP is no longer visible e Box to box TCP IPX Confirm the selection with OK Both menus appear Mode SET IPX and Mode SET TCPIP but in each case with only the settings which are relevant for the box to box mode 2 2 2 3 Mode COM SETUP The W amp T COM Server like every serial device has to be set to the communication parameters of its partner In this mode all of the RS232 parameters which are relevant for operation can be configured separately for each port Besides the usual settings for baud rate data bits parity and stop bits at this point the handshaking method and for multiple port versions the size of the FIFO buffer in the UART can be specified All changes take place immediately after you leave the respective menu level by pressing the OK key Please note that storing the parameters deletes all data which is currently in the temporary buffers of the W amp T COM Server e Hardware handshaking When hardware handsha
66. of the W amp T COM Server e Part2 Displays and settings This chapter describes the organizational principle of the menu for software configuration of the device as well as all of the operating and error messages and the display outputs of the W amp T COM Server Concrete descriptions are provided of all configurations which are independent of the type of network in use such as configuration of the serial ports and software updating of the device e Part 3 The TCPIP protocol This chapter contains all of the configurations and modes for use when you are working with the TCP IP network protocol and connection is to be established with another network station not a W amp T COM Server e Part4 The IPX protocol We have kept this chapter very short since it is only relevant for those who have implemented their application with the Netware Development Kit item no 58113 You will find comprehensive instructions in the documentation for that package e Part5 Box to box TCP IPX This chapter describes the possibilities for linking W amp T COM Servers together for the two network protocols TCP IP and IPX If you have decided on the TCP IP protocol start by reading Chapter 3 1 Quick installation and then read this part of the instructions e Part6 Expanded TCP IP socket functions This chapter is very specialized and of interest only to those who will use the W amp T COM Server in the TCP IP socket server or client mode see C
67. om the first character for applications whose timeouts do not allow this slight delay e Telnet Echo default active If the COM Server is operated as a TELNET server the echo mode can generally be set at the local terminal If Remote Echo Mode is selected the COM Server gives an echo for each character If you have a serial terminal device which also sends an echo each character appears twice on the screen For this purpose you can deactivate the echo in the COM Server e Flush Buffer default active If this switch is active each time a new connection is established the serial buffer is cleared along with any residual data which were not able to be transmitted Handshake Stop But if you connect a terminal device to the COM Server for which the program for example requires a longer Handshake Stop you can prevent clearing of the buffer by deactivating this switch This makes it possible to establish a number of connections in a row on the network and the data are collected in the buffer until they are transmitted 3 2 2 Mode RESET Only with remote configuration via TELNET Select this menu item to execute a software reset on the COM Server First your Telnet session will be closed normally 3 2 3 Mode SAVE Only with remote configuration via TELNET Here you can make all of the changes which you have made in the Box take effect If a password has been activated then it is demanded here If the input is correct the m
68. on key lt gt value key Ty Port no of corresponding box 00000 no Box to Box mode If the other station is not located on the same network but can only be reached via a router etc the COM Server must in addition be informed of the corresponding network number under Box to Box Slave Network SET IPX Port A Enter number dec Mode SET IPX Port oa Port No _ _ Port B Box to Box IPX i Slave Port No dec Port C Slave Network Port D Slave Ether No Network no of the corresponding box 00000000 lt position key lt gt value key Ty Part 5 Box to box TCP IPX Page 65 Setting the box to box mode IPX If the connection is routed over an ISDN or modem line it is necessary in many cases to filter out broadcasts at the lowest level In order to make this possible enter the last two digits of the six place Ethernet address for the slave box under Box to Box Slave Ether No SET IPX Port A Mode SET IPX Port jr Port No Enter number dez Port B Box to Box IPX Slave Port No dez Port C Slave Network Port D Slave Ether No Two least significant bytes of the slave box ethernet number 0000 position key lt gt value key Ty When you leave the menu by pressing the OK key the COM Server saves the changes in its non volatile memory and attempts to find the specified partner station on
69. onnections can use the same cable as an existing network without impairing the operation of the latter existing repeaters bridges or routers can be used without any problem Application diagram _ RS232 device lt gt COM Server lt gt User application IPX ethernet IPX W amp T card driver COM Server API UNIX ethernet TELNET FTP card TFTP ARP Box to Box RS232 device RS232 device RS232 cable Ethernet RS232 device W amp T RS232 COM Server W amp T COM Server Every COM Server provides up to four independent serial ports which can have different parameter settings for each channel Data transmission takes place in full duplex mode at a maximum rate of 153 6 k Baud 4 port version or 57 600 Baud single port version The Display version with its integrated LCD combined with the built in keypad permits user friendly menu guided local configuration of the COM Server Page 2 Part 1 Connections and hardware variants External connections of the W amp T COM Server 1 2 External connections of the W amp T COM Server The W amp T COM Server should be placed in a location where the maximum permitted cable run of 15 m to the serial devices and 185 m or 100 m on the network side are not exceeded If this is not possible in individual cases line drivers can be used for the serial port depending upon the model these permit transmission distances of up to 1000 m W amp T 80001
70. or conditions can be read out and commands made Only the useful data are transported via the data connection The following socket numbers have been reserved for these control connections Port control socket port A 9094 Port control socket port B 9194 Port control socket port C 9294 Port control socket port D 9394 The control connection can be opened when the respective port is addressed as a server on the sockets 8000 8100 8200 or 8300 or has been configured as a socket client The data and control sockets are independent of each other They can be opened and closed individually as often as necessary 6 2 1 The port control structure For the exchange of information and commands a defined structure is transmitted on this socket To request an informational structure it is sufficient to send any character to the control port If a command is to be given the complete structure 30 bytes is expected in a packet If unaddressable data e g only half of a structure are received at the control port an informational structure is also sent in response Page 74 Part 6 Expanded TCP IP socket functions Port control sockets The structure has a fixed length of 30 bytes and is made up of the following individual structures pragma pack 1 typedef struct _rem_box_cntrl char zero_1 COM_ERROR _ce COM_STAT _CS BOX_CNTRL _be char zero_2 REM_BOX_CNTRL pragma pack zero_1 zero_2 The two
71. ot used DTR is activ Enable user defined time out not used 1 Copy the complete structure of a received information packet from the COM Server and fill out the structure BOX_CNTRL In this way you only need to change the values which you want to change 2 To be able to work with the configuration you have to set the save_command value in the structure The value 2 causes the COM Server to save the current configuration in non volatile memory and to use it again even after a restart A 1 does not overwrite the non volatile memory that is after a restart the system again uses the old configuration Page 78 Part 6 Expanded TCP IP socket functions Reset COM port status COM Server via socket 6 3 Reset COM port status via socket For special applications this socket offers the possibility of performing a forced reset of the COM ports that is the parameters of the current connection are erased The current connection partner host is informed of this by a TCP IP RST The socket numbers for the individual COM Server ports are 9084 for port A 9184 for port B 9284 for port C 9384 for port D Example The host with the IP number 190 107 231 100 has a connection with the COM Server with the IP number 190 107 231 8 on the data socket 8000 port A The host fails or is cut off by a cabling failure The COM Server port A remains blocked as long as the host is not responding In order to reset this port for a new
72. ow ready to receive data High not ready to receive data 10 IN DCD Data Carrier Detect Ignored 11 OUT 12V 12V ai 12 OUT GND Signal Ground can be temporary modified by software Contact assignments of the VG strip The 19 OEM COM Servers 58301 58304 get their power through the VG strip Depending upon the bus system which you are using jumpers a c in the appropriate row of the jumper strip must be set on the board in order to provide power for the COM Server Connector pin Input Default all three jumpers of a VG strip COM Server row closed Jumper A B c A B c Jumper Row 1 9c 32c ate GND 5V 12V_ VME bus J1 Jumper Row 2 2b 1b n c GND 5V 12V VME bus J2 Jumper Row 3 32c 31c 3c GND 5V 12V Multibus II Jumper Row 4 32c 1c 13a GND 5V 12V ECB bus Jumper Row5 32c 29a 9a GND 5V 12V BUS7ISA Part 1 Connections and hardware variants Page 11 Notes Page 12 Part 1 Connections and hardware variants Part 2 Displays and settings Displays Error messages Overview of menu tree Configurable serial ports Special key functions Software updating Part 2 Displays and settings Page 13 Displays 2 1 Displays The W amp T COM Servers have a power LED and for each serial port a status LED and an error LED In addition the Display versions 5800x have a 2x16 character LCD screen for displaying error and status messages 2 1 1
73. ower adapter is designed for an input voltage range of 110V to 230V the W amp T COM Server can also be used equally well in countries with other line voltages e W amp T COM Server Compact 58201 The W amp T COM Server Compact includes a special plug adapter see Technical data in the Appendix which connects to the matching input DC power jack on the back of the case This adapter has a fixed input voltage of 230V e W8 amp T COM Server 19 OEM 58301 58304 These COM Servers are able to get their power through the VG strip Jumpers on the board allow it to be set up for the most common bus standards see Section 1 4 5 e W amp T COM Server OEM short long 5840x These versions allow various power supply options Power can be supplied through one of the two power adapters or through a proprietary design The connections can be taken from the illustration in Section 1 4 4 Page 6 Part 1 Connections and hardware variants Control elements of the W amp T COM Server 1 3 Control elements of the W amp T COM Server W amp T COM Servers are supplied in a variety of different models The control elements are not identical nor are they positioned uniformly on the various models The following pages show sketches of the front and rear plates if present for all of the models 1 3 1 Reset button This button resets the internal microprocessor thereby restarting the W amp T COM Servers Since all of the data stored in th
74. place on the network side between the server and the client or if a continuous handshake stop is preventing the flow of data This state indicates that the connection is hanging The timeout value should be chosen accordingly The value zero deactivates this mode e Protocol char default 3 If the FTP client is used with serial protocol a decimal character must be entered here which the protocol is to use as the separator character This character must not occur in the data stream since this can lead to malfunctions or premature break off of transmission In the Automatic FTP client mode this character is evaluated as a condition for ending the FTP connection if it has a value other than zero Part 3 The TCP IP protocol Page 37 Menu tree for the TCP IP protocol 3 2 1 5 Serial protocol If the COM Server port is to be locked as a SLIP or PPP router enter the network address of the sub network here to which the SLIP of PPP packets are to be routed Also see Section 3 7 3 2 1 6 System options In this menu branch you can set certain specific values which are normally not meaningful e Network Delay default active This switch changes the frequency with which serial data are packaged into network packets When the switch is active packaging starting from a number of characters which depends upon the baud rate or after about 20 ms lighter load on the network with the switch inactive immediate packaging starting fr
75. r once on a network The values 0 and 65535 are not allowed The numerical value is input with the cursor keys The lt keys govern the cursor position within the number which can then be counted up or down in steps by means of the T keys 4 1 2 Mode INFO Network number Returns the number of the network to which the COM Server is connected If there is no Netware server on the network the entry remains empty Callback ethernet adr Designates the ethernet address of a controller PC or the port number of a COM Server with which a connection is made automatically as soon as serial data are received if no other connection exists More detailed explanations of this may be found in the chapter on installation of the rerouter via Interrupt 14 Instructions for Netware Development Kit Callback network no Designates the address of the network where there is a controller PC or a COM Server with which a connection can be made automatically as soon as serial data are received if there is no other connection More detailed explanations of this may be found in the chapter on installation of the rerouter via Interrupt 14 Instructions for Netware Development Kit Part 4 The IPX protocol Page 57 Menu tree for the IPX protocol 4 1 3 Mode MONITOR This mode permits constant monitoring of the connection status of all COM Server ports The data in the display are updated immediately whenever there is a change
76. reset or modify any of the parameters including the password itself you have to know the old password For this reason a written record of the password should always be kept in a secure place Page 24 Part 2 Displays and settings Configuring the W amp T COM Server 2 2 2 7 Mode FLASH EEP In this mode you can start the software update or completely reset the nonvolatile memory EEPROM Factory Defaults When you confirm this with OK all of the settings which you have stored are reset to the defaults The configuration then corresponds to the factory setting Important Resetting the nonvolatile memory leads to the loss of all settings which have been made including the IP address or IPX port numbers which have been assigned Net FLASH Update Before you activate this mode terminate all currently active network connections Then confirm with OK The unit goes into the mode for update over the network The caption NET UPDATE appears on the display and all of the green LEDs light up Important This mode blocks all other operating modes of the COM Server as well as the keypad The only way to exit from the update mode is to perform the update or press the Reset button All currently active connections including any data are lost Serial FLASH Update Before you activate this mode terminate all currently active network connections Then confirm with OK The unit goes into the mode for update through serial port
77. socket if there is no server socket entered under UDP Mode C190 107 231 101 4800 lt CR gt address 4th byte of the IP address if entered under UDP Mode Remote Server IP and Remote Server Socket e g 190 107 231 ____ and port no 4800 are then the defaults C101 lt CR gt After all of the values have been saved on the COM Server and all of the queries have been acknowledged with OK until the message Saving appears on the screen the client mode is activated The entry UDP mode appears on the status monitor of the corresponding port The current status of the connection can always be read here Deactivating the UDP mode Set the value to zero in the SET TCPIP Port UDP Mode Server Socket menu or deactivate the Client C Addr switch in the SET TCPIP Port UDP Mode Special Options menu Part 3 The TCP IP protocol Page 51 SLIP or PPP mode 3 7 SLIP mode The W amp T COM Server can also be used as a simple router The IP datagrams are transported via the serial medium using the SLIP or PPP protocol Ethernet IP i RS232 SLIP Subnet Mask 255 255 255 0 Box IP number 190 010 010 004 BNC AUI RJ45 190 010 020 000 NetIP B 190 010 021 000 190 10 21 6 190 10 10 2 Packet framework f Ethernet IP datagramm SLIP PPP IP datagramm Konfiguration eines COM Servers im SLIP PPP Modus SLIP settings In the men
78. splay Page 42 Part 3 The TCP IP protocol Data transfer by FTP 3 4 2 2 FTP client with serial protocol This mode is appropriate when you want to execute constantly changing commands with different files and have access to a means of terminal input or of programming on the serial side Activation Set the switch SET TCPIP Port FTP Client Special Options Automatic FTP on the COM Server to Inactive Select a character which does not occur in your stream of useful data and enter it under SET TCPIP Port FTP Client Special Options Protocol Char for example 003 corresponds to the keycode Ctrl C Serial protocol The format of the login string entered via the serial port is login_name lt If gt password lt If gt TYPE TYPE A lt If gt STOR RETR APPE LIST remote file dir lt If gt disconnect char The individual commands are separated with OA hex corresponding to line feed keyboard input CTRL J Important For the complete login string you have 128 characters available Establishing a connection Send the login string to the appropriate port of the COM Server If the string is received completely the COM Server begins to set up the connection and process the commands If the functions are successfully executed in sequence you receive the code OK disconnect char Afterward the useful data are transmitted from the serial port to the network or vice vers
79. struct _com_flags int dsr_hold int cts_hold int ri_hold int rlsd_hold int dtr_hold int rts_hold int x_receive int x_send int dummy int send_xoff int flush_rd int flush_wr int set_rts_dtr int set_break int clear_break E F int cbInQue int cbOutQue COM_STAT aoa aA ap States of com port for read write DSR line ICTS line R line RLSD line DTR line RTS line IXOFF received IXOFF was sent space not used Send XOFF asynchron Flush serial input buffer Flush serial output buffer Set RTS to rts_hold and DTR to dtr_hold Independent setting break mode Independent clearing break mode Receive byte count of COM ring buffer Transmit byte count of COM ring buffer e Deleting buffers and influencing the handshake low byte is set with every received packet high byte 1 Copy the complete structure of a received information packet from the COM Server and fill out the high byte of the COM_STAT structure 2 All commands whose flags have the value 1 are executed When setting the flag wr_rts_dtr be sure that you also properly set the flags rts_hold and dtr_hold in the low byte Page 76 Part 6 Expanded TCP IP socket functions Port control sockets The structure BOX_CNTRL The structure BOX_CNTRL 20 bytes stores the configuration of the port baud rate data bits parity stop bits handshake behavior timing values Here you
80. t a terminal to Port A and configure the serial port of the terminal with 9600 baud no parity 8 data bits 1 stop bit no handshake Activate the reset button on the COM Server After every hardware test all of the green data LEDs light up for about two seconds During this time key in the letter x at least 3 times If the COM Server recognizes the input the prompt IPno lt Enter gt appears on your terminal Enter the IP address in the usual format xxx xxx xxx xxx and end the input with lt Enter gt If the input is correct the assigned IP address is shown as acknowledgment otherwise the message Failed is displayed The procedure can be repeated any number of times Part 3 The TCP IP protocol Page 33 Menu tree for the TCP IP protocol 3 2 Menu tree for the TCP IP protocol The methods for controlling the system and adjusting the serial parameters were already described in Parts 1 and 2 This part contains explanations of all of the configurations which are needed in order to implement the client server applications which are based on TCP IP Mode RUN Display menu only Mode MONITOR Mode MENU TYP Protocol TCPIP E Protocol IPX Display menu only Save the changes in non volatile memory with OK button several times if necessary until KS T i Box2Box TCP IPX Saving appears on the display Mode COM SETUP Mode SET TCPIP Box IP No Subnet Mask Gateway Port A Socket Client Server So
81. the network There must be no settings made at that other station since the connection is both established and managed by the master box Important The box to box mode is set exclusively on the master port this means that for this operating mode the slave port may be set on only one of the two COM Servers No changes or entries are needed on the slave port So for an online connection between port number 5 and port number 7 for example the value 7 needs to be set in the menu item Slave Port No on port number 5 only If the connection between the two ports is set up correctly then the slave port is also firmly locked even if the connection should ever be interrupted by a power failure for example Ending a box to box connection Once a connection exists it can only be deleted by entering the value 00000 in the submenu Box to Box IPX Slave Port No on the master box The master port also releases the slave port again For this to work it is imperative that the slave box be connected to the network If the release of a port should fail to function for any reason you can delete all of the values which pertain to the box to box mode by means of the appropriate key combinations For further information see Section 2 3 Special key functions Page 66 Part 5 Box to box TCP IPX Setting the box to box mode IPX Sample configuration IPX Network No Router Network No 00001212 fh 0005656
82. the update is through the serial port Jumper 1 on the board see illustration in Section 1 4 4 must be closed Afterward press the Reset button see Section 2 4 2 If the error cannot be corrected or if it occurs independently without being preceded by a software update please send the unit to us 2 1 2 Display error messages The following section shows the error messages which can appear in the display and possible causes 1 Link fail with twisted pair cable only Display Mode RUN 13 00 Cable Link fail The network cable definition is set for the 10BaseT port but no link pulse is being received The cause may lie in a defective 10BaseT cable or hub port Another possible reason is an incorrectly wired cable The display is either updated automatically every 60 seconds or optionally whenever the OK key is pressed Part 2 Displays and settings Page 15 Displays 2 Cable open for coax or AUI cable only Display Mode RUN 14 00 Cable open The network segment is not correctly terminated coax or there is a discontinuity in the connecting cable With the help of a LAN Scanner W amp T 55506 the error can quickly be found and corrected 3 Checksum error during self test Display ROM Test Error NET FLASH UPDATE This error can occur if you interrupted a software update early and it was not possible to transfer the complete operating software The COM Server is no longer oper
83. ticular port is not reacting to the stop signal set by the COM Server and is continuing to send data This can result in overwriting of the serial ring buffer and consequently in the loss of data Check to see that the handshake configurations of the devices match and that the connecting cables are wired correctly 6 Overrun Error Display Port x Overrun Error The data register of the serial receiving module was written to even though the prior character had not been read out Since this is a purely internal process within the device when this error message occurs it is highly probable that there is a hardware error in the COM Server 7 Parity Error Display Port x Parity Error A character received at the corresponding serial port has the wrong parity bit or none at all Please check to see that the transmission parameter configurations of the COM Server and the corresponding serial device match Parity errors can also be caused by the use of excessively long connecting cables Part 2 Displays and settings Page 17 Displays 8 Framing Error Display Port x Framing Error A character received at the corresponding serial port does not fit into the time frame which results from the transmission parameter settings baud rate start bit data bits parity bit stop bits In this case again please check to see that the configuration of the COM Server and the serial device match 9 PC dis
84. u SET TCPIP Port Serial Protocol SLIP NetIP enter the network IP number of the sub network to and from which the data is to be routed and confirm with the OK button The COM Server forwards all of the packets with the same network address via the serial port and reads in all of the packets from the RS232 port in order to distribute them on the LAN Page 52 Part 3 The TCP IP protocol Notes Part 3 The TCP IP protocol Page 53 Notes Page 54 Part 3 The TCP IP protocol Part 4 The IPX protocol Mode SET IPX Mode INFO Mode MONITOR Part 4 The IPX protocol Page 55 Menu tree for the IPX protocol 4 1 Menu tree for the IPX protocol This chapter is only relevant for those who have obtained the Netware Development Kit Product no 58113 for the COM Server To operate the COM Server in the IPX Box to Box mode please read Part 5 Box to Box TCP IPX Operation and setting the serial parameters were described in Parts 1 and 2 this part explains very briefly how to configure the COM Server so that you can address it from your PC using your own application software Mode RUN Mode MONITOR Save the changes in non volatile Mode MENU TYP Protocol TCPIP penenr ein OR outon grever Protocol IPX times if necessary until IL Box2Box TCP IPX Saving appears on the display Mode COM SETUP Pot A Port Number PorttB PortC PotD
85. u tree for box to box TOP IPX anncee 60 5 20 Box to box operation 0 0 cece eee ree eee eee es 64 5 30 Setting the box to box mode IPX 65 5 40 Setting the box to box mode TCPIP ceeeee 68 5 50 IP bus master slave operation eee 70 Table of contents Part 6 6 10 6 20 6 30 6 40 6 50 Expanded TCP IP socket functions Control and Port control service ports of the W amp T COM Server SOCKET ennan EE aE a Resetting the COM port status via socket Software resetting of the COM Server via socket EEPROM uploading and downloading via socket APPENDIX Overview of port Socket numbers 0 ceee cence eee Technical data 73 74 74 79 79 80 81 83 Table of contents Part 1 Connections and hardware variants Network connections Serial connections Internal connections Controls Hardware variants Part 1 Connections and hardware variants Page 1 Tasks of the W amp T COM Server 1 1 Tasks of the W amp T COM Server The W amp T COM Server permits direct communication with serial devices over an Ethernet network from a great variety of computer architectures Measuring instruments control devices and peripheral equipment of all types which are equipped with a serial port can be addressed over an Ethernet LAN without any problem The c
86. which the Telnet server is to be called Part 3 The TCP IP protocol Page 45 Data transfer by TCP IP sockets After you have entered and stored all of the values the Telnet client mode is activated The message Telnet client appears in the status monitor for the port Opening and closing the connection to the Telnet server The connection is opened when the first character is read in from the serial port You can close the connection with a special character which can be input in the SET TCPIP Port Telnet Client Disconnect Char menu It is important that this value must not be used within a Telnet session since this would lead to premature termination The default value is 003 which corresponds to the keyboard code Ctrl C In the MONITOR you can read the status of the connection the message Locked or Unlock appears there depending upon whether the connection is active or not also see Section 2 3 Deactivating the Telnet client mode Set the value to zero in the SET TCPIP Port Telnet Client Server Port menu The COM Server breaks off the connection and deactivates the Telnet client mode 3 6 Data transfer by TCP IP sockets With the socket API such as WINDOWS socket API UNIX socket interface it is possible to implement a great variety of application cases in the form of client or server processes on TCP IP stations The API offers the entire set of functions for tr
87. z 63 Hz power cord 230V 60 mA Connection for COM Server DC power jack inside 2 0 mm outside 6 3 mm Plug in adapter connection DC power plug inside 2 1mm outside 5 5 mm inside GND outside 5V approx 15 VA max 600 mA Permissible ambient temperature Permissible relative humidity non condensing 0 40 Celsius 0 95 Dimensions mm W x D x H Weight COM Server with display COM Server Compact COM Server 19 OEM COM Server OEM short COM Server OEM long COM Server with display COM Server Compact COM Server 19 OEM COM Server OEM short COM Server OEM long 213 x 168 x 40 115 x 110 x 34 130 x 40 x 170 100 x 100 x 25 equipped height 160 x 100 x 25 equipped height approx 1000 g approx 250 g approx 200 g approx 130g approx 150g Electrical isolation Ethernet 500 Vrms Ports RS232 other modules optional 1 4 x DB9 Ethernet BNC 10BaseT RJ45 male 10Base2 optional Display LCD 2x16 characters Subject to corrections and modifications W amp T 12 96 APPENDIX Page 83 Page 84 APPENDIX
Download Pdf Manuals
Related Search
Related Contents
WMI 7462 W20 CIDETRAK® CM PHA 8800 - Rock Centrum 取扱説明書(保管用) ブーツ型 レンジフード none 390606 Instructions / Assembly "user manual" TruVision Analog Wedge Camera User Manual Sony XR-6690RDS User's Manual ケブラークラッチフリクションディスク & 強化クラッチスプリングセット 取扱 Copyright © All rights reserved.
Failed to retrieve file